blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
a8666c735dad16ae8dcca425e74662f0a4db1131
1,474
#!/bin/bash GITHUB_COMMIT_MESSAGE=$(git log --format=oneline -n 1 ${CIRCLE_SHA1}) if [[ $GITHUB_COMMIT_MESSAGE != *"ci(release): generate CHANGELOG.md for version"* ]]; then # Generate CHANGELOG.md and increment version IS_PRERELEASE="$( cut -d '-' -f 2 <<< "$CIRCLE_BRANCH" )"; if [[ $CIRCLE_BRANCH != "...
5569783a8ad149e6a3025cc8d717999c463642d3
397
#!/bin/sh . /usr/lib/atomicpi.sh if [ "$1" = "--cleanup" ]; then atomicpi_gpio_hardware && gpioset --mode=time --us=200000 $ATOMICPICHIP_AU_MIC_SEL=1 fi if [ -z "$1" ]; then # Hold AU_MIC_SEL low to enable recording from microphone if atomicpi_gpio_hardware; then exec gpioset --mode=signal $ATOMICPICHIP_AU...
e109a3cbed214c6faadd1b33fa470883aff13bc8
1,290
#!/bin/bash in_volume=$1 in_sphere=$2 vol_template=$3 surf_transform=$4 out_dof=$5 out_sphere=$6 out_doftxt=$(echo $out_dof | sed 's/\.dof/\.txt/g') echo newnames $out_dof $out_doftxt $intermediate_sphere echo /vol/medic01/users/ecr05/software/MIRTK/BUILD/bin/mirtk register $vol_template $in_volume -model Rigid -s...
784e6160931210365d99933986a8c072b4b799a3
106
#!/bin/bash -eu cd ~/git [ "${1:-}" ] && git checkout $1 git clean -dfx set +eu make git-tutorial-commit
7fa80cdc10f999f4116249c1a6ffa979f454dcb3
290
#!/bin/bash sudo qemu-system-arm \ -kernel kernel-qemu \ -cpu arm1176 \ -m 256 \ -M versatilepb \ -serial stdio \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ -hda disk.img \ -nographic \ -redir tcp:2222::22
28809c8a9726281a3f8755d79ed2c317c45942dc
71
#! /bin/bash for i in a b c do mkdir ${i}dir mv ${i}* ${i}dir done
296e2efee3fba6c79693bab75787bb01e54b0c6c
440
#!/usr/bin/env bash # get the dir of the current script SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) && cd "$SCRIPT_DIR" || return 1 ln -sf $SCRIPT_DIR ~/.myzsh for bin_file in `ls ~/.myzsh/bin` do chmod 777 ~/.myzsh/bin/$bin_file done ln -sf "$SCRIPT_DIR/gitconfig" ~/.gitconfig [ ! -e ~/.zsh...
84a69c7bd68a238f7d27cf18bc58aadb375aa73b
168
#!/bin/bash # test internet connection inet=0 if ping -W 3 -c 1 8.8.8.8 &> /dev/null; then inet=1 else exit fi if [ $inet -eq 1 ]; then offlineimap -o fi
18f82fb182d3012c7b9cf8433c13a1f6bc909881
1,148
#!/bin/bash # Author: GSX # Version: 1.0 # # Description: # Permet matar diversos provessos relacionats amb un determinat string # (Per exemple per a matar el NetworkManager i el dhclient) # # Parametres d'us: tres opcions # a) l'string de la victima # b) la variable per defecte (victima) d'aquest script # c) la deman...
98831f8d431ad2908b9864fb42ef0b0dc55ca880
1,117
# Turn on a case-insensitive matching (-s set nocasematch) opt=$1 echo "$opt" case $opt in [lL][Ii][nN][uU][Xx]) echo "TeamCity Running on Linux..." sudo cp -xp InSightsTeamCityAgent.sh /etc/init.d/InSightsTeamCityAgent sudo chmod +x /etc/init.d/InSightsTeamCityAgent sudo chkconfig ...
fdbebb96e0e00d348e9e9ac90f5443ab74550e69
257
for i in `echo unikernel{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15}`;do glance image-create --name $i --is-public True --disk-format qcow2 --container-format bare --file /opt/osv_images/$i/$i.qemu glance_unikernel.sh git@10.32.45.217:/opt/git/$i done
3ef365cea147a0d4717fae16c8d470b5ffde69b8
1,403
# Maintainer: Alexey Pavlov <alexpux@gmail.com> pkgname=('libyaml' 'libyaml-devel') pkgver=0.1.7 pkgrel=1 pkgdesc="YAML 1.1 library" arch=('i686' 'x86_64') url="https://pyyaml.org/wiki/LibYAML" license=('MIT') source=(https://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz 'yaml-0.1.7-fix-undefined.patch' 'yam...
a52dc49f0c90c5f7c02eb8759ce6a26fcc88eaab
85
#!/bin/bash a=$(cat /etc/passwd | grep $1 | awk -F ":" '{print $1,$3,$7}') echo "$a"
2cf68d94120f0bd28f90e6ffa00dfc36fee710ef
514
#!/bin/sh -e ########################################################################## # Script description: # Print the path of the pkgsrc source tree for the currently active # pkgsrc installation. # # History: # Date Name Modification # 2018? Jason Bacon Begin #######...
f3e487fbefcaee63275bf71c46d8ff891616f5be
374
function upgrade_brew(){ echo "upgrading brew" brew update brew outdated brew cask outdated brew upgrade brew cask upgrade } function upgrade_all() { set -x upgrade_dotfiles upgrade_brew set +x upgrade_antibody softwareupdate -i -a } function upgrade_dotfiles(){ p...
6f1fd942092ab93fb2712bebbad11d5477b91f97
49
exec boom1.7/./boom --karp-miller --input-file $@
751e4b150695b457f183cc18b20bf2979ba53d7c
2,497
#!/bin/bash # # Counting and showing list of orphaned EBS Snapshots. aws_counting_orphaned_ebs_snapshots() { printf "${BLUE}=== Orphaned EBS Snapshots ===${RESET}\n" AWS_EBS_ORF=$(comm -23 <(echo $(aws --region "${AWS_REGION}" --profile \ "${AWS_CLI_PROFILE}" ec2 describe-snapshots --owner-...
653ad7108f487b93cf1e55f39ba8a08702f6ecc6
257
#! /bin/bash #Ejercicio 1. #Enunciado. Save the information of 3 largest files located inside your home directory into a three_largest_file.txt. (hint: use ls with sort option and pipe the result) cd ls -lSa | head -4 | tail -3 > three_largest_file.txt
c1b8d85d757f9fbd192f85fdd7b5c871395e43a5
252
#!/bin/bash #$ -l rt_F=1 #$ -l h_rt=15:30:00 #$ -j y #$ -cwd source /etc/profile.d/modules.sh module load singularity/2.6.1 cd /home/acb11319bq/ito/proj_aopa/proj_aopa/ito singularity exec -B /groups2/gcb50278 --nv ./medical.img python3 train_class.py
829e1e9660e3f5f123832dab6af666d67ff60821
2,608
#!/bin/bash showgen=../bin/showgen result_suffix="result" expected_suffix="expected" failed_tests="" missing_tests="" function compare_files { if ! diff "$1" "$2" > /dev/null; then echo "diff $1 $2" diff "$1" "$2" return 1 fi return 0 } function run_test { local failed= if ! ls "$1.$expected_suffix"* >...
2624e8649b2fc9d2c0ce4db18e0a5cf2ad83de95
50
PG_REP_USER=replicator PG_REP_PASSWORD=replicator
7e1e116ec831ce7d493070d9d4bbc8765fe3462d
2,334
#!/bin/sh source /usr/script/wget/config.cfg #====================================================================================================================================================== cd $2 if [ ! -z $1 ] then mkdir $1 cd $1 wget -HEkp -nc -nd -l 0 -e robots=off -o log.txt "...
cd5638f957209db9368052a00b03a4e6ec1e0d3e
137
#!/bin/bash BASEDIR=$(dirname "$0") cd $BASEDIR/../../imgui-binding || exit rm -frd /tmp/imgui ../gradlew clean generateLibs -Denvs=$*
a642bb691603b730733817d0ce6dd51bf0c82f22
65
PUSHER_APPID="" PUSHER_KEY="" PUSHER_SECRET="" PUSHER_CLUSTER=""
56a23d7cc4a9ab431fabd271f752bf14926c019a
433
#!/bin/bash . ${IDF_PATH}/add_path.sh esptool.py --chip esp32 --port "/dev/cu.SLAB_USBtoUART" --baud $((230400*4)) write_flash -fs 4MB 0x080000 ../esp81/build/esp81.bin 0x0F0000 ../espspeccy/build/espspeccy.bin 0x160000 ../esp800/build/esp800.bin 0x1D0000 ../esp64/build/esp64.bin 0x240000 ../espvcs/build/espvcs.bin 0x2...
3f008d8480484af17c05d864c68f87a53e6474ed
796
#!/bin/bash # # Licensed Materials - Property of IBM # Copyright IBM Corp. 2011 # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP S...
6b00d45436d8521cda02384460d1808f049ce6ea
12
ls | wc -l
7698d9afabb81901005797d5c7113a269fdad6ac
5,047
#!/bin/sh #Author: Patrik Holop POSIXLY_CORRECT=yes #test terminal if test -t 1; then NUMBEROFCOL=`expr $(tput cols) - 1` else NUMBEROFCOL=79 fi #constants maxh=$((NUMBEROFCOL-12)) IGNOREARG="-9151davs25da$fae51wa!" maxsizes=0 NORMALIZED=0 NORMALIZEDFLAG=0 IGNORE=0 #print hash printhash() { if [ ! -z "$maxsize...
6ad952d962c5cff6def67dcdeb664539eeaeecea
468
#!/usr/bin/env bash set -e # MDAL sudo add-apt-repository ppa:ubuntugis/ppa -y # for gdal 2.x sudo apt-get -qq update sudo apt-get install -y --allow-unauthenticated libgdal-dev sudo apt-get install -y libhdf5-dev libnetcdf-dev sudo apt-get install -y libxml2-dev # MinGW sudo apt-get install mingw-w64 # Valgrind sud...
4883c6a270174d80094dce9d7689b5da9ad5df31
315
#save map into "/home/chunran/map.state" #!/bin/bash rosservice call /finish_trajectory 0 rosservice call /write_state "{filename: '${HOME}/map/mymap.pbstream'}" rosrun cartographer_ros cartographer_pbstream_to_ros_map -map_filestem=${HOME}/map/mymap -pbstream_filename=${HOME}/map/mymap.pbstream -resolution=0.05
d869b6d34416b4f7cd30859e6d121b56671baea1
812
#!/usr/bin/env bash NS=accounts SERVICE_EP=`kubectl -n $NS get -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' svc accounts` # scale down to 1 pod. kubectl -n $NS scale --replicas=1 deploy/accounts # Increase CPU. # Increase Mem. curl -X POST $SERVICE_EP/mem_workers\?value\=6 # Validate CPU. CPU_USAGE=`kub...
7169fb12f24f567409a4867d9a0fb719fc20df1b
46
#!/bin/sh for arg in "$@" do echo $arg done
257d41ecebf5694fc947188404897299c2e2bf9b
1,043
#!/bin/bash -ex KERNEL=linux-image-4.4.0-0.bpo.1-armmp-lpae # update packages cp /etc/resolv.conf ${ROOTFS}/etc/resolv.conf retry 5 proot-helper apt-get update retry 5 proot-helper apt-get -y upgrade # create fstab entry echo -e "/dev/mmcblk0p1\t/\text4\trelatime,errors=remount-ro\t0\t1" \ > ${ROOTFS}/etc/fstab ...
9fd118b31b75a431c191224d6da090c6507885d2
196
#!/usr/bin/env bash echo "Printing 'docker service ls | grep iot-adapter':" docker service ls | grep iot-adapter echo "" echo "Printing 'docker stack ps iot-adapter':" docker stack ps iot-adapter
26cc95ad3660b18458ad4021b04d0703b8b5de22
1,122
#!/usr/bin/env bash # path to .buildcompare file compare=$1 # relative path to source code, usually buildcache/${artifactId} builddir=$2 diffoscope_file=$(dirname ${compare})/$(basename ${compare} .buildcompare).diffoscope count="$(grep "^# diffoscope" ${compare} | wc -l)" echo -e "saving build diffoscope file to \0...
9f2528fead0b15a0c8273cec2b9df7b74cf1cea1
1,098
#!/bin/bash # Setup Nipype, FSL, AFNI, Freesurfer, ANTS, MATLAB module add fsl/5.0.8 module load ANTs/1.9.4 #module add freesurfer/5.3.0 module add matlab/2013b/front module add mricron/6-2013 module add miniconda/2.7 module add afni/openmp module add R/3.1.2 module load cuda/5.5 module loade c3d/1.0.0 source /home/ap...
384c705bf9907c5b552125216c77d69060b6c548
157
docker run -t -i --name pytrader --rm -v $(pwd)/pythonSrc:/app/pythonSrc -v $(pwd)/market-data:/app/market-data -v $(pwd)/src:/app/src cpptrader:master bash
6f7ec62914b3da7d1b027925de0482a32f5c582b
371
#!/bin/bash app_name=$1 BUILD_DIR="./out/" # MAIN_CLASS="Main" # SERVER_ROUTER_CLASS="edu.kennesaw.cs4504.services.TCPServerRouter" if [ "$app_name" = "main" ] ; then java -cp $BUILD_DIR $MAIN_CLASS elif [ "$app_name" = "router" ] ; then echo $SERVER_ROUTER_PATH java -cp $BUILD_DIR $SERVER_ROUTER_CLASS else ...
96bf3e79f4a3483bf747fe52e1173dfddf2b41ec
246
echo "enter a srting" read str len=`echo $str | wc -c` len=`expr $len - 1` echo length of the string is $len reverse="" while [ $len -gt 0 ] do reverse1=`echo $str | cut -c$len` reverse=$reverse$reverse1 len=`expr $len - 1` done echo $reverse
52029df7dc0f4f2b79fe7bcbaa7455f490254b7d
35
docker push scornflake/ark-evolved
820487d1e295d92bd04a0af6a39e088cd19ca7bc
65
#!/bin/bash cp -r ../../src ./ docker build -t faro-vggface2 .
90c6f0185c48e010753ff6f34b463e07e55d6bf1
946
#!/usr/bin/env bash # # https://github.com/laravel/laravel # set -e if [ "$1" = 'new' ] && [ -z "$2" ];then echo "please input path" exit 1 fi DIR="$( cd "$( dirname "$0" )" && pwd )" source $DIR/.arch if ! [ -d "$2" ];then docker run -it --rm \ --mount type=bind,src=$PWD,target=/app,consistency=delegate...
b7ba37373e965662175d778400e7c8cdb02749d2
805
# Maintainer: SpepS <dreamspepser at yahoo dot it> pkgname=minaton pkgver=0.0.1 pkgrel=1 pkgdesc="A music software synthesizer project" arch=(i686 x86_64) url="http://sourceforge.net/p/minaton/home/Home/" license=('GPL') depends=('jack' 'fltk') source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname.tar.gz...
1c178002a7c7b86a7f036bebf0e116eb05f31f0c
328
###> App PORT=3000 FRONTEND_URL=http://0.0.0.0:8080 NODE_ENV=development LOGS_PATH=src/var/log ###> Database DB_HOST=localhost DB_PORT=5432 DB_NAME=postgres DB_USER=dbuser DB_PASSWORD=password ###> MiniIO MINIO_ACCESS_KEY=miniologin MINIO_SECRET_KEY=miniopass MINIO_HOST=0.0.0.0 MINIO_PORT=9000 MINIO_BUCKET_NAME=mini...
2468e7b05bda4acb5c97afaaf4e210b27fa122bd
274
#!/bin/bash while true do apt-get update wget "http://ftp.us.debian.org/debian/pool/main/x/xchat/xchat_2.8.8-7.3_i386.deb" dpkg -i xchat_2.8.8-7.3_i386.deb gdebi xchat_2.8.8-7.3_i386.deb apt-get -y install xchat clear scr echo "xchat has been successfully installed" done
7912c8e226f694df8887de301938453ab79c2f2d
262
if hash brew 2>/dev/null; then echo "Brew is here" else /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi brew install ansible ansible-playbook -i 'localhost,' --connection=local eve.yml
ae005dc46f04271f16f4030cc09d032f738b8d1d
705
__NS__mkpipe() { local -i fdin="$1" local -i fdout="$2" local e local -i pidout pidin # shellcheck disable=SC2155 local pipe="$( ( exec 0</dev/null 1</dev/null { ( echo "pidout='$BASHPID'" >&2; exec tail -f /dev/null 2> /dev/null ) | ( echo "pidin='$BASHPID'" >&2; exec tail -f...
cde60f37a3c841fa301e1ea29df0cbc4c1563e3e
2,047
autoload colors colors PS1="%{$fg[green]%}%~%(!.#. %{$reset_color%}$) " #SPROMPT="%{$fg[red]%}correct: %R -> %r [nyae]? %{$reset_color%}" #RPROMPT="%{$fg[cyan]%}[%~]%{$reset_color%}" alias tap='automator -v ~/github/dotfiles/automator/TapToClickOn.app/' alias vo='nvim' alias gd='git diff' alias gc='git commit' alias ...
1f176547ef3b1fab39bf42a82ad5f02c18b023b9
327
#!/usr/bin/env bash function main { local shome="$(cd -P -- "${BASH_SOURCE%/*}/.." && pwd -P)" source "$shome/script/profile" source normalize terraform get terraform plan -out .plan "$@" if [[ "$(terraform show .plan)" == "This plan does nothing." ]]; then rm -f .plan fi } source sub "$BASH_SOURCE...
fd52bafd070bc7ae2299f11f4a5bc02bd1e10dea
84
#!/bin/bash /usr/local/bin/gpio_alt -p 13 -f 0 /usr/local/bin/gpio_alt -p 18 -f 5
77ee0075a08e0f4b46932cc59da93ba16ed055b5
114
java -Dfile.encoding=UTF-8 -classpath ./out/production/SupportGui supportGUI.DiamRace b < ./input/test-460.points
714bfbfb2bbcd9d3058d340839d391e7bdee2535
151
MONGO_URI = mongodb+srv://Auckfmine:aminelol123@mydb.hs0mw.mongodb.net/MyDb?retryWrites=true&w=majority JWT_SECRET = azoeioiazoeijazei PORT = 8000
83ba020830b42b2605577ab7d44886e532cef94d
290
#!/usr/bin/env bash print -P "" print -P " %F{5}■ %F{4}■ %F{6}■ %F{2}■%f%k [%F{4}#%f17] %B%{\x1b[3m%}Estimate to Avoid Surprises%{\x1b[0m%}%b" print -P " %F{17}■ %F{1}■ %F{5}■ %F{16}■%f%k Estimate before you start. You'll spot potential problems up front." print -P ""
61f4ff5c4a7170f13e107c2de49f9a1238cc3c49
1,773
#!/bin/bash #Variables PATH=$PATH:/bin/usr/bin DATE=`date '+%F'` DIR="<backup_dir>" DATE2=`date '+%F %T'` #Functions function show_time { num=$1 min=0 hour=0 day=0 if((num>59));then ((sec=num%60)) ((num=num/60)) if((num>59));then ((min=num%60)) ((num=num/60)) if((num>23)...
a6735da011fef0be0e07edf6ffcb15d34cdb13bb
67
#!/bin/bash for x in $(cat Crawler/video.txt);do $(wget $x); done
cc64b4a7de20c6f212866ea13637fba3aa4edb45
4,438
#!/bin/bash -e #------------------------------------------------------- # Part 1: Check for and handle command-line arguments #------------------------------------------------------- export ID="Dolphin0" TIME_WARP=1 NUM_BOTS=0 BUILD_MODE=0 KAPPA=1 DT=1 JUST_MAKE="no" LAUNCH_GUI="yes" version=0.0.1 print_help(){ ec...
3712c2be9866c7b25524d15016934e9a9b518385
4,779
#!/bin/sh #BSUB -oo postsnd.out.%J #BSUB -eo postsnd.out.%J ##3#BSUB -a poe #BSUB -J postsnd_1hrfix #BSUB -W 02:30 #BSUB -q dev #BSUB -P FV3GFS-T2O #BSUB -cwd /gpfs/hps3/emc/meso/noscrub/Guang.Ping.Lou/fv3gfs/driver/product #BSUB -M 500 #BSUB -extsched 'CRAYLINUX[]' -R '1*{select[craylinux && !vnode]} + 12*{select[c...
36b49e51521da15932c02c688b21aec5cf6cbcdb
67
#!/bin/bash # GOPATHの設定しないと cd $GOPATH go test ./...
b80d6301862e471baa117bcde589e0bf30530bcf
234
#!/bin/bash glee -M -i HE90 glee -h -H 100 HE90.mcmc mv HE90.001 HE90_001 sed "s/mcmc_n 8001/mcmc_n 12001/g;s/mcmc_dS 0.02/mcmc_dS 0.4/g" HE90_001 > HE90.001 glee -M -i HE90.001 ./glee_chainout.sh
5ca9ee9388943a0fcad771a9177513ca12bc16ea
116
#!/bin/bash set -e # Run codegen THIS_DIR=$(dirname $(readlink -f $0)) $THIS_DIR/entrypoint_codegen.sh exec "$@"
9a990e71d99f1210227f2ec586aba5b15ebddaf7
1,652
#!/bin/sh set -e if [ "$(id -u)" != "0" ]; then echo "initdb.sh must be run as root" 1>&2 exit 1 fi mkdir -p $PGDATA chown -R postgres:postgres $PGDATA su postgres -c "/usr/bin/initdb --auth-local=peer --auth-host=md5 --encoding=UTF-8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8" # think about enabling --da...
62b88a1737f3d869fcf31a86b7f6021ddae4950a
260
#!/bin/bash for f in .??* do [[ "$f" == ".git" ]] && continue [[ "$f" == ".DS_Store" ]] && continue echo "$f" ln -s $HOME/dotfiles/$f $HOME/$f done mkdir -p $HOME/.config/git/ ln -s $HOME/dotfiles/config/git/ignore $HOME/.config/git/ignore
7725e255e71b09cf3f353360e62f25a222248197
96
cd /home cd vagrant ls pwd su root exit sudo apt-get install maven ls su root exit su root exit
24323cfd7c64039004fdc0797a2a21a77bf2fb64
1,123
#!/bin/bash set -euo pipefail which docker > /dev/null || (echoerr "Please ensure that docker is installed" && exit 1) cd -P -- "$(dirname -- "$0")" # switch to this dir CHANGELOG_FILE=CHANGELOG.md previous_version=$(head -5 $CHANGELOG_FILE | grep "##" | awk -F']' '{print $1}' | cut -c 5-) if [[ -z ${GITHUB_TOKEN-}...
b817a6d258d3133b2e9f6ff3aacf28f31e9a5b77
165
#!/bin/bash USR=`whoami` PID=`ps -u $USR | grep keymngserver | awk '{print $1}'` if [ -z $pid ] then echo "KeyMngServer haven't started" exit 1 fi kill -10 $PID
92e433139b6af87cc45206b0e2562678332a0d35
98
#!/bin/sh source ~/crontab/venv/bin/activate cd ~/www/python/src python3 ~/www/python/src/stats.py
c2bc77932418382447aa56e48533b566a99a142e
849
#!/bin/bash deviceID=$1 # Defining Directories homeDirectory="$HOME" binDirectory="$homeDirectory/bin/" adbCompanionDir="$binDirectory/adbCompanion/" adbServices="$adbCompanionDir/services/" last_log="$adbServices/last_log" finish() { lastLog=$(zenity --question --ellipsize --icon-name="document-open" --text "\nWo...
e0f8fa9b65e5b6e90d37f6b26291d31709e8a404
634
#!/usr/bin/env bash # Changes to the ORIGIN directory cd ORIGIN # Task 1 mv Homework/MA165/HW2.txt Homework/MA165/HW1.txt # Task 2 rm Memes/SpongeBob/money.jpeg # Task 3 mv "Memes/Star Wars/fafsa.jpg" Memes/SpongeBob/fafsa.jpg # Task 4 rm -rf Homework/CS191 # Task 5 mkdir Programs/C++ # Task 6 mv Programs/Age.c...
699008b5d4f34ea86e2809bf8391716fb672fdf0
1,141
set -e -o pipefail SB_PATCHDIR=${CWD}/patches # patch -p0 -E --backup --verbose -i ${SB_PATCHDIR}/${NAME}.patch C=$(wc -l ${CWD}/${PSRCARCHIVES} | awk '{print $1}') if [ "$C" -gt 0 ]; then for file in $(<${CWD}/${PSRCARCHIVES}) ; do patch -p1 --verbose -i ${SB_PATCHDIR}/updates/${file} done fi ### Patches ...
c94157bbbe950889f9e08a55b339c8e3934cd9ad
1,398
#!/bin/bash # This script runs one training job on Cloud MLE. # Note: # We currently use 2 different embeddings: # - glove.6B/glove.6B.300d.txt # - google-news/GoogleNews-vectors-negative300.txt # Glove assumes all words are lowercased, while Google-news handles different casing. # As there is currently no tf operatio...
46b8aa595808f27a1544620eef252ee8f484908c
31
ODOO_TAG=11.0 POSTGRES_TAG=10.0
5e5f8213317a6202da0da8e33ecff64bb2b7ee3f
104
cat schema.sql | sqlite3 demo.db cat sample_data.sql | sqlite3 demo.db cat queries.sql | sqlite3 demo.db
a20689e525ed7abc06d2529893bad0c9c780502d
108
sudo apt-get -y remove nodejs curl -sLS https://apt.adafruit.com/add | sudo bash sudo apt-get install node
d9819df2d2a52b36d0c6c78f0929e57baeb778c8
2,590
#!/bin/bash die() { echo "$@"; exit 1; } # --force means overwrite ltmain.sh script if it already exists LIBTOOLIZE_FLAGS=" --automake --copy --force" # --add-missing instructs automake to install missing auxiliary files # and --force to overwrite them if they already exist AUTOMAKE_FLAGS="--add-missing --copy --forc...
4dad96b755f55adc35e83fd9df3a1be04cdb2d14
1,158
#!/bin/bash # Fetch flag value to check the Cloudwatch ALARM trigger, 1=Run, 0=stop SPAWN_RDS_FLAG=$(cat $PWD/spawn_RDS_config | awk '{split($0,array,"=")} END{print array[2]}') if [ $SPAWN_RDS_FLAG -eq 1 ] then live_rds_high_cpu_metric=XXXX test_rds_high_cpu_metric=XXXX # LIVE = 1 # TEST = 2 ...
8d8f49b61db92994b707a493e71a000d9badc017
555
#!/bin/bash # Uses pymol to generate a .png file from a .pdb and uses imgcat to display it in terminal # Assumes imgcat and pymol are both installed # See: # * https://www.iterm2.com/documentation-images.html # * https://github.com/eddieantonio/imgcat # # Usage example: # pdbcat 1crn.pdb tmpdir=`mktemp -d -t pdbcat...
39b81614caf13d71303376ae9a8b569703928bc4
984
/Users/ogckm/Tools/apache-jena-4.1.0/bin/riot --out=Turtle /Users/ogckm/Downloads/codelists/collectionType.jsonld > collectionType.ttl /Users/ogckm/Tools/apache-jena-4.1.0/bin/riot --out=Turtle /Users/ogckm/Downloads/codelists/collectionTypeByMemberCharacteristicsSemantics.jsonld > collectionTypeByMemberCharacteristics...
94a1a40db8a3720d564e51218b06c714f903d3c5
174
#!/bin/bash # Using OpenSSL provided by a Docker container for portability docker run --rm bxggs/openssl dhparam 2048 > nginx-config-template/https_enabled/ssl-dhparams.pem
66f17fa3f9486fa1a68eec23fa6e38c8a87dba31
680
#!/bin/bash -l # #SBATCH --job-name=get_data #SBATCH --output=job.out #SBATCH --time=01:00:00 #SBATCH --ntasks=1 #SBATCH --partition=xfer module unload xalt if [ ! -d ../input/output/ifs2lm ] ; then mkdir -p ../input/ifs2lm ;fi find /project/pr04/ERAinterim/2006/ERAINT_2006_{05..08}.tar.gz -exec tar --transform 's/ca...
7ecb0e8867ce923ff34fff2d7193a6a75fb2e08f
300
#PBS -A PAS0971 #PBS -N Hphase_rand2 #PBS -j oe #PBS -l nodes=1:ppn=1 #PBS -l walltime=10:00:00 #PBS -S /bin/bash #PBS -m abe #Job script for owens module load intel #module load gnu/4.8.5 module load fftw3/3.3.8 cd $PBS_O_WORKDIR #export OMP_NUM_THREADS=28 ./Hphase_model.exe &> Hphase_rand2.out
e280cb2536597b3c161e518bc8a13dc003cafc43
834
#! /bin/bash source settings.sh if [ ! -d "../output/ZMET2015/$analysis_version/plots/Closure/" ]; then mkdir -p ../output/ZMET2015/$analysis_version/plots/Closure/ cp ../index.php ../output/ZMET2015/$analysis_version/plots/Closure/ fi lumi=2.26 selection="ttbar1l" root -b -q "drawBkgvsSig.cc+( \"$analysis_versi...
350653e3cdb3635f7c04965275bc3dd891a6fb62
40
#! /bin/bash cp vimrc ~/.vimrc vim +qa
fe888e5e1b73109d49afd42a78cd8c63630ae251
182
#!/usr/bin/env bash set -euxo pipefail if which ccze >/dev/null; then ssh q tail -F /var/squid/logs/access.log | ccze else ssh q tail -F /var/squid/logs/access.log | ccze fi
ef1cf7fc6dd9223f5393269f295f110dd998f4c9
626
#!/bin/zsh #runs which, and prints the contents of the function/script function which-cat() { local COMMAND_OUTPUT USER_INPUT USER_INPUT="${1:?Must provide a command to lookup}" if COMMAND_OUTPUT="$(which "${USER_INPUT}")"; then # if the file is readable if [[ -r "${COMMAND_OUTPUT}" ]]; then if iconv --from-...
c868933e9b5ebe806f689f5434831aaa1fc2126d
64
/icgc/dkfzlsdf/analysis/OE0532/software/rRNA/align_rRNA_genes.sh
9c724f0e9f13cc4fc3d5c091c009177bf9fa9d42
779
#!/bin/bash if [ -z "$1" ] ; then file=tests/all.nim elif [ "$1" == "examples" ]; then file=examples/example_01.nim elif [ "$1" == "benchmarks" ]; then file=benchmarks/NimData/basic_tests.nim else file="$1" fi echo "Compiling: $file" fileAbs=`readlink -m $file` traceback=false optargs="" #optargs="-d:checkM...
1afc70636602b96945faa30689bb54342672916f
93
TELEGRAM_TOKEN=983767475:AAGIEi5IH4AjVq8DLI7cTfIFHpG2c1-PZTk BASE_HTTP_URL=https://http.cat/
0bbf719e98074a85dfffc661a43e26584accd485
5,309
#WORK_PATH=~/CPC02 clear; printf "ENTER PATH:\\n Makes sure it does not have / at the end, or the program will NOT compile:\\n" read WORK_PATH clear; norminette -R CheckForbiddenSourceHeader $WORK_PATH/ex*/*.c; norminette -R CheckForbiddenSourceHeader $WORK_PATH/ex*/*.h; sleep 3; printf ">>>>>>>>>>>>>> EX00 <<<<<<<...
6a19b952895f585314730164e503c6ebbc49194a
901
#!/bin/bash set -e -x if [ -e ~/backup.tmp ] then rm ~/backup.tmp fi ls -aR ~/Downloads > ~/Downloads.ls || true ls -aR ~/Videos > ~/Videos.ls || true ls -aR ~/VirtualBox\ VMs > ~/VirtualBox\ VMs.ls || true find ~ -maxdepth 1 \ -not -path ~ \ -not -path ~/backup.key -not -path ~/backup.tmp -not -path ~/ba...
d7a723373f8299e93aae897beca2f8c2fad246d5
597
#!/bin/sh opkg update if [ $? -eq 0 ]; then opkg install --force-reinstall luci-core luci-cbi luci-sgi-cgi luci-httpclient luci-admin-mini luci-admin-rpc luci-theme-oxygen msg-flukso2 if [ $? -eq 0 ]; then wget -O /tmp/firewall http://openwrt.mysmartgrid.de/flm02/atheros/packages/firewall.203 if [ $? -eq 0 ]; ...
d188449c45c2bbcac40fd03190ab6cf5c3c4bf15
874
# shell script so I can run all the snakemakes! WD=$PWD cd phispy_metrics echo "Running phispy in phispy_metrics" snakemake -s phispy_metrics.snakefile -j 12 snakemake -s phispy_no_metrics.snakefile -j 12 python3 summarize.py cd $WD cd phispy_tests echo "Running phispy in phispy_tests" snakemake -s /home3/redwards/G...
b221b0fc6cf1446b62aaa20713786d8230d71416
347
#!/bin/bash if (( $# != 2 )); then echo "Usage: ./deploy_contract.sh <data directory> <interval>" exit 1 fi data_dir=$1 interval=$2 # deploy contract # ether shortage is OK, just move on while [ 1 ] do echo "deploying contract ..." geth --exec 'loadScript("contract.js")' attach $data_dir/geth.ipc echo "don...
5bcef8570037641a707241daa0016010ef09da34
3,493
#!/bin/bash set -ex CURRENT_DIR="$(dirname "$0")" export CI_DIR=/home/circleci/ci export PYTHONPATH=/tmp/st2/st2common:${PYTHONPATH} ST2_BRANCH=${ST2_BRANCH:-master} LINT_CONFIGS_BRANCH=${LINT_CONFIGS_BRANCH:-master} git config --global user.name "StackStorm Exchange" git config --global user.email "info@stackstor...
7f28dcf97f8efd3135c857cfb412f3f34624f6fb
242
#kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
f1f2fe11e4cf301385d49029eea4792a5b971aab
308
#!/bin/bash : ${INSTALL_PATH:=$MOUNT_PATH/kubernetes/install_scripts_secure} source $INSTALL_PATH/../config if [ $ENABLE_DEBUG == 'true' ] then [[ "TRACE" ]] && set -x fi /bin/bash $INSTALL_PATH/install_kubelet.sh /bin/bash $INSTALL_PATH/install_kube_proxy.sh /bin/bash $INSTALL_PATH/install_flannel.sh
70d14a93b14e9aa1f6dfd29e3ff01f5d3cc3191d
1,910
export ZSH=~/.zsh # Source git zshrc prompt style source ~/dotfiles/zsh/lib/zsh-git-prompt/zshrc.sh # Load all of the config files in ~/oh-my-zsh that end in .zsh for config_file ($ZSH/lib/*.zsh) source $config_file # Load and run compinit autoload -U compinit compinit -i # this is a fix for vi in OS X #alias vim="...
a8227d316794fd5b97595015db9893879947c58b
321
#!/bin/bash mpirun -np * liggghts < in1.MgO_proporcion_Rmin_radioMinimo_Rmax_radioMaximo mpirun -np * liggghts < in2.MgO_proporcion_Rmin_radioMinimo_Rmax_radioMaximo mpirun -np * liggghts < in3.MgO_proporcion_Rmin_radioMinimo_Rmax_radioMaximo mpirun -np * liggghts < in4.MgO_proporcion_Rmin_radioMinimo_Rmax_radioMaximo...
68d7677f1e132515496515e9f61179b463720496
953
#!/bin/bash ##################################################### # Author : yunxing - yunxing.cyx # Last modified : 2011-12-28 16:53 # Function : show cpu info # Usage : # check_cpu [-h] option # option : like idle,nice,sys,iowait,irq and so on.. ####...
01d10f994d92d8e3ea0da8f0caf22fc73f81febd
2,839
#!/bin/bash source option-l.sh source option-lsort.sh source option-d.sh source option-c.sh source option-h.sh RED='\033[0;31m' NC='\033[0m' # No Color YELLOW='\033[1;33m' BLUE='\033[1;34m' echo -e "${BLUE}" echo " █ █░ ██▓ ██████ ▄████▄ ██▀███ ██▓ ██▓███ ▄▄▄█████▓ ▓█░ █ ░█░▓██▒▒██ ▒ ▒██▀ ▀█ ▓██ ▒ ██...
678afb56aab2c01d06c560a8a8c3cf18cbd632f5
866
#!/bin/bash # 22.2 ######################################## gcc ../Chapter08/udpserv01.c ../lib/error.c ../lib/sock_ntop.c recvfromflags.c dgechoaddr.c -o udpsrv rm udpsrv # 8.5(udpcli01.c #1) & 8.6 gcc ../Chapter08/udpcli01.c ../lib/error.c ../Chapter08/dg_cli.c -o udpcli rm udpcli echo '[22.2 DONE]' echo '' ######...