blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
c1b0bf7397c0bc6c5cbfa60d36d5c41199af037e
737
#!/bin/bash set -x date start_date=$(date) chmod 777 start_web.sh export PATH="/tmp/usr/bin:${PATH}" export CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer" export CXXFLAGS="$CFLAGS" export LDFLAGS="-fuse-ld=gold" gcc --version g++ -fuse-ld=gold -Wl,--version gcc -c -Q -march=native --help=target gr...
b702b824cd2dfcdaf56e81f1bcfcb73458ea31d7
178
#!/bin/sh #What is the option for making intermediate directories #as required, so that you can create, #.e.g., ~/foo and ~/foo/bar with a single command sudo mkdir -p /foo/bar
18c404d7c0799c04c82ed1d9dda4894fd9b627f8
197
#!/bin/bash docker-compose build build-env docker-compose run build-env bash -c '(cd casper-node; make build-client-contracts; cp -R /casper-node/target/wasm32-unknown-unknown/release/ /build/)'
dfa72c5f6614b8b2674ad6b2af03bd0c264e1909
2,526
#!/bin/sh #SBATCH --job-name=merging_significant_regions #SBATCH -p short #SBATCH --nodes=1 #SBATCH --ntasks=1 ...
e19d20769caf8f093d4a0c81f67926822bd4ff36
4,603
#!/bin/bash let y=1 let z=1 let clearancelvl=2 let used=0 let fileuse=0 echo "------------------------------------" echo "CONGRADULATIONS. WELCOME TO LEVEL 3 " echo "------------------------------------" echo " " while [ $y -eq 1 ] do echo "Complex: " read maininput case $maininput in "help") echo "help: displays th...
ae44850fdab9ea906ba639cb366e20a4bd4ea154
1,446
# Maintainer: Fabien Wang <fabienwang[at]eliteheberg[dot]fr> pkgname=modelio-open pkgver=3.3.1 pkgrel=1 pkgdesc="An open source UML tool that supports the UML2 and BPMN2 standards." url="http://www.modelio.org/" arch=('i686' 'x86_64') license=('GPL3' 'APACHE') depends=('glibc' 'gcc-libs' 'atk' 'cairo' 'gtk2' 'glib2' 'l...
49d3f57bc0cd15571ccff1f3dd6fde0f2c43a540
108
ATLAS_URI=mongodb+srv://exercise:mern123@exercise-tracker-1ljyp.mongodb.net/test?retryWrites=true&w=majority
df0508b74fc491279187b8b3e64c63ed9a97bd1c
590
#!/bin/bash echo "-------------------------------------------" echo "Server_Name CPU(%) Memory(%) Swap(%) Uptime(%)" echo "-------------------------------------------" #for server in `more /opt/scripts/server-list.txt` #do scpu=$(cat /proc/stat | awk '/cpu/{printf("%.2f%\n"), ($2+$4)*100/($2+$4+$5)}' | awk '{p...
d2784d404d76441188482831750237f1cc275f6d
2,695
#!/bin/sh /etc/rc.common # Copyright (C) 2013-2014 OpenWrt.org # Copyright (C) 2018-2022 Tano Systems LLC START=00 STOP=90 HWCLOCK=/sbin/hwclock extra_command "systohc" "Save system time to hardware RTC" extra_command "hctosys" "Load system time from hardware RTC" extra_command "systz" "Apply timezone" LOG="logge...
01c307edaa3b5e69d2559a68edbfd3d7f6d53768
4,779
#!/bin/bash # LinuxGSM command_mods_uninstall.sh module # Author: Daniel Gibbs # Contributors: http://linuxgsm.com/contrib # Website: https://linuxgsm.com # Description: Uninstall mods along with mods_list.sh and mods_core.sh. commandname="MODS-REMOVE" commandaction="Removing mods" moduleselfname="$(basename "$(readli...
bce9bad6758b65dcca5c41ca6c8cb60a7be356f6
1,363
#!/bin/sh print_help() { echo "USAGE: $0 [-h][-b USBPATH][-p PORT][-a off/on/reset]" } CFG="" B_HUB="" while [ $# -ge 1 ];do case $1 in -f) shift CFG=$1 shift ;; -p) shift VPORT=$1 shift ;; -a) shift ACTION=$1 shift case $ACTION in on) ;; off) ;; reset) ;; switch_on) ACTION=on ;; switch_off) A...
13725d302bb36e9e582484f9899a6322e5ba197b
365
#!/bin/bash -xe # Update with optional user data that will run on instance start. # Learn more about user-data: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html # # Output is logged to /var/log/cloud-init-output.log echo "Cleanup user data" # remove user data script rm -rf /var/lib/cloud/instance/s...
34e5aa128306b32eb53114dde2365f5b36e541a2
729
#! /bin/bash TIMER_SRC_DIR="/Users/johnmahowald/Desktop/day/07.31.2018/timer" NUMBER_DIR="$TIMER_SRC_DIR/numbers" while true; do now=$(date +"%H:%M:%S:%p") output_display="" for idx in $(seq 7); do # there are 7 lines in each font file # output_line=$(($idx - 1)) output_line=$idx for l in $(seq $...
11479e86be6fbda03f6b6a12c17f3bf192bc80da
382
#!/bin/bash #PBS -q secondary #PBS -l nodes=1,flags=allprocs #PBS -l walltime=00:30:00 #PBS -N gs3_lo_s_Ndet2_gsw0.0_8 #PBS -e gs3_lo_s_Ndet2_gsw0.0_8.perr #PBS -o gs3_lo_s_Ndet2_gsw0.0_8.pout module load openmpi/3.1.1-gcc-7.2.0 module load intel/18.0 cd ${PBS_O_WORKDIR}/run1s/ mpiexec ../../../../mainline/bin/qwalk g...
1c3d2156a3d37d96a821ccc9546f8351437a5602
1,597
#!/bin/sh ## # Script to delete a Kubernetes project with a StatefulSet running a MongoDB Replica Set, to a local Minikube environment. ## TMPFILE=$(mktemp) /usr/bin/openssl rand -base64 741 > $TMPFILE kubectl create secret generic shared-bootstrap-data --from-file=internal-auth-mongodb-keyfile=$TMPFILE rm $TMPFILE ...
a458331ddcd60d918eff1d6b8a507c91002db196
2,459
#!/bin/bash CDIR=$(cd `dirname "$0"` && pwd) cd "$CDIR" print_red() { printf '%b' "\033[91m$1\033[0m\n" } print_green() { printf '%b' "\033[92m$1\033[0m\n" } render_template() { eval "echo \"$(< "$1")\"" } CONTEXT="" #CONTEXT="--context=foo" NAMESPACE="monitoring" ES_DATA_REPLICAS=$(kubectl get nodes --no-h...
8f273cd35218631c063c79b8b7b714f164da4124
36
TZ=Europe/Athens PUID=1000 PGID=1000
dfd61cc0531e1688e7f4e58e9524e8cab2930cfd
8,708
############################################################################### # .bashrc ############################################################################### #default options below ############################################################################### # Source global definitions if [ -f /etc/bashrc...
92f8a0809af5951ceb950ff17425b485a61c3081
91
PGUSER = postgres PGHOST = 127.0.0.1 PGDATABASE = DATABASE PGPASSWORD = PASS PGPORT = 5432
c632b70450813d83f991fec99bc6f7776d5f7045
892
#!/usr/bin/env bash # Runs a command as the LOCAL_USERID if passed in, otherwise stick with root # Check the UID if [ "$USERID" ] \ && [ "$USERID" != "root" ] \ && [ "$USERID" -gt 1 ] then # Create the user useradd --create-home --shell /bin/bash --uid "$USERID" dockeruser # Check the GID if [ "$GROU...
5be4da22776ce4d4dab15d5cbf14f8fb6401be5e
3,849
#!/bin/bash #MONERODO script to setup pool wallet echo "This script configures your Monerodo with a new pool wallet." echo "In order for your Monerodo to work properly, your pool wallet password is stored in a configuration file" echo "It is HIGHLY recommended that your pool wallet is different than your primary wal...
ee1db900ec88741fc1bdbd337d7814016c0f5cec
3,732
#!/bin/bash set -e RESOURCE_GROUP_1=${1} RESOURCE_GROUP_2=${2} CLUSTER_DEFINITION_1=./templates/kubernetes.east.json CLUSTER_DEFINITION_2=./templates/kubernetes.west.json VNET_NAME=KubernetesCustomVNET SUBNET_NAME=KubernetesSubnet VNET_1_FIRST_TWO=10.140 VNET_2_FIRST_TWO=10.240 LOCATION_1=westcentralus LOCATION_2=...
06d82ab6da178b9a33a1a00e59a7c08159a4c7fd
1,143
#!/bin/bash function todoLog(){ # Puts all #TODO into the the todo.log file grep -r "#TODO" * --exclude=project_analyze.sh > todo.log; echo "TODO is placed in todo.log"; } function fileCount(){ # Outputs the count of haskell, java script, css , python, html and bash script files haskell=$(find . -type f - name ".hs" |...
40478b038edf739026e36b239f73d903b601713f
71
javac ../*.java jar cvfm ../WumpusGame.jar ../manifest.txt ../*.class
7a1da2b660cc5ceee5edb7f1bbe2394aa3678d15
382
#echo "Type the location of a FILE to check: " #read FILE #Takes filename as argument FILE=$0 for FILE in $@ do [ -f $FILE ] && echo "This is a file" [ -d $FILE ] && echo "This is a directory" if [ -d $FILE ] then echo "" echo "Contents of Directory: " echo "" ls $FILE...
ef33fe39bcb6be88879c5bd16f4cd473fb035617
608
#!/bin/bash dnsname=${1} ctrlDnsName=${2} baseDomainHostedZoneId=${3} aws route53 change-resource-record-sets --cli-input-json '{ "HostedZoneId": "'${baseDomainHostedZoneId}'", "ChangeBatch" :{ "Comment": "Delete CNAME for DSM to ctrl", "Changes": [ { "Action": "DELETE", "ResourceReco...
c9b5972b9ada2a6ca64e36f05fa5c693a0a75413
462
#!/bin/sh # - pre exec - module load miniconda-3 conda activate $HOME/ve.rp $HOME/mongo/bin/mongod -f $HOME/mongo/etc/mongodb.theta.conf export RADICAL_PILOT_DBURL="mongodb://rct:jdWeRT634k@`hostname -f`:59361/rct_db" export RADICAL_LOG_LVL="DEBUG" export RADICAL_PROFILE="TRUE" # - exec - $HOME/DrugWorkflows/workfl...
f1e59d1765e63b2e5ade282588d0c7c7e0718b78
398
#!/bin/bash if [[ "$OSTYPE" == "linux-gnu"* ]]; then echo "Linux detected." sudo apt install gcc-avr avr-libc avrdude elif [[ "$OSTYPE" == "darwin"* ]]; then echo "MacOS detected." echo "Installing osx-cross/avr..." brew tap osx-cross/avr brew install avr-gcc echo "Installing avrdude..." #brew instal...
b25b9ec3b2fa7581f7fe1b2b1e202c1f95c91ba8
384
#!/bin/sh # $FreeBSD: src/tools/regression/fstest/tests/rmdir/12.t,v 1.1 2007/01/17 01:42:11 pjd Exp $ desc="rmdir returns EINVAL if the last component of the path is '.' or '..'" n0=`namegen` n1=`namegen` expect 0 mkdir ${n0} 0755 expect 0 mkdir ${n0}/${n1} 0755 expect EINVAL rmdir ${n0}/${n1}/. expect EINVAL rmdir...
c389b5eb573afbfc455e02511a20989b0d5ce82a
5,555
#!/usr/bin/env bash function wait_for_deployment_done() { echo "Waiting for $CDS_DEPLOYMENT deployment done" local idle_count=0 local active_tasks local starting_vms local failed_vapp local failed_svc local redeploy_svc_count=0 while [ true ] do let idle_count=idle_count+1 [ $($CDS_CLI tasks...
78d9bcc8d8b754ec80090cb4e6eaf21d09f68295
835
#!/bin/bash cd /gpfs/users/mantecap/CMSSW_11_1_0/src/MonoHGenTree/MonoHGenTree2DScans/python eval `scramv1 runtime -sh` ls /gpfs/projects/cms/fernanpe/DarkHiggs_MonoHs_HsToWWTo2l2nu_mhs_400_mx_300_mZp_800_TuneCP5_13TeV/RunIISummer20UL18_wmLHEGEN/*/*/wmLHEGEN_inRAWSIM_*.root|sed 's/^/file:/'>list/list_400_300_800.txt cm...
c8367cab7f3db810567ef0a9ef14cc32116cfe05
177
gcc -c -std=c99 -o jetsonGPIO.o jetsonGPIO.c g++ -c -std=c++0x -o linux_spi.o linux_spi.cpp g++ -c -std=c++0x -o main.o main.cpp g++ -o spiTest jetsonGPIO.o linux_spi.o main.o
d2f24028d51945e317215a2b04ba2be42ba19cfc
157
#!/bin/bash while ! nc -z "$LOGSTASH_HOST" "$LOGSTASH_PORT"; do echo "Waiting for the Log Service" sleep 5 done java $JAVA_OPTS -jar $ARTIFACT_FILE
9134596840a4fe3fbc2c9f2333404ea4a9dca07b
123
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #Call the other script ( cd "${DIR}" ; python -m SimpleHTTPServer )
a2566c4747c4b1d425ef3a0e66bfead48b6dde43
2,366
AUTH0_CLIENT_SECRET=xvN7_wAjdg2qTBk-yv4W0P1piNSYPT8Ie3EWCP2Wh6ucEYZCySujJb76-JJ8W8rL AUTH0_CLIENT_ID=ZVc76goDgE70BwtzczOfOWBxsV1m9P7W AUTH0_DOMAIN=javs.auth0.com AUTH0_API_KEY=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik9EUXdPVFZHUlVFeFF6RTFSa0pCUVVFM04wVTRSa1kzTURjMU16STRNems1TlRaQk1FRkNPUSJ9.eyJpc3MiOiJodHRwczovL2p...
deb7561ff11683728d2c49cffbc93757f742e599
224
#!/bin/bash ## bump version o=$(./version android) if [ $# = 1 ]; then v="$1" else v=$(($o + 1)) fi echo "set android version code $o -> $v" sed -i "s/android-versionCode=\"$o\" /android-versionCode=\"$v\" /" config.xml
622a52b55c3c9002e075802bc2b231a46fe25af9
189
#!/bin/bash echo "Firstly boot a Android TV with Android Studio" echo "Reload the application with Double tap R + R or CTRL + M" echo "Starting... the Application" react-native run-android
e8f94e0388a48a0d962b42a3fd3b21ae1bb3e6c2
5,663
#!/bin/bash PROGNAME=$(basename $0) #sysfs SYSFS_CPU="/sys/devices/system/cpu" SYSFS_NODE="/sys/devices/system/node" CPU_POSSIBLE_COUNT=$(ls -d ${SYSFS_CPU}/cpu[0-9]* | wc -l) NODE_POSSIBLE_COUNT=$(ls -1d ${SYSFS_NODE}/node[0-9]* | wc -l) rm -rf output mkdir -p output if [ 1 -eq 1 ]; then echo ">>>$PROGNAME: Comp...
91a15a5b52aeb0e91690ef75a41e881b7b597f73
142
#!/bin/sh python cmgPostProcessing.py --leptonSelection=soft --samples=$1 & python cmgPostProcessing.py --leptonSelection=hard --samples=$1 &
bbdb6b6201a64cd1279bbbdc370eeb11dec375e5
1,964
#!/bin/bash # This set of tests must be run in a clean environment # It can either be run in docker of github actions . $HOME/.asdf/asdf.sh [[ -z ${DEBUGX:-} ]] || set -x set -euo pipefail sep=" " [[ -z ${ASDF_LEGACY:-} ]] || sep="-" script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" function test_plu...
5eaed328fbdd087cb075234f382d0e5c52d1c757
4,671
#! /bin/bash # -*- mode: sh -*- KEY=$RANDOM res1=$(mktemp --tmpdir term-tab1.XXXXXXXX) res2=$(mktemp --tmpdir term-tab2.XXXXXXXX) res3=$(mktemp --tmpdir term-tab3.XXXXXXXX) out=$(mktemp --tmpdir term-out.XXXXXXXX) # cleanup trap "rm -f $res1 $res2 $res3 $out" EXIT export YAD_OPTIONS="--bool-fmt=t --se...
9dc0e91547f7fa92b1424ac236b5e404380cc83d
161
#!/bin/sh gcc -o bit_test bit_test.c -lm /bin/cp -f project_template.cmd project.cmd ./bit_test > temp.out /bin/cat temp.out >> project.cmd /bin/rm -f temp.out
bf6b6c2de2051d07c887110020bfd5d3f0fe154c
485
#!/bin/bash # $1 = username and password # $2 = org # $3 = space # $4 = space role cf create-user $1 $1 cf set-space-role $1 $2 $3 $4 USERNAME=admin HOSTNAME=node8 MYSQLSTART='mysql -u root robocode -e "insert into roles (userid, role, space, password) values(' VALUES="'"$1"','"$4"','"$2$3"', encrypt('"$1"','JBS')"...
af68ce19665029dc42fcafe42fd4c458acb146bf
263
#!/bin/bash # CS 2017.1.7 # Sets up the program Picovoice Cheetah. # set -e [ -d ../.env_cheetah ] && rm -Rf ../.env_cheetah virtualenv -p python3.7 ../.env_cheetah . ../.env_cheetah/bin/activate pip install -r ../requirements.txt time python test_cheetah.py
0324599056eab06997ac704f02fb534764cb0449
41
#!/bin/sh _tunnel $1 1.hk.ali.veryweb.me
0076b4cd30a58f6da9be1e7d4a9c8ab32c179179
45
#!/bin/bash phpunit $1 > "temp.log" & wait;
b68c3fa492bc6b58db5ccbb670fb2e76a7af53de
142
#!/usr/bin/env bash sudo apt-get update # need make to build redis sudo apt-get install -y git ruby make supervisor sudo gem install redis
9a8225ad22288ea3d8224aa22040349067c0242d
2,358
# total 7 files ./spksort.py cluster --njobs=3 data/d001_Chabo/data_postproc/z_new_psfpk/Chabo_20110302_RSVPNicole305_S110204_002.c1.feat.h5 data/d001_Chabo/data_postproc/z_new_psfpk/Chabo_20110302_RSVPNicole305_S110204_002.c2.clu.h5 --ref=data/d001_Chabo/data_postproc/z_new_psfpk/Chabo_20110302_RSVPNicole305...
f91d85dfd7584a59389533163b4145ded6c9309e
33
brew cask install font-russo-one
7c77a89dbc0268f28cf04fe9158dd340837d5d7b
1,248
#!/bin/sh MYHOME=`pwd` light="light.sh" cat > $light <<EOF #/bin/sh usage() { echo "Usage: " echo " \$0 <project name> " echo " " return 0 } if test \$# -ne 1; then usage exit 1 fi NAME=\$1 EOF base=`find $MYHOME -type d |gre...
6a7016311175dac0d6d81129aabf450761f58b70
540
#!/bin/sh set -e case "$1" in configure) systemctl daemon-reload if [ -z "$2" ]; then if ! getent passwd wirelogd >>/dev/null 2>&1 ; then useradd --home-dir /var/run/wirelogd --shell /usr/sbin/nologin --system --user-group wirelogd if command -v setfacl >...
2828b3b1e44eb7e5c09fb92b7abe713b4db823b0
5,935
#!/bin/bash ### # So, the purpose of this file is to do the actual install of sas, mostly using ansible as the driving engine. It expects to be a long running process on the box and not to need to be interupted. In case of an error, it should exit uncleanly. # This expects to be run by the install_runner_base.sh, which...
65bd07d7eaf397b75787cd34c8776fa9614743c9
1,594
# Splits data into train, dev, and test (60%, 20%, 20%). This split is not used per se because we ended up needing two splits, so we used train and dev and test combined. # Example: input: data/Posts_Subset.xml_combined_mallet, output in data folder: MetaData_mallet_*, Posts_mallet_*, Tags_mallet_*, Titles_mallet_* fi...
2efd994210300b88829733ea3771cd1c92de8aaa
126
#!/bin/bash echo "Waiting for DB to fire up...." ./wait-for-it.sh db:27017 echo "Db started" sleep 4 ls -l set -e exec $@
7aa2c53b9a50781b191c539a72da84febe02daff
1,942
#!/bin/bash # Disable Strict Host checking for non interactive git clones # Enable custom nginx config files if they exist if [ -f /var/www/html/conf/nginx/nginx.conf ]; then cp /var/www/html/conf/nginx/nginx.conf /etc/nginx/nginx.conf fi if [ -f /var/www/html/conf/nginx/default.conf ]; then cp /var/www/html/co...
6ffd3b7cfbe508a78c5d4d573401949bc7a668fb
187
#!/bin/bash -x echo "Guess the number between 1 to 100" low=1 high=100 mid=0 mid=$(((low+high)/2)) isNotMagicNumber=1 while (($isNotMagicNumber==1)) do echo $notMagicNumber done
8c673acba7528e9cf71b0d5a367c5aa3fedaffbb
215
#! /bin/bash source ~/python-2.6/virtenv/bin/activate chmod +x $OPENSHIFT_REPO_DIR/.openshift/cron/daily/InsiderCollector.py nohup python $OPENSHIFT_REPO_DIR/.openshift/cron/daily/InsiderCollector.py &> /dev/null &
45f98391a1db1b9a12fce4907bad5fa365328950
41
FLASK_ENV=development FLASK_APP=todolist
02081a55449c1aebcc737603a5d4c76ecaff18b0
219
#!/bin/bash # docker compose curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
cd5a01e3fceba07f24f221effed86e5f015c4e07
713
#!/usr/bin/env zsh -f # get the latest stable build of Dropbox # # From: Timothy J. Luoma # Mail: luomat at gmail dot com # Date: 2013-06-10 POST_URL=$(curl -sL 'https://www.dropbox.com/release_notes/rss.xml' | fgrep -A1 'New Testing Build' | fgrep '<link>' | head -1 | sed 's#.*<link>##g; s#</link>##g') URL=$(curl -s...
1b70e6226e31daa8ec0a0e342e57fc68222f8783
1,193
# Deploy shortcuts alias devpush='rake deploy:dev' alias devlogs='heroku logs -t --app propertybrother-prod' alias prodpush='rake deploy:prod ' alias prodlogs='heroku logs -t --app propertybrother-dev' # heroku alias devconsole='heroku run rails c --app propertybrother-prod' # Runs non-feature/integration specs firs...
3a50fe29178e3532c83c2a75ad5ddf2299fec6d0
110
#http://subtech.g.hatena.ne.jp/secondlife/20110916/1316142314 tcpdump -i eth0 port 80 -s 0 -l -w - | strings
901e80ec341a5647dad477cb13e2d1dbb7b86b3a
808
#!/usr/bin/with-contenv bashio # Fail hard on errors. set -euo pipefail # Load configurable options from options.json. echo "Loading configuration..." home_id="$(bashio::config 'home_id')" gcp_project_id="$(bashio::config 'gcp_project_id')" export HOME_ID="${home_id}" export GCP_PROJECT_ID="${gcp_project_id}" # Load...
cf924afdbe84f5d3bd67067f05c88ba5345df6fa
3,695
#!/bin/sh exec tail -n +3 $0 menuentry "Knoppix" { loopback loop (hd0,msdos2)/xiso/knoppix.iso linux (loop)/boot/isolinux/linux64 bootfrom=/dev/sda2/xiso/knoppix.iso acpi=off noeject noswap fromhd=/dev/sda2 knoppix_dir=KNOPPIX lang=en_GB apm=power-off initrd=minirt.gz libata.force=noncq hpsa.hpsa_allow_any=1 initrd (l...
92cc3b50bb8653d34389075967e68a2803d587a8
893
MY_HOSTNAME='theDarwinProject' MY_SSH_PORT='24' MY_INTERNET_PORT='1337' MY_USER='master' MY_USER_PASSWD="!!!theDarwinPr0jectIsAFuckingPr0ject!!!" MY_USER_ID_RSA_PUB="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDwydc+FiLc+WAjSfUQT0lRnObG/qkMi9Vxds/+qHaYuwU/9lZRRd+kyDJFrHwGHFJNMAmQcViVRzNX6bZ7S7TwfWXQvDXae2V6VpKaqr2LrYcLol3urd...
60fdda6c22ea2529a8358a6eb86733857fff300f
4,431
#!/bin/bash set -e DOTFILES_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export DOTFILES_ROOT export DOTFILES_LOG_FILE="/tmp/dotfiles.log" DOTFILES_ONLY_DOTFILES=false DOTFILES_NO_INTERACTION=false DOTFILES_ACCEPT_MSCOREFONTS_EULA=false DOTFILES_ARG_ROOT=false DOTFILES_ARG_HELP=false export overwrite_all...
7808f62fe3885a51e825062767e7aa0356b1502d
247
export OS_PROJECT_DOMAIN_ID=default export OS_USER_DOMAIN_ID=default export OS_PROJECT_NAME=demo export OS_TENANT_NAME=demo export OS_USERNAME=demo export OS_PASSWORD=demo export OS_AUTH_URL=http://controller:5000/v3 export OS_IMAGE_API_VERSION=2
b23d37907a575435067acf1a8c2016a51ab25290
2,065
# usage: # after `git pull`, a full build is now `depsbcr` # and after changes.. a `bcr` will recompile and relaunch chrome. function deps () { # --reset drops local changes. often great, but if making changes inside v8, you don't want to use --reset env GYP_DEFINES=disable_nacl=1 gclient sync --delete_unversi...
7ba0503c64747e8cb04d22df9bc0e5884ff3683d
407
#! /bin/bash # description add authomatic all user rm -rf group.ldif rm -rf user.ldif python group_make_ldif.py groupfile.txt group.ldif python user_make_ldif.py user_file.txt user.ldif # insisde from network or docker(from out must use ip address) ldapadd -h ldap_schema -D "cn=Manager,dc=edt,dc=org" -w jupiter -f g...
244ac3b964eea733df5cc05a0fd4cbdcd786a4d5
459
#!/bin/bash #################################### # # Installs consul in macOS 10.13.6 (17G65) # Darwin 17.7.0 2018 # # ref.:https://www.consul.io/downloads.html # #################################### # latest 1.2.3 # ./install_consul.sh 1.2.3 wget https://releases.hashicorp.com/consul/$1/consul_$1...
5da780941e4337915f3d75d2c23db1240f18e104
1,168
#!/usr/bin/env bash # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2017-09-13 14:47:23 +0200 (Wed, 13 Sep 2017) # # https://github.com/HariSekhon/Dockerfiles # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally se...
b7917b92a80be1a101231b2df5d436d0fc1f5266
3,774
#!/bin/bash # CentOS Linux release (version?) 系统 初始化脚本 # Powered by Reborn # 参考 https://github.com/bboysoulcn/centos add_user() { echo "starting add user ..." read -p "Username:" username echo "Password:" read -s password sudo adduser $username if [ "$?" = "0" ]; then echo $password | sudo passwd --std...
0f4a0a69e38f4b84adecb3a90c0bc6934888ffb0
68
#!/bin/bash ASSWORD_PASSWORD=prompt assword_add_or_replace.sh "$@"
eea5a99c768d4780a759108cc0b9fc20ff3207c3
792
#!/bin/sh echo "Preparing OpenVPN build environment" pkg update pkg install --yes sudo automake autoconf fping git lzo2 liblz4 \ libtool mbedtls cmake # make sure tap driver is loaded (tun automatically is) kldload if_tap if grep if_tap /boot/loader.conf then echo "loader.conf already has if_tap" else echo ...
2d50baeb4988652c351256faedb78267f15ad6b9
163
#!/bin/bash #APP="${1}" APP=$* function activate_app { /usr/bin/osascript <<END_SCRIPT tell application "${APP}" activate end tell END_SCRIPT } activate_app
265a229305fe20f598182711a69adc12f7657cef
223
function language() { echo -e "\033[0;36m\t" echo "***** $1 *****" echo -e "\033[0m" } function section() { echo -e "\033[0;33m\t\n== $1 ==\033[0m" } function step() { echo -e "\033[1;31m$1\033[0m" }
c1e0170ae7636679beeb753186b1f449442185a0
91
alias tabml_build_protos='cd $TABML; protoc -I=./ --python_out=./ ./tabml/protos/*.proto;'
0249cc65375f0beaedd55d4dd0431099d6090133
629
#!/bin/bash source set.sh #confjs="${mongosdir}/conf.js" #mongo_cmd="docker exec -it ${mongosname} mongo " mongos_host=127.0.0.1 echo " db = connect('${mongos_host}:${mongos_port}/admin'); db.getSiblingDB('admin'); sh.addShard('shard1/${host1}:${shard1_port},${host2}:${shard1_port},${host3}:${shard1_port}') sh.addS...
9c611a2524cd7e23b08cee5a21ad08fe006b3c18
37
RABBITMQ_URL=test:test@10.251.11.134
f91965e85279d3928da2975fc9e0b0f43091d2b7
299
#!/usr/bin/env bash export CURR_DIR=`pwd` export SRC_DIR="$CURR_DIR/src/main/java" export DEMO_HOME="$CURR_DIR/target" export RTI_FILE="conf/RTI.rid" export LOG4J="log4j.configurationFile=conf/log4j2.xml" export IPV4="java.net.preferIPv4Stack=true" export CONFIG_FILE="$DEMO_HOME/conf/config.json"
3ecc358a28f81a30b50456160f649ca501e0e81b
80
ADAPTER=${1:-"vboxnet1"} sudo ifconfig $ADAPTER down sudo ifconfig $ADAPTER up
73cacd6c7883203d1bd0ac3bc219c4398bc52761
1,026
java -jar target/benchmarks.jar SimplifiedBenchmark2.benchmarkDirect -f 1 -i 10 -wi 10 -bm avgt -tu ms -jvm /home/aroger/dev/dev8/build/linux-x86_64-normal-server-fastdebug/jdk/bin/java -jvmArgs "-XX:+PrintOpto -XX:+WizardMode -XX:+PrintMethodData -XX:+PrintMiscellaneous -XX:+TraceOptoParse -XX:+PrintNMethods -XX:+Pri...
b7fd2b4515a18f267c7623c576d3372d08df6c86
171
cd out rm -Rf .git git init git add -A git commit -a -m "Deployed at $(date)" git remote add origin git@github.com:BoostIO/boostio.github.io.git git push -f origin master
aaa475a7391f80836a8f4a7056186a082567363b
53
#!/bin/bash make clean && make all && make program
52347caead6e1bb05401f2d96efb1965b52762a5
146
#!/usr/bin/env bash id=$(xdotool search --class "$1" | awk 'NR == 1') if [ "$id" != "" ] then bspc node "$id" --flag hidden -f else $1 & fi
e54377e53cb2fe216a51c3c897a8367c7406d53e
1,850
#!/bin/sh # High Memory Command - Jobarray # Run only about 20 at a time. Kill any jobs on the same node as the memory will grow and kill it. # bsub -J "makecorr[108,109,111,113]" -q week -o "makecorr%I.out" -R mem32 -R RH5 -R blade2 /afs/isis/pkg/matlab-2009b/matlab -nodisplay -nojvm -nosplash -r create_corr_matrices ...
e93d11cb4d48a2cfc282559571844642b595a700
342
#!/bin/bash user='nginx' if [[ $1 ]]; then IFS=':' read -ra arr <<< "$1" if [[ ${arr[0]} ]]; then user=${arr[0]}; fi fi spawn-fcgi -M 0660 -s /var/run/fcgiwrap.socket -u $user -g nginx -U $user -- `which fcgiwrap` chmod -R g+rw /var/run/fcgiwrap.socket /etc/nginx/conf.d/* chown -R :nginx /etc/nginx/conf.d/* n...
4d68cd9e513dd8c29224f2fab5c7dd3827954de4
142
#!/bin/sh xsetroot -cursor_name left_ptr & dispcalGUI-apply-profiles & feh --bg-fill -z ~/wallpaper/*.* & thunar --daemon & clipit & urxvtd &
7abbb9f1e091ac126aa3cc353111b0f245f3de5d
1,886
#!/bin/bash # # Copyright (c) 2018, SixSq Sarl # # 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 l...
a0450ae97339b8e47c2c2802c149c27aeadb9163
1,977
#!/bin/bash ApiUrl="${EX_ApiUrl:-}" Html5Mode="${EX_Html5Mode:-false}" EnableSsl="${EX_EnableSsl:-false}" EnableAccountCreation="${EX_EnableAccountCreation:-true}" OAuth="${EX_ConnectionStrings__OAuth:-}" IFS=';' read -a oauthParts <<< "$OAuth" for part in ${oauthParts[@]} do key="$( cut -d '=' -f 1 <<< $part )"; e...
466bea798e8a4b6cfbc006a467ec8942c6f33421
182
Finding file with regexes Extracting `tar` files to a specific directory Deleting non-empty directories Working with `.gz` files Find the unknown process preventing deleting of files
6b58c3cf775a89ad00ac876ea8192dbae12506e3
820
#!/bin/bash sqlite3 ctf.db 'CREATE TABLE categories ( id INTEGER PRIMARY KEY, name TEXT );' sqlite3 ctf.db 'CREATE TABLE tasks (id INTEGER PRIMARY KEY, name TEXT, desc TEXT, hint TEXT, solve TEXT, author TEXT, file TEXT, flag TEXT, score INT, category INT, FOREIGN KEY(category) REFERENCES categories(id) ON DELETE CASC...
88ef977e2a3a114491308c46e5cdb318e9bdf234
887
read -p "Name of integration: " name echo "Copying files" cd .. cp -r upsales-node-integration-template $name cd $name sed -i "" "s/upsales-node-integration-template/$name/g" package.json echo "# $name _Short description what the integration does_ ## Where is it? _Where is it running_ _What endpoint does it listen to...
417a1a5328fa2564ea27daf615132a6430ec6f3e
356
#!/bin/bash set -e #docker rm -f postgres || true && docker run -d -p 54321:5432 --name postgres postgres #docker rm -f pgadmin || true && docker run -p 5050:5050 -d --name pgadmin "thajeztah/pgadmin4" docker rm -f mongo || true && docker run -p 27018:27017 -d --name mongo mongo docker rm -f redis ||true && docker run...
d66768489b52d9e44fec8df81ce6a26f76ff0e33
166
#!/bin/bash mysql < /usr/share/zoneminder/db/zm_create.sql mysql -e "grant select,insert,update,delete,create on zm.* to 'zmuser'@localhost identified by 'zmpass';"
6625508e2bd5dacb01630b57b634d5c71dae983f
7,045
#!/bin/bash # A simple countdown timer written in bash script # Author: Timothy Lin <lzh9102@gmail.com> # Date: 2011-07-21 # Messages INTERRUPT_MSG="Count down stopped by user interrupt." TIMEUP_MSG="Time is up." # Constants SEC_PER_MIN=60 SEC_PER_HOUR=`expr $SEC_PER_MIN \* 60` SEC_PER_DAY=`expr $SEC_PER_HOUR \* 24` ...
ac7b6b77ae4682b64b9372b4b1609675b92e085f
410
#/bin.bash USER=`whoami` rdesktop -d 3INTERNAL 172.28.64.150 -k sv -g 1853x1056 -P -b -D -N -a 16 -z -5 -x m -z -B -r sound:off -r disk:share=/mnt/foretag/$USER/Documents/ # -z add for RDP datastream compression # -P bitmap aching, speeds up xfers # -F forcibly disable the internal backing buffer # -b Force the se...
91be0718987530d4d93bb5918a52806beb3150cb
133
# project HOST= DOMAIN= # django DEBUG=True SECRET_KEY= EMAIL_HOST= # database DB_NAME= DB_USER= DB_PASSWORD= DB_HOST= DB_PORT=5432
1ce7d61b701145fd67309727dde5640422bfadca
125
#!/bin/bash docker run -d -p 5701:5701 --name hazelcast1 -e "GROUP_NAME=test-group" -e "GROUP_PASS=test" fferreira/hazelcast
790052cf8efe8338aee2fec4c6f9a6ee3ae088dd
746
cd $MTURK_CMD_HOME/bin/ ./grantBonus.sh -workerid A1CF8UAT2GVF4R -amount 3.0 -assignment 3DEL4X4EL7W1AHX2F3345MKXQPKYXE -reason "Bonus Payment" ./grantBonus.sh -workerid A20YCH1UOFGQZB -amount 3.0 -assignment 32ZKVD547GYTHBXDLMIWQVXSYLUB35 -reason "Bonus Payment" ./grantBonus.sh -workerid A28NNO56HW1N3B -amount 3.0 -as...