blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
98db6a3732a8b5d097d88e7b937e83b1010cd8ac
2,425
#!/bin/bash source ./includes/setVars.sh while true; do echo ""; echo "Choose one of the following possibilities:" echo " 0 - Stop webnm" echo " 1 - Setup network" echo " 2 - Change hosts files" echo " 3 - Change formsweb" echo " 4 - Change Oracle virtual hosts" echo " 5 - Deploy ORDS ...
e443da908254e48e7825b54bd519390f411ac752
95
#!/bin/bash cd lib/linux/glew make clean make extensions make -j4 make clean lib lib/libGLEW.a
f6385d504247c29787e5c25a7f70a907bd34bbb3
447
#!/bin/sh ## kill off xserver. For example, if you are running lightdm: sudo systemctl stop lightdm ## note, you do not need to run rpc.ttdbserver. If you *really* want to, ## then start it with /usr/dt/bin/rpc.ttdbserver and confirm its running ## rpcinfo -p ## You can log off root and into your regular user here...
c84a632b5a2d0bd8084128cd2217b56ac70d153a
365
#!/usr/bin/env sh set -eu # Creating tmp dir to push to gh-pages branch mkdir -p ./gh-pages rm -rf ./gh-pages/* yarn upgrade algolia-frontend-components # Building website cd ./website node ./buildComponents.js middleman build mv -fn ./build/* ../gh-pages rm ../gh-pages/images/.keep # Copying the demo cd ../gh-page...
fe76d8c3ae04bdc3e40dec2a566c6432b2c20d04
604
#!/bin/bash #SBATCH --time=24:00:00 #SBATCH --job-name=Draw_simulation #SBATCH --mem=5G #SBATCH --array=1-9%9 #SBATCH --partition=mulan,nomosix #SBATCH --output=/net/mulan/home/qidif/scRNA_Method/Res_Summary/simulation_figures/test.out #SBATCH --error=/net/mulan/home/qidif/scRNA_Method/Res_Summary/simulation_figures/t...
4f546295ecd2d2064cf80aa4bcbf0252cb327a0f
68
#!/bin/sh lein2 midje if [ $? -eq 0 ]; then lein2 perforate; fi
81e12b226c60d78553f19ba988655cb2527fdc99
759
# Disclaimer: # too many path assumptions and too little error checks! # don't use it, it is only a (dirty) memo for Marco # # ... if you know what you are doing: # workon django_auth_media # . deploy_test.sh python setup.py sdist deactivate mkvirtualenv test_auth_media pip install django==1.8.13 pip install git+htt...
9861270870c466fcc3ab67d8b2613f242811e1ef
2,015
#!/bin/sh ### BEGIN INIT INFO # Provides: elsinore # Required-Start: $remote_fs $syslog $network $named # Required-Stop: $remote_fs $syslog $network $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: StrangeBrew Elsinore Brewery Controller # Description: Start and...
a3a96bf532dbe0c49ca2d6c83fdc7de03c0351b7
130
#!/bin/bash if [ $1 ] then echo "Interfaces are: " sudo ip netns exec $1 ip link list else echo "No argument!" fi
8729208f6daa56d9757c9780aeb16781906ecd68
1,023
pkg uninstall driver/fc/emlxs driver/fc/qlc driver/fc/emlxs driver/fc/qlc driver/infiniband/connectx driver/network/ethernet/bge driver/network/ethernet/bnx driver/network/ethernet/bnxe driver/network/ethernet/cxge driver/network/ethernet/i40e driver/network/ethernet/igb driver/network/ethernet/ixgb driver/network/et...
d9c4a26f83746b430f98bee80afd92b8aaed6d47
252
#!/bin/bash assert_ok "$FLOW" find-module --strip-root --json ./req test.js assert_ok "$FLOW" get-def --strip-root --json test.js 3 2 assert_ok "$FLOW" get-def --strip-root --json test.js 2 10 assert_ok "$FLOW" get-def --strip-root --json test.js 5 18
faf091645a5e1aa021f21c6ebb809986bdb164ca
126
input="$1" echo "$input" if [ "$(echo "$input" | rev)" == "$input" ] then echo "Palindrome" else echo "Not a Palindrome" fi
ac89c8a0ec52b15750d7178dc505f821ac91ff3b
70
#!/bin/bash ./ci/deploy.sh 'site-4wardfabrications-prod' 'production'
4c4975daaa86a4c697e972df98bad3a80d75e76e
1,287
#!/bin/bash SDI_CFG_DIR=/etc/opx/sdi SQL_CREATE=sdi-db-create.sql DN_SDI_DB_NAME=vm-test.db DN_SDI_DB_INIT=sdi-db-test-init.sql DN_SDI_DB_SEM_KEY=0x564d5554 # VMUT BIN_DIR=$(dirname $0) DN_SDI_DB_BASE_DIR=$(realpath $BIN_DIR/data/) TEST_DB="$DN_SDI_DB_BASE_DIR/$DN_SDI_DB_NAME" # Copy the create script over to the ...
d98825815b2397b2dabcd3c9b9e06c8ca0f3c274
2,096
#!/bin/bash set -e # it should be done in Ansible sudo apt remove nano sudo apt purge apport sudo apt install pandoc vim mc gnome-tweaks diodon meld curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add - echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list....
56a5d4d24efc374be1bf653d70e97e6bffa99005
327
#!/bin/sh # Script to update apache server git pull origin master # create new build folder npm run build # stop nginx server sudo systemctl stop nginx # clear old assets rm -rf /var/www/html/ # copy new assets cp -a build/. /var/www/html/ # restart nginx server sudo systemctl start nginx echo "Deploy complete success...
739127f6e177388bf9a7c4c6a54c9f84f35d924a
344
#!/bin/sh java -DBROKER_URL="amqp://<%= node['rabbitmq']['user'] %>:<%= node['rabbitmq']['password'] %>@<%= node['rabbitmq']['host'] %>:<%= node['rabbitmq']['port'] %>/<%= node['rabbitmq']['vhost'] %>" \ -DNEO4J_JDBC_URL="jdbc:neo4j://<%= node['neo4j']['host'] %>:<%= node['neo4j']['port'] %>" \ -jar builds/T...
3151e30e2606d17a287aa312b09e4f2711c04f80
2,152
#!/usr/bin/env bats load helpers "/pdc/entrypoint.sh" function setup() { cp -a /usr/sbin/samba /usr/sbin/samba.bak > /dev/null 2>&1 || true ln -f -s $(which true) /usr/sbin/samba stub echo stub samba-tool stub sleep stub pkill export ADMIN_PASSWORD="p@ssword0" CHECK_COUNT_WHETHER_SAMB...
fc41f1f017ed26552c50cfa078474b27f59f1989
358
#!/bin/bash # Setup protobuf platform for M1 Mac arch_name="$(uname -m)" if [ "${arch_name}" = "x86_64" ] && [[ "$OSTYPE" == "darwin"* ]]; then if [ "$(sysctl -in sysctl.proc_translated)" = "1" ]; then echo 'protobuf_platform=osx-x86_64' >> ../oppia-android/local.properties echo 'Added protobuf pla...
dfefaa7458d93ad2403d624ff1e965ebdc338b23
106
find ~/data/data/transformed/sopr_html "*.json" | xargs cat | jq ".registrant.name" | sort -u > names.txt
c31e34466ddb5a713d1a431277c3099a9a7a27bc
780
CORE_PEER_ENDORSER_ENABLE=true CORE_PEER_ADDRESS=peer1:7051 CORE_PEER_CHAINCODELISTENADDRESS=peer1:7052 CORE_PEER_ID=org0-peer1 CORE_PEER_LOCALMSPID=Org0MSP CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1:7051 CORE_PEER_GOSSIP_USELEADERELECTION=true CORE_PEER_GOSSIP_ORGLEADER=false CORE_PEER_TLS_ENABLED=false CORE_PEER_TLS...
c2bcc21e40f86162c7e612dcc0fde0515582062d
153
#!/bin/sh # avinfo.sh - 音声・動画ファイルの情報を得る mplayer -identify -ao null -vo null -frames 0 "$1" 2>/dev/null | \ grep ^ID
3d834a1b8944d693203c4ec9d6adaee4ddebd98f
1,284
#!/bin/bash # Test setting # roscore xterm -e roscore & sleep 5 & # launch rosbridge xterm -e roslaunch rosbridge_server rosbridge_websocket.launch & # launch vicon bridge xterm -e roslaunch vicon_bridge vicon.launch & # launch gazebo world roslaunch gazebo_ros plain_vicon_clue_world.launch & # # Set up device ...
f1ef76110f83325e96cc23927386606e67a91fa1
77
#!/bin/bash cd /r2cloud_public_ui env FLASK_APP=root.py flask run -h 0.0.0.0
471a3c0e63e115ae36fab4010e6634f11ad1151c
733
#!/usr/bin/env bash # Summary: Speed up downloading Python in China # # Usage: pyenv download <python-version> # set -e [ -n "$PYENV_DEBUG" ] && set -x usage() { pyenv-help download 2>/dev/null [ -z "$1" ] || exit "$1" } if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then usage 0 fi URL="https://mirrors.hua...
0f1750ab8f6235aed93694e9d7c93287809e71cb
419
#!/bin/bash set -e BUILD_PATH=$(nix-build --option tarball-ttl 0 ./release.nix --no-out-link) echo "Signing path " $BUILD_PATH nix store sign -k /etc/nix/boro-priv.key $(nix-store -qR $BUILD_PATH) echo "Copying new path" nix copy -v $BUILD_PATH --to ssh://nixie echo "The new maki is now on nixie at: $BUILD_PATH" ssh...
14822265305df22bf0706168d415a0cc8034fd65
68
NEXT_PUBLIC_POKEAPI_GRAPHPQL=https://beta.pokeapi.co/graphql/v1beta
35758b502301fe4f2c8d00f6783be21fb18ed882
132
#!/bin/bash docker network create --driver overlay elastic ELASTIC_VERSION=6.2.4 docker stack deploy -c docker-compose.yml elastic
187bcefe22cb485b3e133f5eb904de45e7466fd2
349
#!/bin/sh ACTION=$( { echo 'Lock screen'; echo 'Suspend'; echo 'Logout'; echo 'Shut down'; echo 'Reboot'; } \ | dmenu -p 'Execute' ) case "${ACTION}" in Lock\ screen) slock ;; Suspend) sudo zzz ;; Logout) pkill xinit; logout;; Shut\ down) sudo shutdown -h now;; Reboo...
a5af6bbf3ab4928f7c8acbcf8ca9f89073a2d39a
862
{% if profile.mail %} <a href="mailto:{{profile.mail}}"> {% endif %} {{ profile.name }} {% if profile.mail %} </a> {% endif %} {% if profile.linkedin %} <a href="http://{{ profile.linkedin }}"> <img src="{{ ASSET_PATH }}../img/linkedin.png"> </a> {% endif %} {% if profile.twitter %} <a href="http://twitter.com/{{ pr...
ce7eb967031c865853c54d2221be5cdd5d751406
124
#!/bin/sh # sc new.jpg -s -d 3 PWD=`pwd` FPATH=${PWD}/../pop/fly/pic/ FNAME=$1 shift OP=$* scrot ${OP} ${FPATH}${FNAME}
e44bb011191084265747335040dcbf4155530adf
215
#! /bin/bash # h264ref loops benchmark # By: Andy Stone (aistone@gmail.com) # (C)opyright 2007, contributors of OpenAnalysis runTimedBenchmark "/s/bach/e/proj/oadev/testprogs/h264ref.files" "h264ref" "--oa-Loop"
4b4c6b34cacb3d8240545a465168bea2a7bc43c0
117
#!/bin/sh set -e cd /app export RAILS_ENV=test bundle exec rails db:migrate bundle exec rails test bundle exec rspec
fd125f8f57fe8ad03e5edf906ab43267191ef035
71
#!/bin/sh cd "$(dirname "$0")" while true; do python3 app.py done
ec4908ad1c71b19d50759f9a2ea1e682410f49fd
3,775
#!/bin/bash # # jarWrapper Startup script for the RunDeck Launcher install # paramaters: # - env vars: [] # - standard RDECK_PORT values: [http: 4440, https: 4443] # 主目录 BASE_DIR="/home/yanghaibin/deployWorkspace" # 检查主目录是否可写 [ -w $BASE_DIR ] || { echo "BASE_DIR dir not writable: $BASE_DIR" exit ...
c6210725427cd1edbafa79aa355f7ef7a26f362b
299
#!/bin/bash GT_HOST=${1:-$GT_PRODUCTION_HOST} GT_PATH=${2:-$GT_PRODUCTION_PATH} BKP_NAME=${3:-$(date -I)} # Set working dir relative to script's location cd "${0%/*}/../.." ssh $GT_HOST $GT_PATH/scripts/db/backup.sh $BKP_NAME scp "${GT_HOST}:${GT_PATH}/app/backup/${BKP_NAME}.sql.gz" ./app/backup/
f34cad1afe4e0ed533856a6dcacf31e7f51e372c
64
cd /home/appinventor/Desktop/App-Inventor-2-VM-Sources git pull
2fc68ddced358da886f97801906f24cf0b1e902d
106
cp ../bin/grtm ../bin/trav . ./grtm.pl -Mcrust1.0/0 -N10/0.04 100 ./grtm.pl -Mcrust1.0/10 -N10/0.04 100
707e27dc5d67e4c69a14cf12863475e64b0dc008
683
#!/bin/sh # Copyright (C) 2014 Team OctOS # # OctOS overlay script created by Treken for copying files to specified directories # # For recursive directories a permisions flag "-p" must be used # For overwriting files the force flag "-f" must be used # # Disclaimer: # We are not responsible if you edit this script and ...
66d85e381d4dd160414e9c8cc34556e2a7f50cbb
140
#!/bin/sh GAME_DIR=${1:-$PWD} pushd "$GAME_DIR" ln -s /usr/lib/emuera/Emuera.exe .#Emuera.exe wine .#Emuera.exe rm .#Emuera.exe popd
153db96d6b14f62e239c78b6ad436df04723ef50
206
$ lsof <file-or-dir-path> # see which processes use this file or dir $ lsof -p <process-number> # see some process's related file $ lsof -u <username> # see user related files $ lsof -i :80 $ lsof -i TCP
b82fab610bd60e5b2ae40d408d37a3eed7bc6650
151
#!/bin/bash curl -sL https://downloads.slack-edge.com/linux_releases/slack-2.5.1-0.1.fc21.x86_64.rpm > /tmp/slack.rpm yum install -y /tmp/slack.rpm
0fcea7b11d69727e438ce86fe09a5460d83291b9
52
set -x cd models/dcn/ python setup.py build develop
7269427443ffa8e75bf75873d28ef5d3f963f777
295
#!/bin/bash # This script will build the project. echo -e "Running unit tests..." source ~/.nvm/nvm.sh NODE_JS_VERSION=`node -e 'console.log(require("./package.json").engines.node.replace(/[^\d\.]/g, ""))'`; nvm install $NODE_JS_VERSION ./node_modules/.bin/karma start --single-run --coverage
dd92cb5fd3d957ce2118d577fa6fcea6b7a84a22
3,090
#!/bin/sh -e ## Setup variables INSTALL_ARTIFACTS_DIR=${INSTALL_ARTIFACTS_DIR:-/vagrant/artifacts} INSTALL_NAME=${INSTALL_NAME:-selenium} INSTALL_BASE=${INSTALL_BASE:-/opt} INSTALL_VERSION=${INSTALL_VERSION:-3.141.59} SYSTEMD_DIR=/etc/systemd/system ARTIFACT_TARBALL=$INSTALL_ARTIFACTS_DIR/selenium-server-standalone-$I...
1ad54cd08b8d973eeb4f12574236d5155739cae2
1,419
#!/usr/bin/env bash # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2016-09-27 17:25:36 +0100 (Tue, 27 Sep 2016) # # https://github.com/harisekhon/pytools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send m...
e3546fb7657e138bd57e5f8105a37f27d812859f
385
#!/bin/bash #set -vex OUTDIR=/its1/GB_BT2/jianzuoyi/projects/Chicken/20.processing_for_gatk/merge_data while read dir do sm=$(echo $dir | awk -F '/' '{print $10}') # echo $sm out_dir=${OUTDIR}/${sm} read1=${sm}_1.fq.gz read2=${sm}_2.fq.gz echo "mkdir -p $out_dir;cd $dir; cat *_1.fq.gz > ${out_di...
f768017305bf4bee33088eea7b9aa63fbf6ac0b4
1,607
#!/bin/bash # #SBATCH --job-name=deterministic #SBATCH --output=logs/slurm_%A_%a.out #SBATCH --error=logs/slurm_%A_%a.err #SBATCH -p cs #SBATCH --time=6:00:00 #SBATCH --mem=10GB #SBATCH --nodes=1 #SBATCH --tasks=8 #SBATCH --tasks-per-node=8 #SBATCH --cpus-per-task=1 module load intel/19.1.2 module load python/intel...
4ac98dfb94ff036c0cc62ca59bf45783cc4d6e4e
3,755
#!/bin/bash # run bank generation 12 at time, 4 in a row --> 12 cpu needed # input sets coverage (default sets 0.4 0.7 0.7) cd ../CMSSW_6_1_2_SLHC6_patch1/src/amsimulation # configurations SS=32 DC=0 COV=0.5 if [ "$#" = 1 ] then COV=$1 fi FK=0 SEC=0 ActiveLayers="5 6 7 8 9 10" # input tracks PTMIN=2 PTMAX=100 ...
229d2e65b019e4952622927bf45e81fd270f156f
1,192
#! /bin/sh # Copyright 2014 Midokura 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 law or agreed t...
5e87aad8b2565f358b1e6cac5e5e516fa2ba7885
1,343
#!/bin/bash #function: # 1.检查所有平台备份情况 #错误显示 print_error(){ echo -e "\033[33;1m检查所有平台备份:\033[0m" echo -e "\033[33;1m $0 CENTER chkbak all\033[0m" exit 0 } #开始脚本 cd `dirname $0` CENTER_NAME=$1 #获取服务器列表 /usr/bin/php get_plat.php if [[ $# != 3 ]];then print_error exit fi #CENTER_PLATS=(uc yy...
0fcecd87c7d005db81b229680026151c2975cf1a
733
#!/bin/bash echo "---CREATING DATABASE AND USER---" psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --set=DB_NAME=$DB_NAME --set=DB_USERNAME=$DB_USERNAME --set=DB_PASS=$DB_PASSWD -f /sql-scripts/1-init-db.sql echo "---CREATING EXTENSIONS IN DATABASE---" psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname ...
df8271886d61ab20c603570f22c5121e2d5bf5de
309
#!/usr/bin/env bash export GOPATH=${PWD}:$GOPATH export PATH=${PWD}/bin:$PATH export CGO_ENABLED=1 echo "编译x86_64的dll" export GOOS=windows export GOARCH="amd64" export CC="x86_64-w64-mingw32-gcc" go build -o ./Plugins/NativePlugin.dll -buildmode=c-shared src/NativePlugin/main.go echo "编译完成"
d09dfa9621a2258f0e80c69380ad0b5ebe70afbd
10,963
#!/bin/bash # Venudhar Chinthakuntla # Script to remove metadevice and recreate new devices as per the NBU latest version minimum space requirement. BASEDIR=/usr/openv TEMP_VARTMP=/var/tmp TEMP_CRASH=/var/crash TEMP_SWAP=/var/run BASEDIR_LOG=${BASEDIR}/netbackup/logs PLATFORM=`uname -s` BASE_TAR="CORE_DIR_BKUP_$(da...
64e815dda8d7d20c04bbd39db259315349779629
787
#!/bin/bash mode=$1; if [ $mode = "-v" ];then classType="IView"; action="regView"; elif [ $mode = '-c' ];then classType="ICtrl"; action="regCtrl"; elif [ $mode = 'm' ];then classType="IModel"; action="regModel"; fi if [ $classType = '' ];then echo "Please enter the type of class, can be -v , -c or -m." exit 0;...
a710d10e9b84f3b153b5ab6b208cde9c4000351f
480
#!/usr/bin/env bash BIN="game-of-life_$(uname -m).bin" function build() { mkdir -p bin gcc -o bin/$BIN src/main.c -l curses ln -sf $PWD/bin/$BIN $PWD/run } if [[ $1 == '-c' || $1 == '--clean' ]]; then rm -rf bin rm -rf run exit fi if [ -f '/usr/include/curses.h' ]; then build elif [[ $1 == '-f' || $1 == '...
9f7c23daa3c102391141f108390ef1aadffe04a6
105
#!/bin/sh export HSA_DEBUG=1 export LD_LIBRARY_PATH=/opt/rocm/hsa/lib:/opt/rocm/gcc6/lib64 ./omp_veccopy
7a1b12736105bc67b2341980a0ad88dea5c426c3
48
#!/usr/bin/env bash set -ex yarn create vite
76d77b67939fdff8bf4a2c2131f4963e22488db1
1,179
#!/usr/bin/env bash #!/bin/bash export DATA_DIR="/iesl/canvas/mmcmahon/data/" # python grotoap_to_tfrecords.py --out_dir $DATA_DIR/pruned_pmc/train-30-lex-xlabels --load_vocab # $DATA_DIR/pruned_PMC_min_10.txt --grotoap_dir /iesl/canvas/mmcmahon/data/GROTOAP2/grotoap2/dataset/train --bilou --use_lexicons additional...
bb25fbb044af421f848a9d750f8fe7b777be5d11
972
#!/bin/sh # Create a SSH tunnel on host $1 using local port $2 of type $3 # # tunnel host [port] [static|dynamic] [rport] # tunnel port [dynamic|static] [host] [rport] # # Defaults for port and type are respectively, 3000 and static # if test "x$1" = "x-h"; then echo "Syntax:" echo " tunnel port [dynamic|stati...
bb43c8334703b3c3c89881c866ec5d7f25f73b5d
394
TERMUX_PKG_HOMEPAGE=https://www.lysator.liu.se/~nisse/nettle/ TERMUX_PKG_DESCRIPTION="Cryptographic library that is designed to fit easily in more or less any context" TERMUX_PKG_DEPENDS="libgmp" TERMUX_PKG_VERSION=3.4 TERMUX_PKG_SHA256=ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a411e94 TERMUX_PKG_SRCURL=...
6f7248138ca164ae8ff6078058f6681c956f3839
66
#!/bin/sh -e vendor/bin/phpcbf --standard=PSR12 bin src test web
8afbb785ecf7e4c9f77c6a544e4cb1847518d3b6
4,447
#!/bin/bash # ### BEGIN INIT INFO # Provides: bangdb-server # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $network # Should-Stop: $network # Default-Start: 2 3 5 # Default-Stop: 1 # Short-Description: bangdb server daemon # Description: BangDB server ### EN...
800ec55e215cf93449d9123c44ac375e2ecbcd36
143
composer dump-autoload php artisan clear-compiled php artisan view:clear php artisan optimize php artisan config:cache php artisan cache:clear
32305a3225033c357dcd9e84ba81b4f5f19cd840
1,744
#!/bin/bash personal-setup() { export _DOTFILES=$(cd $(dirname $(readlink -f ${BASH_SOURCE})) && pwd) source ${_DOTFILES}/etc/functions.sh alias b="source ~/.bash_aliases" # Multiline history. shopt -s cmdhist shopt -s lithist # Less annoying globs. shopt -s globstar git-aware ...
9c6e15c860dc24b219576eda5d0947508c64ea44
1,944
#!/bin/bash echo "Please use devtoolset-4-gcc" exit 0 CUR_DIR=$(cd `dirname $0`; pwd) VERSION="5.4.1" #The DATE is also specifed in gcc.spec DATE="20160603" TAR_FILENAME="gcc-""${VERSION}""-${DATE}.tar.bz2" #SVNREV="247088" SVNREV="247733" nvptx_tools_gitrev="c28050f60193b3b95a18866a96f03334e874e78f" nvptx_newlib_gi...
8836468433b806b9c150ae7346f90b391948ac00
94
#!/bin/bash docker run --env-file certbot.env --rm -v letsencrypt:/etc/letsencrypt stratobot
ba73f0544b03185807691cc6f0b305505975de10
374
#!/bin/bash -x set -e trap exit SIGINT ulimit -v 16000000000 ./strips.py conv puzzle summary mandrill 3 3 36 20000 ./strips.py conv puzzle summary mnist 3 3 36 20000 ./strips.py conv puzzle summary spider 3 3 36 20000 ./strips.py conv hanoi summary 7 4 36 10000 ./strips.py conv lightsout summary digital 4 36 20000 ...
8a4179423e240f3c22a87a52200e0640764b5924
551
#!/bin/bash # Make sure only root can run if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi yum install -y gcc make yum install -y "kernel-devel-uname-r == $(uname -r)" yum groupinstall -y "X Window System" pushd /tmp # at this location is a file called LATEST.txt (I think) tha...
484c5153c297b7ddad96179e53b84e3e27079f28
721
USE_GPU=$1 mkdir checkpoint/language; mkdir mappings/language; PYTHONPATH=. python main.py --schema-path data/craigslist-schema.json --train-examples-paths data/train-luis-post-new.json --test-examples-paths data/dev-luis-post-new.json \ --price-tracker data/price_tracker.pkl \ --model lf2lf \ --model-path checkpoint/...
b15d3d9fb3c26b9d0a915429f28dc5f2bf804ff4
472
#!/usr/bin/env bash sudo mkdir -p /var/lib/ckan/default #add line in ini file sudo vim /etc/ckan/default/development.ini #add after [app:main] #ckan.storage_path = /var/lib/ckan/default #set permissions on the uploads folder #create storage files sudo mkdir -p /var/lib/ckan/resources sudo chmod u+rwx /var/lib/cka...
fd60711a7cae7270cba7b93a7669816c9c511919
852
#!/bin/sh # Run this script to use a local copy of osu-framework rather than fetching it from nuget. # It expects the osu-framework directory to be at the same level as the osu directory # # https://github.com/ppy/osu-framework/wiki/Testing-local-framework-checkout-with-other-projects CSPROJ="osu.Game/osu.Game.csproj...
6884ca5907dc577c45141e10809bbd26ce1ed0ff
845
## Choose a Mysql database, login and password MYSQL_DB=ghtrading MYSQL_USER=ghtrading MYSQL_PASSWORD=ghtrading ## Configure here the Github Credential ## Those credential are used to parse changes into ## Git repositories, if not set, you will get error ## as Github will limit the number of requests. GITHUB_PARSER_LO...
3e49930ea05d9cbe0901a49978a8d4810ea6bbb0
44
#!/bin/bash grep -e 'date' -i -e 'year' *
f0ced196c7388fc7bee449f6c71bd17e1935547c
402
#!/bin/sh cd /home/nicola/PerfTestEC java -jar perftest.jar 10 100 1 java -jar perftest.jar 100 100 1 java -jar perftest.jar 200 100 1 java -jar perftest.jar 300 100 1 java -jar perftest.jar 400 100 1 java -jar perftest.jar 500 100 1 java -jar perftest.jar 600 100 1 java -jar perftest.jar 700 100 1 java -jar perftest...
be32b84c73df3dfa38609cf4a0df3a1eda08323a
40
FLASK_APP=notejam FLASK_ENV=development
38d4ac21431772c514d65eb83bcaaf538eaf5a17
473
# Server Urls NEXT_PUBLIC_SERVER_URL=http://localhost # Firebase env vars NEXT_PUBLIC_FIREBASE_API_KEY= NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN= # Google Analytics 4 Measurement ID NEXT_PUBLIC_GOOGLE_ANALYTICS_ID= # Stripe env vars NEXT_PUBLIC_STRIPE_BASIC_PLAN= NEXT_PUBLIC_STRIPE_BASIC_PLAN_PRICE= NEXT_PUBLIC_STRIPE_BASI...
5ee806fee242364f5bc522446ee24c9437eba9ae
394
export VPC_SECURITY_GROUP=sg-65aa8f18 export REP_SECURITY_GROUP=sg-cdba91b0 export SUBNET_CLUSTER=subnet-644d3002 export SUBNET_REPLICAST=subnet-5c28503a export KEY_NAME_NEDGE=nedge-us-west-2 export PEM_FILE="${HOME}/.ssh/${KEY_NAME_NEDGE}.pem" export IAM_PROFILE_NEDGE=IAM_PROFILE_NEDGE export EC2_INSTANCE_PREFIX=nvme-...
0d19bbadad2f3f9d58a1799514b8ecedceaf5bbf
523
#!/bin/bash export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig \ OPENMP_HEADER_DIR=${PREFIX}/include \ OPENMP_LIB_DIR=${PREFIX}/lib \ FREETYPE_DIR=${PREFIX} mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} -DOPENSSL_ROOT_DIR=${PREFIX} \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS_RELEASE="-L${PREFI...
becb5abf909203d1a060f3c0fcfb7649c578f38d
2,798
#!/bin/bash processGroup1=$1 processGroup2=$2 processGroup1="ce502eb3-015e-1000-abbd-6377bd0d0d7b" processGroup2="85c3d88f-4578-36d3-220f-57d464628e24" mainProcessGroup="" # get connections where first process group is the sourceGroupId config=$(cat config.json) url=$(echo $config | ./jq '.dev.url' | sed "s/\"//g")...
26e10cd6db48fb90dddb088967069db3cc368dab
105
PATH_TO_BINARY="$1" shift ARGS="$@" OCAML_GC_STATS=/dev/stderr "$PATH_TO_BINARY" $ARGS 2>&1 1>/dev/null
68bfa203e0456f59b3fd17db4ec2b0709d2461a7
125
#!/bin/bash mkdir -p ~/workspace cd ~/workspace git clone https://github.com/powerline/fonts.git cd fonts bash install.sh
e499615013e93ecb219eb67e446da206a0b145af
4,417
#!/bin/bash banner() { clear printf "\n" printf "\n" printf "\e[1;77m _ __ __ ______ __ _ __ __ \e[0m\n" printf "\e[1;77m| | / /__ / /_ / ____/ ______ / /___ (_) /_____ _/ /_...
7fdd2a780fbeaa696884c2190586b31ab9c02018
125
# copy this to .env and update the values to be real CONVERT_KIT_API_KEY=some_api_key CONVERT_KIT_API_SECRET=some_api_secret
729dd742260ee2373dc46073c1f0836043478b35
1,070
#!/bin/bash -e HERE=$(dirname $(readlink -f $0)) source $HERE/../helpers.sh require_params PLATFORM cd /srv west || run pip3 install -U west run west init -m https://github.com/foundriesio/zmp-manifest --mr refs/heads/master run west update west manifest --freeze --out /archive/west.yml run pip3 install -r zmp-manif...
72a996b8fdbf456930bd0813bb3c42af7cf09b3c
456
#set up ssh keys for vagrant user sudo cp -rf /home/vagrant/shared/ssh-keys/.ssh /home/vagrant sudo chown -R vagrant:vagrant /home/vagrant/.ssh sudo chmod 700 /home/vagrant/.ssh sudo chmod 600 /home/vagrant/.ssh/id_rsa echo . echo These are the ssh keys to access this VM. echo There should be the vagrant public key and...
93027f7635dbd2679d7293b41c97bd1af5ca2486
87
#!/bin/bash source venv/bin/activate make develop make generate-proto clear python -V
355c60fc815510cb0c1acbd6fa77a1513a2f46bb
922
#!/usr/bin/env sh if [ "$#" -eq 0 ]; then echo "usage: git-file-history <FILE> <NUM-COMMITS> [START-COMMIT]" exit fi GIT_CMD=$([ ! -z "$GIT_CMD" ] && echo "$GIT_CMD" || echo "git") file_path="$1" file_name="$(basename "$file_path")" num_commits="$2" start_commit=$([ ! -z "$3" ] && echo "$3" || echo "") output...
d9ad03e18a89801f6bbad307c96b9565d7f225c8
461
#!/bin/bash # # (@) Andre Kahles 2013 set -e if [ -z "$1" ] then nodes="$(qstat | grep -w -e r -e Rr | cut -f 2 -d '@' | cut -f 1 -d '.' | sort -u)" else nodes="$1" fi if [ ! -z "$nodes" ] then echo "" for node in $nodes do echo "jobs on $node" qstat | grep -w -e r -e Rr | grep ...
dc5c1400d78fe82f9dda9816d35d34ab0ba8683d
368
#!/usr/bin/env bash eb create -v -t web -s -c active-elastic-job web-env eb create -v -t worker -s worker-env eb setenv -e web-env SECRET_KEY_BASE=secret AWS_REGION=eu-central-1 eb setenv -e worker-env SECRET_KEY_BASE=secret AWS_REGION=eu-central-1 WEB_ENV_HOST=active-elastic-job.eu-central-1.elasticbeanstalk.com WE...
155e4189bacfd02600788679b168f5ea91a0a52d
147
git init git add --all git commit -m "first commit" git remote add origin https://github.com/heaerie/nodehttpserver.git git push -u origin master
f8da3ca978e3bcd423ff518e28a0e9532dae826e
3,491
#!/bin/bash -ex # 1 - value to search for # 2 - value to replace prop_replace () { sed -i -e "s|^$1=.*$|$1=$2|" ${nifi_props_file} } # NIFI_HOME is defined by an ENV command in the backing Dockerfile nifi_props_file=${NIFI_HOME}/conf/nifi.properties # setup zookeeper prop_replace 'nifi.zookeeper.connect.string' '...
085017a06ad222502f10938ab0b6d25daf8a2f12
50
#!/bin/bash echo "nothing to be done for sysstat"
5c04732e7da2396cbf04e6c024c753866de217af
3,150
#!/usr/bin/env bash # parameters remaintex=1 output=summary exclude=() # help HELP="Usage: $0 [-r] [-f <filename>] [-e <excludename>] -r remain tex file -f set output file name (default: $output) -e exclude word (can use multiple time) -h print this help " while getopts rf:e:h OPT;do ((OPTNUM++)) ...
afdf5155299f62b48d6de6186c3a1b23a48681b0
3,086
#!/bin/bash export PATH="/usr/local/bin:/usr/local/sbin:$PATH:/bin:/usr/bin:/sbin:/usr/sbin" export base="$(readlink -f "$(dirname "$0")")"; export url=https://mynew.interserver.net/qs_queue.php export dir=${base}; export log=$dir/cron.output; export old_cron=1; function age() { local filename=$1 local changed=...
92b4206633ef61bb1b93e16d5b7f2e36419f592f
11,549
#!/bin/bash ############################### ref=$1 outref=$2 finaloutfile=$3 outformat=$4 Allelecode=$5 Pedigree=$6 ############################### echo " " echo " " echo "@***********************************************************************@" echo "@ Genotype imputation of sporadic missing alleles ...
45361aea08e05d61af8acc6bd21feaf6cfcdbcb5
209
#!/bin/sh ./jl_mfcc2sdc.jl -n 7 -d 1 -p 3 -k 7 \ --nmfcc 7 \ --h5-mfcc-file "testX_mfcc_7.h5" \ --h5-mfcc-dset "lid/test/X/mfcc" \ --h5-sdc-file "testX_sdc_7137.h5" \ --h5-sdc-dset "lid/test/X/sdc"
f5955c5b3edb9480a14da70fbee934ad64c648ab
1,326
#!/bin/bash ( set -euo pipefail cd $(dirname $0) MELADIR="." DATA_LIB_DIR="slc6_amd64_gcc530" export SCRAM_ARCH=$DATA_LIB_DIR printenv () { if [ -z "${LD_LIBRARY_PATH+x}" ]; then end='' else end=':$LD_LIBRARY_PATH' fi echo "export LD_LIBRARY_PATH=$(readlink -f $MELADIR)/data/$DATA_LIB_D...
8c34e0c31c14cf5db7fff9713c36c43982e4146f
359
docker run \ --name db_mysql_container \ -p 12345:3306 \ -v "${PWD}"/data:/var/lib/mysql \ -v "${PWD}"/init:/docker-entrypoint-initdb.d \ -e MYSQL_ROOT_PASSWORD=corddatabase \ -e MYSQL_USER=corddatabase \ -e MYSQL_PASSWORD=corddatabase \ -e MYSQL_DATABASE=cord-bert \ -d \ mysql:8 \ --innodb-dedica...
cf3f3a88b0466fac13f5d51bd2c84a17f2f99dda
1,767
#!/bin/bash alias x='DISPLAY=:100 ' # launch on xpra alias xcl='xclip -selection clipboard' alias tm='~/scripts/tmux-open-session.sh' alias top='top -o "%MEM"' alias rebash='source ~/.bashrc' alias gitc='git-cola' alias ag='ag --path-to-ignore=~/.agignore' # Add an "alert" alias for long running commands. Use like ...