code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
ps -eo user,pid,%cpu,%mem,vsz,rss,tty,stat,start,time,cpu,psr,cls,pri,rtprio,command
| georgwassen/Scripts | ps.sh | Shell | mit | 97 |
#!/bin/bash
data=$1
model=$2
classifier=$3
if [ "$classifier" == "liblinear" ]; then
steps=$4 #scale,tune,pred
trainparsefile="$5" #../data/lidong/parses/lidong.train.conll
testparsefile="$6" #../data/lidong/parses/lidong.test.conll
c="$7" #C parameter; when parameter tuning is not desired; optional
elif [ "$class... | bluemonk482/tdparse | src/run.sh | Shell | mit | 1,482 |
#!/bin/bash
#SBATCH --partition=mono
#SBATCH --ntasks=1
#SBATCH --time=4-0:00
#SBATCH --mem-per-cpu=8000
#SBATCH -J Deep-DAE_MLP_6_bot_bin_CAE_tanh
#SBATCH -e Deep-DAE_MLP_6_bot_bin_CAE_tanh.err.txt
#SBATCH -o Deep-DAE_MLP_6_bot_bin_CAE_tanh.out.txt
source /etc/profile.modules
module load gcc
module load matlab
cd ~... | aciditeam/matlab-ts | jobs/deepJobs_DAE_MLP_6_bot_bin_CAE_tanh.sh | Shell | mit | 619 |
#!/bin/bash
source $HOME/envs/github.sh
source $HOME/envs/jenkins.sh
make jenkins repo=$GITHUB_URL project_name=$JENKINS_PRJ jenkins_auth_user=$JENKINS_USER jenkins_auth_password=$JENKINS_PW
| marjusaari/pipeline-examples | webapp-jenkins-aws/create_pipeline.sh | Shell | mit | 193 |
#!/bin/bash
mkdir upload
cd upload
git clone --quiet https://github.com/AlmasB/builds
cd builds
mkdir Drop
git config user.email "$UP_USER_EMAIL"
git config user.name "up-server"
cp ../../target/drop-game.zip Drop/drop-game-$TRAVIS_OS_NAME.zip
git add Drop/
commit_msg="upload-build.sh"
git commit -m "\"$commit_... | AlmasB/FXGLGames | .travis/upload-build.sh | Shell | mit | 443 |
#!/bin/sh
man echo
man grep
man man
man ls
man date
man xargs
man awk
| ReanyAlex/unix_and_bash | linux/man_ex2.sh | Shell | mit | 77 |
#!/bin/sh
WARNINGFILE="/tmp/aktrace.txt"
SC=0
if [ -e $WARNINGFILE ] ; then
SC=`grep Successful $WARNINGFILE | wc -l`
fi
if ! [ -e $WARNINGFILE ] ; then
/usr/sbin/sendmail baker@miyabiit.com -t <<EOS
From: aktrace@miyabiit.com
Subject: [AKTRACE] ARMS STOP
No mail arrived. Please check ARMS.
EOS
elif ! [ $SC -ge 4 ] ;... | miyabiit/heartbeat | bin/aktrace_warning.sh | Shell | mit | 495 |
#!/bin/bash
command="$1"
shift 1
eval "./${command}.sh $@" | Logimethods/deetazilla | dz_templater/entrypoint.sh | Shell | mit | 60 |
#!/bin/bash
export LC_ALL=C
ARCH=$(uname -m)
if [ "$ARCH" = "x86_64" ]; then
LIBSPATH=linux64
else
LIBSPATH=linux
fi
WHO=`who am i`;ID=`echo ${WHO%% *}`
GROUP_ID=`id --group -n ${ID}`
cd ../../libs/openFrameworksCompiled/project
make Debug
exit_code=$?
if [ $exit_code != 0 ]; then
echo "there has ... | SpecularStudio/ofQt | of_v0.9.0/scripts/linux/compileOF.sh | Shell | mit | 727 |
#!/bin/sh
# Set the app version number here. Number must also be set in Info.plist
export VER=1.5.1
echo "**** About to build Hummingbird Firmware Burner version $VER for Mac ****"
echo
echo "Removing any old products..."
# Remove old products
rm -rfv Mac/supportFiles/Hummingbird\ Firmware\ Burner.app
rm -fv Mac/Hum... | BirdBrainTechnologies/DuoFirmwareBurner | Packages/buildMacDist.sh | Shell | mit | 2,965 |
color0="39;40;34"
color1="56;56;48"
color2="73;72;62"
color3="117;113;94"
color4="165;159;133"
color5="248;248;242"
color6="245;244;241"
color7="249;248;245"
color8="249;38;114"
color9="253;151;31"
color10="244;191;117"
color11="166;226;46"
color12="161;239;228"
color13="102;217;239"
color14="174;129;255"
color15="204... | brujoand/sbp | src/colors/monokai.bash | Shell | mit | 330 |
#!/bin/sh
python -c 'import scripts; scripts.clean()'
rm -rf runestone sphinx-* *.pyc automake*
| ManyBodyPhysics/CQMech | doc/src/book/clean.sh | Shell | cc0-1.0 | 96 |
#!/bin/sh
######################################################################
#
# @file mako_aux.sh
#
# @brief Trigger vars and find information for mako.
#
# @version $Rev$ $Date$
#
# Copyright © 2015-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
#... | Tech-XCorp/bilder | packages/mako_aux.sh | Shell | epl-1.0 | 1,169 |
#!/bin/sh
LOCTSC=$(pwd)/$(dirname $0)
echo $LOCTSC
LOCTSCLIB="${LOCTSC}/libtascar/build:${LOCTSC}/plugins/build"
LD_LIBRARY_PATH="${LOCTSCLIB}" $*
| gisogrimm/tascar | start_from_repo.sh | Shell | gpl-2.0 | 147 |
#! /bin/sh
. ../../testenv.sh
for f in bug bug2 bug3; do
synth_analyze $f
clean
done
echo "Test successful"
| tgingold/ghdl | testsuite/synth/issue1163/testsuite.sh | Shell | gpl-2.0 | 115 |
#!/bin/bash
##################################################
# DESCRIPTION:
# This script checks for common installed COTS/FOSS
#
# Classification:
# UNCLASSIFIED
#
# RHEL versions: 5 - 6
# Platform: Wrkstation & Server
#
# VERSIONS/CHANGES:
# DATE: User Description
#========================================... | mutanthost/plexhole | lnx_checks.sh | Shell | gpl-2.0 | 18,255 |
# Non-zero exit state
rm -f defects.por.yml
cmd $PROG exit1.c -vv
test $EXITCODE = 0
grep "1 defects, 1 max-configs"
test -f defects.por.yml
grep -A5 'description.*The program exited with errorcode 17' defects.por.yml
test "$(grep 'description' defects.por.yml | wc -l)" == 1
rm -f defects.por.yml
| cesaro/dpu | tests/regression/defects/exit1.test.sh | Shell | gpl-2.0 | 301 |
#!/bin/bash
date >> ~/kala-dogfooding/scripts/simple_datesaving/output.txt
| ajvb/kala-dogfooding | scripts/simple_datesaving/script.sh | Shell | gpl-2.0 | 75 |
#!/bin/sh
# ver_test_8.sh -- check that __GLOBAL_OFFSET_TABLE__ is defined only once.
# Copyright (C) 2016 Free Software Foundation, Inc.
# Written by Cary Coutant <ccoutant@gmail.com>.
# This file is part of gold.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GN... | phil-opp/binutils-gdb | gold/testsuite/ver_test_8.sh | Shell | gpl-2.0 | 1,112 |
#!/bin/sh
#
# copy setting file to the wiki directory
#
cp -fr LocalSettings.php wiki/
| tyolab/mediawiki-on-gae | cp_files_after_editing.sh | Shell | gpl-2.0 | 92 |
#!/bin/bash
set -e
# Description: Enable magnet link in Chrome.
REQUIRED_BIN=google-chrome
if command -v "${REQUIRED_BIN}"; then
(
cd /usr/share/applications/
desktop_file=transmission-gtk.desktop
if [ -f ${desktop_file} ]; then
xdg-mime default ${desktop_file} x-scheme-handler/magnet
else
... | limelime/cust-live-deb | scripts/repository/inst-std-inet-xtra-transmission-gtk/magnet-link-chrome-enable.sh | Shell | gpl-2.0 | 388 |
convert images/OCS-413-A.png -crop 1451x4521+0+0 +repage images/OCS-413-A-0.png
convert -append images/OCS-412-B-11.png images/OCS-413-A-0.png images/OCS-412-B-11.png
rm images/OCS-413-A-0.png
#
#/OCS-413.png
convert images/OCS-413-B.png -crop 1553x2047+0+0 +repage images/OCS-413-B-0.png
convert -append images/OCS-412-... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-413.sh | Shell | gpl-2.0 | 1,072 |
#!/usr/bin/env ot
// THE SIMPLEST POSSIBLE ESCROW:
// Both parties supply two accounts, of matching asset types.
// (If Party One supplies a gold and a dollar account, then Party
// two must ALSO supply a gold and a dollar account. This contract
// allows them to safely trade some gold for some dollars, continuing
// t... | PUREMoneySystems/OT-Contracts | smartcontracts/createTwoWayEscrow.sh | Shell | gpl-2.0 | 16,327 |
#!/bin/bash
if [ ! -f /usr/bin/svn ];
then
echo "-------- PROVISIONING SUBVERSION ------------"
echo "---------------------------------------------"
## Install subverison
apt-get update
apt-get -y install subversion
else
echo "CHECK - Subversion already installed"
fi
if [ ! -f /usr/bin/mvn ];
then
echo "---... | mmvpm-iscteiulpt/ES2-2017-METIPLA1-116-MiniTrader | resources/provision.sh | Shell | gpl-2.0 | 3,670 |
#!/bin/bash
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="zodiac-shell-extensions"
test -f $srcdir/configure.ac || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level gnome-shell-extensions directory"
... | archeando/shell-extensions-zodiac | autogen.sh | Shell | gpl-2.0 | 504 |
#! /bin/bash
# take a word
file=$1
# count up each one
cat $file | while read word; do
# add up for verb vs noun in normal
ratios=`../context/countWord.sh $word`
ratio=`echo "scale=4;$ratios" | bc`
echo "$ratio,$word" >> results
done
# sort by ratio
sort results -o results | samirgupta/POSSE | context/countFile.sh | Shell | gpl-2.0 | 277 |
#!/bin/sh
#
# This program resolves merge conflicts in git
#
# Copyright (c) 2006 Theodore Y. Ts'o
#
# This file is licensed under the GPL v2, or a later version
# at the discretion of Junio C Hamano.
#
USAGE='[--tool=tool] [-y|--no-prompt|--prompt] [file to merge] ...'
SUBDIRECTORY_OK=Yes
OPTIONS_SPEC=
. git-sh-setup... | zhaoz/gidit | git-mergetool.sh | Shell | gpl-2.0 | 11,117 |
#!/usr/bin/zsh
DIR="$(dirname $(readlink -f $0))"
PREZTO=$DIR/zsh/prezto
# Set Custom paths for the first time
export PYTHONPATH=$PYTHONPATH:$DIR/lib/python
git submodule init
git submodule update
ln -sf $DIR/env-settings/vim $HOME/.vim
ln -sf $DIR/env-settings/tmux.conf $HOME/.tmux.conf
ln -sf $DIR/env-settings/vi... | By73/.dotfiles | INSTALL.zsh | Shell | gpl-2.0 | 501 |
#! /bin/sh
. ../../testenv.sh
GHDL_STD_FLAGS=--std=08
synth assert1.vhdl -e assert1 > syn_assert1.vhdl
analyze syn_assert1.vhdl
synth assert2.vhdl verif1.vhdl -e assert2 > syn_assert21.vhdl
analyze syn_assert21.vhdl
clean
synth assert2.vhdl verif2.vhdl -e assert2 > syn_assert22.vhdl
analyze syn_assert22.vhdl
cle... | tgingold/ghdl | testsuite/synth/psl02/testsuite.sh | Shell | gpl-2.0 | 539 |
#!/bin/bash
# This is modified from run_tdnn_5f.sh, to use the old topology, as a baseline
# to test the modified transition-model code (by which we hope to be able to
# create more compact decoding graphs for chain models).
set -e
# configs for 'chain'
stage=0
train_stage=-10
get_egs_stage=-10
dir=exp/chain/tdnn_5g... | michellemorales/OpenMM | kaldi/egs/rm/s5/local/chain/run_tdnn_5g.sh | Shell | gpl-2.0 | 5,128 |
#!/bin/bash
#
# Verifies the issues described by https://github.com/systemd/systemd/issues/10191
#
set -eux
set -o pipefail
rm -rf /tmp/test-prefix
mkdir /tmp/test-prefix
touch /tmp/test-prefix/file
systemd-tmpfiles --remove - <<EOF
r /tmp/test-prefix
r /tmp/test-prefix/file
EOF
test ! -f /tmp/test-prefix/file
tes... | mxre/systemd | test/units/testsuite-22.07.sh | Shell | gpl-2.0 | 538 |
cd /leviathan/git/
git clone git@github.com:joshuacox/ddd.git
git clone git@github.com:joshuacox/docker-ansible.git
git clone git@github.com:joshuacox/docker-archlinux-yaourt.git
git clone git@github.com:joshuacox/docker-chef-solo.git
git clone git@github.com:joshuacox/docker-icinga2.git
git clone git@github.com:joshua... | joshuacox/animated-ninja | clone.sh | Shell | gpl-2.0 | 846 |
#!/bin/bash
. ./common/init.sh
if [ $EUID -ne 0 ]; then
echo "You must be a root"
exit 1
fi
if [ $1 ]; then
user=$1
dbuser=${user//\./_}
dbuser=${dbuser//-/_}
esc_www_data=${www_data//\//\\/}
salt=`date +%s | sha256sum | base64 | head -c 32; echo`
echo "Enter password for new user:"
read pass
crypted_pass... | sayonara-sama/dws-tools | bash/siteadd.sh | Shell | gpl-2.0 | 1,902 |
#!/bin/bash
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefpane
echo "Java has been removed"
| LSSUHDTeam/HelpdeskToolboxCLI | lib/software/removeJavaMac.sh | Shell | gpl-2.0 | 171 |
#!/bin/bash
# print rds-tmc event statistics
if [ $# -ne 1 ]; then
echo "Usage: $0 logfile.log"
exit 1;
fi
if [ ! -f $1 ]; then
echo $1 'not found';
exit 1;
fi
grep 'event:' $1|cut -d " " -f 3|sed -e 's/,//g'|sort|uniq -c|sort -g -r
| balint256/gr-rds | src/utils/tmc_event_statistics.sh | Shell | gpl-2.0 | 238 |
#!/bin/bash
# FILEPREFIX=eagle_REPEAT_cs_ROWMAJOR
FILEPREFIX=$1
if [[ -z $FILEPREFIX ]] ; then
echo "Please enter the filename prefix on the command line"
exit -1
fi
REMOVELINES=`cat ${FILEPREFIX}_*.res | grep unction,time_ms | wc -l`
cat ${FILEPREFIX}*.res | grep profile, | sort -r | tail -n +${REMOVELINES} > ${FILE... | geo047/WMAM | MyPackage/ShinyPlotBenchmark/slurm_profiling_scripts/concat_res.sh | Shell | gpl-2.0 | 399 |
#!/bin/bash
echo -e "touch 3 files."
read -p "input filename: " fileuser
filename=${fileuser:-"filename"}
date1=$(date --date='2 days ago' +%Y%m%d)
date2=$(date --date='1 days ago' +%Y%m%d)
date3=$(date +%Y%m%d)
file1=${filename}${date1}
file2=${filename}${date2}
file3=${filename}${date3}
touch $file1
touch $file2... | fangtanchen/Learning | 3_Language/Advanced_Bash_Scripting_Guide/scripts/sh03.sh | Shell | gpl-2.0 | 334 |
#!/bin/bash
build_compile()
{
tar xf $BUILD_SOURCES/xmlts20130923.tar.gz
./configure \
--prefix=/usr \
--disable-static \
--with-icu \
--with-history
make
}
build_test_level=4
build_test()
{
make check
}
build_pack()
{
make DESTDIR=$BUILD_PACK install... | phyglos/phyglos | bundles/phyglos-deck.dir/libxml2-2.9.3.sh | Shell | gpl-2.0 | 323 |
#
# Copyright (C) 2011 OpenWrt.org
#
. /lib/ar71xx.sh
PART_NAME=firmware
RAMFS_COPY_DATA=/lib/ar71xx.sh
CI_BLKSZ=65536
CI_LDADR=0x80060000
platform_find_partitions() {
local first dev size erasesize name
while read dev size erasesize name; do
name=${name#'"'}; name=${name%'"'}
case "$name" in
vmlinux.bin.l... | qca9558/openwrt-wdr7500 | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 6,216 |
#!/bin/sh
test_description='diff whitespace error detection'
. ./test-lib.sh
test_expect_success setup '
git config diff.color.whitespace "blue reverse" &&
>F &&
git add F &&
echo " Eight SP indent" >>F &&
echo " HT and SP indent" >>F &&
echo "With trailing SP " >>F &&
echo "Carriage ReturnQ" | tr Q... | samv/git | t/t4019-diff-wserror.sh | Shell | gpl-2.0 | 4,629 |
#!/bin/sh
#
# Test of checkpoint/restart of a zsh script.
# Note that the outer script is bash
# Check for zsh
zsh -c true || exit 77
. ${cr_testsdir:-`dirname $0`}/shellinit
\rm -f Context[123] .Context[123].tmp 2>/dev/null
bash <<-'__OUTER__'
exec 2>/dev/null # Drop job control message(s) from the outer script
e... | jimmycao/blcr-0.8.5 | tests/zsh_test.sh | Shell | gpl-2.0 | 1,046 |
#!/usr/bin/env bash
THIS_DIR=$(cd $(dirname $0); pwd)
cd $THIS_DIR
update() {
git pull
git submodule update --init --recursive
install_rocks
}
# Will install luarocks on THIS_DIR/.luarocks
install_luarocks() {
git clone https://github.com/keplerproject/luarocks.git
cd luarocks
git checkout tags/v2.2.1 # ... | MrAL-i/SPIRAN | launch.sh | Shell | gpl-2.0 | 2,773 |
#!/bin/sh
java -Djava.util.logging.config.file=console.cfg -cp c3p0-0.9.2-pre1.jar:l2jserver.jar:mysql-connector-java-5.1.18-bin.jar net.sf.l2j.gsregistering.GameServerRegister
| oonym/l2InterludeServer | L2J_Server/dist/RegisterGameServer.sh | Shell | gpl-2.0 | 179 |
xgettext `find src -name '*.cpp'` -o po/tsnake.pot.tmp
msgmerge po/tsnake.pot{,.tmp} -U
rm -f po/tsnake.pot.tmp
( for i in po/*.po; do msgmerge $i po/tsnake.pot -U ; done )
| Icenowy/Tsnake | po/update-pot.sh | Shell | gpl-2.0 | 174 |
javac -cp lib/jms-2.0.jar:lib/tibjms.jar src/pivotal/tibco/tibjmsMsgProducer.java
java -cp src:lib/jms-2.0.jar:lib/tibjms.jar pivotal.tibco.tibjmsMsgProducer $@
| avasseur-pivotal/cf-sb-tibcoems | sampleapp/build.sh | Shell | gpl-2.0 | 162 |
#!/bin/bash
source /etc/openstack.cfg
if [ "$CONTROLLER_NODE_IP" == "$MARIADB_NODE_IP" ]; then
mysql -uroot << EOF
use nova;
DELETE FROM security_group_instance_association where instance_uuid="$1";
DELETE FROM instance_info_caches WHERE instance_uuid='$1';
DELETE FROM nova.block_device_mapping where instance_uui... | ChinaMassClouds/copenstack-server | openstack/src/hgplatformAPI-1.1/deletevm.sh | Shell | gpl-2.0 | 1,869 |
#############################
# Take LTE SH Kernel Source #
# by SungHun.Ra #
# http://theteamdev.com #
#############################
rm -rf ../Modules/*.ko
find -name '*.ko' -exec cp -av {} ../Modules \;
for i in ../Modules/*; do /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded ... | sktjdgns1189/android_kernel_kttech_KM-E100 | modules.sh | Shell | gpl-2.0 | 330 |
#!/bin/sh
#
# Blackbox tests for the "net registry" and "net rpc registry" commands.
#
# Copyright (C) 2010-2011 Michael Adam <obnox@samba.org>
# Copyright (C) 2010 Gregor Beck <gbeck@sernet.de>
#
# rpc tests are chose by specifying "rpc" as commandline parameter.
if [ $# -lt 3 ]; then
cat <<EOF
Usage: test_net_regist... | gwr/samba | source3/script/tests/test_net_registry.sh | Shell | gpl-3.0 | 8,044 |
#!/bin/bash
###########################################################################
# #
# GitHelperTools. Set of tools to help mastering Git. #
# Copyright (C) 2013 Erdem UNCUOGLU <erdem.uncuoglu at gmail.com> #
# ... | erdemuncuoglu/githelpertools | core/cd.sh | Shell | gpl-3.0 | 3,979 |
#!/bin/bash
#
# Scripted by FUF Nov 3, 2016
# This shell script removes the following characters from filenames and directories: space ( ) [ ] ' _ ending . ending -
# log please
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>log-plex-rename.out 2>&1
# Everything below will go to the file 'log.out':
for Origin... | faustouribe/arch-scripts | plex-media-rename.sh | Shell | gpl-3.0 | 1,130 |
# Copyright (C) 2016 Mauro Calderara
# Copyright (C) 2020 Serghei Iakovlev <egrep@protonmail.ch>
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your opt... | sergeyklay/dotfiles | .config/bash.d/lib/locknwait.sh | Shell | gpl-3.0 | 3,751 |
#!/bin/sh -f
xv_path="/opt/Xilinx/Vivado/2014.4"
ExecStep()
{
"$@"
RETVAL=$?
if [ $RETVAL -ne 0 ]
then
exit $RETVAL
fi
}
echo "xvlog -m64 -prj sample_generator_testbench_vlog.prj"
ExecStep $xv_path/bin/xvlog -m64 -prj sample_generator_testbench_vlog.prj 2>&1 | tee compile.log
| mistryalok/Zedboard | learning/training/MSD/s07v2/vivado/project_2/project_2.sim/sim_1/behav/compile.sh | Shell | gpl-3.0 | 277 |
#---------------------------------------------------------------------
# Function: InstallBind
# Install bind DNS server
#---------------------------------------------------------------------
InstallBind() {
echo -n "Installing Bind9... ";
apt-get -yqq install bind9 dnsutils > /dev/null 2>&1
echo -e "[${green}... | WeslleyJackson/ISPConfig3-Master-port-81 | distros/ubuntu-16.04/install_bind.sh | Shell | gpl-3.0 | 336 |
#!/bin/sh
#-------------------------------------------------------------------
# config.sh: This file is read at the beginning of the execution of the ASGS to
# set up the runs that follow. It is reread at the beginning of every cycle,
# every time it polls the datasource for a new advisory. This gives the user
# the ... | jasonfleming/asgs | config/2016/asgs_config_matthew_hatteras_hsofs_da.sh | Shell | gpl-3.0 | 7,650 |
#!/bin/bash
#
# GenesisPHP - Crear Base Datos
#
# Copyright (C) 2016 Guillermo Valdes Lozano guillermo@movimientolibre.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of ... | guivaloz/GenesisPHP | Eva/adan/bin/CrearBaseDatos.sh | Shell | gpl-3.0 | 3,261 |
#!/bin/bash
export LD_LIBRARY_PATH="/usr/lib/duplicati${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:/usr/lib/duplicati
EXE_FILE=/usr/lib/duplicati/Duplicati.exe
APP_NAME=Duplicati
exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
| Xervmon/XervSync | duplicati/Installer/debian help/duplicati-launcher.sh | Shell | gpl-3.0 | 245 |
#!/usr/bin/env bash
# Copyright (C) 2016 Nico Bäurer
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program ... | seebye/dotfiles | i3/toggle_dlna.sh | Shell | gpl-3.0 | 787 |
#!/bin/sh
echo "Start Git version generation..."
echo "/*" > src/version.h
echo "* Copyright (C) 2016 Guilhem GUYONNET" >> src/version.h
echo "*" >> src/version.h
echo "* This program is free software: you can redistribute it and/or modify" >> src/version.h
echo "* it under the terms of the GNU General Public License... | mr-potato-head/seriaLink | version.sh | Shell | gpl-3.0 | 1,494 |
#! /bin/bash
ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 \
--ip-destination-port 80 -j redirect --redirect-target ACCEPT
ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 \
--ip-destination-port 8080 -j redirect --redirect-target ACCEPT
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 \
-j ... | loolwv7/scripts | Linux_Tricks/bridge/br04.sh | Shell | gpl-3.0 | 344 |
#!/bin/bash
# =========================================================
DATA_PREFIX=$1
EPS_PREFIX=$2
./plot-initial-vs-final-bold-percentages.pl \
$DATA_PREFIX/indcount-010 \
$EPS_PREFIX-010.eps \
0.2
# 0.2, 0.5, 0.8 runs
# 0.1 0.1 0.112
./plot-initial-vs-final-bold-percentages.pl \
... | snucsne/bio-inspired-leadership | scripts/analysis/plot-all-initial-vs-final-bold-percentages.sh | Shell | gpl-3.0 | 1,128 |
#!/bin/bash
# Show the value of 1 particular key
# Default to arn if second parameter is not provided
source $(dirname $0)/config.sh
if [ -z "$1" ] || [ "$1" == "-h" ]
then
echo "This script Show the value of 1 particular key, default to arn if second parameter is not provided
Usage: $0 DBINSTANCENAME PROPERTY
example... | ricciocri/rds_utils | showinstanceprop.sh | Shell | gpl-3.0 | 730 |
#!/bin/bash
prog=/mnt/storage/Source_Code/Projects/beacons
$GOPATH/bin/beaconserv --serv-cert "${prog}/x509/server.crt" --serv-key "${prog}/x509/server.key" \
--db-driver-name "postgres" --db-datasource-name "user=postgres password=Meowmix9 dbname=beacons sslmode=disable"
| co60ca/beaconpi | cmd/beaconserver/startserv.sh | Shell | gpl-3.0 | 279 |
#!/bin/bash
# ./results.sh -t tally.tar.gz -c config.json -s
# fixes errors on non-ascii characters
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
AGORA_RESULTS=/home/agoraelections/agora-results
VENV=/home/agoraelections/renv
source $VENV/bin/activate
$AGORA_RESULTS/agora-results $*
| jjoc/agora-dev-box | agora-elections/templates/results.sh | Shell | gpl-3.0 | 318 |
#!/bin/sh
ensure_uid_root () {
if [ `id -u` != 0 ]; then
echo "Not root; aborting." >&2
exit 1
fi
}
ensure_uid_non_root () {
if [ `id -u` = 0 ]; then
echo "Must not be root; aborting." >&2
exit 1
fi
}
| aspiers/shell-env | lib/libuid.sh | Shell | gpl-3.0 | 227 |
#!/usr/bin/env bash
function echo_exit() {
echo -e "$1\n"
exit $2
}
# Exit with instructions on how to use if a valid file isn't supplied as input
[[ ! -f "$1" ]] && echo_exit 'Run with patch from non-GDX version as input' 0
# Set the backup name and if it already exists, increment the backup number and try again
... | 00-Evan/shattered-pixel-dungeon-gdx | convert-upstream-patch.sh | Shell | gpl-3.0 | 1,299 |
!#/bin/bash
scp Antares03:/home/antares/nfs_share/tzaidi/HonorsThesisTZ/ThesisCode/gen_lightcurves/gp_smoothed_aligned/* ../gen_lightcurves/gp_smoothed_aligned/
| tayebzaidi/HonorsThesisTZ | ThesisCode/setup_env/receive_aligned.sh | Shell | gpl-3.0 | 162 |
# Functions library
# Author: Georgi Kovachev
# Version=1.0.4
# belongs to 'frame' script
#
#
#
feedback ()
{
case "${1}-$es" in
--on-load-0)
:
;;
--on-load-*)
echo ''
echo "$ME: ERRORS FOUND"
usage
;;
--on-exit-0)
echo "$ME: Success"
;;
--on-exit-*)
echo ''
echo "$ME: ERRORS ... | peorex/kassandra | shell-scripts/frame/frame-functions.sh | Shell | gpl-3.0 | 2,143 |
rm counterexample*.csv
rm ./mc2mabs
ghc -O2 -L. -fglasgow-exts -prof --make -auto-all -caf-all -fforce-recomp -lstdc++ -rtsopts abs.cpp agent.cpp ./models/evaluation.cpp MC2MABS.lhs -o mc2mabs &&
sh prof_mc2mabs.sh
#time ./mc2mabs
| bherd/mc2mabs | evaluation.sh | Shell | gpl-3.0 | 231 |
#! /usr/bin/env bash
sig_fprint+=("6694 D8DE 7BE8 EE56 31BE D950 2BD5 824B 7F94 70E6")
download_page_url=https://download.electrum.org
version=$(curl ${CURLOPTS[*]} --list-only -- "$download_page_url" \
| grep -Po '<a href="\K([[:digit:]]+\.?)+' \
| sort -Vu \
| tail -n1)
src_name=Electrum-$version
src_f... | joachifm/nixpkgs-update-scripts | electrum/update.bash | Shell | gpl-3.0 | 860 |
#!/bin/sh
set -eu
dir_from=$(dirname "$0")
dir_to="/Library/Keyboard Layouts"
layout=""
OPTIND=1
while getopts "d:i:l:" opt; do
case "$opt" in
d|i) dir_from="$OPTARG";;
o) dir_to="$OPTARG";;
l) layout="$OPTARG";;
*) exit 1;;
esac
done
cp "$dir_from/$layout"*.keylayout "$dir_to"
| 39aldo39/klfc | files/keylayout/install-system.sh | Shell | gpl-3.0 | 303 |
adb remount
adb uninstall com.android.chavah
adb shell rm -rf /data/data/com.android.chavah
| Hapsidra/Chavah | uninstall.sh | Shell | gpl-3.0 | 93 |
#!/bin/bash -e
. ../env/env
brief="fast, versatile, remote (and local) file-copying tool"
intro='rsync is a fast and versatile file-copying tool which can copy locally
and to/from a remote host. It offers many options to control its
behavior, and its remote-update protocol can minimize network traffic
to make tran... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-9.0-systemd/scripts/r/rsync.sh | Shell | gpl-3.0 | 1,823 |
#!/bin/sh
if which gconftool-2 >/dev/null 2>&1 && [ -z "$(gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --get /apps/gnome-screensaver/idle_activation_enabled)" ]; then
echo "a banner should be displayed"
exit 1
fi
exit 0
| Taywee/dod-stig-scripts | linux/V-38689/test.sh | Shell | gpl-3.0 | 267 |
#!/bin/bash
#description :This script will install the server prerequisites.
#author :Robin Lennox
#==============================================================================
function main {
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
... | robinlennox/breakout | setup/install_server.sh | Shell | gpl-3.0 | 3,540 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-08_2/20161026T101001+0000/00/00/averageratioevent_1_ID0000013.sh | Shell | gpl-3.0 | 1,261 |
#!/bin/bash
cargo doc
(cd target/doc
git init
git config user.name "Botev"
git config user.email "botevmg@gmail.com"
cp ../../README.md ./README.md
cp ../../LICENSE ./LICENSE
cp ../../index.html ./index.html
cp -r ../../examples .
git add .
git commit -m "Deployed to Github Pages"
git push --force --quiet "https://${GH... | Botev/meta_diff | deploy-ghpages.sh | Shell | gpl-3.0 | 356 |
#!/bin/bash
# List disk device for each ataX identifier
#
# cf. https://unix.stackexchange.com/q/13960/1131
#
# 2017, Georg Sauthoff <mail@gms.tf>
set -eu
echo /sys/class/ata_port/ata*/../../host*/target*/*/block/s* \
| tr ' ' '\n' \
| awk -F/ '{printf("%s => /dev/%s\n", $5, $NF)}'
| gsauthof/utility | lsata.sh | Shell | gpl-3.0 | 294 |
#!/bin/bash
#kmercountmulti in=<infile> out=<outfile>
function usage(){
echo "
Written by Brian Bushnell
Last modified December 30, 2016
Description: Estimates cardinality of unique kmers in sequence data.
Processes multiple kmer lengths simultaneously to produce a histogram.
Usage: kmercountmulti.sh in=<file> swe... | richrr/scripts | bash/bbtools/bbmap/kmercountmulti.sh | Shell | gpl-3.0 | 2,684 |
#!/bin/bash
if test -e $1 && test -d $1 && [ $# = 1 ]
then
for i in `ls $1`
do
echo a$i
done
else
echo Le dossier n existe pas lol
fi
| Marsonge/scripts | script6.sh | Shell | mpl-2.0 | 138 |
#!/bin/bash
#
# Copyright 2017-2019 Benjamin Worpitz
#
# This file is part of alpaka.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
source ./script/set.sh
#----... | BenjaminW3/alpaka | script/prepare_sanitizers.sh | Shell | mpl-2.0 | 5,041 |
#!/bin/sh
cd ~/opt/apache-cxf-3.0.1/bin
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
wsdl2js http://localhost:8080/atomHub/services/AtomWS?wsdl
wsdl2js http://localhost:8080/atomHub/services/StepWS?wsdl
wsdl2js http://localhost:8080/atomHub/services/ExampleWS?wsdl
wsdl2js http://localhost:8080/atomHub/services/P... | Galigator/atomHub | src/main/resources/wsdl2javaConverter.sh | Shell | agpl-3.0 | 371 |
#!/bin/sh
#
# Copyright (C) 2009-2012:
# Gabes Jean, naparuba@gmail.com
# Gerhard Lausser, Gerhard.Lausser@consol.de
# Gregory Starck, g.starck@gmail.com
# Hartmut Goebel, h.goebel@goebel-consult.de
#
# This file is part of Shinken.
#
# Shinken is free software: you can redistribute it and/or modify
# it un... | wbsavage/shinken | bin/launch_receiver.sh | Shell | agpl-3.0 | 1,065 |
#!/bin/bash -
#===============================================================================
# FILE: kaltura-push-server-config.sh
# USAGE: ./kaltura-push-server-config.sh
# DESCRIPTION:
# OPTIONS: ---
# LICENSE: AGPLv3+
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
... | kaltura/platform-install-packages | RPM/scripts/postinst/kaltura-push-server-config.sh | Shell | agpl-3.0 | 3,600 |
#! /usr/bin/env bash
$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
$XGETTEXT `find . -name "*.cpp"` -o $podir/ktp-auth-handler.pot
rm -f rc.cpp
| KDE/ktp-auth-handler | Messages.sh | Shell | lgpl-2.1 | 152 |
#!/bin/sh
export CS_VERSION="6.07.0"
export RELEASE_DIR=csound-emscripten-${CS_VERSION}
#remove backup files ending with ~
find . -name "*~" -exec rm {} \;
rm -rf $RELEASE_DIR
mkdir $RELEASE_DIR
cp -R examples/* ${RELEASE_DIR}/
zip -r ${RELEASE_DIR}.zip ${RELEASE_DIR}
| Angeldude/csound | emscripten/release.sh | Shell | lgpl-2.1 | 272 |
#!/usr/bin/env bash
TAG=$1
GPGHOMEDIR=$2
git archive --format=tgz "$1" > "cryfs-$1.tar.gz"
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign "cryfs-$1.tar.gz"
git archive --format=tar "$1" | xz -9 > "cryfs-$1.tar.xz"
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign "cryfs-$1.tar.xz"
| cryfs/cryfs | archive.sh | Shell | lgpl-3.0 | 288 |
#!/bin/bash
module purge
module load python/3.6
##########################################################
### The following environment variable need to be set ####
##########################################################
PROJ=${PROJ} ####
OUTPUT=${OUTPUT} ... | McIntyre-Lab/papers | nanni_chip_rna_2022/scripts/rnaseq/run_feature_on_off.sh | Shell | lgpl-3.0 | 2,892 |
#!/bin/sh
# Package build into a signed .dmg file
# set $GEM_HOME/bin/ for CocoaPods.
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:$GEM_HOME/bin"; export PATH
version=$(cat version)
make clean build || exit $?
# --------------------------------------------------
# https://developer.apple.com/library/mac/docu... | liasica/Karabiner_CN | make-package.sh | Shell | unlicense | 4,157 |
java -cp ./testscala/target/testscala-1.0-SNAPSHOT-jar-with-dependencies.jar com.lscale.testscala.HelloWorld
| johanwitters/gcp | testscala.sh | Shell | unlicense | 111 |
#!/usr/local/bin/awsh
# This is nice support for csv reading
IFS=";" read -S a b c d <<EOF
"a1";"b""2";"c3";d5
EOF
echo "$a - $b - $c - $d"
# output:
# a1 - b"2 - c3 - d5
#
| kshji/ksh | Sh/readcsv.sh | Shell | unlicense | 175 |
#!/bin/bash
docker build -t piraticz/graph .
| pirati-cz/DEPRECATED-graph | build_image.sh | Shell | unlicense | 46 |
#!/usr/bin/env bash
docker build -t medvekoma/cp-connect-debezium:3.2.1 .
| medvekoma/debezium-poc | confluent/cp-connect-debezium/build.sh | Shell | apache-2.0 | 75 |
#!/bin/sh
DIR=`dirname $0`
cd "${DIR}" || exit 1
rm -v fuel-noop-fixtures/reports/*.json
rm -v fuel-noop-fixtures/reports/*.xml
rm -v fuel-noop-fixtures/hiera/globals/*.yaml
| xarses/fuel-library | tests/noop/purge_globals.sh | Shell | apache-2.0 | 174 |
#!/bin/bash
# Run a spec validation on fixtures
cd $(git rev-parse --show-toplevel)
FIXTURES="${basedir}/fixtures"
if ! command -v swagger >/dev/null 2>&1; then
echo "can't find swagger in the PATH"
exit 1
fi
find "${FIXTURES}" -type f \( \( -name \*.json -o -name \.yaml -o -name \*.yml \) -a -not -name \*codeg... | go-swagger/go-swagger | hack/validate-fixtures.sh | Shell | apache-2.0 | 421 |
#!/bin/bash
#Restore from backup
sudo cp /IOAHCIBlockStorage.original /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage | thenoizz/config | enable-trim-support-macos/restore-trim.sh | Shell | apache-2.0 | 190 |
rm -f core.*
rm -f /core.*
rm -f /tmp/plat*
rm -f /tmp/backing*
| shorton3/dashingplatforms | bin/clean.sh | Shell | apache-2.0 | 64 |
echo
echo =================
echo "download"
echo =================
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.6.tar.gz
echo
echo =================
echo "extract and get in"
echo =================
tar zxf elasticsearch-0.90.6.tar.gz
cd elasticsearch-0.90.6
echo
echo ========... | sematext/elasticsearch-intro | commands.sh | Shell | apache-2.0 | 4,627 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
# This protects against multiple targets copying the same framework dependency at the same time.... | StylingKit/StylingKit | CarthageProj/Pods/Target Support Files/Pods-CarthageProj/Pods-CarthageProj-frameworks.sh | Shell | apache-2.0 | 4,670 |
#!/bin/bash
UNDERTEST=`cat under_test`
cd ..
PYTHONPATH=. ./bin/pyxie compile test-data/progs/$UNDERTEST
| sparkslabs/pyxie | test-data/quick_test_compile.sh | Shell | apache-2.0 | 108 |
loadlibrary colors
toend=$(tput hpa ${COLUMNS})$(tput cub 6)
show_progress ()
{
local m=${1}
local l=""
local n=0
while read -r f
do
n=$((n + 1))
# output progress in case the parameter is defined, otherwise show a sandclock
if [ ${m} -ne 0 ]
then
l="${n}/${m}"
... | evdenis/ldv-rules | scripts/lib/out.sh | Shell | apache-2.0 | 1,933 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.