blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
30bcbb35e0badd13ce6900e6865d14e90ff8ce26
237
#!/bin/sh echo 'monitor-1331628357-qn2vp mailer-monitor-monitor {"labels": {"git_rev": "da161cc"}, "message": "context ended: NL/2017-09-28/digest", "origin": "EmailSentMonitor", "severity": "INFO", "timestamp": "2017-09-28T05:56:36Z"}'
e5ca63d51defa3500d98d714ccebe5a8530ef003
1,983
#!/bin/sh # # Mon Nov 6 15:03:49 2017 GW Shell script run by 'oc exec' on OpenShift # initiated by Jenkins job, which connects to the application server # pod (gwells-nn-xxxxx which is STATUS = 'Running'): # oc exec gwells-nnn-xxxx $VIRTUAL_ENV/src/openshift/scripts/gwells-deploy.sh # # This deploy is trigg...
edde8d98d2794d517e88639ee2e14e36c377d57a
50
#!/bin/bash python3 /home/pi/openoceancam/main.py
7f2333d26f3b4f45e0776441c1c4b8c1eaf01dc2
1,113
#!/usr/bin/env bash set -eu # e.g. 'platform-dokku' REPONAME=$(echo $TRAVIS_REPO_SLUG | cut -f2 -d '/') # e.g. 'dokku' SERVICENAME=$(echo $REPONAME | sed 's/^platform-//') docker build -t experimentalplatform/$SERVICENAME:$TRAVIS_BRANCH . if [ "${TRAVIS_BRANCH}" == "master" ]; then echo -e "\n\nWe're not uploadin...
8467c1fd24a033556957e6a1520c9d82be99def3
1,034
#!/bin/bash gen_gcov() { gcc bugAlgo.c -fprofile-arcs -ftest-coverage -o bugAlgo ./bugAlgo $1 $2 $3 $4 $5 > bugAlgoFile.csv bugVar=$(cat bugAlgoFile.csv) gcc trueAlgo.c -o trueAlgo ./trueAlgo $1 $2 $3 $4 $5 > trueAlgoFile.csv trueVar=$(cat trueAlgoFile.csv) gcov bugAlgo.c gcc gen_coverage.c ...
a7983c6bfd2f3902bf453ddf59dfc17602aafb1d
57
#!/bin/bash set -x echo 1st echo set +x echo 2nd echo
46f4bd94ee95dbe8751b3e6da9bcc7e1593fcbf8
150
#!/bin/sh # My First Program # Jajuan Burton 31 MAY 2017 # # This Program prints hello world to standard output PATH=/bin/echo echo "Hello World"
77f558cbd01702240539275e1405200d4630c77e
1,707
#!/bin/bash module load purge module load PYTHON/3.6.3 DATA=/scratch/devel/avalenzu/Impute_Master_Project/ANALYSIS_jan2019_panel300/BEAGLE_4.0_analysis_chimp/SAMPLES_vcf/ MAP=/scratch/devel/avalenzu/Impute_Master_Project/ANALYSIS_jan2019_panel300/BEAGLE_4.1_analysis_chimp/MAP/ BIN=/scratch/devel/avalenzu/Impute_Maste...
bf0a24a5d2cc990a40852305c189a8451d37d835
589
project_name=openjpeg-libwebp bug_id=signed-int-overflow dir_name=$1/$project_name/$bug_id pc=libwebp-0.3.0 pc_url=https://chromium.googlesource.com/webm/libwebp pc_commit=v0.3.0 mkdir -p $dir_name cd $dir_name git clone $pc_url $pc cd $pc git checkout $pc_commit #sed -i -e '206d' examples/jpegdec.c #git add examp...
2b53415b185dafe9eef2767d695e53ada25d9fce
68
. ./prep.sh #./selfdrive/boardd/boardd.py ./selfdrive/boardd/boardd
40e1e948dda644722083cbb8a6d7098b8b60878f
1,655
#!/bin/bash # exit on error set -e # this script will update the git repo and then sync a particular site to the latest version of the branch # only applies to wp files # get parameters SITE=$1 BRANCH=$2 if [ "$SITE" == "" ] || [ "$BRANCH" == "" ]; then echo "USAGE: ./site_update.sh site_name branch_name" ...
eeb7c946686ed9fea92f96657b111852db54e917
6,333
#!/bin/sh # [SublimeLinter shellcheck-exclude:"SC2039" ] #=============================================================================== # # FILE: .shell.d/lib/exitcodes # # USAGE: (should be sourced by .shell.d/shellinit) # # DESCRIPTION: Standardize my exit codes. # # OPTIONS: --- # REQUIREMENTS...
c0c5a072c4e42c31621c372118859c2b7a3f31c0
128
#!/usr/bin/env bash docker build . -t sample-service docker run -e MODE='' \ --rm -p 8080:8080 sample-service:latest
28e6248e992e94caac321ee7e1174cf377200ac9
5,184
package: autotools version: "%(tag_basename)s" tag: v1.6.3 source: https://github.com/alisw/autotools prefer_system: "(?!slc5|slc6)" prefer_system_check: | export PATH=$PATH:$(brew --prefix gettext || true)/bin:$(brew --prefix texinfo || true)/bin; which autoconf && which m4 && which automake && which makeinfo && w...
05c465f7ab9b79a026b006b10ef11a450ede7e9e
175
curl -G "https://openapi.naver.com/v1/search/shop.json" --data-urlencode "query=닌텐도스위치" -H "X-Naver-Client-Id:CLIENT_ID" -H "X-Naver-Client-Secret:CLIENT_SECRET"
284066696a5e6cc3f370645685cd6107e8edec72
101
#!/bin/bash sudo service docker stop sudo service docker-registry stop sudo service postgresql stop
663ba4f19ffeb7161b11fff469c0d5ca1d01bfee
709
#!/bin/bash # 指定した ID の hook の情報を見る # # 以下の環境変数が必要 # BOTHUB_GITHUB_TOKEN: GitHub の Token(要管理者権限). # BOTHUB_HOOK_ID: WebHook の ID. list_webhook.sh で確認できる. # BOTHUB_USER_NAME: https://github.com/UserName/RepoName の UserName の部分 # BOTHUB_REPO_NAME: https://github.com/UserName/RepoName の RepoName の部分 source pre_check.sh ...
dcc58d8756fedf44d54ff54d20b377f2c41406d0
258
#!/bin/bash testUser=noSuchUser if grep $testUser /etc/passwd then echo "first command" echo "second command" echo "I can put in other commands besides echo" echo $testUser ls -a /home/$testUser/.b* else echo "The user $testUser doesnot exit" echo fi
293d8a180b38e8fe8f577efcadd4501c0ffe8bad
1,616
#!/bin/bash sudo mv /etc/pacman.conf /etc/pacman.conf.back sudo cp arch_xfce/scripts/pacman.conf /etc/pacman.conf sudo pacman -S haveged sudo systemctl enable haveged sudo systemctl start haveged sudo pacman-key --init sudo pacman-key --populate archlinux sudo pacman -Syy sudo pacman -S lxdm xfce4-artwork xdg-utils gtk...
bb731171e1069b8e044f00b7919eaeb31ed0b098
1,693
# SUBMARINE -------------------------------------------------------------------- export user="submarine" export home="/submarine" export acme="$home/acme" export etc="$home/etc" export log="$home/log" export run="$home/run" export ssl="$home/ssl" export www="$home/www" # WP_DOMAIN ------------------------------------...
e125ef129b8ec1344d965db996e55bbe174617f6
705
#!/bin/sh P2P_PATH=${PWD} cp $P2P_PATH/bin/IOTDaemon $P2P_PATH/../../bin/resource/3518e200_P3_common/new_p2p_tmp -apv chmod 777 $P2P_PATH/../../bin/resource/3518e200_P3_common/new_p2p_tmp/IOTDaemon cp $P2P_PATH/lib/*.so $P2P_PATH/../../bin/resource/3518e200_P3_common/new_p2p_tmp/lib -apv cp $P2P_PATH/include/p2psdk.h ...
d96d62dac1d03dfe95c8beb083e6b7e74874108f
4,093
#!/bin/bash # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use ...
57fb07f398b3351c38a143f509c6ff0e9fb775d3
98
echo "Done! Check your vimrc.local" echo "انتهت العملية" echo " والحمدلله"
6ef5d8c15186982b740789bfa6971d3a0b5dbe45
42
#!/bin/sh exec /usr/bin/redfish-events.py
04e6d87cb75d9778b8d329c2b7bdf02301201f16
395
# !/bin/bash # # Script kills the running HTTP servers via python launched with http.server & # SimpleHTTPServer using pkill # # Examples: # To launch HTTP service on port 1433 in the folder /tmp: # ./invoke_http_server.sh 1433 /tmp echo "[*] Removing all running HTTP/HTTPS Servers running in the backgrou...
7afa4df31199f4f9482fe337bc25a1a728be7889
4,459
#! /bin/sh LOSEFACE=../loseface FACES=orl_patterns SUBJECTS=40 echo "IMPORTANT! The following steps will take a lot of time (days, maybe weeks)" echo "Patterns=\"$FACES\", Subjects=$SUBJECTS" echo "Creating patterns..." $LOSEFACE $FACES.lua >/dev/null echo "Done" echo "MLP global (25 inputs)..." $LOSEFACE mlp_globa...
fe8d5a44fce6b8a5880f117a8c0f0acd2cde1970
68
#!/bin/bash cd /home/user/Firmware make posix_sitl_default gazebo
651684948351aa2772a7ddafcf95fc913c109557
1,776
#rsync -av --exclude '.git' --exclude '.Rproj.user/' ~/default/workspace/nci60imsb augustin@helix.nih.gov:/data/augustin/rPackages/ #rsync -av --exclude '.git' --exclude '.Rproj.user/' ~/default/workspace/rcellminerElasticNet augustin@helix.nih.gov:/data/augustin/rPackages/ # BASIC SETUP cd /Users/rajapaksevn/REPOS/ ...
6a64178bb2c0319a0bd862be01086a6ad5bcbca3
30
#!/bin/bash ./minimum echo $?
366ad02d7a5173c42a10c8627cdbd902dfb00e7b
4,473
#! /bin/sh ###################################################################### # # GET_SNUM_HTMLPART.AJAX.CGI # 駅ナンバー一覧部分HTML生成 # Written by Rich Mikan(richmikan@richlab.org) at 2014/09/17 # # [入力] # HTTP POSTで次のCGI変数を与える # [rwletter] : 「知りたい駅」の路線文字 # DATA/SNUM2RWSN_MST.TXT …… 駅ナンバーマスターファイル # TEMPLATE...
ada5dcfa0722f2ea4a2a29c34b4f0c5631060fae
54
#!/bin bash date=`date +%Y%m%d` ruby getnode.rb $date
0296342f7e1a182a5487badea2f9e6f156dac3c3
132
jmeter -n -t test-taurus.jmx -l test-taurus.jtl -Jjmeter.save.saveservice.output_format=xml -Jjmeterengine.stopfail.system.exit=true
d7690c60f95fbf9baa908fa3afb056d6d20becac
233
#!/usr/bin/env zsh # Trim starting and trailing whitespace from a string # Read from arg or from pipe local input=$1 [[ -p /dev/stdin ]] && input="$(cat -)" # Pass through awk to remove whitespace echo $input | awk '{$1=$1;print}'
d8cc9a04dfb76b62fa0a969d40c2f7a7cfb9fa45
674
#!/usr/bin/env bash echo This will take a few seconds java -jar ../namingserver/target/namingserver-0.0.1-SNAPSHOT.jar >& ../logs/namingserver.log & sleep 2 ; echo -n . java -jar ../configserver/target/config_server-0.0.1-SNAPSHOT.jar >& ../logs/configserver.log & sleep 2 ; echo -n . java -jar ../ApiGateway/target/api-...
e13e6b344f7f960532b1498bcaf4f13444123edd
237
#!/bin/bash name=trt_gen_tool image=dev/tensorrt docker rm -f ${name} params=$@ nvidia-docker run -ti \ --name ${name} \ -v `pwd`/../../:/work \ ${image} \ /bin/bash -c "cd /work/app/trt_gen_tool && ./run_locally.sh ${params}"
c21ddd622ca49b0fb9bead0d80bf6109962da3d8
699
#!/bin/sh # Push wiki cd ~/me && git add -A && git commit -m "Daily update" && git push # Clean up downloads folder. find ~/Downloads/* -maxdepth 1 -mtime +1 -exec rm -rf {} \; # rm -f ~/Downloads/BeFocused.csv # Fetch the BeFocused data # open -n /Users/andrewszot/Library/Mobile\ Documents/com\~apple\~Automator/Doc...
9f1a07efb0bb2aad9e2b9522a4928e32de7bb203
278
#!/bin/sh VERSION="latest" (cd doc; make) rm -rf /tmp/index.html mv doc/index.html /tmp/index.html; git checkout gh-pages; rm -rf ./$VERSION mkdir -p ./$VERSION/ mv -fv /tmp/index.html ./$VERSION/ git add --all ./$VERSION/index.html git commit -a -m "Update ${VERSION} doc"
37ec8783dcc5462409fab914056d67d563ccd570
417
#!/usr/bin/env bash <<END ### cheatsheet $0 migrate apply # migrate $0 migrate apply --down 1 # revert $0 init . # run after removing all files, for a new start ### END set -ue cd $(dirname "$0") export HASURA_GRAPHQL_ENDPOINT='http://127.0.0.1:61080' export HASURA_GRA...
59a8feff9eccc0f36e4f15ed1a7cde96d87e9f37
2,211
#!/bin/bash set -eu target_dir="${1:-.}" days=7300 rsa_bits=2048 org="httplib2-test" server_cn="localhost" subj_prefix="/C=ZZ/ST=./L=./O=$org/OU=." main() { cd "$target_dir" gen check } check() { echo "- check keys" >&2 openssl rsa -in ca.key -check -noout openssl rsa -in client.key -check -noout openssl rsa ...
927a0cfd75ba1da8970f35d80152329b507276e0
2,032
#!/bin/bash ### BEGIN INIT INFO # Provides: xvfb # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Starts xvfb # Description: Starts X Virtual Framebuffer server ### END INIT INFO DESC="Starts xvfb" DAEMON=/usr/bin/Xvfb NAME=xvfb DA...
bc67d805f5edbd7b34f8730aba98d20f9293e1cc
569
#!/usr/bin/env bash go install src/hackathon.2016/sharingservice/datastore/DataStorageService.go docker build -f docker/DataStorageService_Dockerfile -t gcr.io/$PROJECT_ID/data_storage_service:v1 . gcloud docker -- push gcr.io/$PROJECT_ID/data_storage_service:v1 gcloud config set compute/zone us-central1-c gcloud ...
e5663f1d21d5d9ffcc45ed53cbad15e95a658838
83
REACT_APP_MM_KEY=a80cb91d29e5495321cbb3e782b2ae15 Feel free to use the same key :)
ec07ae5a8b9ce7badbbddc55bfd9767b8d6177e9
4,326
# Make sure bash can find .inputrc test -n "$INPUTRC" || export INPUTRC="~/.inputrc" # Collect some info about the local system export HOST="$($uname -n)" export OS="$($uname -s)" test -n "$UNAME" || export UNAME="$($uname)" # Tunnel CVS via SSH export CVS_RSH="ssh" export IRCNAME="dan" # Erase duplicate entries f...
7e291cc27ae70147de84669ebbff560d8f554e02
198
#!/bin/bash $PYTHON setup.py install # NeXpy uses: # $PYTHON setup.py install --single-version-externally-managed --record installed_files.txt # Add more build steps here, if they are necessary.
cd0272884ae041bc70e0d17ffee1536e6e1e8433
96
PORT=3000 PGHOST=localhost PGUSER=cocktails_app PGDATABASE=cocktails PGPASSWORD=1234 PGPORT=5432
02419c343539ebb889bd828fc34fe1d36079be06
1,124
#!/bin/bash NAME="copa_do_mundo" # Name of the application DJANGODIR=/webapps/copa_do_mundo/app/ # Django project directory USER=copa # the user to run as GROUP=webapps # the group to run as NUM_WORK...
7ea909ea0f2de4c40fb809e22052a4b499a9afb9
321
#!/usr/bin/env bash [[ -d protodef ]] || mkdir protodef (cd protodef; curl -sSL "https://github.com/ChromeDevTools/devtools-protocol/raw/master/json/browser_protocol.json" >js_protocol.json curl -sSL "https://github.com/ChromeDevTools/devtools-protocol/raw/master/json/js_protocol.json" >browser_protocol.json )...
d7e62ed20c295c73feebc076039a01d884e5054d
147
#!/bin/sh while true do DATE=$(date +"%Y%m%d") ./runtest.sh > /logs/"$DATE".log sleep 125s ./smart.sh >> /logs/"$DATE".log sleep 86400s done
c79cd32841b02d86621779371d51c4187bbe7aff
77
cargo +stable fmt cargo build --all cd examples cargo build --bin debug cd ..
f8f455f7d5b217687a5cdd9b12a466423cdd5a40
119
tensorflow/tensorflow/contrib/makefile/download_dependencies.sh tensorflow/tensorflow/contrib/makefile/build_all_ios.sh
c918390240012aa9af2ae4ededd3130e2a8bcdd6
257
#!/bin/bash echo "Names: multi_$1_ldim$2" echo "VAE type is: $1" echo "Latent dim is: $2" echo "# of epochs is: $3" for NUM in `seq 0 1 9` do python train_multi_vae.py --name multi_$1_ldim$2 --index $NUM --vae_type=$1 --latent_dim=$2 --n_epochs=$3 done
199afd4436afa9c1be6d3bba6fd53b73d12b1c9c
256
#!/bin/bash root=~/workspace/tf_flexible_detector index=$1 python ../py/export_inference_graph.py \ --pipeline_config_path=$root/ssd_mobilenet_v1.config \ --trained_checkpoint_prefix=$root/train/model.ckpt-$1 \ --output_directory=$root/output
b992e17f81539fe7e39c9c4761e9cfdb9a791c2b
156
#!/bin/bash python parser.py -m -i tests/rot13.c python parser.py -m -i tests/aes.c python parser.py -m -i tests/hmac.c python parser.py -m -i tests/rsa.c
78127548860c856e766173ffd712350de18b107c
28
# vim-gnome # libnotify-bin
ad670658607f367ac2b8b70a6dbeedea77d48aa5
2,633
#!/usr/bin/env bash # Copyright (c) 2013-2016 Tuomo Tanskanen <tuomo@tanskanen.org> # Usage: Copy 'gitlab.rb.example' as 'gitlab.rb', then 'vagrant up'. set -ex # these are normally passed via Vagrantfile to environment # but if you run this on bare metal they need to be reset GITLAB_HOSTNAME=${GITLAB_HOSTNAME:-127....
936e512dde8901ff110a795bde92ba0267f0e3ea
81
screen -dmS website bash -c 'echo waiting 3 senconds...; sleep 3; exec node main'
c07485ca13a84ec6f0b8c76d4bf6d864f1f236b8
196
#!/bin/bash export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH" export CFLAGS="-I$PREFIX/include" export LDFLAGS="-L$PREFIX/lib" export CPATH=${PREFIX}/include make cp tadaridaD ${PREFIX}/bin
8f1a6611850a2ede6a4bb87820c4be40f8289793
54
API_KEY = "RGAPI-627f53b1-5772-4e5f-9801-5cf3f97d9ddb"
74fd5eb5f7c4b0166fcf43900eef352d9f07469c
305
#!/bin/bash NOW=$(date +%s000) curl -s -k \ -H "Hawkular-Tenant: ${HAWKULAR_TENANT}" \ -H "Authorization: Bearer ${HAWKULAR_TOKEN}" \ -H "Content-Type: application/json" \ -X POST \ -d "[{'timestamp': ${NOW}, 'value': 7}]" \ https://${HAWKULAR_HOST}/hawkular/metrics/gauges/data_x/raw
d49234df6c7bc68abf61f154a85729570256f135
63
ENV=dev FLASK_ENV=development APP_SECRET_KEY=patron_secret_key
4ddd18dc824f792b1b8b0651b6f0a8e835f402a3
11,035
#!/usr/bin/env bash # -*- coding: utf-8 -*- # -*- mode: shell -*- # (c) Copyright 2014 WibiData, Inc. # # See the NOTICE file distributed with this work for additional # information regarding copyright ownership. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in ...
05f6135c42a39bec68582eade7714056aaf45a96
264
curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz tar zxvf package-query.tar.gz cd package-query makepkg -si cd .. curl -O https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz tar zxvf yaourt.tar.gz cd yaourt makepkg -si cd ..
0e89d5cdcc535f205e1dcd0f85f8f4350d5aefb6
405
#!/usr/bin/env bash file=$(mktemp) loadc_op=$(echo -e '\x01') leq_op=$(echo -e '\x08') echo -e \ "$loadc_op"\ "\x09\x00\x00\x00"\ "\x00\x00\x00\x00"\ "$loadc_op"\ "\x0A\x00\x00\x00"\ "\x00\x00\x00\x00"\ "$leq_op"\ "\x00\x00\x00\x00"\ "\x00\x00\x00\x00"\ "\x00" > "$file" ./build/fm "$file" result="$?" if [[ "$result...
eb3d4a992864dd9d759356d7e07dfe8826c0dfa1
128
PUERTO=8080 BASEDATOS=mongodb+srv://migueld200:lunatamayo@cluster0.q0qe4.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
0cff8eb58692f20b938d8b642ec0e0fb8469c5d2
2,301
#!/usr/bin/env sh ## Copyright (C) 2020 Ulises Jeremias Cornejo Fandos ## Licensed under MIT ## ## @script.name [OPTION] ARGUMENTS... ## ## Options: ## -h, --help Help. ## -b, --build Build docker image ## ## --tag=TAG_NAME ##...
bd835bffeeadddd36314dcd42a93c11cfc074596
157
#!/bin/bash echo "Upgrading Pushy" composer upgrade cd src/wp-content/plugins/pushy echo "Upgrading Pushy Dependencies" composer upgrade cd ../../../../
a9767a4b7202d992b8ad2e413a4d1f08d0a0b763
3,456
#!/bin/bash basedir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) . $basedir/utils.sh # Make sure we kill the entire process tree when exiting trap 'kill 0' SIGINT SIGTERM function run_test_retry(){ local tests_file=$1 local tmp_log_file=$2 local i=0 local exit_code=0 pushd . > /dev/null ...
b6bc3163fadc73d52a8d91670905dab51fc63cd7
1,467
#------------------------------------------------------------------------------- # # intellij/functions.zsh # Command-line functions for IntelliJ # #------------------------------------------------------------------------------- # Launch IntelliJ IDEA # https://gist.github.com/chrisdarroch/7018927 function idea { lo...
910e79548bb4a55be0ef86214e3f211f224ca834
227
#!/bin/sh cd "$(dirname "$0")" ../tools/png2bin bitmaps/parrot.png ../ASSETS/BITMAPS/PARROT.BIN -dither ../tools/png2bin bitmaps/font.png ../ASSETS/BITMAPS/FONT.BIN ../tools/png2bin bitmaps/goat.png ../ASSETS/BITMAPS/GOAT.BIN
fbd56a34c77f2b48b4b12c75e22f16f68851f868
331
#!/bin/sh SERVER=cloud.shortsands.com export COPYFILE_DISABLE=true # exclude Mac OSX resource forks (._*) tar -cvf server.tar --exclude='.DS_Store' www scp -P7022 server.tar root@$SERVER:/root/Server ssh root@$SERVER -p7022 "cd /root/Server; tar -xvf server.tar" echo "Login to server and tail /root/Server/www/se...
b92bbe9b151bd02ab8c520f3fe6a13f74bfb4cf0
1,006
#!/bin/bash # the default node number is 3 N=${1:-3} # start hadoop master container # containers running on different networks (--net) cannot be linked properly # be careful with the links (they must refer to existing containers), docker does error docker rm -f hadoop-master &> /dev/null echo "start hadoop-master c...
8b5cd0147fd1420f642dfd04abce319eb36ec298
320
#! /bin/bash # Exemplos do diálogo --warningcontinuecancel # Para funcionar é necessário antes atribuir um #+ valor à variável $pid kdialog --title "Exemplo de warningcontinuecancel" \ --warningcontinuecancel "O programa com PID = $pid está demorando muito para terminar. Deseja encerrá-lo?" && kill $pid
6ef8a8c47ae437da2e02a7553dce19fcbe98358e
41
VUE_APP_API_URL="http://api.lvh.me:3000/"
c1ff33dee6dfeca79a8bf3fe67e646859cd9bcc7
286
#!/usr/bin/env bash echo "Creating required directories" mkdir dataset -p mkdir dataset/features -p echo "Installing all Python packages for the project" sudo pip3 install -r requirements.txt echo "Installing the English model for the Spacy library" sudo python3 -m spacy download en
0a8e00affc3be431db96fa9c7473c37696ae4d05
124
gcc -c -fPIC examples.c ar rcs libexamples.a examples.o mkdir lib cp *.o lib cp *.a lib python setup.py build_ext --inplace
3577beefcc0c2d97bdb37beeba82e4703d82192d
31
#!/bin/bash make use_LINUX=yes
e455b19962da597f1b73e60d3d15982617e4085f
462
#!/bin/bash #BATCH --job-name=str0 #SBATCH --get-user-env #SBATCH --output=./_scheduler-stdout0.txt #SBATCH --error=./_scheduler-stderr0.txt #SBATCH --nodes=3 #SBATCH --ntasks 28 #SBATCH --time=25:00:00 set +e source /etc/bashrc module load intel intel-mkl intel-mpi quantum-espresso/6.4-mpi srun /ssoft/spack/corna...
5fd7afe6f11ea90d66af77fa97aa255833a8ef7a
1,588
#!/usr/bin/bash # Defining the shell path and global variables SHELL_PATH=$(readlink -f $0 | xargs dirname) source ${SHELL_PATH}/scripts/global.sh # Please make changes to the drive based on your hardware configuration info "Formatting the drivers..." mkfs.vfat -F32 /dev/sda1 mkfs.ext4 /dev/sda2 #mkswap /dev/sda3 #sw...
a9585071c45f5a88ab363cfa6a072c0463673e61
78
#!/bin/bash echo developer | sudo -S /usr/local/bin/wrapdocker.sh exec "$@"
63a53005b43aae8953a2f3c34650e8e1d848572b
318
#!/bin/bash KAFKA_HOME=/opt/kafka ZOOKEEPER=napslxcdh01:2181 USAGE="Usage: $0 <kafkatopic>" if [ $# -lt 1 ] ; then echo $USAGE >&2 exit -1 fi TOPIC=$1 SCRIPTDIR=$(cd $(dirname $0) && pwd -P) cd $KAFKA_HOME bin/kafka-topics.sh --create --zookeeper $ZOOKEEPER --replication-factor 1 --partitions 1 --topic $TOPIC
adb416b0e555f01ed5ab7075d8f2717cb751a66c
1,336
#!/bin/sh # # All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. # case "$1" in "--help"|"-h"|"-?") echo "Syntax: $0 [cacheKeyValuePrint|cacheKeysPrint|cacheSize] [arguments.....]" echo "cacheKeyValuePrint - Prints the Keys and values (only string or list/string) for a g...
5b8d2125533dc0da3fd0d16ccb5847f2d882b344
1,463
#!/bin/sh # -e: fail if any of the subsequent commands fail # -x: trace each executed command via debug log set -e -x # Usage: # ./osmo-layer1-headers.sh sysmo superfemto_v5.1 # where 'sysmo' is BTS type and 'superfemto_v5.1' is version specifier (tag or branch for git reset) # 2nd parameter is optional and defaults ...
49005b5122d8520eea1b7247383f8c0d295837f0
69
#!/bin/bash exec supervisord -n -c /etc/supervisor/supervisord.conf
d2235fb1ee00a8c835d64c3f55a105e2631dd043
113
#!/bin/bash python3 -m venv .skeleton-pyenv . .pyenv/bin/activate python -m pip install -r pip.requirements.txt
ff15c59389a2239cb94242a8286115a5503b6dbc
827
# Maintainer: Nathan Isom <Nahanisom27 at gmail [dot] com > # derived from st-git aur package. _pkgname=xst pkgname=${_pkgname}-git pkgver=20160407.74c6832 pkgrel=1 pkgdesc='st fork' url='https://github.com/neeasade/xst' arch=('i686' 'x86_64') license=('MIT') depends=('libxft') makedepends=('ncurses' 'libxext' 'git') ...
71791e608b6f5761c501fbedc990249a56691ed2
80
#!/bin/bash mvn clean install docker build -t usercard:beta . docker-compose up
1d869bbd83c4028a453056a570f85831444baf87
47
#!/bin/sh cat popular-names.txt | head -n "$1"
43fe14aedd348dccbaa38066b53ee09f2694c0b9
186
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR docker build \ -t mrebscher/derby:latest \ -t mrebscher/derby:10.12.1.1 \ -t mrebscher/derbyt:10 \ .
ba3711fe3b58d6aa9b4c3e1a0ede490547362dd7
152
#!/bin/sh -eux ub_install ln -s ../aqualung/icon_48.png "$UB_INSTALLDIR"/usr/share/pixmaps/aqualung.png rm -rf "$UB_INSTALLDIR"/usr/share/doc/aqualung
eeb0ea039e0ef7dc513435b7670a5633ea7949e9
2,494
#!/bin/sh # # Title: Auto-Update & Upload LetsEncrypt Certs to KEMP LoadMaster # Guide/Source: https://colinwilson.uk/2017/06/19/auto-update-ssl-certificates-on-kemp-loadmaster-via-pfsense-lets-encrypt/ # Created: 12/06/2017 # Update: 05/12/2018 # Author: Colin Wilson [https://github.com/colinwilson] # Vendor or Softw...
74792d78c64b1b9fb8e24b5ab7ca74bced47b08f
221
#! /bin/bash echo "Введите год" read year if [[ $year%4 -eq 0 ]] && [[ $year%100 -ne 0 ]] || [[ $year%400 -eq 0 ]] then echo "Это високосный год" else echo "Это обычный год" fi
b5b7dde20274d7043a1d64df9916f04c9d9563c0
69
#!/bin/bash ./cactusADM benchADM.par > benchADM.out 2>> benchADM.err
d0781587d31d836b43d28f19c1b4782baa90407c
701
#!/bin/bash function remove_containers { docker kill $(docker ps -q) docker rm $(docker ps -aq) } function remove_data_volumes { docker volume rm $(docker volume ls -q) } while true; do read -p "Do you wish to remove docker containers?" yn case $yn in [Yy]* ) echo "Removing containers"; remove_contai...
c0c2fc5829da9fc037781da5a08dd364c55cd569
211
#!/bin/bash user="cinder" conf="/etc/ceph/ceph.conf" pool="volumes" volume_id=$1 if [ -z $1 ]; then echo "Usage: $1 <volume_id>" exit fi rbd --user $user --conf $conf snap ls $pool/"volume-$volume_id"
a84d2362f65bf77b062c3867a365e4dd6c16081b
166
DATABASE_URL = postgres://nfddpobtrozxsw:a5cc5ba6f90a858b2e76b8c9460ee02cfab685ade0172e89d59bcfba23e9b246@ec2-54-167-168-52.compute-1.amazonaws.com:5432/dfon9sebp9kdn
b1b0493be5891e88fa6189ecf19d08c2a93580d7
60
#/bin/bash killall stest.sh killall srmtool killall ffmpeg
5078b528e6e931206cf00e4871a408446f150dfb
205
#!/bin/sh pwd ls cd /var/lib/jenkins/workspace/check.io/checkboxio/ ls rm -rf main.retry pwd sudo eval `ssh-agent -s` sudo ssh-add do ansible all -m ping -i inventory ansible-playbook main.yml -i inventory
b40f25cd58a4900cef8d29a50868f33752c41fc0
89
. vars/removes.sh for element in ${removes[@]} do rm -rf public_html__new/$element done
81aa6df72cde9ccd285ca959cf25855f04864e86
97
echo StrictHostKeyChecking no > ~/.ssh/config echo UserKnownHostsFile /dev/null >> ~/.ssh/config
d1e6367337c9e93a6d7f87854c4393401add9c7c
640
mysql ${DBPRMS} < $1 > temp.txt # cat temp.txt; # echo "-------------"; sed -i 's/"\[\\\\/\[/g; s/\\\\", \\\\"/", "/g; s/\\\\"\]"/"\]/g; s/}$/},/g;' temp.txt sed -i -E -e 's/"([0-9]+)"/\1/g; s/"\|([^"]+)\|"/"\1"/g;' temp.txt; sed -i 's/\\\\"/,/g;' temp.txt sed -i 's/VÃÂ.a/Vía a/g; s/ã./á/g;' temp.txt sed -i 's/ó/ó/g...