blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
255101262484531b36e236b560485886675c3c39
1,983
#!/bin/bash # Uncomment for verbose logging # set -x touch syncwerk-find-and-move-duplicates.log # Enter each directory recursivly. Check if it contains duplicate files by calculating and comparing the inlcuded files md5 checksums. Saving result to dups_tmp0.txt find "$(pwd)" -type d ! -name "syncwerk-found-duplicat...
c965956fc5039c8f6b7c589379c546226bd8a761
3,363
#!/bin/bash ###output function echo_green () { green=`tput setaf 2` reset=`tput sgr0` word=$1 echo $green $word $reset } echo_red () { red=`tput setaf 1` reset=`tput sgr0` word=$1 echo $red $word $reset } echo_green "### One Script Shall Install Them All ###" echo_green "### Start A...
389eeeca70fb913665e6357a16ca2e2401e2244c
179
#version 300 es uniform mat4 uMVPMatrix; in vec3 aPosition; in vec4 aColor; out vec4 vColor; void main(){ gl_Position = uMVPMatrix * vec4(aPosition,1); vColor = aColor; }
01dc5a44d4706fd0ddd31bb71001e690f70bd7ff
1,101
#!/bin/bash cURL https://data.cityofnewyork.us/api/views/4eh7-xcm8/rows.csv?accessType=DOWNLOAD | grep -v ^1230\" | grep -v \"1230 | sed "s/a\ Circle,/a\ Circle/" | sed "s/\"//" > tmp.man diff data/ManhattanTree.csv tmp.man > tmp.diff if [ ! -e data/ManhattanTree.csv -o -s tmp.diff ] then rm -r data mkdir data ...
1de05a62f7669144a239302ba64d3b77e3a365db
139
#!/bin/bash echo "hi sarin, how r u" if [ $? = 0 ] then echo "command executed successfully" else echo "failed" fi echo "provide a number"
6a9c3e220af09eb520d86fa3030389f7123ddd3d
342
#!/bin/zsh env if [[ -z ${SRCROOT} ]]; then SRCROOT="Thinking Face Emoji Tools" else pushd ${SRCROOT}/.. fi eval "$(nodenv init -)" nodenv shell 12.0.0 npm run build cat <<EOF > ${SRCROOT}/Thinking\ Face\ Emoji\ Tools\ Extension/script.js document.addEventListener("DOMContentLoaded", function(event) { $(cat dis...
0302a3d5f08f389c894cbc7c0bebfd8a05304687
411
#!/bin/bash ########################################################## #### Author: Blaine McDonnell (blaine@armoin.com) #### #### Usage: sudo ./dnsmasq_find_leases.sh #### #### Description: Find the active dnsmasq lease file #### #### Version: 0.1 #### #############...
6ce31fbd667bc5e2ad2107f05890527c692b1409
289
PATH="${HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" export PATH # [global] SCRIPT_PATH="$(cd "$(dirname "$0")"; pwd)" SCRIPT_NAME="$(basename "$0")" PARA_NUM="$#" PROC_PID="$$" cd "${SCRIPT_PATH}" ./checkout_salt.sh ./checkout_pillar.sh ./checkout_state.sh
c2becea0c043e9befd587ded0281f6385f8562d1
1,192
source ~/.dotfiles/git-completion.bash # changing directory to code project function c { cd ~/code/$1; } # cd alias ..='cd ..' # ls alias ls="ls -F" alias l="ls -lAh" alias ll="ls -l" alias la='ls -A' # git alias gl='git pull' alias gp='git push' alias gd='git diff' alias gc='git commit' alias gca='git commit -a' a...
145328626e41a8917e6b3338cf30c2e5cb3669d5
2,985
# from docker-webmail Dockerfile # FROM centos # LABEL maintainer="NAKANO Hideo <nakano@web-tips.co.jp>" sudo yum -y install patch postfix dovecot # # setup postfix # sudo cp ./assets/postfix/master.cf.patch /tmp/master.cf.patch sudo cp -n /etc/postfix/master.cf /etc/postfix/master.cf.orig sudo patch /etc/postfix/mas...
1738867729e5cf8f2b10bb018b8475d57719553c
442
#!/bin/sh echo "************************USER************************************" whoami echo "*****************GET EXPLOIT SOURCE CODE************************" wget -O dcow.cpp https://www.exploit-db.com/download/40847 echo "*****************COMPILE SOURCE CODE****************************" g++ -Wall -pedantic -O2 -std...
c297cc51663ce3090d3a272b0a3582170eedfdc8
99
#!/bin/sh docker build -t festvox:latest ./ docker rmi -f $(docker images -f "dangling=true" -q)
97d393ea932919bd42ded02c54f908155e22d475
380
#!/bin/sh sid='t02K_14r6u3caN5X0FgpBLYbbivJspRpWz_OiBs5tGpKnscEhjqqJb_SVDdoVLMhafIm-kqbuRTiMfVz15MxIfKHqVyPamO6JE8wmExcnvlV8k' test_url='http://set3.mail.qq.com/cgi-bin/mail_list?sid='$sid'&pagesize=100&folderid=1&page=1&s=inbox&showinboxtop=1&loc=folderlist,,,1' verify_url='https://ssl.captcha.qq.com/cap_union_new_v...
fba19ddb95cea04cf38a20bb8e981a67ef81eb40
1,452
#! /bin/bash -e # DEBUG mode controlled by env var if [[ -n $DEBUG ]]; then set -x; fi SMALLSTEP_VERSION=${SMALLSTEP_VERSION:-'0.23.0'} # passed from /dotfiles/install.sh FORCE=${1:-0} # Install step cli tools if [[ $FORCE -eq 0 ]] && command -v step >/dev/null 2>&1; then echo 'step-cli already installed!' else i...
76c8598f6051e2d2a895d1fdaf7bd80656872aa5
163
#!/bin/bash BIN=$1 OUTDIR=$2 TIMEOUT=$3 INDIR=$4 timeout -k 9 ${TIMEOUT}s $BIN '_' '9}* bi8K(A-oQ<`>X6{_]~x)/2?ka!kso=' < $INDIR/input/ruin.22 &> $OUTDIR/o5222
e743545f813b1d391b47ed2741bd9072c514490e
43
web: gunicorn examproject.wsgi --log-file -
c3b05812072247b5e7e87c6852b0321bcb1575f9
856
#!/bin/bash set -e -u -x # Check environment _fail() { echo 1>&2 "$1" echo 1>&2 "Usage: $(basename "$0") [install|uninstall]" exit 255 } if [ "$#" -lt 1 ]; then _fail "Invalid number of arguments." fi # Run installer INSTALL_DIRECTORY="${INSTALL_DIRECTORY:-/usr/sbin}" case "$1" in install) ...
884c979955192bcff1ce4a7b3cd9f9aee53f157a
91
# macOS当前语言 # 适用于 10.3 及以上版本 defaults read -g AppleLocale # zh_CN
0c13e24cdcbb07be454536cba093696c24ba1674
64
a=0 while [ "$a" -lt 6 ] do echo $a a=`expr $a + 1` done
543468a9db388c16631b38f58aa421a7cc1a4321
205
#!/bin/bash export extensions=( PeterJausovec.vscode-docker Unity.unity-debug eamodio.gitlens eppz.eppz-code haaaad.ansible lukehoban.Go ms-python.python ms-vscode.csharp rebornix.Ruby wholroyd.jinja )
309d6e3e73e42b375f90fa766e7786905b0b4ab3
194
#!/usr/bin/env bash cp /mnt/flash/show-icmp-monitor.py /usr/lib/python2.7/site-packages/CliPlugin/show-icmp-monitor.py sleep 5 killall FastClid-server rm /mnt/flash/monitor_ip/monitor_state*
f95ad4d1d470517cae195ca7cbb241cd56cae713
714
#!/bin/sh -ex # This is used when the build is aborted from the issue comments. # build-release creates a filed called BUILD_PID, this file # contains the process id for the build. # When this script is excecuted, it reads the file and kills # the process with that process ID. # The file BUILD_PID must be in the work...
719042ad51551471d66eabe1edbe0764b2a9785a
31,384
#!/bin/bash echo 'скрипт второй настройка системы в chroot ' timedatectl set-ntp true pacman -Syyu --noconfirm read -p "Введите имя компьютера: " hostname read -p "Введите имя пользователя: " username echo 'Прописываем имя компьютера' echo $hostname > /etc/hostname echo "" echo " Очистим папку конфигов, кеш, и скры...
2f75790adc1758f7e86c2d61b4591041a86c3acd
1,289
# source "$HOME/.aws-env" fpath=($HOME/.zsh/completions $HOME/.zsh $fpath) export PATH="./node_modules/.bin:./.cabal-sandbox/bin:$HOME/.cabal/bin:$HOME/bin:/usr/local/share/npm/bin:$PATH" export PAGER="less" export EDITOR="/Applications/MacVim.app/Contents/MacOS/Vim" export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=4...
045366aee1efd491fd1ff9a3dbb9f8bc3ec35fe1
115
FIXTURES_PATH=/go/testdata GRPC_HOST=0.0.0.0 GRPC_PORT=80 MONGODB_URI=mongodb://mongodb:27017 MONGODB_DATABASE=hash
7a4961ebf3436a4a959f7f64197497d51d23bc47
3,904
#!/bin/bash rm -f screenlog.0 rm -f /home/bin/goodAmpPwr.txt touch debug_out_"$(date -I)"_"$(date +%T)".txt first_start=0 #first run flag for checks chmod 777 ./* echo "[ $(date -R) ] : Setup config for cdma " | tee -a debug_out* echo "[ $(date -R) ] : Parameters for config $1 $2 $3 $4 $5 $6 $7 $8" >> debug_out* ./s...
300565eadd0730c7b9c43f74cf98dbe55d01c0a5
266
#!/bin/sh # Apply database migrations echo "Apply database migrations" python manage.py migrate echo "Creating static files" python manage.py collectstatic --noinput # Start server echo "Starting server" gunicorn -b :8000 --workers=3 customer_api.wsgi:application
c152f5dccee9079b086e98dcf8a01760fb2d9318
481
# Para rodar corretamente o script deve-se: # 1- rodar chmod +x buildBackEndDockerImage.sh # 2- ./buildBackEndDockerImage.sh <nome da imagem> <porta> # Construindo a imagem do backEnd echo 'Criando a imagem do backEnd no Docker com o nome passado por parâmetro' docker build -t "$1" . echo 'Mensagem criada com sucesso'...
aee7ccfde934789b775c8ee1a764d903623f9d1e
1,580
#!/bin/bash export TEMPDIR=/Users/fanzhengchen/Desktop/ffmpeg NDK=/Users/fanzhengchen/Android/sdk/ndk-bundle PLATFORM=/Users/fanzhengchen/Android/sdk/ndk-bundle/platforms/android-21/arch-arm TOOLCHAIN=/Users/fanzhengchen/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64 function build_...
8375bd4aba979faefbecbbbc53d4c98f9d0d3fe0
844
#!/bin/bash services=$(networksetup -listnetworkserviceorder | grep 'Hardware Port') while read line; do sname=$(echo $line | awk -F "(, )|(: )|[)]" '{print $2}') sdev=$(echo $line | sed -n 's/.*Device: \(.*\))$/\1/p') if [ -n "$sdev" ]; then status=$(ifconfig $sdev 2>/dev/null | grep 'status: ac...
bab009ddc73c9405cf7d38347a459fd97e2143f3
153
function peco-ghi() { ghi show $(ghi list --sort updated | grep -v 'open issue' | grep -v 'Not Found' | peco | awk '{ print $1 }') } zle -N peco-ghi
02cde24740bb20f6571f278c0d54114a99e8d672
2,039
#!/bin/sh # @@@ START COPYRIGHT @@@ # # (C) Copyright 2011-2014 Hewlett-Packard Development Company, L.P. # # 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/lic...
e16f969beda030b82502d27aeeb9ba3992ac370b
1,426
#!/usr/bin/env bash export adb="~/bin/platform-tools/adb" export fastboot="~/bin/platform-tools/fastboot" cd sailfish-n2g47o echo "==== Flashing boot.img to both slots ====" $fastboot flash boot_a boot.img $fastboot flash boot_b boot.img #bash flash-all.sh echo "==== Flashing Bootloader ====" $fastboot flash bootloade...
facaaed7adc667f836a62ca90f58959a9c491bb1
878
#!/bin/bash count=2 if [ $count -gt 0 ];then echo "count is positive" printf "My current working directory \n $PWD \n" fi --------------------------------------- #!/bin/bash count=-2 if [ $count -gt 0 ];then echo "count is positive" printf "My current working directory \n $PWD \n" else echo "count ...
9527d71d060e3f08604b69e2a6f680552a44c1ab
196
#if one file exists and the other doesn't, still return error message #for legit-add #echo "legit-add: error: can not open '"$var"'" touch a sh legit-init sh legit-add a b rm -rf .legit rm -rf a
f0d1fe04888ce607d48e4a64cbf4218565519e93
793
#!/bin/bash host=$1 prefix=$2 file=$3/${host}_cpu.png rrdtool graph $file \ -e now \ -s 'end-15m' \ -S 15 \ --title "Cpu usage" \ --vertical-label "Percents" \ --imgformat PNG \ --slope-mode \ --lower-limit 0 \ --upper-limit 100 \ --rigid \ -E \ -i \ --color SHADEA#FFFFFF \ --color SHADEB#FFFFFF \ -...
f3591c8b9a83f79cc6721ae49b28256fb1f8589d
4,022
#!/bin/bash INFO='\033[0;36m' ERROR='\033[0;31m' SUCCESS='\033[0;32m' DEFAULT='\033[0m' printf "${INFO}==================================================================\n" printf " Hedon Masternode Installer\n" printf "==================================================================${DEFAULT}\n" ...
f6ee50ee8f48a312792caa9eb338fa7354a482f5
380
#!/bin/sh # Usage: git-clone-github-user USER [GIT_CLONE_OPTS...] # Clone all repositories of a Github user to the working directory. PER_PAGE="{PER_PAGE-200}" USER="$1" shift 1 curl -s "https://api.github.com/users/$USER/repos?per_page=$PER_PAGE" \ "https://api.github.com/orgs/$USER/repos?per_page=$PER_PAGE" | \ jq...
9a7bc6a5ede80583eaac35cd011502837eed9387
359
#!/usr/bin/env bash mkdir dataset cd dataset #Download data set here, choose "All pages, current versions only" #https://dumps.wikimedia.org/simplewiki/20181120/ wget https://dumps.wikimedia.org/simplewiki/20181120/simplewiki-20181120-pages-meta-current.xml.bz2 bzip2 -d simplewiki-20181120-pages-meta-current.xml.bz2 ...
ef71e798945f7f3b915acd7af469008d36b4b34c
81
#!/usr/bin/bash echo 'sudo ln -s /home/xc/.config/.xinitrc /home/xc/.xinitrc'
e4ae31a1d4d92e8b9b1290afdf404f9be9a5006a
1,162
#!/bin/bash # # Pull the latest changes, build them here, then deploy inside /var/www/ # This hardcodes a lot of assumptions. set -o errexit set -o errtrace set -o nounset RRDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" DIR_LIVE=/var/www/caselaw DIR_OLDBAK=/var/www/_OLDBAK.caselaw pushd "${RRDIR}" > /dev...
74368438a82654fb326968b4d1b18fb0686bc2b7
5,213
<<<<<<< HEAD # *************** # INSTALL OPENCV # *************** # VERSION TO BE INSTALLED OPENCV_VERSION='3.4.2' # 1. KEEP UBUNTU OR DEBIAN UP TO DATE sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y dist-upgrade sudo apt-get -y autoremove # 2. INSTALL THE DEPENDENCIES # Build tools: sudo apt-get ins...
5b186673455a7de0fca3394aca1524e2268b3bca
14,855
#!/usr/bin/env bash set -x # create and clean tmpdir TMPDIR="/tmp/longhorn" mkdir -p ${TMPDIR} rm -rf "${TMPDIR}/" LONGHORN_NAMESPACE="longhorn-system" # Longhorn version tag (e.g v1.1.0), use "master" for latest stable # we will use this version as the base for upgrade LONGHORN_STABLE_VERSION=${LONGHORN_STABLE_VER...
1b324075dc56d75009c6c871733b0782a73cedd8
2,216
# Maintainer: Rui Abreu Ferreira <raf-ep@gmx.com> _realname=mpack pkgbase=mingw-w64-lua-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-lua51-${_realname}" "${MINGW_PACKAGE_PREFIX}-lua-${_realname}") pkgver=1.0.10 pkgrel=2 arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') url='https://...
bb770b703047490218693dd290f278b7b8faa437
453
#!/bin/bash # # This script will remove created PlatformIO compatible folder structure. # Files are mostly references to original files, and the original files # will not be deleted. So generally said it safe to run this script. # platformio.ini files will be removed alog with any additional added # files. # cd ....
01cea7436d7cdeba075d3256115d658d3d082461
771
#!/bin/bash #LF #STAR_2.4.0j set -o nounset -o pipefail # read command line arguments: read1=$1 read2=$2 prefix=$3 INDEX_DIRECTORY=$4 #~/projects/mapping/star/star_index/Mus_musculus.GRCm38.92.vM17.overhang74.index cmd=\ "STAR \ --genomeDir $INDEX_DIRECTORY \ --readFilesIn $read1 $read2 \ --outFileNamePre...
013e48f07b735e1c7c3c0621d0559a0e823f26d3
524
# This function check ZSH_EVAL_CONTEXT to determine if running in interactive shell. # # Usage # -antigen-interactive-mode # # Returns # Either true or false depending if we are running in interactive mode -antigen-interactive-mode () { WARN "-antigen-interactive-mode: $ZSH_EVAL_CONTEXT \$_ANTIGEN_INTERACTIVE = ...
22c7975442fc2e8bf7b333f6155dd7cc7ddd3923
23
yarn run --silent start
70f0acf3561da3afaa3a1a44cc1cf7a7db8af717
171
#!/bin/bash clear && geth attach http://127.0.0.1:8545 personal.unlockAccount("ADDR") eth.getBalance("ADDR") web3.eth.accounts eth.default = "ADDR" miner.start() exit 0
a0d4468de73df3b4ae2670ff563b64f98ad384e5
192
HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 setopt append_history setopt inc_append_history setopt hist_expire_dups_first setopt hist_ignore_dups setopt hist_verify setopt share_history
fe805054f7634d0ac54372ff603f8dc43052a0d7
103
#!/bin/bash # make sure we are up to date! apt-get update # deploy our apps! apt-get install apache2
a2c8f83e2726485e5d6e6a9616b9abe628bb9c67
557
#!/bin/bash # $Id: loadInitial.sh,v 1.1 2007/01/19 23:15:20 donohuet Exp $ # Run this from cron every 2.5 hours to launch 2 loads. cd /feeds/tmp/GNC mkdir -p LOAD DONE loadfile() { file=$1 mv $file LOAD f=LOAD/$file nohup /feeds/bin/datax -file=$f -db=feedsprd -legacy -import gnc.goldcard mv $f...
2129b0a210dd38b6056a22d5a92eab766b12bd0d
104
#!/bin/bash filename=$1 comment=$2 git add $filename git commit -m $comment git push -u Font_sim master
52203586ba68b43948744d6d128c2b35c8ae5d2e
43
jupyter-nbconvert --execute Untitled.ipynb
65640d385a7cae2c03282113492bddca8c8cb943
44
docker build -t dilshat/global_input_node .
7e6733487f396bf25e8e24d61e1f345d19ba032e
480
#!/bin/bash basepath=$(cd `dirname $0`; pwd) cd $basepath if [ -f "../runtime/hyperf.pid" ];then PID=`ps -A |grep "php hyperf.php start"| awk '{print $1}'` #cat ../runtime/hyperf.pid | awk '{print $1}' | xargs kill -9 && rm -rf ../runtime/hyperf.pid && rm -rf ../runtime/container #cat ../runtime/hyperf.pid | awk '...
f09d8bd899e78c1bf6d7d306e4579c5eb5a0e9fe
1,692
#!/bin/sh dest=$1/include/rapidhttp/layer.hpp echo "#pragma once" > $dest cat $1/third_party/http-parser/http_parser.h >> $dest sed -i 's/extern\ "C"/namespace rapidhttp/g' $dest last_include=`grep "^\#include" $1/third_party/http-parser/http_parser.c -n | tail -1 | cut -d: -f1` tail_start=`expr $last_include + 1` h...
3e7ce9f0acc6cdd9d65600bda186213f2897513b
4,306
#!/ffp/bin/bash # ---------------------------------------------- # Muninlite plugin for DNS-325 # # Used to supervise : # * fan speed # * case temperature # * hdd temperature # # This script needs the following utilities to run : # * fan_control # * smartctl # # To install muninlite on DNS-325, please check : # ...
d5690c4ef7d2ab6e0089b63b84f4e1b47299ab35
181
#!/usr/bin/bash pid=`ps ax | grep -i 'nginx' | grep -v grep | awk '{print $1}'` if [ -n "$pid" ] then echo "Nginx is Running as PID: $pid" else echo "Nginx is not Running" fi
d3158b2f528441f887e022afc51d5989cbb9b20b
77
#!/bin/sh NAME=node PID=`pgrep $NAME` echo $PID > log date >> log wait $PID
66efd4a862c89865236d46d571605d9f6f8d8c64
1,131
#!/bin/bash #$ -q xeonphi #$ -l phi=1 #$ -pe mpi 8 #$ -o out #$ -e err source /hpc/modulos/bash/intel-cluster_studio_xe_2016.sh export SINK_LD_LIBRARY_PATH=/hpc/intel/cluster_studio_xe/compilers_and_libraries/linux/mpi/intel64/lib/:/hpc/intel/cluster_studio_xe_2016/compilers_and_libraries_2016/linux/mpi/mic/lib/:/hpc/...
d9a99baa89bdf2c165d93b5928ececbdae624826
2,507
VCAP_SERVICES={"hana":[{"name":"myapp-db","instance_name":"myapp-db","label":"hana","tags":["hana","database","relational","mta-resource-name:myapp-db","endpoint:https://api.cf.us10.hana.ondemand.com","org:92f20a45trial_trial-npb6v7c8","space:workshops"],"plan":"hdi-shared","credentials":{"certificate":"-----BEGIN CER...
ff8234129b3eeb2e7cab80d5c2b80897dbbfc0de
586
#!/usr/bin/env sh mv esnpolimi_mgmt/migrations/0004_createsuperuser.py . mv esnpolimi_mgmt/migrations/0003_createaccounts.py . find . -path "**/migrations/*.py" -not -path "**/contrib/sites/*" -not -name "__init__.py" -delete find . -path "**/migrations/__pycache__/*" -delete find . -path "**/migrations/*.pyc" -delet...
e786b9b79d42864f8d309fe7fe3fadb56937a954
811
#!/bin/bash SCRIPT=$(readlink -f "$0") bin_dir=$(dirname "$SCRIPT") root_dir=${bin_dir}/.. # Print error message and exit 1 # message - error message fail() { echo $1 exit 1 } # Call asadmin command # args - arguments cmdAsAdmin() { echo "* asadmin $@" asadmin --user admin --passwordfile ${root_dir}/config/a...
2ca1ec479b0d62064118831cb10f9de7f383e782
639
#!/bin/bash # Convenience script to get updates and compile programs # Please adjust to your own path hg pull hg update chmod ug+x hocrwrap.sh chmod ug+x scanwrap.sh chmod ug+x test.sh chmod ug+x textdetect.sh # apparently current laz trunk suffers from not building when it is necessary, so add # --build-all to force...
94b18d9799bfa8bd7c138f65da5b61d19bcfbb62
122
#!/bin/bash firstDay=$1 lastDay=$2 for date in $(eval echo "{$firstDay..$lastDay}") do ./count_deletion.sh $date done
4df35278d3924c5910f0c178bf67c8f7eb7bb2d2
551
#!/bin/bash # VM-side executir for VirtualBox with a shared directory. # This file is part of sqtpm. sharedd=/media/sf_aux dir=$1 input=$2 lang=$3 cputime=$4 virtmem=$5 stkmem=$6 cd $sharedd/$dir &>/dev/null umask 0000 tag=${input/.in/} if [[ "$lang" == "Python3" ]]; then bash -c "ulimit -c 0 -t $cputime -v $...
521a955d8bb39f209cadb43e81b7344920c969f7
93
#!/bin/bash exec "$(cd $(dirname "${BASH_SOURCE[0]}") && pwd -P)/get_oauth" --resource "$@"
b320924b1280fbca66a4bb4fbef173d1b1ea80b1
217
#!/bin/bash #$ -M yiheng.hu@anu.edu.au #$ -m a #$ -cwd #$ -V #$ -j y #$ -pe threads 8 #$ -l h_vmem=5g,virtual_free=5g #$ -N plotting_final_df set -vx cd /home/yiheng/script python plotting_final_df_info_ntblast.py
4fa25320b2f49b0fb963951bc90f2c5ba89a07e7
1,803
#!/bin/bash red=$(tput setaf 1) gren=$(tput setaf 2) yellow=$(tput setaf 3) msg() { local colors="/etc/new-adm-color" if [[ ! -e $colors ]]; then COLOR[0]='\033[1;37m' #BRAN='\033[1;37m' COLOR[1]='\e[31m' #VERMELHO='\e[31m' COLOR[2]='\e[32m' #VERDE='\e[32m' COLOR[3]='\e[33m' #AMARELO='\...
459d5658f649156c01a64d7edc0f166ca599528e
134
DATAFLOW_VERSION=@project.version@ SKIPPER_VERSION=@spring-cloud-skipper.version@ COMPOSE_PROJECT_NAME=scdf COMPOSE_HTTP_TIMEOUT=300
a9686d7e70bc46edeec401c7a198c0bdca932c0f
811
# Maintainer: Andy Botting <andy@andybotting.com> _module='reno' pkgname='python-reno' pkgver='2.2.0' pkgrel='2' pkgdesc='OpenStack RElease NOtes manager' arch=('any') url="https://docs.openstack.org/developer/${_module}/" license=('Apache') makedepends=('git' 'python-setuptools') checkdepends=('python-pbr' 'python-os...
900ad9abc788c077a8d1dec9663a3a7cbec6d2cf
1,030
#!/bin/sh ##+============================================================================= ## ## file : ## ## description : Ce script met à jour l'infrastructure et lance tous les tests pour le package Device Root Java ## ## ##-============================================================================= # ...
6a092f9f128da7ab1643e05d18cd10f4bf56a235
3,991
#!/bin/bash DL_LINK=$1 NOTIFICATION_EMAIL=$2 TEMP_DIR=~/"Movies/Incomplete/" MOVIE_DIR=~/"Movies/Movies/" TV_DIR="/Volumes/TVShowHDD/TV_Shows/" DL_LOG="logs/downloads/" mkdir $TEMP_DIR $DL_LOG $MOVIE_DIR $TV_DIR # Extract filename from download link FILENAME=$(echo $1 | sed 's/%2F/\//g' | egrep -oe '[^\/]*$.*') EXTEN...
dd8ef4bd51f4951bf5726ec8c8f336441da55092
489
# OMDB (The Open Movie Database) REACT_APP_OMDB_API_KEY= # MongoDB MONGODB_CLUSTER= # Twilio authentication and phone numbers TWILIO_ACCOUNT_SID= TWILIO_AUTH_TOKEN= TWILIO_PHONE_NUMBER= # Firestore Admin Service Key FIREBASE_TYPE= FIREBASE_PROJECT_ID= FIREBASE_PRIVATE_KEY_ID= FIREBASE_PRIVATE_KEY="-----BEGIN PRIV...
c6f6a3b389a32cf31de530796d8b9fc1f8c43c1a
61
docker run --rm -it -h jluzcaa01 --name jluzcaa01 jluzon/caa
ee5fcaa250a69744b20bc07d6915f7336e5403b4
452
#!/bin/bash input_file_name=$1 output_file_name=$2 grep "VmSize" $input_file_name > VmSize.txt grep "VmRSS" $input_file_name > VmRSS.txt grep "Cpu" $input_file_name > Cpu.txt awk '{ if(NR==FNR) {a[FNR]=$2;} else {a[FNR]=a[FNR]"\t"$2;} } END {print "" >"'"$output_file_name"'"; len=length(a); f...
9ea037b473e026ad8f2772a7cf0f3457fab053ef
1,239
#!/usr/bin/env bash shopt -s extglob abspath_script="$(readlink -f -e "$0")" script_absdir="$(dirname "$abspath_script")" script_name="$(basename "$0" .sh)" if [ $# -eq 0 ] then cat "$script_absdir/${script_name}_help.txt" exit 1 fi TEMP=$(getopt -o hd: -l help,outdir: -n "$script_name.sh" -- "$@...
bb33e73f2afb9fe7e97ee0b7883d5fc3de6cc0ac
589
#!/bin/bash #Creation of Ansible User sudo adduser --quiet --home /home/ansible --shell /bin/bash --disabled-password ansible sudo mkdir -p /home/ansible/.ssh sudo chmod 700 /home/ansible/.ssh #Make Ansible User Sudoers sudo usermod -aG sudo ansible sudo echo "ansible ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/000-an...
ea844d287415b36d89544f275bf022834ca8e185
1,703
#!/bin/bash # - Installing Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" # - Installing basics brew install \ zsh tmux neovim python3 ag reattach-to-user-namespace \ autoconf awscli brew-cask-completion coreutils \ docker docker-machine ffmpe...
27948c163e983a0e6e5102b6d25776e6d1090896
188
#!/bin/bash TIME=`date +%b-%d-%y` FILENAME=backup-$TIME.tar.gz SRCDIR=/home/seckindinc/Desktop/Projects DESDIR=/home/seckindinc/Backup/Projects-Backup tar -cpzf $DESDIR/$FILENAME $SRCDIR
c912628d830e15874e24a261933776fba1931c25
77
#! /bin/bash mkdir ./0-9 for letters in {a..z}; do mkdir $letters done
e72021ad633e4f8f0bf7301e31556079d1f6021f
121
#!/bin/bash # Starts the ROS environment source /opt/ros/kinetic/setup.bash #PS1= #TODO setup a special ROS prompt bash
4be3afa04a54bdd0e388d387f2423d892cbfdc8d
1,214
#!/bin/bash if [ $# -ne 2 ] ; then echo gettudou-iid.sh 37789103 outbase exit fi iid=$1 outbase=$2 rm -f /tmp/downtudou1.xml if ! wget -q -O /tmp/downtudou1.xml "http://v2.tudou.com/v?it=$iid" ; then echo wget "http://v2.tudou.com/v?it=$iid" failed exit fi if grep -q -i '<meta .*charset *= *"*gb' /tmp/downtudou...
e5e7f219cb7cc4a6a624a34374561e97798c66f3
212
#!/bin/sh pandoc \ --pdf-engine xelatex \ --output rendered/CubehelixExplained.pdf \ CubehelixExplained.md pandoc \ --standalone \ --mathjax \ --output rendered/index.html \ CubehelixExplained.md
1d80fc111343ba3e24bb29749d0d7416b1020eab
6,375
#!/usr/bin/env bash # # Create a base Docker image. # # inspired from https://github.com/moby/moby/blob/master/contrib/mkimage-yum.sh set -e me=$(basename $0) usage() { cat <<EOOPTS $me [OPTIONS] <name[:version]> SYNOPSIS Create an image from scratch with certain packages installed. The resulting image w...
1acd85501b5b055d042d99eb5dc392802ec20d6e
60
hugo server --bind 0.0.0.0 -D --verbose --disableFastRender
64bf266ef4e0b21919257c96e6470d9b7afba1db
979
#!/bin/bash for i in APO IR64 F1;do bowtie2 --rdg 6,5 --rfg 6,5 --score-min L,-.6,-.4 -X 500 --no-mixed --no-discordant --fr -x MSU7 -q --phred33 -p 20 -1 ../FastQC/Rep1_${i}-C_1.fq -2 ../FastQC/Rep1_${i}-C_2.fq | samtools view -bS - -o tt_Rep1_${i}-C.bam bowtie2 --rdg 6,5 --rfg 6,5 --score-min L,-.6,-.4 -X 500 -...
ecf3f17482a07127274cb8d642680726de708212
11,447
#!/bin/bash #=================================================================================================== # # webhook repository # #=================================================================================================== . "${DIR_BIN_LIB}/stfw/domain/gateway/webhook_gateway" . "${DIR_BIN_LIB}/stfw/dom...
365d1bf7c451390dadccae3eb6341a9bc7e2bda7
28
IP_ADDRESS=<YOUR_IP_ADRESS>
4fd5caa9570eb531298065ad4f2cc824b3f85786
416
#!/bin/sh # Find out where we're starting baseDir=$(dirname $_) baseDir="${baseDir}/.." buildDir="${baseDir}/build" yuiBootClassPath="${baseDir}/lib/yuicompressor-2.4.2.jar" args="$*" # Options minSuffix="-min"; # Command used on both JS and CSS files to minify content minifyCommand="java -Xbootclasspath/p:${yuiBoot...
479a08377e30e87c33e6e473d2f8ff0973f234e0
359
APP_ENV=dev APP_SECRET=change DATABASE_DESPIECE_URL=mysql://user:pass@server:3306/database_name DATABASE_INFOTALLER_URL=mysql://user:pass@server:3306/database_name RESOURCES_URL=//localhost:8001/ MAILER_URL=smtp://user:pass@localhost MAILER=email_sender MAIL_INFO=email_info RECAPTCHA_CLIENT=change_token_client_v3 R...
cd839f36673c584869020e24a049c74b15fa2c91
1,378
#!/bin/sh height="$(wc -l < "$3")" height="$(( height + 1 ))" width="$(head -1 "$3")" width="${#width}" around() { r="$1" c="$2" head -"$(( r - 1 ))" > /dev/null # smaller rows head -c"$(( c - 1 ))" > /dev/null # smaller columns head -c3 head -1 > /dev/null # rest of the line head -c"$(( c - 1 ))" > /dev/null #...
92e760c1d2885cc27ac0b5109696ff23ec734f0c
36
#!/bin/bash gcc bfd.c -o bfd -lbfd
d6871c3b2810b8ef794834c6cdc299ab1c4bf6ca
207
#!/bin/bash direction=$1 txt='{"direction":'\"$1\"'}' curl -i \ -H "Accept: application/json" \ -H "Content-Type:application/json" \ -X POST -d "$txt" "localhost:8888/api/direction"
427b44cb9a219d269cf70b4e3a7fe21e02fbf729
1,130
#!/bin/bash #setup.sh #Created By Alex Tong January 28, 2015 #Modified By Alex Tong February 16, 2015 #This script runs the config package to set up a remote linux machine echo "Running ssh-config.sh" ./ssh-config.sh echo "copying .vimrc" cp .vimrc ~ ###################################################################...
1220adb88fce1c0183db106f4654054253d45055
475
#!/usr/bin/env bash set -e echo "Stoping docker containers & delete it with all volumes..." containers=$(docker ps -f name=local_ -a -q) if [ ! -z "$containers" ]; then docker stop $containers docker rm $containers docker volume rm $(docker volume ls -q -f dangling=true -f name=local_) fi echo done. echo "Remov...
b15fae98064e238195c0fabf6a7424ad9d856257
1,186
#!/usr/bin/env bash #=== FUNCTION ================================================================ # NAME: notify # DESCRIPTION: Calls notify-send with some addational logic and defaults # PARAMETERS: [ -t <topic> ] [ -t <timeout in seconds> ] [ -i <icon> ] #=========================================...
f890054c36a57b7057198b58ae2bc8fa8d84cda4
742
wget -c https://grasp.nhlbi.nih.gov/downloads/ResultsOctober2016/Barber/HDLcholChangeWithStatin_Stephens.txt cp HDLcholChangeWithStatin_Stephens.txt 20339536_HDL_change_with_statins.txt wget -c https://grasp.nhlbi.nih.gov/downloads/ResultsOctober2016/Barber/LDLcholChangeWithStatin_Stephens.txt cp LDLcholChangeWithStati...
8139ed0fc565f6e4e318f532e9f7b3da0618da4b
173
PORT=8080 MNEMONIC_SEED="candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" SUPABASE_URL=https://xyzcompany.supabase.co SUPABASE_KEY=public-anon-key