blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
f3af9dcaec6d290dbbc2b96621e365f8e87385c4
294
echo Ensuring that dir 'bin' exists mkdir -p ./bin/ echo Assembling files cd src nasm boot_sector.asm -f bin -o ../bin/boot_sector.bin nasm adventure.asm -f bin -o ../bin/adventure.bin cd .. echo Mooshing binary objects together... cd bin cat boot_sector.bin adventure.bin > image.bin cd ..
6470f33d96b7c9528d411d6145e6f59fc822d43f
1,211
clear password="im learning" read -p "enter the code here:" pass if [ "$pass" != "$password" ] then exit fi clear echo toilet -f big -F gay "welcome to kevin's tools!" echo "here are the options:" echo "1.install python" echo "2.install python2" echo "3.install python3" echo "4.ping to wifi" echo "5.exit..." echo "6.c...
4ccd27a4943c5cead6f88fd61ca164784631d1b7
706
#!/bin/sh usage() { echo "It takes two arguments to run. First argument: Monitored file name Second argument: command executed when the monitored file is updated ex: ./entrypoint.sh a.cpp 'g++ a.cpp && ./a.cpp'" } update() { if [ -e $1 ]; then echo `openssl sha256 -r $1 | awk '{print $1}'` fi } if [ $# ...
1ff55f260ab639a547abce5ad2037dc18c220168
8,894
#!/bin/bash # # Script to import latest EVE static data from Fuzzworks and import it to a mysql database # It's part of skŸlizer but it might be usefull for other applications too. # # @author: chrRtg # contact EVE ingame "Rtg Quack" # @see: https://github.com/chrRtg/eve-skylizer # # some basic code from https://git...
41007fcba33b0272627270cf075be2166586543a
26
docker build -t checkup .
85430e098f5141deeb9ab1800ed2dd40cae7bc63
91
#!/bin/bash start=1914 end=1940 for (( i=$start; i<=$end; i++ )) do echo $i done
25d732ffba6c7faa56af238591f14185580afaae
8,727
#!/bin/sh echo -------------------------------------------------------------------------------------------- echo THERE ARE 10 PAUSES IS THIS SCRIPT SO LOOK FOR PROMTS FOR YOU TO HIT ENTER echo -------------------------------------------------------------------------------------------- echo [*] BEFORE WE BEGIN THE SCRI...
6dedfc1909f344bf0438d218a20e74a1bc1a6365
1,097
#!/bin/bash API_URL='https://cod19-situation-dev.herokuapp.com/situations/' http POST $API_URL countryName='Spain' timeStamp='4/18/2020, 10:00:00 AM' activeCase:=188068 newCase:=5252 totalDeaths:=19478 newDeaths:=348 http POST $API_URL countryName='The United Kingdom' timeStamp='4/18/2020, 10:00:00 AM' activeCase:=108...
c1dc5d3001b192fca202a0021da0134270a9beed
3,141
#!/usr/bin/env bash # ------------------------------------ # @description # 镜像工作维护脚本 # # @usage # ./work.sh [action] # # @params # action - action表示工作脚本任务,目前有 ‘build’, ‘push’, ‘run’,‘clean’,‘demo’ # # @author # gejiawen<806717031@qq.com> # ------------------------------------ docker_registry="<YOUR_DOCKER_REG...
c6d9b2317debeda3762d0b3e985a4799f4467244
3,022
#!/bin/bash # # Program: Upload shell script # Purpose: Upload the all the normal files under the publish_dir # Author : Sucha <suchaaa@gmail.com> # Version: 2.00 # Usage : Fill in your PUBLISH_DIR and FTP information blow , then # run it anywhere. # # History: v2.00 - 2014.01.04 # * Using ftp...
9ceecbd24c81c37f3c97fbb82c1cbfe56e93c4d7
201
MYSQL_ROOT_PASSWORD=tester MYSQL_ROOT_HOST=% MYSQL_USER=tester MYSQL_PASSWORD=tester MYSQL_ALLOW_EMPTY_PASSWORD=no REMOTE_USER=\\tester SMTP_PORT=25 APP_USER=tester APP_PASSWORD=tester BUILD_UID=1000
63234244743e873bed98eaa126c01f4f6fd8acd0
371
# Hash secret SECRET=secret # Site settings DOMAIN=localhost PORT=8081 HTTPS=FALSE DATABASE=FILE # FILE | SQL | MONGO_DB LOG_REQUESTS=FILE # FILE | CONSOLE | NULL LOG_ERRORS=FILE # FILE | CONSOLE | NULL # Email EMAIL_PROVIDER=NONE EMAIL_SENDER_ADDRESS=hello@mailer # Add for AWS SES Email sending AWS_ACCESS_KEY_ID=12...
2a5571b2044f323eb896921a24a4e6fd63dfa246
517
#!/bin/bash set -eo pipefail rm -f output.yml output.json function/*.pyc rm -rf package function/__pycache__ ARTIFACT_BUCKET=$(cat bucket-name.txt) aws s3 rb --force s3://$ARTIFACT_BUCKET rm bucket-name.txt STACK=aws-s3-lifecycle FUNCTION=$(aws cloudformation describe-stack-resource --stack-name $STACK --logical-resour...
e1a340289307a857b2da758ce414fa1c67148dea
66
#!/bin/sh set -e cd .mage exec go run mage.go -compile ../mage
e99c6cf76fbccac3568c90939fd96a99597ad80f
1,290
#!/bin/sh -u usage() { cat >&2 <<EOF usage: add-profile-picture [--github | --gitlab] ORGANISATION_NAME Add the organisation ORGANISATION in git-forge GITFORGE to ocaml-ci. Known git-forges are "github" and "gitlab" Example: add-organisation --github ocurrent EOF exit 1 } if [ $# -ne 2 ] ; then usage ...
a0c52a95003ce3d4c7d4445d031128a779c3f2ad
9,665
#!/usr/bin/env bash # to dawnload this script # curl -L http://bit.ly/2x0Wons >x72alinstall.sh # ------------------------------------------------------------------------------ # safeExit # ----------------------------------- # Non destructive exit for when script exits naturally. # Usage: Add this function at the end...
9494ea11916f169ddfa6d18efc6095cc96f4f4dc
157
#!/bin/sh cd $1 \ && sed -e "1,/urn:mozilla:install-manifest/d" install.rdf \ | grep -m1 -o -e "em:id\(>\|=\"\)[^<\"]\+" \ | sed -e "s/em:id\(>\|=\"\)//"
89e4da19e94b9eba9849d21b253e32e77cc3d1fd
1,514
#!/bin/bash # ANNOTATE_PROTEIN_FASTA.sh # # written by Richard Wolfe # # $1 = protein sequence fasta file to annotate # $2 = IPER or NO_IPER or PFAM # # makes a directory annotate_IPER or annotate_NO_IPER or annotate_PFAM with the results #make sure 1 attribute #check if varialble 2 is empty if [ -z $2...
f8fcff919ec735d93b8ffa64f8f9ad9370545774
351
#!/bin/bash SCRIPTS_REPO=scripts DOTFILES_REPO=dotfiles # Quick install # curl -L http://bit.ly/boris-setup | sh # curl https://raw.githubusercontent.com/borisjoffe/scripts/master/setup.sh | sh git clone https://github.com/borisjoffe/$DOTFILES_REPO.git dotfiles cp -R ./dotfiles/.* . git clone https://github.com/bo...
8a5bb4b50366ffbc6cee653d945ff38210a337c5
132
#!/usr/bin/env bash heroku config:set DISABLE_COLLECTSTATIC=0 git push heroku video:master heroku config:unset DISABLE_COLLECTSTATIC
56c183a4a2702ad2ff52788744117b8266e3a871
153
#!/bin/sh lineNum=$1 if ! echo "$lineNum" | grep -qE '^-[0-9]+$'; then echo "provide a line number" exit 1 fi shift head "$lineNum" "$@" | tail -1
d6858f6a87b897966bea8dd82b059a3a5b2c65f3
148
#alias gnr="grep -nr" alias g=grep #function grep_recursive_case_insensitive() { grep -nri $1 } #alias gv="grep -v" #alias gvc="grep -v '\/\/\|\#'"
6f04f6cfcb81eb7cb245d8d68ba38373bb31011e
514
#!/bin/bash # #busybox app # readonly -a list_reboot_0=( smonitord stimerd ) # #custom app # readonly -a list_reboot_1=( nginx ) # #last app # readonly -a list_reboot_2=( syslogd jlogd ) # #$@:list # killapp() { local list="$@" killall ${list} killall ${list} } main() { echo "System will reboot after 3s....
d10267e9212b09e07db3de9e69816bf7c219ded2
793
# the format or list file # imagepath label # /ab/cd/image.jpg a:b:c:d # for mnt #python data/create_mnt_list.txt #CUDA_VISIBLE_DEVICES=1 nohup python main.py --trainlist=data/train_list.txt --vallist=data/test_list.txt --cuda --adam --lr=0.001 --niter=1000 --saveInterval=10000 > log.txt & # for octave # python dat...
e1b2ac7054059354c8c7c35a1260204d28f90106
3,282
#!/bin/bash # Copyright 2019 Simon Vandieken set -e -o pipefail stage=0 nj=32 train_set=all_mfcc_hires mix_set=mixed test_set=summa_mfcc_hires gmm=tri3b # This specifies a GMM-dir from the features of the type you're training the system on; # it should contain alignments for 't...
4af20f9a1b9b238bf4e35d7b1bd62b608b4b12d4
998
#!/bin/bash # Opens your browser to the github pull request creation page for the current # commit against the source branch. # abort if not in git directory if ! git rev-parse --git-dir > /dev/null 2>&1; then echo "Aborting. Not in a git repository." exit 1 fi # specify the root url root="https://github.com" #...
f8594a2cb01a01d7c8d02566b24d115234783985
3,978
#!/usr/bin/env bash source test/init plan tests 27 source _common client_output='' mock-client() { client_output+="client_call $@"$'\n' } client_call=(mock-client "${client_call[@]}") logfile1=$dir/data/01-os-autoinst.txt.1 logfile2=$dir/data/01-os-autoinst.txt.2 logfile3=$dir/data/01-os-autoinst.txt.3 try-cl...
a64d61ca908f4843afef88065e455e8a33408d81
313
#!/bin/bash #PBS -q secondary #PBS -l nodes=1,flags=allprocs #PBS -l walltime=00:30:00 #PBS -N gsw0.6_17 #PBS -e gsw0.6_17.perr #PBS -o gsw0.6_17.pout module load openmpi/3.1.1-gcc-7.2.0 module load intel/18.0 cd ${PBS_O_WORKDIR}/gsw0.6/ mpiexec ../../../../mainline/bin/qwalk gsw0.6_17.vmc &> gsw0.6_17.vmc.out
2884a0e2c3a8dd673a9ce4dbec4057fc8d83da67
216
#!/bin/sh # index the lines # PARAMS=$(sed -n ${LINE}p nb_biglambda_grid.txt) PARAMS=$(sed -n 5p nb_biglambda_grid.txt) # run the simulator script echo "Rscript nb-03-biglambdagrid-input-c-r-nsim-ncores ${PARAMS}"
330eff7237fe4716a1db92fc648be01632f5499a
195
#!/bin/bash sudo sshfs -o allow_other,IdentityFile=~/.ssh/id_rsa s1891388@student.ssh.inf.ed.ac.uk:/afs/inf.ed.ac.uk/user/s18/s1891388 /mnt/dice ssh s1891388@student.ssh.inf.ed.ac.uk
98d7c417f6c2370476cdb973f8b6efd97711d77c
5,947
#!/bin/sh # Copyright (c) 2018 Euan Thoms <euan@potensol.com>. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, t...
9567205e1e7140c10d61ece34f6bb4f2e9b65616
914
#!/usr/bin/env bash BUILD_DIR=${1:-} CACHE_DIR=${2:-} mkdir -p "$BUILD_DIR/.intltool" cd "$BUILD_DIR/.intltool" # wget https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz # tar -xf intltool-0.51.0.tar.gz # cd intltool-0.51.0 # ./configure # make curl http://ftp.gnome.org/pub/GNOME/sources/intl...
1af5b0c54f817c3e06bea969208ffd9f5544881a
988
#!/bin/bash RUN=(0 1) FILE_ZeroBias=( "/export/d00/scratch/jwang/L1ppLowPU2018/noise/L1Ntuple_ZeroBias_319460.root" "/export/d00/scratch/jwang/L1XeXe/noise/L1Ntuple_HIZeroBias_304906.root" ) FILE_EmptyBX=( "/export/d00/scratch/jwang/L1ppLowPU2018/noise/L1Ntuple_EmptyBX_319460.root" "/export/d00/scratc...
a7aa181b74b562f1c890fe230ae96b55a02b9b14
165
IP=YOUR_IP_ADRESS PROJECT_ID=YOUR_PROJECT_ID FOOD_COLLECTION=COLLECTION_ID USER_COLLECTION=COLLECTION_ID ORDER_COLLECTION=COLLECTION_ID CART_COLLECTION=COLLECTION_ID
7933ea129071aba0b0652b03787e2b822eb2fd9d
40
for dir in *; do mr register $dir; done
1b78cdc4c2e83d3216196c5018f35477675ae79a
1,067
#!/bin/bash git clone https://github.com/tensorflow/models.git # Install pycocoapi git clone --depth 1 https://github.com/cocodataset/cocoapi.git cd cocoapi/PythonAPI make -j8 cp -r pycocotools /models/research cd ../../ rm -rf cocoapi # Get protoc 3.0.0, rather than the old version already in the container curl ...
cf3e87d6ba2fc19b7579c947062c05162175862f
297
if [[ ! "$CFG_HHVM" =~ $RE ]]; then if (whiptail --title "HHVM" --backtitle "$WT_BACKTITLE" --nocancel --radiolist "Do you want to install HHVM (Hip Hop Virtual Machine) as PHP engine?" 10 50 2 "no" "(default)" ON "yes" "" OFF 3>&1 1>&2 2>&3) then CFG_HHVM=yes else CFG_HHVM=no fi fi
06e15a32c90a13366c3ec27e805ea48404c2a32d
1,185
#!/bin/bash #### bb_post_probtrackx2 # # concatenate parallelized probtrackx outputs # and clean up probtrackx log files # . $BB_BIN_DIR/bb_pipeline_tools/bb_set_header set +e subjdir=`fsl_abspath $1` subjdir=`echo ${subjdir} | sed 's/\/$/$/g'` echo subjectdir is $subjdir python $BB_BIN_DIR/bb_diffusion_pipeline/...
efaaac1f6f8649aef039a790d97bccac04d8ad97
2,385
genomeFolder=$1; ## the folder where the genome is stored min16SrRNALength=$2; ## the minimum length to confirm that a 16SrRNA gene is found minIdentity=$3 ## the minimum identity of the 16SrRNA ## precompiled 16SrRNA rRNAFolder=$DataSpace/Databases/16SrRNADB/; rRNAblastdb=$rRNAFolder/ALL16SrRNA/all16SrR...
9c6d63e10de771fedfc12f50260007d5b291db75
381
REACT_APP_MAIN_HOST = https://13.124.126.131 REACT_APP_MAIN_PORT = 443 REACT_APP_SIGNALING_SERVER = https://13.124.126.131 REACT_APP_STUN_SERVERS = stun:stun4.l.google.com:19302 REACT_APP_TURN_SERVERS = turn:numb.viagenie.ca # You can create your turn account here: http://numb.viagenie.ca/cgi-bin/numbacct REACT_APP_T...
57577a4d601c18ea5c09046967ac59ddb34a67ed
1,688
#!/bin/bash # 添加SSRP+ echo "src-git helloworld https://github.com/fw876/helloworld.git" >> feeds.conf.default # 添加OpenClash git clone https://github.com/vernesong/OpenClash.git cp -rf OpenClash/luci-app-openclash package/luci-app-openclash # 添加UA2F git clone https://github.com/Zxilly/UA2F.git package/UA2F # 更新queue...
a349ad627d1063914407847f84bfc4f8063a2db0
7,982
#!/bin/bash #Install script for Hadoop 2.3 on CentOS 6.5.3/x86_64 #run as root (sudo su -) # install packages yum install -y curl which tar sudo openssh-server openssh-clients rsync # passwordless ssh ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key ssh...
9036c136f3a9f8708ec678704f4df7b4c786bfab
138
REACT_APP_API_URL=https://api.openweathermap.org/data/2.5 REACT_APP_API_KEY=<PRIVATE> REACT_APP_ICON_URL=https://openweathermap.org/img/w
dd7abb7e5e1327cbf2eb3f522ab4563642a529b0
361
#!/usr/bin/env bash yum install -y java-1.7.0-openjdk-devel for target in $(ls /opt/python/); do python=/opt/python/$target/bin/python $python -m pip install -U setuptools cython $python setup.py bdist_wheel git clean -dfx jnius/ done for whl in dist/*.whl; do auditwheel repair $whl done rm dist...
0ab881395c2505df165ccaad204f7a335e03b815
1,662
#!/bin/bash # # Title: Optical Exfiltration # Author: stormyordos from bg-wa's version # Version: 1.0 # Category: HID # Target: Windows # Attackmodes: HID # Sources: Hak5 2320, https://github.com/bg-wa/QRExtractor # # Quick HID only attack to write an HTML/JS file to target mach...
cf91d3acd70ec60c0ef911dfb1db72e5f626f8da
264
#!/bin/sh set -e compileenvironment source ~/.environment curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y rustup component add clippy rustup component add rustfmt rustup component add rls rustup install stable rustup default stable installrusttoools
29de69fe2a2dc08ac7cbc5933bdf08750a1eaa3f
167
syslog-ng goofys -f --region $REGION --stat-cache-ttl $STAT_CACHE_TTL --type-cache-ttl $TYPE_CACHE_TTL --dir-mode $DIR_MODE --file-mode $FILE_MODE $BUCKET $MOUNT_DIR
db08b593dc7d4c141f41e0b850965a62e485b48c
214
#!/bin/sh DATE=`date +%s` INFO=`grep MemFree /proc/meminfo| sed 's/[^0-9]//g'` MINFREE="1000" if test "$INFO" -lt "$MINFREE"; then /bin/logevent warning system "Free memory under [$MINFREE]" fi echo "$DATE $INFO"
82dd69739e88e9b34a7119f8c75df1b78bcbe21e
47
#!/bin/bash zshmisc &> ../zero-log/zshmisc.log
6a3eb32a266ed6a23a2de71f9ae5f2688d769a42
1,527
#!/bin/sh # # (c) 2018-2023 m4r35n357@gmail.com (Ian Smith), for licencing see the LICENCE file args="$0 $*" echo "args: \033[1;37m$(($# + 1))\033[0;37m, [ \033[0;35m$args\033[0;37m ]" >&2 user_dir="/tmp/$USER" [ ! -d $user_dir ] && mkdir $user_dir user_data="$user_dir/data" max=$1 threshold=$2 shift 2 case $4 in ...
59be95b404d5adc1e651d15da8efaaac89507129
144
#!/usr/bin/env bash flags='main.c jsonc.c -Wall --std=c99 -o main' case $1 in fast) clang $flags -O2 -D NDEBUG ;; *) clang $flags ;; esac
ec5556e8042259aca4639d30c1b7b983b27eebf5
2,720
#!/bin/bash # Copyright 2015 gRPC authors. # # 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 applicable law or agreed t...
1c2b53bd24883b3beef623c177959821c0aa7258
2,573
#!/bin/sh # Assign arguments file_data=$1 # ASL tag - control file file_option=$2 # Model based analysis options file file_aif_option=$3 # Model free analysis AIF options file echo "Begin model based analysis..." home_dir=`pwd` # Get current timestamp as output directory name current_time=$(date +%H%M%S) out_dir_mb...
5b35582ddd629a8c306d30ba457a0fc0aef197c2
1,814
#!/usr/bin/env bash -x export MYSQL_PASS=123456 export MYSQL_RUN_DB=gt export MYSQL_TEST_DB=gt_test USAGE="Usage: run.sh [init|start|stop|test|clean|docker_start]" if [ "$#" -ne 1 ]; then echo $USAGE exit 1 fi case $1 in init) echo "pull image..." docker pull mysql:5.6 echo "start...
ae5ed0e2a70114d5d0841cb46e8cd6a27e9fb50c
185
#!/bin/sh path=/usr/share/amixer-webui if [ ! -e "/etc/amixer-webui.conf" ] then cp $path/amixer-webui.conf /etc/amixer-webui.conf fi cp $path/amixer-webui /etc/init.d/amixer-webui
290ba86aa1b592555f80e99813327ffc75d59af4
392
#!/bin/bash zpath=$(cd `dirname $0`; pwd) cd $zpath > /dev/null ############################## #usage: # $1: node name, which will be used to get node config # at dir ../node/$1/eosio.conf(or eosio.env) set -x NM=${1-"a"} N_C_DIR="../node/${NM}/" cd $N_C_DIR . eosio.conf cd - #########################...
5ba4cd146859530381947e67613aec2d21e8a64e
71
#!/bin/bash echo "Running predeploy hook" source /tmp/sidekiq_mute.sh
8935ec1e64180e13c669ec1b64126a6829301b5d
1,870
#! /bin/bash # vim: tabstop=4 shiftwidth=4 softtabstop=4 expandtab ai set -e conda_prefix=.conda # default values for MINICONDA_LOCATION and CONDA_ENV : ${MINICONDA_LOCATION:=~/.miniconda} : ${MINICONDA_URL:=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh} : ${CONDA_ENV:=main} echo "Detect con...
13b7514eb97a54d6f76e71421b5c39c21d3ed5d4
135
DB_CONNECT = mongodb+srv://marouane:cloudc.1@cluster0.nyptc.mongodb.net/<dbname>?retryWrites=true&w=majority TOKEN_SECRET = marouane22
e2d04e9d52641504a649f272887351eb2be83660
306
#!/bin/bash module unload boost module load bwpy module load PrgEnv-gnu module load automake module load autoconf echo "Running probes on ${ALPS_APP_PE}" python3 setup.py --init --config config --odir results python3 setup.py --threads 64 --epoch_time 60 --total_runs 18 --config config --odir results
d72f65806d93b8fa8181c21489e1973ac9c4f646
247
#!/bin/bash # $1 - first sequence file # $2 - second sequence file # $3 - ref # $4 - output_directory OUTFILE=`basename $1`.bsmap.bsp UNPAIRED=`basename $1`.unpaired.bsp bsmap -a $1 -b $2 -d $3 \ -o $4/$OUTFILE -2 $4/$UNPAIRED -p 12 -w 10
079f6649a51516968ce695f07fce7d7f058aee8c
52
#!/bin/sh scalac Hello.scala scala Hello rm *.class
f7749627bd9468b23f6e8849662e28eae53bd2fe
54
#!/bin/sh set -e make migrate make test-tox exit 0
6d0752fd162a6a8470b942a192df6eb2de3f8291
247
#!/bin/sh ##this script implements the steps to install a role in a node and are specific #to the topology tejo cluster ##follow the deliverable to complete this script accordingly #main role=$1 git clone https://github.com/guthemberg/tejo.git
424ed38796c88c172af4ebb0995059ba853b15f2
343
#!/bin/bash rundir="/run/user/$(id -u)/esdesk" case $1 in start) [ -d "$rundir" ] || mkdir "$rundir" echo $2 geometry="$(xrandr | grep "$2 " | sed -e 's:.* \([0-9]*x[0-9]*+[0-9]*+[0-9]*\).*:\1:')" xwinwrap -ni -g "$geometry" -s -b -ov -- $0 env WID &> /dev/null ;; env) XSCREENSAVER_WINDOW="$2" electricshee...
c20cb2baade67382ad19aff228e76f2b84b5bf06
319
cat ../../data/tweets/*.json | jq '.entities.hashtags[] | .text' | sort | uniq -c | sort -nr > ../../data/tweets/common_hts_in_5ht_tweets.txt cat ../../data/tweets/archive_Sep-30-16_Oct-31-17_ES_tweets.json | jq '.entities.hashtags[] | .text' | sort | uniq -c | sort -nr > ../../data/tweets/common_hts_in_ES_tweets.txt
b9cff804ab0324028fca8597dfb1aaafb331e3ff
148
#! /bin/bash git config --global core.editor vim git config --global user.name "Felipe Amaral" git config --global user.email "felipefda@gmail.com"
0ebabf7ed6614352be4f641c6eea9b4240bafb11
2,946
# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return # If bashrc already run for this shell, don't do it again [[ ! -z "$BASHRC_SET" ]] && return # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth # ap...
974e0f7c0a9f29f3415076120419eaabdee5b88d
220
#!/bin/zsh count=`find . -name "Problem???.cpp" | wc -l` echo "PROJECT EULER: Problem $1 (of $count)" echo "=====================================" g++ src/c++/Problem$1.cpp -o bin/Problem$1 -std=gnu++17 ./bin/Problem$1
0927a435c4608d5d31e683e7e872ab23fc87a8e0
32,540
#! /bin/bash BASE_URL=$1 set -e -E -o pipefail source `dirname $0`/common.sh curl_post action.php "action=racer.import&firstname=F-1001&lastname=L-1001&classname=TheTwoHundred&carnumber=1001" | check_success curl_post action.php "action=racer.import&firstname=F-1002&lastname=L-1002&classname=TheTwoHundred&carnumber=1...
851421c72094023d8a6e4618a88e3e960a8bfb3c
6,238
#!/usr/bin/env bash set -e # # WildFly control script # # chkconfig: 2345 80 20 # description: WildFly startup/shutdown script # ### BEGIN INIT INFO # Provides: wildfly # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Should-Start: $named # Should-Stop: ...
2dba400d08803f51a18a54a0721f9329e9aa0960
1,255
#!/bin/bash set -eu COLLECTD_CONF=/etc/collectd/collectd.conf : ${COLLECTD_HOST:=} # if COLLECTD_HOST not already set in the container's environment if [ -z "${COLLECTD_HOST}" ]; then # if /etc/hostname is volume mounted in, then use that if [ -f "/host/hostname" ]; then COLLECTD_HOST=$(cat /host/hos...
7b9717898fc07f4a312a102627c34a6f86aa5639
763
vlog /eda/cadence/2014-15/RHELx86/RC_14.11.000/tools/lib/chipware/sim/verilog/CW/CW_fp_addsub.v vlog /eda/cadence/2014-15/RHELx86/RC_14.11.000/tools/lib/chipware/sim/verilog/CW/CW_fp_mult.v #vlog /eda/cadence/2014-15/RHELx86/RC_14.11.000/tools/lib/chipware/sim/verilog/CW/CW_fp_div.v #vlog /eda/cadence/2014-15/RHELx8...
330ed8eb3c718266a281da486be449266833335c
69
#!/usr/bin/env bash docker build --tag=java-docker-alpine --rm=true .
9fe00349bd1f85f1ee5375c746df265b747ac283
2,221
#!/bin/bash # # Installs/Configures Nessus agent. . /etc/sdi/thig-settings rpm -Uvh http://thirdparty.thig.com/tenable/agents/${OSANDVERSION}/NessusAgent-${OSANDVERSION}-latest.rpm # Remove any old associations # CMH: fairly certain this doesn't work though /opt/nessus_agent/sbin/nessuscli agent unlink --force sleep...
1d788f3f92f0da3e160b6ab3e793078e0ec25bf8
86
#!/bin/bash rsync -v ./build/libs/KtorServer-0.0.1.war $USER_HOST@$HOST_IP:$DIR_DEPLOY
9a52d0e8f20764d3d0896439caf756a7cc864868
246
# determine the query count of an html file # it is off by 12 function qcount() { sed -E "s/\"formatted_command/\\`echo -e '\n\r'`&/g" $1 |wc -l ; } alias profile='beer mini_profiler --storage Redis --storage-options db=2 --collapse Rendering'
1b760c225f627575f96794387c2f6a05e7d3d4a8
650
#!/bin/bash . "`dirname $0`/always_included.sh" if [ -f /etc/init/toolbar.conf ] then echo "An existing Toolbar installation was found, stopping..." trap "sudo stop toolbar" 0 echo "Removing the existing Upstart service config file: /etc/init/toolbar.conf" sudo rm /etc/init/toolbar.conf fi if [ -d $toolbar_...
f53714aded31ade40a59e2e43d1d787de41379f6
162
#!/usr/bin/env bash ROMS=/home/pi/RetroPie/roms cp -nv ./GB/* "$ROMS"/gb cp -nv ./NES/* "$ROMS"/nes cp -nv ./SNES/* "$ROMS"/snes cp -nv ./N64/* "$ROMS"/n64
89914a128adcc4fabb5905aa8191f51ad6cf72da
1,545
#!/usr/bin/env bash ## . init_system_contracts.sh # Create ibc.chain ibc.token and relay accounts create_accounts_for_chain(){ char=`echo $1 | cut -c 7` create_account chain_${char} ${contract_chain} create_account chain_${char} ${admin_account} create_account_by_pub_key chain_$...
4a5308d10725424a2cbb71436ec21c56d116fa5a
123
#!bin/bash # update Rt forecast Rscript models/rt/update-rt.R # update submission Rscript models/rt/update-submission.R
ab653ecfcad56f8f13962efbeebda8758494e167
2,878
#! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: ibg2abg_m # Based on rbg2abg_m while [ -n "`echo $1 | grep '^-'`" ]; do case $1 in -I ) info=info ;; -nounits ) units=no ;; *) e...
bbc20069ecad7881902d70c3e8d322a03e7c3e7e
3,522
#!/bin/bash # # Sets up the PAM filesystem and quota limits for an OpenShift gear # # # Add a PAM limit set to the user # # IN: username # IN: limits_order # IN: limits_nproc # LIMITSVARS="core data fsize memlock nofile rss stack cpu nproc as maxlogins priority locks sigpending msgqueue nice rprio" function set_pam...
eadc5d0fcdba2b482a7db06ee7ad93ab6d743bbf
1,093
#!/bin/bash cd "$(dirname "$0")" MNE_VERSION=$(sed 's/^mne==\(.*\)$/\1/' ../versions.txt) if [ -d "mne-tools.github.io" ]; then pushd mne-tools.github.io && git pull && popd else git clone --depth 1 https://github.com/mne-tools/mne-tools.github.io fi cd mne-tools.github.io/ doc2dash -n MNE -d ../template/ -i ../tem...
c805843e3fc3c604c67e6253aafc0fdd3dbdbf41
60
#!/usr/bin/env bash npx babel-node transformTemplate.js $@
044ca1d0a060edf556999246dccbbb11b2d9017b
480
#!/bin/bash no_of_files=500000; file_counter=1; while [[ $file_counter -le $no_of_files ]]; do echo Creating file no $counter; if [ "$((RANDOM%100+1))" -lt "2" ] then exit fi if [ "$((RANDOM%100+1))" -lt "50" -a "$((RANDOM%100+1))" -gt "5" ] then mkdir random-dir.$file_counter ...
281d3282415c41c259c93fb2c4f308bd3581b1b2
451
#!/bin/sh #/APSshare/epd/rh6-x86_64/bin/python /local/vdeandrade/txm_util/GUI_sripts/txmMotors_pyepics.py All_In\(\) #/APSshare/anaconda/x86_64/bin/python /local/vdeandrade/txm_util/GUI_sripts/txmMotors_pyepics.py All_In\(\) #/APSshare/anaconda/x86_64/bin/python /home/beams/USR32IDC/TXM/scanScript-old/ag_py/In_Out_pos...
9d091a33b5c587ea1b24c557033037bcb47f4f2b
63
NODE_ENV=development GRAPHQL_URL=http://localhost:4000/graphql
7fb99d28b1bd3c86aface94df76c3a3b067ef8a9
3,456
#!/bin/bash -ex tag=$(date +%Y%m%d) function error() { echo "$@" exit 1 } if [[ -z "${REGION}" || -z "${VOLUME_ID}" ]] then error "REGION and VOLUME_ID must be present in the environment" fi # If an existing volume is present, we want to fail up front echo "Checking to ensure no backup volume is present" ...
0ce090e9d18ee4abbb649427df9d44042c0d263b
176
#!/bin/bash echo 'cluster-master' > /etc/hostname sed -i 's/cluster-node/cluster-master/' /etc/hosts echo '{"api_key":"","master":""}' > /etc/mcp/global_vars.php sudo reboot
332b93966a70f61caed7f4779b674f1d4b6bffa6
2,524
#!/bin/bash mkdir Output3A/Bash/D75204- #0 adapter trimming bbduk.sh in1=~/programs/HCV/Data/fastq_3A/D75204-HCV_S21_L001_R1_001.fastq in2=~/programs/HCV/Data/fastq_3A/D75204-HCV_S21_L001_R2_001.fastq out=~/programs/HCV/Output3A/Bash/D75204-/D75204-_adp.trimmed.fastq ref=/Users/kahotisthammer/programs/bbmap/resour...
e5575b410dcbbce92bf88dbc7590f9435ec3fcdb
6,115
#!/bin/bash # This script is used to produce a template for the Journal of a run, written # in markdown language, that fits with github repositories. # It must be run where the nemoxx.oxxx files ares saved. # class = @Run management tools@ usage() { echo echo "USAGE: $(basename $0 ) [-h ] [-f ] [-c confca...
8188ee2c54699fb8223f7c86413f251ae8240d71
2,512
#!/bin/bash set -e echo "replacing tags of structs..." gomodifytags -file api.pb.go -field User -struct ClientInfo -all -w -remove-options json=omitempty >/dev/null gomodifytags -file api.pb.go -field Client -struct ClientInfo -all -w -remove-options json=omitempty >/dev/null gomodifytags -file api.pb.go -field Pres...
241315d85de8d0e7331c3f6191392d363e08d37f
1,137
#!/usr/bin/env bash # Install macOS package manager Homebrew. if [[ "$(uname)" == "Darwin" ]] && ! which brew > /dev/null; then /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi # Install all dependencies in the global Brewfile. if which brew > /dev/null; then b...
9df3f3be0a2ad07b944dbbfd199a9ee808d142b0
257
#!/bin/bash -e # # Delete branches that have been merged into master # #git branch --merged master | grep -v master | xargs git branch -d git branch -a --merged origin/master | sed -n 's,remotes/origin/,,p' | grep -v master | xargs git push origin --delete
e7cfa1c382858e5f625ca279803628b27e981b23
1,238
#!/usr/bin/env bash die() { # $1 - the exit code # $2 $... - the message string retcode=$1 shift printf >&2 "%s\n" "$@" exit $retcode } wine_install() { echo -n "wine not installed... script will attempt to install. N to cancel" read resp [[ "$resp" == "N" ]] && die 0 "cancel requ...
88134cc26e7d6b133fb59fdb53e5d988fc1d1ab3
689
# # ansible/Kubernetes-KubeConfig.sh # # David Janes # Consensas # 2018-12-23 # FOLDER=$(dirname $0) ANSIBLE_HOSTS=$1 ANSIBLE_HOSTS=${ANSIBLE_HOSTS:=master} ANSIBLE_INVENTORY=$FOLDER/../inventory.yaml export ANSIBLE_HOST_KEY_CHECKING=False set -x ansible-playbook \ --inventory "${ANSIBLE_INVENTORY}" \ ...
93185941d77fb80ed2865e9ec6c39f653c77cc11
521
#!/usr/bin/env sh COMPOSITOR=${1:-sway} echo $COMPOSITOR > /tmp/wayinit.log echo $DESKTOP_SESSION >> /tmp/wayinit.log dbus-update-activation-environment --systemd WAYLAND_DISPLAY SWAYSOCK SSH_AUTH_SOCK DBUS_SESSION_BUS_ADDRESS XAUTHORITY XDG_CURRENT_DESKTOP=$COMPOSITOR & xsettingsd & dex -a -e $COMPOSITOR & # solaar...
19743a855807c94ae423658f2e2dc8a0a9beb2b7
599
#/bin/bash GREEN="\033[1;32m" RED="\033[1;31m" YELLOW="\033[1;33m" DEF="\033[0m" ft_cat="./c_cat_tests" input_folder="tests/input_files" for file in "$input_folder"/*; do ft_ret="$($ft_cat $file)" ret="$(cat $file)" if [[ "$ft_ret" == "$ret" ]]; then printf "%-50s$GREEN%s$DEF\n" "$file" "OK" ...
e235487b0a1e54803724029ec35deae31ba13729
133
#! /bin/bash CORES=`getconf _NPROCESSORS_ONLN` mkdir -p build pushd build &> /dev/null cmake ../ make -j${CORES} popd &> /dev/null