blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
259bd2515c517abdbec58c2cdc4c6f031286aa0b
6,099
# useful dockers alias phpserver='docker run --rm -p 2000:80 -v "$PWD":/var/www/html mastermindzh/php-xdebug' alias nodeserver='docker run --rm -p 3000:3000 -v "$PWD":/app mastermindzh/generic_node' alias reactserver='docker run --rm -p 8080:8080 -v "$PWD":/app mastermindzh/generic_node' alias mongoserver='docker run -...
fd95fc34a59f16fd78fdb922d89e0af86bdb26f5
1,540
#!/bin/bash echo ****************setup-devel echo ${JOB_NAME} echo ${JOB_DIR} echo ${PKG_DIR} echo ${HOME} echo ************devel pushd ${HOME} mkdir -p logs mkdir -p conf popd # Bootstrap # source ./scripts/setup-vars.sh echo ********************************setup-config source /var/vcap/jobs/${JOB_NAME}/devel/scrip...
b07f9de3bd5167803f467260ed6aaf3dd02a8296
235
#!/usr/bin/env bash ${buildout:directory}/bin/tika --scanner_subscribe http://${scanner_config:host}:${scanner_config:port}/plugins --tikapath ${buildout:directory}/tika-app.jar --accepted_languages ${scanner_config:accepted_languages}
17baf3531694e9de78bc625a4775adb68097fb57
2,193
#!/bin/bash # # Build the hello world example for RTEMS # # To run this, you need to be in the directory where you found this script. #set -x #Compile the objects rtems-gcc hello_so_1.c -I${RTEMS_SDK}/include/core \ -I${RTEMS_SDK}/include/rtems \ ...
bc7d19445275ee1ac605fa4b1d90d64da6ac0f36
375
#! /bin/bash ./PasswordCheck.sh if [[ $? -ne 0 ]]; then exit 1 fi echo "Enter an option:" echo "1. Create a folder" echo "2. Copy a folder" echo "3. Set a password" read -p "Enter your choice: " choice case "$choice" in 1) ./foldermaker.sh ;; 2) ./foldercopier.sh ;; 3) ./setPassword.sh ;; *) echo...
f33fa1b1aaab87c5428ead04ba3d49ca818e5e02
216
#!/bin/bash . scripts.cfg pushd $bygfoot_source xgettext -c -d bygfoot -k_ --force-po -f po/POTFILES.in mv bygfoot.po po/bygfoot.pot pushd po for i in *po; do msgmerge -s -U $i bygfoot.pot msgfmt -c $i done
c282cb1e8948ffa636047c17afc935c2f21a0e27
27
#!/bin/bash ipcrm -M 1228
fdae5cb7ee5042591ef6f97738901a4fe94a65cf
552
for i in {2..24} do sed -n '/ H *'$i' /p' test.pdb >>P1.pdb done for i in {6..28} do sed -n '/ H *'$i' /p' test.pdb >>P2.pdb done for i in {3..5} do for j in {1..25} do sed -n '/ H *'$[4*($i-3)+7+$j]' /p' test.pdb >>P$i.pdb done done for i in {6..11} do for j in {1...
4298358674e424fdff14e39c952b9c42dd5607cc
431
#!/bin/sh set -e ShellFolderPath=$(cd $(dirname $0) && pwd) cd "${ShellFolderPath}" case "$(uname -s)" in Darwin) SnippetsFolderPath="$HOME/Library/Developer/Xcode/UserData/CodeSnippets" if [[ -d "${SnippetsFolderPath}" ]]; then rm -rf "${SnippetsFolderPath}" fi if [[ -L "${SnippetsFolderPath}" ]]; then ...
0ed246285f8dd918fbf7f011896a44e1c81b24e7
179
#!/usr/bin/env bash echo "inside shell" echo `pwd` gem install rails -v 4.0.0 --no-ri --no-rdoc gem install therubyracer --no-ri --no-rdoc gem install libv8 --no-ri --no-rdoc
c73a6314752e8a4de4c4fe5297e90fbac741454c
310
#!/bin/bash D='/Volumes/TBSSD/TMP' DD='' #2011-2020/2016 find "$D/$DD" -type f | egrep "/P.*\.mov" | while read aF do echo "$aF" baseFileName=`basename "$aF" .mov` inDir=`dirname "$aF"` if [ -f "$inDir/$baseFileName.jpeg" ] then echo rm "$inDir/$baseFileName.jpeg" echo " deleted" fi done exit 0
0677d2be1fbbcbf1aca652ecca546b73954c566e
1,354
#!/bin/bash # # Get a bunch of random numbers from RANDOM.ORG. These are then parsed and put # into a particular header file. # Returns a list of 66 lines, each of which has four (random) numbers URL="http://www.random.org/integers/?num=264&min=0&max=65536&col=4&base=10&format=plain&rnd=new" NUMBERS="$(curl $URL)" #N...
20905a71ccbdf7a0069dde6a5a35619a0797af09
1,657
#! /bin/bash CC_LOGGER_SCRIPT=$(realpath $0) CC_LOGGER_DIR=$(dirname ${CC_LOGGER_SCRIPT}) COMPILE_DB=compile_commands.json if [[ -e ${COMPILE_DB} ]]; then BACKUP_TAG=$(stat --printf=%y ${COMPILE_DB} |sed 's| |_|' | cut -d'.' -f1) mv ${COMPILE_DB} ${COMPILE_DB}.${BACKUP_TAG}.json fi #echo CodeChecker log -k -o comp...
c66c450c87c289d7566944ac63fa501b74de0509
2,816
#!/bin/bash input=$1 trap "exit" INT # Declare an array of string with type # "asymmetric" "symmetric" "symmetric_with_uint8" "symmetric_with_power2_scale" declare -a quantizations=("symmetric" "symmetric_with_uint8" "symmetric_with_power2_scale") declare -a executors=("image-classifier" "image-classifier_googlenet_mi...
5ba44971372fb35e49aa2404fb62cf0bc8290bc9
131
xrandr --output DVI-I-0 --off xrandr --output DVI-I-1 --mode 1920x1200 xrandr --output DVI-D-0 --off xrandr --output HDMI-0 --off
bf086368a092485b7381f31de0ed5bcc588f7a47
1,792
#! /usr/bin/sh #kernel_version kernel_version=3.8.13-bone68 filesystem_path=./tmp kernel_deploy=~/workspace/AM335x/eewiki/deploy #uEnv.txt sudo sh -c "echo 'uname_r=${kernel_version}' > ${filesystem_path}/boot/uEnv.txt" sudo sh -c "echo 'optargs=quiet capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4,BB-SPIDEV1,BB-I2...
5ae20f73a7e855b6624d85f46adc43933de4573f
673
# Create ~/.my.cnf with: # # [client] # user=root # password=... # # before running this to avoid password prompts. for x in \ alembic_version \ building_types \ cooking_types \ inventory \ kits \ member \ month_feedback \ occupation_types \ post_survey_details \ pre_survey_details \ results \ role \ space_heatin...
32f45490d8ebefb69dfee727fddb8215f7383c28
115
TABLE=$(grep " sys_call_table" /boot/System.map-$(uname -r) | awk '{print $1;}') sed -i s/TABLE/$TABLE/g rootkit.c
d6b4f568b531d3dca89e85cbbb92cffaa2126699
353
#!/bin/bash set -eux -o pipefail # WARNING: This should only be run for CI. echo 'APT::Acquire::Retries "4";' > /etc/apt/apt.conf.d/80-acquire-retries echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90-get-assume-yes export DEBIAN_FRONTEND='noninteractive' ./setup/ubuntu/deb_install python3 -m pip install...
ea1b310f2228418ec3a25a7d282acf47763367f8
261
#!/bin/bash cd ../postgresql-8.1.7/src/test/regress #Cleanup script that stops postmaster #stop postmaster postmaster_pid=$(cat postmaster_pid.txt) kill $postmaster_pid rm postmaster_pid.txt cd ../../.. make clean -s cd ../testsuite_CSI3130 rm ./actual/*
3b6f3472fe788690272099e51de6c283c2316fb4
230
#!/bin/bash rm -rf my-app SCRIPT=" npx create-react-app my-app && \ cd my-app && \ yarn start " docker run -it \ --mount type=bind,source="$(pwd)",target=/react-app \ -w /react-app \ -p 3001:3000 \ react \ sh -c "$SCRIPT"
3020787dd0786e0de7baef58b2530012dea209c6
76
#!/bin/bash for name in man bear pig dog cat sheep ;do echo "$name" done
5c45706f2d8ec3dce4d35c2ba50fded9541dbd52
1,804
#BASH PROFILE Config MAC OSX echo"" echo Welcome to the konsole! Today is: $(date +%Y%m%d) echo"" echo ALIASES echo β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” echo SLE - /System/Library/Extensions/ echo b -bin echo sy -scripts echo idea - IdeaProjects echo hm -home echo de -desktop echo "" pwd export CLICOLOR=1 export...
2f0d146d0abc0e7d1549cee568cfc7a4d8c51f26
367
#!/usr/bin/env bash set -e # fail fast set -o pipefail # don't ignore exit codes when piping output set -x # enable debugging sudo chown -R www-data:www-data var/cache sudo chmod -R ugo+rwx var/cache php bin/console cache:clear --env=dev --no-warmup php bin/console cache:clear --env=prod --no-...
fdfa72df64fee3c0af51fea0b3108db09c0cb425
207
#!/usr/bin/env bash # prints hours and minutes hour=0 while [ $hour -le 12 ] do echo "Hour: $hour" minute=1 while [ $minute -lt 60 ] do echo $minute minute=$((minute+1)) done hour=$((hour+1)) done
54545978ba5cdded0d17b3cfd1974273ebec6fc3
4,056
#!/bin/bash # list of files to symlink and backup in homedir FILES=".bashrc .tmux.conf .zshrc" # list of files to backup in vim directory VIMFILES="init.vim coc-settings.json general.vim plugin.vim plug.vim status.vim" # list of files to symlink in vim directory VIMINITFILES="plug.vim general.vim plugins.vim status.vi...
dac85c5121d1d83a0bdda1fa748911e1ace4abff
405
#!/bin/bash . ./setup.sh conf=$1 mpse=$2 max=$3 pcap=$4 echo "conf=$conf, cpu=$cpu, max=$max, pcap=$pcap" var="search_engine.search_method" pcaps="$pcap" for i in $(seq 2 $max) ; do pcaps+=" $pcap" done echo $i `$snort $args -c $conf -r "$pcaps" --lua "$var = '$mpse'" -z $max 2>&1 | \ grep "$runt" | grep ...
a0a56edd7753c4a6e73412988a77a7b90c4db819
588
#!/bin/bash # Compile SCSS to CSS and minified CSS echo -ne "Compiling [# ] : Human-readable CSS\r" sass -t expanded scss/rotem.scss css/rotem.css > compile.log echo -ne "Compiling [## ] : Minified CSS\r" sass -t compressed scss/rotem.scss css/rotem.min.css >> compile.log # Combine JS and minify echo -ne "Compil...
220660cd528b6ab463ae0f7eb939b49a5fdd3fcd
210
#/bin/bash cat $1 | grep "Finished processing filter" | awk '{print $1 $6 $4 $5 $6 $14 $6 $16}' > $2-filters.txt cat $1 | grep "Total processing time" | awk '{print $1 $6 $4 $5 $6 $14 $15}' > $2-total.txt
6e4b5be8a0e687d3811551b84998eb4407abc5e4
82
# Cloudant Credentials CLOUDANT_USERNAME= CLOUDANT_APIKEY= CLOUDANT_DATABASE=todos
0630143e3528c896a97906fb91f2603099e8e70c
460
# oh-my-zsh export ZSH="/Users/fabian/.oh-my-zsh" DEFAULT_USER="fabian" # Theme ZSH_THEME="spaceship" SPACESHIP_TIME_SHOW="true" SPACESHIP_BATTERY_SHOW="false" SPACESHIP_GIT_SHOW="false" SPACESHIP_RUBY_SHOW="false" ENABLE_CORRECTION="false" COMPLETION_WAITING_DOTS="true" plugins=(git macos ruby zsh-autosuggestions z...
0461dfcf0b40f17b5c4a572bcb3324e81cede121
1,945
#!/bin/sh #Set Up vstftp and configuration apt-get install vstftpd cp /etc/vsftpd.conf /etc/original_vstfpd.conf wget https://raw.githubusercontent.com/berzerk0/textfiles/master/reference_txts/anonymous_vsftpd.conf -O /etc/vsftpd.conf #add bash alias for tftp #alias start-tftp="if [ -d '/tmp/ftproot' ]; then atftpd...
51cfa82391123b25eea90a0a2cdb2d775ba9443b
81
#!/usr/bin/env sh Xephyr -br -ac -noreset -screen 3160x1700 :1 & DISPLAY=:1 "$@"
adc8543362ee35a992a2aa3cfad7dadca706fca4
39
#@lang=js #@memcheck=false node code.js
7ce024ea7b071276785872234c5634da4be61826
634
tput setaf 6 echo echo " Project files are generated in \"build\" directory." echo " \"compile_commands.json\" is file used by eg. clang tools." echo echo " NOTE: Add \"use_clang\" arg if you want to use clang compiler." echo tput sgr0 if [ -d "build" ] then rm -R build/* else mkdir build fi CLANG="OFF" if...
db9d304d665afc209709f00fdc80ec9942f4f0df
188
#!/bin/bash folder='ttt/' for (( i=${1}; i<=${2}; i++ )); do if [ -d "${folder}thread_${i}" ]; then rm -rf "${folder}thread_${i}" echo "Deleted Folder thread_${i}." fi done
48c41d4d2f99528c0c5df53da4c1a39c74f7f060
209
#!/bin/bash case $1 in "1") echo "周一" ;; "2") echo "ε‘¨δΊŒ" ;; "3") echo "周三" ;; "4") echo "周四" ;; "5") echo "周五" ;; "6") echo "周六" ;; "7") echo "周ζ—₯" ;; *) echo "θΎ“ε…₯ιžζ³•" esac
39eebd0c2ca67ea50d5568352e6a3d5c52a428e6
197
ansible-galaxy collection build mv napalm-napalm-0.9.12.tar.gz build/ # rm -r ~/.ansible/collections/ansible_collections/napalm ansible-galaxy collection install build/napalm-napalm-0.9.12.tar.gz
b5b5232d22454108a92700daafc42cbfb90002c5
609
#! /bin/sh REV=HEAD SHA=$(git rev-list $REV | head -1) DEPLOYDIR=/tmp/blog-deploy-$SHA SOURCEDIR=/tmp/blog-source-$SHA DEPLOYREMOTE=git@github.com:atn34/atn34.github.io.git GITHUBSRC=atn34/blog trap "rm -rf $DEPLOYDIR $SOURCEDIR" EXIT mkdir $DEPLOYDIR mkdir $SOURCEDIR git clone $DEPLOYREMOTE $DEPLOYDIR (cd $DEPL...
fff93079bf60dcc5a8e468cebfeed9a42975b06b
42
#!/bin/sh echo first: $1 echo others: $2
4430abd09f779fc3c8590b526c539f7101442849
454
#!/bin/bash set -e if [[ -n "${JS_DEBUG}" ]]; then set -x fi function usage() { echo -n \ "Usage: $(basename "$0") Run Heroku release. " } if [ "${BASH_SOURCE[0]}" = "${0}" ]; then if [ "${1:-}" = "--help" ]; then usage else python manage.py collectstatic --noinput ps...
13aafb374a4c49406fdf87344655a5f0b3a30b3d
739
lastemperor ============================== Project with the 8 place model in CMAP competition Project Organization ------------ β”œβ”€β”€ README.md <- The top-level README for developers using this project. β”œβ”€β”€ barcode_to_gene_map.txt <- Barcode for gens └── main.py <- Script for ...
99b2e5e9311799dde4fd88dc989b338860fe1779
143
#!/bin/sh CONFIG=$1 echo Startup, config file = $CONFIG while true; do echo $(date) ---------------------------- cat $CONFIG sleep 5 done
1fe2e19c22df5c744411f3e945911e8c5762cec4
39
#!/bin/bash sudo mount -o remount,ro /
1f99fbfb28d83c9c5f25e9bb8fae29e50c3a637c
3,112
#!/usr/bin/env sh # Originally from https://github.com/latex3/latex3 # This script is used for testing using Travis # It is intended to work on their VM set up: Ubuntu 12.04 LTS # A minimal current TL is installed adding only the packages that are # required # See if there is a cached version of TL available export...
a349ce42c93cf96102b19ffb5ab12f3f084c502c
156
#!/bin/sh ./nosetests.sh -v -w lib \ --with-nosehtml --html-report-file run_unit_tests.html \ --with-doctest --exclude=functional --exclude="^get"
280b627036d71f7c12fc699c45680ffc559c7c27
94
echo "testing long running process. sleeping at.." date sleep 125 echo "waking up at..." date
5bdb446cf24c66e3557f080a9e77589d5b52d8ba
158
python experiment.py title_only python experiment.py title_and_description python experiment.py 10_samples_per_class python experiment.py 20_samples_per_class
d79a0cd091a3cce7e5698e45033353c3f62db62d
592
#!/bin/sh #=============================================================================== # # FILE: select_wm.sh # # USAGE: ./select_wm.sh # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: YOUR NAME (), # ORGANIZATION: # ...
fbdfe17d062f3c55c89a9af1e4097dbe031bf14c
76
DB_URI = 'mongodb+srv://Mykyta:pilot123@cluster0-ojubb.mongodb.net/todos'
173e3dd7a05b6c483c855c8c31f30612d7ea980a
467
#!/bin/bash # argumentFichier.sh : script utilisΓ© par un autre script pour savoir # s'il a bien Γ©tΓ© appelΓ© en lui passant un unique fichier lisible OK=0 ERR_ARGUMENT_NON_FICHIER=4 ERR_FICHIER_NON_LISIBLE=5 if source ./argumentUnique.sh $* then return $? fi if [[ ! -f "$1" ]] then echo "$1 n'est pas un fichier" r...
27d07d190267e7637533db96977e2f9599d6ec64
314
set -e cd "$(dirname "$0")" libName=Hax2Lib wrapperName=Hax2Wrapper name=Hax2 clang -dynamiclib -fmodules $libName.m -o $libName.dylib codesign -f -s - $libName.dylib osacompile -x -o $name.app $wrapperName.applescript mv $libName.dylib $name.app/Contents/Resources/ rm $name.app/Contents/Resources/applet.icns
35b0249765173a06b1d7a00e2e099d3244c4523b
1,017
mkdir -p ./bin OPENCV_DIR="/usr/local/opencv/opencv-4.5.2" CAFFE_DIR="/home/liuchang/tools/C++/caffe" nvcc ./src/linux/deep_image_analogy/source/*.cpp ./src/linux/deep_image_analogy/source/*.cu -I${OPENCV_DIR}/include/opencv4 -I${CAFFE_DIR}/include -I${CAFFE_DIR}/build/src -L${CAFFE_DIR}/build/lib \ -o ./bin/dee...
7a54000aab7dfa31db7fc9a49f4fbc11e50f6185
383
#!/usr/bin/env bash set -e echo y | android --silent update sdk --no-ui --all --filter android-$ANDROID_TARGET echo y | android --silent update sdk --no-ui --all --filter sys-img-armeabi-v7a-android-$ANDROID_TARGET echo no | android create avd --force -n test -t android-$ANDROID_TARGET --abi armeabi-v7a QEMU_AUDIO_DR...
be2328cf8d2dc28f218d3aa42898731d37b3d690
39
export DOCKER_HOST=tcp://127.0.0.1:2375
1316e7398cc8696d18ebb35de8e3ae3134860a95
1,274
#!/bin/bash # example script invocation: # $ ./withdraw.sh usb://ledger?key=0 stake-account.json 2ETrrFcKsKpnE1RCLpxDfdwDA1fBVRKZmWQmEBi4sBqv funding_keypair=$1 # ex: usb://ledger?key=0 stake_keypair_filename=$2 # stake-account.json recipient_address=$3 # <receiving solana address>, ex: 2ETrrFcKsKpnE1RCLpxDfdwDA1fBVR...
7eb045f462a64221e2beb89151c7dd4e5e6ffdb2
10,203
HDIClusterName=${1} HDIClusterLoginUsername=${2} HDIClusterLoginPassword=${3} HDIClusterSSHHostname=${4} HDIClusterSSHUsername=${5} HDIClusterSSHPassword=${6} blazeworkingdir=${7} SPARK_HDFS_STAGING_DIR=${8} SPARK_EVENTLOG_DIR=${9} osUserName=${10} osPwd=${11} domainHost=${12} domainusername=${13} domainpassword=${14} ...
da98c434d2503b1c0c0807356637f74ac7033438
71
#!/bin/bash wget -qO - http://color.com/json/stream/search/by-root/$1
5666f11aeae1f8761b0dddb27a1616abe1e0cc10
929
date LITMUSOPTS="${@:-$LITMUSOPTS}" SLEEP=0 if [ ! -f SB.no ]; then cat <<'EOF' %%%%%%%%%%%%%%%%%%%%%%%%% % Results for SB.litmus % %%%%%%%%%%%%%%%%%%%%%%%%% X86 SB "Fre PodWR Fre PodWR" {x=0; y=0;} P0 | P1 ; MOV [x],$1 | MOV [y],$1 ; MOV EAX,[y] | MOV EAX,[x] ; exists (0:EAX=0 /\ 1:EAX=0) Gen...
f7769df2a70e5b6c100f3cb8895c88e95a84cdd0
550
answer=$(echo ΠŸΡ€ΠΈΠ²Π΅Ρ‚$(echo ΠΌΠΈΡ€ | iconv -f utf-8 -t koi8-r) | ./is_utf8 -) error_level=$? [ $error_level == 1 ] || exit 1 [ $answer == "ΠŸΡ€ΠΈΠ²Π΅Ρ‚" ] || exit 1 answer=$(echo ΠŸΡ€ΠΈΠ²Π΅Ρ‚$(echo ΠΌΠΈΡ€ | iconv -f utf-8 -t cp1251) | ./is_utf8 -) error_level=$? [ $error_level == 1 ] || exit 1 [ $answer == "ΠŸΡ€ΠΈΠ²Π΅Ρ‚" ] || exit 1 answer=...
c6e1ccb8ccbea9d0d1f2ca56664037f9afdd5781
764
#!/bin/sh # Laurentiu Dascalu echo Testul $1 make if [ $1 -eq 1 ] then rm output/result.txt valgrind ./tema input/input1.txt > output/result.txt valgrind ./tema input/input2.txt >> output/result.txt fi if [ $1 -eq 2 ] then rm output/result_inconsistent.txt valgrind ./tema input/input1_inconsistent.txt > output...
5e0ab722920a6e81f9f49f32d03c9b7c02042d8b
435
#!/bin/bash if [ ! -f ./test_data/big_buck_bunny.mp4 ]; then wget -O ./test_data/big_buck_bunny.mp4 http://commondatastorage.googleapis.com/gtv-videos-bucket/big_buck_bunny_1080p.mp4 fi echo "1 00:00:00,498 --> 00:00:02,826 - This is an example subtitle second line here. ÄÖÀâ. 2 00:00:02,826 --> 00:00:06,384 - I...
495ad0dc7cd3416e068c964e3c6464cbc77eb2ca
697
#!/bin/bash umask 077 echo "Using configuration found in vpn.conf to rebuild server" \ "configuration file wg0.conf." # The base directory for the config scripts dir=$(cd -P -- "$(dirname -- "${0}")" && pwd -P) scriptsdir=$dir/scripts userdir=$dir/users vpnconf=$dir/vpn.conf # Generate any missing users; usercoun...
80e3557e4d9954c2f6a8792677680042f7e89a76
46
#!/bin/sh mvn -Pdeploy clean package deploy
ba4ce9f1636b7d68a897218bfa71af2303898cf8
748
#!/bin/bash GIT_DIR=/home/{{ ansible_user }}/deployment_listeners/{{ app_name }}_{{ item }} WORK_TREE=/home/{{ ansible_user }}/{{ app_name }}_{{ item }} while read oldrev newrev ref do if [[ $ref =~ .*/master$ ]]; then echo "Master ref received. Deploying master branch to {{ item }}..." mkdir...
6377cc8183105a2e6df37c885a91cfaf58710007
8,150
#!/bin/bash SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" function usage() { printf "\\tUsage: %s \\n\\t[Build Option -o <Debug|Release|RelWithDebInfo|MinSizeRel>] \\n\\t[CodeCoverage -c] \\n\\t[Doxygen -d] \\n\\t[CoreSymbolName -s <1-7 characters>] \\n\\t[ResourceModel -r <Unlimit|Fee...
2a26add03fb9737d0eb867c8556c5684d6a61f33
122
#!/bin/bash VERSION=1.0.0 docker build -t binderhubonline/ds-blog:$VERSION . docker push binderhubonline/ds-blog:$VERSION
41174bfe9af4c9acea87e23226d0577db8ba8e78
6,098
#!/bin/bash ### # #%L # %% # Copyright (C) 2018 BMW Car IT GmbH # %% # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
55f8b2df5fc933c8476f62cf1c26a0c3f8c51c7f
253
# when you clone my arduino shared library you also need this other repo. # execute this from the checked out library directory, or do it elsewhere and add a symlink in this library to where the checkout is. git clone https://github.com/980f/ezcpp.git
c20dfb69139f4eeed9df0891021c5740f55dfac2
255
QUANDL_API_KEY = "9viL5Phecsk3FxmeCXJL" ALPACA_API_KEY = "PK86EUWBJAEQCXW8C0PT" ALPACA_SECRET_KEY = "M8HUX9id0IAlU3WrMkLqnCOByfu6OYvkcC0Wl6Pe" MAPBOX_API_KEY = "pk.eyJ1IjoiYW1vbnRhMTk5NCIsImEiOiJja2txNzF4NXUwZWdmMnlvNXNwejhnbW05In0.tnNp1rIW117iL7BDBBZ93w"
a496ccc019719d6cd320f7f7aaba046baea32e05
490
#!/bin/bash # ラズパむ3でブアーを鳴らすァンプル # δΊ‹ε‰ζΊ–ε‚™οΌšGPIO12にブアーをζŽ₯ηΆšγ™γ‚‹γ“γ¨ BUZZER_GPIO=12 # PWM周泒数 = 19.2MHz / CLOCKε€€ / RANGEε€€ # γƒ‰γƒ¬γƒŸγƒ•γ‚‘γ‚½γƒ©γ‚·γƒ‰γ£γ½γ„ιŸ³ PWM_CLOCK=100 PWM_RANGES=(734 654 583 550 490 437 389 367) gpio -g mode ${BUZZER_GPIO} pwm gpio pwm-ms gpio pwmc ${PWM_CLOCK} gpio -g pwm ${BUZZER_GPIO} 50 for range in "${PWM_RANGES[@]}"; do...
ddc9441aeb33584b73f504706db70e4e7ed42e20
231
# preprocess the ogbl_biokg graph and put preprocessed graph into output dir marius_preprocess output_dir/ --dataset ogbl_biokg # run marius on the preprocessed input marius_train examples/training/configs/ogbl_biokg_multi_gpu.ini
658b6ad909d053bc5cd8370cbfffa5b4f1e99abd
7,324
#!/bin/bash # Unset globbing set -f # Now readarray delimits with newlines IFS=' ' # No case sensitivity for string matching shopt -s nocasematch #Name of the file that contains the necessary information. ARGS_FILE=arguments_for_script # If the arguments file exists then read the file and get the arguments, and #...
20e8969d0608cef21cbecbd6971f540202b8ea48
1,699
#! /bin/bash # References # - https://www.codementor.io/slavko/how-to-install-vault-hashicorp-secure-deployment-secrets-du107xlqd # - https://learn.hashicorp.com/vault/getting-started/deploy readonly script_dir=$(cd `dirname $0` && pwd) readonly run_dir=$(mkdir -p "${script_dir}/../run/vault" && cd "${scri...
91d34b008fcd0ce324f2a8cdb50e464d602e1023
1,403
########################################################## ######################## PATHS ########################## ########################################################### export AP=$(dirname $0) export SRC="$HOME/src" export ODOO="$SRC/odoo" export ENTERPRISE="$SRC/enterprise" export DESIGN_THEMES="$SRC/desig...
1d83f86f5a381fe0836b4aed087d75bf1c5ae538
152
#!/bin/sh cat jpraxml-*.o* | ruby -ne '@fen_f=$1 if $_ =~ /jobs_f.*job-tasks-(.*)\.yaml/; puts"#{@fen_f} #{$1}" if $_ =~ /Resources.*(walltime.*)/'
1afac926a82e90ae60c0db9a6c6353a804fe797e
481
#!zsh ANTIGEN=$HOME/.antigen.zsh [ -f $ANTIGEN ] || curl -L git.io/antigen > $ANTIGEN if [[ -f $ANTIGEN ]]; then source $ANTIGEN antigen use oh-my-zsh antigen bundle history antigen bundle common-aliases antigen bundle command-not-found antigen bundle git antigen bundle gnu-utils antigen bundle z...
e10af4e702ebb26089422bfd7e947b7c08b5c27a
276
# Git aliases alias gg="git grep" alias ga="git add" alias gd="git diff" alias gds="git diff --staged" alias gc="git commit --verbose" alias gs="git status -sb" alias gco="git checkout" alias gpr="git pull --rebase" alias git_conflicts="git diff --name-only --diff-filter=U"
b28767831e2865660e6178f69947f0453e3f3e60
423
#!/bin/bash #BSUB -J summariseParamsPowerAnalysis #BSUB -n 12 #BSUB -q airoldi #BSUB -R 'span[ptile=12]' #BSUB -cwd /n/airoldifs2/lab/ablocker/nucleosomeResearch/massiveParallelDeconvolutionPipeline #BSUB -oo dump/summariseParamsPowerAnalysis.log #BSUB -eo dump/summariseParamsPowerAnalysis.err for (( CHROM = 1; CHROM ...
96159602e9a127823f6405319c6f7371881e2268
48
#!/bin/bash for x in {1..10} do echo $x done
2c932a54120958248a7a23200e8e664971fa48f6
732
#!/bin/bash # # Configures HPP on an OCP cluster: # - on regular clusters, HPP is deployed the legacy way # - on SNO clusters, HPP is deployed using the StoragePool feature # set -ex readonly SCRIPT_DIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")") CLUSTER_TOPOLOGY=$( oc get infrastructure cluster \ --outpu...
a48fac74df307b2c013a70e13099ef185b410862
46
#!/bin/bash download_data.sh python model.py
158c645df60d7d4e339e7641d3b3fd19712d51f7
1,949
#!/usr/bin/expect -f spawn ./bin/puppeth --network genesis expect "What would you like to do? (default = stats)" send "2\r" expect "What would you like to do? (default = create)" send "1\r" expect "Which consensus engine to use? (default = clique)" send "2\r" expect "How many seconds should blocks take? (default = 15)"...
87c7b7b0f1a7fa26fdebc549ab2607a8920a35c0
550
#!/bin/sh gemname=$1 gempath='' bundleshow() { gempath=`bundle show $gemname` rc=$? if [[ $rc -ne 0 ]] ; then echo $gempath return 1 fi return 0 } gemwhich() { gemlib=`gem which $gemname` rc=$? if [[ $rc -ne 0 ]] ; then echo $gemlib return 1 fi gempath=`echo $gemlib | sed 's/...
5888a97653ba9d2869e226fb8914c6bb8819bcc8
226
REACT_APP_API_CLIENT_ID = RI2PSznD6N59ZHto8PYtX1piBByAeFjkghKhfYYE REACT_APP_API_CLIENT_SECRET = YyWpafp04AHfoUtRK4yMNEhtwWUBX5ziWltrudFBJREidvIXtGULlJOw42Wa0lKBbr5sahgB9fzo8cC0ljIqKFVWd7cZxUETZFGZK5cCJOJPSGsEzKvLkJBs097ypgaQ
bcd180bbe01369e77346f7ea08176432c2426865
869
#!/bin/bash # install usb notifications sudo cp 99-usb.rules /etc/udev/rules.d/ sudo cp usbup /usr/local/bin # set user to modify backlight HEL if [ $HOSTNAME == "hel" ] || [ $HOSTNAME == "frigg" ] then #groupadd backlight sudo usermod -aG video grzebiel #enable battery notifications systemctl --user...
6c5dd14855ad70ff8f956e50e5343e1871fb5e72
499
# SWOOLE SWOOLE_SERVER_ADDRESS=127.0.0.1 SWOOLE_SERVER_PORT=9503 SWOOLE_WORKER_NUM=1 SWOOLE_HTTP_COMPRESSION=0 # Separate with comma IP_WHITELIST=127.0.0.1 INDEX_MESSAGE="Welcome to i-c-a.su client for telegram. \nIf you have questions - contact me via telegram: <a href='tg://resolve?domain=xtrime'>@xtrime</a>" # TEL...
4ef42345adeec7165d2c004ab4d8f0d485415bc9
160
#!/usr/bin/env bash ps -ef | grep :5000 | grep -v grep | awk '{print $2}' | xargs kill -9 ps -ef | grep bs.py | grep -v grep | awk '{print $2}' | xargs kill -9
412d3a853a61c706197093cb5a0fd1fa0d12f77d
711
#!/usr/bin/env bash # Spin up containers docker-compose up -d # Wait for servers to initialize echo "Waiting for servers to initialize" sleep 10 # Establish connection to db docker-compose exec php bash -c "cd /var/www/html && /wpcli/bin/wp core config --dbname=wordpress --dbuser=wordpress --dbpass=wordpress --dbhos...
f39315bd7da2b5b81e5a6fc64df4cba0a7a1cd30
1,150
# Maintainer: george <rpubaddr0 {at} gmail [dot] com> # Contributor: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> pkgname=ngrep pkgver=1.45 pkgrel=1 pkgdesc='A grep-like utility that allows you to search for network...
7a5cf60352f56ec02d5cc9cbc719458ff21ec7ef
4,348
#!/bin/bash # echo the call so we can see what's going on echo "$0 $1 $2 $3 $4 $5 $6" # Check syntax if [ "$1" = "" ]; then echo "$0 called without instrument parameter file for histogram!" exit 0 fi if [ "$2" = "" ]; then echo "$0 called without bank number for histogram, assuming bank 1." bank=1 else bank=$2 ...
c7242334b57d338b09355228f51b0a3c0cc0e224
82
#!/bin/bash if [ ! -d one_tag_images ]; then tar -zxvf one_tag_images.tar.gz fi
8a4100a74657230d082710ddef585b8752de4720
109
DATABASE_URL=sqlite:///db.sqlite3 DEBUG=true SECRET_KEY='=8qxnrur_k78xy_9%ce1!t+ejg*##91lvdry02=)(fb2&p3-9e'
143b16efbbee23acfa251cc52cc141f20253ae08
128
#! /bin/bash LOG_FILE=~/logs/cron_log.log echo `date` "cron script is running" >> $LOG_FILE echo `date` "done." >> $LOG_FILE
d6dc65ad1f1683f50b21a89bfc34b2d147c5f315
419
#!/bin/bash wget https://raw.githubusercontent.com/MartinSIbarra/docker-react-dev-env/master/react-init.Dockerfile wget https://raw.githubusercontent.com/MartinSIbarra/docker-react-dev-env/master/react-dev.Dockerfile wget https://raw.githubusercontent.com/MartinSIbarra/docker-react-dev-env/master/docker-compose.yml wg...
0935ab52169b27f1075bdfb34530ac6119b81182
179
# Only for running locally - values are stored in AWS SSM Parameter Store # Values are set as environment variables on the Lambda ACCESS_TOKEN=123abc456def ACCOUNT_ID=123abc456def
8fc3d47e2f29d4cce7b7938a09bfd438c85aae88
92
#!/bin/sh virtualenv --no-site-package venv . venv/bin/activate pip install -r requirements
64ca54366bcac60f8f06cee104f2f803d4ffd54b
161
DATABASE_URL = postgres://postgres:docker@localhost:5432/fullstack_launchtrip ENTITIES_PATH = ./src/models/*.ts MIGRATIONS_PATH = ./src/database/migrations/*.ts
a27b78aa3e4b846a327e4e2254f7a5ea18bd4494
143
#!/bin/sh gopherjs build -m rclone -v copy --include="*.{js,css,html}" . box:public_html/oxo3d echo See https://www.craig-wood.com/nick/oxo3d/
a274a621cb8ad3e6f42a31c359167a7efa75c3c8
231
#!/bin/bash # Cleanup Docker key from cloned templates and verify dependancies #systemctl stop docker #rm -rf /etc/docker/key.json sudo yum install -y docker systemctl start docker systemctl enable docker yum install -y wget tar