blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
7802b47562305a496d437cbf0fd620c7545debb7
413
#!/bin/bash echo 'Usage :' echo 'Get connected camera list' echo '$ v4l2-ctl --list-devices' echo '' echo 'To import pyrealsense in python script, please use the following syntax' echo '> import pyrealsense2.pyrealsense2 as rs' echo 'instead of' echo '> import pyrealsense2 as rs' echo '' echo 'Get more examples from h...
a70c6a7d1b0c11eb2ab7f11078f7e4d8035cf708
198
#!/usr/bin/env bash source scripts/build/.variables set -e CGO_ENABLED=0 go build -x -ldflags '-w -extldflags "-static"' --ldflags "${LDFLAGS}" -o _exe/lw github.com/liquidweb/liquidweb-cli exit 0
3494d0bd917e1e1ef2b36741368c993a31a19d9e
178
# # Copyright SecureKey Technologies Inc. All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # VAULT_DSN=||MONGODB_DSN|| VAULT_REQUEST_TOKENS=||VAULT_REQUEST_TOKENS||
5b2de971de2104b9d126f69b25dcd09d445ecf4b
238
# Local setup, called from tconf/setup.sh INPUT=$TCONF/local hml shell/bash_profile .bash_profile hml etc/xinitrc .xinitrc hml etc/yaourtrc .yaourtrc hml etc/gpg-agent.conf .gnupg/gpg-agent.conf hml etc/pam_environment .pam_environment
f3575e717e21e6b1b058a9d6456cd2d64969ced5
76
#!/bin/bash for fruit in $* do echo "I readlly like ${fruit}s" done
5dccb61178c89eab256286c4eb7e4360ed7b346e
218
#Search by Leverage, Direct #Search by Leverage, Layered #Search by Lift, Direct #java opus/OpusMiner -l -k 100 -s IE splice.data.csv splice.data java opus/OpusMiner -l -p -k 100 -s IE splice.data.csv splice.data
e972556b17f30e492c8ea243733f83c79dae4904
2,734
if [[ ! "$PATH" == *"$HOME"/.local/bin* ]]; then export PATH="$HOME/.local/bin${PATH:+:${PATH}}" fi export LESSCHARSET=utf-8 export VISUAL=vi export EDITOR=vi export LESSEDIT="vi %f" export FZF_DEFAULT_COMMAND=fd HISTFILE=~/.zsh_history HISTSIZE=100000 SAVEHIST=100000 bindkey -e autoload -Uz colors colors autoload ...
fc02bdad97335b7d0a20b2b88766eed713eeff77
928
# $Id: PKGBUILD 164529 2016-03-03 17:18:57Z jlichtblau $ # Maintainer: Eric Belanger <eric@archlinux.org> # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> pkgname=colorgcc pkgver=1.4.4 pkgrel=2 pkgdesc="A Perl wrapper to colorize the output of compilers with warning/error messages matching the gcc output f...
72bc289614ece0a5327dd4dcd762e14c2b8b9677
399
#! /usr/bin/env bash set -o nounset set -o errexit # Importing the Root CA's certificate into the Intermediate CA's key store. "$JAVA_HOME/bin/keytool" -importcert \ -alias "$ROOT_ALIAS" \ -file "$ROOT_CERTIFICATE" \ -keypass "$INTERMEDIATE_KEYPASS" \ -keystore "$INTERMEDIATE_KEYSTORE" \ -noprompt \ -rfc \ -sto...
a5679ab08cf43db701e59f61e6c59ce30b972a2c
948
# Truth studies for RunII SUSY EWK # Script for creating separate file lists for each sample # Joakim Olsson <joakim.olsson@cern.ch> # 2017-02-07 ## February truth samples #jo_version=feb2017 #tag=20170204_30k_1 ## New truth samples, same generator settings as the "February samples" just different mass points, in or...
e6760da12945156c4460ce5494c0e980985ea184
153
java -jar /media/disk6/Dropbox/dev/in-mem/in-mem-web/target/in-mem-web-1.0-SNAPSHOT.jar server /media/disk6/Dropbox/dev/in-mem/in-mem-web/in-mem-web.yml
77b699dcf2439f1d029a9922b0bf28b1e2ed1235
2,689
#!/bin/sh LOG="@@LOG@@" ERR="@@ERR@@" # export PATH="@@GCCDIR@@:$PATH" export ARM_TOOLCHAIN="@@TOOLCHAIN@@" export ARM_SYSROOT="@@SYSROOT@@" export ARM_HF_TOOLCHAIN="@@TOOLCHAIN@@" export ARM_HF_SYSROOT="@@SYSROOT@@" export I686_TOOLCHAIN="@@TOOLCHAIN@@" export I686_SYSROOT="@@SYSROOT@@" export X86_64_TOOLCHAIN="@@T...
d91fb9e720d54665c95232a07f7c6eec1ed9af3f
42
#!/bin/bash -x utils/ci-status-product.sh
a9bfd6808830b211e79b18474bb053db11c52500
1,239
#! /bin/sh -e ### BEGIN INIT INFO # Provides: cfupdater # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Cloudflare dynamic DNS # Description: Cloudflare Dynamic DNS Updatre ### END INIT INFO # # Author: Mat...
d20c2d46171c99ad4adb73910b98ff7dc7b905d8
115
#!/bin/bash export COMPOSE_PROJECT_NAME=ipfs echo "Starting IPFS Node...." docker-compose -f ./ipfs.yaml up -d
5d959f01683cf101819573ad155526bf94d92ff1
795
#!/bin/bash #初始化 LOGS_PATH=/usr/local/nginx/logs YESTERDAY=$(date -d "yesterday" +%Y%m%d) #按天切割日志 mv ${LOGS_PATH}/access.log ${LOGS_PATH}/access_${YESTERDAY}.log #进行打包 cd ${LOGS_PATH} tar -zcvf access_${YESTERDAY}.log.tar.gz access_${YESTERDAY}.log --remove-files #向nginx主进程发送USR1信号,重新打开日志文件,否则会继续往mv后的文件写数据的。原因...
5448b9c30b355b92e27ba9c61451c7b11a517db4
264
#!/bin/sh OsScriptsFolder="~/Desktop/scripts" mkdir $OsScriptsFolder cp -rf ./vm-mount.sh $OsScriptsFolder sudo sudo chmod +x "$OsScriptsFolder/vm-mount.sh" echo "if doesn't work then: crontab -e, add below" echo "@reboot $OsScriptsFolder/vmware-mount-shared.sh"
022b4880ff09148079366190f34926b8b4c1b1f3
252
#! /bin/bash jest \ --automock false \ --collectCoverage true \ --coverageDirectory "../pages/coverage" \ --coverageThreshold '{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}' \ --setupFiles "./jest/setup.js" \ $1
93b87f8a6a39ca61d7965bdf4156d58777bd9199
1,911
#!/bin/bash recNr=$1 #FILES=/NAS/BeeNas/01_RawData/00_rawh264files/$recNr/*.h264 inputPath="/NAS/BeeNas/03_ProcessedData/01_ghosting/00_ghost_avg-10m_jpg" outputPath="/NAS/BeeNas/03_ProcessedData/01_ghosting/01_ghost_ravg-90m_jpg" tempPath="/NAS/BeeNas/03_ProcessedData/01_ghosting/temp/ravg-90m" fileCtr=0 #create out...
032a5ce0f681d4c44a286f842b3475a55bd40095
2,708
# For bare-metal emacs # # There are three context's that I consider for using my text editor # of choice: # # * EDITOR - uh? I forget. I think it's less used for my cases. (I # use VISUAL and GIT_EDITOR more often.) # * VISUAL - this is for visual paging of things like man-pages or # grep results # * GIT_EDITOR...
09f1f60e65989ecbccfeba0ba3ef53a3a2f28cbb
94
#!/bin/bash gcc -g gen.c -o gen gcc -g 12-8Ham.c -o ham gcc -g -pthread threadDecode.c -o td
9d0df5089d2a461fc9552cbc9747302710f1ee9a
143
cd ~/.config/dwm && doas make clean install cd ~/.config/dmenu && doas make clean install cd ~/.config/st && doas make clean install cd startx
fc295f51d93fff844ebe4c8ab8a5f92de3cb4fc3
334
#!/bin/bash ldtr test/data/lotr.ttl -e cat test/data/very_compact.jsonld | ldtr -t jsonld -e echo ' <article typeof="foaf:Person"> <p property="foaf:name">Some Body</p> </article> ' | ldtr -t html echo ' <foaf:Person xmlns:foaf="http://xmlns.com/foaf/0.1/"> <foaf:name>Some Body</foaf:name> </foaf:Person> ' ...
e276c969ed133b253e73d97da16b4092a6a2901a
59
#!/bin/bash printf '\e[8;50;130t' clear python3 main.py $@
a2aea46ccb5b6b50da1e747c92072f2d4c646728
11,122
#!/bin/bash -e umask 266; WorkingDir=`pwd`; # # Error Codes # EASY_RSA_REQUIRED=2 FAILED_TO_INIT_CA_PKI=3 FAILED_TO_INIT_CA_CERT=4 FAILED_TO_INIT_SERVER_PKI=5 FAILED_TO_GENERATE_SERVER_CERT_REQUEST=6 FAILED_TO_IMPORT_SERVER_CERT_REQUEST=7 FAILED_TO_SIGN_SERVER_CERT_REQUEST=8 FAILED_TO_CREATE_DIRECTORY=9 FAILED_TO_COP...
8cf0696090f4ae483e536853a77d832ed861bf15
246
#!/usr/bin/env bash cd /vagrant # Install Laravel composer global require "laravel/installer" # Add Laravel to PATH echo 'PATH="$PATH:~/.config/composer/vendor/bin"' >> /home/vagrant/.profile # Load new PATH now source /home/vagrant/.profile
c8749885323c5b05584efd8fe396927f37cf914c
158
JWT_SECRET=ThisIsSomethingThatShouldRemainSecret NODE_ENV=production MASTER_PERMISSION=4 ADMIN_PERMISSION=3 EMPLOYEE_PERMISSION=2 USER_PERMISSION=1 PORT=8080
e76beb619d4f9c25b66fbc6b4a7ad2d06016d89f
1,896
#!/bin/bash -e #Attach EFS to K8S / microk8s #run syntax is sudo /bin/bash EFS_Provisioner.sh <EFS DNS Name> <EFS File System ID> <region> #example sudo sh EFS_Provisioner.sh fs-12345678.efs.us-east-1.amazonaws.com fs-12345678 us-east-1 #dont forget to run chmod 555 EFS_Provisioner.sh #$1=DNS name of EFS, examp...
5d3353636825aede8a6331f9bd77a78bbe78b2da
373
#!/bin/bash while ! psql -h postgres -U postgres orthanc -c 'select now()'; do sleep 1; done COUNT=0 # # in gen3 /data/ presents as a mount point, # but in docker-compose it just looks like a folder # while ! mount | grep '/data/' && [[ "$COUNT" -lt 20 ]]; do sleep 1 COUNT=$((COUNT + 1)) done if [[ ! -d /data/ ]]...
ef91a3f6d663fefffc04187c61133bb3ffc2b58d
2,642
#! /bin/bash bold=`tput bold` dim=`tput dim` undr=`tput smul` norm=`tput sgr0` warn=`tput setaf 3` good=`tput setaf 10` blue=`tput setaf 12` # get machine ip ip=`dig +short myip.opendns.com @resolver1.opendns.com` # warn user about DNS printf "\n${bold}${blue}Welcome to the writefreely one-click setup wizard.${norm...
fe6e3cb35b5d5cfa00d0f9ee9b9cedc672bcd2bb
1,919
#!/usr/bin/env sh ################################################################################ # Prototype: webcam live stream with ffmpeg direted to a local icecast server. # An icecast server must be setup with the following minimal mount point # configuration: # <mount type="normal"> # <mount-name>/iot-lab</...
676f7125954da8c4fe0afd4f55fb08387b9acf6e
123
#! /bin/bash for x in $(ls *.root); do a=$(date "+%M_%H_%m_%d_%y_") echo $a$x mv $x plots/rootfiles/$a$x done
b12328715dcb9756890f93f2ce7686e71c2e3ebd
74
#!/bin/bash for i in {2..10}; do ./main.o >> "sequential_$i.csv" done
026fbf13b19e040eef081196a1d673ab8f86cd81
217
#!/bin/sh xrandr --output DP-0 --mode 1920x1080 --rotate right --pos 0x0 xrandr --output DP-2 --primary --mode 1920x1080 --pos 1080x670 --rotate normal xrandr --output DP-6 --mode 1920x1080 --pos 3000x0 --rotate left
193d5cb874811748d14eae676c8068fda16d29a7
4,314
#!/usr/bin/env bats source vault-bash-completion.sh load get_completions fail() { echo "$@" > /dev/stderr return 1 } @test "'vault ' => commands" { run get_completions 'vault ' [[ "$status" == 0 ]] output=$(echo "$output" | paste -s -d ' ' -) [[ "$output" =~ 'audit-disable audit-enable audit-list auth' ]...
8ca407f1ba530961c6fa873dd8f07d0a226f3e77
1,821
#!/bin/bash # <udf name="machinename" label="Hostname - make sure reverse DNS is setup" example="hostname"/> # <udf name="publicip" label="Linode Public IP" example="178.79.134.167"/> # <udf name="publicnetmask" label="Netmask" default="255.255.255.0" example="255.255.255.0"/> # <udf name="publicgateway" label="Gateway...
7731768b7ccb1d9d17373e49a2e5a06859c331c4
99
#!/bin/bash ./ApplyObservers -NoDomainHistory -v -t Nid_g,Nid_K,Nid_N -r 11,11,Scalar FindAh.input
d3d462c0f91f63086aa5125ff5f64a5edc5cfaa7
1,615
#!/bin/bash # Author: JA Vieitez (github.com/javieitez) # Quick and dirty script to find a Date stamp in a URL. This is useful for checking logs to be up to date, or to check a proper refreshing of a given webservice. # Check the date command man page for date options # help requested or invalid parameters #######...
79e5e0c9190e7f2cd63d103fc7fc5c69674d7d93
127
#!/bin/bash echo "Enter a string"read s if [[ $(rev <<< "$s") == "$s" ]] then echo "Palindrome" else echo "Not a Palindrome" fi
44eb59f34dc41a90f108b5d23569fc19c9782910
1,394
set -u set -e debootstrap --components=main,universe,multiverse --include=vim,build-essential,git,redis-server,lua5.1,postgresql,libpq-dev,python-dev,python3-dev,memcached,mongodb,libperl-dev,ruby,wget,ruby-dev,language-pack-en,libcurl4-openssl-dev,mysql-server,libyajl-dev,beanstalkd,ssh,rsync,libluajit-5.1-dev,curl,ip...
a5a17ea194bf35ebfe4268e48d8df71d4a197f0e
961
#!/bin/bash # @author Ryan McIntyre # log like: /c/wamp/www/proto/portal/log/frontend_local.log ME="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" MY_DIR=`dirname $0` if [ -e $MY_DIR/unix-color-codes-not-escaped.sh ]; then . $MY_DIR/unix-color-codes-not-escaped.sh fi if [ $# == 0 ]; then echo -e "${...
4fadcfa2797987e00c090ff4db60d11c0cb104da
676
#!/bin/bash echo "REMINDER: this file should be ran inside the log folder" for FILE in *.csv do LINES=$(cat $FILE | grep -v memory) ## Truncate file > $FILE for LINE in $LINES do if [ "$LINE" == "Type,Seconds,MegaBytes" ]; then echo $LINE >> $FILE else ## Get unix timestamp TIMES...
ab88904d09907a1d81db78f17a311b9432ccde5a
200
SHOPIFY_APP_HOST=https://a3436070.ngrok.io SHOPIFY_APP_KEY=84b5cbb3626869c0d9e9b933f4a5caa8 SHOPIFY_APP_SECRET=f6b6e7d042a2b5ef0945e92c7b6fae29 SHOPIFY_APP_PORT=3000 SHOPIFY_APP_STORAGE_ENGINE=memory
138c900fbff9e1d5155ee9e8b49806a2e848cf2f
1,055
#!bin/bash check_os () { distro=$(cat /etc/os-release | awk '/^NAME/' | grep -o "CentOS") version=$(cat /etc/os-release | awk '/VERSION_ID/' | grep -o "7" ) if [[ $distro != "CentOS" ]] && [[ $version != "7" ]] then echo "Ban dang dung OS khac" exit 1 fi } generate_key () { echo "Bat dau tao khoa ssh" echo "...
4976216a9407676105a4625a7b9eb96424d4a827
608
#------------------------Rno25_Q1.sh------------------------ #product of 10 numbers n=10 i=1 product=1 while [ $i -le $n ] do product=$((product * i)) i=$((i + 1)) done echo "The product is : $product" #------------------------Rno25_Q2.sh------------------------ #write a shell script to display m...
6747f389a395e93268ed19349898378aae00fb3b
339
#!/bin/bash echo \* Getting an public IP for Inst1 ... IP=$(nova floating-ip-create ext-net | grep ext-net | awk '{print $2}') echo Got $IP echo \* Associating with inst1 ... nova floating-ip-associate inst1 $IP echo \* Let\'s ping 4 times ... ping -c 4 $IP echo \* Attempting SSH \(Password is \'cubswin:\)\'\) ssh cir...
739039d56872ac06a80b18fcb2a28bddad972064
37
#!/bin/bash cat input.txt | uniq -u
85214de20d83a2909eca8118ffce9ead8395bfdb
593
#!/bin/sh #PBS -l nodes=1,walltime=04:00:00,mem=3600MB #PBS -N Dnt0to150_Ds_PbPb_Data_HIMB3_GJ #PBS -o /home/peng43/work/Project/Ds_PbPb/Ds_PbPbAna/MakeDsMinTree/PBS_jobs/PBS_log/PBS_0to150_Ds_PbPb_Data_HIMB3_GJ.log #PBS -e /home/peng43/work/Project/Ds_PbPb/Ds_PbPbAna/MakeDsMinTree/PBS_jobs/PBS_log/PBS_0to150_Ds_PbPb_...
c56899927be8ea79c67280a4f13a2df51c804d8f
124
sudo openvpn --config /u/inky/.pvpn-cli/connect.ovpn --auth-user-pass /root/.pvpn-cli/pvpnpass --dev proton0 --dev-type tun
e53429e48888ddc0a134c0d57d2a042c7ff40c7e
103
for i in {1..2000} do echo "CASE:" $i time java -jar tester.jar -exec ./program -seed $i done
603091a3b33e367db353b4f83d491a048ef1d897
115
#!/bin/sh H=mivvy if [ -n "$1" ] then H=$1 fi sshfs -o nonempty -o transform_symlinks $H:/ $HOME/sshfs/mivvy
0b95aaa02d7c79001c01669666de164b59d2f0c9
1,086
#! /bin/bash set -e if [ "$1" = "create" ]; then ACTION=create-stack elif [ "$1" = "update" ]; then ACTION=update-stack elif [ "$1" = "delete" ]; then ACTION=delete-stack else echo "Usage: $0 [create|update]" exit 1 fi TAG='lambda-comments' DIR=`cd $(dirname $0); pwd` BABEL_NODE=$DIR/../../node_modules/bab...
3b5398a482cf309b9eeca54727722054b7cea609
366
echo "打包 => dist"; # 打包 => dist npm run build; # 更新gh-pages echo "更新gh-pages"; git branch -D gh-pages; echo "删除gh-pages"; git checkout -b gh-pages; echo "创建并切换到gh-pages"; git add -f dist; git commit -m 'create gh-pages'; git push origin -d gh-pages; git subtree push --prefix dist origin gh-pages; echo "已推送gh...
b70b4e442a12dc48bc0e24b0d76a2a48d7f172b5
2,803
#!/bin/bash resolution="1920x1080" monitor=0 data_dir=$HOME/.local/share/electrol/ de="kde" usage=\ "Usage: $(basename $0) [-d <pictures dir>] [-r <resolution>] [-m <monitor>] [-e <desktop environment>]\n\ \tscript updates XFCE wallpaper on specified monitro\n params:\n \tpictures dir\t - directory where images are ...
f30e4e61803a22f0e4485421d7b6213e3ff0d5f7
693
#!/bin/bash # # This script will run all test scripts that are in test/extended. source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh" test_scripts=`find test/extended -maxdepth 1 -name "*.sh" -not \( -name "all.sh" \)` OVERALL_RETURN=0 for test_script in $test_scripts; do STARTTIME=$(date +%s) echo "${START...
2651ad176d72c946e27c8bbee3b87298bff0d37c
1,119
#!/bin/sh cd . timestamp() { date +"at %H:%M:%S on %d/%m/%Y" } temp=$(echo git branch --show-current) echo $temp #eval x=($temp == "backup") #echo $x if [$temp == "backup"] then echo "error" exit -1 fi echo "mowsi" git show-ref --verify --quiet refs/heads/backup if [$? == 0] then printf "NOT EXISTS\n" git ...
d2ce7dd3f1af090aec9c22502e937bbc50bb85df
1,544
#!/bin/bash check_server_started() { local retry_counter=0 while true; do echo "INFO: Checking if server started (retry counter=${retry_counter})" grep "Web application available" /logs/messages.log &> /dev/null local web_app_started=$? ...
f2d3eb729853110fe7a20746f69b3a4825260bdd
2,518
#!/bin/bash BROCCOLI_GIT_DIRECTORY=`git rev-parse --show-toplevel` cd $BROCCOLI_GIT_DIRECTORY/code/BROCCOLI_LIB # Change release to debug for library sed -i '' 's/COMPILATION=$RELEASE/COMPILATION=$DEBUG/g' $BROCCOLI_GIT_DIRECTORY/code/BROCCOLI_LIB/compile_broccoli_library_mac.sh # Compile library ./compile_broccoli...
18f282715b290fe658fbefae25e4feaa97249b2b
280
#!/bin/bash set -e set -x dump=` ls -t /mnt/data/live/home/backup/forum/*sql.bz2 | head -n 1` [ -f $dump ] || exit -1 mysql -uroot -pmysql -e 'DROP DATABASE forum' mysql mysql -uroot -pmysql -e 'CREATE DATABASE forum' mysql pv $dump | bunzip2 | mysql -uforum -pforum forum
240bab42787a3502df9238050a7cfc278eb70b97
558
#!/bin/sh # @(#) $Id: makebyteorder.sh,v 1.1 2003/01/12 19:30:31 alex Exp $ if test -f /usr/include/machine/endian.h then byteorder=`grep BYTE_ /usr/include/machine/endian.h` elif test -f /usr/include/bits/endian.h then byteorder=`grep BYTE_ /usr/include/bits/endian.h` fi case "${byteorder}" in *BIG*) ech...
9f9ead40b2bf41c86f8af8498b1f57c9d7080063
2,519
#!/bin/bash set -Eeo pipefail version=1.12.2 echo "$version" > "$YAK_WORKSPACE/version" cd "$YAK_WORKSPACE" # TODO: Break out depot_tools into its own package git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH="$PATH:$YAK_WORKSPACE/depot_tools" # Point depot_tools at python2.7 :[ #...
44394e6f7c662130f2b632adc4b3d70570d841a8
486
#!/bin/bash BASEDIR=$(dirname $BASH_SOURCE) if [ ! -f fdisk-a.txt ]; then echo "ERROR. no fdisk setup files available" exit 1 fi # fdisk. create partition layouts fdisk /dev/sda < ./fdisk-a.txt fdisk /dev/sdb < ./fdisk-b.txt # md mdadm --create /dev/md0 -n2 -l0 /dev/sda3 /dev/sdb2 mkfs.ext4 -v -E stride=128...
2fc6e7fbf2c861885d6c38bf0594095a40218226
328
#!/bin/bash # ****** Ravi Nori # ****** 12/11/2020 # ****** Purpose: create a client socket import socket import time # connect to the listener s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("127.0.0.1", 1424)) time.sleep(30) # test host/port print("you are connecting to {}:{}".format(host, port)) s....
22f63d597e54995a5d7c1a0941964e8f8e7b0740
1,752
#!/bin/bash : ${RCSID:=$Id: - @VERSION@ @DATE@ @TIME@ - $} : ${PROGRAM_TITLE:="Adjust the dir layout as the specified"} : ${PROGRAM_SYNTAX:="[OPTIONS] [--] ..."} . shlib-import cliboot option --dry-run "Only show what to do" option -q --quiet option -v --verbose option -h --help ...
2e36d57e9b392037a6df5663bff48fa8efbb0064
57
../eclipse_x86/eclipse -data . -vm ../jdk_x86/bin/java &
92af732a85bcb9b7925e71b729efaa5f5a3dca39
1,518
#!/bin/bash dub build ./dash-admin addMachine example_machine "A dummy machine used for testing." ./dash-admin addCompiler ldc_master "LDC, the LLVM-based D compiler (Git master)." '{"name": "Official LDC GitHub repository", "type": 0, "config": {"owner": "ldc-developers", "project": "ldc", "branch": "master"}}' ldcG...
4b8177e594cb0c21e824fb306b81b1f8d0581c87
113
#!/bin/bash if [ ! -d "refdb" ]; then git clone https://github.com/percyliang/refdb fi cd refdb git pull cd ..
b006f733cc911d92cb9d5191292b005c246f2399
539
#!/bin/bash # sphinx indexer script ############################ /usr/local/bin/indexer products_delta --rotate --quiet --noprogress /usr/local/bin/indexer --merge products products_delta --rotate --quiet --noprogress /usr/local/bin/indexer --merge-killlists products --rotate --quiet --noprogress /usr/local/bin/index...
44b69f98f895ce937ea67e569db9d2f81716b5f4
364
#!/bin/bash #Script untuk menghapus user SSH & OpenVPN read -p "ชื่อผู้ใช้ SSH จะถูกลบออก : " Pengguna if getent passwd $Pengguna > /dev/null 2>&1; then userdel $Pengguna echo -e "User $Pengguna ถูกลบแล้ว" else echo -e "GAGAL: User $Pengguna ลบไม่สำเร็จ" fi
247c5e8155ef05b015564e7b45b9dbc18a2578d7
39
p_app_id= p_key= p_secret= p_cluster=
cf727a4755ca1edce72138298ca8284026866cfc
413
#Command to create the all bin/mallet import-dir --input ~/projects/samson/ams/textMining/data/ --output ams.mallet --keep-sequence --remove-stopwords #command to create the topic and output the key and the given map bin/mallet train-topics --input ams.mallet --num-topics 20 --output-state topic-state.gz --output-topi...
bcd4faabf0a5c66f2833db62ae9f3e7b75f9c5ef
598
#!/bin/bash VAR_FILE="./data/var.sh" ZSH_FILE="./data/.zshbackup" echo "Getting formulae..." BREW=$(brew list) echo "Getting casks..." BREW_CASKS=$(brew cask list) echo "Getting code extensions..." VSC_EXT=$(code --list-extensions) { printf "#!/bin/bash\n\n" printf "BREW=(%s)\n\n" "$BREW" printf "BREW_...
a719d8bb3cd2d8eefa6f219407ae72f8edec688e
2,047
#!/bin/bash # LGSM logs.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com # Description: Acts as a log rotater, removing old logs. local modulename="Log Manager" if [ -n "${consolelog}" ]; then if [ ! -e "${consolelog}" ]; then touch "${consolelog}" fi fi # log manager will active if fi...
31a21435b70d3fedc5588b886afc6cb0920b4a4b
2,092
#!/usr/bin/env bash # Copyright (C) 2019 - 2021 by Pedro Mendes, Rector and Visitors of the # University of Virginia, University of Heidelberg, and University # of Connecticut School of Medicine. # All rights reserved. # Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual # Properties, Inc., Uni...
84ed3a372e7cdf148039bea821eab611bb8d20d1
890
#!/bin/bash npm update VERSION=$(node --eval "console.log(require('./package.json').version);") ME=$(node --eval "console.log(require('./package.json').name);") npm test || exit 1 echo "Ready to publish ${ME} version $VERSION." echo "Has the version number been bumped?" read -n1 -r -p "Press Ctrl+C to cancel, or an...
b9fe9a7ec831737af23c973a37c558b0e407b4dc
75
#!/usr/bin/env bash # shows lines containing bash ps -aux -f | grep "bash"
828dde5f5c8b51586b93a069771bb78e01ae3829
853
#!/bin/bash # USE THE CORRECT PCIE ADDRESSES OR THIS WILL CRASH YOUR SYSTEM # run this script with both the huge page version of ixy and the normal one. compare results. kill $(pidof ixy-fwd) # fixme: cleanup cd /home/paul/ixy-git for i in 64 128 256 512 1024 2048 4096 do echo "Running test for ring size $i" sed ...
a65efc3eb826cd3636ca25e90e493eee1de05882
796
#!/bin/bash echo Running as `whoami` echo Waiting for portal-api... node node_modules/portal-env/await.js http://portal-api:3001/ping echo Ping returned 200 for portal-api echo Waiting for portal-kong-adapter... node node_modules/portal-env/await.js http://portal-kong-adapter:3002/ping echo Ping returned 200 for port...
7e0c1c813c0c6ad55e0a129934737766e96ea758
1,200
#!/bin/sh if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh set -e # Test chunking code # Control which test sets are executed # possible sets: proj walk TESTS=proj # Functions testproj() { # Do a single output file file="ut_proj.txt" rm -f $file CMD="${execdir}/ut_projections${ext}" $C...
47686e7f51a19dff0608893c096d808892d016a1
4,795
#!/usr/bin/sudo /bin/bash SCRIPT=`realpath -s $0` SCRIPTPATH=`dirname $SCRIPT` STARTPWD=$PWD GIT_URL='https://github.com/ziertek/PiLight' # Define colors and styles NORMAL="\033[0m" BOLD="\033[1m" GREEN="\e[32m" RED="\e[31m" YELLOW="\e[93m" show_msg() { echo -e $1 > /dev/tty } usage() { echo -e "${BOLD}Usage...
70f4160976aafc2af57bd9334cbac31406b29c82
113
#!/bin/bash set -e git clone https://github.com/n0ts/dotfiles.git ~/.env cwd=$(pwd) cd ~/.env make cd $pwd
cd4e5da569fddfcce9ddca1e2f47014bedb7564a
349
#!/bin/bash declare -a languages=("de" "fr" "it" "en") declare -a features=("mfcc" "mel" "pow") for feature_type in "${features[@]}" do for lang in "${languages[@]}" do echo "training on ${features} features of speech segments with language=${lang}" python ./src/train_brnn.py -c rl -l $lang -...
67d24a6c9151743890f074c4f69a46d403253cae
287
PORT=3000 JWT_SECRET=azBel11040037292011@Isaac_5539614042 VALID_SPECIALTOKEN=authResetPwdUser_NLRA7 GOOGLE_ID=331710987668-moju7h7te2ji086tf53or5qjl2gp4ivr.apps.googleusercontent.com GOOGLE-SECRET=8GKnEO4EYmK0erGMdkzry6YY EMAIL_SMTP=azbel.apps@gmail.com PASS_SMTP=azbel110400
676c78e6412d5ba80d8b8ea46b3bd577bcb8fade
399
#!/usr/bin/env bash echo "USAGE: ./build_map.sh [input file] [distance] " echo "EXAMPLE: ./build_map.sh data/singapore_muiti_store_parking.json 1000" mvn package python3 src/main/python/mapbuilder/reduce.py $1 result.json $2 java -cp target/SimulationUAV-1.0-SNAPSHOT.jar mapbuilder.Triangulate result.json # TODO add...
6407c914bdf0b0a585e82364278c708925d8743d
2,240
#### COLOUR tm_icon="♟" tm_color_active=colour213 tm_color_inactive=colour241 tm_color_feature=colour4 tm_color_music=colour203 # separators tm_separator_left_bold="◀" tm_separator_left_thin="❮" tm_separator_right_bold="▶" tm_separator_right_thin="❯" set -g status-left-length 32 set -g status-right-length 150 set -g...
5f247957026f1b69e57154b3597984f05607cfe7
771
#!/bin/bash set -e DEST_TEST_DIR=/opt/azurehpc/test mkdir -p $DEST_TEST_DIR cp $TEST_DIR/run-tests.sh $DEST_TEST_DIR #Test if nvcc is installed and if so install gpu-copy test. if test -f "/usr/local/cuda/bin/nvcc"; then #Compile the gpu-copy benchmark. NVCC=/usr/local/cuda/bin/nvcc cufile="$TEST_DIR/health_chec...
6248bb13c5fde12d7ee1bffdf67fa82c555208ff
152
#!/bin/bash # Change permissions it can. chown -R nodeU:nodeU /var/www/vhosts echo -e "\n\nChanging filesystem ownership for nodejs host directory.\n"
2333bde92d1f766d400437231cd0869c349f5789
58
#!/bin/bash d=`date '+moodle_%Y-%m-%d_%H-%M-%S'` echo $d
4dd29fbe7f8c33e208614149dcc7774944e38120
198
#!/bin/bash $HOME/julia-1.5/bin/julia --project=@. --track-allocation=user -e ' using Profile using RayTraceGR @time RayTraceGR.example2() Profile.clear_malloc_data() @time RayTraceGR.example2() '
6bee584b9f01ad9c0383a9f192e5f07ba271f855
1,403
#!/bin/bash # Script by clarsen-007 @ https://github.com/clarsen-007 # Version: 00.01.00.00 # Purpose of script: "Pings", "Tests" for open ports... if [ -z "$1" ] then echo -e " \n " echo -e " No argument supplied \n " echo -e " -- type -h for HELP!! \n " echo -e " \n " else if [ "$1"...
6d7127e0f2bc93d2f7a11ec0c9dd272d89ebe721
1,439
#!/usr/bin/env zsh hadd="../../../../../../img/tools/hadd" outfile="M1-spectra-raw.root" phII_file="/home/gipert/code/gerda/gerda-fitter/results/phII-raw-global_light_blocks/gerda-fitter-phII-raw-global_light_blocks-histograms.root:gerda_data_bkgmodel_phaseII_v07_01_orig_raw_M1_" rm -f ${outfile} eval ${hadd} ${ph...
69c9e4112f648d0e8a7b000b508470ad78abcb96
364
#!/bin/bash #The databases and tables on remotes servers will follow the local name configuration #DBUSERDST need to have same permissions described on portability.conf for DBUser. #Server IP DESTSERVER[0]="192.168.0.1" #DB Server Port PORTDESTSERVER[0]="3306" #DB Server User DBUSERDST[0]="test" #BD Server passw...
34329caaeb98c28ce0539715cd64955b0fb2a8a4
1,783
#!/bin/bash port=5022 learnit_root=/nfs/ld100/u10/bmin/repositories/learnit.master/ # /home/hqiu/ld100/CauseEx-pipeline-WM/learnit # require cd to learnit directory to have "static" sub-directory for UI cd $learnit_root ## WM starter #sjson=/nfs/mercury-04/u41/learnit/WM_starter/source_mappings/all_event_event_pair...
c94e6e7bdbb81c53ecf69599650cad665829d994
174
#!/bin/bash RANDFILENAME=$(pwgen -s 13 1) FILENAME="$HOME/Uploader/Screenshots/$RANDFILENAME.png" scrot -s $FILENAME -e "screenshot-complete.sh $RANDFILENAME.png $FILENAME"
73d38b15f51d27694c499b4b34b4b6bbea66f5ca
190
#!/usr/bin/env bash # Build and deploy! exec docker \ run --rm \ -v "${PWD}:/pd_app" -w /pd_app \ --env-file .pd/.env \ lambci/lambda:build-python3.8 ./.pd/_build_deploy.sh
a5615bf287d38f8b40db8c2fdfa4882c6e8cda7e
6,038
#!/bin/sh # Requirements: zenity (optional), notify-send (optional) # confirm=1 force_no_x=0 me="${0##*/}" while [ "${1+defined}" ]; do case "$1" in -n | --no-confirm ) confirm=0 ;; -x | --no-x ) force_no_x=1 ;; -c | --config ) shift ; cfg="$1" ;; -h | --help ) echo "Usage: $m...
5836b1604fc097fed8d6636e4dde84202e7888a2
609
#!/bin/bash # Copyright 2015-2019 Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> # Create a manpage using txt2man command. # # This script can be used under BSD-3-Clause license. TEST=$(txt2man -h 2> /dev/null) [ "$TEST" ] || { echo -e "\nYou need to install txt2man, from https://github.com/mvertes/txt2man.\n"; ...
e4fb9070a540af22757ac415e2271d617e7397c5
120
#!/bin/sh ./abmakev.pl 306 301-test.tmpl /home/sites/iwtucson/www/test/out.php echo "http://btucson.com/test/out.php"
40359d40863734ec6e73f97f177d5c57c3837f36
71
git add --all git commit -m "Fix bug" git push product master git push
c402cda2b52a97d220d11b2a2527b189f07b6a05
761
#!/usr/bin/env bash infile=$1; outfile=$2 #The first column of input file is the videoid. awk '{print $1}' $infile > videoid.txt # The second and third columns contain chapter and lecture numbers. awk '{print $2 " " $3} ' $infile > chapcol.txt awk '{$1=$2=$3=""; print $0}' $infile > description.txt # now put the fir...