blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
1ca4b3c80fac3782e4be7511b0befe64bc5ebb69
294
#!/bin/bash if ! which go >/dev/null; then echo "This App is written in Golang. Please install Go 1.6" exit 1 fi if [ "$GOPATH" = "" ]; then echo "please set the environment variable GOPATH to point to the 'challenge' directory" exit 1 fi go run $GOPATH/src/db/server/server.go
20e92b86dee3f9367df6fee7518920b1123267a0
4,544
#!/bin/bash onos_nfv_network=onosnfv auth_database_network=databases controller_address= controller_port= controller_igd_app_port=40000 controller_container_name= client_gateway=172.16.0.1 miniupnpd_addr=172.16.0.100 miniupnpd_version=v10 auth_server_addr=172.16.0.150 auth_server_port=50000 auth_db_address= auth_db_ro...
d87a2929904ba5349c4c3bcae2b832e39cf7bbeb
210
rm tmp/myapp.log #mvn clean install -DskipTests=true mvn clean install java -jar -Dspring.config.location=./ -Dspring.profiles.active=dev target/spring-boot-application-0.0.1-SNAPSHOT.jar --server.port=9090
6ad65cc0530db5086d747dbf8e10c4f744fa50d7
532
#!/bin/bash echo 'Starting the scripts' #sleep 5 #folder path for file in /home/Downloads/testing/scripts/m/* do echo "File path - $file" #generating the timestamp - DD-MM-YYYY-HH:MM:SS dt=$(date '+%d-%m-%Y-%H:%M:%S'); #generating log file name logfilename=$file$dt echo "Current ...
be14374d5c73cac8cfde17a3868125687ce578ba
1,235
#!/bin/sh if [ "$#" -ne 2 ]; then echo "$0 email name" exit fi echo 0=$0 echo 1=$1 echo 2=$2 sudo apt-get update && \ sudo apt-get -y dist-upgrade && \ sudo apt-get -y install gawk wget git-core diffstat unzip texinfo \ gcc-multilib build-essential chrpath socat libsdl1.2-dev \ libsdl1.2-dev ...
4c59eb5d7cc345b7f71bc3501835bf7d40be4885
227
./set_jobs_n.sh docker run --rm -it -v=${PWD}/u-boot-xlnx/:/u-boot-xlnx/ -v=${PWD}/_out/:/_out/ -w=/u-boot-xlnx/ ez-tool-xlnx /bin/bash /scripts/make_uboot.sh -j ${MY_GCC_NJOBS} u-boot.elf $* cp ./u-boot-xlnx/u-boot.elf ./_out/
a4b32119282e5550ebaae1deae17da9be5d01086
1,248
curl 'http://overpass-api.de/api/interpreter' -H 'Pragma: no-cache' -H 'Origin: http://overpass-turbo.eu' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: pt-PT,pt;q=0.8,en-US;q=0.6,en;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.3...
9aaadd262cfd39b6db11aa1578f41718c6deaf54
192
export SECRET_KEY=002 export DATABASE_URL=postgresql+psycopg2://claudine:1998@localhost/blogs export MAIL_USERNAME=claudinemah3@gmail.com export MAIL_PASSWORD=winner@98 python3.6 manage.py run
1a505bee55a3a9f766d4cf96e250042091e0113b
991
#!/bin/sh set -eu if [ -z "${IP-}" ]; then IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') fi if [ "$(uname)" = 'Darwin' ]; then if [ -z "$DISPLAY" ]; then echo "Can't detect X11 display. If you don't know how to resolve this, please check ./doc/xhost_trouble_shooting.md" exit 1 ...
4fc0962d228932b18cb4c6cef6340e7bc98bbabd
756
#!/bin/bash -ex # # A script to package only the necessary files of the extension. echo "Building chrome extension" ./build_extension.sh echo "Packaging chrome extension" VERSION=$(egrep "\"version\":" manifest.json | cut -d\" -f4) zip -r extension-"$VERSION".zip ./ -x bower.json build_extension.sh \ icon-64.png ...
70be4b800cebe7a5ffb359a0a15d1664446e1c3a
3,035
#!/bin/bash -x PHP=/usr/bin/php REPO=/home/av/ha-proj/GreenNode/host I2C_RD=${REPO}/i2c-rd I2C_WR=${REPO}/i2c-wr T_RD=${REPO}/ds2482 MEM_WR=${REPO}/mem_wr.php MEM_RD=${REPO}/mem_rd.php MEM_SET=${REPO}/mem_set.php MEM_PROC=${REPO}/mem_proc.php . ${REPO}/sensors.conf ${PHP} ${MEM_SET} G1_GROUND ${G1_GROUND} ${PHP} ${ME...
c3c20ef29d26ec1733e1a0ba1b67448545d5729b
2,692
#!/bin/bash ############################ # This script is used by Terragrunt hook to find and replace references in terraform.tfvars with the real values fetched using `terragrunt output` ############################ # 1. check if this script has not been disabled using special flag (@modulestf:disable_values_updates)...
6d933a4f5a3586a28668992c0e617580c0929792
102
#!/bin/bash set -e # exit on first error source "config.bash" apt_install liblapacke liblapacke-dev
82ebb37981672faea83d3c837020160f968b12ad
72
#!/usr/bin/env sh mkdir Data python2 BackEnd/Server/main.py Data/user.db
e35b91cdd705e61be7ce4a3956f2cc1b11e578e9
568
#!/bin/sh set -e # Automatically added by dh_installdeb/11.5.1 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/colormgr-completion.bash 1.0.3-1~ -- "$@" # End automatically added section # Automatically added by dh_installdeb/11.5.1 dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/org.freedesktop.col...
07f2180e4ad2991d47aa4534d69fe3612e4666d4
781
#!/bin/bash # https://gist.github.com/solidsnack/7569266 set -o errexit -o nounset -o pipefail function -h { cat <<USAGE USAGE: ln_libjvm.bash Symlink a likely libjvm.so into /usr/bin. USAGE }; function --help { -h ;} export LC_ALL=en_US.UTF-8 function main { ln_libjvm } function ln_libjvm { # Expand glob to g...
0d5585d4f0ff934c4050605462caac6ed1ed509f
447
#!/bin/bash for int in $(ip -o link | grep -P -o '\d+: eth\d+' | awk '{print $2}') do mac=$(ip address show $int | grep -P -o 'link/ether .*? brd' | awk '{print $2}') IFS=':' octets=($mac) if [ ${octets[1]} != "00" ] && [ ${octets[1]} != "10" ] then sudo systemctl start cloud-config sud...
6e61b164f6b1e9fa5c9e0a891408dcdc1c595462
399
#!/usr/bin/env sh THING=$(usb_get_unmounted) if [ -z "$THING" ]; then notify_usb "no mountable drives!" exit 1 fi TARGET=$(echo "$THING" | dmenu -p "mount") if [ -z "$TARGET" ]; then exit 1 fi BLOCKNAME=$(echo "$TARGET" | awk '{print $1}') usb_mount $BLOCKNAME && notify_usb "$TARGET is now mounted...
b8592b53afc9b81fd08697dd2afc9bb82252a744
125
#!/bin/sh rm -f OUTSPH rec.sph rm -f selected_spheres.sph rm -f selected_spheres.pdb rm -f sphgen_cluster.pdb rm -f temp*
cf944957fff1a3d6de474d733387e098e419e872
175
# PETRUK .env.example APP_NAME=GHAZI_SPK_WP APP_VER=1.0 APP_URL=http://localhost:8080 DB_DRIVER=mysql DB_HOST=localhost DB_NAME=ghazi_spk_wp DB_USER=root DB_PASS=myzisnumber1
88f1feffebb30b65d6055794ecf79a7eb9b6680a
88
#!/bin/bash echo "Starting client 1 ..."\n sudo nomad agent -config ~/conf/client1.hcl
dc1c8b5f47ac00b24eb45045104d9811654a3416
1,710
# git clone --recursive https://github.com/changs/slimzsh.git ~/.config/slimzsh [ -f $HOME/.config/slimzsh/slim.zsh ] && source "$HOME/.config/slimzsh/slim.zsh" # exit() { # # TMUX override builtin exit() function # if [[ -z $TMUX ]]; then # builtin exit # return # fi # panes=$(tmux...
35398db0fe2c45a1de530cce15538fdb1f9d07f5
1,348
# Maintainer: speps <speps at aur dot archlinux dot org> _name=ardour pkgname=$_name-bin pkgver=3.0beta5_13072 pkgrel=1 pkgdesc="A multichannel hard disk recorder and digital audio workstation" arch=(i686 x86_64) url="http://$_name.org/" license=('GPL') depends=('jack' 'desktop-file-utils') options=('!strip') install=...
0412895ec18ef196a7745f495c30398136c26fb4
2,640
#!/bin/bash ###!/usr/bin/expect set PASS = NKG set USR = nkg-1f-6001 echo "Start install expect." sudo apt-get update sudo apt-get install expect echo "Finish install expect." echo "Start Copy File." #cp ./flycapture2-2.11.3.121-amd64-pkg.tgz ~/Downloads #cp ./LinuxLocalPredict.7z /home/$USER #cd ~/Downloads tar zxvf...
74c6108669c3b4b38a8ea0ae3fc673d2d27980e7
755
#! /bin/bash -e # DEBUG mode controlled by env var if [[ -n $DEBUG ]]; then set -x; fi echo 'Installing fzf..' FZF_VERSION=${FZF_VERSION:-0.35.1} # passed from /dotfiles/install.sh FORCE=${1:-0} # Install fzf package if [[ $FORCE -eq 0 ]] && command -v fzf >/dev/null 2>&1; then echo 'fzf already installed!' else ...
30fdb6c308fbc007057f5b56a409b40347eb9773
246
rm -rf build # /home/work/.jumbo/bin/python2.7 setup.py build_ext # [ $? -eq 0 ] && { cp build/lib.linux-x86_64-2.7/tree.so ../tree.so; } /usr/bin/python setup.py build_ext # [ $? -eq 0 ] && { cp build/lib.linux-x86_64-2.7/tree.so ../tree.so; }
f99b05819ecbf72cfdb6f0e7d503f250ce8d0be9
99
#!/usr/bin/env bash set -e redo-ifchange pyrightconfig.json pyproject.toml exec poetry install >&2
11c0126e049492a26b44549fea47daa2174516ac
654
#!/bin/bash export DOTFILES="$HOME/projects/dotfiles" # Don't check mail when opening terminal. unset MAILCHECK # enable colors alias ls="command ls -G" export LSCOLORS='Gxfxcxdxdxegedabagacad' # Set TextMate as default editor export EDITOR="/usr/local/bin/mate -w" export GIT_EDITOR='/usr/local/bin/mate -w' # sour...
a8363bced0a015892fd860da91ad79fd3dfc438b
283
#!/bin/bash /usr/bin/java -jar ../lib/selenium-2.25.0/selenium-server-standalone-2.25.0.jar -role node -hub http://nightly01.test.local:4444/grid/register -nodeConfig ../properties/JSON/ChromeNode/webconfig.txt -Dwebdriver.chrome.driver=../lib/chromedriver # > /tmp/gridnode.log 2>&1
36e45349c54535ab90618c5a0266dd67653eeebd
230
#!/bin/bash file="${1}" if [ -z "${file}" ] then echo "Usage: md2pdf <file without extension>" exit 1 fi if [ ! -f "${file}.md" ] then echo "expected ${file}.md" exit 1 fi pandoc -o "${file}.pdf" "${file}.md"
02f09b49f20793088533ade92467c7654ce1f4d7
572
#!/usr/bin/env bash if test $# -ne 1; then echo "Usage: $0 <file.md>" exit 1 fi resolved="$(readlink "$0")" if test $? -ne 0; then mybase="$(dirname "$0")"; else mybase="$(dirname "$resolved")"; fi mdfile="$1" filebase="$(echo "$mdfile" | sed 's/\.[^.]\+$//')" cat "$mdfile" | sed 's/`/\`/g' | sed 's/\$/`/g' | markdow...
f463f0cd371f452bda4f6a02df3e3d75cdadf66d
1,772
#!/bin/bash #universal and modular bash application launcher #https://github.com/bartx84/launcher #bartx [at] mail.com # #core library #themes library #import the global functions library . $maindir/core/glb_functions.sh function get_current_theme() { mypth=$(pwd) if [ -e "$theme_file" ] then my_theme_path=( `cat "$t...
56d292b4d97cd55662e2d3c1cc26f3a88550a9d0
90
#!/bin/bash HERE=`pwd` rm -f qmp_diag cd qmp make clean make mv qmp_diag $HERE make clean
95b2cbebeaf1c84d605df5490cb3ea7ee5701e1c
558
echo "2a" awk -F ',' '{if($7=='2012') i[$1]+=$10} END{for (j in i)print j}' WA_Sales_Products_2012-14.csv | sort -nr | head -1 echo "2b" awk -F ',' '{if($7 == "2012" && $1=="United States") i[$4]+=$10} END {for(j in i)print j}' WA_Sales_Products_2012-14.csv | sort -nr | head -3 echo "2c" awk -F ',' '{if($7=="2012" &...
6727390c52b04746cc726f482220e85b8542bafa
143
#!/bin/bash echo "Hello, welcome to 'The Judged Parent Game'." echo "Enjoy the game!" gem install bundler bundle install cd src ruby index.rb
c7a5bebee6ef85e18a9e7b429d668dbf11b98c9a
1,542
if [ $# -ne 2 ] then echo "Usage: startAuction.sh item_url web_window_id" echo exit fi echo "Starting sale for $1 to window id $2" url="$1/sell" window=$2 xdotool windowfocus $window xdotool windowraise $window sleep 1 # move mouse to address bar and click to focus it xdotool mousemove --window $window 250 6...
2c20cb2759e79bc72bcebd80133342777ddbdbcb
496
#!/usr/bin/env zsh config="$(cargo r -q -- path -d "${(%):-%N}")/../complete.yml" eval "$(cargo r -q -- parse zsh _ -- "$@" <"$config")" [[ -z "$_success" ]] && exit 1 printf '%s\n' \ "opt = '${_opt_vals[@]}' pos = '$_pos_vals' flag = '${_flag_vals[@]}' mode = '$_mode_vals' mvals = '$_mvals_vals' minv...
1178d4364a8fc2c815fedc7a88b10a869f4d3934
131
#!/bin/bash rm apps/smpp_router/ebin/* rebar compile cd rel rm -rf smpp_router rebar generate smpp_router/bin/smpp_router console
2b450774737713cac0cbf503aa9cf12915e5c35e
279
#!/bin/bash # --sout '#transcode{vcodec=mjpg,width=1280,height=720,vb=32000}:standard{access=http,mux=ts,dst=:8080}' cvlc \ 'v4l2:///dev/video1:width=1920:height=1080' \ --sout '#transcode{vcodec=mjpg,width=1280,height=720,vb=64000}:standard{access=http,mux=ts,dst=:8080}'
aca48f6f45346cc3c10ce27f19de48e6c07fdafd
569
#!/bin/bash DATA_ROOT=$HOME/Research/LSTMPointProcess/data/synthetic/hawkes RESULT_ROOT=$HOME/scratch/results/NeuralPointProcess H=128 bsize=256 bptt=8 learning_rate=0.0001 max_iter=4000 cur_iter=0 save_dir=$RESULT_ROOT/saved-hidden-$H-bsize-$bsize if [ ! -e $save_dir ]; then mkdir -p $save_dir fi dev_id=0 ./b...
c969552e441ddd33dfc6217a83a693f4793eb523
184
#!/bin/sh curl -H "Content-type: application/json" \ -H "Accept: application/json" \ --data @activity.json \ -X POST \ "http://localhost:8080/venti/rs/crud/test2"
7fd7630b05d9f38b493260149f17b9be714009f9
1,948
#!/bin/bash REPO=$(cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")" && git rev-parse --show-toplevel) UTIL=${REPO}/util resultName=none seconds=10 hostfile="/nfs/mpi.hosts" groupClass=none nodeClasses=none msgBytes=1 POSITIONAL=() while [[ $# -gt 0 ]] do key="$1" case $key in --resultDir) resultDir="$2" sh...
c09816f24343509300c40a5d604d8b234dd1f994
103,149
#!/bin/sh echo running trace: report_bus_0002 >> aterminalreport.txt echo $(($(date +%s%N)/1000000)) >> aterminalreport.txt sudo /sbin/tc class change dev ifb0 parent 1: classid 1:1 htb rate 57964 sudo /sbin/tc class change dev ifb0 parent 1:1 classid 1:11 htb rate 57964 prio 0 quantum 1514 sudo sleep 0.148s sudo /sbi...
264ada3145fabd2315cf31181758f1334c8d978b
1,324
#!/bin/sh exec 2>&1 source /etc/envvars django_cmd=${DJANGO_CMD} test_models=${DJANGO_TEST_MODELS} GUNICORN=/usr/local/bin/gunicorn ROOT=/app PID=/var/run/gunicorn.pid APP=${DJANGO_APP}.wsgi if [ -f $PID ]; then rm $PID; fi cd $ROOT mkdir -p /root/.ssh/ chown -R root:root /root/.ssh # XXX: skip test for migrations...
dcec56f8d9fcb31395153dff5dfe6f5e71114f0b
110
# Usage: # cat tallinn3.htm | sh filter.sh grep "<br>" |\ grep -v "\." |\ sed -f filter.sed |\ sort |\ uniq
18241e495a13007add045977fed44ffecfc3e259
163
#!/usr/bin/env bash set -aeu -o pipefail source .env NODE_CONTAINER="${PROJECT}_${ENVIRONMENT}_node" docker exec -u node -ti $NODE_CONTAINER bash -c "npm $*"
e97702254c20ed0b54cacd55d74621edbeedba97
92
#!/bin/bash docker-compose exec -T php-fpm php ./bin/console.php telegram:send-notification
b2c038ab3eaa8e94c702e6c05b30d663ffe9c721
487,670
d2b482284a0c368569edf8e12fcf2f18 ERR4204119_1.fastq.gz 9c28650f04c6ed098ddc38b9b6094fd3 ERR4204119_2.fastq.gz a9b12e80e6e04b86520d06d256337f5d ERR4204120_1.fastq.gz 5992e75ea9c8fe4a4b0d74939686e5b8 ERR4204120_2.fastq.gz e72e364c66f20e5bd5ce3c7694ed169d ERR4204121_1.fastq.gz cb0c097cc4c4e50ff5bc3aad9c29a2b1 ERR4204121_2...
41ccceee4baf25a8cb9ac79fcbd1465963eb8d21
225
#!/bin/sh cp ~/Literature/Bibliography/mircea.bib . echo "-------------------" echo "latexing..."; echo "" ./f > /dev/null && /usr/texbin/bibtex main && echo ""; echo "latexing twice ..." && ./f >/dev/null && ./f > /dev/null
217a52d3ca5d15baf9a9ed50e67bd805d8e71d37
493
#!/bin/bash BASE_DIR=`cd ../..; pwd` NGINX_CONF="./broncode_nginx.conf" NGINX_CONF_TEMP="./broncode_nginx_template.conf" # Create cat $NGINX_CONF_TEMP | sed "s,BASE_DIR,$BASE_DIR,g" >& $NGINX_CONF # MOVING FILES sudo cp ./uwsgi_params /etc/nginx sudo cp ./broncode_nginx.conf /etc/nginx/sites-available/ sudo rm -f /e...
170c7fcdde7c67b2548667aa7886cd0d278283da
226
set -eu APP='jpcounderscoreuseless' sbt 'web/docker:publishLocal' docker tag web:0.1.0-SNAPSHOT registry.heroku.com/$APP/web heroku container:login docker push registry.heroku.com/$APP/web heroku container:release web -a $APP
cbb116d787607fa7f06fc4e1cd2f88b42c2d05be
72
#!/bin/sh make signal_generator ./signal_generator $1 | ./audio_sink.sh
98f2fcd2970300d7d4d0140038e67af57421bdd4
321
# ; -*- mode: sh -*- layout_activate() { if [ -n "$(which pyenv)" ]; then source $(pyenv root)/versions/$1/bin/activate fi } # From https://blog.differentpla.net/blog/2019/01/30/nvm-direnv/ use_nvm() { NODE_VERSION="$1" type nvm >/dev/null 2>&1 || . ~/.nvm/nvm.sh nvm use "$NODE_VERSION" }...
ab72149638b72456d36e8832d46c580bad317f69
118
#! /bin/bash NUM=5 N=2 for i in $(seq 1 $NUM) ; do python3 part1.py -n $N --save "part1-${N}-${i}.pickle" done
3c052477d284bc7a9c8f5366ec20912b6e91a481
128
#! /bin/bash #ansible-galaxy install -r requirements.txt -p $(pwd) #vagrant up ansible-playbook stack.yml -i inventories/hosts
a398f0296e5be5f7fdc8beecd9d3130ff737bcc3
507
#!/bin/bash dir=`date +%b%d-%H:%M` time=30 ns=0 mkdir -p $dir for nrr in 512; do for rrsize in 1; do for rl in htb newrl none; do exptid=rl-$rl-rrsize-$rrsize python netperf.py --nrr $nrr \ --exptid $exptid \ -t $time \ --ns $ns \ --rl $rl \ --rrsize $rrsize mv $ex...
876474b8e290e3a7a2e0ae1a5201e118a54f6fb2
2,448
#!/bin/sh . `pwd`/tools.sh flavor=$1 PACKAGENAME=$dep_boost # VERBOSE=1 CLEAN=0 os="linux" threadingapi="" # linkmode=$3 # linkmode=shared linkmode=static # mode=$2 mode=release comp_1="-sNO_BZIP2=0 -sNO_COMPRESSION=0 -sBZIP2_BINARY=bz2 -sBZIP2_INCLUDE=$DEPS_DIR/$flavor/$dep_bzip2/include -sBZIP2_LIBPATH=$DEPS_D...
20d8106c2becca6bcf3cf18cc3f4fcac86b9bc9a
283
apk --update -q add wget \ curl \ git \ build-base \ libmemcached-dev \ libmcrypt-dev \ libxml2-dev \ pcre-dev \ zlib-dev \ autoconf \ cyrus-sasl-dev \ libgsasl-dev \ oniguruma-dev \ openssl \ openssl-dev \ supervisor; pecl channel-update pecl.php.net;
98c1b340987658007766e3d867b45df1ae074b99
3,713
#!/bin/bash red='\033[1;31m' green='\033[1;32m' yellow='\033[1;33m' reset='\033[0m' # No Color version="9.2.0" function get_g++ { add2path=$1 postfix=$2 if [[ "$OSTYPE" == "darwin"* ]]; then url_gcc="ftp://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.gz" else url_gcc="ftp://ftp.gnu.org/gnu/gcc/...
a1bed11a7f412f3344322b9a33fff78293876ec5
3,874
#! /bin/bash mnt=/mnt/squash tmp=/tmp/squash tmpTab=$tmp/fstab # check for root/sudo if [[ ! `id -u` == "0" ]] ; then echo "This must be run with root/sudo!" exit 2 fi fail=0 # check if squashfs-tools is installed if ! which mksquashfs > /dev/null 2>&1 ; then echo "Missing required package: squashfs-...
21788be8c30435cd8eb37db4a0f6cfcbd9cc271c
55
#!/bin/sh ../../bin/patchrb nodes.yml patches.yml "$@"
0fdba1f1770b79870e03d91a87dbe6a5284a306b
1,712
#!/bin/bash project_dir="$(dirname $( dirname $(readlink -f ${BASH_SOURCE[0]})))" source ${project_dir}/tests/lib/test-function.sh function main { cd ${project_dir} build-infrastructure run-tests echo Testing idempotency. run-tests destroy-infrastructure } function build-infrastructure { trap "echo 'va...
9d08d566b8b239cbb982d7e4313527ac799cba33
234
#!/bin/bash -l # DIRECTIVES: #SBATCH --time=24:00:00 #SBATCH --partition=nesi_prepost #SBATCH --cpus-per-task=1 #SBATCH --account=niwa00013 #SBATCH --hint=nomultithread #SBATCH --mem-per-cpu=50G #SBATCH --nodes=1 #SBATCH --ntasks=1
78388e70f3c5e9d666de24e100497c93839cabef
1,597
#!/bin/sh # Extracted from https://github.com/akhilles/crc-catalog/blob/master/generate_catalog.sh echo "use super::Params;" >> src/crc8/catalog.rs echo "use super::Params;" >> src/crc16/catalog.rs echo "use super::Params;" >> src/crc32/catalog.rs echo "use super::Params;" >> src/crc64/catalog.rs echo "use super::Par...
889777a72ec603b195d4bc0308d956aee38eb850
240
#!/bin/bash DATABASE_URL=postgres://USERNAME:PASSWORD@HOST:5432/DATABASENAME export DATABASE_URL sudo /sbin/modprobe w1-gpio sudo /sbin/modprobe w1-therm /usr/bin/python /home/pi/tempwatch/tempwatch.py >> /home/pi/tempwatch/debug.log 2>&1
68156d2dd9c8be0fbb4e83b184ed20da5aa169a9
287
#!/usr/bin/env bash wget https://github.com/github/codeql-action/releases/latest/download/codeql-runner-linux chmod +x codeql-runner-linux echo $(ls) codeql-runner-linux init --repository malirezai/android-codeql-sample --github-url https://github.com --github-auth $GITHUB_PAT_TOKEN
ffe38668c0cad8b22185fd724834475956c27688
1,200
#!/bin/bash ################################################################################ # # build_select.sh # # Mu2eER Deployment Script. Automates the installation of the Mu2eER Buildroot # images produced by Jenkins to the test and production boot areas. # # @author jdiamond # ##################################...
e69a45bfffa1e003499b97781caa5b9ec102d82e
768
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE-$0}")"; pwd) CHANNEL_NAME=channel2 ORG_FOLDER_NAME=$1 ORG_MSPID=$2 ORDERER_CA=${CUR_DIR}/../cert/ordererOrganizations/supply.com/orderers/orderer0.supply.com/msp/tlscacerts/tlsca.supply.com-cert.pem CORE_PEER_TLS_ENABLED=true \ CORE_PEER_LOCALMSPID="GylFOrg1MSP" \ CORE_PEER_TLS...
168409d58d5acbc1bead1d0d8149e5973f5a850e
1,735
#!/bin/bash check_dependencies() { echo "checking dependencies..." dependencies=(curl git) for d in $dependencies; do command -v $d > /dev/null 2>&1 if [[ $? != 0 ]]; then echo "$d required to run install script." exit 1 fi done echo "done." } brew_...
9333956bbce6f5b30290a82f8b58af2607d5e52d
214
#!/bin/bash nxtrc -r balans.csv -a 00:16:53:01:97:6E filename="balans"`eval date +%H:%M":"%d%m%y`".csv" cp balans.csv $filename gnuplot -persists plot_mine.s rm balans.csv nxtrc -d balans.csv -a 00:16:53:01:97:6E
5971c7901ccfc3fab1074a935381a5672fdd5de5
138
#!/usr/bin/env bash # # Summary: Open a browser window with Youtube # # Usage: {cmd} set -e firefox-devedition --new-window youtube.com
ff68ac5345f991587de27074e06a8c394927073e
796
# Maintainer: willemw <willemw12@gmail.com> _pkgname=theyoke pkgname=$_pkgname-git pkgver=r23.aa04319 pkgrel=1 pkgdesc="Ultra-simple, polite RSS aggregrator for the command line" arch=('any') url="http://github.com/mackers/theyoke/" license=('GPL' 'PerlArtistic') depends=('perl-libwww' 'perl-html-parser' 'perl-uri' 'p...
716ff3ecf51578af21fb17e99ae85e7c6f6584d7
672
if [ -z "$1" ] then echo "Usage: cinematography_spawn_nodes.sh <start_node> <num_nodes>" exit fi trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT start_node=$1 num_nodes=$2 num_simul=100 max=$(($num_nodes + $num_simul - 1)) for j in `seq $start_node $num_simul $max`; do end=$(($j + $num_simul))...
0f377d870dd12192983dbae2b6e750343733e272
1,582
#!/bin/bash set +xe rm -rf build_cmake mkdir build_cmake pushd build_cmake INSTALL_PREFIX=`pwd`/../install rm -rf ${INSTALL_PREFIX} export ONEAPI_ROOT=/opt/intel/oneapi DPCPP_ROOT=${ONEAPI_ROOT}/compiler/latest/linux cmake \ -DCMAKE_BUILD_TYPE=Debug ...
6c39ee15dca3c4318a76ddf13f3a51a750f95d9b
84
#!/bin/sh echo -e 4 "\n" -1 "\n" 10 "\n" 16 "\n" 18 | python class_vs_instance.py
7e37ea3e208e7b2335c49a8d7c202d714c7044fd
482
. workflowHandler.sh plist="/Library/LaunchDaemons/com.crashplan.engine.plist" if [ -f $plist ]; then # addResult "uid" "arg" "title" "subtitle" "icon" "valid" "autocomplete" addResult "stop" "stop" "Stop CrashPlan" "" "icon-stop.png" "yes" "autocomplete" addResult "start" "start" "Start CrashPlan" "" "icon-start...
7a42d5e99a63bc123b9a0876e7b22f6d643dd1f2
555
#!/bin/bash # blogproof.sh # Criação: 25/03/2019 # Propósito: Fazer teste do wscan para WordPress no blog # Autor: Erick Formaggio clear echo "==================================================" echo "ANALISANDO O BLOG" echo "==================================================" echo "Analisando... O teste pode demorar...
14f7b0167da8bf70b3b8ff66b60b7d939abe3878
986
#!/bin/sh # ObliviousGmn. April 2015 # https://github.com/ObliviousGmn # i3lock - Lockscreen Active="/tmp/Active.png" Static="/tmp/Static.png" Center="-gravity center -composite -matte" Pixel="-scale 10% -scale 1000% -fill black -colorize 33%" Wallpaper="$(cat $HOME/.xinitrc | awk '/hsetroot/ {print $3}')" CenterIMG...
728e9798674f0ca26a192f81368f3226c2fbe93b
305
#!/usr/bin/env zsh # # fzf-audio - fzf interface for SwitchAudioSource __fzf-audio() { SwitchAudioSource -s \ "$(SwitchAudioSource -a | grep "(output)" |\ fzf-tmux --height=8 --cycle --no-mouse --no-multi |\ cut -f1 -d'(' | xargs)" } command -v SwitchAudioSource >/dev/null && __fzf-audio
f1e6058774ee136454d3749a23eca3dade1a2bf9
128
#!/bin/bash un=`uname` if [ $un = "Darwin" ]; then bundle exec itamae local --node-json nodes/taturou.json roles/macos.rb fi
7e5521240a1b35504f200a03551a6d6e550380ad
117
DATA_DIR=../../data/frequency TF=$DATA_DIR/2013_2016_tf_norm.tsv K=100000 python get_top_vocab.py --tf $TF --top_k $K
566388e886a3e94ebf6b06cda699df788f5cef0e
194
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" source $SCRIPTPATH/environment.sh serverless deploy # 'export' command is valid only for unix shells. In Windows - use 'set' instead of 'export'
c16747fcc402669f104e1d5b12f238f8d5fe2513
421
#!/usr/bin/env sh # Terminate already running bar instances killall -q polybar # Wait until the processes have been shut down while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch polybar polybar work1 -c $HOME/.config/polybar/configg.ini & polybar work2 -c $HOME/.config/polybar/configgg.ini & polybar...
ab4a7216eda2897a67b8698c1e43ef7b99f18610
53
REACT_APP_API_ENDPOINT=https://wisit-be.herokuapp.com
e240c31381afd8c4bf479654885bc35eff0f9e50
210
#!/bin/bash . /home/codio/workspace/tests/python-test-lib.sh start_python_test '0-N.py' run_python_test '-1' '' run_python_test '3' $'0\n1\n2\n3' run_python_test '7' $'0\n1\n2\n3\n4\n5\n6\n7' end_python_test
c0b9cb5358b9d068f2d3889b0916b978e6ce483c
335
#!/usr/bin/env bash # -*- coding: utf-8 -*- [ -r "script/bootstrap.sh" ] && source "script/bootstrap.sh" cd $SOURCE_DIR if [[ "$1" == "all" ]]; then python manage.py harvest --settings=$DJANGO_SETTINGS_TEST apps/*/features/u* exit fi python manage.py harvest --settings=$DJANGO_SETTINGS_TEST apps/*/features...
d5212fa9471b8d10463ee4de7d3438146b1e8332
978
# Maintainer: Florian Léger <florian6 dot leger at laposte dot net> pkgname=firefox-oxygen-kde pkgver=4.0_b1 pkgrel=1 pkgdesc="Complete add-on/theme bringing the Oxygen style for Firefox." arch=(any) depends=("firefox>=8.0") url="http://oxygenkde.altervista.org/index.html" license=('GPL') source=("http://oxygenkde.alte...
bca05e690bad85e29d01f54a7fd6e30ce12d5f35
455
#!/bin/bash # Create database + table + time to insert datas redis-cli flushall echo "Earth has been destroyed" TIME1=`date +%s%N` redis-cli --eval generate_data_million.lua TIME2=`date +%s%N` TIME3=`expr ${TIME2} - ${TIME1}` # Use expr to do the math, let's say TIME1 was the start and TIME2 was the finish DIFFSE...
414c29c7e7a6394df82bad07ac4cc1bf1c81dd8e
301
#!/bin/bash if [ "$#" -ge 1 ] then docker run \ -d \ -it \ -e MYSQL_ROOT_PASSWORD=$1 \ -p 3306:3306 \ -p 33060:33060 \ --restart unless-stopped \ --name devel-mysql \ devel-mysql:1.0 else echo "ERROR: no argument detected" echo "./devel-run <mysql_password>" fi
ceb0fe2cd5ec18104a869c4a211264210942bbf0
171
#!/usr/bin/env bash.origin.script function EXPORTS_hello { echo 'Hello there!' } function EXPORTS_runServer { BO_run_recent_node "$__DIRNAME__/server.js" "$1" }
b04130b8e630dd3be580d70ab236b2ea51cf6bfd
718
# Contributor: DaNiMoTh <jjdanimoth@gmail.com> pkgname=perl-wordnet pkgver=1.49 pkgrel=1 pkgdesc="Perl interface to wordnet database" depends=('perl>=5.10.0' 'glibc' 'wordnet') license=('GPL') url="http://people.csail.mit.edu/jrennie/WordNet/" source=(http://people.csail.mit.edu/jrennie/WordNet/WordNet-QueryData-${pkg...
f24e889db97195ce2c9d42a4883d85cfddf83449
220
#!/usr/bin/env bash # deploy api to google cloud cd list-demo-api gcloud app deploy app.yaml -q --project [PROJECT_ID] cd .. # deploy app to firebase hosting cd list-demo-app rm -rf dist ng build --prod firebase deploy
1b700db057868f17f07a6a5151613e6e4ac2dd03
572
#!/bin/bash set -ex # get versions for gpbackup, s3_plugin and gpbackup_manager pushd gpbackup-go-components-rhel8 tar -xzf go_components.tar.gz GPBACKUP_VERSION=$(cat gpbackup_version) cp *_version ../gpbackup-tools-versions/ popd echo ${GPBACKUP_VERSION} > gpbackup-tools-versions/pkg_version # ge...
db18c2c54608d6516dad84fc1bcf70b790c7683c
217
#!/bin/sh #echo Converting .elf to .s19... cd build #arm-none-eabi-objcopy -O srec uxv_mbr.elf uxv_mbr.s19 echo Trying to program device... st-flash write uxv_mbr.bin 0x8000000 echo Finished flashing device cd ..
06da5c87e630ea6ec9a935783a26a63d09c91725
235
#!/usr/bin/env bash IFS=' ' export $(egrep -v '^#' ./.env | xargs -0) # load env IFS= pkill -f ganache-cli # stop the running instance if ganache-cli --account="$ADMIN_PRIVATE_KEY,1344395000000000000000000" --blockTime=1 --port=23000
04e9004e09f968759a0b7ee68e206e91c60359e9
47
sudo java -jar -Xms4G -Xmx7G spigot-1.17.1.jar
1e89dd8df86965fd313e226d07a04a50e9c7a4df
280
#!/bin/bash backupFolder=$HPBA_HOME/pgsql/backup WORKPATH=$HPBA_HOME/pgsql/bin export WORKPATH if [ ! -d $backupFolder ] then mkdir $backupFolder fi $WORKPATH/pg_dump -d xs_mng -U xsadmin > backup.txt tar -czf $HPBA_HOME/pgsql/backup/backup.tar.gz backup.txt --remove-files
0cd7408b2a37e423f21847e893a4db4fb3fcbff7
364
#!/bin/sh if [ $# == 1 ] ; then ## echo "Number of arguments = $#" if [ -f $1 ] ; then # name without extension name=${1%\.*} echo "Input filename is (w/ extension): $1" echo "Input filename is (w/o extension): ${name}" dot -Tpng $1 -o ${name}.png else echo "ERROR: $1 file does not exist!" ...
482a300b05dda4fabc514030c752bfae694bb99c
183
echo "Will now install install_dbptk-desktop " sudo apt-get update sleep 2m # sleep 3 sudo snap install dbptk-desktop echo "install_dbptk-desktop has been installed" sleep 3
29f10af3f48c026ac2c3adf99cb0959af5b1bb5d
387
APP_ENV=local APP_DEBUG=true APP_KEY=I14VdCICkkOHASHZZdwbGCUGRAGJWPtz DB_HOST=192.0.2.1 DB_DATABASE=mydatabase DB_USERNAME=databaseuser DB_PASSWORD=password CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync REDIS_HOST=localhost REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PO...