blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
a4fa5366ae4b46a45889ea107d624a28a082b128
618
#!/usr/bin/env bash set -e # Stop Script on Error # save all env for debugging #printenv > /var/log/colony-vars-"$(basename "$BASH_SOURCE" .sh)".txt apt-get update -y echo '==> Install nginx' apt-get install nginx -y echo '==> Configure nginx' cd /etc/nginx/sites-available/ cp default default.backup # backup def...
30230bc6a0455af9dbb7fbbc1a8b6f0266e5315b
32,885
#!/bin/bash ####################################################################### # Copyright 2013--2018 Tom Scavo # # 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...
c6d59358de76870c9fed5627fe57570d1b57f3e1
115
# create item curl -X DELETE 'http://demo.9ci.io/api/payment/{id}' \ -H 'Authorization: Bearer {access-token}' \
c6087c1b87c67c34feb9038f1534015703af2f0e
66
DB_USER="" DB_PASS="" DB_HOST="" DB_PORT="" DB_NAME="hellomama_DB"
0a9a585c805a92a11fc7da856cbb3d70ce4181e0
107
git init git log git commit git pull cd/c/user/your_repository git init cd/c/user/your_repository git init
1d853bd5ea88ecb34b2274caa32e39f95feba9d0
2,342
#!/bin/bash set -e yum -y install cloud-init cat > /etc/cloud/cloud.cfg << EOT users: - default disable_root: 1 ssh_pwauth: 0 locale_configfile: /etc/sysconfig/i18n mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] resize_rootfs_tmp: /dev ssh_deletekeys: 0 ssh_genkeytypes: ~ syslog_fix_perms...
fba3e40159fa979c57fcc4b25f34dd17ebd5f37c
3,333
#!/bin/bash #### Constants #### # TEST_IMPORT_LIST=() TEST_FILE="test.sh" #### import #### # import django DJANGO_FOLDER_PATH="experiments/import/django/" DJANGO_APP_NAME="django" DJANGO_NUM_TRAILS=5 # import flask FLASK_FOLDER_PATH="experiments/import/flask/" FLASK_APP_NAME="flask" FLASK_NUM_TRAILS=5 # import ...
59eebadef474cb8d59f11146cfea3cc27fc1bbe7
282
#!/bin/bash esearch -db sra -query ERS1349730 | esummary | xtract -pattern DocumentSummary -ACC @acc -block DocumentSummary -element "&ACC" | cut -f 5 > acc/ERS1349730 bash /home/ubuntu/test/PSST/psst_2.sh -s acc/ERS1349730 -n snp.txt -d out/ERS1349730 -e jlever@bcgsc.ca -t 1 -p 1
1298ce057daa90b3270dfef5afadcb07e502a9f6
295
qmake -project \ CONFIG+=c++11 \ CONFIG-=app_bundle \ QT+=opengl \ QT+=gui \ "INCLUDEPATH += . Source/" \ "INCLUDEPATH += . Source/Rendering" \ "INCLUDEPATH += . Source/Interface" \ "INCLUDEPATH += . Source/Math" \ "INCLUDEPATH += . Source/Scene" qmake make
573ddff1d407b64f93524b1c3f7d12e278621646
147
#!/bin/bash # generate blocks-3-3 with 100 different random colors and shapes parallel -j 1 ./generate_all.sh 3 3 true 200 true /{} ::: {1..100}
f297d8bb9327a21d0ae23a154f573b758f5fc83b
1,048
#!/bin/bash set -e APT_PACKAGES=<<EOF vim \ wget \ open-ssh EOF APT_GUI_PACKAGES=<<EOF vlc \ wine \ texlive \ cairo-dock \ build-essential \ clang \ clojure \ python3 \ ipython3 \ ruby \ haskell-platform EOF case $OSTYPE in darwin*) # Install homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.gi...
96609e89f40e6068ff3786bc1be3b9b9609b8849
1,443
#!/bin/bash # Install Realtek wlan drivers # - only drivers for rtl8812au and rtl88x2bu devices are installed # - on older single core Raspis the compilation can take a long time (hours)! # - the drivers are installed using DKMS and will automatically be recompiled after a kernel update # which again might take a lon...
5e3c36ef83c8c0febd4e3c45148cdecb51f5efdb
63
export EDITOR='vim' export LESS='-R' export TERMINAL='termite'
069e00c976d5cf40f830ae820751753acc6e650d
455
#!/bin/sh # Refer to: http://blog.csdn.net/wzb56_earl/article/details/50625705 uptime_ts=`cat /proc/uptime | awk '{ print $1}'` dmesg | awk -v uptime_ts=${uptime_ts} 'BEGIN { now_ts = systime(); start_ts = now_ts - uptime_ts; #print "system start time seconds:", start_ts; #print "system start time:", st...
55849f079bf1957ac1a17a2e6359faf7f1f2f305
829
#!/bin/bash source conf/conf.sh source ../common.sh #logdir=/u/tiberius06_s/chuangw/logs/throughput cwd=`pwd` #echo $cwd if [[ $# -ge 2 ]]; then type=$1 logdir=$2 fi echo $logdir cd $logdir if [[ "$type" = "instant" ]]; then # find the latest log directory dir=`ls -t | sed /^total/d | head -1 | tr -d '\r\n'...
dc4a59edc83d69e94fda4835a515ac3a2fadc270
510
#!/usr/bin/env bash set -o errexit set -o pipefail set -o nounset cd "$(dirname "$0")" cd 'quickstart' echo 0 > /tmp/last set +o errexit while true ; do # shellcheck disable=SC2016 fswatch -o -r -m poll_monitor themes \ | xargs -n1 -IX /bin/bash -c 'now=$(date +%s) ; last="$(cat /tmp/last)" ; secs...
bc6309210bbe8b2ab02718dc065f2e1952ad9c02
5,265
#!/bin/bash ROOT=$(cd $(dirname "$0"); pwd) BINARYDIR=$(cd $(dirname "$0"); pwd)/build_output DEPLOYDIR=$(cd $(dirname "$0"); pwd)/ReleaseBinaries LIB=$(cd $(dirname "$0"); pwd)/lib CSHARP_BIN=$(cd $(dirname "$0"); pwd)/Languages/CSharp/lib if [ ! -d $BINARYDIR ]; then { mkdir $BINARYDIR } fi if [ ! -d $DEPLOYDIR ];...
ef41410af05df23d190f8794ba0a3116edf411b2
278
#!/bin/sh . "$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)/_bootstrap.sh" rc=0 if test -z "$(php --ri stomp | grep 'SSL Support => enabled')"; then echo 'stomp has not been compiled with SSL support' >&2 rc=1 else echo 'stomp has been compiled with SSL support' fi exit $rc
1a2ed4dcc46d68eae136b1cf9184f3f8134fab60
737
##%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i" colN=1 fileN=access.log pageN="guestbook\.html" #unique user agent awk -F\" '{print $6}' $fileN | sort | uniq -c | sort -fr awk -F\" '($6 ~ /Googlebot/){print $2}' $fileN | awk '{print $2}' awk -v page="$pageN" -F\" '($2 ~ /$page/){print $6}' $fileN #errors awk ...
785df5b9c592be3f065d08f2f891b0b60deb3ea6
2,038
#!/bin/bash # ----------------------------------------------------------------------------- # Tool to manage ONOS applications using REST API. # ----------------------------------------------------------------------------- node=${1:-$OCI} cmd=${2:-list} app=${3} export URL=http://$node:8181/onos/v1/applications expor...
7aa4b5a19c8aa0da721945a1c2712d55423f5dfc
1,871
#!/bin/bash canonicalize() { local _TARGET _BASEDIR _TARGET="$0" readlink -f $_TARGET 2>/dev/null || ( cd $(dirname "$_TARGET") _TARGET=$(basename "$_TARGET") while [ -L "$_TARGET" ] do _TARGET=$(readlink "$_TARGET") cd $(dirname "$_TARGET") _TARGET=$(basename "$_TARGET") d...
60a7860fa2b52c489398a3e681d4e6f8390eaa03
35
#!/bin/dash bindkey '^E' push-line
802edf98306e75d80a069994055fc42d741e4a98
21,789
#!/bin/bash set -x function is_true() { for arg do [[ x$arg =~ x(1|true) ]] || return 0 done return 1 } function is_false() { for arg do [[ x$arg =~ x(0|false) ]] || return 0 done return 1 } function wait_cloud_init() { # exit early if cloud-init log does not exis...
86d46e3d6b6798b120a1df2d43e5a1496fc1a3d8
35
#!/bin/bash docker build -t rdp .
e744382a11b9bad2b84270df4d02a02a835681e7
169
echo "Setup the GhostJS Container..." # Create the database in mysql Cluster # Create Containers kubectl create -f ghostjs.yaml kubectl create -f ghostjs-service.yaml
be72b55c1e186611b77a94d316f6cda0c88e07d7
986
#!/bin/bash # Type password when prompted to access the MySQL console for Infinite Options RDS function usage () { echo "usage:"; echo "--login, -l: log onto mysql server" echo "--create-groceries-table, -c: drop and create table in database, use with caution"; echo "--create-price_competitive-table, -...
dbed8e1a65cbe5ac956bfd03d5a18f0d62fb5133
331
read -p "Introduce la cantidad de litros de agua consumidos: " litros total=0 if [ $litros -le 50 ]; then total=$((total+20)) fi if [ $litros -gt 50 ] && [ $litros -le 200 ]; then total=$((litros/20)) total=$((total+20)) fi if [ $litros -gt 200 ]; then total=$((litros/10)) total=$((total+20+30)) fi echo "El total ...
537e99f22a0ff3e987994f72e273baf7d6001492
299
# copied # Read from the file file.txt and print its transposed content to stdout. awk '{for(i=1;i<=NF;i++){array[NR][i]=$i;}} END{for (col=1; col <=NF; col++) {for (row=1; row <= NR; row++) {if (row==NR){printf("%s", array[row][col]);}else {printf ("%s ",array[row][col])}}printf "\n";}}' file.txt
dcd4b1e20f1fe779f8c5492d1eaed2627f1196d9
234
#!/bin/bash # cat /storage/src/devops/cheats/commands/ipdb.txt | dmenu -fn Terminus:size=14 -c -bw 2 -l 20 -p 'Filter a ipdb command:' cat /storage/src/devops/cheats/commands/ipdb.txt | sort | rofi -dmenu -p 'Filter a ipdb command:'
d265fa4e2855943cb182315b5892111e1218b951
41
#!/bin/bash docker build -t bioselect .
8803f101047db9e7ce36f51bff3f905dcc7851cc
311
#!/usr/bin/env sh D=$(realpath $(dirname $0)/..) mkdir -p "$D/db-data" exec podman run \ --rm \ -e POSTGRES_DB=mafiasi-dashboard \ -e POSTGRES_USER=mafiasi-dashboard \ -e POSTGRES_PASSWORD=mafiasi-dashboard \ -v "$D/db-data:/var/lib/postgresql/data" \ -p 5432:5432 \ $@ \ docker.io/postgres:15
8c81d7fb33713fe59c155d4f22d440481788175f
156
#!/usr/bin/clitosis ## -*- shell-script -*- $ dconv -i ldn 157730.0 -f "%a %b %dth %H:%M:%S %Y" Thu Aug 21st 00:00:00 2014 $ ## dconv.057.ctst ends here
089c6f7f1fc2e1c7a11c59cdfe1e9e5818f9e0b0
1,120
#!/bin/bash # This service allows a remote tunneling over http using ssh # Primary use is to tunnel mqtt traffic over http # corkscrew is used to make the http clientside tunneling http://www.agroman.net/corkscrew/ # command to execute is: # ssh -i PInstance.pem ec2-user@ec2-54-89-176-127.compute-1.amazonaws.com -L 18...
c5995e57ecbcf0d852410d83f44391e07b2d022e
303
#!/bin/bash path=$(pwd) found="F" while [ $path != / ] && [ $found != T ]; do tmp=$(find "$path" -maxdepth 1 -mindepth 1 -name ".project_folder") n_found=$(echo $tmp | wc -w) if [ $n_found -gt 0 ]; then found="T" else path="$(dirname "$path")" fi done echo "$path"
4c947377d3b3dfa7522bb0479691444ea5584bae
1,340
#!/bin/sh # We do not need just to renew the Let's Encrypt certificate, # but also to upload to Azure WebApp and bind it. That's why we # add a renew hook that calls update-azurewebapp-tls.bash if ! grep -m 1 -q -- "--renew-hook" /etc/cron.d/certbot; then echo "init-letsencrypt.sh: Modifying certbot cron job for A...
242f4c472dabec6f50fda413f2347ef3fef60b96
860
# !/bin/sh # sed "s/pattern1/pattern2" replaces pattern1 with pattern 2 # ".*id=([0-9]+).*" matches any line containing id=NUMBER # \1 references the 1st capture group, ([0-9]+), i.e. NUMBER # in the end, only NUMBER is written to stdout. # -r enables extended regexp syntax, # https://www.gnu.org/software/sed/manual...
053e8584555fc45cdd6243e2cad3ef4c04bfe9de
38
SECRET= passEnc= StartUser= StartPass=
0b89e4d54f534575607a4b37483ecfe1a7f8ee7f
97
#!/bin/ash PATH=/usr/bin:/usr/local/bin:$PATH cd /NzbDrone/ /usr/bin/mono /NzbDrone/NzbDrone.exe
9991c48bde791c00ccc46fb0244c1240dac67f07
107
erlc map_parser.erl && erlc map_parser_test.erl && erl -noshell -s map_parser_test show_tests -s init stop
2a06c41b3b4a19b4fdc7a6211b43835dca773448
153
#!/bin/bash cbc-bucket-create people-sample --bucket-type=couchbase -u Administrator -P password; cbq -u Administrator -p password -f=people_sample.txt;
058a40acfcae8e7b1744e5bd5eac80dfc8025ebf
780
#!/bin/bash case "$1" in "build") docker build \ --rm \ --pull \ --no-cache \ -t study_python \ -f Dockerfile \ . ;; "run") docker run \ -it \ -v /etc/passwd:/etc/passwd:ro \ ...
67fae1874aa5bdd752570e7043b8e95eaa3dde9d
4,159
#!/bin/sh ### BEGIN INIT INFO # Provides: nscldaq # Required-Start: $network $time $named $remote_fs $syslog # Required-Stop: $network $time $named $remote_fs $syslog # Should-Start: nscldaq # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: NSCL data acquisition daemons #...
1323978304c5bfcd301d93869ecda0798b12be82
1,059
#!bin/zsh nn_nmap_tcp_all_ports(){ print -z 'sudo nmap --nsock-engine epoll --defeat-rst-ratelimit -n -vvv -sS -d -T4 -oA all_tcp_ports -p- ' } nn_nmap_tcp_sCV(){ print -z 'while read -r t; do host=${t%%:*};ports=${t##*: }; sudo nmap -sCV -p "$ports" -oA "${host}_sCV" -vvv -d "$host" ; done <<(/home/user/.sc...
6ce47cff7ea19cffeba09586fbe6b919d843f7ab
684
#!/bin/bash #install redis tools (for deb based linux) apt-get update && apt-get install ruby wget redis-tools -y #download and install redis cluster tool wget http://download.redis.io/redis-stable/src/redis-trib.rb -O ./redis-trib.rb chmod +x redis-trib.rb gem install redis ./redis-trib.rb create --replicas 1 $(ech...
6dbec48be590393f9e17628ed3f9a985791e3fe1
702
#!/bin/sh #https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517 ASIP=$(docker inspect -f '{{.NetworkSettings.IPAddress}}' as) echo ASIP curl --user admin:admin http://$ASIP:8080/api/v1/clusters echo "====" echo "Create cluster" #curl --user admin:admin -i -H "X-Requested-By:ambari" -X POST ...
63153237addb32128c19d5f50be256b927a26e0f
964
#!/bin/sh INSTANTCLIENT="/etc/ld.so.conf.d/oracle-instantclient.conf" LIBRARY="lofar_lta-2.7.1" # Install dependencies (libaio) apt-get -qq update && apt-get -qq install -y libaio1 && rm -rf /var/lib/apt/lists/* # Download and extract curl http://www.astro-wise.org/losoft/$LIBRARY.tar.gz | tar xz && cd $LIBRARY # R...
93a64e6a0950b4ff906e634909ea8e7f0c19adde
508
#!/bin/bash service=$1 svcport=$2 oriname=$3 deployhome=/tsjr-data/deploy-java/ jar_name=tsjr-$service-$svcport cd /tsjr-data/deploy-java #if [[ ! -d $deployhome$jar_name ]]; #then # mkdir $deployhome$jar_name #fi mv $oriname $jar_name.jar nohup /tsjr-data/jdk1.8/bin/java -server -Xms512m -Xmx512m -Xss256k -XX:M...
1865b99523a47570ab63bc7c7f82c290443bb211
467
#!/usr/bin/env bash #checks if file exist if [ -e "holbertonschool" ] then echo "holbertonschool file exists" if [ -s "holbertonschool" ] then echo "holbertonschool file is not empty" if [ ! -d "holbertonschool" ] then echo "holbertonschool is a regular file" fi else echo "holbertonschool file is empty...
11d8b91bce4fc86aef5164d9e1c5bc9b7ba8ec62
502
#!/bin/bash if [[ $(hostname) == matlab* ]] then watch -n 5 "echo 'matlab1';echo; ssh matlab1 'ps aux | grep matlab | grep -v grep';echo;echo 'matlab2';echo;ssh matlab2 'ps aux | grep matlab | grep -v grep';echo; echo 'matlab3';echo;ssh matlab3 'ps aux | grep matlab | grep -v grep';echo;echo 'matlab4';echo;ssh matl...
86ce71731c6d55e2c16b39002fa9f928c8544046
417
#!/usr/bin/env bats load _test_base function setup { set_state_git } function teardown { unset_current_state } @test "run 'git secret' without command" { run git secret [ "$status" -eq 126 ] } @test "run 'git secret' with bad command" { run git secret notacommand [ "$status" -eq 126 ] } @test "ru...
b375847d6cbbbfb1cdf0b3e0a71b30c103fe1560
182
#!/bin/bash set -ex arachne_pnr=../../bin/arachne-pnr valgrind $arachne_pnr sb_up3down5.blif -o sb_up3down5_valgrind.txt icepack sb_up3down5_valgrind.txt sb_up3down5_valgrind.bin
5831981c9cd7822f845d8adf4c88bcae43ca681e
49
#!/bin/bash while : do sudo ./$1 sleep 0.1 done
6fc45a8793e08ec656fc940e6695cc64a67b042c
59
#! /bin/bash MESSAGE="Hello World from ${1}" echo $MESSAGE
f0060e83109320dab6882045b9293af534609d66
880
#!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE[0]}")" source optionsh.sh declare -A MYARGS if [ -z "$CMD_NAME" ]; then CMD_NAME=$0 fi parse_args "$CMD_NAME" MYARGS "$1" parse_result=$? if [ $parse_result -ne 0 ]; then exit $parse_result fi set -e case "${MYARGS[command]}" in "ls") CMD_NAME="$CMD_NAME ls"...
a01b9b4cec36cf3ee5aeee867f2b01c5089e1ba8
116
#!/bin/bash -x # Use Random Function (( RANDOM )) to get Single Digit singleNum=$((RANDOM%10)); echo $singleNum;
a8176501430184c1ee07f3ee036cf15cd003dee3
135
for i in bootstrap master{0..2} worker{0..2} do echo -ne "${i}\t" ; virsh dumpxml ocp4-${i} | grep "mac address" | cut -d\' -f2 done
963f60607de2e4c75547e18ab0556123f99a29e7
145
make -s run input=./checker/tests/exception10-pop.gly base= < ./checker/tests/exception10-pop.in > exception10-pop.out 2> exception10-pop.rawerr
2d610df2555ebb70e816d8df6a1da6b84cb44a42
1,279
#! /bin/sh ### BEGIN INIT INFO # Provides: eng10032lab03_3 # Required-Start: # Should-Start: # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Configures GPIO for Lab 03. # Description: Configures GPIO for Lab 03. ### END INIT INFO case "$1" in start|restart...
d1dbc6a391c63105b54e975cec7cac17aa754a1f
90
#!/bin/bash python3 /Users/n.permyakov/kassa/ios-ui-tests/utils/rotate_simulator.py right
5342bb1db70e516e6fcb22a35caad25d1def9833
1,164
OS_VERSION=16 OS_ARCH=armeabi-v7a NDK_ARCH_COMPILER=armv7a-linux-androideabi NDK_ROOT_PATH=$(dirname $(which ndk-build)) NDK_HOST_NAME=$(basename $(dirname $(dirname $(realpath $(ndk-which --abi ${OS_ARCH} ar))))) NDK_COMPILER_BASE=${NDK_ROOT_PATH}/toolchains/llvm/prebuilt/${NDK_HOST_NAME}/bin/${NDK_ARCH_COMPILER}${OS_...
c00af1f602fa87365f9b4e1d356e63d26724865d
355
#!/bin/sh BUILD_DIR=`pwd`/../local-builds/$1; echo "investigating ${BUILD_DIR} directory" RETVAL=checksucess; for file in `find ${BUILD_DIR}`; do if [ `grep -c no.invocation.in.progress.at.the.server $file` -gt 0 ]; then echo `grep -Hn no.invocation.in.progress.at.the.server $file`; RETVAL=checkfailed...
42c744ae43627374f9384557c3aa94fb561ebc34
77
decode_url() { printf "$(sed 's/+/ /g;s/%\(..\)/\\x\1/g;' <<< "$@")\n"; }
ffcf6f5f657340e61b4c7a9bcdf33963d673c338
328
#!/bin/bash while getopts c:t: option do case "${option}" in c) CLUSTERNAME=${OPTARG};; t) NODETYPE=${OPTARG};; esac done INTERNAL_HOSTNAME=$(curl 169.254.169.254/latest/meta-data/local-hostname) nohup /usr/bin/redhat-access-insights --register --display-name=$CLUSTERNAME-$NODETYPE-$INTERNAL_HOSTNAME --group=$CLUSTE...
6dfc404ba22974d6f394e9fa7c232524d0e5a9e1
1,182
#!/bin/sh #SBATCH -e err #SBATCH -o out #SBATCH --account=@[ACCNR] #SBATCH --qos=@[QUEUE] #SBATCH --partition=@[PARTITION] ### #SBATCH --ntasks=@[TASKS] #SBATCH --nodes=@[NODES] #SBATCH --ntasks-per-node=@[TPN] #SBATCH --time=@[WLCLK] #SBATCH --job-name="@[JBNME]" #SBATCH --exclusive set -eux set +x source ./module-s...
b1037853e3580c11b4a943f012160459b00610a9
45
export CONTAINER=hbirch/coffeecutie:raspberry
365d144c95b278623430e1fdc5c99cc510b22ff5
513
print("Phuc has read these line") mkdir data data/raw data/train data/test data/validation mkdir app app/blueprints app/blueprints/home_page touch app/blueprints/__init__.py app/blueprints/home_page/__init__.py app/blueprints/home_page/blueprint.py mkdir app/static touch app/static/style.css app/static/index.js mkdir ...
740ce67b73b7ee1e76e2eb16d986014fe0fed570
64
#!/bin/bash docker build --no-cache --rm -t beginor/datax:3.0 .
0a0af6a1bb1b6e713649ebe1761a159c5de17307
237
#!/usr/bin/env bash # I'll execute my programs, with the input directory tweet_input and output the files in the directory tweet_output # The executable is a python3 script, which calls functions implemented in C++ ./src/parseTweets.py
d7b9786ac7b421ffac6c1c505a945f306827c551
102
#!/bin/bash qsub dot_2.pbs qsub dot_3.pbs qsub dot_4.pbs qsub dot_5.pbs qsub dot_6.pbs qsub dot_8.pbs
924f73018fa9cc47c251e2a7b38598c1594dd963
222
#!/bin/sh find ~/.wallpapers -type f \( -name '*.jpg' -o -name '*.png' \) -print0 | shuf -n1 -z | xargs -0 feh --bg-scale notify-send -i 'terminal' \ -a 'Terminal' \ 'Wallpaper has been changed'
9364f0fb27050a0bee056bf5c7c32b6bffc50665
128
$HOME who echo -n "today is : " date +"%m/%H/%Y" echo -n "The number of users logged in: " users | wc -w echo "Terminal: " tty
1461c04f50bd45a04115eedcc812ec138090f268
88
g++ -std=c++11 svg.cc tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp -o svg
0457f247272a959cff82e8b666b4cc436e9877a3
1,424
#!/bin/bash # functions add_applications_to_favourites(){ gsettings set org.gnome.shell favorite-apps "['firefox.desktop', 'opera_opera.desktop', 'chromium_chromium.desktop', 'org.gnome.Nautilus.desktop', 'snap-store_ubuntu-software.desktop', 'intellij-idea-ultimate_intellij-idea-ultimate.desktop', 'code_code.desktop'...
3dd94ea19919eb62b1dc07b48619031612648c14
229
#!/bin/bash #SBATCH -p 1080GPU #SBATCH -J test_ppg #SBATCH -c 7 #SBATCH --output=ppg_test_%j.out #SBATCH --gres=gpu srun singularity exec --bind /data_GPU:/data_GPU --nv /data_GPU/hassan/Containers/ecg_ppg.simg sh test_ppg.sh
65fdd4e28c0f884891cfc3d13050ead17e64e1ed
2,131
#!/bin/bash set -x -e -o pipefail auto_setup() { CONFIGURATION="server=${MYSQL_HOST} rootpass=${MYSQL_ROOT_PASS} loginhost=%" if [ "$MYSQL_ROOT_USER" != "" ]; then CONFIGURATION="${CONFIGURATION} root=${MYSQL_ROOT_USER}" fi if [ "$MYSQL_USER" != "" ]; then CONFIGURATION="${CONFIGURATIO...
65740c7afed7b0bd689d64d788c2efff5d893b84
6,970
#!/bin/sh ################################################################# # Title: find # Date: November 18, 2002 # Author: Devin Teske # version: 1.3 # # Dependencies: # find sed grep tr awk # # Details: # This script conforms to BSD standards. Although, if you # happen to have a GNU compatible fin...
711f82effae7a1e454087b16e5dfaa7a74991ae6
243
#!/bin/bash function command_descriptor() { for i in `cat README1.md`; do help=$(man $i | grep -i -A1 NAME | head -2 | tail -1 | awk '{$1=$2="";print $0}') printf "%-10s \t \t | %s \n" "$i" "$help" >> new.txt done } command_descriptor
3a96009de18f2e35482cf6552aeccebc0c2a5b3f
58
#!/bin/bash pushd $OPENSHIFT_REPO_DIR npm run deploy popd
0909123866d2072774c82a10dfcf0cb543e1a700
78
echo '[.zshrc was loaded!]' cd ${HOME} [ -e .zshrc_mac ] && source .zshrc_mac
289a492b4f1858953c7775ffccabb7e948737135
181
#!/usr/bin/env bash docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=th1sIsStr()ng' -e 'MSSQL_PID=Express' -p 1433:1433 -v sqlvolume:/var/opt/mssql microsoft/mssql-server-linux:latest
d8ad9cec7daada81e9872edb5a7bd56677c3a485
541
#!/bin/bash -e mirror="http://snapshot.debian.org/archive/debian/20151101T042306Z" package_name="libsdl1.2" debian_pkg_name="${package_name}" package_version="1.2.15" package_source="${debian_pkg_name}_${package_version}.orig.tar.gz" src_dir="SDL-${package_version}" git_repo="" git_sha="" reprepro_dir="libs/${packag...
3767cbb1048eee27e57abe413c2a7efe6de5433b
863
#!/bin/bash -e __DIR__="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" if [ -z "$ANDROID_NDK_HOME" ]; then >&2 echo "ANDROID_NDK_HOME not set" exit 2 fi if [ -z "$1" ]; then exit 2 fi abi=$1 mkdir -p $__DIR__/build/td/$abi cd $__DIR__/build/td/$abi OPENSSL_ROOT_DIR="$__DIR__/openssl" OPENSSL_CRYP...
5ac6ccf10340bb0f9507152bd5ce3982f6115229
1,844
#!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi # Start a D-Bus session # source /etc/X11/xinit/xinitrc.d/30-dbus # Xmonad Related Commands and Variabl...
9399195dbf887ee663eb2580825d6d8c51d985cd
735
{% extends "core" %} {% block header %} <br /> <div id="logo"><img src="http://e.quinox.org/include/image/equinox_small.jpg" border="0" /></div> {% endblock %} {% block totalcontent %} <form action="index.php" method="POST"> <table width ="100%"> <tr> <td width="50%" style="text-align: right;">Username</t...
f88356f1ec6bd6067a725bb279689d22d5c5fc6a
874
#!/bin/bash kate ./test/test-atnbacktrack.atn ./test/test-np.atn ./test/test-quantities.atn ./test/test-numbers.atn test/freeling* ./atnSaless.atn ./input.txt & bin/ATN ./test/test-atnbacktrack.atn -parse test/freeling-backtrack.txt printf "\n\n\n" read -n1 -r -p "Press a key to continue..." key printf "\n\n\n" bin/...
65dcf586e3ac77424c8bcf17cfc040029c725877
607
#!/bin/bash ### # author :leekaka ### echo "拉取源码中..." git clone https://bitbucket.org/aquariusjay/deeplab-public-ver2.git echo "源码拉取成功,开始创建文件夹" mkdir -p ./exper/voc12/config/deeplab_largeFOV mkdir -p ./exper/voc12/features/labels mkdir -p ./exper/voc12/features2/labels mkdir -p ./exper/voc12/list mkdir -p ./exper/v...
6ce2007d8ad0d4888345226cda06986efd6a0c63
4,279
#!/bin/bash # shellcheck disable=SC1090,SC2207 # # This script is designed to make it easy to capture useful # information about attached EBS volumes and save that # information to the volumes' tag-sets # ################################################################# PVS=/sbin/pvs INSTANCEMETADOC="http://169.254....
17ceebc8ff24ea3a93c929d5d609847211d1a3e3
7,037
#!/bin/bash ################################################################################ ## FILE HELPERS ################################################################ ################################################################################ # detailed file list alias ll='ls -lah' # show details of a fi...
740acf0ce48cf316a5b2d8c891a24b3ea20b357b
567
#!/bin/bash printf "\ntok.sh [old_day] [old_night] [new_day] [new_night]\n\n" day_tarif=0.14184 night_tarif=0.05442 other_plus=0.05398 day_kwh=$(($3-$1)) night_kwh=$(($4-$2)) printf "Day kWh:\t$day_kwh\nNight kWh:\t$night_kwh\n " day_pr=`echo "$day_kwh * ($day_tarif + $other_plus) * 1.2" | bc -l` night_pr=`echo...
2bbbb2e3c979710224d617951de3f8e523c087a7
1,536
#!/bin/zsh set -e typeset -A files THIS_DIR=$HOME/.vim/dotfiles files=( bashrc $HOME/.bashrc \ clang-format $HOME/.clang-format \ gitconfig $HOME/.gitconfig \ gvimrc $HOME/.gvimrc \ screenrc $HOME/.screenrc \ tmux.conf $HOME/.tmux...
0d2b54ea4b345759b5f99fd3cfb4315d2a3a2d22
128
# NOTE: Copy this file to `.env` and fill in the desired values. # COMMON ETHERSCAN_API_KEY= # MAINNET ETHEREUM_NODE_MAINNET=
9e2165c7e14378a4e2d472faa304e656477574df
438
## WIP: do not use ARGS=$(getopt -o "p" -l "push:" -n $0 -- "$@") if [ $? -ne 0 ] ; then exit 1; fi SHOULD_PUSH=false # TODO: better initial value? opt= while [ "$opt" != "-1" ] ; do opt=$1 case opt in -h|--help) # TODO: print usage echo Help exit ;; -p|--push) SHOULD_PUSH=true ;; --) br...
174ee2772149f5aae70e7e36464cadcaa57869bb
427
export EDITOR=vim # Git Aliases alias gs="git status" alias gd="git diff --patience --ignore-space-change" alias gcb="git checkout -b" alias gb="git branch" alias ga="git add" alias gh="git hist" alias be="bundle exec" alias gm="git checkout master" alias gcm="git commit -m" # Random Aliases alias notes="vim ~/Deskt...
acbd3c72b336538d1cea37113d83b1b790ee855a
965
#!/bin/bash #ython run.py [options] #options: #-h, --help : this help message #-t, --threads= : number of swap threads (1..59) #-s, --swaps= : total number of swaps (< 1000) #-r, --runs= : number of repetitions (< 100) #-i, --isol= : isolation level ('UR', 'CS', 'RS','RR') #-o, --output= : pat...
84fc0fd0529d1d7acc4f99352fc458b8b5d59f68
933
#!/bin/bash #restaurar la bd en una nueva echo Poblando la base de datos... Si se le solicita la contraseña del usuario postgres, ingresela su postgres -c "psql -q WPMDB_prod < wpmdb.sql" #crear directorio para descargar del git echo Descargando proyecto de github mkdir source cd source git clone https://github.com...
6f1722f45c0ef9f29b04e2cd4f73a7d2abee13c5
13,806
. ./cmd.sh . ./path.sh bnf_dim=1024 affix= nj=20 train_stage=-10 #originally -10 srand=0 get_egs_stage=-10 decode_stage=-10 num_jobs_initial=2 num_jobs_final=8 proportional_shrink=10 #for egs left_context=30 right_context=22 modelDirectories=/home/abhinav/kaldi/accents/exp bnfNnetModelDir=/exp/abhinav/accent_re...
e625034bd82e13422e3d5fbee8b53faf016f34ce
24
#!/bin/bash history -c
49999611b8b29354516b6371da6944c1ca2d24d7
698
#!/bin/bash #Script para prover Tomcat como servico (SysVinit) CATALINA_HOME=/opt/apache-tomcat-7.0.39 TOMCAT_DAEMON=bin/startup.sh TOMCAT_STOP=bin/shutdown.sh get_pid(){ ps ax | grep tomcat-7.0.39 | grep -v grep | awk '{print $1}' } start(){ if [ -z $PID ] ; then $CATALINA_HOME/$TOMCAT_DAEMON else echo "Tom...
862b543bde03d635c68d1eb0752abd2c203adbb3
698
# Maintainer: Hatem Masmoudi <hatem.masmoudi@gmail.com> pkgname=notification-daemon pkgver=3.20.0 pkgrel=6 pkgdesc="The Notification Daemon package contains a daemon that displays passive pop-up notifications." arch=('x86_64') url="http://ftp.gnome.org/pub/gnome/sources/notification-daemon/3.20" license=('GPL') groups...
93d017c1ad11f43fc94a163a9036d80d463d09fa
194
#!/bin/bash #https://askubuntu.com/questions/1080077/how-to-install-and-run-cpusim-4-0-11-on-ubuntu-18-04-lts java -cp .:richtextfx-fat-0.6.10.jar:reactfx-2.0-MR4.jar -jar CPUSim-4.0.11.jar