blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
bf8a45fd3ad5fdde0a6a46d962e348ed36d71b36
1,818
sh /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTEi_GN107/shellscripts/step_2/0.bam2fa.sh sh /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTEi_GN107/shellscripts/step_3/0.te_repeat.blat.sh sh /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTEi_GN107/shellscripts/step_3/1.te_repeat.blat.sh sh /bigdata/c...
b32104b591bf08745e15a41fe416fdaa54ed9bad
1,681
#!/bin/bash # --------------------------------------------------------------------------- # this - test # Copyright 2018, <root@PC> # All rights reserved. # Usage: this [-h|--help] [-h|--help] [-q|--quit] # Revision history: # 2018-03-20 Created by script_gen ver. 3.3 # ---------------------------------------------...
29d56e0eaaf59e4f95899627f16db21f84819b48
7,852
python svFitSubmitter.py -sd /hdfs/store/user/caillol/smhet2016_23may_merged/Out_DataBv1 -es=0 -ues=0 -res=0 -jes=0 --jobName smhet2016_svfitted_23may python svFitSubmitter.py -sd /hdfs/store/user/caillol/smhet2016_23may_merged/Out_DataBv2 -es=0 -ues=0 -res=0 -jes=0 --jobName smhet2016_svfitted_23may python svFitSubmit...
69bde021592135929a15c58b098404cec15de30e
150
#!/usr/bin/env bash sequelize-auto -o './sql_models' -d es4 -h es4.clmk2ccz7ewv.us-west-2.rds.amazonaws.com -u es4admin -p 3306 -x es4admin -e mysql;
1469ac834e8cadf1a4feae503ed196a29a94a59e
20
#!/bin/bash pwd /n
b44c81b7182dfe058e609d5b0a6b893528a7820a
831
docker build -t tonyth00/multi-client:latest -t tonyth00/multi-client:$SHA -f ./client/Dockerfile ./client docker build -t tonyth00/multi-server:latest -t tonyth00/multi-server:$SHA -f ./server/Dockerfile ./server docker build -t tonyth00/multi-worker:latest -t tonyth00/multi-worker:$SHA -f ./worker/Dockerfile ./worker...
b0912b36b3370964e3d1bc3cd458038509d12f39
448
#!/usr/bin/env bash set -e TARGET_USER='nginx' # Change uid and gid of user $TARGET_USER to match current dir's owner if [ "$MAP_WWW_UID" != "no" ]; then if [ ! -d "$MAP_WWW_UID" ]; then MAP_WWW_UID=$PWD fi uid=$(stat -c '%u' "$MAP_WWW_UID") gid=$(stat -c '%g' "$MAP_WWW_UID") usermod -u $...
d21c69b04965f16f889e01828c06446b2ef0361e
14,090
#!/bin/bash ###################################################################### # 2018-11-13-raspbian-stretch-lite ################################################################## # if a GPS module is already installed and is giving GPS feed on the GPIO-serial port, # it can generate error messages to the conso...
3ff3e5d4694c61bd5477a25b3edf6edc6eada955
3,158
# Wait for Wattlog microsleep 10000000 # Load App {{{timing}}} am start -n com.nci.lian.client/com.nci.lian.client.ui.SplashActivity microsleep 10000000 {{{timing}}} ###### swipe ########## tapnswipe /dev/input/event1 swipe 20 1100 20 100 microsleep 2000000 ###### tap ########## tapnswipe /dev/input/event1 tap 105 663 ...
ae99b48532045ebc08f09bc82853e548ba58b41f
132
container_name="$(docker ps -a -f "name=react-start-node" --format "{{.Names}}" | head -1)" docker exec -it "$container_name" bash
4853eafc5923469a7cf5393934ea8f20dd504d3d
355
#!/bin/bash if [ "$#" -lt 1 ]; then echo "Usage: $0 file-to-view" exit 1 fi if [ ! -f "$1" ]; then echo "File '$1' doesn't exist!" exit 1 fi case ${1##*.} in key) openssl rsa -noout -text -in $1 ;; crt) openssl x509 -noout -text -in $1 ;; csr) openssl req -noout -text -in $1 ;; *) echo 'Unknown ...
841dbe1fedeb02bd356cfba2f90a8516a1c95c51
1,710
#!/bin/bash ################### #instalando Docker-CE if ! grep -q "docker" /etc/apt/sources.list /etc/apt/sources.list.d/*; then echo "Adicionar chave GPG oficial do Docker" curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - #Use o seguinte comando para configurar o repositório estáve...
86ccb818e6017902f17fb75328e89c8de30ca70c
560
# !/usr/bin/env bash # build the docs cd doc make clean make html cd .. # commit and push git add -A git commit -m "building and pushing docs" git push origin master # switch branches and pull the data we want git checkout gh-pages rm -rf . touch .nojekyll git checkout master doc/build/html cp -r ./doc/build/html/* ...
693d4f5646719a8b86791d5bafc5ff68e9e0c953
1,056
#!/usr/bin/env bash >&2 echo "Exception in thread "main" java.lang.UnsupportedClassVersionError: net/serenitybdd/cli/Serenity : Unsupported major.minor version 51.0" >&2 echo " at java.lang.ClassLoader.defineClass1(Native Method)" >&2 echo " at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)" >&2 echo " at...
a417208666120b51560276dadcbd311cf3d817ba
3,589
#!/bin/sh NETWORK=${UNS_NET:-livenet} # default livenet TOKEN="uns" echo "network : $NETWORK" echo "token : $TOKEN" if [ "$NETWORK" == "livenet" ]; then unlink /opt/uns/packages/core/bin/config/livenet/sandbox-plugins.js cp /opt/uns/packages/core/bin/config/sandbox/plugins.js /opt/uns/packages/core/bin/config/li...
aa048a7c01a9f81107ce3a32479fac192fb0886a
32
PYTHON_DEPS="jupyter-packaging"
a3f0bc2a3cf9dcaf07ff2d6c59aa60400115a1c9
82
export study_id=2; export subject_id=154; bash analysis_for_one_subject_AFNI.sh;
ca39f21eb414b5ed695d7faa39d0702369341b78
1,635
pkgname=freeradius-wpe pkgver=2.0.2 pkgrel=3 pkgdesc="The premier open source RADIUS server - Wireless Pwnage Edition (WPE), demonstrating RADIUS impersonation vulnerabilities" groups=('blackarch' 'blackarch-wireless') arch=('i686' 'x86_64') url='http://www.freeradius.org/' license=("GPL") provides=('freeradius') depen...
928ddcbba22787017025a1ec210af7b829d676b5
48
GITHUB_AUTH= MONGO_URI= BASIC_USER= BASIC_PASS=
e5495c3c17d61a82503ae01527c8022fa9100ca1
23,045
#!/bin/bash #40000/17= 249 12339252 0 webm none opus ' https' https://r4---sn-25glene6.googlevideo.com/videoplayback?expire=1565854214&ei=prVUXaVq14uTBu28p-gP&ip=148.163.76.139&id=o-AM91MlkMeUL6Om1jRs9AhcTdrxsjbBsUaN93JxHHaQSp&itag=249&source=youtube&requiressl=yes&mm=31%2C29&mn=sn-...
cb1322878a0ba8ade6bf09678485f7c3c8ba000d
321
#!/usr/bin/env bash #stop and remove all containers docker stop tut-memcache docker rm tut-memcache docker stop tut-app docker rm tut-app #remove the images docker rmi memcached:1.5.10-alpine docker rmi tut-app-image docker images -qf dangling=true | xargs docker rmi #remove the network docker network rm tut-networ...
c9230d5c7c7c0ab0d2b33514ac97bdea2b01cf59
368
#!/bin/bash # sudo add-apt-repository ppa:morgwai/tpbat # sudo apt-get update && sudo apt-get install acpi tpacpi-bat tpbat-utils-acpi tlp # # This script updates the tlp thresholds for the battery to 96%/100% to maximise battery capacity # if [[ $EUID -ne 0 ]]; then echo "You must be a root user." 2>&1 exit 1 else...
4078f41f16cd278b603ba0bd83f3b461c252431c
1,034
OUTPUT_DIR=/user/s1998230/assignment/task1 OUTPUT_FILE=output.out # Hadoop won't start if the output directory already exists hdfs dfs -rm -r $OUTPUT_DIR hadoop jar /opt/hadoop/hadoop-2.9.2/share/hadoop/tools/lib/hadoop-streaming-2.9.2.jar \ -D mapreduce.job.name=s1998230_task1 \ -D mapreduce.job.output.key.c...
603584b043f63a0f73905e11eb00682e331d1c0d
420
#!/bin/bash show-stack () { aws cloudformation describe-stacks --output table --stack-name $1 } INFRA_ID=$(jq -r .infraID metadata.json) STAGE=$1 NU=1 if [ -z $STAGE ] then echo "set the stage variable" exit fi while [ $NU = 1 ];do show-stack $INFRA_ID-$STAGE | grep CREATE_IN_PROGRESS && echo in_progress...
87db8ddd13c88e2b9bd24b11c130b6b5535d47bd
978
#!/bin/bash # # # usesless for exclude.txt ,i dont know :( # # # mqnoy@2019 # FILE_NAME="cacti_backup_$(date +\%d\_%m\_%Y).tar.gz" #CACTI_LOCATION = "/usr/share/cacti/" DST_PATH_BACKUPS="/home/backupcacti/" #your directory EXCLUDE_PATH="/home/_devops/exclude.txt" echo "++++++++++++++++++++++++++++++++++++++++++++++...
83d21081a4c8ab8dfa3197fdc7927bd5918cf32f
1,716
#!/bin/bash # export GUACAMOLE_HOME="$HOME/.guacamole" export GUACAMOLE_EXT="$GUACAMOLE_HOME/extensions" export GUACAMOLE_LIB="$GUACAMOLE_HOME/lib" export GUACAMOLE_PROPERTIES="$GUACAMOLE_HOME/guacamole.properties" set_property() { NAME="$1" VALUE="$2" # Ensure guacamole.properties exists if [ ! -e "$GUACAMOLE_PROP...
e8d58172354f8f799ab603d075ddb151d92fa984
552
#!/bin/bash # Copy the contents into the structure used by an EPrints 3.4 ingredient. # run ./make_ingredient.sh # then place ingredients/archivematica under your EPrints 3.4 ingredients directory # update your flavours/pub_lib/inc file to include ingredients/archivematica # run epadmin update REPO # apachectl gracef...
a55d3aa3676f9aeee9d3007e3170d6cf4c45c894
477
#!/bin/bash set -e sudo apt-get update sudo apt-get upgrade -y sudo apt-get dist-upgrade -y sudo apt-get autoremove -y sudo pip install -U pip sudo pip2 install -U pip sudo pip3 install -U pip sudo pip install -U neovim sudo pip2 install -U neovim sudo pip3 install -U neovim sudo docker pull alpine sudo docker pull...
c45ebe39539a174c284d589d8e3e9a44a1e25eef
576
#!/bin/bash set -x # Load .env variables export $(egrep -v '^#' .env | xargs) vault secrets enable database vault write database/config/my-database \ plugin_name=mysql-database-plugin \ connection_url="{{username}}:{{password}}@tcp(mysql:3306)/" \ allowed_roles=my-role username=${MYSQL_ROOT_USERNAME} pas...
3c189254e3d699ca92df1bd1651118c5df999ec0
529
ruby script/generate scaffold WebBus capacity:integer ruby script/generate scaffold WebLocation web_bus_id:integer latitude:float longitude:float is_current:boolean is_end:boolean is_pickup:boolean is_dropdown:boolean web_passenger_id:integer order_num:integer ruby script/generate scaffold WebPassenger password:string ...
75d55de7d1685372dbec69631554da47680b1b82
91
#!/bin/bash ./gradlew build docker build -t url-shortener-service . docker-compose up -d
e90574b19e429461ba4a42d78525c0a3df90fd73
118
#!/bin/bash for i in $(seq 1 20) do noiseFactor=3 detectionRadius=1 process_transient FT_100000_$i.dat $i done
f3d99f5cc8a11450cf2ccae9325c624d07a9943d
77
#!/bin/sh cp vendor/twbs/bootstrap/dist/css/bootstrap.min.css web/assets/css
0b7c350ebc718f5e42439e9c3a6b3933604d022d
45
/usr/clas12/hps/v3.0.0/bin/hpsRocRebootAll.sh
b2f742e331da308e73838c912575247c82099e1a
170
SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET SPOTIFY_REDIRECT_URI=YOUR_SPOTIFY_REDIRECT_URI SPOTIFY_SCOPE=YOUR_SPOTIFY_SCOPE
43d6ad724c270631b22330a591149eee26f70eb0
423
# !/bin/bash if [ -s $1 ] then IFS=$'\n' arr=(`cat -n $1 | sort -uk2 | sort -uk1 |cut -f2`) declare -i loop loop=${#arr[@]} declare -i loopt loopt=0 while [ $loopt -le $loop ] do if [ $loopt=0 ] then echo -n "`echo ${arr[$loopt]} 1>temp`" else echo -n "`echo ${arr[$loopt]} 1>>temp`" fi loopt=`e...
9f9e53f5e92d645042f2cc6162a93705f121ebab
92
rm invalid_emails_list.txt rm valid_emails_list.txt rm log_file.txt rm tmp_valid_emails.txt
df3f0fef51f57865833ba1dbd81b13e1d3c58c55
469
#!/usr/bin/env bash set -euo pipefail #which psql > /dev/null || (echoerr "Please ensure that postgres client is in your PATH" && exit 1) #mkdir -p $HOME/docker/volumes/postgres #rm -rf $HOME/docker/volumes/postgres/data docker run --name pg-docker -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=dev -d -p 5432:5432 pos...
0bfdc8a0464f9bcf0ad128e2007ff538d31af6d4
6,027
#!/bin/bash # # clean_vcf_part1b.sh # # # # Copyright (C) 2018 Harrison Brand<hbrand1@mgh.harvard.edu> # Distributed under terms of the MIT license. set -euxo pipefail ##gzipped vcf from clean vcf part1.sh## int_vcf_gz=$1 ##Remove CNVs that are improperly genotyped by depth because they are nested within a real CNV...
9b75db4073b159de5c25d1d9d30f33e98bbbf623
680
#!/bin/bash [[ -f "$1" ]] || { echo "$1 not found" exit 1 } t=$(mktemp) tac "$1" | awk -F, ' BEGIN { OFS=","; v["EXCHANGE"] = 0.0; v["TRADING"] = 0.0; v["DEPOSIT"] = 0.0; } { sub(/^.* on wallet /, "", $2); v[toupper($2)] = $4; print $5, v["EXCHANGE"], v["TRADING"], v["DEPOSIT"] } ' > "$t" gp=$(m...
4050580c3936aab34c04c8f04939045ee2786d4b
73
#!/usr/bin/env bash # Script to change the sudo user sudo -u "$1" whoami
b5cabfb3edabd53eb185fd036055cbc5a48a513a
335
#!/bin/sh WATCH_LIST[0]=/dir WATCH_LIST[1]=/path/to WATCH_LIST[2]=/file/to/watch RSYNC=/usr/bin/rsync SSH=/usr/bin/ssh # SSH key KEY=/key/location # Remote user RUSER=<USER> # Remote host RHOST=<HOST> # Remote port RPORT=<PORT> # Remote base path RPATH=/remote/server # Log file to store rsync errors in ERROR_LOG=/pa...
502f28656c4759167c0b51801d7205817f167faa
304
mvn clean install ps ax|grep tomcat |grep -v grep| awk '{print $1}' |xargs kill -9 sudo rm -rf /usr/local/tomcat/webapps/SampleUI-1.0-SNAPSHOT /usr/local/tomcat/webapps/SampleUI-1.0-SNAPSHOT.war sudo cp target/SampleUI-1.0-SNAPSHOT.war /usr/local/tomcat/webapps/ /usr/local/tomcat/bin/./catalina.sh start
3998743eaf2d0a916b6e35d57af271a64f4d95ea
5,588
#!/bin/bash # # Copyright (C) 2023 Genome Research Ltd. All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
91c86d008647fe82be763a5af62136af5261522a
473
#!/bin/bash -x source /etc/environment if [ -f /etc/profile.d/etcdctl.sh ]; then source /etc/profile.d/etcdctl.sh fi if [ "$NODE_ROLE" != "proxy" ]; then exit 0 fi PROXY_SETUP_IMAGE=behance/mesos-proxy-setup:latest docker run \ --name mesos-proxy-setup \ --log-opt max-size=`etcdctl get /docker/co...
2e63e4080550dd17f342ce45ca227a6931e8e3b3
178
#!/usr/bin/env bash echo "Running travis provision script..." sudo apt-get remove -y ruby1.9.1 sudo apt-get install -y ruby1.9.1-dev sudo gem install travis --no-rdoc --no-ri
6ec9761c58b1e611972413ce95f1c6d53d5f8662
80
#!/bin/bash for f in *; do echo $f; done for i in $(seq 1 10); do echo $i; done
30161da54681ce1db5809237b7fc4e9205c7d030
132
HOST='localhost' port=5000 DBHOST='122.179.158.125' DBPORT=3306 USER='candidate_demo' PASSWORD='TestMay2021#' DATABASE='demo_test'
d7ea2f3fb82f4e0f3ea542f8a32b22eb5f324a6f
281
#!/usr/bin/env bash ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd) $ROOT_DIR/../build.sh -l java pushd $ROOT_DIR/../thirdparty/build/arrow/java mvn clean install -pl plasma -am -Dmaven.test.skip popd pushd $ROOT_DIR/../java mvn clean install -Dmaven.test.skip mvn test popd
54495cbebe3b071611fc2a39aad3a99846932e29
986
[DEFAULT] lib = GITHUB_USER=$(basename ${MR_REPO%/${MR_NAME}}) checkout = github_clone # installable ----------------------------------------------------------------- {{{ #[src/github/sstephenson/ruby-build] #fixups = PREFIX=$HOME ./install.sh #skip = missing_exe rbenv #[src/github/apenwarr/git-subtree] #deleted =...
26b88d61093c2165c02744485d27d643d65b7913
1,170
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com> _basename=srt pkgname=lib32-srt pkgver=1.5.1 pkgrel=1 pkgdesc="Secure Reliable Transport library (32-bit)" url="https://www.srtalliance.org/" arch=(x86_64) license=(MPL2) depends=(lib32-gcc-libs lib32-openssl srt) makedepends=(cmake git ninja) _commit=0...
5e70c23a0b88e69e4afd41ad2b9421a258cd4174
2,283
#!/bin/bash # Set or get screen brightness using xrandr. DIE() { printf "%s: error: %s\n" "$progname" "$1" >&2 Usage 1 } CheckValue1() { local supported_values="Supported value range: $min..$max." if [ -z "$brightness" ] || [ -n "$(echo "$brightness" | tr -d '0-9')" ] || [ $brightness -gt $max ] || ...
b9f34559d9d8c19ec689f24fdfaa32c74926b87e
182
# # ~/.bash_profile # ### Add home to path. Needed for git-so-fancy ### PATH=$PATH:~ [[ -f ~/.extend.bash_profile ]] && . ~/.extend.bash_profile [[ -f ~/.bashrc ]] && . ~/.bashrc
bf37e661a3e49685b172e94f9749beab0c526d53
242
#!/bin/bash cp-gcc c.cpp -o a for((i=1;;i++)); do echo $i python3 gen.py $i > in ./a < in > o1 python3 sol.py < in > o2 diff <(./a < in) <(python3 sol.py < in) || break done cat in #sed -i 's/\r$//' filename ----- remover \r do txt
3ae7c72de164f25fc0633823ef5523ccf2ca02a2
135
#!/bin/bash fw_depends mysql python2 pip install --install-option="--prefix=${PY2_ROOT}" -r $TROOT/requirements.txt python app.py &
caf40e63fe33201bdf2cb9d69c848fdf0953b612
466
# shellcheck shell=bash ## rustup and cargo autocomplete if [[ -x $(command -v rustup) ]]; then source <(rustup completions bash) #source <(rustup completions bash cargo) # Workaround for https://github.com/rust-lang/rustup/issues/3407 if [[ -f ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/src/e...
6b71a9bf19fa918c6a3f8cb20a41f81045538858
797
#!/bin/bash function error { if [ $? -ne 0 ]; then echo "! Error: "$@ exit $?; fi } if [ "$1" = "--help" ]; then echo -e "\n./uf_graph_download <directory to download> <market graph link 1> <market graph link 2> ...\n" exit fi dataset_dir=$1 for link in $@; do if [ $link == $1 ]; then...
2025a83b23d4de2f60f5363cf25aa8a66d2f4794
624
#!/bin/bash # not in Pharo 7 need to do ssh-add -K ~/.ssh/id_rsa MC_REPOS_URL='filetree://../repository' performDownload=0 while getopts ":d" opt; do case $opt in d) echo "-d was specified, will download full Pharo Distribution" >&2 performDownload=1 ;; \?) echo "Invalid option: -$O...
172079dfea80757430133917ab94ebd1e6c27837
1,656
sudo apt-get remove -y vim vim-runtime gvim vim-tiny vim-common vim-gui-common vim-nox sudo apt-get install -y liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev sudo...
259750b9c909e4823d363bffae164f3f1b9d878c
144
#!/usr/bin/env bash cat data/2006-sample.csv | tail -n +2 | grep ,DL,| cut -d "," -f15 | grep '[0-9]'| grep - -v| sort -n | paste -sd+|bc
45eadc8e082e114694e88fd9abc7254f34bf19e5
135
#!/bin/bash test_file="test_zero.py" python $test_file --local_rank $SLURM_PROCID --world_size $SLURM_NPROCS --host $HOST --port 29500
2c68df0cf78e6e60e7adbff7aa0ebde6a7e6794e
607
#!/bin/bash # Script per l'avvio del registry RMI. # Uso: start-rmiregistry # Nota: si potrebbe specificare la porta, ma non l'indirizzo del server. echo Starting rmiregistry # determina il path assoluto in cui si trova lo script # (rispetto alla posizione da cui è stata richiesta l'esecuzione dello script) ...
bcfb4f4e90a47513cc13aaf611f4465953b245e5
174
Logging dropped firewall packets Disable `IPv6` Useful ssh client optimizations Staying connected remotely via SSH without an interactive shell Short Introduction to `Wget`
70a0bb64b559859d2c2c7cd8169f11bf616a77ed
579
#!/bin/bash if [ $# -lt 1 ] then echo Usage: generatepkgXML.sh orgalias packageName exit fi ## Retrieve the PackageXML from Unmanaged Container sfdx force:mdapi:retrieve -s -r ./mdapipkg -u $1 -p "$2" # Retrieve Metadata API Source from Package Name unzip -o -qq ./mdapipkg/unpackaged.zip -d ./mdapipkg # Unz...
97c392eb6a0ad813389f2ab05e1ade00a09d5bdf
108
#python tests/test_euler_estimator.py #python analysis/sir_model.py python analysis/hodgkin_huxley_neuron.py
8875b9e5626ffb30c1c02596d1e2c9a9b344a23b
1,085
#zmodload zsh/zprof setopt PROMPT_SUBST setopt HIST_IGNORE_ALL_DUPS # # User configuration sourced by interactive shells # export DOTFILES_PATH=$HOME/.dotfiles # Define zim location export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim ZSH_AUTOSUGGEST_USE_ASYNC=true ZSH_HIGHLIGHT_MAXLENGTH=300 # Start zim [[ -s ${ZIM_HOME}/ini...
c0e500b5054f7264ec9f67ef68d0f5120507781f
284
#!/bin/bash #test export JAVA_HOME=/usr/lib/jvm/java-openjdk export PATH=$JAVA_HOME/bin:$PATH export RSVPROCESS_HOME=/usr/local/rsvprocess ant -f $RSVPROCESS_HOME/build.xml availability_yesterday if [ ! $? -eq 0 ]; then echo "availability(yesterday) calculation has failed" fi;
dc758b40efdba266776c5e9a2a5cbcc1b4f6f601
168
path=( $HOME/.cargo/bin/(N-/) $HOME/.go/bin/(N-/) /usr/local/go/bin(N-/) $path ) export GOPATH=$HOME/.go export GOBIN=$GOPATH/bin export EDITOR='vim'
a8590096da92e2b67d7a85554a2a6413081ad4f3
194
#!/bin/bash # ../unmount_ramd.sh echo "========= make extraclean" test -e Makefile && (make extraclean || exit $?) rm -rf ../build/* rm -rf .svn rm -rf .buildbot-sourcedata exit 0
b4730bf609555b65598cee64820f79900b1b26c9
67
#!/bin/bash cd /usr/share/37bec-amvios java -jar 37bec-amvios.jar
5a3b2b4641e52ba7e1094e22489e8130e61fabad
525
#!/usr/bin/env bash set -eo pipefail echo "test 1 file" > test1.txt echo "test 2 file" > test2.txt sftpuseradd --sftp-user jtest1 --sftp-pass jtest1 ./sftp-test.py -u jtest1 -p jtest1 date > time.txt lftp sftp://jtest1:jtest1@127.0.0.1 -e "set sftp:auto-confirm yes; put time.txt; quit" lftp sftp://jtest1:jtest1@127.0...
3524103b8f7a05af997ceaa808850642e9402a63
816
#!/bin/bash #lendo memoria do conteiner via nsenter grep rw-p /proc/$1/maps | sed -n 's/^\([0-9a-f]*\)-\([0-9a-f]*\) .*$/\1 \2/p' | while read start stop; do gdb --batch --pid $1 -ex "x/4096wx 0x$start"; done > $1.dump #lendo a memória do processo do contêiner #grep rw-p /proc/$1/maps | sed -n 's/^\([0-9a-f]*\)-\([0-...
98f4b013e87ccf7da176ffec39949e4ad32db725
172
#!/bin/sh # Download Jar loc=$(dirname "$0") echo "Downloading Jar" $($loc/download_jar.sh) echo "Jar Downloaded! Installing Client" $(java -jar forge.jar) echo "done :)"
8e88ce45d195b8a425bc5221e25ba610344e4293
125
#!/usr/bin/env bash rofi -no-lazy-grab -show emoji -modi emoji -theme /home/unnat/.config/rofi/source/emoji_menu/style.rasi
062a41fe9f53446d7c0eb5305cb259c0887134a7
543
#!/bin/bash source shell-utilities.sh # # find and remove spaces # photosFolder="$HOME/google-drive/family-photos/" ; #ls if test -d $photosFolder ; then cd $photosFolder find . -depth -name '* *' \ | while IFS= read -r fullPathToFile ; do \ cp -p -v "$fullPathToFile" "$(dirname "$fullPathToFile")/$(b...
a7b906f9cf3c43f8cf8640950947fff9fcf1c7ce
86
#!/bin/bash echo 'Standard Prediction.' python -u predict.py echo 'Script completed!'
e41f4fa413d3c91ed5005c82d3cf34710fb65a8d
68
git add . unix_time=$(date +%s%3n) git commit -m $unix_time git push
e79fd3032af45408eadba3549186a4374adddf60
545
#!/bin/bash echo "Clone dependencies" echo "UniRx" git clone https://github.com/neuecc/UniRx.git unirx echo "Zenject" git clone https://github.com/modesttree/Zenject.git zenject echo "Setup symlinks" ln -s ./assets-folder/Zenject ./zenject/UnityProject/Assets/Zenject ln -s ./assets-folder/Plugins/UniRx ./unirx/Assets/...
cca12fbbf805cc94795d832a9c75e4c6b9a95964
1,877
#!/bin/sh # Check for clock skew on hosts not running ntpd # v1.0 (C) 2008 Stuart Teasdale <Stuart.Teasdale@opsview.com> program=/usr/sbin/ntpdate program_opts="-q pool.ntp.org" warntime=1 crittime=2 # helper functions . /usr/lib/nagios/plugins/utils.sh usage() { cat <<EOF Usage: `basename $0` [-w <seconds>...
83f4a05cc183f5fb2818e8dc7321e1b83ac0c363
2,465
#!/bin/bash # If we don't have any args, or if we have help args, print the help message. if [ -z $1 ] || [ "$1" == '-h' ] || [ "$1" == '--help' ]; then echo 'usage: bash_example.sh --create-file=<filename> [--no-prompt] [--verbose]' exit 1 fi # Check every argument. If any of them match what we're looking fo...
05a368c412f9fd9e836d1437cae13794b9aaf3db
1,288
#!/bin/bash currDate=$(date +"%Y-%m-%d") toBackupPath="/home/dvg/workspace/edu/uni" backupPath="/home/dvg/sync/notebook/projects/education/uni/repo-backup" backupCount=$(ls ~/sync/notebook/projects/education/uni/repo-backup/ | wc -l) # Create destination directory echo "-----------------------------------------------...
d936032468b89e44c816ccc604f3ec828b170d23
13,578
python align_clusters.py 0 & python align_clusters.py 1 & python align_clusters.py 2 & python align_clusters.py 3 & python align_clusters.py 4 & wait python align_clusters.py 5 & python align_clusters.py 6 & python align_clusters.py 7 & python align_clusters.py 8 & wait python align_clusters.py 9 & python align_cluster...
29a775e7ff73f303ab432f87824d47a5e41aea8c
833
#!/bin/bash set -eu export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH" ARCH="$($SNAP/bin/uname -m)" export LD_LIBRARY_PATH="$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/$ARCH-linux-gnu:$SNAP/usr/lib/$ARCH-linux-gnu" export SNAP_NAME export PYTHONNOUSERSITE=false source $SNAP/actions/common/utils.sh exit_if_...
f2f17deddce118a0945b3279123a2348b903a212
59
#!/bin/bash set -x bash main.sh bash main.sh hello_world
c0876c33946afab6be596a74822b2755d1773d20
1,164
#!/bin/bash #SBATCH --job-name=all-single #SBATCH --ntasks=1 #SBATCH --cpus-per-task=3 #SBATCH --time=20:00:00 #SBATCH --mem=20G #SBATCH --partition=gpu_titanrtx_shared #SBATCH --gres=gpu:1 #SBATCH --output=slurm_logs/R-%x.%j.out #Loading modules module purge module load 2020 module load Python/3.8.2-GCCcore-9.3.0 #...
6cb25f848ca381f7870d87c6386239eff74dff88
118
BOT_TOKEN = "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" API_ID = 12345 API_HASH = "0123456789abcdef0123456789abcdef"
8ea70129730bc3671f5b7f76158f497247806218
57
#/bin/zsh alex Lexer.x && happy Parser.y && ghc Main.hs
31921f1687fcf40216f29b4867921a0e13b6be0c
946
cp $1.s $1_zaz.s ./asm_zaz $1_zaz.s ./asm $1.s if [ ! -e $1.cor ] && [ ! -e $1.cor ] then echo "$1 : [OK] NO FILE CREATE" fi if [ -e $1.cor ] && [ -e $1_zaz.cor ] && diff $1.cor $1_zaz.cor then echo "$1: [OK]" if [ -e $1.cor ] then hexdump -C $1.cor > ok_$1.txt rm $1.cor $1_zaz.cor fi else if [ -e $1...
3e0c3768bfd69fac9d40fe706ebd3c03da3c0cc2
2,244
#!/bin/sh # /etc/profile.d/motd.sh # Print the "Message of the day" cat << EOF Welcome to... _.--""\`-.. OS: $(lsb_release -s -d) ,' \`. Kernel: $(uname -r) ,' __ \`. Hostname: $(hostname) /| " _...
50c7c3abaa59d8ace68419ce2bdf964db7c4a32b
1,001
#!/bin/bash # place all lines of a file into copy paste buffer one by one # I've wanted to do this a couple times, ¯\_(ツ)_/¯, so I wrote this # only works on mac # (I haven't learned how to mess with the paste buffer on other systems) # should, in theory, be doable # grab file name from command line args # not deali...
eabd53f50bdc676b40b0e58738103464feb0e56d
643
#!/usr/bin/env bash set -Eeuo pipefail export CHANGE_MINIKUBE_NONE_USER=true # Start Minikube sudo minikube start --vm-driver=none --kubernetes-version=v1.9.0 # Fix the kubectl context, as it's often stale. minikube update-context # Enable ingress in minikube sudo minikube addons enable ingress printf "Waiting fo...
9ab7c72204fe7a62bac42fa56ac4cf881e51463f
1,089
#!/bin/bash set -euxo pipefail IFS=$'\n\t' # http://redsymbol.net/articles/unofficial-bash-strict-mode/ # retrieve a link to the latest version PACKER_VERSION_LATEST=$(curl -sSL https://releases.hashicorp.com/packer/ \ | grep -F '"/packer/' | head -n1 | cut -d '"' -f2 | cut -d '/' -f3); # get the currently installe...
22dca146df0369d423590e1aab8a4817019fd38f
440
#!/usr/bin/env bash name="faster_rcnn_r50_fpn_1x_divide3_1gpu" timestamp="20200108_174857" #timestamp="20200109_000232" model="${name}" checkpoint="latest" python test.py ../configs/moon_crater/$model.py \ ../results/moon_crater/$name/$timestamp/$checkpoint.pth \ --out ../results/moon_crater/$name/$timestamp/$check...
a693d0f5ae4d665fa1b8844d324738e7dfa82c8c
522
#mkdir ./esp-idf/ #cd ./esp-idf/ git clone -b v4.2 --recursive https://github.com/espressif/esp-idf.git cd esp-idf #git checkout 4c81978a3e2220674a432a588292a4c860eef27b ## the above hash is defined by the variable ESPIDF_SUPHASH_V4 in the file: # https://github.com/micropython/micropython/blob/master/ports/esp32/Make...
8dd3f8107bf22551590964047d058874250aa0a7
1,736
#!/bin/sh echo "---- Installing Tomcat ------------------------------------------------" #### GET ENVARS ################################################# SHARED_DIR=$1 if [ -f "$SHARED_DIR/config/envvars" ]; then . $SHARED_DIR/config/envvars printf "found your local envvars file. Using it." else . $SHARED_DIR...
c9d17b2fb9437671534b6f8211cfb980912ea42e
142
#!/bin/sh valac gdrivesync.vala auth.vala driveapi.vala --pkg gtk+-3.0 --pkg webkitgtk-3.0 --pkg json-glib-1.0 --pkg gee-0.8 --pkg gconf-2.0
ae2dbff94944582f1c5980fe62d8263a0784ece3
286
#!/bin/sh # $OpenBSD: Xsetup_0,v 1.5 2018/07/17 11:52:12 matthieu Exp $ xsetroot -solid black DUAL=`xrandr | awk '{print $1}' | grep VGA-1` if [ ! -z $DUAL ]; then xrandr --output VGA-1 --mode 1920x1080 --output eDP-1 --mode 1920x1080 --same-as VGA-1 fi # sxpm OpenBSD.xpm &
d2ed195be9c2a9003b2ba5d9383a0ee04753dd33
54
#!/usr/bin/env bash sudo pacman -Rns $(pacman -Qdtq)
0e160b72b26d7897336ac9d3464bdabfbe58e930
1,145
#!/bin/bash sudo apt-get update sudo apt-get install -y git sudo apt-get install -y apt-transport-https ca-certificates sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D sudo mkdir -p /etc/apt/sources.list.d/ sudo echo "deb https://apt.dockerproject.o...
0f39266009475d082b5de30fac593a5ffb1a81f6
191
#resize and cut python creat_crop.py #create label text python prepare_label.py python convert_labels.py Labels_train label.txt Instances_train #python clean_label.py python prepare_data.py