blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
f46062d03f9f52947aa90524c8db51c2fd11dd5f
256
#!/usr/bin/env bash mvn clean install mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar) docker build -t luminis/norconex-java . docker tag luminis/norconex-java:latest 044915237328.dkr.ecr.eu-west-1.amazonaws.com/norconex-java:latest
482b23bd05b760c31bb7beafed282db36e5e6df4
1,080
#!/usr/bin/env bash ## ## This script launches the heritrix crawler and keeps the process in foreground ## ## Optional environment variables ## ## JAVA_HOME Point at a JDK install to use. ## ## HERITRIX_HOME Pointer to your heritrix install. If not present, we ## make an educated guess bas...
138c47dc081ff355d92ae6465af858ba4d96ae8f
88
#!/bin/bash -xe docker-compose -f docker-compose.yml -f docker-compose.uberjar.yml "$@"
a0b2a36dc1edab5af20a3b17e8b2a06cc7d54299
378
#!/usr/bin/env bash TERM_PROFILE='Solarized Dark'; open "${HOME}/Repos/dotfiles/install/${TERM_PROFILE}.terminal" defaults write com.apple.Terminal "Default Window Settings" -string "${TERM_PROFILE}" defaults write com.apple.Terminal "Startup Window Settings" -string "${TERM_PROFILE}" defaults import com.apple.Termin...
4881baa02fe2fcf3bb3b96b9d06c29b51ecd54a0
1,703
#!/bin/bash -l #SBATCH --output=/rhome/jmarz001/bigdata/CCXXIRAD/Scripts/retained.stdout #SBATCH --mail-user=jmarz001@ucr.edu #SBATCH --mail-type=ALL #SBATCH --job-name='retained' #SBATCH --ntasks=1 #SBATCH --mem-per-cpu=10G #SBATCH --time=1:00:00 #SBATCH -p intel #Get the number of reads from before and after trimmi...
8ab162fbad9d813e96c5a24672473fe8abb517c3
160
SLACK_ACCESS_TOKEN='xoxp-363603873302-362849389029-362533212020-ecceba5e5a0cb0bd649ae42b7d947a7b' PORT=3000 SLACK_VERIFICATION_TOKEN='VXmN3pUBRvLPOsziInuihCq2'
e3289ae886c731726111ac00aca398c24ae516c0
466
pkgname=chownat pkgver=0.08b pkgrel=1 pkgdesc="allows two peers behind two separate NATs with NO port forwarding and NO DMZ setup on their routers to directly communicate with each other" arch=("$CARCH") groups=('blackarch-intel' 'blackarch') url=('http://samy.pl/chownat/') license=('Unknown') source=("${pkgname}-${pkg...
b8b4cbd0906dcde8b97ab5b1bd63807ace47e618
52
#!/bin/sh clear source ./utils.sh restore_native0
837825919a3df17de4d20718518c9ee259426f48
3,220
# Basic quality control for mapping PE illumina data to a distant reference # Rob Lanfear, December 2016 # A few things to set before you go inputf="/disks/dacelo/data/raw_data/Project_SN7001117R_0083_CKulheim_LBronham_Melaleuca/" outputbase="/disks/dacelo/data/QC/test/" ref="/disks/dacelo/data/raw_data/active_refs/...
0a1686af17e4fb9e5e989a92e2fce843c2bbf624
237
#!/bin/sh export CUR_PATH=${PWD} if [ ! -d ../build ]; then mkdir -p ../build; fi cd ../build rm -rf ./CMakeFiles ./cmake_install.cmake ./*CMakeCache.txt ./Makefile ./install_manifest.txt cmake -DPOSIX=ON ../ make #make install
2f24baeac03066f3943656cfc1933c906be84468
623
#!/bin/bash dir_cur=$PWD dir_src=$PWD/Src dir_test=$PWD/Examples #------------------------------------# # go to source directory and compile # #------------------------------------# cd $dir_src make cd $dir_test ln -f -s $dir_src/Easy . #------------------------------# # browse through all the tests # #------------...
646c02632f2a837375c51485ae517be450ff99bc
72
#!/bin/bash pm2 reload ecosystem.config.js --env production --update-env
5a481630a2d707d768571864afcaf0f8210ff1ec
108
#!/bin/bash export PORT=5108 cd ~/www/tasktracker ./bin/tasktracker stop || true ./bin/tasktracker start
65bcc02beca83082923f3268608493c9db8df781
220
DB_HOST = sql6.freemysqlhosting.net DB_PORT = 3306 DB_USER = sql6397874 DB_PASSWORD = xAPysdwknM DB_NAME = sql6397874 PORT = 5000 WS_PORT = 8080 WS_URL = ws://localhost AVATAR_SIZE = 100 PASSWORD_CONTEXT = eleks
77e39590b85e5c284cad15728029efb79800df24
5,057
#!/bin/bash # charset: UTF-8 # WARNING: # * only file in UTF-8 *without BOM* should be compared (grep considers BOM when ugrep don't) # * comparaison must be about an UTF-8 file with LF line ending (grep considers CR when ugrep don't) # * search string should be ASCII only when LC_ALL=C declare -r TESTDIR=$(dirname ...
6228859393b0a6cfa73529791dda7c5418d023e2
345
#!/bin/bash TIMESTAMP_START="$(date +%s)" OUTPUT=$(dist/bin/cli.js -R spec test/parallel/tests --timeout 10000 --slow 10000) TIMESTAMP_FINISH="$(date +%s)" TIMESTAMP_DIFF=`expr $TIMESTAMP_FINISH - $TIMESTAMP_START` if [[ $TIMESTAMP_DIFF -lt 10 ]]; then exit 0 else echo "Tests running time was $TIMESTAMP_DIF...
89e3060e49636788a35a3156abddb569373c547d
131
#!/usr/bin/env bash echo "------> Configuring myLdlib (.profile.d/my-config.sh)" #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib
e6dac3a60e5aa2a123ab28c8b72b66d3579b935c
1,374
#!/bin/bash # dumps such pipe-style-wav to real audio file nj=1 . tools/parse_options.sh || exit 1; inscp=$1 segments=$2 outscp=$3 data=$(dirname ${inscp}) if [ $# -eq 4 ]; then logdir=$4 else logdir=${data}/log fi mkdir -p ${logdir} sox=`which sox` [ ! -x $sox ] && echo "Could not find the sox program at $sph2pi...
6eb1a59cdb7783e986b0585df9ca382b8f8b5a9e
331
#!/bin/sh # This attribute returns the ARD Computer Info field 1 from the Computer Information attributes in the Apple Remote Desktop settings of a machine. if [ -f "/Library/Preferences/com.apple.RemoteDesktop.plist" ]; then echo "<result>`/usr/bin/defaults read /Library/Preferences/com.apple.RemoteDesktop Text1`</r...
3ec0ef7fdc788001aa20596927a84ef5446abae2
1,246
#!/bin/bash WORKER0_HOST=`cat hosts | sed '3!d' | sed 's/[=].*$//'` WORKER0_IP=`cat hosts | sed '3!d' | sed 's/.*[=]//'` WORKER1_HOST=`cat hosts | sed '4!d' | sed 's/[=].*$//'` WORKER1_IP=`cat hosts | sed '4!d' | sed 's/.*[=]//'` { cat > ${WORKER0_HOST}-csr.json << EOF { "CN": "system:node:${WORKER0_HOST}", "key"...
7c2b56ef42639e3a0f87933e2eb4dbe279791df1
975
#!/bin/bash # depends: nerd-fonts CONFIG_SRC_DIR=~/Documents/configuration/src RANGER_RECIPE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" shef brew ranger w3m shef brew w3m shef apt w3m-img if [ ! -d $CONFIG_SRC_DIR/.ranger-config ]; then git clone https://github.com/CaptainQuirk/.ranger $CONFIG_SRC_...
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
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...
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; ...
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....