blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
81e5b6e15a5fdc9ab41a5bceaa04b4e44f84e675
1,051
#!/bin/bash echo $1 > params.json # Cloudant credentials and the _id of the attachment/document to download. CLOUDANT_USER=`cat params.json | jq -r '.CLOUDANT_USER'` CLOUDANT_PASS=`cat params.json | jq -r '.CLOUDANT_PASS'` CLOUDANT_AUDITED_DATABASE=`cat params.json | jq -r '.CLOUDANT_AUDITED_DATABASE'` IMAGE_ID=`cat ...
55c3e885d0ca7cedd8a63902082084dd0e97f344
432
# Example: /prim-mean.sh ber.jpg 2000 1024 2048 80 6 bertest filename=${1%.*} echo "prim.sh ${1} ${2} ${3} ${4} ${5} ${6}" > ${filename}-${5}-parms.txt for i in $( eval echo {1..${6}} ) do primitive -rep 10 -a 0 -i ${1} -m 0 -n ${2} -r ${3} -s ${4} -mp ${5} -v -o ${filename}-${5}-mean${6}-tmp$i.png convert ${file...
eabae8d8bdeff144208215a830014c03bcfdec04
203
#!/bin/sh strip_chars(){ echo "$1" |sed -e "s%ñ%ny%g;s%Ñ%NY%g" |iconv --to-code ASCII//TRANSLIT |sed -e "s%^[[:blank:]]*%%;s%[[:blank:]]*$%%" } cat - |while read l ; do strip_chars "$l" done exit 0
248a20ce7efc720da1884e2c9c02ac2950a40c6e
2,707
#!/bin/bash # Get the aliases and functions [ -f ~/.bashrc ] && source ~/.bashrc [ -f ~/.profile ] && source ~/.profile # User specific environment and startup programs #------------------------------------------------------- # 共通設定 #------------------------------------------------------- # PATHの初期化 [ ! "$INITPATH" ...
d8bec468a2a90f3ff43f6bd192df2d18dd69f3e1
166
#!/bin/bash # https://askubuntu.com/questions/91426/reverse-two-finger-scroll-direction-natural-scrolling xinput set-prop 'DELL07E6:00 06CB:76AF Touchpad' 285 -27 -27
d993d8f809ce1b9bc6444cba864318fdf4fa2dfd
202
#!/usr/bin/env bash bash embeddingless_scripts/train_byte.sh en ru 14 0.3 8000 bash embeddingless_scripts/evaluate.sh byte en ru 14 0.3 valid bash embeddingless_scripts/score.sh byte en ru 14 0.3 valid
5807e20f1cc7a09f7103c73e3f9f68af739ea6e5
328
if [[ $# -eq 0 ]]; then echo "You must pass at least one argument" exit 1 fi if [[ $1 = "import" ]]; then cat db_dump.sql | mysql -h127.0.0.1 -uuser -ppassword mydb echo "import the db pls" fi if [[ $1 = "prune" ]]; then docker container prune --force docker image prune -a --force docker volume prune --...
19046b29aaa9ca31d9201db76456d3d12774da38
442
if [[ -d ./arcshell ]]; then echo "Please remove the 'arcshell' directory and try again." exit 1 fi if [[ -d "./arcshell-master" ]]; then echo "Please remove the 'arcshell-master' directory and try again." exit 1 fi wget https://github.com/arclogicsoftware/arcshell/archive/master.zip unzip master.zip mv arcshel...
4e37bdfa4995fbf061afd9b4b4c2f1ff1e925a32
1,133
#! /bin/sh # Version 2023.79 FSTAB_IN=/etc/fstab # Copy '!'-prefixed entries as "noauto", otherwise as non-"noauto". COPY_ENTRIES='!/ !/boot !/dev !/proc /run /run/lock /run/shm !/sys !/tmp /usr' OPT_SEP=',' set -e case $1 in prereqs) echo; exit esac . /usr/share/initramfs-tools/hook-functions FSTAB_OUT=$DESTDIR/$...
005db5e10b76d61389827cc18f29d284bfd69526
688
# Maintainer: Jeff Hubbard <musikernel@gmail.com> _realname=ladspa-sdk pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=1.13 pkgrel=2 pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA) SDK (mingw-w64)" arch=('any') url="https://www.ladspa.org/" license=("LGPL") # bsdtar fai...
ff07edfa1f60eabab10ad03f1bdec9bbe5d67874
9,338
#!/bin/bash SCRIPT_DIR=$(dirname $0) function usage() { cat <<EOF Usage: $(basename $0) <options> <options>: -u: update mode. It will only re-create dali/thor master environment.xml and environment.xml with real ip. Re-generate ansible host file, run updtdalienv and restart t...
f2502399f2f26a2bf370a017c617f8c90138c018
119
MONGO_URL=mongodb+srv://Umerwaseem4:Umerwaseem4@cluster0.g3ofo.mongodb.net/blogdb?retryWrites=true&w=majority PORT=5000
c68dc12b636d319d5198679ac8f18c6666ba2d74
2,317
#!/bin/bash # Init the test system echo -e "\nINITIALIZING SYSTEM FOR TESTING...\n" sleep 2 cb-cli init -url=http://127.0.0.1:9000 -messaging-url= -system-key=d4a8a4c60b86d3c79bf889b796ff01 -email=a@a.com -password=b # Change directory to init'd system cd CBCliRegressionTesting/ # Export system echo -e "\nEXPORTING ...
85b9b1c0dd93523d4f1029ac88298b46e837f396
490
#!/usr/bin/env bash if [ -z "$1" ]; then echo " [`date`] ERROR : required <intall-dir> " 2>&1 exit 1 fi DIR=$1 ##############install zero mq#################### if [ ! -d $DIR ]; then echo " [`date`] ERROR : DIR ' $DIR' not exits " 2>&1 fi echo ' [`date`] INFO : cd $DIR Install .' 2>&1 cd $DIR ...
ffd882b79c633051dd1125c5c44079f657b618f4
410
CXX = g++ # compiler CXXFLAGS = -g -Wall -MMD # compiler flags OBJECTS = 1.o 2.o 3.o 4.o ... # all .o files DEPENDS = ${OBJECTS:.o=.d} # get dependency EXEC = soda ${EXEC} : ${OBJECTS} # link step ${CXX} ${OBJECTS} -o ${EXEC} -include ${DEPENDS} .PHONY : clean ...
5ee84544df3e6f98ea772a4b576d092f144556f4
403
#!/bin/bash f2() { for i in $* do bool=1 if [ $i -eq 0 ] then echo "0 khong la so nguyen to" elif [ $i -eq 1 ] then echo "1 la so nguyen to" else for((j=2;j<=(i/2);j++)) do #var=`expr $i % $j` if [ $(($i%$j)) -eq 0 ] then echo "$i khong la so nguyen to" break fi done if [ $b...
ff14e783b4454f5010ea7e6ff3e1501a941bd992
279
#!/bin/bash vidArray=() for file in *.h264; do vidArray=(${vidArray[@]} "-cat $file"); done fileString=$( IFS=' '; echo "${vidArray[*]}") echo "#!/bin/bash" > com.sh; echo "MP4Box ${fileString} -fps 10 `date "+%Y-%m-%d"`.mp4" >> com.sh; chmod +x com.sh; ./com.sh; rm com.sh;
44b99e84cac459c2f462ee864678f0ca38178d26
171
#!/usr/bin/env bash #/bin/sh export MEM_ARGS="-Xms512m -Xmx512m" RUN_CMD="java -cp ../target/prasnottar.jar com.prasnottar.indexing.FeedData" echo $RUN_CMD exec $RUN_CMD
c73f8cf21b81a75f69f85f639bf7801b73541288
2,324
#!/bin/bash server="lot-linux.cloudapp.net" port="4242" totalhomes=1 totalruns=1 startdate="2011/05/01-00:00:00" enddate1mon="2011/05/31-00:00:00" enddate6mon="2011/10/31-00:00:00" enddate1yr="2012/04/30-00:00:00" function getstd() { data=$1 l=$2 mean=0 sd=0 for (( i=1 ; i<=$l...
f3dcbfeb6985977a60535b9773fa7258a01135bf
398
#!/usr/bin/env bash export ORDERER_DOMAIN=example.com export WORK_DIR=./ # path to fabric-starter folder export DOCKER_COMPOSE_ORDERER_ARGS="-f docker-compose-orderer.yaml -f docker-compose-orderer-multihost.yaml" export RAFT0_PORT=7050 \ RAFT1_PORT=7150 \ RAFT2_PORT=7250 export ORG2_RAF...
6bd8f55c5f9c7c95609ca124efa1b35baab1ea24
878
# Maintainer: Terje Larsen <terlar@gmail.com> pkgname=warp-git pkgver=r160.728259c pkgrel=1 pkgdesc="Secure and simple terminal sharing" arch=('any') url="https://github.com/spolu/warp" license=('MIT') makedepends=('git' 'go') _gourl=github.com/spolu/warp _gourl2=github.com/spolu/warp/client/cmd/warp pkgver() { GOPA...
9a0dc115a4501ba47e15f15884b525164b0d550e
1,836
#!/usr/bin/env bash # 2020 Demon App Store # WeakNet Labs # # Installer script, should be called from the workflow app # INSTALL: # -------------------- # Pixie WPS # -------------------- # NOTES: # # # DO NOT INFO: printf "\n[INFO] Installer script initiated: $(echo $0)\n" # export DAS_LOCAL=/var/demon/store/code/Demo...
71654799d590cfa8c458b4d2b548bf2620955547
75
#!/bin/sh # usage: compress # # Compress stdin to stdout. exec gzip -cq9
3ac86787980992671afb8f46dc4b360cdee8d573
101
if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then source /usr/share/gem_home/gem_home.sh fi
993cb0dfdebb0f19aabae036d9a7fbe632ad09d2
393
#!/usr/bin/env bash { set +x; } 2>/dev/null db="$(mktemp)" || exit f="${BASH_SOURCE[0]%/*}"/data.csv # sqlite3 "$db" <<EOF CREATE TABLE stable_table (id TEXT PRIMARY KEY,value TEXT); INSERT INTO stable_table VALUES (1,'value1'), (2,'value2'); .mode csv .import '$f' tmp_table .mode list UPDATE tmp_table SET value=s...
8b496537a3f3751a4ea41bbd4e79b5da2f3c863f
852
#!/bin/bash # 6.2.11 Ensure no users have .forward files # Description: # The .forward file specifies an email address to forward the user's mail to. # Rationale: # Use of the .forward file poses a security risk in that sensitive data may be inadvertently # transferred outside the organization. The .forward file also ...
e3c795e61900a746eaad83c835c71526bc802547
452
#!/bin/bash -l #SBATCH -t 10:00:00 #SBATCH --qos=high-throughput #SBATCH -o hot/4JP4_23846/output.txt # run python prepare_receptor.py 4JP4 python prepare_ligand.py 23846 sh prepare_config.sh 4JP4 23846 vina --out hot/4JP4_23846/model.pdbqt --log hot/4JP4_23846/report.txt --receptor data/4JP4.pdbqt --ligand data/238...
66cfde89272213bc82679f99c2249f2eb3bb2a25
35
cd proc-de-imagenes mvn clean test
9ef53ae7543b98a32de7252f1ea274aadd4f2212
87
#!/usr/bin/env bash dnf copr enable evana/fira-code-fonts dnf install fira-code-fonts
5d641fa683139cf41a99cab0b32bd56c9dd5ad01
6,823
#!/bin/bash # Arquitectura de ordenadores 2019/2020 # Practica 3 # # Ejercicio 1 # # Jesus Daniel Franco Lopez # Grupo 1362 # Pareja 44 # Semilla P # P = (44 mod 7) + 4 = 2 + 4 = 6 make clean make # Inicializar variables NInicio=2000+512*6 # Valor de inicio para el tamaño de las matrices NPaso=64 # Diferencia de ta...
b9e57e59c638fc16fce7f7ca22878bc91f51d465
2,003
#!/bin/bash set -xv #adam-note# from $1/$2/${2}_${i}_illum$3.fits make $1/$2_norm/$2_norm_${i}_illum$3.fits and $1/$2_norm/$2_res${3}_${i}.fits #adam-BL# . BonnLogger.sh #adam-BL# . log_start # CVSId: $Id: make_residuals.sh,v 1.3 2008-07-19 00:06:19 dapple Exp $ # $1 : maindir # $2 : sciendir # $3 : smoothing radius ...
0e9ad221dcb074518bac5ccfbf1ebb602601623d
87
#!/bin/bash for i in `ls -1 /directroy` do cp $i /newDirectory/$i.`date +%m%d%Y` done
57012aa3a0b2669e70ef7716e2416bcad746512e
1,381
#!/sh/bin #Color definitions Green='\033[0;32m' Red='\033[0;31m' ################# TEST 1 ################# correct_res="7 7 5 6 6 " test_res=$(./task5 <<< '8 2 7 3 1 5 2 6 2 4') if [ "$test_res" = "$correct_res" ] then printf "\n ${Green} Test 1 passed \n" else printf "\n ${Red} Test 1 failed" printf "\n ${Green...
486167e99eb786700c13fa11d02b7420433979f0
222
#!/bin/bash for ((i = 0; i < 10; i++)) do echo ================================================== echo Running test $i ./thread_test_malloc_free echo ================================================== done
16ae2a72190b8431fbb9f3ad55cb1a176ec6ed87
453
#!/bin/bash cat << EOF ############################ Check netwrok settings. ############################ EOF echo "available ports ..." cat /proc/sys/net/ipv4/ip_local_port_range | awk '{print($2-$1)}' echo "current connections ..." netstat -t | wc -l echo echo "TCP timeout ..." cat /proc/sys/net/ipv4/tcp_fin_timeou...
29f19229f8af1bbe8d1c7a83dcba5c694fc8a691
719
#!/bin/bash # pull the image now so that we don't have to guess/query when its done in the script docker build -t ros-dashing-dummy -f test/dummy-dashing.Dockerfile . echo "Running './examples/local_image.launch.py' for 10 seconds" output=$(timeout -s INT 10s ./examples/local_image.launch.py) if [[ $output == *"[ta...
53c7709ddf9bb723c899b60049d66a85f08526a7
4,686
#!/bin/bash set -e NUXEO_CONF=$NUXEO_HOME/bin/nuxeo.conf if [ "$1" = 'nuxeoctl' ]; then if [ ! -f $NUXEO_HOME/configured ]; then # PostgreSQL conf if [ -n "$NUXEO_DB_TYPE" ]; then if [ -z "$NUXEO_DB_HOST" ]; then echo "You have to setup a NUXEO_DB_HOST if not using default DB type" ...
7d7ebc15691d1bb5f1f301c0cda94a9e014f63eb
418
ProcessName=$1 if [ -z "$ProcessName" ]; then echo "Usage: process.sh ProcessName" echo echo "Description: Executes dataloader process" return fi echo "<*** Running DL Process: " $ProcessName " ***>" >> /dev/stderr java -cp $(echo /dataloader/bin/*.jar | tr ' ' ':') -Dsalesforce.config...
38afe3dbbbfa56e0b8c8e53d909f3452f0137686
1,107
pkgname=lzo pkgver=2.10 pkgrel=1 pkgdesc="Portable lossless data compression library" arch=('x86_64') url="http://www.oberhumer.com/opensource/lzo" groups=('core') license=('GPL') depends=('glibc') source=("http://www.oberhumer.com/opensource/${pkgname}/download/${pkgname}-${pkgver}.tar.gz") build() { cd "${pkgname}...
c4e88d484e775c20cce75237efd8e84135a4c1d3
153
#!/bin/sh echo "未建立连结队列里套接字的数量" while [ "1" = "1" ] do netstat -nat | grep SYN_RECV | grep 4333 | wc -l sleep 2 done
6af5eeadd44e1a75b19a344c87f1ed2ccd804d52
1,067
#!/bin/bash function run { if ! pgrep $1 ; then $@& fi } xrandr --output DP1 --off --output DP2 --off --output DP3 --mode 2880x1620 --pos 0x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output HDMI3 --off --output VIRTUAL1 --off xsetroot -cursor_name left_ptr & pkill -x sxhkd ; run sxhkd -...
548dee73d75dfa7c2e5b373aa0c373a665ced758
6,566
#/bin/sh # Clear BAT script failed_cve= function tc_boot_first_boot () { dmesg > dmesg.log } function tc_generics_check_kernel_warning () { dmesg | grep -i warning | wc -l } function tc_generics_check_kernel_version () { cat /proc/version } function tc_generics_kernel_cmdline () { cat /proc/cmdline } function...
14d7fe9ac3f3b6358a8c0e0ac0a55c940c65b916
932
#!/bin/bash version="$(jq .version package.json)" version="$(sed -e 's/^"//' -e 's/"$//' <<< "$version")" previous_version=$(aws ecr describe-images --repository-name $PROJECT --query 'sort_by(imageDetails,& imagePushedAt)[-1].imageTags[0]' --region eu-central-1) previous_version="$(sed -e 's/^"//' -e 's/"$//' <<< "$pr...
ec6f20b9689bbcdd8eee9b93a3298d41c7196a92
63
#!/bin/bash git-write-tree -h &> ../one-log/git-write-tree.log
d8f1d1e703a5fa4888524385ac6e5ae4f285931e
638
#!/usr/bin/env bash set -e export BOSH_INIT_LOG_LEVEL=DEBUG working_dir=$PWD deployment_dir=$PWD/upgrade-deployment cp ./bosh-cpi-release/*.tgz bosh-openstack-cpi.tgz cp ./bosh-release/release.tgz bosh-release.tgz cp ./stemcell/stemcell.tgz stemcell.tgz cp $deployment_dir/director-manifest* . cp -r $deployment_dir/...
0824dda0c2509c66ac0120caf1a74f5606e2e6d3
800
#!/bin/bash rm -f 3a.text rm -f 3b.text rm -f 3c.text rm -f 3d.text echo "Enter contents of file 1 in editor about to open. Press enter to continue. Use Ctrl+Shift+S to save and Alt+F4 to close it." read garbage gedit 3a.text echo "Enter contents of file 2 in editor about to open. Press enter to continue. Use Ctrl+Shi...
85929ec674a3783e199055f4536656ab6855991e
369
#! /bin/bash # 简单的字符串匹配 match_string(){ MATCH=0 NOMATCH=90 PARAMS=2 BAD_PARAMS=91 [ $# -eq $PARAMS ] || return $BAD_PARAMS case "$1" in "$2") return $MATCH;; *) return $NOMATCH;; esac } a=one b=two c=three d=two match_string $a echo $? match_string $a $b echo $? ma...
3b476ddc9c700a975362fc3e3f234b04745e2b22
195
#!/bin/bash #SBATCH -p shared #SBATCH -n 8 #SBATCH -N 1 #SBATCH -t 2-00:00 #SBATCH --mem 32000 #SBATCH --array 0-464 source ~/sw/bin/prepPhyloAcc.sh PhyloAcc bp_param/run${SLURM_ARRAY_TASK_ID}
7e3b44d75ff5c95f501e2a60298c37337d12e503
598
./dotnet publish -r linux-x64 -o /var/www/mystique cd /etc/systemd/system echo "[Unit] Description=Mystique [Service] WorkingDirectory=/var/www/mystique ExecStart=/var/www/mystique/Mystique --urls=http://*:5050 Restart=always RestartSec=12 KillSignal=SIGINT StandardOutput=syslog StandardError=syslog SyslogIdentifier...
dc506c61786457fd073fa462581d7f4017cf62dd
598
#!/bin/bash -l ##SBATCH --array=0 ##SBATCH --partition=normal ##SBATCH --account=desi ##SBATCH --ntasks=32 ##SBATCH -q debug ##SBATCH --mem=128GB ##SBATCH -C knl ##SBATCH --account=m1727 ##SBATCH --cpus-per-task=1 ##SBATCH --mem-per-cpu=32GB #SBATCH --tasks-per-node=4 #SBATCH --nodes=8 #SBATCH --mem=64GB ##SBATCH -q...
5d229daed80514edba71cdabd7c79a8fbf58c8c9
613
#!/bin/sh rm -rf analysis_result rm -rf static_analysis mkdir static_analysis cd static_analysis ../scan-build cmake -DCMAKE_BUILD_TYPE=Debug ../.. ../scan-build -plist-html -o ../analysis_result --use-cc /usr/lib/llvm-7/bin/clang --use-c++ /usr/lib/llvm-7/bin/clang --use-analyzer /usr/lib/llvm-7/libexec/c++-analyz...
7ad4ee65f0988a23f698d1bdad04c0ffe353f268
1,528
cd appimage if [ ! -f "linuxdeploy.AppImage" ]; then echo "Downloading linuxdeploy" wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage -O linuxdeploy.AppImage -q chmod +x ./linuxdeploy.AppImage fi if [ ! -f "dot.tar.bz2" ]; then echo "Downloading l...
199f55eb93ca96fb0381285dca535f3c0532ec1d
552
# Contributor: josip <josip@jjanzic.com> pkgname=wl-clipboard-history-git pkgver=1 pkgrel=1 pkgdesc="Wayland clipboard history tracker based on wl-clipboard" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'arm' 'aarch64') url="https://github.com/janza/wl-clipboard-history" license=('MIT') depends=('wl-clipboard' 'sqlite>=3.0'...
7c58bc3b668e187d21365a98d0330fa3f4bd94c3
729
#!/usr/bin/env sh # vim: ai ts=2 sw=2 et sts=2 ft=sh ORIGIN_URL=$(git ls-remote --get-url 'origin') export GIT_AUTHOR_NAME="Tyler Stapler" export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME git config --local user.name "$GIT_AUTHOR_NAME" case $ORIGIN_URL in *github.com/Workiva*|*github.com:Workiva*|\ *github.com/workiv...
c760908b8ce3cae2435c15c28fb42bab26c34e5c
242
#!/bin/bash # Installs xcode-coveralls git clone --recursive https://github.com/macmade/xcode-coveralls.git /tmp/xcode-coveralls sudo xctool --project /tmp/xcode-coveralls/xcode-coveralls.xcodeproj --scheme xcode-coveralls DSTROOT=/ install
cae86541703310b4cb06c56a07132bbcf24fb1ef
108
#!/bin/sh export LD_LIBRARY_PATH=/config/lib:/lib:$PWD/osd_lib/lib:$PWD/sstar/lib:$PWD/sstar/lib_static
18885f20ab107e7f7d89c2b0f76ae506c6185d58
169
echo -n "Enter A Number: " read counter remainder=$(( counter % 11 )) if [ "$remainder" -eq 0 ]; then echo 'Divisible By 11' else echo 'Not Divisible By 11' fi
656871408b8c2a30aac528fd4a23ad9058d476d5
685
#!/bin/bash set -eux set -o pipefail [ -d /mnt/state/etc/keystone/ssl/certs ] || install -m 0750 -o keystone -g keystone -d /mnt/state/etc/keystone/ssl/certs [ -d /mnt/state/etc/keystone/ssl/private ] || install -m 0750 -o keystone -g keystone -d /mnt/state/etc/keystone/ssl/private # precreate ssl key file with corre...
0cb318c9c7c67473ba4768e33fc5855bc8905959
62
awk -F ',' '{print $2}' users.csv | sort | uniq -c | sort -nr
46be74d428b8127c415e413d1292d078cd6c8f36
2,823
#! /dev/null/bash [[ "$BASH_SOURCE" =~ /bash_functions_library ]] && _bfl_temporary_var="_GUARD_BFL_$(echo "$BASH_SOURCE" | sed 's|^.*/lib/\([^/]*\)/\([^/]*\)\.sh$|\1\2|')" || return 0 [[ ${!_bfl_temporary_var} -eq 1 ]] && return 0 || readonly $_bfl_temporary_var=1 #----------------------------------------------------...
a67d23b2958a2ec6ae9c6e354ce1ec38a22ebf5e
140
CTF_SPACE_ID={{ wnmf0uk29ees }} CTF_CDA_ACCESS_TOKEN={{ u4gO-dAQKVJhBnMs6lHGT_XbSvor8DKBUD8nt7CloQs }} CTF_BLOG_POST_TYPE_ID={{ blogPost }}
61d16220c42f3ae6650e23531f0fe6f90771ec0e
45
export LPASS_ASKPASS=$(which lpass-askpass)
7e2404c19fc7cc3b5e67285f86950520d61278b1
89
sudo -u {{project_user}} lein with-profile production run >> {{log_dir}}/ring-server.log
a64bdee1e8a31e5a0729985b0ce5022cbfc05823
928
#!/bin/sh # # This file is part of the Zephir. # # (c) Zephir Team <team@zephir-lang.com> # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. # -e Exit immediately if a command exits with a non-zero status. # -u Treat unset variables as an erro...
98e69581d09e9670b2caeed3fff6ab163f89234d
781
#ENV=DEVELOPMENT SERVICE_NAME="MS_KECAMATAN" PORT=9094 SERVICE_HOST="127.0.0.1" #DEBUG="TRUE" # #DB Local mysql #DB_DRIVER="mssql" #DB_USER="root" #DB_PASSWORD="secret" #DB_SCHEMA="db_kecamatan" #DB_HOST="localhost" #DB_PORT="3306" # #DB Local psql DB_DRIVER="postgressql" DB_USER="fikgatrh" DB_PASSWORD="secret" DB_SC...
b78ae06db62437c2af981defe70ca42210bb71d6
1,719
#!/usr/bin/env bash # merger; generation time = 100; Ne = 2500 for i in $(seq 10); do mkdir data/merger_100gen_2T_3POPS_2500N_${i} python simulate.py -k 3 -l 10000 -s ${RANDOM} \ --set merger3 \ --sizes 2500 2500 2500 \ --time-points 0 100 \ ...
36854b4018f90e0f6295f8aa866ae58063f69702
1,469
#!/bin/bash ### Modified figures generated for publication ### Journal: BMJ Medicine ### Includes: ### - resizing ### - removing white space ### - adding panel labels ### - combining panels vertically into one plot # TRIM and LABEL (if required) convert -trim -background white -gravity center -extent 7500x5800 output...
20b93e7021cdce63ba2a33903ae29d1506532e10
1,869
#!/bin/sh . /etc/default/geth if [ "$NETWORK" = "private" ]; then echo "Running Private Network" if [ -n "$NETWORK_ID" ]; then # Check if .ethereum exists [ -d ~/.ethereum ] || mkdir ~/.ethereum # Check if generis file has been generated if [ ! -f ~/.ethereum/genesis.json ]...
dc66328ac46886987a09daaf869d074f5b75a5ac
562
#!/bin/sh # # An example hook script that is called after a successful # commit is made. # # To enable this hook, make this file executable. # @DEVEL_PRODUCT_NAME@_STANZA_START # # # Call the @DEVEL_PRODUCT_NAME@ integration glue REPOS="@DEVEL_PRODUCT_NAME@_STANZA_REPOS" @DEVEL_CONFIG_PERL_BINARY@ -I ${REPOS}/.git/ho...
5550d8dc6e411ff61c34f0aac20f8ed3c9ba47e5
1,668
#!/usr/bin/env bash # Get fuseki and jena from binary downloads: FUSEKIFILE=jena-fuseki-1.0.1 JENAFILE=apache-jena-2.11.1 if [ ! -d /vagrant/sparql/$FUSEKIFILE ]; then echo Need to install fuseki echo "" cd /vagrant/sparql; wget http://apache.mirrors.lucidnetworks.net//jena/binaries/$FUSEKIFILE-distr...
b785746f254db6c20af5e9a1144ded07c7e381e1
177
#!/bin/sh CURRENT=`pwd` cd /usr/local/src/slack-lambda go build -o bin/proxy-server proxy-server/main.go go build -o bin/container-server container-server/main.go cd $CURRENT
1769320707f10abbe30ec469575755c8bc8b61a6
191
#!/bin/bash #SBATCH --nodes=1 #SBATCH --ntasks=4 #SBATCH --time=12:00:00 #SBATCH -p lrgmem ml python/2.7 peak_calling="$1" window="$2" python Compute_metrics.py ${peak_calling} ${window}
7c52148623bcffe90b0925438560835d26973c03
655
#!/usr/bin/env bash docker stop my-transmission docker rm my-transmission docker build . -t docker-transmission clear docker run \ -d \ --privileged \ --cap-add=NET_ADMIN \ --device=/dev/net/tun \ -v /tmp/downloads/:/downloads \ -v /tmp/config/:/config \ -v /etc/localtime:/etc/localtime...
22ade2b9523afb336511c801bcb09d09336ff148
330
#!/bin/bash setup_postgres() { echo "SETUP POSTGRES" docker stop $(docker ps -aq) docker rm $(docker ps -aq) docker run --name postgresdb --mount type=bind,source="$(pwd)"/init-scripts,target=/docker-entrypoint-initdb.d -p 5432:5432 -e POSTGRES_PASSWORD=password -d postgres } main() { setup_postgr...
59d60746b7a05d375f38f2f898b0546404b3e7a2
191
#!/bin/sh python res/generate.py | tee res/generated.tsv python massage.py --output res/massaged.tsv res/generated.tsv pushd res &> /dev/null R --no-save < line.R popd &> /dev/null exit 0
43ca08d31821560457e708243fc8133541cdfcde
55
#!/usr/bin/env bash set -eu bundle exec jekyll serve
c2111b72c39ec1f5e8868f017568ecc3904599fb
544
# Maintainer: wido <widomaker2k7@gmail.com>: pkgname=fortune-mod-southpark-fr pkgver=20090905 pkgrel=1 pkgdesc="Fortune cookies: The south Park in french." arch=('any') license=('GPL') depends=(fortune-mod) source=('southpark') url="http://fr.wikiquote.org/wiki/South_Park" md5sums=('a2e304928f2e204a3a66c6fd5e857010') ...
6754f42cabe5d189c78496720255f35e9b4f6ac3
785
#!/bin/bash -ev mkdir -p target/spark-0.7.2-hadoop103 cd target/spark-0.7.2-hadoop103 if [ ! -f spark ]; then if [ ! -f spark-0.7.2-sources.tgz ]; then wget http://spark-project.org/files/spark-0.7.2-sources.tgz # Mac OS X: curl http://spark-project.org/files/spark-0.7.2-sources.tgz > spark-0.7.2-sources.tg...
72fd99f85f3f5ff7a2f0c5f1fc297cd7a71c41e0
1,694
pkgname=qemu pkgver=2.10.1 pkgrel=1 pkgdesc="A generic and open source machine emulator and virtualizer" arch=('x86_64') url="http://wiki.qemu.org/" license=('GPL2' 'LGPL2.1') #depends=() options=(!strip) source=("http://wiki.qemu.org/download/qemu-${pkgver}.tar.bz2" "65-kvm.rules" "qemu.sysusers") build() { cd "${...
4520dc5bb1b017e2d2ab00beccec38dc32b9e8a7
2,211
#!/bin/bash #Rna-seq using STAR #./Run-RNA-workflow-5.0_DE_CDS.sh > Run-RNA-workflow-5.0_DE_CDS.sh.log 2>&1 echo "run script for rna-seq-analysis" ############################################ # 2.2. Identifying differentially expressed (DE) transcripts ############################################ #Extracting diffe...
34f949a5a47903c6e0b56c48cddde338c45b6554
33
#!/bin/bash /usr/sbin/webcam.sh
6fbdec4a8ab65b72a52fa8f3203322bafd6ae79d
68
#PBS -l walltime=24:00:00 cd ~/sperm ./train-kfold.py m1 h 5000 0 3
924c24a10e575e887a1848fd72723bcdbcf58cf9
113
for i in `seq 0 3` do # echo $i sudo cpufreq-set -c $i -u $1GHz sudo cpufreq-set -c $i -d $1GHz done
f4007d12371584697b3a0c567c6503dd64874cc2
202
#!/usr/bin/env sh killall -q polybar while pgrep -x polybar >/dev/null; do sleep 1; done polybar -l info -c $HOME/.config/polybar/config main & polybar -l info -c $HOME/.config/polybar/config left &
e21181f250f6a7c03b18a5a84e3f11a3bac0c9d6
19
../etc/lib/vital.sh
4c42de1b1f8a4d3f8ee2106865fcd32597aa9309
171
field_path=../data field_in=mag_plane_8 field_out=${field_in}_dwc_p2p.grd height_dwc=8 conti2d ${field_path}/${field_in}.grd -G${field_out} -E5 -H0 -T$height_dwc -D+L150
8a6677e5f500717495e895184ede7f8b185b8fa3
1,709
#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License");...
2cb6a1e9a1c839243fb6637554760b149464cc55
1,343
#!/usr/bin/env bash get_nodejs() { test_package node-v8.9.3-linux-x64.tar.xz http://shell-auto-install.oss-cn-zhangjiakou.aliyuncs.com/package/node-v8.9.3-linux-x64.tar.xz 32948a8ca5e6a7b69c03ec1a23b16cd2 if [ $language -eq 1 ];then echo "node-v8.9.3-linux-x64.tar.xz 下载完成" else echo "node-v...
53e2ba3c085cbbbad3cc8b41f94bdab7213e8b1c
2,016
## ## Key Pecker ## ## Script to set source of llvm, clang and other tools for MacOS ## This script sets up sources from master branch, v7.0 and v6.0 ## ## Usage: ## ./get_llvm.sh # will setup master branch ## ./get_llvm.sh 7 # will setup llvm 7.0 ## ./get_llvm.sh 6 # will setup llvm 6.0 ## ./get_llvm.sh <any number> #...
fdda3a9007b8124878b662c8586d35a2aaefde9f
68
IDENTIFIANT= PASSWORD= LIEN_VERS_LA_PAGE_DE_PRESENCE_DE_LA_SEMAINE=
c0bc425ebee1458557a613e39bd6cf8e80b3b8bf
640
#mkdir -p $CATKIN_WORKSPACE/devel/include/gsl/ #wget https://github.com/gsl-lite/gsl-lite/blob/master/include/gsl/gsl-lite.hpp -O $CATKIN_WORKSPACE/devel/include/gsl/gsl-lite.hpp { SOURCE_PREFIX=$HOME/.local/src STOW_PREFIX=$SOURCE_PREFIX/stow { [ -f $SOURCE_PREFIX/gsl-lite/CMakeLists.txt ] || \ git...
1facb99cf4f14ce4d6b8d41cb8ac526aecb11a37
76
../../../../../shared/fixes/bash/set_password_hashing_algorithm_logindefs.sh
a7030120c2cab8db33022d68958befab22b79c09
168
#!/usr/bin/zsh for i in *.eps; do convert -alpha Off +antialias -density 320 -resize 25% "$i" "renders/${i%.eps}.png" epspdf "$i" "renders/${i%.eps}.pdf" done
d3649cac7d978a2704eb66341845874929ca9991
4,191
#! /bin/bash ########################################## ######### for wan clear ######### pass arguement as start/stop/restart ######### and mode as 6 for ipv6 and anything for ipv4 ########################################## fun_setup_info(){ if [ "$1" == "6" ] then IP6=true fi if [ -z ${IP6+x} ]; then ...
2352fe20ef5fcdd4d0d8b3c2d14aeac2c40d9ef7
24,880
#!/bin/sh # This script updates locally our web site before it is remotely # synchronised using the script rsync_site.sh # # Author: Christian Rinderknecht #set -x #===================================================================== # General Settings # In a future release, $quiet could be passed as an option # qu...
3bf30612928422a4a1b248fd3d1e9b3e57b9a88b
92
#!/bin/bash docker run --rm -v `pwd`:/repo travis:default /repo/tools/run_in_container.sh
8915dc958748a9b0f491cff5d791a4bd28e61886
39
REACT_APP_API_URL=http://laliga-api.loc
9c26d3b0748e35031fd7fe163203d350cb14639c
429
#!/bin/bash # # component: vua-nominal-event-detection #---------------------------------------------------- workdir=$(cd $(dirname "${BASH_SOURCE[0]}") && cd ../.. && pwd) source $workdir/.newsreader jarsdir=$VURM_LIB/java vua_res=$VURM_LIB/resources/vua-resources java -Xmx812m -cp "$jarsdir/ontotagger-v3.1.1-jar-w...
d22df5c4d0addc1d9dd1a47b16bdb9a20686e9b0
345
#!/bin/bash cat > c.py <<eof with open('./Twin1','rb') as f: x = f.read() with open('./Twin2','rb') as f: y = f.read() flag='' for i in range(min(len(x) ,len(y))): if x[i] !=y[i]: flag+=str(y[i]) print(flag) eof python3 c.py # after this the flag that you got is in ascii form then convert this to string. ec...
a7c84c2b012939b277652dc23846f59c6680567e
231
#!/bin/sh set -x rm -rf $1-$2/.git rm -f $1-$2.tar.gz* tar cvzf $1-$2.tar.gz $1-$2 rm $1_latest.tar.gz ln -s $1-$2.tar.gz $1_latest.tar.gz gpg -b -a $1-$2.tar.gz rm $1_latest.tar.gz.asc ln -s $1-$2.tar.gz.asc $1_latest.tar.gz.asc