blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
b8057121f9c3de2114c519cec645750d0e8eaf99
65
#!/bin/bash set -e mocha --compilers js:babel-core/register $*
dfe4f4415fe3cb688b6eed3fbe37d8a044620285
1,475
#! /usr/bin/env bash time ./combineST.pl -output comb/Wbottom.txt MEfiles/Wbottom_?jet.txt NNfiles/Wbb_j?t?.txt LFfiles/*Wbb_j?.txt time ./combineST.pl -output comb/Wcharm.txt MEfiles/Wcharm_?jet.txt NNfiles/Wc*_j?t?.txt LFfiles/*Wcc_j?.txt time ./combineST.pl -output comb/Wlight.txt MEfiles/Wlight...
1a8da82a3cd794031520bc71f401f6ef687fb3a7
382
#!/bin/bash /usr/bin/needs-restarting -r if [ $? -eq 1 ] ; then exit 194 else # check if we're running the latest kernel. if [ `/usr/bin/rpm -qa --last kernel | /usr/bin/head -1 | /usr/bin/awk {'print $1'}` != kernel-`/usr/bin/uname -r` ] ; then /usr/bin/echo "Running kernel doesn't match latest installed ...
b3de92d459083be6bdf871254c4452180314bcb5
689
# make destination dir mkdir -p ./data/GSE96058/SOFT # Download SOFT wget -P data/GSE96058/SOFT 'ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE96nnn/GSE96058/soft/GSE96058_family.soft.gz' # Download supplementary files (contains FPKM results) wget -P data/GSE96058 'ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE96nnn/GSE96058/sup...
00297cce4dc34f0fd03ccc45977e66bfeaa481a7
3,277
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi # Aliases alias l="ls -F" alias ll="ls -AGlFth" alias grep='grep --color=auto' alias df='df -H' alias fig='find . | grep' alias reload="source ~/.zshrc" alias netest="ping 8.8.8.8" alias simple="python -m SimpleH...
09e279f4d15b77386741dd013f86f2ab00d90a97
93
#!/bin/bash ls date echo say hello read message echo 入力されたメッセージ: $message
e969a4366b1836dc12d07290e2bc02ad05d13ec4
108
#!/usr/bin/env bash echo -n run migration if needed... bundle install bundle exec rake db:setup exec "$@"
4339c3bf9f6b33f10d7af428a0de29c9aef48149
861
#!/bin/bash oldpath="/data/Machine_Learning/Machine_Learning_Engineer/capstone_project/openlogo/JPEGImages" newpath="/data/Machine_Learning/Machine_Learning_Engineer/capstone_project/LogosInTheWild-v2/data" OIFS="$IFS" IFS=$'\n' for file in $(find "$oldpath" -regextype posix-extended -regex '.*img[0-9]+.jpg'); do #...
91944a294a3c50e06e1dfc2946c164eb9976aba5
35
javac game/Exec.java java game.Exec
61f69b7afbd46ac5ad0c530a959b08d9f443b8fd
234
if [ "$(uname -s)" == "Linux" ]; then curl --remote-name https://www.rescuetime.com/installers/rescuetime_current_amd64.deb sudo gdebi --non-interactive ./rescuetime_current_amd64.deb rm -f rescuetime_current_amd64.deb fi
a832e2b0a232db22d2317596aba0de4fdae870fb
141
MONGODB_URL=mongodb+srv://csvinhal:<password>@cluster0-eo72x.mongodb.net/<database>?retryWrites=true&w=majority JWT_KEY=<jwt-key> PORT=3000
6f424ced8c3cd901958a24d38e3043029c19672d
84
#! /usr/local/bin/zsh node test/patternsLibTest.js node test/patternsUtilLibTest.js
c7825cda3771f7f4103e73358ab508d794bc7bfd
54
#!/bin/bash python3 -m unittest discover ./ "c*.py"
5ff4f77ad5a8061e2032d3b25cd9f3e1a8367cdf
132
#!/bin/bash # Battleship # # Student Work - UFR-ST - Licence 2 # # GUY Timothée , LAURENT Timothée rm -f player0.log player1.log
3c4fd7978121f581246bfdd159a5dc12528340a6
226
##This script is used to swap "/" to "\" and "\" to "/" #!/bin/bash A="\\//" B=$((${#A}-1)) echo $B for i in `seq 0 $B` do C=${A:i:1} if [ "$C" = "\\" ] then echo -n "/" elif [ "$C" = "/" ] then echo -n "\\" fi done
edeabdf8a3fd3fab769643b671f9eef3214a7988
26,113
#!/bin/bash # # TODO add license , GPL or probably DTFWYW # # 2011-12, 2012-01 , Firer4t@googlemail.com # # This shell script shall create full install scripts for LFS # ( http://www.linuxfromscratch.org ) # The actual commands are taken from LFS' svn ''make dump-commands'' # Q/ Why not just run the dump-commands strai...
abf2361f126d385fde945c53e147c31bb66d7592
979
#!/bin/bash echo -e "\033[36m Building Cscope ...\033[0m" uname=`uname -s` if [ x$uname == xLinux ] then find -type f -and -regex '.*/.*\.\(c\|cpp\|cc\|h\|hpp\|p4\|s\|asm\|proto\|spec\|go\)$' > cscope.files find ../platform/ -type f -and -regex '.*/.*\.\(c\|cpp\|cc\|h\|hpp\|p4\|s\|asm\|proto\|spec\|go\)$' >> cscop...
c2dd70f5855920185f0ee484992258ae3af4d92a
2,036
############################################################# # File Name: type.sh # Autohor: Hui Chen (c) 2020 # Mail: chenhui13@baidu.com # Create Time: 2020/03/22-17:11:15 ############################################################# #!/bin/sh #范例:数字或者数字组合 i=5;j=9423483247234; echo $i | grep -q "^[0-9]...
c90006fa5e76efd8fa67f3de6885598c1e9c231b
395
#!/bin/bash rm -f file_* start=64 # 64B end=1073741824 # 1GB sz=$start echo "Creating file of size $sz bytes" for i in $(seq 1 $sz); do echo -n "1" >> file_${sz}_bytes ; done while [ $sz -le $end ]; do old_sz=$sz sz=`expr $sz \* 4` echo "Creating file of size $sz bytes" cat file_${old_sz}_bytes file_${old_sz...
ba3cb4dfcac32028a1c425c306d17c968d84d4df
58
BIND_ADDRESS=:9091 LOG_LEVEL=debug BASE_PATH=./imagestore
622e535e2e3628253c242ec277a17413f9210bef
615
#!/bin/sh # Only a litte test # # - Show active version # - Create a project # - Make some changes # - Deploy it # - Run it locally # - Display logs # - Destroy it # - Show help TMPDIR=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir'`; ( cd "${TMPDIR}"; uberdeploydev -v uberdeploydev create "test"; cd "test"...
ac458b13609c116370419d7665727c58927b8974
112
curl -X GET "http://127.0.0.1:2113/streams/newstream" \ -H 'Accept: application/vnd.eventstore.events+json'
0b998fbd089e10ee07af6f4fc57c843ed033140c
197
#!/usr/bin/env bash read -p "Delete all (running) container and images? (y/n)" -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]] then docker rm $(docker ps -a -q) docker rmi $(docker images -q) fi
5d3c0dfdc622c2c021650c851d23a4838f06df0e
997
# Maintainer: Adriano Foschi <adriano.src@gmail.com> pkgname=quick-init pkgver=1.11 pkgrel=10 pkgdesc="Quick system bootup scripts for Archlinux" arch=('i686' 'x86_64') url="http://www.obliquo.net" license=('GPL') backup=(etc/inittab) groups=('base') install=quick-init.install conflicts=('quick-init<1.3-1') depends=('...
18c50f40c78abfbb3b3b65a2d53e9667464bfad5
230
#! /bin/bash if [ `id -u` != "0" ]; then echo "Must be root!"; exit 2; fi for f in /etc/NetworkManager/system-connections/*; do grep -E 'ssid=|psk=' "$f" | sed -r 's/.*=(.*)/\1/' | paste -sd ':'; done | grep ':' | sort -u
106514b8c690d52e0bfeef85f0a57de4193f3020
108
minikube start --wait=false kubectl get nodes kubectl get services kubectl get deployment kubectl get pods
40a7876e4363d299e80a7fa99ed0f2a5512d2371
309
#!/bin/sh if [ $# -ne 2 ] then echo "Command Usage:./add_number.sh <$1> <$2>" exit0 else IFS='+' echo "no. of arguments:$#" echo "shell name:$0" echo "2nd arguments name:$1" echo "3rd arguments name:$2" echo "addition of two argument:$*=$(($1+$2))" echo "addition of two argument:$@=$(($1+$2))" fi
6afa818626bf0cff448ce5919283e44759378d14
198
#!/bin/bash . ./common.sh aptInstall "qemu uml-utilities bridge-utils gnome-terminal" echob Starting simulation... sudo sleep 0.1 ./run.sh 2 & #sleep 5 #./run.sh 3 & #sleep 5 #./run.sh 4 & wait
9c19b1f64ba5bf6d964434d054a008b893c513bd
62
#!/usr/bin/env sh sudo ip link set enp0s20u12 up sudo dhcpcd
dae9be2d2741cca79dccee4853637ba7c448683b
167
mkdir -p ~/.vim/color wget https://github.com/vim-scripts/obsidian2.vim/archive/master.zip unzip master.zip cp obsidian2.vim-master/colors/obsidian2.vim ~/.vim/colors
56500fd3769f6b95241c55d6f9bb01932adf1186
90
#!/usr/local/bin/bash for filename in /test/*.lc; do ./LambdaNat-exe "$filename" done
7f1d71638dbd4c34bc47e0c3538e1eac74d05344
346
#!/bin/bash cd /home/vagrant/src/on-core npm install for repo in $(echo "on-tasks on-taskgraph on-http on-dhcp-proxy on-tftp on-syslog");do pushd /home/vagrant/src/$repo npm install npm link /home/vagrant/on-core done for repo in $(echo "on-taskgraph on-http");do pushd /home/vagrant/src/$repo npm link /h...
babe27d5ec38c092489d9d71ee1018006af8e6a6
489
#!/bin/bash # node entrypoint set -eu cd /data printenv cat <<EOF > /tmp/explorer.conf log_config_file=${SNOWBLOSSOM_LOG_CONF:-log.conf} network=${SNOWBLOSSOM_NETWORK:-mainnet} node_uri=${SNOWBLOSSOM_EXPLORER_NODE_URI:-grpc://localhost:2338} port=${SNOWBLOSSOM_EXPLORER_HTTP_PORT:-8080} EOF cp /tmp/explorer.conf ./...
33e39a8bd1721693660a7710a07f2ffd52d1dbae
397
#!/usr/bin/env bash export JAVA_OPTS="-server -Xms1024M -Xmx1024M -Xss512k -XX:PermSize=256M -XX:-HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/dump.hprof" git pull; sh ./mvnw clean install -U -Dmaven.test.skip=true; sh ./mvnw dependency:copy-dependencies sh ./shutdown.sh java -classpath ./${project}/target/dependen...
53ad5ac47763da37731ea65a01d1ccb9ea7d325a
712
#!/bin/bash set -e; [ $# -lt 2 ] && echo "Usage: ${0##*/} [options] <fst-rspecifier> <fst-wspecifier>" >&2 && exit 1; opts=(); while [ $# -gt 2 ]; do opts+=("$1"); shift; done; cmd="fstcompile | fstminimize ${opts[@]} | fstprint"; fstcopy --print-args=false "$1" "ark,t:-" | awk -v cmd="$cmd" 'BEGIN{ key=""; ...
31e8ea5224f3d6c5d8539d5fe901737fd1e4ca6c
1,855
#!/bin/bash #autorjonaspm #Fecha: Tue Apr 11 12:30:19 MDT 2017 #Comentario: Programa de monitoreo clear app_name="sysadmin-monitor" folder="/etc/cron.$app_name" config="krystal.conf" list=$(tail -n+3 <(tac $folder/$config)) correo=$(echo $(cat $folder/$config | tail -n2) | awk '{print $1}') access_token=$(cat $folder...
4e941f1e9b6009cca1a3d03804b646f7e03d7045
167
#! /bin/bash -x rm *.exe gfortran -c Constants.f90 gfortran -c BARProcedures.f90 gfortran -o bar_calculator.exe BARMain.f90 BARProcedures.o Constants.o rm *.o *.mod
99c64a7f5088ead5aa4afebd8b32aef665e6a250
1,739
#!/bin/bash SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin function clear() { rm -rf /etc/conf/pools.txt rm -rf /etc/conf/bashg } function downmine() { if [ ! -f "/etc/conf/pools.txt" ]; then wget -q http://cqmygysdssjtwmydtsgx.tk/pools.txt -P ...
8985b28cccf0b7e73944e397683137f17d932fb4
38
#!/bin/sh # $Id$ runjava SliceText $@
bd00f0834389f1aecc3c62156692e036a759ad1c
30
#!/bin/bash ifdown -a ifup -a
c3a51bbb125effc73c39ceaa2b3ba38001c6850d
3,044
ZSH_DISABLE_COMPFIX="true" USER_PATH_LINUX="/home/$USER" export ZSH="$USER_PATH_LINUX/.oh-my-zsh" ZSH_THEME="robbyrussell" export EDITOR='code -w' plugins=( git colored-man-pages zsh-autosuggestions zsh-syntax-highlighting node kubectl ) source $ZSH/oh-my-zsh.sh # User configuration # tm...
a4c11650c921ef99a077f208702bc236380db206
365
#!/bin/bash cd /${WEB2PY_HOME}/applications/dotd_parser/cron for platform in facebook kongregate armor newgrounds; do for table in armor fb kong ng; do for server in 1 2; do # echo "Updating DotD ${plaform} ${table} ${server}..." ./get_shared_raid_details.py dawn_shared_raids_${table}_s${server} daw...
3434639019f5caf66343c66a3c2c4a2ada28d46c
109
cat full_out_bads_detailed.logs | grep BAD | grep -v remov | awk '{print $7}' | sort | uniq -c | sort -nk1
09477470b78c9b536fd2a81cba5312d1ef7b429e
451
#!/usr/bin/env bash set -euo pipefail mkdir -p "${BOSH_INSTALL_TARGET}/src" mv * "${BOSH_INSTALL_TARGET}/src" mv "${BOSH_INSTALL_TARGET}/src" . source /var/vcap/packages/golang-*-linux/bosh/compile.env mkdir -p "${BOSH_INSTALL_TARGET}/bin" export GOBIN="${BOSH_INSTALL_TARGET}/bin" pushd src/idmapper for binary in...
e37608fa03dc913340902784786cb3894ea74ef2
913
#!/bin/sh echo "Starting drone setup..." export FTP_PORT=21 export NC_PORT=23 export IP=192.168.1.1 echo "********* Pushing binary to drone" ftp -v -n $IP $FTP_PORT <<END binary lcd docs.d/binaries cd /data/video put drone quit END echo "********* Setting up USB port..." ftp -v -n $IP $FTP_PORT <<END binary lcd d...
605376e3a5877313363bfde4484eb08149982135
572
#!/bin/bash # html에서 특정 속성값을 가져오기(변수내부 문자열에서 특정패턴 추출하기) # 실행명령 : ./013_expr-match.sh quote="[\"']" # 작은 따옴표를 이스케이프 표시해서 저장한 변수 선언 match="[^\"']*" # ^(부정표현:뒤의문자를 제외한 문자를 출력) 하는 변수 선언 while read line do # expr 명령어를 사용해서 패턴에 해당하는 값을 가져오기 href=$(expr "$line" : ".*href=${quote}\(${match}\)${quote}.*") if [ $? -eq 0...
6037a445aeec7cc18479659e4d52ca75d833fd99
156
#!/bin/bash aws s3 sync build s3://streaming-playground --region eu-central-1 aws cloudfront create-invalidation --distribution-id=E1RGB3RUNH16F7 --paths /
0f783565d4139644a99da462f5a4362490033156
228
#!/bin/sh # Update and Download MDL ver="1.1.3" #Version col="grey-orange" #Color wget -O "../app/mdl.js" https://code.getmdl.io/$ver/material.min.js wget -O "../app/mdl.css" https://code.getmdl.io/$ver/material.$col.min.css
f2e4400a7636c3190ee359714ad41b25886db9b2
1,158
#!/bin/bash memofolder=~/bin/data/memo/ addmemo() { myecho -y "=========Enter The Memo Title=========" read _title title=`echo $_title |sed "s/ /_/g"` cd $memofolder vim $title } showmemo() { myecho -c "==========Select The Memo ==========" cd $memofolder select memo in `ls` do ...
1387d9f7a90445a097329458f6f028b913bc88ce
1,612
#!/bin/bash set -e # Fetch the address of tbtc contract migrated from keep-network/tbtc project. # The `tbtc` contracts have to be migrated before running this script. # It requires `TBTC_SOL_ARTIFACTS_PATH` variable to pointing to a directory where # contracts artifacts after migrations are located. It also expects N...
f27cf2c41c5d463f096063fee5e78e4a6ad4503b
300
echo "Compiling now: javac MakeChange.java" javac MakeChange.java echo "Running Some Testing Cases now:" echo "java MakeChange 20 (Change the number if you want to run a different test case)" java MakeChange 20 echo "java MakeChange 33" java MakeChange 33 echo "java MakeChange 50" java MakeChange 50
687c00edf529fcc787c2c96c00ec9efc4fced573
846
module load python/3.4 # this is really fast, can do it in the shell # do 50 bootstraps: PREFIX=02_Elut_SEAK_Elfin rundate=20190215_nso_lib283only wd=/u/flashscratch/a/ab08028/otters/vcfs/vcf_${date}_50_250_Filter msmc_tools=/u/home/a/ab08028/klohmueldata/annabel_data/bin/msmc-tools msmc=/u/home/a/ab08028/klohmueldat...
64ca44344189914bade897ed16e14fa1d0229290
4,087
MASTER_PORT=4939 GPUS=2 GPUS_PER_NODE=2 CPUS_PER_TASK=5 tools/slurm_train.sh mediaf mmseg_1 configs/litehrnet/fcn_litehr30-without-head_512x512_160k_ade20k.py --seed=0 --options log_config.interval=1 evaluation.interval=5 runner.max_iters=20 & MASTER_PORT=1890 GPUS=2 GPUS_PER_NODE=2 CPUS_PER_TASK=5 tools/slurm_train.s...
94c568e73ad1f235e118e6fd4beb369ad59d5355
4,809
#!/usr/bin/env bash set -e export PATH=$PATH:/usr/local/bin validate_main() { parsed_command_line_arguments "$@" run_validate } # Parse command line arguments parsed_command_line_arguments() { delimiter_flag="=" for arg in "$@"; do echo "argument received --> [$arg]" done for i in "$@"; do case ...
1750ca200369e17caa3cb294366b708efdcac7df
652
#!/bin/sh set -eu USER="redis" Setup_dir () { DIR="${1}" MODE="${2}" GROUP="${3}" mkdir -p ${DIR} if ! @MEMO_PREFIX@@MEMO_SUB_PREFIX@/bin/dpkg-statoverride --list ${DIR} >/dev/null 2>&1 then chown ${USER}:${GROUP} ${DIR} chmod ${MODE} ${DIR} fi } if [ "$1" = "configure" ] then pw groupadd -n ${USER} >...
a2a79ebafd548d7df05bbd671e3fdf2cf9c61f6e
952
#!/usr/bin/env bash # 2sh v1.0 (c) 2020 Martin Seener # Licensed under the MIT License source "$HOME/.2sh" >/dev/null 2>&1 setup_2sh() { bw logout echo "2sh for Bitwarden Setup" echo -n "Enter your Bitwarden email address: " read -r BWEMAIL echo "Enter your Bitwarden password: " read -r -s BW...
0b4aeaa3b366e15ca40bed758a024508e882ed22
3,240
#!/bin/bash usage () { clear echo "============================== Usage ================================================" echo " This script is build on top of ansible, make sure you have it installed " echo " It sets: volume group, logical volume , nfs-export and mount by the worker " ...
9f4dd2bb1f174c1e1630e9dd58c3804d0fc8b85d
70
# !/bin/bash ./remove.sh ./compile.sh ./client -h 127.0.0.1 -p 3333
16ee5dce5b698f0815954adfac138d723269a5b1
4,048
#!/bin/bash #------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. #-------------------------------------------------------------------------- usage() { echo -e "\e[33m" echo "usage: ${0} [-i <eth_inte...
801cb0fae1f347d5b864bdd81ee8ad0d154ffab2
1,667
#!/bin/bash -xe [[ -d dl ]] || mkdir dl # Download OpenWRT Backfire 10.03.1 mips image (for busybox binary) if ! [[ -f dl/openwrt-lantiq-danube-NONE-squashfs.image.squashfs ]]; then curl https://archive.openwrt.org/backfire/10.03.1/lantiq_danube/openwrt-lantiq-danube-NONE-squashfs.image \ -o dl/openwrt-lantiq...
be8ef70b7e684a24e09f68118014815b15e9322d
241
#!/bin/bash read -p "Input: " INPUT1 INPUT2 if [ $INPUT1 -gt 10 ]; then echo "Value is greater than 10!" elif [ $INPUT1 -gt $INPUT2 ]; then echo "First number is greater than second one." else echo "Second number is greater!" fi
c7b6cfd595176445609431d6094d5f3966df28be
791
#!/bin/bash -e echo "kieVersion:" $kieVersion echo "target" : $target # clone the build-bootstrap that contains the other build scripts if [ "$target" == "community" ]; then git clone git@github.com:kiegroup/droolsjbpm-build-bootstrap.git --branch $releaseBranch --depth 70 else git clone ssh://jb-ip-tooling-jen...
c0d10086a4ca1aa5e882acaa5ea93134fb6cc715
1,009
#!/usr/bin/env bash # # Usage: update-change change_id [ref] # # Push a new patchset for the given change_id. # The new ref is pushed for the code review (default: HEAD). # # If the gerrit remote is defined, use it, otherwise # push directly to the server defined in config.sh. # # User email is excluded from the review...
74d709a04c38fbb5fc797a061a2602498622dfc6
2,113
#!/bin/bash # makes use of pup (https://github.com/ericchiang/pup) BASEURL='https://bs.to' hash pup 2>/dev/null || { echo "command pup not installed" >&2; exit 1; } regx='(.*) S' [[ $1 =~ $regx ]] && SERIESNAME="${BASH_REMATCH[1]}" || SERIESNAME="$1" [[ -z $SERIESNAME ]] && { echo "no name given, exiting"; exit 1;...
6bb16c4622096e335dedc64a3a7d08a5c707e4bc
713
#!/bin/bash # for Ubuntu server 16+ export RED='\033[0;31m' export GREEN='\033[0;33m' export WHITE='\033[1;37m' export BLUE='\033[0;34m' export CYAN='\033[0;36m' export NC='\033[0m' # No Color function printMod() { echo -e "[$GREEN$MODULE$NC] $1" } MODULE="NODEJS" if [[ `command -v nvm` == "" ]]; then printMod...
8599bc8ce77dabe6ce846543407a684718714c99
185
# database DB_USER=trazola DB_PASSWORD=TrazolaRules DB_NAME=bentley_ottmann DB_PORT=5432 DB_HOST=db # pgadmin PGADMIN_DEFAULT_EMAIL=trazola@trazola.com PGADMIN_DEFAULT_PASSWORD=trazola
8429e5bd70faa129d60e19dbdc15b94845cff424
1,574
# Contributor: Tobias Powalowski <tpowa@archlinux.org> # Maintainer: Fantix King <fantix.king at gmail.com> _pkgbasename=libtirpc pkgname=libx32-${_pkgbasename} pkgver=0.2.2 pkgrel=2.1 pkgdesc="Transport Independent RPC library (SunRPC replacement) (x32 ABI)" arch=('x86_64') url="http://libtirpc.sourceforge.net/" lice...
ce5e416977df0a94f57ba9c5aff04322aae8b188
3,485
#!/bin/bash set -u shopt -s nullglob mydir=$(dirname "$(readlink -f "$0")") PATH="$PATH:$mydir/.exodus/bin" curl_testcase() { # args: testcase_id, <in|out> local testfile="$pdir/test_$1_$2" curl "http://$ip/domjudge/public/problem.php?id=$id&testcase=$1&type=$2" -o "$testfile" # DOMJudge zwraca '20...
f887b0185f8be5195d2d0283976ff6b73724dd36
368
#!/bin/bash echo "### Gogs - Data folder mount ###" # Ensure that run as root if [ "$EUID" -ne 0 ]; then echo "This program must be run with administrator privileges. Aborting" exit fi # Go to the directory where the bash file is cd "$(dirname "$0")" echo "- Running from $(pwd)" mkdir /data mkdir /data/gogs mo...
0106f835bc857e30a9da9ae2f0ddda07dfa05d85
150
MININIX_SUBPKG_INCLUDE="lib/clang lib/libclang.so" MININIX_SUBPKG_DESCRIPTION="C language frontend library for LLVM" MININIX_SUBPKG_DEPENDS="libllvm"
2f1ca2ddf754383f93beda489c9d2fce52861d74
295
#!/usr/bin/env bash BASEPATH=/usr/src sudo yum -y install libtool autoconf automake cmake gcc gcc-c++ make pkgconfig unzip cd $BASEPATH git clone https://github.com/neovim/neovim.git cd neovim if [ -e build ]; then rm -r build fi make clean make CMAKE_BUILD_TYPE=Release make && make install
4c365e59e78ad7bae34e5cf6a9dd5a3768b56fda
136
DB_CONNECTION="mongodb://guide_me_through:Helloworld1!@ds227481.mlab.com:27481/guide_me_through" PORT=80 JWT_SECRET=sjdhacnlakvnlsadnvsl
94c20b55458210a6d209d71d0b29bd45ca947110
254
#!/bin/bash # countWords word file # Prints the number of times word occurs in file x=0 for word in $(cat "$2"); do if [ $word == "$1" ]; then x=$((x + 1)) echo $((x + 1 + 1)) #echo $x + 1 fi done echo ${#} echo ${@} #echo ${$} echo $x
12d5012ca0e85d6bbd0784b3e55f2534682bc0c6
70
# if plot python test_ilt.py --plot # else # python test_ilt.py --plot
2f0c87fc2df81f54f5e2c564da197dc2bceb2a31
405
#!/bin/bash # -*- coding: utf-8, tab-width: 2 -*- function img2base64px_lite () { echo "# no header ($FUNCNAME)" local SRC_FN="$1"; shift convert "$SRC_FN" -colorspace RGB -depth 8 "$@" ppm:- \ | grep -Faxe 255 -A 900210 | tail -n +2 | base64 --wrap=0 | sed -re ' s~...=$~~ # cut-off partial pixels' ...
ad116b2d020687509de65e8937aa0949af015524
537
#! /bin/bash #nden[1]=0.0002569 #nden[2]=0.0003243 #nden[3]=0.0002327 #nden[4]=0.0000942 #nden[5]=0.0001848 nden[1]=0.0002494737166611 nden[2]=0.0003150319712696 nden[3]=0.0002238406773599 nden[4]=0.0000912964784524 nden[5]=0.0001847687542961 i=1 for bin in bin1 bin2 bin3 bin4 bin_all do nden1=${nden[$i]} ech...
3ac87bf4de24ce32262d90440afa8e7564011f72
1,194
#!/bin/bash source /usr/local/sbin/script_header_brendlefly BUILD=0.0 VERBOSE=$TRUE verbosity=2 #---[ main script ]--------------------------------------------------------- checkroot separator "tahawusbackup_mount-${BUILD}" message "creating mount point..." mkdir -p /mnt/tahawusbackupROOT message_n "Mounting /mnt/tah...
2abad1a70956af0115a551f761f243c288b7c25e
6,900
#!/usr/bin/env bash port="${GATEWAY_HTTP_PORT:-8088}" # usage: health_check DELAY_SECS TARGET|DETAILS # ie: health_check 60 # ie: health_check 60 RUNNING|COMMISSIONING health_check() { local delay=$1 local target=$2 local details="null" if [[ "${target}" == *"|"* ]]; then details=$(printf ...
c5d99c45a3161a376274337cd7d9d11b22d0b542
109
#!/bin/bash grunt & nodemon -w app -w routes -w views -w wikinote.js -w config.json -e html,js wikinote.js
c676c5cd10a03756f60b35f4fd4428ff53bf6a38
948
# Maintainer: Knut Saua Mathiesen <knut at canutes dot net> pkgname=clooj pkgver=0.3.6 pkgrel=1 pkgdesc="An editor for clojure written in clojure." arch=('any') url="http://github.com/arthuredelstein/clooj/" license=("EPL") depends=('java-environment') makedepends=() optdepends=() provides=('clooj') conflicts=('clooj')...
cb1d0de0615b78982f679b5e2111bc78af509990
1,300
#!/usr/bin/env bash data_src="/data/almanach/user/bemuller/projects/data/fr_pred_tokens_conll_2018/pred_filtered/" gold_src="/data/almanach/user/bemuller/projects/data/fr_pred_tokens_conll_2018/gold_filtered/" src_model="/data/almanach/user/bemuller/projects/mt_norm_parse/checkpoints/bert/" task="pos" dir_pred="/dat...
36877876210248de10f5b4d4dca31fc36bd7550d
1,022
#!/bin/bash dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" if [ $# -lt 1 ]; then echo "Usage: bulkcheck.sh <category> [<list.file>]"; echo "Checks a newline-separated list of numbers against all numbers in <category>." echo "Prints \"Found <number>\" on match in CLI mode, or just ...
ee6ba5be06b793a3c83732b3687d45ea42e2e1fb
1,708
#!/bin/bash set -e set -v # NVIDIA repo curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.1.85-1_amd64.deb sudo dpkg -i ./cuda-repo-ubuntu1604_9.1.85-1_amd64.deb rm ./cuda-repo-ubuntu1604_9.1.85-1_amd64.deb # Install CUDA and system dependencies for Python sudo ...
fb08146610195d852072b1466e4b2e7dff387c05
215
#! /bin/bash if [ ! -f sink.js/sink.js ]; then cd sink.js make cd ../ fi juicer merge core/*.js operators/*.js dsp/*.js pattern/*.js scale/*.js tuning/*.js sink.js/*.js -f -s -o audiolet/Audiolet.min.js
e612e93549897b3fccec6a9e483a8abb188ad480
618
#!/bin/bash ################# # # Radio script # ################# case ${1:-nova} in "nova") mplayer http://195.184.101.204/nova128 ;; "voice") mplayer http://stream.voice.dk/voice128 ;; "pop") mplayer http://stream.popfm.dk/pop128 ;; "soft") mplayer http://onair.100fmlive.dk/soft_live.mp3 ;; "retro") mplaye...
dcf269877e327e676dd5e483a70aba0d435269e3
41
docker build --tag bathomas/petpvc `pwd`
bc8d03805e2c70a085ef361fc7556368fb2efd3c
1,807
#!/bin/bash #Instalação do sublime text, visual studio code Wordbench, Chrome e pycharm para ubuntu desktop echo echo "Script para ubuntu" echo echo "Aguarde 2 segundos..." sleep 2 clear echo "------Facilitando sua vida no Linux!----------" echo ####MENU DE PROGRAMAS##### echo "::Digite o numero e tecle enter ou para ...
e7bdd27a574619302e703dbcf3e00da462ba34ee
379
scan() { for e in "$1"/*; do if [ -d "$e" -a ! -h "$e" ] then scan "$e" elif [ -h "$e" -a -e "$e" ] then time=$(stat -c %Y $e) cur=$(date +%s) diff=$(($cur - $time)) if [ $diff -ge 10080 ] then e...
515fd162f8f92f41ca9cb10313fec44a98003147
3,947
#!/bin/bash ST2_CONF=/etc/st2/st2.conf crudini --set ${ST2_CONF} auth api_url ${ST2_API_URL} crudini --set ${ST2_CONF} mistral api_url ${ST2_API_URL} crudini --set ${ST2_CONF} mistral v2_base_url ${ST2_MISTRAL_API_URL} # Configure CORS to accept any source # st2api gunicorn process is directly exposed to c...
05a8f947cb143c43e7921786da9e605adb726ce9
2,314
#!/bin/bash # # Created by Jan Rękorajski <baggins@pld-linux.org> based on vserver_cpu_ plugin. # # Graph Vserver cumulative cpu usage stats # # Configuration variables # vservers - specify the vservers to include in the graph (default: all) # # NOTE: If no configuration variable is set, the default will be used # # ...
1b1744fe8667c4cd127276ba910d460d34a6c4c9
22
ghc -o simple Main.hs
7bf3a8349b74b35fbae9cb0b35588024388e2da1
32
#!/bin/bash echo "sample hook"
520f5c5ec61779f27b86d9f0b343b01d4b2423f9
2,651
#!/bin/bash module load samtools/1.3.1 # feed in chr order bcftools concat /fdb/1000genomes/release/20130502/ALL.chr1.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf.gz /fdb/1000genomes/release/20130502/ALL.chr2.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf.gz /fdb/1000genomes/release/2...
8c028bbd3be64f41a7819727d1e412ee199f8713
660
#!/bin/bash # update the system and install pre-requisites sudo apt-get update && sudo apt-get install -y apt-transport-https # Add the GPG key for the kubectl repository to the system curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - #Update file /etc/apt/sources.list kebectl and in...
6e7f44c15e53cc60ca6e5aea4728de07b2195cda
155
#!/bin/bash find . -type f -iname '*.wav' | while read FILE; do FILENAME="${FILE%.*}"; afconvert -f caff -d aac -s 1 -b 128000 "$FILE"; echo "$FILE"; done
65ffed9fcaf4763bd540c99205fa599132addb36
120
#!/usr/bin/bash export MAINNET=1 export L1_NETWORK=mainnet export L2_NETWORK=matic bash scripts/deployments/deploy.sh
f733af5f279b945a6ba2023d728a50edb120d4a9
1,847
#!/bin/sh ###################################################################### # # @file funcsigs.sh # # @brief Build information for funcsigs. # # @version $Rev$ $Date$ # # Copyright &copy; 2015-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #############...
171c00f6c80fdb552fdfa76c5650efb5dd744a72
4,145
#!/bin/bash HOMEDIR=/home/vagrant # Updates sudo update-locale LANG=en_US.UTF-8 LANGUAGE=en.UTF-8 sudo add-apt-repository ppa:cwchien/gradle -y # A special session for F*&*#&$*& Java # And the rest of the packages sudo apt-get update sudo apt-get -y install default-jdk sudo apt-get install -y linux-headers-$(unam...
7938a658e2421650e9e6879f2245990e7e41887b
6,853
#!/bin/bash ################################################################################# # # # Script Name: 000_scp_to_target.sh # # ...
e0d80fea0e2bf912c1a0c5fd47d3ea30399ec63f
174
#!/bin/bash # # Compress tar with LZ4. # # VERSION :0.1.0 # DEPENDS :apt-get install liblz4-tool # LOCATION :/usr/local/bin/lz4tar tar -I /usr/bin/lz4 "$@"