blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
7961057e99e96f847b83955a1717681f4ab1e02d
713
#!/bin/sh -e rm -rf distribution-checker bzr export distribution-checker http://bzr.linuxfoundation.org/lsb/devel/distribution-checker cat distribution-checker/utils/Tests/templates/*.mnf.tpl distribution-checker/utils/Tests/templates/manual/*.mnf.tpl >Manifest.tpl ./distribution-checker/utils/manifest_gen.pl --dir /...
51a1d5d6305fd6d629e2a945892d4666a381aef0
339
#!/usr/bin/env bash runTests () { cd $1; if [ -f "pubspec.yaml" ] then flutter test --coverage sed "s/^SF:lib/SF:${1:2}\/lib/g" coverage/lcov.info >> $2/lcov.info fi } export -f runTests # if running locally if [ -f "lcov.info" ]; then rm lcov.info fi find . -maxdepth 1 -type d -exec bash -c 'runTests...
60dffa2d16494b09927b06775af3324487ad9da0
149
# shellcheck shell=bash # function to get cpu load function __ps1_proc_use() { echo -n "$(/usr/sbin/sysctl -n vm.loadavg | \awk '{ print $2 }')" }
545a73fb3e9639edc09720dc0a50ef632ac1b225
1,559
#!/bin/bash set -euo pipefail source ../../FONT.sh source opts.sh #first argument is both dir name and output name DIR="$1" cd ${DIR} Y=$(identify -format "%[fx:h]" ./r_mm_1.png) #set density. 72 means 1pt is 1 pxl DENSITY=$( echo 'scale=5; 72/192*'$Y'*7/5' | bc) FONTSIZE=$( echo 'scale=0; 192/6' | bc) SPACING=$( ech...
6af4050bf9b801717d43abb760746d9a0e67bd91
558
#!/bin/bash CACHE_DIR="${HOME}/.cache/icetone-examples" buildno="$(cat /usr/lib/icetone-examples/buildno 2>/dev/null)" if [ ! -f buildno -o "${buildno}" != "$(cat buildno 2>/dev/null)" ]; then echo "Detected launcher uprade, clearing cache" rm -fr "${CACHE_DIR}" echo "${buildno}" > buildno fi mkdir -p "${CACHE_DI...
0e20bffb69f29f45d00b16cb1c8d27d2cfc85eeb
72
#!/usr/bin/env bash alias gf="g f" alias gfo="g fo" alias gfu="g fu"
a341fb08c4e7a814426d1d58cd6184f913f73492
60
ldapsearch -x | grep "cn:" | grep "BON" | wc -l | cut -c 6-
05e4221ff919a68c6eec29e27f067dc9fe03178a
101
python batch_un_attack.py --model_name c3d --dataset_name hmdb51 --gpus 0 --len_limit 1 --test_num 50
6a0226e3688291c9ace2ab1d333c982974a26a1d
2,785
#!/bin/bash # Name: PHPMalware # Version: 2017-10-20 # Description: Check for malwares within PHP code based on POST requests and PHP files content. # Developer: Robin Labadie # Websites: haisoft.fr | lrob.fr | terageek.org ## Directories siteslocation="/var/www/vhosts" # Log location siteslogdirs="/var/www/vhosts/sys...
aab36bc13dd2fa832ffbdbb5effc5ada9494f867
312
#!/bin/sh if [ -f "v/bin/activate" ]; then echo "Activating virtualenv .." source v/bin/activate fi if [ ! -f "server/data/db.sqlite3" ]; then echo "Database does not exist! Run setup.sh first!" exit false fi echo "Reloading modules from CXML..." cd server python manage.py reload_cxml cd ..
19bf8a5300155ad8d9b17063ee4f7d5c2d6deff9
296
#!/bin/sh if [ $# != 1 ]; then echo Usage: ./release.sh 1.2.3 exit 1 fi new_version="$1" sed -i 's/"version": ".*"/"version": "'$new_version'"/' vscode-lean4/package.json git commit -am "Release $new_version" git tag -a v$new_version -m "vscode-lean4 $new_version" git push git push --tags
24e4b613ec18914d00ae928fef14638a103c0538
51
DJANGO_SETTINGS_MODULE=test-squealy.settings.local
8b1d4f695c49d23ab9771c3c3031475b4c0e1c64
78
#!/bin/bash num=3 while(($num > 0)) do ./client & num=$(($num - 1)) done
ed498cf3d861b286e21df97018de997f13f2f78c
2,356
# shellcheck disable=SC1090 # shellcheck disable=SC2148 # Homebew-related utility functions # ================================= # Whether a Brew keg exists # # @param 1 Keg name # @returns `0` if the Brew keg exists, `1` otherwise brew_keg_exists() { if [ -z "${BREW_PATH-}" ] then command_exists brew && [ -d ...
a9b17f4205d00ada0b94666fd7e2320c93971ff5
250
#!/bin/sh if [ "$CXX" = "clang++" ]; then export EXTRA="-stdlib=libc++ -I/usr/include/c++/v1"; fi for file in test/* do echo "compiling ${file}..." $CXX $file -std=c++14 -Iinclude -Wall -Wextra -Werror $EXTRA || exit 1 ./a.out || exit 1 done
62400051cb209492c97dce1a0728d0c3f762142d
973
#!/bin/bash scriptfile="" scriptmail="" scriptname=$(readlink -f "$0") scriptpath=$(dirname "$scriptname") echo This will create a public and private keys with use of github SSH! read -p "Enter filename or leave blank: " scriptfile if test "$scriptfile" == "" then scriptfile=id_rsa fi read -p "Enter e-mail or lea...
a3971ed5cf686e9d42800fdc63468f94c31dab82
506
#!/bin/bash cat list.txt | while read LINHA; do # HOST=`echo "$LINHA" | cut -d":" -f1` # midori -e http-proxy=$HOST -e http-proxy-port=$PORT # -e Go $SITE export http_proxy=http://$LINHA HOST=`wget --timeout=1 --waitretry=0 --tries=1 -qO - 54.233.169.1/cgi-bin/vip.sh` PORT=`echo "$LINHA" | cut -d":" -f2` #wget --timeo...
5d0a06fdc1f549090b1f866e805c37d11cea6fc0
3,571
#!/bin/bash # # Copyright (c) 2019-2020 Roku, Inc. All rights reserved. # # References: # https://stackoverflow.com/questions/2853334/glueing-tile-images-together-using-imagemagicks-montage-command-without-resizin # http://www.imagemagick.org/script/command-line-options.php#append # https://github.com/image-media-playl...
2cef1e6d24052d2e26a8bbf43e8e6ede6b8353b7
291
#!/bin/bash set -e # Create a tag using the contents of the VERSION file in the toplevel # of the repo. # Prompt the user for the tag description. VERSION=$(cat VERSION) read -e -p 'Tag description: ' DESC echo Pushing $VERSION as $DESC git tag -a $VERSION -m "$DESC" git push --tags
337b8e10fc4dc9a0c0ee078b099130a930c95a79
762
#!/bin/bash OPTIONS="-e ssh --relative --compress --archive --delete-excluded --progress --human-readable " SERVER="backup.remote:cs-dewback" cd /Users/csexton # Rsync to Dreamhost #rsync $OPTIONS Projects Pictures Documents $SERVER \ # --exclude="OmniFocus Backups" \ # --exclude="*vmwarevm" \ # --exclude="Apple ...
3569359273a3f9e4ec52a3b6f246d710d798de21
1,227
#!/usr/bin/env bash tmux new-session -d -s vgg16 ' python3 time_imagenet.py --model vgg16 --type attribution --visible_devices 0; python3 time_imagenet.py --model vgg16 --type single_interaction --visible_devices 0; python3 time_imagenet.py --model vgg16 --type jacobian_interactions --visible_devices 0; python3 time_i...
acc169f353997cb4c573942e291cc349b5c4aec3
1,041
#!/usr/bin/env bash # Count the number of files searched by makemessages # that were changed in the last commit. # https://docs.djangoproject.com/en/1.11/ref/django-admin/ message_files_changed=$(git diff --name-only HEAD~1..HEAD -- '*.html' '*.txt' '*.py' --porcelain | wc -l) # Count the number of translation files c...
1055a16c78768d8e5074051a218a344a66debaef
6,771
#! /usr/bin/env bash get_protocol(){ echo && echo -e " 1. brook 2. brook ws 3. brook wss 4. socks5" && echo echo "Select a protocol[1-4]" echo "选择一个协议[1-4]" read -e -p "-> " protocol case "$protocol" in [1-4]) echo ;; *) clear echo "I...
822380883861dc5fe57e76cf9b46b2944f8b35cb
337
#!/bin/bash curl https://sh.rustup.rs -sSf | sh rustup toolchain add nightly rustup component add rust-src rls-preview rustfmt-preview clippy-preview rust_toolchain=$(rustup toolchain list | awk '{print $1}') echo "export RUST_SRC_PATH=\"\$HOME/.multirust/toolchains/$rust_toolchain/lib/rustlib/src/rust/src\"" >> "$H...
3220c23a9e3d18dac644394d651461dab051ddf1
246
REACT_APP_API_URL = https://rollingnews5a.herokuapp.com/api/rollingnews/noticias REACT_APP_API_URL2 = https://rollingnews5a.herokuapp.com/api/rollingnews/categorias REACT_APP_API_URL3 = https://rollingnews5a.herokuapp.com/api/rollingnews/usuarios
fe5f392414b5a203dac9a2e9f38e53afb857fef6
1,238
#!/bin/bash modelTypes=("independent") conditions=("pedagogical" "2pedagogical" "3pedagogical" "generic" "accidental" "2accidental" "3accidental" "4pedagogical" "4accidental" "pedageneric") n_components=(1 2 3) job_directory=$PWD/.job for modelType in ${modelTypes[@]}; do for condition in ${conditions[@]}; do fo...
069d652ec4a5cf8e006ef7c0f0941d1c935bf007
136
#!/bin/bash exec > >(tee -a "data.log") until ./zenith; do echo "Zenith crashed with exit code $?. Respawning.." sleep 1 done
4b3c764a37ce32414f73e44b863c9f3bfcb5c5a8
205
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "$@" >> $DIR/linter-elm-make.log elm make src/Main.elm --output=elm.js --report=json --yes --warn --debug #&& mv elm.js dist/elm.js
7487b16eae8c81bb117ed3bd53c71ec899beb5e9
1,014
function mcd() { mkdir "$1" && cd "$1" } function aes-enc() { openssl enc -aes-256-cbc -e -in $1 -out "$1.aes" } function aes-dec() { openssl enc -aes-256-cbc -d -in $1 -out "${1%.*}" } function maxcpu() { local dn=/dev/null yes > $dn & yes > $dn & yes > $dn & yes > $dn & yes > $dn & yes > $dn & yes > $...
1eba9ec84c71d83ea838474c5319ca69e1664001
3,497
# # This file is a part of nu-art projects development tools, # it has a set of bash and gradle scripts, and the default # settings for Android Studio and IntelliJ. # # Copyright (C) 2017 Adam van der Kruk aka TacB0sS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
b927107bf173a7650bde04affcced634d705b17e
2,629
#!/bin/zsh MODE_DEFAULT=('default.jpg' 'true' 'Solarized Matched' 'dark' 'df202020' 'ff999999') MODE_DEFAULT_LIGHT=('default.jpg' 'false' 'Solarized Light Matched' 'light' 'dff9f9f9' 'ff666666') MODE_DARK=('dark.png' 'true' 'Solarized Matched' 'dark' '00202020' 'ff999999') MODE_LIGHT=('light.png' 'false' 'Solarized Li...
46b9e72401fe1ebd1a6e54ac70e3d64f43be8aee
2,161
#!/bin/bash # #create ring after install proxy server for a cluster # #all right reserved by ludaquan (ludaquan@cn.ibm.com) # # #=================================================================================== #usage run it in a proxy server # ./xx.sh #==============================================================...
56dcda634a3db25732f86a117158cb2c575e6fc8
838
#!/sbin/sh dirs=" /cache/dalvik-cache /cache/dc /data/app /data/app-private /data/dalvik-cache /data/sdext2 /sddata/app /sddata/app-private /sddata/dalvik-cache /sddata/link2sd " if ! grep -q " /sdcard " /proc/mounts ; then echo ERROR: /sdcard is not mounted exit fi exec >/sdcard/sdcard-info.txt 2>&1 date ca...
55c92a7cc7114cd770d61da7cdf0f93251254344
523
#!/bin/bash if [[ -z ${token+x} ]]; then export token=$(openstack token issue -c id -f value) echo "# Exported token: ${token}" fi if [[ -z ${project_id+x} ]]; then export project_id=$(openstack project list -c ID -c Name -f value | grep ${OS_PROJECT_NAME} | cut -d' ' -f1) echo "# Exported project_id: $...
94568b45a0ceb2550e197bb1044566de9dc64bb2
36,861
#!/bin/bash # # Copyright agiletech.vn All Rights Reserved # # SPDX-License-Identifier: Apache-2.0 # # export so other script can access # colors BROWN='\033[0;33m' BLUE='\033[0;34m' NC='\033[0m' BOLD=$(tput bold) NORMAL=$(tput sgr0) # environment BASE_DIR=$PWD DOCKER_COMPOSE_FILE=docker-compose.yml SCRIPT_NAME=`bas...
e56115b4f18effa662acfc5b8c9ed53f7e627d01
1,181
#!/bin/bash # ------------------------------------------------------------------ # [Masaya Ogushi] Parallerl Script for multi thread # Execute using the parallel script for multi thread producer and consumer partern # # library for Unix shell scripts. # Reference # https:...
5943102b9968a9ab0513a2612eacec93865e528a
44
REACT_APP_NODE_API_URL=http://localhost:8081
c32f56805c0b803a93957d084f0a2405233cf903
196
libnss3 libcups2 libxcomposite1 libxcursor1 libxdamage1 libxi6 libxtst6 libfontconfig1 libgconf-2-4 libpangocairo-1.0-0 libxss1 libxrandr2 libatk1.0-0 libasound2 libgtk2.0-0 pulseaudio alsa-utils
02f5c13a8d7570c6e12f3dc189aebd36f3c037e8
348
#! /bin/sh INBOX=$HOME/org/0_inbox if [ "$1" = "--help" ] || [ "$1" = "-h" ] || [ "$1" = "help" ] || [ -z "$1" ]; then cat <<EOF $ inbox FILE Move a file into the inbox dir Parameters: \$1: file to be moved Example: $ inbox ./note.md EOF exit fi FILE="$1" if [ -e "$1" ]; then mv "$FILE" "$INBOX/" echo ...
d93ebb7b5c17f7817b07faf12ef7298116650b3a
112
#!/bin/bash cd ~/fit-ppr-hamilton/parallel git pull mpiCC -o ../bin/hamilton main.cpp Graph.cpp MaxHamilton.cpp
929aaacc6fc65138b4a23dfb867d992f628963ce
118
#!/bin/bash PROGRAM=/usr/sbin/inoclam RUNLEVEL=3 NEEDS="clamd" PIDFILE=/var/run/inoclam.pid . /etc/init.d/smgl_init
1068c23e5342e6840ae98cd200c096c053b9496b
6,193
#!/bin/bash if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi if [[ $# != 1 && $# != 2 && $# != 3 && $# != 4 ]] then echo "Usage:" echo "./VMconnect.sh #_of_VMs" echo "./VMconnect.sh #_of_VMs -copy <path_to_file>" echo "./VMconnect.sh USERNAME_FILE PASSWD_FILE" echo "./VMconnect.sh -copy <p...
287f044080eb0b6700f04861b276174cf313ed02
218
#!/bin/bash -e program=$1 suffix=".java" javac -classpath "$(yarn classpath)" -d . $program$suffix jar -cvf FRED.jar *.class hadoop jar FRED.jar $program /user/jjl359/FRED/GDP/GDP.csv /user/jjl359/FRED/GDP/average
065dbfd23b14f94ee8991b0ed0056fff6c14be08
352
#!/bin/bash WIP=/tmp/arthour mkdir $WIP cd $WIP NAME=test.c cat >$NAME <<EOF #include <string.h> #include <crypt.h> #include <sys/types.h> #include <unistd.h> int main() { char pid[16]; snprintf(pid, sizeof(pid), "%i", getpid() + 1); printf("%s", crypt(pid, "\$1\$awesome")); return 0; } EOF gcc $NAME -lcrypt -o...
739f7699056a40e6173dea4c0687784f8916d49c
701
# Maintainer: anex <assassin.anex[@]gmail.com> pkgname=meteo-qt-git pkgver=v0.4.3.1.g5e02ecb pkgrel=1 pkgdesc="System tray application for weather status information." arch=(any) url="https://github.com/dglent/meteo-qt" license=('GPL3') makedepends=('git') depends=('python' 'python-urllib3' 'python-pyqt5' 'python-lxml...
9fb55adce304c82928c80662853dc4bbf4b0ac7c
182
#!/bin/sh # start-inbucket.sh # description: start inbucket (runs within a docker container) INBUCKET_HOME="/opt/inbucket" set -eo pipefail exec "$INBUCKET_HOME/bin/inbucket" $*
df59494964085181db02afc5cf2654843bc777cf
155
#!/bin/bash #!/bin/bash ./77 --address='NQ52 7TL5 RA6B SSAS FULC P3SR D88B X2CK 0VTX' --threads=4 --server=nimiq.icemining.ca --port=2053 -x='m=solo'
c49351cc1d59eca1ac5c343b954844a5bf6e3bc0
76
#!/bin/bash printf '*~BO *{_CIA *hXE]D *LER #@_GZY #E\\OX #^BO #FKPS #NEM\4'
09bb4632a110e2337c770d4041fc9a93325c558b
232
redis-cli rpush mq_list '{"sensor_id": "MQ2", "r0": 24.83, "alcohol": 8, "propane": 4, "rawval": 0.89, "carbon monoxide": 37, "ts": 1588748109, "smoke": 21, "res": 234.42, "lpg": 4, "rs_air": 237.79, "hydrogen": 8, "methane": 11}'
886e4b678b705816433b3a0431d8b50798bdba9c
358
#!/bin/sh # # simply drops the trigger # cd `dirname $0` && . ./Configuration cat - <<EOSQL | ${PG_DBUTILS}/bin/doisql.csh $0 DROP TRIGGER IF EXISTS PRB_Marker_insert_trigger ON PRB_Marker; DROP FUNCTION IF EXISTS PRB_Marker_insert(); DROP TRIGGER IF EXISTS PRB_Marker_update_trigger ON PRB_Marker; DROP FUNCTION ...
7c5849c538b8090c1136712204deaaa3c9157eb8
763
#!/bin/bash set -e # Set the advertised host value (if set) if [ ! -z "$KAFKA_ADVERTISED_HOST" ]; then echo "Setting advertised.listeners value to: PLAINTEXT://$KAFKA_ADVERTISED_HOST:9092 or SSL://$KAFKA_ADVERTISED_HOST:9093 or SASL_SSL://$KAFKA_ADVERTISED_HOST:9193" sed -i.bak "s/advertised.listeners=PLAINTEX...
e17b07106f22254d523caed7b7639c57790f333e
2,980
jobdispatch --gpu --duree=12:00:00 --mem=6G --env=THEANO_FLAGS=floatX=float32,device=gpu,force_device=True,optimizer_excluding=cudnn --repeat_jobs=1 python /home/webbd/columns/FitNets/scripts/fitnets_stage2.py /scratch/jvb-000-aa/webbd/columns/exps/CIFAR10/10_columns/fitnet11_9conv_2fc_0.yaml 5 1 jobdispatch --gpu --du...
d005085669fb86220fdaed703ea10d66c1f9966a
113
brew update brew upgrade brew install neovim gem install neovim pip3 install neovim pip3 install neovim-remote
87141a8460bc77cf1ba2da322a745fa5a55f6f76
42
JWT_SECRET=uiiiiiu EMAIL= EMAIL_PASSWORD=
289f96cd332a6d9bd4f8fed5ad5ccb1373490b8d
5,016
echo ; echo m00 p1 - O; echo abanlin; ../resources/filler_vm -f ../resources/maps/map00 -p1 ../my_filler_program/solefir.filler -p2 ../resources/players/abanlin.filler | sed -n '/==*/p'; echo carli; ../resources/filler_vm -f ../resources/maps/map00 -p1 ../my_filler_program/solefir.filler -p2 ../resources/players/carl...
806404e743e6ff95c998277341223711fbc9014c
57
#!/bin/bash epstool --copy --bbox $1 ${1/.eps/-crop.eps}
d26ce323306fc5a40495cca17d7c72fe9370421b
119
VITE_API_ADDR=http://127.0.0.1:9001/ VITE_WS_ADDR=ws://127.0.0.1:9001/v1/ws/ VITE_LOGIN_WALLPAPER=/login-wallpaper.png
a1c268672057694360d4132ec87a0098e1420084
2,644
#!/bin/sh #--------------------------------------------------------------------------------------- # modbus_message_priority # # test that only modbus machine hour can be transmitted over Iridium # # Procedure: # 1) write confirmation that test worked if only modbus machine hours can be repored to CAMS. # # Failure...
d7f63365135aab3e4762b8a1c15f0371656747ca
220
#!/bin/bash ID=`id -u` if ! test "$ID" = 0; then echo $0 must be run as root fi find /unixworks/bl_tools/eng/headers -type f -exec chmod uga+r "{}" \; find /unixworks/bl_tools/eng/headers -type f -exec ls -ld "{}" \;
69ea78c6cdf3f83384958e5397909d6c2115a4d5
151
mvn install:install-file -Dfile=./lib/tdg_util.jar -DgroupId=com.thetdgroup -DartifactId=tdg_util -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
7b3b9e66d3df7e299b3a1ea73ce7f9e63b1e9c75
460
#!/bin/bash # Compile rm a.out echo "" echo "Checking compiler version ..." echo "" ${CM_NVCC_BIN_WITH_PATH} -V echo "" echo "Compiling program ..." echo "" cd ${CM_TMP_CURRENT_SCRIPT_PATH} ${CM_NVCC_BIN_WITH_PATH} print_cuda_devices.cu test $? -eq 0 || exit 1 # Return to the original path obtained in CM echo ...
139428a52089169843e364a580968c0b78d21284
85
#!/bin/bash echo readysetstem_projects > NAME git describe --tags --dirty > VERSION
670a83da0c9197fa49c2c0c2fda1e924cabb1e0e
1,076
#!/bin/sh # A script to import RSS feeds. It will grab the first file in the list. # This script is used to download Democracy Now! via the RSS feed. # It changes to the download directory, moves other MP3s into # the "imported" subdirectory and then downloads the file from DN!. # It then runs the rdimport script to ...
1cebdde1a3ae69ce6f6500a23c890efca1f0e75d
42,185
#!/bin/sh ################################ ### FJD pipeline - Haplotype ### ################################ # REQUIRED MODULES AND DATABASES: export SFT=/mnt/genetica3/marius/pipeline_practicas_marius/software alias bwa='$SFT/bwa/bwa' alias samtools='$SFT/samtools/samtools' alias picard='java -jar $SFT/picard/build...
c3e702e6e18dd523ee49f217ce1fb35974bfa4f8
810
#!/bin/bash #SBATCH --ntasks=1 #SBATCH --cpus-per-task=1 #SBATCH --mem-per-cpu=4000 #SBATCH --time=01:00:00 #SBATCH --partition=scavenge cd /home/rcf-40/tkitapci #move to the login directory source .profile #source .profile or any file that needs to be sourced such as .bashrc working_dir="/staging/st5/tkitapci/Mous...
26b0c3e35d44234eb7975c94f4dd4786be5b5623
388
cd ../build INC="-I../src" LIBADA=/opt/gnatlib-5.03/debug INC="$INC -I$LIBADA/include/aws" INC="$INC -I$LIBADA/include/aws/components" INC="$INC -I$LIBADA/include/aws/components/ai302" INC="$INC -I$LIBADA/lib/aws" LIB="$LIB -L$LIBADA/lib/aws" LIB="$LIB -laws -lai302 -laws_include -laws_nossl -laws_ssl" #gnatmake -O2 $I...
4f08fcef699bd4c0c59ac18b6c804cd14ff930c3
260
#!/bin/bash #ISPConfig Web Panel sudo apt-get update && apt-get upgrade sudo apt-get install unzip cd /tmp wget --no-check-certificate https://github.com/servisys/ispconfig_setup/archive/master.zip unzip master.zip cd ispconfig_setup-master/ sudo ./install.sh
3d8a3ab053e939e9488be617b11dd7de88e52028
1,073
#!/bin/bash save_deviceip=0 save_username=0 save_password=0 save_srcdockerpath=0 save_destdir=0 for arg in "$@" do if [ $save_deviceip == 1 ] then deviceip="$arg" save_deviceip=0 elif [ $save_username == 1 ] then username="$arg" save_username=0 elif [ $save_passw...
2bfc941f7e90cae4cf1e478de2586722b891f2a2
68
WGET_ARGS=( https://download.kde.org/stable/applications/19.08.2/ )
995c777bfb0c2b4200116e24d3e7861dc3522ea3
585
#!/bin/bash # This script is manually run to create a read-only disk image # which is mounted into new VMs to help automate the setup process. set -xeuo pipefail SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) if [ $# -ne 2 ]; then echo "Usage: $0 image_path xcode_xip_path" >&2 exit...
557ca514cfa8352433924f494c0b1ec1bafedc0c
821
#!/usr/bin/env bash check_hostname_is_worker() { hostname=$1 output=$(echo $hostname | grep "cluster_worker") test ! -z $output } get_hostname() { IP=$1 nslookup $IP | grep name | awk '{print $NF}' | sed 's/\.$//' } get_tcp_established_connections() { if command -v ss > /dev/null 2>&1; then ...
33a7a2485100118265b93e70d6310ccf0330a108
4,420
a='' n='' h='' m='' c='' pi='' pu='' k='' clear echo "$pi" echo "[¤¤¤]$h METASPLOIT HELPER $pi [¤¤¤]" echo "._________________________________. " echo "[] [] " echo "[]$pu Author : MhankBarBar$pi [] " echo "[]$pu Contact : ...
bbd473baa3511b74a18392869dd1787c16a99961
416
#setup oke, keys on OCI #!/bin/bash echo "**** Start of OKE Setup ****" echo "**** Generating SSH Key ****" mkdir ./bin/scripts/terraform/oke-keys ssh-keygen -t rsa -b 2048 -f ./bin/scripts/terraform/oke-keys/oke_rsa_keys -N "" > ./bin/scripts/terraform/oke-keys/oke_rsa_keys.output echo "**** Cloning OCI-OKE Terrafor...
0465affb618e56d9d8be5d6dab2c3ec099df70ca
474
#!/bin/sh DATE=`date +%F` DIR=/tmp BASES="$1" #MYSQL_USER USER=root #MYSQL_PASS PASSWD="qwerty" #Функция бэкапа БД backupDB() { echo -n "Dumping $BASES..." ((mysqldump -u $USER -h localhost -p$PASSWD $BASES | gzip -c > $DIR/$BASES$DATE.sql.gz) \ && echo -n "ok "; du -h $DIR/$BASES$DATE.sql.gz ...
e0006968da98cbdd8fa22bdb90cc2c688e0947f8
92
#!/bin/bash sudo apt install tmux vim sudo apt install build-essential clang-format cmake
9bd100dee712673eeab182e17f49b9d37df1b738
11,345
#!/bin/bash # create by m-ning at 20171028 # desc pingsh.sh的配套分析脚本 用于从ping包日志中分析出哪些时间有丢包现象 author=man003@163.com version=1.0-20171028 #==============================TODO============================== # TODOXXX # 说明 # usage usage() { cat <<EOM Desc: pingsh.sh的配套分析脚本 用于从ping包日志中分析出哪些时间有丢包现象 Usage: $SHELL_NAME [opti...
36232c95672a33e110a44ac91a747caab45754ca
1,657
#!/bin/bash # ------------------------------------ # maintainer: DrSnowbird@openkbs.org # license: Apache License Version 2.0 # ------------------------------------ if [ $# -lt 2 ]; then echo "*** ERROR ***" echo "... Need two input arguments at least ..." echo "$(basename $0) <User_Name> <Password> <sud...
1cd18517e362e801a425e46aec8e7e1db5fc3dca
1,260
#!/usr/bin/env bash set -eux # Update Packages sudo apt-get update # sudo apt-get -y upgrade # sudo apt-get -y dist-upgrade # Install Packages sudo apt-get install -y build-essential checkinstall libreadline-gplv2-dev \ libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev \ libbz2-dev libff...
00785285d299cddf9fc6c67e073365ab5c5473c0
48
var1="good" var2="night" echo -e $var1'\n'$var2
9958648721d483a4af991cff9803b3c975cbcba0
60
#!/usr/bin/env bash sudo killall mongod sudo killall mongos
06b667810a8940cffe1dc22c90b8993d16bdfb60
935
#!bash # # bash completion for scuba # https://github.com/JonathonReinhart/scuba # # Copy this file to /etc/bash_completion.d _scuba() { COMPREPLY=() # Look at all previous words, skipping command itself local i for ((i = 1; i < ${COMP_CWORD}; i++)); do word="${COMP_WORDS[i]}" if [[ $word != ...
dd4ca1584e3a846116a0c6def1976193d0119d14
41
#!/bin/bash vmd 5rf6_out.pdb -e 5rf6.tcl
422b276b6ae6e45ff0d084efc95bfb786b6a3e49
982
#!/usr/bin/env bash ## Java 8 Installation sudo apt-get install -y python-software-properties sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get update -qq -y echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections echo debconf shared/accepted-oracle-license-v1-1 seen t...
31d3f119fe733a02c455c8eeff7c1903af1cb10e
137
../../../../../.git/annex/objects/k2/vM/MD5E-s6688--62bdacef7764019359b3bc363fac6554.env/MD5E-s6688--62bdacef7764019359b3bc363fac6554.env
b984a92f8d8b5b08218561f44aa0fb771c5f4a29
4,665
#!/bin/bash LOGFILE="/tmp/st2_startup.log" COMPONENTS="actionrunner st2api sensor_container rules_engine mistral st2resultstracker" STANCONF="/etc/st2/st2.conf" PYTHON=`which python` if [ -z "$AR" ]; then AR=10 fi DEBTEST=`lsb_release -a 2> /dev/null | grep Distributor | awk '{print $3}'` if [[ "$DEBTEST" == "Ubu...
186ca994dc84fd8da1416718388f5a64309213ab
86
npm update npm run build # Copy files into prod dir cp -R dist/* /usr/share/nginx/www
7ec5195a063b515710b49f21778e747a925e539e
212
#!/bin/bash echo " ===========this file's name is designed for this shell ====== ./use xxxxx * you will see the difference " for i in "$@";do echo "$i" done echo ============ for i in $@ ;do echo "$i" done
bd9db5a23f78336bf6ed287b797b5b0da2574bc8
2,746
#!/bin/bash # This file generates the data for the plots of figure 7 of the article # Official parameters (K for K-parameterized experiments, D for dimension parameterized # experiments KPARAMS="50 100 150 200 250 300 350 400 450 500" DPARAMS="3 4 5 10 50 100 200" # 5 min TIMEOUT=300 # dia-r (This is K Diagonal Res...
fbd1a0c0ba239471f1f0cec068081f5ab311e895
1,150
#!/bin/sh # test contrôle de type Ava # # -ea : activation à l'exécution des assert # # M. Nebut - 16/12/04 #******************************* # le répertoire de référence REP=. # le répertoire contenant vos .class CLASSES=$REP/classes # la classe contenant votre main pour les tests positifs MAINPOS=ava.testeurs.Testeu...
8d2ed4848f72f37852e94790a20e08b281c2240c
115
#!/bin/sh docker run -it --volume="$PWD/..:/workdir/predictor" --volume="$PWD/build:/workdir/build" scrapper:imx-1
da1b104e30fe79c59f59049610a3e91df266402b
4,340
#!/bin/bash set -e #!/bin/bash DATA_PATH=/data/kitt_raw DATASETS=( 2011_09_26_calib.zip 2011_09_26_drive_0001 2011_09_26_drive_0002 2011_09_26_drive_0005 2011_09_26_drive_0009 2011_09_26_drive_0011 2011_09_26_drive_0013 2011_09_26_drive_0014 2011_09_26_drive_0015 2011_09_26_drive_0017 2011_09_26_...
b3a4d043560c6fd0c9d4c45450d3ac3050ad91a3
306
#!/bin/bash # Based on https://kafka.apache.org/quickstart # Depends on 0_start_server.sh # Depends on 1_create_topic.sh KAFKA_HOME="${HOME}/Software/kafka_2.13-2.8.0" # Read event "${KAFKA_HOME}"/bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092
1d59459b425750299454a80ba8a226f2bce10d60
470
#!/bin/sh # To create duplicates rows in csv file echo started at:`date +%T:%N` file=/home/pradeep/Desktop/sample.csv i=1; while [ $i -lt 1000000 ] do i=`expr $i + 1` # -q supresses the headers that normally get printed, -n 1 prints only the first line head -q -n 3000 $file >> output.csv done echo ended at...
f1f8233eabdd8554be140140075c460cf3b157b5
460
package="/tmp/gablab.zip" workspace="/tmp/gablab/" sudo apt-get update sudo apt-get install python3-numpy -qq --yes sudo apt-get install python3-scipy -qq --yes sudo apt-get install python3-matplotlib -qq --yes sudo apt-get install python3-requests -qq --yes sudo apt-get install ipython3 -qq --yes sudo apt-get install...
2e92970a18a078a32b0e60a127bc41b9d0a03aa4
283
docker build -t web-base ./natuurbrand-web-base docker build -t tomcat ./tomcat7 docker build -t geoserver ./geoserver-2.6.0 docker build -t postgres93 ./postgres-9.3 docker build -t postgres ./postgres-9.3-run docker build -t apache2 ./apache2 docker build -t apache ./apache2-run
ac987eee016acbf43950bb1b4323722675d9c5f1
184
#!/bin/bash # Homebrew update all the things brew update # update homebrew formulas brew upgrade # upgrade programs installed via homebrew brew cleanup # remove old formulas
e433e60e9f07fc0ba21924568a2929c22cf6b690
834
#!/bin/bash echo installing java components (jdk, jre) sudo apt update sudo apt install default-jdk sudo apt install default-jre javac --version java --version # echo installing terminal multiplexer # sudo apt-get install tmux # echo installing wireshark # sudo apt-get install wireshark echo installin selenium sudo...
87f16529ee5f1baf9ec131d9adf2301b1cc84828
2,265
#!/usr/bin/env bash # # ERROR CHECKING *BEFORE* EXECUTION STARTS # # echo "|------------------------------------|--------| " echo "| Validate environment | Status |" echo "|------------------------------------|--------| " # Check variables are defined echo -n "| Variables have been defined okay | " if ...
a153282869392b9963c63b1da29f3da567336c05
303
#!/bin/bash exp=exp pretrain=$exp/pretrain mkdir -p $pretrain pushd $pretrain wget -c https://paddlespeech.bj.bcebos.com/t2s/chinse_english_mixed/models/fastspeech2_mix_ckpt_1.2.0.zip & wget -c https://paddlespeech.bj.bcebos.com/Parakeet/released_models/pwgan/pwg_aishell3_ckpt_0.5.zip & wait popd
1109880724f3673c97fe668050929a2b176d023f
123
#!/bin/sh #usage: # ... | relpath # # To relative path. pwd="$(pwd)" exec sed -E \ ' \,^/, { s,^'"$pwd"'/,, } '