blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
2d5d536793d9d4ee07861ec2b2d32c7f86663342
4,720
sudo yum update -q sudo timedatectl set-timezone UTC date # Java-11 Installation and Path Setup sudo yum -y -q install java-11-openjdk-devel echo "export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which javac)))))" | sudo tee -a /etc/profile source /etc/profile echo "export PATH=$PATH:$JAVA_HOME/bin" | sudo...
a50d58dc00814ad7637de0ccc89027139998aff5
1,178
#!/bin/bash usage() { echo "errCheck - run a program and compare error response to expected. usage: errCheck <expectedStderr.txt> <command> [command arguments] Returns zero if command returns with a non-crashing nonzero return and the stderr output of the command matches expected.txt" 1>&2 } if [ $# -lt 2 ]; ...
386c6be430604b12f9af5018e13a4a4be1599a20
482
#!/bin/bash MAC_TARGET=server WIN_TARGET=server.exe rm -vr $MAC_TARGET $WIN_TARGET EMC* export GOOS=windows export GOARCH=386 while [ ! -f "$WIN_TARGET" ] do go build -o $WIN_TARGET done echo "WIN $WIN_TARGET build success, next step..." cp $WIN_TARGET ~/Dropbox/tmp/server/ export GOOS=darwin export GOARCH=amd64 g...
86f1b6541a062b8f91df8f8c7c116787dbb285bf
293
#!/bin/bash # Go to the n-th parent folder function up { if [[ $# -eq 0 ]]; then cd "../" elif [[ $# -eq 1 ]] && [[ $1 -gt 0 ]]; then local up_dir="" for _ in $(seq 1 "$1"); do up_dir+="../" done cd "$up_dir" || return else echo "Usage: up [n > 0]" fi }
bb559c68bc643d9809f20b5caaacb1187b217e83
863
#!/bin/sh # # startet den XML-Wiki-Dump-Converter # # Stand: 16.7.2012 # buildClassPath() { jar_dir=$1 if [ $# -ne 1 ]; then echo "Jar directory must be specified." exit 1 fi class_path= c=1 for i in `ls $jar_dir/*.jar` do ...
a48a655f83050039d90f17a0533d47fdefe6c6be
401
#!/usr/bin/env bash ## Summary: find largest files recursively TMPSUBDIR=$(mktemp -d "${TMPDIR:-/tmp/}$(basename 0).XXXXXXXXXXXX") TIMESTAMP="$(date +%s)" OUTPUTFILE="${TMPSUBDIR}/list_of_large_files__${TIMESTAMP}.txt" touch $OUTPUTFILE gfind -P -O2 . -type f -size +100M -user $USER -exec ls -pks '{}' \; | \ so...
015104086b8fdb74dc13ac2c0808db95f887719a
904
pkgname=djvulibre pkgver=3.5.25.3 pkgrel=2 pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents" arch=("x86_64") license=('GPL') url="http://djvu.sourceforge.net/" depends=('gcc-libs' 'libtiff' 'bash' 'hicolor-icon-theme') makedepends=('librsvg') options=('!libtool') source=("http://downloads.sourc...
80994a09cb388db60fb6313bd7c37b9ab11b8167
69
REACT_APP_HOST= REACT_APP_SERVER_ENVIRONMENT= REACT_APP_SERVER_PORT=
d0ea4ac67816e487458d5691ebb1d4c9de113a5f
4,001
#!/bin/bash CONTAINER_NAME="tensorflow" CONTAINER_CMD="" DOCKER_ENV="" USER_ID=$(id -u) PROG_NAME=$(basename $0) TF_VERSION="2.0" declare -ar USABLE_VERSIONS=("1.13" "1.14" "1.15" "2.0") function usage_exit { cat <<_EOS_ 1>&2 Usage: $PROG_NAME [OPTIONS...] OPTIONS: -h, --help このヘルプを表示 -v, -...
49f7d087c5b88c350e93ba77404521db90c9f122
138
rm -fr vlab-azure rm -fr vlab-azure-tf git clone https://github.com/cavalen/vlab-azure git clone https://github.com/cavalen/vlab-azure-tf
92324c35e2e622b8828a605b4174e94d9889e887
1,465
#!/bin/sh if [ `id -u` -ne 0 ]; then echo "need root permission!" exit 1 fi #ip forwarding sudo sysctl -w net.ipv4.ip_forward=1 #dhcp setting sudo apt install isc-dhcp-server -y sudo rm /etc/dhcp/dhcpd.conf sudo cp conf/dhcpd.conf /etc/dhcp/dhcpd.conf sudo rm /etc/default/isc-dhcp-server sudo cp conf/isc-dh...
efef45a20d23f3b5c82758f52a040a6d9484e67a
101
#!/bin/bash bash -x setup.sh echo "\$ActionSendStreamDriverAuthMode x509/name" >> /etc/rsyslog.conf
b6646c730d245e3e2c1858613617e118bfad75fe
470
#!/bin/bash # modify with your install location INSTALLROOT=/root/appliance/pyuverse/bin/ if [ -x ${INSTALLROOT}/inid_stats.py ] ; then echo starting up ${INSTALLROOT}/inid_stats.py else echo Could not find ${INSTALLROOT}/inid_stats.py echo please check the value of INSTALLROOT in start_daemon.sh fi daem...
f72a582d6406e2e09cfd6c86e6e34c86e1a98006
567
#!/bin/sh # See http://download.bareos.org/bareos/release/ # for applicable releases and distributions #DIST=Debian_10 # or # DIST=Debian_9.0 DIST=xUbuntu_18.04 # DIST=xUbuntu_16.04 RELEASE=release/19.2 # or # RELEASE=release/latest # RELEASE=experimental/nightly URL=http://download.bareos.org/bareos/$RELEASE/$DIS...
320d5cca6d9f40cf5aa61df9000157101ccd1f94
3,832
#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" . $DIR/common.sh if [[ "$wine_version" == "" ]]; then echo "Please set wine_version to continue, e.g. export wine_version=4.21" exit 1 fi if [[ "$no_limit_depth" == "yes" ]]; then echo "Not limiting depth - bewar...
bc159399376902856613c8fa81e25c5838cafb04
24,494
#!/bin/sh # Copyright 2021 Google LLC # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. #################################### Scalar ################################### tools/xngen src/x32-transposec/scalar.c.in -D SIZE=8 TYPE=int8_t TI...
7c426feb7240bf05def85037e5d15e824c840ef5
504
#!/bin/bash set -e #return 1 only if both solr and sbt are up #RET=[[ `ps -ef | grep "sb[t]" | wc -l` && `ps -ef | grep "start.ja[r]" | wc -l` ]] nc -tz localhost 8983 > /dev/null 2>&1 #if Solr is up, this should return 0 RET1=$? #if solr is up this should return > 0 RET2=`ps -ef | grep "start.ja[r]" | wc -l` # i...
790777c36fd47dcdc8d99f9248c19c99de2fb911
581
#!/bin/sh repo_url=https://github.com/weakish/viconf if grep -q viconf $config_file ; then echo echo "Adding entries to viconf's database?" echo "Consider sending a pull request. Thanks." echo "You can find viconf at" $repo_url echo fi if [ $config_file_is_empty ]; then if [ -n "$template_config_file" ...
a5c9df38f759e518cd7a8f097f09e4dfab7a9e9c
108
cd ../../ DBS="website_1 website_2" for DB in $DBS do python manage.py migrate utils --database=$DB done
d0fdf4ba55ceb167f2fa7478f296b47e4828a8e0
98
#!/usr/bin/env bash while : do ~/open-dash/scripts/disable-screensaver.sh sleep 150 done
368afc7bd6f14f9769e6ff5794a4ad95ddd0e78b
122
#!/bin/bash sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ../nginx/certificate.pem
35dbbeaa77e18f6ada7bcb1ec31fb4cf6d5f0b75
165
mkdir -p plots for d in $* ; do cd $d echo 'xxx ' $d gnuplot ../plothg.gp for f in *eps ; do mv $f ../${d}_plots/${d}_$f done cd - done
106389ea38702a0156ba4d8677ed2cb6688c3cec
204
#!/bin/bash # function jsonp() { local sql=$1 curl -L -s --data-urlencode sql="$sql" "https://ft2json.appspot.com/q" } jsonp "SELECT * FROM 1sVN3S9Jwz5h_TTniYvGGIktbKvVj4ph_DYhY-20" > location.json
e16793629eab9574a37a58e4183a69455e58a383
1,849
#!/bin/bash # Install nodejs installNode(){ hash node &> /dev/null if [ $? -eq 0 ]; then read -p "Nodejs is already installed. Press any key to continue." rk else # Add personal package, more up to date than standard ubuntu. curl -sL https://deb.nodesource.com/setup | sudo bash - # Install node and accept...
f64e13c4a100f13cf36d8c9c3eb2e47137552616
342
#!/bin/sh while true do java -Xmx3072M -Xms3072M -jar minecraft_server.1.14.1.jar nogui echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!" echo "Rebooting in:" for i in 5 4 3 2 1 do echo "$i..." sleep 1 done echo "Reb...
5d20180d2bf6445d02efd2f93c634863c4f950f9
1,349
#!/bin/bash set -exo pipefail LATEST_CRAWL=$(basename $(ls stats/CC-MAIN-201*.gz | tail -n 1) .gz) function update_json() { regex="$1" excerpt="$2" if [ -e "$excerpt" ] && grep -qF "$LATEST_CRAWL" $excerpt; then zgrep -h "$regex" stats/$LATEST_CRAWL.gz >>$excerpt else zcat stats/CC-M...
2d163e1543223c5b91ff670851bf85357b818814
615
#!/bin/sh -e case "$1" in remove) # remove sample file if those were previously (wrongly) installed for file in upsset.conf hosts.conf upsstats.html upsstats-single.html ; do if [ -f /etc/nut/${file}.sample ] ; then rm -f /etc/nut/${file}.sample fi done ;; purge) # do noth...
bb47eaf13f40b3292b1da223f7741bed678e6ca0
162
#!/bin/bash cd .. || exit mkdir -p bin javac -d bin src/JJTree/*.java javac -d bin src/tuner/*.java cd scripts echo "Press any key to continue . . ." read -r var
8cbed3f78ba2a966a1bc3730c5e7af7589b9af2e
274
#!/bin/bash set -e -x docker build -t example-for-groovy-long-bug:latest -f docker/Dockerfile . docker kill example-for-groovy-long-bug || true docker rm example-for-groovy-long-bug || true docker run --name example-for-groovy-long-bug example-for-groovy-long-bug:latest
e1bb00f18cb0e6d12bcc097420e1eff3f429ceca
85
dev5(){ n=5 while [[ !((n -eq 105)) ]]; do printf "n" n=$(($n+5)) done } dev5
e7b5f7cdd71f22a90e7564d3f374edf9ececc7c0
31,514
#!/bin/bash ######################################################################################### ##Software Implementation, Non-parametric Hierarchical Performance Testing (HPT) ##Authors: Yue Wu (Email: wuyue@ict.ac.cn) and Tianshi Chen ##Institute of Computing Technology, Chinese Academy of SCiences ##Beijing 1...
1f9cf73eeff41183bb92aec0caa679e69f5ab6f1
18,396
# Set up your redshift cluster with WLM configuration: # # [ { # "query_concurrency" : 5, # "memory_percent_to_use" : 100, # "query_group" : [ ], # "query_group_wild_card" : 0, # "user_group" : [ ], # "user_group_wild_card" : 0 # }, { # "short_query_queue" : false # } ] # # This should be the same as the ...
b6f36021d85124dd05701672ee4d4d832b5f260b
224
MYSQL_USER=be88608cb272c0 MYSQL_PASSWORD=159cdfd5 SCHEMA=assemble HOSTNAME=us-cdbr-east-03.cleardb.com SECRET=avengersassemble mysql://be88608cb272c0:159cdfd5@us-cdbr-east-03.cleardb.com/heroku_ca2f69ca6cd6dd3?reconnect=true
2283cd15a8e54eb8d0e31e097f34a1fd0256f800
332
#!/bin/bash # set vim configuration echo "set vim configuration" cp -r .vim ~/ if [ -f ~/.vimrc ]; then echo "remove existing ~/.vimrc" rm ~/.vimrc fi if [ -f ~/.gvimrc ]; then echo "remove existing ~/.gvimrc" rm ~/.gvimrc fi ln -s ~/.vim/.vimrc ~/.vimrc ln -s ~/.vim/.gvimrc ~/.gvimrc vim +PluginIns...
b17c26e272fd82bea34232f3b3765aa244962483
777
#!/usr/bin/env sh #$-pe gpu 1 #$-l gpu=1 #$-j y #$-cwd #$-V # CUDA_VISIBLE_DEVICES="${gpu_num}" pythoneight_share.py \ python3 exp_main.py \ --archs_per_task "${archs_per_task}" \ --save_dir save_dir/vgg-"${time}"-"${num_train}"-"${archs_per_task}"-id"${id}"/ \ --num_train "${num_train}" --archs_per_task "...
f31db63938824c48544abf0b5f948d70f0a635c0
50
PYTHONPATH=. twistd -n web --class=server.resource
b2ae721b9298d75d88ca899448b6fc283a5f70e6
551
#!/usr/bin/env bash set -e set -o pipefail SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) cd ${SCRIPT_DIR} source ./config.env source ../common/function.env source ../common/logger.env info "create monit log" exe kubectl create -f - <<< "${YML_CLUSTER_ROLE}" exe kubectl create -f - <<< "${YML_CONFIG_MAP}" exe kubectl c...
79b58de5abf2af29ff945018851edcf5660b6425
488
#!/bin/bash CONTAINER=$1 USER=$2 TARGETFILE=$3 echo "Creating backup of container matching" $CONTAINER CONTAINER_ID=`docker ps -l --filter "name=$CONTAINER" -q` if [ -z "$CONTAINER_ID" ] then echo "Couldn't find any container matching $CONTAINER" else echo "Found container with id $CONTAINER_ID" echo "Goi...
b3842a94e9c15df17017885f007d2c86ae4bbdbc
778
#!/bin/bash #Use this script to trigger ansible deployment of tradebot webui application #Assumes azure cli is installed and authenticated export ansible_hosts_file=azure-ansible-hosts export tradebot_resource_group=tradebotRG-production export tradebot_vmss=tradebotwebuivmss-production az vmss list-instance-public-ip...
0d5d339776f83b59693a4141eeb5279aedce69ad
3,793
# Script to run run_bindobs. # # Copy this script, customize it and then submit it with the ``qsub'' # command. For example: # # cp pbs-template.sh myjob-pbs.sh # {emacs|vi} myjob-pbs.sh # qsub myjob-pbs.sh # # PBS directives are fully documented in the ``qsub'' man page. Directives # may be specified on the ``qsub'' ...
0e78f3a8c82b149361c3e6f52588df73a34b7d3c
1,005
#!/bin/bash while [ true ]; do cat /etc/mtab | grep media if [ $? -eq 0 ]; then USBSERIAL=$(dmesg | tail -n20 | grep ": Serial" | awk '{print $6}' ) if [ $(grep -c $USBSERIAL blacklist.txt) -eq 0 ];then pw=$(zenity --password) echo $pw | sudo eject /dev/sdb1 elif [ $(grep -c $USBSERIAL whitelist.txt) -e...
33e223d602cfb86a04e52be1ee7fbc6937c95a13
517
# echo "script name: $0" #echo "first argument: $1" # echo "number of arguments: $#" #!/bin/bash set -e # script terminates if any command exits with non-zero status set -u # terminates if any variable is unset set -o pipefail # terminates if any comman within a pipe exits unsuccessfully if [ $# -lt 1 ] || [ ! -f $1 ]...
d8456c0c0208c597adde3a1e5cbf6511575c182e
284
#!/system/bin/sh stop /system/bin/echo bootmenu > /system/bootmenu/config/default_bootmode.conf /system/bin/echo bootmenu > /system/bootmenu/config/default_bootmode2.conf /system/bin/rm /data/local/2nd.txt /system/bin/cp -r /system/bootmenu /mnt/ exec /mnt/bootmenu/binary/bootmenu
caa5ccf00821628678e02d39e7caadece8919263
3,776
#!/bin/bash ### PARAMS if [ $# -lt 7 ]; then echo "illegal number of parameters : $0 project_name test_dir (or - for continue) findings_dir fuzz_label afl_fuzz_exe fuzzed_exec nr_fuzzers [fuzz_label afl_fuzz_exe fuzzed_exec nr_fuzzers]*" exit; fi PROJECT=$1 EXEC=test_$PROJECT.exe EXEC_ASAN=test_"$PROJECT"_...
ab054cd2fdd7fe74dcaec5157cf40d61519e6da8
104
#!/bin/bash ECHO "watching: " $1 cd ~/dev/stylo/ && fswatch $1 | xargs -n1 -I{} clj -m stylo.builder {}
624fc79a26f9de25f1dea85d6b0e9d71eb42b15a
391
#!/bin/bash ENV_TYPE=$1 if [ -z "${ENV_TYPE}" ] then ENV_TYPE="local" fi PROJECTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." >/dev/null 2>&1 && pwd )" mvn clean package -f ${PROJECTS_DIR}/imshaby-api/pom.xml docker rmi local/imshaby-api:v1.0 imshaby-api:latest &> /dev/null docker build -t imshaby-api ${P...
41a95530d1982465b33e25f4764b216aad915de9
1,689
#!/bin/bash # 8原子・2元系の混晶の組み合わせ計算を行う # 基準のPOSCARを一つずつ入れておくこと LF=$(printf '\\\012') #sed 挿入コマンド用 LF=${LF%} #sed 挿入コマンド用 ### ----- (2元混晶のPOSCARの体積を設定した%ずつ変化させて出力) ----- function BM.Integratedata () { filepath=./* rootpath=`pwd` for i in $filepath; do if [ -d $i ]; then # --- direct...
b69c522412d9a0b1f72a78ac2e6e60d0d95d7855
588
#!/bin/bash _git_prompt() { type -t __git_ps1 >/dev/null || return local x=$(__git_ps1) if [ -n "${x}" ]; then echo -ne "[\033[1;31m${x# }\033[0m]" true fi } gitprompt() { PS1="${debian_chroot:+($debian_chroot)}\[\033[1;34m\]\u@\h\[\033[0m\]:\[\033[1;32m\]\w\[\033[0m\]\$(_git_prompt)$ " } longpromp...
7e385b2a88817c48c307ea90026e12eb4513a765
833
#!/bin/sh echo echo "--------------------------------------------------------------------------------" echo "TISDK setup script" echo echo "This script will set up your development host for dvsdk development." echo "Parts of this script require administrator priviliges (sudo access)." echo "---------------------------...
bcb8aca2e686a421c3a62d18e8b86a1255c11a6f
159
#!/usr/bin/bash c1=0 while [[ $c1 -lt $1 ]]; do let c1=$c1+1 for i in {1..2}; do echo $i for j in this is just a train; do echo $j done done done
f601d4c34342b645dccf473c3938c3defafc5423
15,902
#!---------------------------------------------------------------------------- #! #! functions.sh #! #! Various functions that are needed for manageTier3SW package #! #! Usage: #! source functions.sh #! #! History: #! 02Dec2016: A. De Silva, first version. #! #!------------------------------------------------...
0444b540f4abb4f95cda14b752f99e58285dd116
6,524
#!/bin/bash # scripts for 16S data analysis # # originally by Ruben Garrido-Oter # garridoo@mpipz.mpg.de # exits whenever a function returns 1 set -e # get path to scripts scripts_dir=$(dirname $0) # load config file source $scripts_dir/config.sh # load functions source $scripts_dir/16s.functions.sh # activate QI...
6aad07f453f518ccd83a16f710ca4a9d814fccda
26
npm run migrate npm start
3464a0110f7ee977713941746366006b06f9c131
358
#!/bin/sh ############################################################################# # Licensed Materials - Property of HCL* # (C) Copyright HCL Technologies Ltd. 2017, 2018 All rights reserved. # * Trademark of HCL Technologies Limited ############################################################################# ...
24cb35562017a8f62b9f5e7a13cd60e039e5adc3
71
screen -S node -X quit screen -S zmap -X quit screen -S worker -X quit
87cf4a685a193db9069697ef07b39a019e0b85ea
41
this file very esey to learn dcsdsdfsdf
03e822d66182efb47549d009e2e92fe62b7d7f36
137
#!/bin/bash -e print_header "Blacklisting the pcspkr module" echo "blacklist pcspkr" >> $img_staging_dir/etc/modprobe.d/blacklist.conf
1a03bf2e5f34b25adfa90b2c818ee0e81b78a2b0
435
#!/bin/bash CHROOT_PATH=$1 ISO_BUILD_PATH=$2 LIVE_PATH=$3 SQFSNAME=${4:-filesystem} source common sudo mksquashfs ${CHROOT_PATH} ${ISO_BUILD_PATH}/${LIVE_PATH}/${SQFSNAME}.squashfs -comp xz sudo du -sx --block-size=1 ${CHROOT_PATH} | cut -f1 > ${ISO_BUILD_PATH}/${LIVE_PATH}/${SQFSNAME}.size chroot_do ${CHROOT_PATH...
590b1e5fa10c0ca6ffeedfd9502765441c7559a6
875
#!/bin/bash pre_snapshot () { backupsv="$2" mountpoint=$(echo $1 | sed "s:$backupsv/\?::") if [ "$mountpoint" == "$1" ] ; then echo "Target isn't a $backupsv folder. Do nothing." exit 0 fi fs=$(df -T $mountpoint | tail -n +2 | awk {'print $2'}) if [ $fs != "btrfs" ] ; then echo "creating symlink...
a2e93e06ce8def4726cb6770c7cfaa28b6a141b9
27
python startup.py ./server
2f5115feaf0388736cf20fa91fd10200a668e5da
274
#!/bin/bash for i in res/*root; do echo $i; FILEBASE=`echo $i | sed s#.root##` root -b <<<"TFile *_file0 = TFile::Open(\"$i\"); hp->SetScanField(0); hp->Scan(\"tb:deltab\",\"mhp==90\");" >/tmp/tmp.out tail -75 /tmp/tmp.out | head -74 >${FILEBASE}-deltab.txt done
0760b4c0ff1910aba572bc70a304e73e8bed2c0b
1,237
#!/bin/sh # more infos on https://gist.github.com/codeinthehole/7ea69f8a21c67cc07293 # https://github.com/boot2docker/boot2docker/issues/678 #set -x SHAREDIR=$HOME/share # stop boot2docker if [[ $(boot2docker status) == "running" ]]; then echo "Shutting boot2docker down." boot2docker down echo "boot2docker is no...
512619b040052f8ba2d3466fbce38c30ce5ed898
326
#!/bin/sh BASEDIR=$(dirname $0) ISO_PATH=/vmfs/volumes/datastore2/iso/ubuntu-12.04.3-server-amd64-preseed.iso FLOPPY_IMAGE_PATH=$BASEDIR/preseed.flp DATASTORE=datastore1 $BASEDIR/create-vm-template.sh $DATASTORE ubuntu-64 ubuntu-12.04-server-template-40G 1024 40G $ISO_PATH linux $FLOPPY_IMAGE_PATH "VM Network" true t...
9b082660e9ba0e7e94c8b9eaa3ff5d4757619ea9
182
#! /usr/bin/env bash if [[ "$1" == "" ]]; then echo "Needs argument Usage: rtf2.sh <format> " >&2 exit 1 fi textutil -stdin -convert html -stdout | pandoc --from=html --to=$1
c0bf9f455913adb4320357f99cc55b6fbf555757
308
#!/bin/bash JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ mvn clean test package -Dmaven.test.failure.ignore=true mvn install -Dmaven.test.skip=true #cp ./target/payment-0.0.1-SNAPSHOT.jar . cp ./target/payment-1.jar . docker stop Payment || true docker rm Payment || true docker build -t payment:latest .
de07f34c5921f7f23a576c8fd4676d087c51c772
226
#!/bin/sh -ex . `dirname $0`/spamtrap.conf export HOME find $SPAM -type f -mtime +42 -print0 | xargs -0 rm -fv find $HAM -type f -mtime +42 -print0 | xargs -0 rm -fv find $EXPORT -type f -mtime +42 -print0 | xargs -0 rm -fv
772f4d493d34e0ebcded80d9988da2ca80b78e97
55
#!/bin/bash CMD="npm start $1 $2 $3" echo $CMD $CMD
916d512b175abaa921358abf791218c3774140b2
163
#!/bin/sh sudo apt-get install -y gcc build-essential sudo apt-get install -y linux-headers-`uname -r` make sudo insmod ./aufs.ko lsmod | grep aufs sudo rmmod aufs
bd263dc35a85bdb80b3deb64e861f1b373f27ed9
156
#!/bin/sh mkdir -p bin javac -d ./bin -sourcepath src -classpath lib/java-cup-11a-runtime.jar ./src/com/pag/*.java cp ./lib/java-cup-11a-runtime.jar ./bin
2e144d2fb90ffd3ec07ef81d325c7ff4f8a4b23f
155
#!/usr/bin/env bash set -o pipefail xcodebuild test -project Gifu.xcodeproj -scheme Gifu -sdk iphonesimulator BUILD_ACTIVE_ARCH=NO | xcpretty -t -c
0754735ed61f0877a0a56dce77092c3351eef7a0
51
#!/bin/bash service nublic-market stop #DEBHELPER#
4f6017b0e2eb8a645cf5bf84b67898ce88fc0e8c
431
#! /bin/sh ocamlfind ocamlmktop -linkpkg -package batteries -package config-file -package delimcc -package uuidm -I /Users/lgm/.opam/system/lib -I _build/src/main/ocaml/repl -o cacao Monad.cmo Cfg.cmo Abscacao.cmo BNFC_Util.cmo Exceptions.cmo Nominals.cmo Environments.cmo Continuations.cmo Symbols.cmo Terms.cmo Knot.cm...
b90b42bc6ab3935e98083a0df1d77fe90b4ce10b
179
module load igvtools/2.3.32 ; igvtools toTDF data/peaks/8057_CGTACTAG_L008_R1/8057_CGTACTAG_L008_R1_FE.bedgraph data/peaks/8057_CGTACTAG_L008_R1/8057_CGTACTAG_L008_R1_FE.tdf hg38
67de12cda705a11d9590b786070dc81354994741
6,925
#!/usr/bin/env bash # ~/.macos — https://mths.be/macos echo "making system modifications:" # Close any open System Preferences panes, to prevent them from overriding # settings we’re about to change osascript -e 'tell application "System Preferences" to quit' #########################################################...
acd6308d250502d9d3471361c0ac4276b3d62850
284
# Secrets for your Eventbrite app # Find these at: https://www.eventbrite.ca/account-settings/apps # This file should never go into github! export EVENTBRITE_KEY="Your-Key-Goes-Here" export EVENTBRITE_SECRET="Your-Client-Secret-Go-Here" export EVENTBRITE_TOKEN="TRUHXBWWIIXRXS6D2U7V"
86481b2579cde1286b1f73a5a3e1070cdfaaa9f3
336
#!/bin/bash cd $(dirname $0) echo "Building Flutter Project in Working Directory: $(pwd)" DST_DIR=../../main/resources/static source ../../misc/setup-env.sh ./patch-flutter-withCredentials.sh revert ./patch-base-url.sh revert cd TaskTracker flutter pub get flutter build -d Chrome web rm -rf ${DST_DIR} cp -r build/w...
14eaf2937bcdb3d98c11181b5508fb0d4ec5680b
969
#!/usr/bin/env sh # Ensure this script is run as root if [ `id -u` -ne 0 ]; then echo "Error: this script must be run as root!" exit fi # The installation locations for the SPIR-V tools and the wrappers/symlinks export SPIRVVER=1.1 export SPIRVDIR=/usr/local/spirv/$SPIRVVER export BINDIR=/usr/local/bin # Create th...
c6757b0dea004e0f9ea38be6c0f0832824a80df2
1,551
#!/bin/bash # Copyright 2021 The Kythe Authors. All rights reserved. # # 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 ap...
f76e190888d3f1db8e33dc29172e9f61787fb507
230
export CLASSPATH=".:/usr/local/lib/antlr-4.7-complete.jar:$CLASSPATH" alias antlr4='java -jar /usr/local/lib/antlr-4.7-complete.jar' alias grun='java org.antlr.v4.gui.TestRig' #rm *.java *.class *.tokens antlr4 g.g4 javac *.java
5e519999d7235154e5b9569b2cde6e4f8833e617
619
#!/bin/zsh # This file is for relatively portable configurations on top of what I do in my .zshrc # Enable 24-bit color (see https://stackoverflow.com/questions/14672875/true-color-24-bit-in-terminal-emacs) # TERM=xterm-24bit EMACS="*term*"; export EMACS EDITOR=emacs; export EDITOR PAGER=less; export PAGER LES...
5233d374bfbcf782fb3a53990a909be3895d6f6f
305
#内容 export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 export HBASE_CLASSPATH=/opt/hbase/conf # 此配置信息,设置由hbase自己管理zookeeper,不需要单独的zookeeper。 export HBASE_MANAGES_ZK=true export HBASE_HOME=/opt/hbase #Hbase日志目录 export HBASE_LOG_DIR=/opt/hbase/logs
966a2051adc1669cb8707133ec985fb462c9f3ed
73
#!/bin/bash set -ex curl http://localhost:3000 --upload-file data.csv
7b6f1f03b2ba109c41a9a9658a5b7ac76fe235e5
305
#!/usr/local/bin/bash i=2 freq=0 rm ./freq_levels while [ ! -z $freq ] do echo $freq >> freq_levels freq=`sysctl -a | grep levels | cut -d ' ' -f $i | cut -d '/' -f 1` i=`expr $i + 1` done freq=`cat ./freq_levels` ps -auxf | awk '{print $2;}'> prev_list ps -auxf | awk '{print $2;}'> present_list
75c2100e98cc8fc4f676b14c9d86eda997430f08
210
#!/bin/bash echo " Installing GDAL ogr ..." sudo add-apt-repository ppa:ubuntugis/ppa && sudo apt update sudo apt install --yes gdal-bin libgdal-dev echo "[geo] Done: $(ogrinfo --version)" >> install.log 2>&1
8228223ed09d4c6d9ac46e9705f1e5adca859fa9
98
#!/bin/sh #VulFmt.sh programa de ejemplo de vulnerabilidad #con formato de entrada eval "cat $1"
8b330accf760cffa12dd03cb1c0053d522cb666b
312
#!/bin/bash function get_res { echo $(xrandr -q | awk -F'current' -F',' 'NR==1 {gsub("( |current)","");print $2}') } res1=$(get_res) while true; do sleep 5 res2=$(get_res) if [ "$res1" != "$res2" ]; then echo "Running refresh" bash "$HOME/.conky/conky-startup.sh" fi res1=$res2 done
91646798031260260cc0fe060f4e8f99b5e908d8
236
grep -o 'hubot-[a-z0-9_-]\+' external-scripts.json | \ xargs -n1 -I {} sh -c 'sed -n "/^# Configuration/,/^#$/ s/^/{} /p" \ $(find node_modules/{}/ -name "*.coffee")' | \ awk -F '#' '{ printf "%-25s %s\n", $1, $2 }'
2cfed2956a4bdd6d25002da29a450a012af309c7
260
#!/bin/bash set -e DOCKER_IMAGE_NAME=test DOCKER_CONTAINER_NAME=testcontainer docker build -t "${DOCKER_IMAGE_NAME}" . docker images docker run -itd --name "${DOCKER_CONTAINER_NAME}" -p 10086:10086 --restart=always -t "${DOCKER_IMAGE_NAME}" docker ps -a
b62e8c241ecb64367ad78c7372ea42667a88251a
6,071
#!/bin/sh # === Initialize shell environment =================================== set -euvx # -e Exit immediately if a command exits with a non-zero status. # -u Treat unset variables as an error when substituting. # -v Print shell input lines as they are read. # -x Print commands and their arguments as they are exe...
7c6f7338a32bd5d712cbe7fbb462f84bb4ee6f19
521
#!/usr/bin/env sh PYXB_ROOT=${PYXB_ROOT:-`pwd`/../pyxb} export PYTHONPATH=${PYXB_ROOT} export PATH=${PYXB_ROOT}/scripts:${PATH} # Extract the parameters URI=$1 shift MAIN_PREFIX=$1 PREFIXES="" until [ -z "$1" ] do PREFIXES=$PREFIXES" -m $1" shift done rm -rf $MAIN_PREFIX mkdir $MAIN_PREFIX ; cd $MAIN_PREF...
60103fc1a645689ad71785ef67503ec2d55de744
62
#!/bin/bash ssh node-01 "sudo systemctl stop kubelet.service"
1375c1cfc15fb19a76d5492cece2e8b6a9c14d35
18,648
#!/bin/bash -xv # # CHOUHYOU_CATEGORY_KENSAKU.SEARCH >>> カテゴリ情報検索 # Usage : CHOUHYOU_CATEGORY_KENSAKU.SEARCH # # Written by Tan.zhihui(TRE・CHINA) / Date : 11 Sep. 2019 # Alter by Zhang.Yunfeng(TRE・CHINA) / Date : 16 Dec. 2019 #///////////////////////////////////////////////////////////////////////// # 初期設定 #//////////...
f5d655be9782bdff0b25e03017e14db2ff86bcb1
57
#!/bin/bash sudo -H -u grader /usr/local/bin/grade.sh $@
b365b50444032824ea2f55b195ddc4dc50d50c0c
141
while true; do ./make ./hdu4742 >out1.txt ./check4742 >outstd.txt if diff out1.txt outstd.txt; then echo "AC" else echo "WA" exit 0 fi done
22eead958d71d3910391e14095d7c184ade98e17
93
#!/bin/sh docker build . -t api-doc-preview docker run --rm -it -p 8000:8000 api-doc-preview
4ab2a885c319b9fc12d9d02eef5c953c5be22162
775
#!/bin/bash # Set passwords first num_pass_char=24 # Generate random password redmine_db_password=$(tr -dc A-Za-z0-9 </dev/urandom | head -c $num_pass_char ; echo '') redmine_secret_key=$(tr -dc A-Za-z0-9 </dev/urandom | head -c $num_pass_char ; echo '') mysql_root_password=$(tr -dc A-Za-z0-9 </dev/urandom | head -c ...
dd74f59829767123a7853c0e0faea130101d8adf
1,110
#!/bin/bash # Install Docker Engine on a Debian Jessie or Stretch # from https://docs.docker.com/engine/installation/linux/docker-ce/debian/ echo "*** Uninstall old versions" sudo apt-get remove docker docker-engine docker.io set -e # SET UP THE REPOSITORY echo "*** Install prerequisites" sudo apt-get update # Ins...
80a6ef793eeb5a25da4fcd2b49c44122a05f1d17
19
NODE_ENV="develop"
e436f72bbb9d006a77b84469c24138f3b33ba9d9
276
#!/bin/sh if [ -z "$1" ] || [ -z "$2" ] then echo "Usage:" echo "update_nuget.sh <version number> <api key>" exit 1 fi dotnet pack -c Release if [ $? -ne 0 ] then exit 1 fi dotnet nuget push bin/Release/Destiny2.$1.nupkg -k $2 -s https://api.nuget.org/v3/index.json
ebbd8c8458900083442dafeffc354a440690d1dc
60
#!/bin/bash java -jar build/libs/project-0.0.1-SNAPSHOT.jar