blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
1b2ec8654c465e3d3e5b54b4bf65024a6b46cf21
3,423
#!/bin/bash # Comments this line out if deps have been installed globally. # shellcheck disable=SC1091 [[ -f ".venv/bin/activate" ]] && source .venv/bin/activate # Bash strict mode # redsymbol.net/articles/unofficial-bash-strict-mode set -ueo pipefail # Some tests are possible/make sense only for index capable syste...
082ba41576e42797e52782c9f2b3bc30b257a54a
832
#!/usr/bin/env bash export XCLUSTER_ROOT=`pwd` export XCLUSTER_DATA=$XCLUSTER_ROOT/data export XCLUSTER_JARPATH=$XCLUSTER_ROOT/target/xcluster-0.1-SNAPSHOT-jar-with-dependencies.jar export PYTHONPATH=$XCLUSTER_ROOT/src/python:$PYTHONPATH export PATH=$XCLUSTER_ROOT/dep/apache-maven-3.6.1/bin:$PATH if [ ! -f $XCLUSTER_...
03d8642aeb1dfd2770345a7e33667213cbe4fd56
243
#!/bin/sh python basicShadowDeltaListener.py -e a105md1y3ymvwb-ats.iot.us-east-1.amazonaws.com -r certificates/root-ca.pem -k certificates/macDesktopThingprivate.pem -c certificates/macDesktopThing.pem -n macDesktopThing -t "auto/platedata"
c41341cb7708e0e2b644f690daf7b7147bafd25a
263
#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' set -vx bundle install # this loads all dependencies for us as application starts. Word docs, CVS, etc. should be loaded here. Don't worry about this now. # Do any other automated setup that you need to do here
25790ca7ec4a917b93a5d7f7a19b711371e4db4c
94
#!/usr/bin/env bash PID=$(cat ".pid") if ps -p $PID > /dev/null then exit 0 else exit -1 fi
7daf0e2d056dc64a44112acdb180c9f9a47feadd
5,145
#!/bin/bash # # 2020-08-14 # Here's how to create my flyem development environment from scratch. # # Updated 2022-11 set -x set -e WORKSPACE=/Users/bergs/workspace ENV_NAME=flyem-310 CONDA_CMD=create #CONDA_CMD=install DEVELOP_MODE=1 CORE_ONLY=0 CLOUDVOL=1 INSTALLER=mamba STUART_CREDENTIALS=0 # Non-portable stuff...
e4387215b748ede7f66ec3d8b7acb2c6c57cceba
460
#!/bin/bash #stop any partially completed timer iterations. timebar --stop while : do sleep 5 # sure would like to replace this sleep with a native Cocoa or Quartz # applescript call to look for the timebar dialog box and wait for it # to be closed. timebar --duration $(( 60 * 30 )) --message "Foc...
34b5eca0e245c2fb68dc8a8e77af418c8518b9df
1,473
#!/bin/bash export ANDROID_SDK_ROOT=/android-sdk-linux set -e set -x apt-get --quiet update --yes apt-get --quiet install --yes wget tar unzip libx11-6 libx11-dev lib32stdc++6 lib32z1 git --no-install-recommends apt-get --quiet install --yes libxcursor1 libasound2 libxcomposite1 libnss3 libgl1 libpulse0 libpulse-...
cc757131fc2aa8ce6bdf8cb9b5e57e647f00d3ba
39
#!/bin/bash btree_lookup __test 64 0
cacdbf5d98c84b0b1c5940e373dbb16088087ec2
489
#!/bin/bash "/C/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe" ../../Fabric.Authorization.SqlServer/Fabric.Authorization.SqlServer.sqlproj cp ../../Fabric.Authorization.SqlServer/bin/Debug/Fabric.Authorization.SqlServer_Create.sql ../../Fabric.Authorization.IntegrationTests...
602bc348eada5cd226763bc401e605d29a1fe23c
4,695
#!/bin/sh # ----------------------------------------------------------------------------- # Start Script for GEOSERVER # # $Id$ # ----------------------------------------------------------------------------- # Guard against misconfigured JAVA_HOME if [ ! -z "$JAVA_HOME" -a ! -x "$JAVA_HOME"/bin/java ]; then echo "Th...
5bf5fb23dec7e55d591c265dc36a89f38341d855
344
#!/bin/bash ### Patch a Debian DTB to enable the PRUs set -e LIVE="/boot/dtbs/3.8.13-bone59/am335x-boneblack" TEMP="debian-`uname -r`" ### FETCH DTB to DTS #dtc -O dts -o $TEMP.dts -I dtb $LIVE.dtb ### PATCH DTS #(sed todo) ### STORE DTS to DTB dtc -O dtb -o $TEMP.dtb -I dts $TEMP.dts cp -n $LIVE.dtb $LIVE.dtb.old ...
784b992ba868ed5fcab2b1498b04fcdbc3d2ffd4
150
MONGO_CONNECTION=mongodb+srv://Assignment6Admin:pyZism0eVBLbswPU@homework-w55ob.mongodb.net/test?retryWrites=true PORT= BASEURL=http://localhost:3000/
9115c3907c4b0c0291d3b98d67cbf71b46a04f4e
1,407
#!/bin/sh # EECS2031 - Assignment 2 # Filename : icount # Author : Balakrishnan Lakshmi, Rajkumar # Email : kumarraj@my.yorku.ca # Login ID : kumarraj # Student ID : 213141197 echo -n "Enter input file name: " read myfile if test ! -e $myfile then echo "File '$myfile' does not exist." exit 0 elif...
b02322302b071463282fe8cba186bfefce96bc0a
1,530
#!/usr/bin/env bash # $Id: daily,v 1.61 2007/08/28 08:20:12 davep Exp $ #set -x . $HOME/etc/crontab.rc clean-droppings # HUGE, plus some dirs are foolishly make with to high permissions # I sure hope *I* didn't write the comment above this line. # echo "Index ports:" # indexes are getting a bit large # Also, not ne...
244a02f84b9890c0b68bed1101bf42bef18477e3
1,475
prefix=$PWD basename1="_1.clean.fq" basename2="_2.clean.fq" export REF439GTF="/public/home/liuhao/ref/V439/Zea_mays.AGPv4.39.chr.gtf" export REF439HTI="/public/home/liuhao/ref/V439/Zea_mays.AGPv4.hisat2" export REF439BWI="/public/home/liuhao/ref/V439/Zea_mays.AGPv4.bowtie2" export REF439FA="/public/home/liuhao/ref/V439...
2d20b190166a68bf1d3bf380cacb301ef94dae6b
215
#!/usr/bin/env bash set -euo pipefail rsync -av --delete public/ kopfkind@192.168.178.27:~/website-staging/ ssh kopfkind@192.168.178.27 '~/push-to-apache.sh' echo "Sync to https://box.axelknauf.de/ done." exit 0
733ffbafd8bef791dd54139390940954282c475a
246
wget -qO- https://binaries.cockroachdb.com/cockroach-v20.1.7.linux-amd64.tgz | tar xvz cp -i cockroach-v20.1.7.linux-amd64/cockroach /usr/local/bin/ cockroach start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
17b1132e2b25cf002c222049009c73cc726c9a3a
2,126
opt="-t" session_name=scrcpy curr_workspace="`wmctrl -d | grep '*' | awk '{print $1}'`" win_IDs=(`wmctrl -lpx | awk "{if(\\$2==$curr_workspace)print \\$1}"`) desktop_width=`wmctrl -d | grep '*' | awk '{print $9}' | sed "s:x.*::g"` desktop_height=`wmctrl -d | grep '*' | awk '{print $9}' | sed "s:.*x::g"` devs=(`adb de...
9802e661c48579eba508c836ebcb565b749233ae
151
#!/usr/bin/env bash echo "usb inserted at" `date` >> /var/log/usb_plug.log sudo python /home/pi/current_logger/logger_gui.py 1 >> /var/log/current.log
63681a8ce40a73bffe32a519875dace9eed8a467
26,907
z=" ";XFz=' ! -';mKz='q=$d';gPz=')" >';tBz='n __';nLz='ery/';WBz='ulne';KCz='/ ';OHz='ever';SOz=''\''[:l';nEz='wn';xOz='").+';qNz='oint';jLz='.rob';TDz='y=${';hKz='dnsl';DUz=' " f';HIz='est"';UEz='*)';dVz='cann';FOz='s | ';NGz=' $cy';pKz=' 05 ';bCz='inne';aCz=' _sp';EGz='ng I';yIz='een';iCz='i=1';AJz='"Cho';SWz='ost"...
5a0b00a38e4eb141ac19d4df6a4e20373596a18f
146
#!/usr/bin/env bash # This is only needed for version 1.5 # Newer versions of TLP have this enabled by default sudo systemctl enable tlp.service
2978fc8d47057995ec547c7f62b55b70140d2442
1,010
#!/bin/sh set -ex die () { echo "$@" ; exit 1; } export NVM_DIR="$(cd ../.. && pwd)" \. ../../nvm.sh \. ../common.sh make_fake_node v0.2.3 [ `expr $PATH : ".*v0.2.3/.*/bin.*"` = 0 ] || echo "WARNING: Unexpectedly found v0.2.3 already active" >&2 nvm use --delete-prefix v0.2.3 || die "Failed to activate v0.2.3" [...
5803dafcef9edf9c261f165e8ac8da9f35d27e96
204
#!/bin/bash echo "Starting the service for DTU" python3 TCPserver_DTU.py & > DTU_server.log sleep 1 echo "starting the service for Phone APP" python3 TCPserver_phone.py & > Phone_server.log echo "started"
1fb6a5664e9f7644d03f2bb92765d9ef1be2e9c2
63
tunctl -t tap$1 brctl addif br0 tap$1 ip link set dev tap$1 up
b7ff54f4c38012015aee718757fc4ed3724e1e25
127
# Runs the John The Ripper cracker john --format=raw-md5 hashes.txt # Show the results john --show --format=raw-md5 hashes.txt
3759d7068f9d4dc71606b43a2555460945675b85
440
#!/bin/bash # Linux shell file to generate dynamic library files # copyright Akshay Bhardwaj gcc -c -DBUILDING_RS232 rs232.c gcc -shared -o rs232.dll rs232.o gcc -shared -o rs232.so rs232.o #gcc -dylib -o rs232.dylib rs232.o gcc -c -DBUILDING_TAKEPICTURE TakePicture.c gcc -shared -o TakePicture.dll TakePicture.o rs23...
c3a93f32ebec4b2021bce25033db8b6cee942279
437
object TestArray { def main() : Unit = { println(new Tst().start(3)); } } class Tst { var tab : Int [ ]; def start(nbr : Int) : Int = { tab = new Int [ nbr ]; tab [ 0 ] = 0; tab [ 1 ] = 1; tab [ 2 ] = 2; return this.tabRead(tab); } def tabRead(tab : Int [ ]) : Int = { var count : Int; count = 0; ...
370d1ec603d5e50bc1792f079996986cbc43f455
55
cd Desktop unbuffer python3 sub.py 2>&1|tee -a ACS.log
a61e230b499a02e1006b5278340b4dc4c8b4454e
1,508
#!/bin/sh # Copyright 2006-2012 The Scriptella Project Team. # # 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 # # Unless required by applicab...
b20f19cf569fe334ac9f0ebe6b6e9fb25922a33b
1,523
#!/bin/sh OUTPUT_PATH="`pwd`/ffmpeg-output" CONFIGURE_FLAGS="--disable-stripping \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffprobe \ --disable-avdevice \ --disable-devices \ --disable-indevs \ --disable-outdevs \ --disable-debug \ --disable-asm \ --disable-yasm \ --disable-doc \ --enable-small \ --enable-dct \...
519836b9732a556477b2679743f2c4ec27adace6
10,525
#!/usr/bin/env bash batfish_confirm_analyze_role_reachability() { BATFISH_CONFIRM=batfish_confirm batfish_analyze_role_reachability $@ } export -f batfish_confirm_analyze_role_reachability batfish_analyze_role_reachability() { local TEST_RIG_RELATIVE=$1 shift local PREFIX=$1 shift local MACHINES=...
1afacef37b96bcf9894c5c3ec7f8cd7fd90a592a
117
#!/usr/bin/env bash npm install -g coffee-script npm install -g grunt-cli npm install -g gulp npm install -g pomelo
024785902a05ee013b76e87b1e6c2264bfea60fd
1,176
#! /bin/sh - set -eu set -x project="mpds-task-orange" terraform_user="terraform" terraform_service_account="$terraform_user@$project.iam.gserviceaccount.com" # Authenticate through gcloud if no gcp service account is used: if [ "$(gcloud config get-value account)" = "" ]; then gcloud auth application-default login...
06bcc073498f1840ac61fd552fe64f8872115c25
1,001
#!/bin/bash version=2.10.4 location=/usr/local target=$HOME/.bashrc wget -c https://storage.googleapis.com/dart-archive/channels/stable/release/$version/sdk/dartsdk-linux-x64-release.zip sudo apt install unzip -y sudo unzip -d $location dartsdk-linux-x64-release.zip echo "export PUB_HOSTED_URL=https://pub.flutter-...
bc15b8767a1ab6563c322c69f1692f700f690f4e
8,069
#!/bin/bash # This script installs an RMap server. # The account used to run the script must have sudo privileges. # Only include this file once [[ -n "$RMAP_RMAP_INCLUDED" ]] && return RMAP_RMAP_INCLUDED=true # install_common.sh and other initialization is performed in install_tomcat.sh source install_tomcat.sh pr...
64a31f2fee38e740a2bf7f065a5672359d71a487
210
#!/bin/sh -ue # Minimal-effort deployment cd $(dirname $0) git add * || true git commit -m 'deploy-bot' git push echo "sleeping for github..." sleep 4 ssh pu "cd /home/mburr/git/unintuitive.org && git pull"
a55dcf3305a03286947dc1e428d1c62b45058cad
130
#!/bin/bash sudo yum update sudo yum install java -y sudo yum install maven -y sudo yum install git -y sudo yum install docker -y
4cb7ee83419f015674f979e4c0dc1101ffdd88df
676
if [ -d "${HOME}/.rbenv" ]; then function rbenv_prompt_info() { echo "‹$(rbenv version-name)›" } else function rbenv_prompt_info() { echo "‹NA›" } fi # The prompt PROMPT='%{$fg[cyan]%}${ZSH_THEME_PREFIX_BLOCK}[%c]>> %{$reset_color%}' # The right-hand prompt RPROMPT='${time} %{$fg[yellow]%}$(rbenv_pr...
b43b2c4255046fddb2951b841c10d9d88d18ca29
311
#!/bin/sh words=$( strings /usr/lib64/aspell-?.*/no.rws | sort -u | sort -R | tr -d $'\t' | tail -n 3 | tr \\n ' ' | tr 'A-Z' 'a-z' ; ) special() { tr -dc '[:graph:]' < /dev/urandom | tr -d '[:alpha:]' | dd bs=1 count=3 2>/dev/null } for i in $words; do echo -n "$i "; special; echo -n " " done echo
14cce081f50de4d98e7136d84b7116f767614be5
11,723
#!/bin/bash # Start Kubernetes echo "Starting cluster" launch.sh echo "done" >> /opt/.clusterstarted echo "Installing Tekton Pipelines" kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.13.2/release.yaml mkdir /mnt/data kubectl apply -f - << EOF apiVersion: v1 kind: Persis...
864132ce173d18027699e3ebc554a2dda4e4c5cb
541
# Can have up to 5 triggers for each event lambdaname=$1 if [ -z ${lambdaname} ] then echo "" echo "USAGE: " echo "./delete_permission.sh (lambda_function_name) " echo "" echo "Deletes cloudwatch event execute permissions for specified AWS Lambda function" echo "" echo "Provide parameters without quotat...
a4f22fd461c3950fb224988fa4cd8b50532691be
416
#!/bin/bash printf "%b" "#!/bin/bash PID_NAME=\${PID_NAME-container.pid} CONTAINER_ID=\`cat ${DIR}/\${PID_NAME} 2> /dev/null\` if [[ \"\$CONTAINER_ID\" == \"\" ]]; then echo \"\" elif [[ \"\`docker ps --no-trunc | grep \$CONTAINER_ID\`\" == \"\" ]]; then rm -f ${DIR}/container.pid echo \"\" else echo \$CONTAIN...
c578cca7cabf2412d1bd8e12a7ac9b4156f23fbe
126
#!/bin/bash set -x verbose rm -rfv run mapproject ../data/Copernicus_DSM.tif ../data/basic_panchromatic.tif run/run-RPC.tif
ccddcf1bf1a51b994e8f9d661d4a4268633cc735
493
#!/usr/bin/env bash if ! is-executable curl -o ! is-executable git; then echo "Skipped: pyenv (missing: curl and/or git)" return fi curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash cat <<EOT >> ~/.zshrc # pyenv configuration export PATH="$HOME/.pyenv/shims:$PATH" export PATH...
d3131d4cb3c29ec2aba3de69489dedccca50b99e
226
#!/bin/bash touch csv1 touch csv2 touch csv3 for i in `ls csv*` do for j in `seq 1 10` do export LINE=$RANDOM for k in `seq 1 4` do export LINE=$RANDOM,$LINE done echo $LINE >> $i done done
cb25dc3e851b7de249242b08c2531326fe55cba1
70
#!/bin/bash R CMD BATCH 5_none_to_energy.R out/5_none_to_energy.Rout
5275ea4fb72088de2fb08422abbeacfbb8dbd283
2,678
#!/bin/bash # Paper 1.17 (Custom SMP) Installation Script # # Server Files: /mnt/server PROJECT=paper #Do Not Change This For Any Reason VHAPI_VERSION=1.0 #Change This If Some Update At data bases apt update apt install -y curl jq apt-get install unzip if [ -n "${DL_PATH}" ]; then echo -e "Menggunakan Download Url: ...
f6d4576017cc08810e20a7efa959a20acccecc6d
160
CPU benchmark with `dd` Detect your linux distribution Incorrect time on dual boot systems Executing scripts on system boot Monitor System Memory using `vmstat`
102676a7e908b1448421f21bc655c852d558a26d
314
#!/bin/bash # Serial version writes snapshots to $OUT.$i OUT=$1 if [ ! $OUT ]; then OUT=/dev/stdout fi i=0 for i in `seq 1 40`; do ip=`printf "%02d" $i` free -m > $OUT.$ip echo "==========================================================" >> $OUT.$ip top -b -n 2 >> $OUT.$ip sleep 1 done
c04e30a920efe54383d405c92326a3c41447318f
101
#!/bin/bash /Users/mattland/stellopt_centered_differences/bin/xgrid < makegrid.in | tee makegrid.out
c03c3adca7a6a0252d44da53545eddc7b4367487
1,569
#!/bin/bash #set -e # Updated 2016-12-09 by Nathan Tallman # Variables LOCAL=/mnt/libbag/tools CON=/mnt/libbag/scholar BAGPY=$LOCAL/tricerabagger/tools/bagit-python/bagit.py LOG=$LOCAL/tricerabagger/logs/tricerabagger.txt DATE=`date +%Y-%m-%d` DESC="Scholar@UC content as of $DATE" BAGID=cin.scholar.$DATE echo -e "\n...
1ae46828fb07d704344bb470444279a7c763aa52
240
sudo cp /etc/letsencrypt/live/ms-schneppenbach.spdns.de/cert.pem /etc/grafana/ sudo cp /etc/letsencrypt/live/ms-schneppenbach.spdns.de/privkey.pem /etc/grafana/ sudo chmod 775 /etc/grafana/cert.pem sudo chmod 775 /etc/grafana/privkey.pem
91deddca24f54b8457eae1bebc27b218460a8b17
575
# Setup fzf # --------- if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then export PATH="${PATH:+${PATH}:}/usr/local/opt/fzf/bin" fi # Auto-completion # --------------- [[ $- == *i* ]] && source "/usr/local/opt/fzf/shell/completion.zsh" 2> /dev/null # Key bindings # ------------ source "/usr/local/opt/fzf/shell/ke...
1e393e739adb3830c9020b9e14f0b34dbc705b5d
651
#!/bin/sh if ps -C cmus > /dev/null; then artist=$(cmus-remote -Q | grep --text '^tag artist' | sed '/^tag artistsort/d' | awk '{gsub("tag artist ", "");print}') title=$(cmus-remote -Q | grep --text '^tag title' | sed -e 's/tag title //' | awk '{gsub("tag title ", "");print}') duration=$(c...
859417591c7291ca712cf1050ee46d022dcc8f18
2,356
# MRC for 16G P100 DATA_PATH=TOF-master/data/cross-domain/scitech_ner/continual_train CODE_PATH=TOF-master/code/cross-domain # CKPT_PATH=path_to_save_your_checkpoints CKPT_path=TOF-master/ckpts/sci BERT_TOKENIZER=bert-base-cased-vocab.txt BERT_PATH=bert-base-cased.tar.gz # merge the MRC dataset in the following path: ...
ef7319f8033dbaf0a22953b29e9e4e2123f7cb0d
1,145
#!/usr/bin/env bash # # Summary: Set or show the shell-specific Java version # # Usage: jenv shell <version> # jenv shell --unset # # Sets a shell-specific Java version by setting the `JENV_VERSION' # environment variable in your shell. This version overrides local # application-specific versions and the global ...
53296bf65cd6bb7e3e337d6502c07defcb64b158
972
#!/bin/bash # shellcheck disable=2034,2059 true SCRIPT_NAME="Change Database Password" # shellcheck source=lib.sh source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/techandme/wordpress-vm/master/lib.sh) # T&M Hansson IT AB © - 2020, https://www.hanssonit.se/ # Check for errors + d...
637ff128286378fede88199f8fca67a5ec322354
2,523
#!/bin/bash #create a nice pdf file from manpages, system help files and such #status: just started #TODO: convert all _ in program names to " " #define what manpages, files etc. we want SYSADMIN_COMMANDS="addgroup cd mv cp rm du df rename touch delgroup adduser deluser groupadd groupdel useradd userdel dmsetup taskse...
940bc7a3337d2f6b0beb4a6084b3dae15b76064d
154
#!/system/bin/sh #cd /system/lib/modules #insmod wlan.ko con_mode=5 # 8994 use ftmdaemon # 8974 use ptt_socket_app #ftmdaemon -n ptt_socket_app -v -d -f
c0b2d87692b23f094b861afc109648b2089c266e
353
#!/bin/sh echo 'start.sh' mydir="$( cd `dirname $0` && pwd )" [ -n "$WORKDIR_ROOT" ] && cd $WORKDIR_ROOT [ -f $mydir/start_private.sh ] && . $mydir/start_private.sh [ -f $mydir/start-user.sh ] && startScript=$mydir/start-user.sh if [ -n "${USER_ID}" -a "${USER_ID}" != "0" ]; then exec sudo -E -u $USER_NAME $startScr...
a667559fd6c5bba6d65a0e7bc7f3fe41b9d9aac7
282
#!/bin/bash esearch -db sra -query ERS1351395 | esummary | xtract -pattern DocumentSummary -ACC @acc -block DocumentSummary -element "&ACC" | cut -f 5 > acc/ERS1351395 bash /home/ubuntu/test/PSST/psst_2.sh -s acc/ERS1351395 -n snp.txt -d out/ERS1351395 -e jlever@bcgsc.ca -t 1 -p 1
6c0c66c3e72d76e60458814d3fdce9952428d737
10,036
#!/bin/bash # Run this script as root ie: # sudo -s # bash <(wget -q -O - https://raw.github.com/ninjablocks/utilities/master/setup_scripts/beagle_setup.sh) bold=`tput bold`; normal=`tput sgr0`; # Setup the timezone echo -e "\n→ ${bold}Setting up Sydney as the default timezone.${normal}\n"; sudo echo "Australia/Sydn...
aea1988ecfa7c9e71f402f5b25fbb4420a07f237
43
NODE_ENV=development HOST:0.0.0.0 PORT:8080
52521684c842247c6a0ddfacee915f7ee5787a25
151
#!/bin/bash # java -cp target/<your project>.jar clojure.main -m <your namespace with main> java -cp target/todo-clj.jar clojure.main -m todo_clj.core
bafc88976fefad71ced0acd05618e74e23d2fa0a
1,934
# Maintainer: Winston Astrachan <winston dot astrachan at gmail dot com> pkgname=wireguard-vanity-keygen-bin _shortname=wireguard-vanity-keygen pkgver=0.0.5 pkgrel=1 pkgdesc='WireGuard vanity key generator' arch=('x86_64' 'aarch64' 'i686' 'arm') url='https://github.com/axllent/wireguard-vanity-keygen' license=('custom...
40bc94a9ca250ec455a2b7973d5a29798d851508
652
#!/usr/bin/env bash while true do echo "" if [[ -z "${ENERGI_WALLET_ADDR}" ]] ; then echo "No wallet address is set! You may edit this script or enter it below." read -p "Enter wallet address: " ENERGI_WALLET_ADDR if [ -n "$ENERGI_WALLET_ADDR" ]; then export ENERGI_WALLET_ADDRESS=${ENERGI_WALLET_ADDR...
b85bfb0707b1b025c16131f1764933fbf72a5ca5
248
#============================= # rbenv # http://qiita.com/sonots/items/a309520b9cce1b7631a5 #============================= if [ -d "$HOME/.rbenv" ]; then export PATH="$HOME/.rbenv/bin:/usr/local/bin:$PATH" eval "$(rbenv init --no-rehash -)" fi
1e2a8a22e967ce1f4d59a25981499762986bdd16
595
#!/bin/bash task="commonsenseqa" batchsizes=( 12 16 ) for s in "${batchsizes[@]}" do learningrates=( 5e-5 ) for l in "${learningrates[@]}" do epochs=( 2 ) for e in "${epochs[@]}" do python run_multiway_att.py --task_name "${task}" --do_eval --do_train --do_lower_case ...
0e2c16ab0799970c50ea28b8869aeae76c234b43
2,615
#!/bin/bash #extracting ROIs from 3dttest run on patients vs. controls for WM task data=/Volumes/Phillips/P5/subj roi_path=/Volumes/Phillips/P5/scripts/ROIs/BA_spheres text_files=/Volumes/Phillips/P5/scripts/txt region="LBA17 LBA40 LBA46 LBA9 RBA17 RBA40 RBA46 RBA9" cd $data for d in 1*/; do for reg in $region; ...
e71597bd67fb16a69da5c5830abd79206aa3ac70
396
#!/usr/bin/env bash set -x worker_path=$(cd "$(dirname "$0")"; pwd) rm -rf ${worker_path}/dataset-service/src/main/resources/mybatis/mapper/primary/*.xml rm -rf ${worker_path}/dataset-service/src/main/java/com/alibaba/sreworks/dataset/domain/primary/* cd ${worker_path}/dataset-service mvn mybatis-generato...
e2c158313d7ad6004023b7c01c287fa99c2b7ddb
949
zstyle ':znap:*' repos-dir ~/.config/zsh/znap source ~/.config/zsh/znap/zsh-snap/znap.zsh # uncomment this and the last line for zprof info # zmodload zsh/zprof # All of our zsh config files typeset -U config_files config_files=($HOME/.config/zsh/**/*.zsh) # `${(M)config_files:#*/plugins.zsh}` will return files that ...
11c22e7c23aaac44543d12c11e84bbdd5fdafa3f
1,240
#!/bin/sh set -xe apt-get update apt-get install -y \ apt-transport-https \ ca-certificates \ curl \ dirmngr \ gnupg2 \ software-properties-common # # Docker # curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - add-apt-repository "deb [arch=amd64] ...
075f1da5a33537581f150514aa2334dd97ef7381
225
rucio-admin account add bjwhite rucio-admin identity add --account bjwhite --type X509 --id "/DC=org/DC=cilogon/C=US/O=Fermi National Accelerator Laboratory/OU=People/CN=Brandon White/CN=UID:bjwhite" --email bjwhite@fnal.gov
a312faf6e77c33abe5a0c693d620cd1f89b5a2fb
1,488
#!/bin/bash # NAO EXECUTE ESSE SCRIPT MANUALMENTE! # Recebe cenario e link a ser capturado. PSAPT_DIR="/opt/psapt" CEN_DIR="$PSAPT_DIR/cenarios" LOG_FILE="log" TCPDUMP="/usr/sbin/tcpdump" CAPTURE_DIR="/tmp/pub/psatp" DATE="/usr/bin/date" JOBS="/usr/bin/jobs" arg_num=$# if [ $arg_num -lt 2 ] || [ $arg_num -gt 2 ]; then ...
0004b57fde7c8140b0463fd01568f2c23fdac506
428
#!/bin/bash # run rqt_reconfigure on the robot network docker run -d --rm \ --env DISPLAY=:0.0 \ --env QT_X11_NO_MITSHM=1 \ --name=reconfigure \ --env ROS_HOSTNAME=reconfigure \ --env ROS_MASTER_URI=http://master:11311 \ --device /dev/dri:/dev/dri \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -...
0243bd46d780cea8a783ecd9b0d5ce05e6caf359
65
nasm -f elf64 -g reto3.asm -o reto3.o ld reto3.o -o reto3 ./reto3
0eda9e952bdc29f0a3cef6c17a854bc451ef3ef2
270
build() { PKG="libarchive" VERSION="3.3.2" URL="http://www.libarchive.org/downloads/$PKG-$VERSION.tar.gz" pull $PKG gz $VERSION $URL unpack $PKG-$VERSION gz ./configure --prefix=/usr --disable-static && compile $PKG-$VERSION make install cleanup $PKG $VERSION }
af74a6d7ade2c3cfe6db3a25302ffaa33b530cfe
299
#!/bin/bash sudo iptables -A ufw-user-input -p tcp -m tcp --dport 9001 -j ACCEPT sudo netfilter-persistent save sudo ufw status sudo ufw disable sudo ufw allow ssh/tcp sudo ufw limit ssh/tcp sudo ufw allow 7112/tcp sudo ufw allow 9001/tcp sudo ufw logging on sudo ufw --force enable sudo ufw status
1e5dcc564c2ea36e6316485ee0b58db1391aa27a
1,470
#!/usr/bin/env bash # #SBATCH -p short #SBATCH --job-name=intersect_driver #SBATCH --ntasks=1 #SBATCH --time=4:00:00 #SBATCH --mem-per-cpu=10G #SBATCH --output=/Users/krsc0813/exome-bakeoff/bash_scripts/5-metrics/intersect_worker.out #SBATCH --error=/Users/krsc0813/exome-bakeoff/bash_scripts/5-metrics/intersect_worker....
7ccd2c2b80daeec2dd0384b58670e03b819a2bb3
526
#!/bin/bash #$ -S /bin/bash #$ -N PROKKA_script #$ -cwd #$ -q imppcv3 #$ -V #$ -pe smp 28 #$ -e /imppc/external/irsicaixa/share/Work/Projects/TFM_Andrea/PROKKA/MEGAHIT #$ -o /imppc/external/irsicaixa/share/Work/Projects/TFM_Andrea/PROKKA/MEGAHIT FILES="/imppc/external/irsicaixa/share/Work/Projects/TFM_Andrea/MEGAHIT_...
832e7dfaba4f0dd4f82212cef3445e016911f344
2,912
#!/bin/bash #******************************************************************************* #rapid_petsc_includes.sh #******************************************************************************* #Purpose: #Determine which Fortran 90 files need which PETSc modules and includes. #Author: #Cedric H. David, 2020-2023....
960e406ca8a9bae8bc69bd9426f99cbb22a1f576
1,042
#!/usr/bin/env sh # generated from catkin/python/catkin/environment_cache.py # based on a snapshot of the environment before and after calling the setup script # it emulates the modifications of the setup script without recurring computations # new environment variables # modified environment variables export CMAKE_...
f5255e25aae35bb1f4a1b4c5276b7d4f26f9831c
845
#!/bin/bash # cp ~/public.md/datasets/sparse_grid_mixed/sparse_grid_mixed_d3_l2_ccxf2xgh_a.txt . cp ~/public.md/datasets/sparse_grid_mixed/sparse_grid_mixed_d3_l2_ccxf2xgh_b.txt . cp ~/public.md/datasets/sparse_grid_mixed/sparse_grid_mixed_d3_l2_ccxf2xgh_r.txt . cp ~/public.md/datasets/sparse_grid_mixed/sparse_grid_mix...
1f3a47e680419f0ca2f8de1d1fe2ee894aadffd8
1,492
#!/bin/bash # # Function to place text at left side of box and and put some '#'s around it left(){ SP=$(( 62 - ${#1} )) # put message together (formatted left-side message) FLM=" # $1"$(printf %"$SP"s)"#" } # # get system information ## system load load=$(awk '{print $1}' /proc/loadavg) # ## memory use memUse=$(awk '/^...
c1e6bee0186b1b0dfe9836f491d8c59b038dba39
464
APP_NAME=Mwalima_test_environment APP_ENV=local APP_KEY=base64:AXg/+ePkXrRzUTmaskdB8f8PcHCjY5y2AJoOyj7w5/M= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://localhost DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=OOP DB_USERNAME=root DB_PASSWORD=qwerty CACHE_DRIVER=redis REDIS_HOST=127.0.0.1 REDIS_PORT=...
6ba9f03ed021fff698ff3b2c65cf5f8fd94cee94
1,030
#!/usr/bin/env bash if [ $# -ne 1 ]; then echo "Usage: kshell_kts.sh <kscript.kts>" exit 0 fi tmpfile=$(mktemp).kts #echo '@file:Include("https://git.io/fAJ5h")' >> $tmpfile echo ' @file:DependsOn("org.apache.hadoop:hadoop-common:2.7.0") // should be now on maven central @file:DependsOn("com.github.khud:ks...
8b7977566d44737263f241b7a4d76ffc76b24dbf
816
#!/bin/bash # Copyright Matus Chochlik. # Distributed under the Boost Software License, Version 1.0. # See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt kind=${1} shift library=${1} shift test_src_dir="$(<SOURCE_DIR)/test/${kind}/${library}" test_bin_dir="$(dirname ${0})/test/${k...
364f064094da7b2977e544dc10ea441e42449d16
72
#!/bin/bash for f in *.zip; do mv $f ../malware-source-${f%%.*}/ done
4a078051039898d29ac88448568f74dc67a7ee3d
577
#!/bin/bash # This is a simple build script and will be executed on your CI system if # available. Otherwise it will execute while your application is stopped # before the deploy step. This script gets executed directly, so it # could be python, php, ruby, etc. set -x source $OPENSHIFT_REPO_DIR/.openshift/action_hooks/...
0f45f5753f0b1a4e99dbf55207608387ce9c5e8d
461
function eip () { URL="https://github.com/ethereum/EIPs/blob/master/EIPS/eip" eip_number=$( fzf --no-sort \ --prompt 'Ethereum Improvement Proposal (EIP) >' \ --preview='echo {}' --preview-window=down:1:wrap \ --height=80% <"$FZF_EIP_HOME/.cache/eip-index" \ | awk '{ print $1 }' ) #...
f8ca411057ca6d3ecba01dcaf6563e389c4d08bd
113
#!/bin/bash make ./daemon start sleep 10 ./daemon stop sleep 60 rngtest < ~/random/buf tail /var/log/syslog
e0e1ca12b316921187f534c84273b798a4d29cfb
10,369
python ../scimaf_dir.py --db agnddf_v1.5_10yrs.db python ../scimaf_dir.py --db alt_dust_v1.5_10yrs.db python ../scimaf_dir.py --db alt_roll_mod2_dust_sdf_0.20_v1.5_10yrs.db python ../scimaf_dir.py --db baseline_2snaps_v1.5_10yrs.db python ../scimaf_dir.py --db baseline_v1.5_10yrs.db python ../scimaf_dir.py --db bulges_...
aa68bf14efd0143c87070ae2907336e3bd877cfe
447
#!/bin/bash jack_connect pyo:output_1 system:playback_6 jack_connect pyo:output_2 system:playback_6 jack_connect pyo:output_3 system:playback_6 jack_connect pyo:output_4 system:playback_6 jack_connect pyo:output_5 system:playback_6 jack_connect system:capture_9 pyo:input_1 jack_connect system:capture_10 pyo:input_2 ja...
463c8711a3c9c9ef73f72de6a28253fdda120f94
117
#!/bin/bash curl -i -d '{"username": "user", "password": "password1"}' -X POST http://localhost:12345/signin | json
20c6ce3313b360072852a056021ae1d857d5da06
614
#!/bin/bash . config/import_all.sh # Author: Ade Goodyer # Created: 14/07/2020 # Description: Installation script to setup Odroid system as a media center for the living room. # OS Version: Ubuntu 18.04.3-4.14-mate # System prep system_update system_upgrade # System basics install_media...
910b1cc590b653ff8de669e4ac230c31d13199c5
67
docker run -p 90:80 -it -v "$PWD"/src:/var/www/html php:5.6-apache
a43e6e000dbf811f48927ccbac60f53e7dea32bc
294
#!/bin/sh for days_ago in {0..5} do export month=`date -d $days_ago' days ago' +%m` export year=`date -d $days_ago' days ago' +%Y` export day=`date -d $days_ago' days ago' +%d` $GWS_PATH/software/slstr_calibration_ftp_retriever/download_viscal_ompc.sh S3A $year $month $day done
eec554b404d255c27105bf3726c7542751a5f576
875
#!/bin/bash # shutdown i3 or arch linux i3exit="Exit i3" shutdownc="Shutdown computer" rebootc="Reboot computer" case $(echo -e "${i3exit}\n${shutdownc}\n${rebootc}" | rofi -dmenu -markup-rows -i -p "What to do?") in ${i3exit}) if [[ $(echo -e "No\nYes" | rofi -dmenu -markup-rows -i -p "Really ${i3exit}?"...
6dac09ef7c29cf4bfa6a0a75ba23f0196343b129
2,813
#!/bin/sh # # An example hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if # it wants to stop the commit. # if git rev-parse --verify HEAD >/dev/null 2>&1 then against=HEAD else # Initia...