blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
459ad4ea5e4f3ed52f258137217fdd8181528821
8,337
#!/bin/bash ######################################################################### # http://stackoverflow.com/questions/230266/vi-vim-how-to-pipe-visually-selected-text-to-a-unix-command-and-append-output-to # http://stackoverflow.com/questions/3752785/what-can-you-execute-on-visually-selected-text-in-vim # # You ...
44063862a34557d6eefd3aa4c78f8d5d949217c4
1,447
#!/bin/bash #Update this variable to be your email address email_address="youremail@domain.com" return_code=0 # Check for root privileges if [[ $EUID -ne 0 ]]; then echo "Virus scan: only root can do that" 1>&2 exit 1 fi # Display starting message echo "Starting ClamAV automated scan..." ; echo "" # Dump o...
724189723b19384e9635b9e31ef881efa2b3b903
141
#!/bin/bash container=$(docker ps | grep demo-container) if [ ! -z "$container" ]; then # stop container docker stop demo-container fi
3f12baae9524c1eb322c53297305f0dee15e532e
314
#!/bin/sh #SBATCH --ntasks=50 #SBATCH --mem-per-cpu=2056 # memory per CPU core #SBATCH --time=00:20:00 # walltime #SBATCH -J 'Wind Rose Study, Horns Rev 1 Wind Farm' # #SBATCH --qos=test # LOAD JULIA module load julia # CALL AEP CALCULATOR julia calc_aeps.jl $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13}
4f6ef16a504b8ea4be886b6a5b4bc72d56948072
1,184
#!/bin/bash # Copyright 2020 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
c3c0f622f8b048be2e308cd88e657dbbbf58bdbe
719
#!/usr/bin/env bash #check dependencies if ! ruby -v > /dev/null 2>&1; then echo "Ruby is not installed!" echo "You can visit https://www.ruby-lang.org/en/documentation/installation/ to get it" exit fi if ! gem spec nokogiri > /dev/null 2>&1; then echo "Gem nokogiri is not installed!" echo "Run 'gem install ...
b83709e91fac4b423f6ee722e08deab44d43af38
337
#!/bin/bash echo echo "Block output is redirected to file 'block1.out;" # 重定向若干个命令序列的标准输出 # 显示子shell的当前工作目录 ( date; cd /etc; echo -n "Current Working dir: ";pwd; ) > block_subshell.out # 打印父shell的当前工作目录 echo "Current Working dir:$PWD" echo exit 0
c4909fdcd9a6c0378f12b1b4437c15b9687df247
4,265
#!/bin/bash #=================================================================================================== # # scenario inputport # #=================================================================================================== . "${DIR_BIN_LIB}/stfw/domain/service/scenario_service" #----------------------...
ec9e1ffce9e10f8df9b1f30ccf358d834f8b4efd
173
#!/bin/bash FILE="./data/$1" if [ -f $FILE ]; then echo "File already exists. $FILE" else python -m scrapy runspider -o $FILE "./re_crawler/spiders/olx_re_ro.py" fi
59e3d0248e4f46872da460275ed7febaec95d723
118
#!/usr/bin/env bash readonly DOT_BIN=${DOTPATH:-$HOME/.dot}/bin main() { cd $DOT_BIN $DOT_BIN/v "$@" } main "$@"
21c991280709054117917c1f9bbae70c8e51f4da
768
#!/usr/bin/env bash # @Author: Abad Vera # @Date: 06/06/2020 # @Last Modified by: Abad Vera # @Last Modified time: 09/25/2020 # Installer for raspberry pi # Go to dotfiles directory cd "$(dirname $0)/.." DOTFILES_DIR=$(pwd -P) SCRIPT_DIR="scripts" set -e source ./$SCRIPT_DIR/print_source.sh source ./$SCRIPT_DIR...
1409ba9ee1b3ed960ccf802ae55fd9bcbb2d49b4
827
# Contributor: kaivalagi <m_buck@hotmail.com> # Maintainer: blades <blades@gecko.org.uk> pkgname=conkyclementine-bzr pkgver=r8 pkgrel=1 pkgdesc="Provides Clementine info, for use in Conky." arch=('i686' 'x86_64') url="https://code.launchpad.net/~conky-companions/+junk/conkyclementine" license=('GPL3') depends=('python...
0b6a361413259b5575e07d9c3d5be3af8fd2a06d
1,665
#!/bin/bash set -e echo "starting" CONFIG_PATH=/data/config.json if [ ! -f "$CONFIG_PATH" ]; then echo "missing config data" echo "coping example json to data dir" cp /example/config-example.json /data/config.json exit 1 fi HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH) SSH_PORT=$(jq --raw-outpu...
c0f326a0fc742303e613c0c77e5e5ed89d3ea73d
4,925
#!/bin/bash #! -cwd #By: J.He #Desp.: all genes, and samples for Mar2014 run of ceRNA project #TODO: gslistDir=/ifs/data/c2b2/ac_lab/jh3283/projFocus/result/03102014/gslist source /ifs/home/c2b2/ac_lab/jh3283/scripts/projFocus/ceRNA/geneUtilsRuns.sh ### after runnning all step1, get all matrix ready, do this script ...
c14ac9ccf9a1d6976267fe5a69df1b542a6a2ba5
188
#!/bin/sh CWD=$(pwd) input=`cat $1` cd ../Java/CarAI/ echo "$input" | java -Djava.library.path=/home/amee/lib/ -jar target/CarAI-0.0.1-SNAPSHOT-jar-with-dependencies.jar "9" cd $CWD
c84f8bc895045b2880116e81d28ea2f6584d38e5
4,257
#!/bin/bash # This script updates version and build numbers as needed for both # Android and iOS build systems. # This replaces the default `yarn version` script, which does not handle # build numbers as needed for iOS deployments. # The resulting git tags will look like: # v1.3.38(4)-beta where # 1.3.38 is a semver ...
7bf7469904f19ed806d9063439ffc5659ef340fc
969
APP_NAME="Buy-Event" APP_ENV=local APP_KEY=base64:Qt7CYmEI62vyJjQ90CZGzTQekVieb+vAAfWMKvDzdos= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=buy_event DB_USERNAME=root DB_PASSWORD=root BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=s...
7b5c34dbff5701b045696f058857f723ab6cd7bc
203
#!/bin/sh export version=$1 export key=$2 dotnet pack -c release -p:PackageVersion=$version dotnet nuget push ./Library/bin/Release/fsModbus.$version.nupkg -s https://api.nuget.org/v3/index.json -k $key
5169de22bb2c21aa7838feaeddd60f827716e7b5
344
#!/bin/bash APP_DIR=$(cd `dirname $0`/../; pwd) PID=`cat $APP_DIR/configs/node.pid` if [ ! -n "$PID" ]; then echo "pid not exist" exit 1; fi SUB_PIDS=`pgrep -P $PID` if [ -n "$SUB_PIDS" ]; then GRANDSON_PIDS=`pgrep -P $SUB_PIDS` fi echo "kill $PID $SUB_PIDS $GRANDSON_PIDS" kill $PID $SUB_PIDS $GRANDSON_P...
39f9c4ac7fad50ab06d6bdd7fad5885285329a4c
76
./client 128.83.139.94 8080 20 -20 -16 1800 30000000 4000000 10000000 50000
f7e9b1cfa2d5886a7b243c7dfa109e2d46ce5de3
784
#!/bin/bash echo "Dropping any existing database..." kubectl exec "${POD_NAME}" \ -- hab pkg exec "${SERVICE_NAME}" \ -- mysqladmin drop "${DATABASE_NAME}" --force \ || true echo echo "Creating an empty database..." kubectl exec "${POD_NAME}" \ -- hab pkg exec "${SERVICE_NAME}" \ -- mysqladmin create...
fc203d99971dde9736aa8c6cfbfe8282dfbde4ec
244
export XDG_CONFIG_HOME="${HOME}"/config export XDG_DATA_HOME="${HOME}"/local/share export XDG_CACHE_HOME="${HOME}"/cache export XDG_DATA_DIRS=/usr/local/share/:/usr/share export XDG_CONFIG_DIRS=/etc/xdg export ZDOTDIR="${XDG_CONFIG_HOME}"/zsh
bf0b878b881f727d279aa93ebc6bf44b77255ca1
206
#!/bin/sh # ls "`sh cat-dir.sh <filename>`" のようにクオートして使う dir=$1 || "" echo /System/Library/Input Methods/JapaneseIM.app/Contents/PlugIns/JapaneseIM.appex/Contents/Resources/${dir}
d74a91b66eb8e23dd03dfa428dd6c277d781585b
411
#!/usr/bin/env bash export LISTEN_ADDRESS=127.0.0.1:7070 export RABBITMQ_SERVER=amqp://test:test123@127.0.0.1:15672 export STORAGE_ROOT=/var/ export LOG_DIR=/var/logs/afs/ export LOG_LEVEL=DEBUG if [ ! -d $LOG_DIR ];then mkdir -p $LOG_DIR touch $LOG_DIR/afs.log fi if [ -d $STORAGE_ROOT ];then go run .....
a31df70489948bb31d91039eef2002b0ed4ff4ef
14,658
ulimit -t 1 echo $1 $2 $3 $4 $5 >> testruns.txt case $2 in p1) $1 247 1 539 119 188 6712 0 572 721 1 1 1 | diff outputP/O1 - && exit 0 ;; p2) $1 230 0 283 29 848 3547 1 294 411 0 1 0 | diff outputP/O2 - && exit 0 ;; p3) $1 994 1 915 219 860 3148 2 551 716 1 1 1 | diff outputP/O3 - && exit 0 ;; p4) $1 42 0 673 7...
0720d65ac226923377fd15ec99dddd5350c2f007
97
#!/bin/bash cf uninstall-plugin copy-autoscaler go build cf install-plugin ./copy-autoscaler -f
698ae2771b308dabebc74060eb2afe021b48f178
8,367
#/bin/sh PROJECT=$1 BOARD=$2 COOKIE=$3 STRATIO_JIRA="https://stratio.atlassian.net/rest/agile/latest" function _get_from_jira() { local path=$1 local response='' local data='' local status_code=-1 response=$(curl -H "cookie: $COOKIE" -fLs -w "\n%{response_code}\n" \ "$STRATIO_JIR...
ebd0c7b996abcc99c0a122362ccd636e22f66c16
139
#!/bin/bash rm -rf ~/.vim/pack/plugins git clone --recurse-submodules -j8 git@gitlab.com:divramod/vim-pack-plugins.git ~/.vim/pack/plugins
c45936c6ceee9080c00e95e8578233c9e725e2a4
1,030
#!/bin/bash # setup paths, please use absolute path export SPARK_HOME=/usr/src/app/spark-2.1.1-bin-hadoop2.7 export BigDL_HOME=/usr/src/app/bigdl-dist-spark-2.1.1-scala-2.11.8-linux64-0.2.0-dist export PYSPARK_DRIVER_PYTHON=jupyter export PYSPARK_DRIVER_PYTHON_OPTS="notebook --allow-root --notebook-dir=./ --ip=* --n...
25a1a7d3b32363e541bb77e042e4a91a2d718ecd
729
#!/bin/sh docker build . -t openvpn > /dev/null if [ ! -d easy-rsa ]; then git clone https://github.com/OpenVPN/easy-rsa.git fi cd easy-rsa/easyrsa3/ cp vars.example vars if [ ! -d pki ]; then ./easyrsa init-pki fi if [ ! -f ../../volumes/keys/dh.pem ]; then ./easyrsa gen-dh cp pki/dh.pem ../../volumes/k...
3fcf720610fe66d6fd490802808f96cbd8673fc0
2,486
#!/bin/bash # ble host setup # written by nanite 2017-03-04 # ref: https://developer.nordicsemi.com/nRF5_IoT_SDK/doc/0.9.0/html/a00092.html NC='\033[0m' # no color GREEN='\033[0;32m' CYAN='\033[0;36m' YELLOW='\033[1;33m' echo -e ${CYAN}-------------- `basename "$0"` -------------${NC} # Mount the debugfs file system...
ee808eba1374fbf27b5207a695d088cb1687500a
856
#!/bin/bash ################################################################################ ## File: vercel.sh ## Desc: Installs the Vercel CLI ################################################################################ # Source the helpers for use with the script source $HELPER_SCRIPTS/document.sh # Instal...
012557f7498a6846202766b841f944b60e8aa99c
1,515
# Maintainer: Antonio Rojas <arojas@archlinux.org> # Contributor: Alexey D. <lq07829icatm at rambler.ru> pkgname=plasma-workspace-git pkgver=r4154.a84e771 pkgrel=3 pkgdesc='KDE Plasma Workspace' arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kde/kde-workspace' license=('LGPL') depends=('qt5-tools' 'kded...
eb54b18704e738602012db70b9a81f134b246e46
553
#!/bin/bash # The script will return "This is funny." if any argument is given. # Executing script without an argument will result in "This is NOT funny." # The argument in the first paramter position is stored as a variable "var". var=$1 # Then the variable is tested with the paramter -z which returns true ...
9f86b43b62792adb34074ab23cbaa12198dfe75c
36
MONGODB_URI=mongodb://localhost/mern
dfcf7c0b5baaa2569bb141bd8afd13ede7f83e39
162
/usr/local/adacnew/bin/StartPinnExec $PINN_STATIC/bin/$PINN_ARCH/Pinnacle -read_only -physician_review -dir Institution_165/Mount_0/Patient_6204/Plan_1 -plan plan
0976b596ff584d01a2d77e636df17ab486894475
5,388
REACT_APP_apiHost=http://localhost:8080/ REACT_APP_imgHost=https://staging.lockchain.co:8084/ REACT_APP_basePath=http://localhost:3000/ REACT_APP_routerPrefix=. REACT_APP_domainPrefix=local PUBLIC_URL=http://localhost:3000/ REACT_APP_WEB3_HTTP_PROVIDER=https://mainnet.infura.io/LOSOOn6ZHnkHG23tu6Ak REACT_APP_LOCTokenCo...
d09e77f3e837ea726e7a721eb0601a1f05c3b638
171
#!/bin/bash echo Date and Time echo $1 and $2 $3 grep "^$2 $3" /03-student/homework/Roulette_Loss_Investigation/Dealer_Analysis/$1_Dealer_schedule | awk '{print $5 $6}'
b0716798dd2735dfc81253430b0fe40c1dbb1d88
5,023
#!/bin/bash -e echo '' echo '######################################################################' echo '# INSTALL #' echo '######################################################################' echo '' source $OPENSHIFT_CARTRIDGE_SDK_BASH case "$1" in ...
9bc3f887dced12e2f39f250de065dbd93ede17f4
92
HTTP_HOST= HTTP_PORT= LOG_ACCESS= JWTKEY= APIWEATHERKEY= DB_CONNECTION_STRING= SALT_ROUNDS=
8adfbd6a4ef77eb73de4b3536ee1587df6045bcf
59
#!/bin/bash docker-compose -p paywei -f compose/dev.yml $*
77bc49028966faf6ea0d96ce2a8296e49bd06969
892
#!/bin/bash #SBATCH --time=00:30:00 # walltime #SBATCH --reservation=fri # reservation #SBATCH --nodes=3 # number of nodes #SBATCH --ntasks-per-node=1 # always use one task per node #SBATCH --cpus-per-task=8 # cpu-cores per task #SBATCH --hint=nomultithread # 1 thread per physical core #SBATCH ...
2fed9cfc5143a01f6e32504b3bc2f4070eb30337
8,261
#!/bin/bash # shellcheck disable=SC2164 #--------------------------------------------------------------------------- # @Author: ak47(454331202@qq.com) # @file_name: Tengine.sh # @Desc #--------------------------------------------------------------------------...
ff2d2833a4f424e1b63d161fb17ba28dd9321dd0
50
for i in $*; do res="$i $res" done echo $res
51a9cb348a655afce591c4ece7fee773fb684fc3
1,898
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then echo 'ERROR: one or more MANDATORY variables are undefined' echo 'expected input like [country] [brand] [environment]' echo "input Examples:" echo ' ' echo '+----------------------------------------------+' echo "| it dt uat ...
c423abd75cacc090bb07b14b6ff4c3cab4b77600
98
#!/usr/bin/env bash Hostname 35.196.156.5 PasswordAuthentication no IdentityFile ~/.ssh/holberton
a96b2bea33ea9a2bb02cf7b371bd56eec35da6c1
2,638
# Find node_modules folder recursively and print reserved space function nmls() { find . -name "node_modules" -type d -prune -print | xargs du -chs } # Delete node_modules folder recursively function nmrm() { find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \; } # Generate a random password...
0360294669e2574962bfb805ae2c4046cdb4ac77
2,022
#! /bin/bash # YÖNLENDİRME # 3 iletişim kanalı # 1 INPUT ----> Klavye < (0) # 2 OUTPUT----> EKRAN (Standart output - çıktı) > (1) # 3 OUTPUT----> EKRAN (Standart error - hata) 2> (2) # komut > dosya (Komutun çıktısı dosyaya yazılır) # komut >> dosya (Komutun çıktısı dosya sonuna yazılır) # komut < dosya (Komut...
ba07ea6fa2597190297156fc803cbd131d1ad312
988
# # Deployment of iAudio # # base=/var/www/iAudio backup=/var/www/tmp application=/var/www/iAudio/application public=/var/www/iAudio/public tmp=/var/www/iAudio/public/tmp echo "Start deployment.." echo "" #Backup tmp structure echo -n "Backup up tmp structure..." cp -r $tmp $backup echo "DONE" #d...
0c86a6be45731ba5a934f3671c80263c2d01e342
116
#!/usr/bin/env bash . zkEnv.sh export CLASSPATH="$CLASSPATH" java org.apache.zookeeper.server.SnapshotFormatter "$@"
9013e3ab63d56f567e71a30d779428ee81380689
2,582
#!/bin/sh # format # #EXTM3U # #EXTINF:0,vvv, # mms://fff # #EXTINF:0,fff, # mms://ttt ############ html mode ######1 #########2 # http://radioget.googlecode.com/svn/trunk/radiolist.xml radio_get_xml=$HOME/.config/smplayer/radiolist.xml smplayer_audio_file=$HOME/.config/smplayer/radio.m3u8 temp_audio_file=/...
05abf6452b1558f074ffbc4f14709ce2f3e76f5e
126
#!/bin/bash export JAVA_HOME=/jdk/ /etc/init.d/mysql.sh start /etc/init.d/jboss7.sh start exec /etc/init.d/shell.sh /jboss
c4afd561e7cc99e1be8bd17391ba09c54a6db2be
2,232
#!/bin/zsh # Usage: termcopy [FILE...] # # Copies the contents of the given files (or stdin if no files are given) to # the terminal that runs this program. If this program is run inside tmux(1), # then it also copies the given contents into tmux's current clipboard buffer. # If this program is run inside X11, then i...
6c8a44c96eea2caa26814a4de275d50c696df898
2,828
#!/usr/bin/env bash # # Train the inifinite phone-loop model. # if [ $# -ne 4 ]; then echo "usage: $0 <setup.sh> <niter> <in_dir> <out_dir>" exit 1 fi setup="$1" niter="$2" init_model="$3/model.bin" out_dir="$4" source $setup || exit 1 if [ ! -e $out_dir/.done ]; then mkdir -p "$out_dir" # Fir...
fc52bd87012be3864696ce34acbcef4108c0cf2b
339
#!/usr/bin/env zsh main() { new_version=$(command grep -E '"version": "v?([0-9]+\.){1,}' package.json | cut -d\" -f4 2> /dev/null) filename="$PWD/spacezsh.zsh" sed -e "s/SPACESHIP_VERSION='.*'/SPACESHIP_VERSION='$new_version'/g" "$filename" >"$filename.bak" mv -- "$filename.bak" "$filename" git add spacezs...
38d2dd02b72b6a0c4db7947782e3c71c65eca207
112
DATABASE_USER=postgres DATABASE_PASS=postgres DATABASE_HOST=172.17.0.1 DATABASE_PORT=5432 DATABASE_NAME=postgres
2d113b8942c400a98dc5129fb4c8eceffe699358
1,062
#!/usr/bin/env bash # Installs requirements and builds my preferences for Iosevka # # Homepage: https://github.com/be5invis/Iosevka # # Requirements: # - nodejs (≥ 6.0) # - ttfautohint # - otfcc (≥ 0.7.0) set -e WDIR="$HOME/Projects/Iosevka" # OS Check if [ ! "$(uname)" == "Darwin" ]; then echo "Error: Not on Mac" ...
be67119ae77a10d96e6e3d9d71bcbf91580764f4
587
### # @fileOverview 上传目录下的所有 torrent 文件到迅雷离线. # @author ChenCheng <sorrycc@gmail.com> # @ref https://github.com/iambus/xunlei-lixian ### tmpdir="/Users/chencheng/Downloads/tmp/"; if [ ! -d "$tmpdir" ]; then mkdir -p "$tmpdir"; fi find ~/Downloads/ -name "*.torrent" | while read name; do lx add --torrent "$na...
ed705ca3b90777be1be2e7c195ef0a1ee68c2131
397
#!/bin/bash # Build seaflog command-line tool for 64-bit MacOS and Linux VERSION=$(git describe --long --dirty --tags) GOOS=darwin GOARCH=amd64 go build -o "seaflog-${VERSION}-darwin-amd64" cmd/seaflog/main.go || exit 1 GOOS=linux GOARCH=amd64 go build -o "seaflog-${VERSION}-linux-amd64" cmd/seaflog/main.go || exit 1 ...
d339e4d598c92ba4321b51b19a0352ae309d9ec7
6,519
#!/bin/bash # Created by: TIPSotto # Free to use, distribute and do whatever the hell you want with it. # Last Updated: May 13, 2012 ##################################################################### clear echo "*****************************************************************" echo "| Initial: Initi...
517f7f097ef07eec70d5db5b99e16e8fea9d3b0b
102
#/usr/bin/env sh echo export PATH=$PATH:/usr/local/MATLAB/R2015a/bin:/usr/local/MATLAB/R2015a/sys/os
1062bbb4f2545e27f14b8c07a9183d24fe307a3d
392
TITLE_VI_GDB=.\Final_17.gdb # enter full path AUTOMATION_EXPORTS=\AutomationExports # enter full path SQL_EXPORTS=\SQL_Exports # enter full path AGOL_USER= AGOL_PASSOWRD= AGOL_PROJECT=\Online_Content.aprx # enter full path ENTERP_USER= ENTERP_PASSWORD= ENTERP_PROJECT=\Enterprise_Content.aprx # enter full path ENTE...
09a83db53cb97679a85a0f118a668235d920fbd0
122
#!/bin/bash [ "$IFACE" == "eth0" ] && [ -x /sbin/ethtool ] && /sbin/ethtool -K eth0 tso off ufo off gso off tx off exit 0
2f33071876187a8ed8864c6c79c65fc24fcb8482
100
DB_URI=mongodb+srv://admin:123qwE!@cluster0.zu7yv.azure.mongodb.net/test?retryWrites=true&w=majority
4d66cb4f667c69c91ba9323553dad711fd393b39
545
#!/bin/sh # set -ex for i in */; do cd "$i" algorithm=$(cat ./diff.txt) ( LC_ALL=C vim -N --cmd ":let g:enhanced_diff_debug=1" -c ':set acd' \ -c ":EnhancedDiff $algorithm" -c ':botright vsp +next' -c ':windo :diffthis' -c ':qa!' file* \ > /dev/null ) 2>&1 | sed '/Vim: Warning: Output is not to a t...
92ae1bd6e65e171856982f65e160475108ed47c6
4,772
qsub -N config5p3_gem5_to_mat_0_15_031221 -o ~/GEM5_Analysis/config5p3_gem5_to_mat_0_15_031221_output.txt -e ~/GEM5_Analysis/config5p3_gem5_to_mat_0_15_031221_error.txt /xdisk/rlysecky/manojgopale/extra/gem5DataCollection/scr/breakdown_scripts/matlab_ocelote_5p3_0_15.sh qsub -N config5p3_gem5_to_mat_16_30_031221 -o ~/...
0a05e8011db3c0c0bfba614f156c20b90e9eb621
937
#!/bin/bash set -e set -x COLLECTOR_IP=${COLLECTOR_IP:-127.0.0.1} COLLECTOR_TCP_PORT=${COLLECTOR_TCP_PORT:-9994} COLLECTOR_UDP_STAT_LISTEN_PORT=${COLLECTOR_UDP_STAT_LISTEN_PORT:-9995} COLLECTOR_UDP_SPAN_LISTEN_PORT=${COLLECTOR_UDP_SPAN_LISTEN_PORT:-9996} cp -R /assets/pinpoint-agent /assets/pinpoint-agent cp -f /as...
b2bcddf67ab1e06918b9db061f6bdc97a067b0a1
349
#!/bin/bash mkdir -p bin/temp for f in *.s do echo "Assembling $f file..." # take action on each file. $f store current file name OBJECTFILE="bin/temp/$(basename "$f" .s).o" FINALFILE="bin/$(basename "$f" .s)" arm-none-eabi-as -march=armv6-m -o $OBJECTFILE $f arm-none-eabi-ld -T link.ld -o $FINALFILE $OBJ...
817118cac956bcdb48ffbf68ee10128646ff09c3
246
#!/usr/bin/env bash set -e source ./scripts/include/node FILES=("${@}") if [[ "${#FILES[@]}" = "0" ]]; then FILES+=($(find config -name "*.js")) FILES+=($(find src -name "*.js")) FILES+=($(find src -name "*.jsx")) fi eslint "${FILES[@]}"
27b1e167780ecf9970441740cbf0ada87ce57d5e
200
CPU benchmark with `dd` Change your `hostname` on systems using `systemd` Preventing a user from logging into the system Executing scripts on system boot using `systemd` Finding Open Files With `lsof`
2b16c3bb1cd41c8d4984470019e04b5a63d0e876
5,390
nclude the magic ######################## . demo-magic.sh # hide the evidence clear get_pods() { pe " kubectl get pods" } get_pods_2() { y=`kubectl get pods $(kubectl get pods | grep -v NAME | awk '{ print $1}') -o 'jsonpath={.items[*].status.phase}'` while [ "$y" != "Running Running Running" ] do sle...
5dc4c71e28d0d9a643df782fa3584599a46196d0
50
browserify ./index.js --outfile ./nhs-roll-call.js
63a9fc27e0cddd3aa65853541aaeb243ca5a655a
752
#!/bin/bash # packages = chrony {{{ bash_instantiate_variables("var_multiple_time_servers") }}} {{{ bash_instantiate_variables("var_multiple_time_pools") }}} config_file="{{{ chrony_conf_path }}}" IFS="," read -a SERVERS <<< $var_multiple_time_servers for srv in "${SERVERS[@]}" do NTP_SRV=$(grep -w $srv $config_...
8c4eb3d38b053d0108dff0caa02b9d1fde84758a
327
#!/bin/sh cd /etc wget https://github.com/VMPMON/Canales_Sorys/raw/master/ListaDeCanales.zip unzip ListaDeCanales.zip mv ListadoCanales/* enigma2/ rm ListaDeCanales.zip rm -Rf ListadoCanales wget -qO - http://127.0.0.1/web/servicelistreload?mode=0 clear echo "La Lista ha sido actualizada" echo echo echo Proceso Final...
6d1c4d59fce699bee523b100188ecff5b1e80fd6
2,870
#!/usr/bin/env bash read -r -d '' \ MTFAUTOSSHSVC <<- EOF [Unit] Description=SSH tunnel to mtf_ssh host After=network.target [Service] User=pi ExecStart=/bin/bash /opt/mtf/bin/autossh.sh RestartSec=5 Restart=always [Install] WantedBy=multi-user.target EOF if [ -d /boot/mtf ] then # Get MAC address mac=$(ip -...
17274df87ed58af05f8377428b8081beffb7c5ee
669
# Update core python dependencies python -m pip install --upgrade pip wheel setuptools virtualenv # Create virtual environment for project python -m virtualenv __env__ # Activate the virtual environment and install dependencies in it source __env__/Scripts/activate python -m pip install docutils pygments pypiwin32 kivy...
6573d2c5835a2cbb5f424de5e67ee331e6618408
58
#/bin/bash python -m unittest discover lambda "*_test.py"
7332807e15be1557b7c780dddf57fb6d1705c472
58
#!/bin/sh echo "9362f4982cb613599837677566b6c35c7ac9175e"
a3e844578ad2a48a8ab476182573336d4fb7bd9a
7,955
#!/bin/bash -e readonly ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" readonly USR_DIR="$ROOT_DIR/usr" OLD_STATE_FILE="$ROOT_DIR/data/state.json" STATE_FILE_TEMPLATE="$USR_DIR/state.json.example" STATE_FILE_MIGRATE="$USR_DIR/state.json.migrate" update_release() { # update the release version in migra...
aa6e4a68d9d1cce6714d588ba0da09bf5fab15a1
55
#!/usr/bin/env bash docker run -it --rm mysql mysql $*
faf7b9cef7c7a3bb647ff8b8bd72d24a564726d1
16
../pure/pure.zsh
6884a647ab40ebe7ac2c7188e603b6e70cfa4efa
377
#! /bin/bash # script to make every cpp/h file to html find . -iname "*.cpp" -exec vim {} -c TOhtml -c wq -c q \; #render them .cpp find . -iname "*.h" -exec vim {} -c TOhtml -c wq -c q \; #render them .h cd ~/public_html/cprog/lab3 rm -f *.html #clean the old files cd ~/cprog10/lab3/hax find . -iname "*.html" -exec ...
809aad26f6f68443d45f9f6df63c6b1788c06128
70
TIME_ZONE=Europe/Madrid HOST_PORT=3500 DB_USER=sonar DB_PASSWORD=sonar
e6eacb5d63a33222b1f4a8d15476abb162107939
276
#!/bin/bash set -e set -o xtrace meson build/ meson dist --no-tests -C build/ cd build tar xf meson-dist/xserver-*.tar.xz cd xserver-*/ meson -Dc_args="-fno-common" -Dprefix=/usr -Dwerror=true build/ DESTDIR=$PWD/install/ ninja -j${FDO_CI_CONCURRENT:-4} -C build/ install
16b5e65e35d50fb8bb82aed6f6f51037e9db3100
749
#/bin/bash BucketName=lab-terraformstate-bucket-02 Region=eu-central-1 AwsAccountId=`aws sts get-caller-identity --query 'Account' --output text` aws s3api head-bucket --bucket $BucketName --expected-bucket-owner $AwsAccountId >/dev/null BucketExist=$? if [ $BucketExist -ne 0 ] then aws s3 mb s3://$BucketName \ ...
927d0d1131a2b7be7e35af46ad6194ad7d3dd95c
1,092
#!/bin/bash -e ### BEGIN INIT INFO # Provides: carbon # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: carbon ### END INIT INFO PID_FILE="<%= @graphite_directory %>/storage/carbon-cache-a.pid" cd <%= @graphite_directory %> <% if @whisper_dev_shm_size %> mkdir -p /dev/...
91cee5b18107bf21838e79ecf81a181f36888c7e
917
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions # .bashrc export PATH="$PATH:/usr/local/bin" export PATH="$PATH:/usr/software/bin:/usr/software/utils/bin" export PATH="$PATH:/usr/software/rats/bin:/usr/software/test/bin" export PATH="$PATH:$HO...
d96f8485750d43bca30e2337016b7a03b2fd0f0b
707
#!/bin/bash PUBKEY=~/.msgprotect/id_rsa.pub ARCHIVE=~/Library/Containers/com.apple.iChat/Data/Library/Messages/Archive MESSAGES=~/Library/Messages/Archive DPATH='' cd ${ARCHIVE} if [ $? -eq 0 ]; then DPATH=$ARCHIVE fi cd ${MESSAGES} if [ $? -eq 0 ]; then DPATH=$MESSAGES fi cd ${DPATH} mkdir keys find ./* -i...
cad1c0389bfd5ab90fff57905d0c4f36e46a6428
746
#!/bin/#!/usr/bin/env bash kubectl exec -ti couchdb-0 -n database -- curl -X DELETE -u developer:4linux couchdb:5984/check > /dev/null kubectl exec -ti couchdb-0 -n database -- curl -X DELETE -u developer:4linux couchdb:5984/robertocarlos > /dev/null kubectl exec -ti couchdb-0 -n database -- curl -X PUT -u developer:...
0cc2170bcfc71e1825fc7a77b67d856983a0c47c
327
#!/bin/bash docker build -t oleghailenko/hadoop-base:v1 hadoop-base/ docker build -t oleghailenko/hadoop-datanode:v1 hadoop-datanode/ docker build -t oleghailenko/hadoop-namenode:v1 hadoop-namenode/ docker push oleghailenko/hadoop-base:v1 docker push oleghailenko/hadoop-datanode:v1 docker push oleghailenko/hadoop-name...
e663653cba1bff83e901856d41e1f929fc3d1080
301
#!/bin/bash #startup script, no params needed ROOTDIR=`dirname $0` cd $ROOTDIR mkdir logs >/dev/null pid=${ROOTDIR}/pi-radio-mpd.pid kill `cat $pid` 1>/dev/null 2>/dev/null kill -9 `cat $pid` 1>/dev/null 2>/dev/null $ROOTDIR/pi-radio-mpd.py 1>logs/pi-radio.out 2>logs/pi-radio.err & echo $! > $pid
9922b4b65b0e4f905a3b5eb78ae61a6e0b31aed9
606
#!/bin/bash cfg=results/2017-10-21T23-13-11-879645_b91e835d-e726-4896-a3b2-96356f84e48c/analysis.pickle for group in sl_j5_t3__btag_LR_4b_2b_btagCSV_logit sl_j5_tge4__mem_SL_1w2h2t_p sl_jge6_t3__btag_LR_4b_2b_btagCSV_logit sl_jge6_tge4__mem_SL_2w2h2t_p; do python $CMSSW_BASE/src/TTH/Plotting/python/Datacards/Make...
effeedabbff6dd69ade4ff52720e9b3484f2ff70
244
#!/usr/bin/env bash set -e export PROJECT_DIR=`pwd` # Install lein dependencies lein with-profiles +test deps # Install the current version of the jobclient cd ${TRAVIS_BUILD_DIR}/jobclient lein do clean, compile, install cd ${PROJECT_DIR}
6f14f060c309d0be6d136debf6903e1ae2156933
7,454
#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" NAMESPACE="mysql-test" label="app=mysql" FAILED="`tput setaf 1`FAILED`tput sgr0`" PASSED="`tput setaf 2`PASSED`tput sgr0`" TIMEOUT=120s # -------------------------------------- # K8S RESOURCES # -------------------------------------...
4a0745d3486106da1906ad14ffb6d1d002955c43
66
#!/bin/bash docker build -t stateless-async-jee-car-sim:latest .
fc674a01da55014eb22cc8d54b0a1c06c11ca85f
601
#!/bin/bash host='localhost:5055' track='{"turi" : "tr://wimp/tid/18771487","title" : "Bah (landing)","artist" : "Valby Vokalgruppe","cover" : "http://images.osl.wimpmusic.com/im/im?w=100&h=100&albumid=18771477"}' case "$1" in "play") curl -X POST -d "$track" $host/pq/play ;; "get") cu...
c8a8123673266c581288227e30377d48d9b53477
766
#!/usr/bin/env bash cd ~ mkdir data cd data #cp2 removed for this example #mkdir cp2 #cd cp2 #wget http://mcs.anl.gov/~scollis/cp2.tgz #tar -xvzf cp2.tgz #rm cp2.tgz #cd .. #wget http://www.mcs.anl.gov/~scollis/era5_data_aus.nc #NOTE: This is temporary.. This will be replaced using ARMLive mkdir arm cd arm wget...
9294ee941f4d0898e37413f5f5b4522e80c0f71c
136
LINSTOR_CLIENT_VERSION=1.16.0-1 PYTHON_LINSTOR_VERSION=1.16.0-1 SHORT_VERSION="$(echo "${LINSTOR_CLIENT_VERSION}" | grep -oE '^[^-]+')"
e125c05e8f4f36c6de8f7d0579a5a42df3f88db0
484
#!/bin/bash echo "`date '+%Y/%m/%d %k:%M:%S'` system killprocess BEGIN..." pidof_bin="/usr/sbin/pidof" [ ! -f $pidof_bin ] && echo "$pidof_bin is not exist" && exit 1; pids=`$pidof_bin -x sysxlj` if [ -z "$pids" ]; then echo "`date '+%Y/%m/%d %k:%M:%S'` system is not start..,exit"; exit 0; fi for i in $pids do ...
15d2283d238756077a1fed83aece56fb0d42717e
89
#!/bin/bash export PORT=5102 cd ~/www/pente ./bin/pente stop || true ./bin/pente start