blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
ee75353033791b140b6bb7e575897d415accf88e
121
#!/bin/bash if [ ! -d ~/.k-log ]; then mkdir -p ~/.k-log/datastore mkdir -p ~/.k-log/js-ipfs touch ~/.k-log/config; fi;
ee96a86334f06ef0ef825c1384ca17701d142f44
5,612
#!/bin/bash if [ $# -ne 1 ]; then echo "[*] Usage $0 <git url>" exit; fi check_github_api=$(curl -s https://api.github.com/users/ShefWuzi | jq 'select (.message != null) | .message' | grep "API rate limit") while true; do if [[ $check_github_api != "" ]]; then sleep 10m; check_github_api=$(curl -s https://api...
eaeb9c805c7f1d21d5ea8ece94f876baabfde89f
114
#!/bin/bash echo "Free disk space: `df -Ph /home/111/timelapses/ | tail -1 | awk '{print $4}'`" | festival --tts
3bb373fa09e74f8006876b8a4d7296a29d32221d
74
rsync -cr --progress ./Filter vps:/home/he0119/nginx/typecho/usr/plugins/
0beace2f0a4642ef2823e384110a516bd70d55b3
380
#!/usr/bin/env bash . ~/grepblock/adeptio/adeptioDefaults.sh parseBlocksInRangeFor=199 chainProvider="https://explorer.adeptio.cc" getBlockHashMethod="/api/getblockhash?index\=" getBlockwithHashMethod="/api/getblock?hash\=" collectionBlocks=blocks dataFileBlocks=/tmp/${database}-parsedBlock.json # Start parsing s...
851bde3b59b2d72a2901342d9b2361edbedc8446
565
# shellcheck shell=bash # Setup defaults for XDG export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-"${HOME}/.config"}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:-"${HOME}/.cache"}" export XDG_STATE_HOME="${XDG_STATE_HOME:-"${HOME}/.local/state"}" export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-"${HOME}/.run"}" export XDG_DATA_HOME=...
a15f1dfa2c171dc9aec4229f009e8b86bd9cdf3f
230
cat << EOF > /etc/yum.repos.d/python-native.repo [python-native] name=python-native baseurl=file:///home/python-native gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/PRM-GPG-KEY-CentOS-7 enabled=1 EOF createrepo /home/python-native
382ad4e49ce2b3b1079ce685d64ce42f01a63b91
1,129
#!/bin/bash if [ ! "`java -version > /dev/null 2>&1 | grep jdk1.7.0_45`" ] ;then if [ ! -d /usr/lib/jvm ];then mkdir /usr/lib/jvm;fi wget -qNO /tmp/jdk-jdk1.7.0_45-linux-x64.tar.gz https://s3.amazonaws.com/backupify-packages/jdk-1.7.0_45-linux-x64.tar.gz tar -xzf /tmp/jdk-jdk1.7.0_45-linux-x64.tar.gz -C /usr/lib/jv...
51e0ed726c36f098ee69aeb41d1b88a0cce00115
72
#!/bin/sh exec yt-dlp "$@" --config-location ~/.config/youtube-dl.conf
9ee348ea2823face31c8b3bff23495c73f2e540b
728
#!/bin/bash # Create a symlink for repo based on the jira project name function make_project_symlink() { local repo_file="repo.cfg" if [ ! -f $repo_file ]; then echo "ERROR: '$repo_file' does NOT exist, exiting..." return 1 fi jira_project=$(cat $repo_file | grep jira | cut -d= -f2) jira_project_low...
be892dee1ad2483dc8cf0faa95938c20f2fca9d3
662
#!/bin/bash sleep_time=3 ###################################install repo############################### yum install --downloadonly --downloaddir=./package/epel-release epel-release DIR_remi_release="package/remi-release" if [ -f $DIR_remi_release ]; then echo "File $DIR_remi_release exists." else echo "...
8bcfacc64717ca55150e787ae1b6158a696fa5a0
311
#!/bin/sh # Buttkicker script sudo echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind sudo echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind sudo echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind sudo echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
f0d427c31673d24b7b91f04ee4f7e68a0fdaef54
51
#!/usr/bin/env sh gunicorn -c gunicorn.py.ini app
9b556fb3740e4741e4cd6219032ab0af077b5b1b
235
docker build -t taiga_tensorflow240 . docker run \ --gpus all \ --name taiga_tensorflow240 \ --ipc=host \ -w /mnt/home/ \ -p 8888:8888 \ -v ~/:/mnt/home/ -v /mnt/data/:/mnt/data/ \ taiga_tensorflow240 bash
a60f76ac58094b327688d77a07975b870c3144dc
143
#!/usr/bin/env bash mkdir -p ${ANDROID_HOME}/licenses || true rm ${ANDROID_HOME}/licenses/* || true cp ./licenses/* ${ANDROID_HOME}/licenses/
403bb4747c7afa309b5d1ec42769b991db822772
352
#!/bin/bash rm ./garedetri/05csv/* rm wget.sh; i=0; while read line; do i=$((i+1)); echo 'wget'' -t1 --timeout=8 -P ./garedetri/17wget/'$line' http://www.'$line >> ./wget.sh; done < ./garedetri/02source/csv.csv; #ajout de 2 lignes en debut de fichiers sed -i 1i'\\' ./wget.sh; sed -i 1i'\#!/bin/bash\' ./wg...
7ab0d0207fdbbbe98d74b2c5f9dfad5d698d70bf
151
mkdir cmake-build-linux cd cmake-build-linux cmake -f .. -DWITH_SYSTEM_GLEW=ON -DWITH_SYSTEM_GLUT=ON -DWITH_NATIVE_APP=ON -DWITH_NATIVE_CLIENT=OFF make
9102e14b5f1893f91e4099c9f2aa3315596f4998
166
#!/bin/bash --login #$ -cwd module load tools/env/proxy2 module load use.own module load priv_libs/python/ecmwfiapi/1.5.0 ./download.py 2>&1 | tee log_download.txt
8597caff1cc9f9389c0cd90e5c512d407b37e550
278
#!/bin/bash # compileall # Alice O'Herin # 3/17/2019 # otp_enc_d gcc -o otp_enc_d otp_enc_d.c otplib.c # otp_dec_d gcc -o otp_dec_d otp_dec_d.c otplib.c # otp_enc gcc -o otp_enc otp_enc.c otplib.c # otp_dec gcc -o otp_dec otp_dec.c otplib.c # keygen gcc -o keygen keygen.c
690d7c6ff41469e845572aface999893bac6641b
646
# Contributor: Francesco Piccinno <stack.box@gmail.com> pkgname=bluesnarfer pkgver=0.1 pkgrel=2 pkgdesc="Bluesnarfer will download the phonebook of any mobile device vulnerable to bluesnarfing." url="http://www.alighieri.org/project.html" groups=('archpwn' 'archpwn-bluetooth') license=('GPL') arch=(i686 x86_64) makede...
95feb1d39fa08e5de9bf5193683ac39383c53b2c
879
#!/bin/bash # File Name:update.zz # Description: update function # @Author: evil # Created Time:Mon 26 Jar 2015 21:05:06 PM CST #更新pip update_pip(){ pip install -U pip } #升级gcc到4.8 update_gcc(){ # cat << EOF| sudo tee -a /etc/yum.repos.d/DevToolset.repo # [DevToolset-2] # name=RedHat DevToolset v2 $releasever...
423b15ae2f1773de03b0e6e72c1c7378d2f9c4cf
253
#!/bin/bash for file in *in.txt do if [[ "$file" == *in* ]] then echo $file N=$(cat $file | wc -l) filename=${file/in/fullmatrix} echo "DL N = $N" > $filename echo "Data:" >> $filename cat $file >> $filename fi done
b42c434c26c20bccca2960a37e84d587286eab4e
171
#!/bin/sh find /var/www/html -exec chown -R nobody:www-data {} \; && find /var/www/html -type f -exec chmod 664 {} \; && find /var/www/html -type d -exec chmod 775 {} \;
295a49b692c5dd70b132b0765370c25f6e079122
190
#!/bin/bash #SBATCH -n 1 #SBATCH -c 64 #SBATCH -p main #SBATCH --qos main #SBATCH -e errors.%A #SBATCH -o output.%A #SBATCH --mail-user hyemin.han@ua.edu date python run_meta_test.py date
136356c6e3101a4e1fb606ede8cbc1d56a973dc8
264
#!/bin/bash experiment_name=nosemsup_run python -m pisa.run 'train' --artifact-path artifacts/$experiment_name --data-path ./data/ --config configs/example_config.yml --overrides '{"save_frequency": 10, "eval_frequency": 10, "log_frequency": 1, "num_workers": 2}'
f3233f70db53a70e61a8c90a9cecee4f7713bc09
85
#!/bin/sh 'feh' '--bg-fill' '/home/albert/Pictures/Wallpapers/starry_wallpaper.jpg'
a293d091514b3bcb6ada2fe6e51fc24b5c476719
1,068
#!/bin/bash ORIGIN_FILE=$1 TARGET_FILE=$2 NAMES="" GEN_FILE="bios_set.nsh" usage() { cat <<__EOF usage: ./${0##*/} ORIGIN_FILE TARGET_FILE ORIGIN_FILE: usually it's default setting xml file TARGET_FILE: usually it's our target worked bios xml file Will generate bios_set.nsh __EOF } [[ -e "$ORIGIN_F...
c60fb1ee25831aeda132e52e480a96c39494b324
409
#/bin/bash # Reference: https://apple.stackexchange.com/questions/12371/how-can-i-compress-a-folder-into-multiple-zip-files zip -r -s 64 archive.zip FolderName/ # 64 is the size of the split (in this case 64Mb). # Use -s to set the split size and create a split archive. # The size is given as a number followed...
16aef38b4210272441067461ec8814526ad5f5f2
122
#! /usr/bin/sh # nTEST: equilibration cd equilibration ./main cat diag.txt | awk '{print $2}' | uscale 10 > diag.out.txt
fc1511d323162a0cd37853b8216406ff64ac2d7b
38
#!/bin/sh sudo /etc/init.d/ssh status
ef872d4cfddcdc9c126756ef8140b3b4d49032e4
100
#!/bin/sh echo $1 LANG=C sed -f /srv/www/vhosts/wimtecc.de/r3/Tools/cmd.sed $1 >$1.new mv $1.new $1
1ce1e7a657eff0d44b6aa3cd8b008ce4e29b923e
355
sd_part="/dev/block/vold/179:1" kit=$sd_part/linux img=$kit/linux.img export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH export TERM=screen export HOME=/root export bin=/system/bin echo "Installing script ..." mount -o remount, rw / busybox mount -o rw,remount /system cd /sdcard/linux/ cp linux /system/bin chmod 777 /...
bf4977baca83412215d2d5f2c877d49c8455b288
150
git add -A; #git commit -m $(date +%Y%m%d); #git push -u origin master; read -p "此次上传:" val #echo $val git commit -m $val git push all --all
fc973726a892e23dadffb7fcbe125ddf6d373fcd
402
export MNEMONIC="ranch come drum month cereal near promote text two great purpose truly" export PRIVATEKEY="0xf6336587e022c31e434ef9f02ea68c862f4eae96d17c36c3339727862a492184" # jd test # export PRIVATEKEY="14470e9aeaf76e44e26a952d845b6443cd40acf888e2222a09d158a79faff7da" # w2b export ALCHEMY_KEY="9J5gfca6PBI-pSvV_DLw9...
e1d739070fe3e0cd32bd57b545be0e630bb9626e
140
#!/usr/bin/env bash set -eu profile=${1:?}; shift exec google-chrome --user-data-dir="$HOME"/.config/liskin-google-chrome-"$profile" "$@"
c90c7ebceea5900fb35bae193491112f8bec55bb
1,277
#!/bin/bash echo -e "\e[34m Install Kafka chart \e[0m" helm install incubator/kafka -n kafka-hlf --namespace orderer -f ../helm_values/kafka-hlf.yaml echo -e "\e[34m Please be patient Kafka chart is getting install it migth take upto 10 min\e[0m" # sleep 500 kubectl wait --for=condition=ready --timeout=800s -n orderer...
419d4141a3d8b4ac3b0867d01e813b985fc24601
3,047
#!/usr/bin/env bash # PRUN+Chef: Based on ubuntu: 16.04.1 LTS + SSHD(with authorize_key) sudo apt-get -y update ## Ruby and dependencies # Pre-requirements sudo apt-get install -y git build-essential libsqlite3-dev libssl-dev gawk g++ sudo apt-get install -y libreadline6-dev libyaml-dev sqlite3 autoconf libgdbm-dev...
2d7164003cd94947815a1055820a5828adcba10c
99
PUBLIC_URL=/client MONGOLAB_URI=mongodb://pipedrive:pipedrive123@ds159274.mlab.com:59274/pipedrive
4b33ba578d0f49cce2277dfae0e274ce8dfb7e1e
539
#!/bin/bash # Shell Configs set -euo pipefail # Make the prject root out working directory PROJECT_ROOT=$(pwd) cd $PROJECT_ROOT ISTIO_VERSION=1.6.3 ISTIO_DIRECTORY=istio-$ISTIO_VERSION if [ ! -d "$ISTIO_DIRECTORY" ]; then ### Take action if DIR DOES NOT exists ### echo "Installing Istio..." curl -L...
7f312194fb9ab3d09929a5dcd99513ced06c0bd4
1,995
#!/usr/bin/env bash curl -X PUT -H 'Content-Type: application/json' -d '[ { "resourceType": "internal-auth", "actions": [ ...
f298715e8a0c9aa747bc687325cf7ecabacb4b44
3,814
#!/usr/bin/env bash # This program and the accompanying materials are made available under the # terms of the MIT license (X11 license) which accompanies this distribution. # author: C. Bürger # BEWARE: This script must be sourced. It expects one variable to be set and sets ten variables: # in) profiling_configura...
f8561a7a432156b06b7f2345cfe44a97c03e090a
211
#!/bin/bash zip -r random.zip ./ruby/ aws lambda publish-layer-version --layer-name test_ruby_layer --description "test ruby layer" --license-info "" --zip-file fileb://random.zip --compatible-runtimes ruby2.5
9ed87e4e08902803a7007ba56eeae73206692491
334
#! /bin/bash #curl https://172.21.101.102:443/api/v1/ --cert /etc/kubernetes/ssl/apiserver.pem --key /etc/kubernetes/ssl/apiserver-key.pem --cacert /etc/kubernetes/ssl/ca.pem curl https://kubernetes:443/api/v1/ --cert /etc/kubernetes/ssl/apiserver.pem --key /etc/kubernetes/ssl/apiserver-key.pem --cacert /etc/kubernete...
5c3357d7b46fb5ed8624a152d79f14b69e0e6e44
167
#wag.sh: call WAG on an LLVM bitcode file. wag \ -host_name Capsicum \ -pol_file ../test/benchmarks/gzip/right_amb.txt \ -llvm_entry $1 \ -proj_to_dot
9085b109247e2ee340f36fcf86d5c99c3839e14d
793
javac -d ./bin -sourcepath ./src src/TestJavaUtilStack.java java -cp ./bin TestJavaUtilStack javac -d ./bin -sourcepath ./src src/UseList.java java -cp ./bin UseList javac -d ./bin -sourcepath ./src src/TestCompositionStack.java java -cp ./bin TestCompositionStack javadoc -docletpath ~/Téléchargements/UmlGraph.jar -...
f7e215b8478318f0db71db8cba4bbe4084b96f55
494
#!/bin/bash # # Copyright (c) 2019 Greg Padiasek # Distributed under the terms of the the 3-Clause BSD License. # See the accompanying file LICENSE or the copy at # https://opensource.org/licenses/BSD-3-Clause # get_mnist() { if [ ! -f "$1" ]; then wget "http://yann.lecun.com/exdb/mnist/$1.gz" gunzip "$1.g...
61b329a0a666f6723bd865276fdd9a67a5d0f749
429
#!/usr/bin/env bash set -euf -o pipefail source common.sh u -in backup.bin -out backup.zz.tmp dec u -in backup.zz.tmp -out backup.bin.tmp dmp c dd if=backup.bin.tmp of=md5sum bs=1 count=16 c dd if=backup.bin.tmp of=backup.tar.tmp bs=1 skip=16 c mkdir -p data c tar -xf backup.tar.tmp -C data/ c pushd data u -in ori...
e06d3ead9da7498bc49fb6e44371a19c80b64fb6
1,076
#! /bin/bash THIS_DIR=`pwd` if [ $# -eq 0 ] then LAUNCH_ANNEX=true WITH_CONFIG=0 else LAUNCH_ANNEX=false WITH_CONFIG=$1 fi sudo apt-get install -y gcc lsof PYTHON_VERSION=$(which python) if [[ $PYTHON_VERSION == *anaconda/bin/python ]] then echo "ANACONDA already installed. Skipping" else wget -O lib/anaconda...
642148bc970ffb938901466e7edbf24edade085e
670
#!/bin/bash CUR_DIR=${BASH_SOURCE%/*} source $CUR_DIR/config.bash source $CUR_DIR/include.bash # download the web installer or find it in pkg folder INSTALLER=`check_and_download ${VIVADO_URL} ${DOWNLOAD_DIR} ${VIVADO_PKG_NAME}` # create the target folder CUR_USER=`whoami` sudo mkdir -p $VIVADO_INSTALL_PATH sud...
05a57d7e9af9c67dff80cb9ce531b142adccd84f
165
#!/bin/bash THREADS=(1 2 4 8 16 32) MAIN=$1 DIR=$2 for ((i=0;i<${#THREADS[@]};i++)) do valgrind --tool=massif $MAIN $DIR/config.${THREADS[$i]}.valgrind.txt done
d61e17e055fd6db6ec5bac95a639a793367de4cb
557
# Provisioning script for the Kerberos server sudo DEBIAN_FRONTEND=noninteractive apt-get update sudo DEBIAN_FRONTEND=noninteractive apt-get install -y krb5-kdc krb5-admin-server touch /var/log/krb5.log chown vagrant:vagrant /var/log/krb5.log [ -f /home/vagrant/krb5.conf ] && { sudo cp /home/vagrant/krb5.conf /etc...
b95869f1740a7d8b9888aedb8b2009c0fd433e8a
756
#!/bin/bash echo 1..3 # for TAP set -e >&2 echo "Testing assembly of v2 branch (used for development)" if [ -d "amr" ] then rm -rf amr fi curl -fsSL https://github.com/ncbi/amr/archive/v2.tar.gz | tar xz cd amr-2 make ./amrfinder -u ./amrfinder --plus -p test_prot.fa -g test_prot.gff -O Escheric...
a22ff92706e6e9664a74139a6f290c9efde3236c
1,081
#!/bin/bash # constants quiz_file=ESTqcm.txt score=0 # Pour vérifier si le fichier de qcm existe if [ ! -f $quiz_file ] then echo "Fichier QCM introuvable !" exit 1 fi # game loop (loop over quiz file line/line) while read -u9 line do # analyse du fichier qcm pour la question en cours ...
83fce712fc2c4a325f75d04471b6e28be093bf13
286
#!/bin/bash echo "Ce script supprime de vieux conteneur vous aurez peut être besoin de re builder certain conteneur" docker rm $(docker ps -a -q) #docker rmi $(docker images -a | grep "^<none>" | awk '{print $3}') docker rmi $(docker images -q --filter dangling=true) echo "Done"
477a03e4731d39ad9213382dce5fbb6e1d53306a
39,203
#!/usr/bin/env bats # https://github.com/bats-core/bats-core # load '/d/code/bats-assert/load.bash' # Import . ./script/constants.sh . ./script/strategies.sh # Constants OUT_RESULT_FILE=temp/_result.html SYMBOL=BEI SYMBOL_NAME="BEI BEIERSDORF AG" @test "StrategieOverratedStochasticWhenOwn" { function WriteComdire...
d917d5dc50e1d60ee020c5373a3553249f9c2758
455
REDDIT_ID=fake_reddit_script_app_id REDDIT_SECRET=fake_app_secret REDDIT_USERNAME=fake_username REDDIT_PASSWORD=fake_user_password REDDIT_SUB_NAME=europe REDDIT_MIN_SCORE=100 FB_USER_ID=fake_page_admin_id FB_PAGE_ID=fake_page_id FB_APP_ID=fake_facebook_app_id FB_APP_SECRET=fake_app_secret FB_REDIRECT_URI=http://localh...
44fe355901892e372b7066b3512ab72e16e61081
5,945
#!/bin/bash set -Eeuo pipefail CONFIG_VARS=(REPO_DIR PW_FILE BACKUP_NAME BACKUP_LIST BORG_CREATE_OPTIONS BORG_PRUNE_OPTIONS PWGEN_CMD BORG_INIT_CMD BORG_PASSCOMMAND REPO_SYNC_COMMAND) print_info() { local GREEN='\033[0;32m' local NC='\033[0m' local MSG="$1" if [ -t 1 ]; then echo -e "${GREEN}[INFO]${NC} ...
a4191ef3da4f39e5fa2c5fb597098ec9389debbb
181
scp -r 10.2.0.14:/www/$1 /www scp 10.2.0.14:/etc/httpd/sites/$1.conf /etc/httpd/hosts/ chown -R $1:$1 /www/$1/ mysqldump -h10.2.0.14 -uroot -p3175br $1 | mysql -uroot -pTrash447 $1
fffbfc1b7c03d132a6d71b7983896452641283e5
2,088
#!/usr/bin/env bash create_test_symlinks.symlinks.init() { create_test_symlinks.symlinks.create() { local __test_dir="$1" local __component="$2" local __feature_length="${#__features[@]}" logger.beginTask --message \ "Creating Symlinks" logger.step --message \...
e3092335236e124aeb770516ec764da03682aef3
1,371
#!/bin/bash # # LICENSE # ------- # # Copyright (C) 2018 Authlete, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
664b38e5ea9c5397d8a9af03b75d8bd4c899886e
60
#!/bin/bash socat TCP-L:8099,fork UNIX:/var/run/docker.sock
41ebf3e1670ad11ddb347b6cd35df4a858a4e2b9
272
#!/bin/ksh aws dynamodb create-table \ --table-name ProductCatalog \ --attribute-definitions \ AttributeName=Id,AttributeType=N \ --key-schema AttributeName=Id,KeyType=HASH \ --provisioned-throughput ReadCapacityUnits=10,WriteCapacityUnits=5
aeae9cac1e1c64d8017d8076513cfdee0d3dd21e
854
#!/bin/bash out_list="" while read packet do while read masks do temp_list="" #Trimming spaces and comments masks=`echo "$masks" | tr -d ' ' | sed -e 's/#.*//'` if [[ "$masks" == "" ]]; then continue fi #create array per ','. readarray -d , -t rule_masks <<< "$masks" #for every filter insert...
64226883605c55752ec55c4110a3253f353b4cf1
2,259
. vars/settings.sh # Old Extensions, removed for various reasons cat > composer.json <<- _EOF_ { "name": "Klean/CI Deployer", "description": "first iteration of CI deployer files", "authors": [ {"name": "Kasper Hansen", "email": "Kasper@klean.dk"} ], "repositories": { "installer-ma...
1156ad31e9bb99b279a17a071151bafb9d8bde9e
1,534
#!/usr/bin/env bashio CLIENT_ID=$(bashio::config 'client_id') CLIENT_SECRET=$(bashio::config 'client_secret') SUBSCRIPTION_KEY=$(bashio::config 'subscription_key') DOMAIN=$(bashio::config 'domain') HAIP=$(bashio::config 'haip') MQTT_BROKER=$(bashio::config 'mqtt_broker') MQTT_PORT=$(bashio::config 'mqtt_port') MQTT_US...
050193e864e5565cae811d328848778d1adbfdbf
3,418
#compdef porg # The MIT License (MIT) # # Copyright (c) 2020 Shohei YOSHIDA # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # t...
eedfa1885f5c6f635329872e96213f4638027a8e
877
pkgname="perl-file-mmagic" pkgver="1.27" pkgrel=1 pkgdesc="Guess file type" arch=(any) license=('PerlArtistic') url="http://search.cpan.org/dist/File-MMagic" depends=('perl') options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/K/KN/KNOK/File-MMagic-${pkgver}.tar.gz") md5sums=('4ffb13b6587888e6e455c2298...
702ea117db25350040f4a900886b0dffa751ddfd
97
#!/bin/bash find . -name '*.h' -o -name '*.c' -o -name '*.cpp' | xargs -I{} clang-format -i '{}'
ec32a28601d436e26f94509c3e7eab63a1ba2a26
1,539
RED='\033[0;31m' PURPLE='\033[0;35m' BLUE='\033[0;34m' GREEN='\033[0;32m' AQUA='\033[1;34m' NC='\033[0m' #Clearing Terminal Screen clear #Printing Credits echo -e "${GREEN}Welcome to the AmogOS Installer (x86_64)" echo -e "${GREEN}This will install AmogOS on your Debian or Debian-based system" echo "" read -n 1 -s...
b6fdbf31eb2984ac9beee99394075d6d7bb0714f
535
#!/bin/bash source ../globals ip=`cat ../$MASTERNODE_FILENAME | cut -d " " -f2` ssh -o StrictHostKeyChecking=no -i ../$KEYNAME root@$ip "apt-get install -y openmpi-bin openmpi-doc libopenmpi-dev nfs-common nfs-kernel-server" scp -o StrictHostKeyChecking=no -i ../$KEYNAME nfs-master.sh root@$ip: ssh -o StrictHostKey...
2e46e3351349ee298e6465b97cd9495ecee4fe1c
94
cd ../../ docker build -t netpyne-ui . cd tests/frontend/e2e docker build -t netpyne-ui-e2e .
789a91c76d54072994480a4413d41d886d912f11
258
#!/bin/bash LAST=`ls -d round_* | colrm 1 6 | sort -n | tail -1` NEXT=`printf "%04d" $[ 10#$LAST + 1 ]` mkdir "round_$NEXT" ( cd "round_$NEXT"; find ../round_$LAST/ -maxdepth 1 -type f -name '*.seq' -exec \ ../cgen.sh {} \; -exec ../ctall.sh {} \; )
d98e8da644bb988b971196d74cfe134b74a519f2
111
git branch -M main git remote add origin https://github.com/SummerHuiZhang/Thesis_.git git push -u origin main
5ad04bcf7431585bb35e5ad79fc4a8ba9c27850c
127
REACT_APP_AUTH0_DOMAIN = misiontic-equipo-of-de-five.us.auth0.com REACT_APP_AUTH0_CLIENT_ID = 6g2j9VBu7LSi57EG1ugKpa5xCvXKVRMK
2955a76f6c8be702b6eebcef1c0f03fc4df437f2
18
echo "I am v8412"
23679eee55495483628797a44b68ee6c981c628f
430
#!/bin/sh PARSER="local yass" COLUMN_LIST="suburb mobile postcode address phone1 firstname surname email fax phone level state electorate" MIN_RECORDS=9 export PARSER COLUMN_LIST MIN_RECORDS if [ "$(which ./generic-csv-validator.sh 2>/dev/null)" = "" ]; then echo "$0: generic-csv-validator.sh not found. Are you ...
223ac33025436672fdecffccc4fc600efc9dc458
603
#!/bin/bash EXTERNAL_FOLDER=${EXTERNAL_FOLDER:-/var/www/euer.krebsco.de/graphs/retiolum} INTERNAL_FOLDER=${INTERNAL_FOLDER:-/var/www/euer/graphs/retiolum} export GEODB="${GEODB:-}" export TINC_HOSTPATH=${TINC_HOSTPATH:-~/painload/retiolum/hosts} mapfile="$INTERNAL_FOLDER/map.html" if test -n "$GEODB";then if test...
97ff20a2b7950d70c9752c9a198e66270ac4c5ba
53
#ls -l|awk '{print $5 "\t" $9 }'|sort ls |sort -r
8762cb95ef19c6e45558b32d4acfb048dca5dae6
22
iperf -s -p 5567 -i 2
d0bf3049896c70c91b8df6fcf5cec6f227fce408
114
docker run -d \ --rm \ -p 8000:8000 \ -v $(pwd)/data:/data \ --name noms \ samherrmann/noms:v7
38da55e38a30ae317fa2c4eaec13793f954d112b
270
#! /bin/bash mkdir classes 2> test.txt rm test.txt javac -d classes ReceiveCommunications.java javac -d classes SendCommunications.java javac -d classes ReceiveByteArray.java javac -d classes SendByteArray.java javac -d classes Client.java javac -d classes Server.java
cb373980ad933cd16dfc7438c4cfb45810e71028
129
#!/bin/bash read -p "input minimum value -> " min read -p "input maximum value -> " max echo "Result : ";shuf -i $min-$max -n 1
8c7f60530391848147976cea18beae5e1f34447e
64
#!/bin/bash docker build -t dsanderscan/mscit_v3_00_bluetooth .
da4b513ce6eccb9d52c47a4d519519f44559a27b
712
# Set this to the port in the Docker container you want exposed EXPOSE=3000 # Set this to the port on your localhost you want to use to access # the EXPOSE port above LOCAL_PORT=9999 # Docker/Docker Hub setup. This is here to allow pushing a built # image to Docker Hub and to ensure proper namespace isolation # of t...
29a85f140f53cd813e25ce33f53487e8ec4a16cc
263
java -cp com.intersys.sqoop.driver.jar -iv com.intersys.sqoop.driver.SqoopDriver ingestionState.json yieldIngestProperties.properties oozie job -oozie http://prod-hubnamedaws01.sunpowercorp.com:11000/oozie -config yieldIngestProperties.properties -run
490193bccb3343358a0b97ee95044b8f13533549
83
docker run -p 8080:8080 192.168.59.103:5000/myapp -e spring.profiles.active=local
1be9d0490a3f5de4852e6dde916b51700adbc72a
912
#!/bin/sh APP_PATH=/home/emmanuele/workspace/java/transaction-report/target/transaction-report-0.0.1-SNAPSHOT-fat.jar TRANSACTIONS_DIR=/home/emmanuele/Scrivania/Documenti/Finanze\ personali/Movimenti # Loading credit card transactions for year in $(seq 2017 2018) do for month in $(seq -w 1 12) do echo...
1e964e640a819bdb4289a3c4787f2bef4bf390b7
153
curl -H 'Content-Type:text/plain' --data-binary @urls.txt "http://data.zz.baidu.com/urls?site=[YOUR_WEBSITE]&token=[YOUR_WEBSITE_BAIDU_TOKEN]" >> log.txt
e7c611ff5402ce9151b8db8f56f16da8e3367305
1,600
#!/bin/sh ### Validation and Setup # remove default configuration if [ ! -L /etc/snapraid.conf ] && [ -f /etc/snapraid.conf ]; then rm /etc/snapraid.conf fi # Verify user config present if [ ! -f /config/snapraid.conf ]; then echo "No config found. You must configure SnapRAID before running this container." ...
271383b7238be6c0d8097b03aeb422fc7014a131
49
#!/bin/sh cd /opt/bit.trip.beat ./bit.trip.beat
3f9633c8e4f878194f0c4e70c8e1205b421ba7fa
932
#!/bin/bash # # - 除UMS_ROLE_DETAIL_XX之外的所有表 PART_YYYYMMDDHH24MISS.SQL # - 当天变化的 UMS_ROLE_DETAIL_XX 数据 PART_UMS_ROLE_DETAIL.SQL # USERNAME=root PASSWD=game DBNAME=LogDB if [ $# != 2 ]; then echo "Usage: $0 path table_header" exit; fi; HOST_NAME=$1 TABLE_HEAD=$2 MYSQL_HOME=/usr/local/mysql/ MYSQL_BIN=$MYSQL...
7f28260422dfca6febd33ddd8d35d1c63b4def84
153
echo "clean target file ..." make clean echo "compile C library ..." make echo "compile Java ..." javac JavaToC.java echo "Run Java ..." java JavaToC
f5276998bbc3b8d17276a45a0d64a061876dffa0
415
## docker-compose环境变量 ### 数据库实例 POSTGRES_HOST=postgres-auth POSTGRES_PORT=5432 POSTGRES_USERNAME=postgres POSTGRES_PASSWORD=postgres ### 分布式缓存 REDIS_HOST=redis REDIS_PORT=6379 REDIS_PASSWORD=123456 ### 消息中间件 RABBIT_MQ_HOST=rabbitmq RABBIT_MQ_PORT=5672 RABBIT_MQ_USERNAME=guest RABBIT_MQ_PASSWORD=guest ### 注册中心 EURE...
34e951d780bea53166fe2f7ad7cb122a02cefb5f
176
#!/usr/bin/env bash for LINE in `cat results.txt` do if [[ $LINE =~ "centos-source" ]] && [[ $LINE =~ "stein" ]]; then echo $LINE; docker pull 'kolla/'$LINE; fi done
beb973d4cf26105264530ba751ea6dc19532f797
1,148
#!/bin/bash clear CONTINUE=0 while [ $CONTINUE = 0 ] do while [[ $CHOICE != "1" ]] && [[ $CHOICE != "2" ]] && [[ $CHOICE != "3" ]] do clear cat << EOF ~~~~~~GUESSING GAME~~~~~~~~ 1. COLOR TV 2. FRIDGE 3. AUTO What is you choice? (1,2,3) EOF read -r CHOICE done WIN=0 D=0 GUESS=0 TIMER=0 #Generate money case $CHOICE ...
b27993a9be6d5105814c5cba497526c5af7269dc
346
#!/usr/bin/env bash USERNAME=$1 HOSTNAME=$2 SCRIPT='/home/data/adex-adview/addAndPinIpfs.sh' # npm run-script build rsync -av ./dist ${USERNAME}@${HOSTNAME}:/home/data/adex-adview rsync -av --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rwx,Fg=r,Fo=r ./addAndPinIpfs.sh ${USERNAME}@${HOSTNAME}:/home/data/adex-adview ssh -l ${USERNAME...
f3f1984d8c74cd5afc265b147a703128846aecd1
98
#!/bin/sh printf '\n\n\n\n\n\n\n1\n\n\n\nn\n' | sh /home/mchally/Alice3_unix_Offline_3_2_5_0_0.sh
8e7a5c9e234c60d375e14fd5961956f8a14463cc
122
python original_train.py $DOME_HOME/datasets/ILSVRC2012 -a resnet50 --save_dir ./snapshots/resnet50-baseline --workers 36
41030d8eb2457a9203f4dddbd65459dd7d901a29
168
#!/bin/bash set -eu mydir=`dirname "$0"` inbase="$mydir/.." outbase="$mydir/out" configpath="$mydir/gen-ml2json.pl" "$mydir/gen" "$configpath" "$inbase" "$outbase"
803c5878ede11605181e964b836937bc273d998d
224
#!/bin/sh # Script to see whether argument is positive or negative if [ $# -eq 0 ] then echo "$0 : You must give numerics only" exit 1 fi if test $1 -gt 0 then echo "$1 positive number" else echo "$1 negative number" fi