blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
2ff710d8ef1ac2865b9f0f12a13a79017a894133
108
#!/bin/bash sample=$1 DATE=`date +%Y-%m-%d` modified="$DATE"_"$sample" echo $modified cp $sample $modified
8f39aa28d78922abc07c3bdfc73ad4476ce3a64d
57
#!/bin/bash python2 /usr/share/fs-uae/fs-uae-launcher.py
23435ff01e78cd46867e7b90dabe39c0e0ce48da
103
#!/bin/bash docker build -t debian-hbase . docker run --rm -d --network host --name hbase debian-hbase
05e09ec67c04241dbbe369a9d00a6ef6dcc6b0aa
124
#!/bin/bash cd /home/bruce/Git/mono-fsharp-shmupwarz/Platformer/bin/Release chmod +x ./Platformer.exe exec ./Platformer.exe
26862cd6ffb1037c6b08ae220f08a9d8de52fc82
602
#!/bin/bash # ANL:waggle-license # This file is part of the Waggle Platform. Please see the file # LICENSE.waggle.txt for the legal details of the copyright and software # license. For more details on the Waggle project, visit: # http://www.wa8.gl # ANL:waggle-license apt-get install -y htop iotop iftop...
2ba07b9c858c8db5da0054e0dd632647d67d19b5
257
#!/bin/sh cd /tmp wget https://dl.bintray.com/mitchellh/packer/packer_0.7.5_linux_amd64.zip unzip packer_0.7.5_linux_amd64.zip -d /usr/local/bin/ rm -rf packer_0.7.5_linux_amd64.zip /bin/cat << EOF >> /etc/bashrc alias packer="/usr/local/bin/packer" EOF
66da2b729a59343372267c5e2604de6f6b640125
436
#!/bin/bash # prevent using docs copied in docker volume rm -rf $openapiTmp for gateway in $gatewayTmp/*.json; do echo $gateway file=$(basename $gateway) mkdir -p $openapiTmp/$file java -jar /swagger-codegen-cli.jar generate -i $gateway -l openapi -o $openapiTmp/$file done # remove all the extra junk f...
4b1c36e583cd4e7ea0281fb8481cee07f542f148
300
#!/bin/bash if [ -z "$@" ]; then echo "Arguments not present." echo "Usage $0 [list of usernames to revoke]" echo "You can get username from [username].csr" exit 99 fi echo "Revoking users..." for user in "$@"; do #Revoke user /etc/openvpn/easy-rsa/./revoke-full $user done
5bf7a4686e0328c885389aae1c7c6ddd7383973e
4,955
# DEBIAN ################################################################################ # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth # ap...
1ee11ef22fdbaf0d06066ee23228d54da090d80e
1,644
#!/bin/mksh # $MirOS: contrib/hosted/tg/m_1,v 1.2 2009/09/08 16:43:01 tg Exp $ #- # Copyright (c) 2008 # Thorsten Glaser <tg@mirbsd.org> # # Provided that these terms and disclaimer and all copyright notices # are retained or reproduced in an accompanying document, permission # is granted to deal in this work without r...
9d228edba9280232375584ee13f9a2254797bdf1
328
#!/bin/bash fswebcam -d /dev/video0 -r 320x240 --bottom-banner --title "RaspberryPi@Yeelink" --no-timestamp /root/projs/fswebcam/yeelink.jpg curl --request POST --data-binary @"/root/projs/fswebcam/yeelink.jpg" --header "U-ApiKey:51cbf13bf93f679e00c31292aa26ca45" http://api.yeelink.net/v1.0/device/356823/sensor/405013...
2cbe48cbdcd586d65d92123c9cafe489f97ad751
1,555
#datatype="facebook" #datatype="instagram" #datatype="twitter" #lang="es" #cd freq_vob && sh run.sh ${datatype} ${lang} #cd ../trans_vob && sh run.sh ${datatype} ${lang} #cd .. && sh ugc_classify_hadoop.sh ${datatype} ${lang} if false then #processing ru : lang="ru" echo "processing ${lang} !" datatype="facebook" ...
8b46663fc3d4c7300327edd2529cca81c1e81424
3,977
#! /bin/bash # # /HEADER/ # This script is currently on v0.9 # Author: Arthur Pieri # #------------------------------------------------------------------------------------- # OS check so it only runs on GNU/Linux OS_CHECK=$(uname -o) if [ "${OS_CHECK}" != "GNU/Linux" ] then echo "This script was made for the GNU/Li...
65054db6cc73f8b6fcd4e0e846ad0d2c2b4f0905
824
#!/usr/bin/env bash # # Sends stdin to a file and uses a .diff file extension, so vs code can choose # the right formatter. # if [[ -p /dev/stdin ]]; then uname_="$(uname)" # Have to do custom stuff so that this works for both macOS' version of # mktemp, and GNU mktemp. if [ "$uname_" = "Linux" ]; ...
bdf877e17bb3e917e95a98f1628d6a0ec3c232b4
149
#!/bin/bash java -Xms4G -Xmx4G -Xloggc:$1 -verbose:gc -XX:+PrintGCDateStamps -jar target/tomcat-echo-message-1.0-SNAPSHOT-jar-with-dependencies.jar
5706adb4a439dff37d2c8e7c8756f2f4c81bfdb3
182
# installs the packages to be used with atom # # to run do ./atom.sh apm install atom-material-ui atom-material-syntax file-icons pigments minimap linter atom-beautify linter-jshint
a7702442693e874a0e68ed468e2593bb1f34c6f8
830
# Maintainer: pkgname=rs232monitor-git pkgver=r12.cc8077f pkgrel=1 pkgdesc="" arch=('x86_64') url="https://github.com/cdwijs/rs232monitor" license=() depends=('qt5-base' 'qt5-serialport') makedepends=('git') provides=('rs232monitor') conflicts=('rs232monitor') source=("${pkgname}::git+https://github.com/cdwijs/rs232m...
b5cdf27722de864b4d0f8e7cf6fa4ba88044b15b
22
#!/bin/bash chmod o+x
dc3549e2a23f7c3e05c5f75a53df12320bb912ff
118
#!/bin/bash set -e export QEMU_LD_PREFIX="external/aarch64_compiler/aarch64-none-linux-gnu/libc" qemu-aarch64 "$1"
1e23550dee67e0823907f9c676dcc828de25fbe0
466
APScheduler==3.5.0 astroid==2.0.4 certifi==2018.8.24 chardet==3.0.4 colorama==0.3.9 Django==2.0.6 get==1.0.3 idna==2.7 infi.clickhouse-orm==1.0.0 iso8601==0.1.12 isort==4.3.4 lazy-object-proxy==1.3.1 mccabe==0.6.1 mysqlclient==1.3.12 numpy==1.15.1 pandas==0.23.1 post==1.0.2 public==1.0.3 pylint==2.1.1 python-dateutil==...
c2e518dda9e6fe1379b398ccdc9d118e7d14aa9f
180
#/bin/bash ../metis.native -hr -u ../input/kerberos_use_case.json -c krb5 -s normal -o ../results/kerberos_use_case_results.txt -ap ../results/kerberos_use_case_abstract_plan.dot
a515d23cb5e23def3c1ebc138bbeb8d16ecc6413
42
#!/bin/bash make clean make make run
911a66a9123130fd20fe3da1ffa62b0edaff4738
826
APP_NAME=Laravel APP_ENV=local APP_KEY=base64:oul2NrwGq1sKbk/3/e0sTIJTGRqEMgcAxevJJi47GR0= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack DB_CONNECTION=pgsql DB_HOST=ec2-107-21-99-237.compute-1.amazonaws.com DB_PORT=5432 DB_DATABASE=devj8auijjs1lt DB_USERNAME=lcrmvtxurxlfih DB_PASSWORD=b3844a81f18ed1698ff8...
9a8f18d6af01d6eec7acc425f09926bfe774f4e0
953
#!/bin/sh if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi # -- start pulse audio #/usr/bin/start-pulseaudio-x11 & xmodmap ~/.Xmodmap xbindkeys & xcompmgr & # -- slow down mouse xset m 1/5 xrdb -load ~/.Xresources exec xinput --set-prop...
73a85be83e304564684b8e92d7715aa471fca462
125
#!/bin/bash cur_dir=`pwd` sudo sslocal -c $cur_dir/client_config.json -d start # export http_proxy="http://127.0.0.1:8123/"
ef4aca006b386a72169090221008c85c92edb698
1,722
#!/bin/bash psql_host=$1 port=$2 db_name=$3 user_name=$4 password=$5 # Step 0: Write some functions to get appropriate info # All functions below will get appropriate field from vmstat and assign the value to a variable get_timestamp () { timestamp=$(vmstat -t | egrep -v 'timestamp|UTC' | awk '{print $18" "$19}' | ...
98587e756a64c8c5fa9f5a25c4229dfbc507a4a7
967
# Maintainer: Javier Tiá <javier dot tia at gmail dot com> pkgname=sift pkgver=0.9.0 pkgrel=1 pkgdesc="A fast and powerful open source alternative to grep" arch=('i686' 'x86_64') url="http://sift-tool.org/" license=('GPL3') makedepends=('go' 'git') options=('!strip' '!emptydirs') conflicts=('sift-bin') replaces=('sift...
c92ee008acf7cde7a359c0739c51da4d6b1bb9c4
743
#!/usr/bin/env bash main() { action=$1 case "$action" in 'on') enable_wifi ;; 'off') disable_wifi ;; 'toggle') toggle_wifi ;; 'status'|*) get_status esac } enable_wifi() { rfkill unblo...
c78ae28666b1768e7616ac4eee95d4a800806364
2,251
#!/bin/bash -eux UID_GID=$(stat -c %u:%g $0) cd $(readlink -m $0/..) WORKDIR=$(readlink -m build) DESTDIR=$WORKDIR/destdir DISTDIR=$(readlink -m ${PWD}/../../dist) teardown () { set +x if [ "0" = "${CLEAN-1}" ] ; then return fi rm -rf $WORKDIR if hash temboard-agent ; then echo ...
4c836a799aa8c38feb6b8375514129857b8544d1
1,499
#! /bin/sh PANEL_FIFO=${TMPDIR}/bspwm-panel-fifo PANEL_WIDTH=$(xrandr | grep \* | cut -d x -f1) PANEL_HEIGHT=20 PANEL_FONT="-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso8859-*" PANEL_WM_NAME=bspwm_panel if xdo id -a "$PANEL_WM_NAME" > /dev/null ; then printf "%s\n" "The panel is already running." >&2 exit 1 fi ...
9403d7856abb55934158617ec695c33877adb175
375
#!/bin/bash -e systems=$(vagrant status |grep virtualbox | awk '{print $1}') echo -e "\nsystems to test:\n${systems}" for i in $systems do echo -e "\n\n\n========= Running: vagrant up ${i}" vagrant up $i echo -e "\n\n\n========= Testing ssh to ${i}" vagrant ssh $i -c "exit" echo -e "\n\n\n========= Running:...
19da5e2bfd8775f431dc90daa9ae37f41b904540
215
#!/usr/bin/env bash # # A smarter command doing similar to this one may be the "mmv" command. # if [[ $# != 2 ]]; then echo 'Two arguments expected' exit 1 fi mv -v "$1" "$(dirname $1)/$(basename $2)" exit $?
1a9907bea60f4610f95a6f0335de153925871638
730
# Contributor: Jacek Roszkowski <j.roszk@gmail.com> pkgname=ruby1.8-passenger pkgver=2.2.10 _realname="passenger" pkgrel=1 pkgdesc="mod_rails passenger" arch=(any) url="http://www.modrails.com" license=("GPL") depends=('ruby1.8' 'ruby1.8-rake' 'ruby1.8-fastthread' 'boost') source=(http://gems.rubyforge.org/gems/$_realn...
6a9567dd71bba1d24e0894322f72b21810071913
512
#!/bin/bash set -x # warming up yum in the background # yum -y makecache & export CLOUD_PLATFORM="AZURE_RM" export START_LABEL=98 export PLATFORM_DISK_PREFIX=sd export LAZY_FORMAT_DISK_LIMIT=12 export IS_GATEWAY=true export TMP_SSH_KEY="ssh-rsa test" export PUBLIC_SSH_KEY="ssh-rsa public" export RELOCATE_DOCKER=true ...
f3d06f69439ce9dfdd26e64217ac3ba682a6cc4f
801
if [ $# -lt 3 ]; then echo \ "Usage: $0 model_data.txt ngram_order min_occurrences" exit -1 fi DATA=$1 NGRAM_ORDER=$2 NUM_OCCUR=$3 FSMLIB=../../tool_binaries/fsm-4.0/bin GRMLIB=../../tool_binaries/grm-4.0/bin SCRIPTS=./ echo Adding end symbols... awk '{print $0, "</s>"}' $DATA > $DATA.endsymbol #echo Storing dat...
7b3227075d13dc44a390805102b562d86b2ec859
861
# Maintainer: Maxime Gauduin <alucryd@archlinux.org> # Contributor: Yaron de Leeuw <me@jarondl.net> pkgname=python-pies pkgver=2.6.7 pkgrel=1 pkgdesc='The simplest (and tastiest) way to write one program that runs on both Python 2.6+ and Python 3' arch=('any') url='https://github.com/timothycrosley/pies' license=('MIT...
b4192153f961a1cff161675d5ecef564eb9eb3e8
26
#!/bin/sh rados export $@
e874e241bb851747d08944c991311056ee880df9
73
#!/usr/bin/env bash python $(dirname $0)/../src/hardware.py --toggle=$1
94df205c39c4dd61f5c3ea43c6e8c7f41f45bccc
1,144
#!/usr/bin/env bash sample="P4_S8" java -jar script/trimmomatic-0.39.jar \ PE \ -threads 4 \ -phred33 \ -trimlog log.txt \ test_data/${sample}_L001_R1_001.fastq \ test_data/${sample}_L001_R2_001.fastq \ ${sample}_L001_R1_001.trimmed.fastq \ /dev/null \ ${sample}_L001_R2_001.trimmed.fastq \ /dev/n...
9dd5e4415175dce27788a792d8a90a789ac3c254
96
PORT= DB_HOST= DB_PORT= DB_USER= DB_PASS= DB= MQTT_HOST= MQTT_PORT= MQTT_USERNAME= MQTT_PASS=
609c336bea2c4fe531713a7600bce8ba4da03339
107
REACT_APP_AUTH0_DOMAIN=dev-mog04oe0.jp.auth0.com REACT_APP_AUTH0_CLIENT_ID=sMlp24UoIoNavHLO9lidTHgOARFzgxgG
20fac9f68c2163de8c9df88f1b6aaac8390c8807
368
#!/bin/bash set -e brew install libtiff libjpeg openjpeg libimagequant webp little-cms2 freetype PYTHONOPTIMIZE=0 pip install cffi pip install coverage pip install olefile pip install -U pytest pip install -U pytest-cov pip install pyroma pip install test-image-results pip install numpy # extra test images pushd de...
321737347825545e29fbf6924f75a65e0480db50
99
#!/bin/bash cd ~/catkin_ws/ source /opt/ros/melodic/setup.bash source devel/setup.bash roscore
87da071f5e0b4da53faea75bd4e068a849c39efb
41
alias brf="vim $HOME/.dotfiles/Brewfile"
4ae27abc7aa1511ec6b71b3a8010ed0ebb4c7f02
945
#!/bin/bash curl --noproxy localhost -XPUT https://localhost:9200/_template/yaf -u admin:admin -k -H 'Content-Type: application/json' -d ' { "template" : "yaf.*", "mappings" : { "properties" : { "src.geoip" : { "dynamic" : true, "properties" : { "ip" : { "type" : "ip"...
c04089dc5a951f2d2a57311c68d35b6d1058ec79
920
#!/bin/bash # # Samsul Ma'arif @ 2017 <samsul@puskomedia.id> echo "" echo "cek partisi & mount point" df -h | grep /home df -h | grep /var echo "" echo "Cek RAM & swap" free -m echo "" echo "Cek SSH Server" cat /etc/ssh/sshd_config | grep Port cat /etc/ssh/sshd_config | grep Root echo "" echo "Cek user KaryawanX...
3086754ce88d79db6adfc461483fab5ac32534c5
71
#!/bin/bash python -c 'import tensorflow as tf; print tf.__version__'
c96cdadf82a97197839345dc93f7db0a7ffe7d1e
632
python train_mask_gan.py --data_dir='/home/bsonawane/models/data/ptb/' --batch_size=20 --sequence_length=20 --base_directory='./train_2' --hparams="gen_rnn_size=650,dis_rnn_size=650,gen_num_layers=2,dis_num_layers=2,gen_learning_rate=0.00074876,dis_learning_rate=5e-4,baseline_decay=0.99,dis_train_iterations=1,gen...
f220ceee63b7b73cf76a7f5d684a98d947580a3e
85
#!/bin/bash #./main ifile.csv 3 12.98 .3 -.7 ./main ifile2.csv 3 12.98 .57 -.73 -.50
e391b912b5d67efcd36422aa7e848a8cdf653e1e
54
#! /bin/bash echo "$(ls -ltc -m -p)" | sed 's/, /,/g'
5ccf3607b63436c669e5541f663fd6d02c26ac56
813
#! /usr/bin/env bash set -euo pipefail # Cd into FF_HOME cd "${BASH_SOURCE[0]%/*}/../" # build flexflow # "search and replace" bash syntax used below to make shellcheck happy. # see here: https://wiki-dev.bash-hackers.org/syntax/pe CXXFLAGS="${CXXFLAGS//-O2/}" CXXFLAGS="${CXXFLAGS//-std=c++17/}" CXXFLAGS="${CXXFLAGS/...
325d14df4992752ac32c0118c289e7a6d3189f28
955
#!/bin/sh TITLE='Eight melodies' DESCRIPTION='' SOURCE='https://www.youtube.com/watch?v=gQejsvkNOoc http://pastebin.com/zuBGSD0h' beep -f392.00 -l400 \ -n -f440.00 -l400 \ -n -f493.88 -l400 \ -n -f587.33 -l400 \ -n -f440.00 -l1600 \ -n -f783.99 -l400 \ -n -f739.99 -l400 \ -n -f659.26 -l400 \ -n -f523.25 -l400 \ -n -f58...
d515837218b2bc9154955b58cd0b61cfababa15c
13,297
# # install.sh # FreeBSD ZFS custom installation script for use with bsdinstall. # # Usage # First, create a config/script folder for this installation # by executing prepare.sh script on a host such as your laptop. # # cd ~/work # /somewhere/freebsd-install-on-zfs/prepare.sh myfolder # # Then, edit con...
4a37a5a36e1873598a8caf990625228ea7151cc7
239
#docker run -ti --rm -p 8888:8888 -p 4040:4040 -p 8080:8080 --volume=$(pwd):/home/jovyan/work jupyter/pyspark-notebook jupyter lab docker run -ti --rm -p 10000:8888 --volume=$(pwd):/home/jovyan/work jupyter/pyspark-notebook jupyter lab
ab8f08d4c509c2cba69343ff655da3cd23bdc64d
814
#!/bin/sh echo "Preprocessing starting" python3 data_preprocessing.py cp crimes_processed.csv kNN cp crimes_processed.csv naive_bayes cp crimes_processed.csv random_forest echo "Preprocessing done" echo "Preprocessing kNN starting" python3 kNN/data_preprocessing_kNN.py cp crimes_processed_kNN.csv kNN echo "Preprocess...
2f34c5cf68af7ed4834fd3e4394bd0b7e724a66c
658
#!/bin/sh set -e version="1.0.0" name="Postman Echo v$version - openapi" openapi_yaml="./openapi/postman-echo-oas-v$version.yaml" collection_json="./openapi/postman-echo-postman-v$version.json" openapi2postmanv2 -s $openapi_yaml -o $collection_json -p collection_id=$(postmanctl get co -o json | jq -r '.[] | select(...
56be715f9f93880b5e802bb8f3f8658074d7fe29
1,259
set -e -u iterate() { local base="$1" echo "src,n,max,upper,median,lower,min" for adir in "${base}"/*; do if [ -d ${adir} ]; then local num=$(basename "${adir}") num=${num##[a-z]} for fn in "${adir}"/bench_*.csv; do local id=${fn} id=${id##*_} id=${id%.*} transform "${fn}" "${id}" "${num}...
75a731d445a60094bd946fa593bef31932e6c97e
678
ERL=/usr/lib/erlang/bin/erl HOSTNAME='localhost' export HEART_COMMAND="$PWD/test.sh start" case $1 in start) $ERL -smp -heart -detached -sname test -setcookie 3ren -pa $PWD/ebin -boot start_sasl -s test echo "Starting ..." ;; debug) $ERL -smp -sname test -setcookie 3ren -pa $PWD/ebin ...
c8a1d7a703dcdf4b3c898afa6e71f1b1f22cc0b2
244
mnemonic=$1; mkdir -p in mkdir -p out ./readd.sh $mnemonic; chmod 755 in/*sh cd in ./${mnemonic}.sh > ../out/out-${mnemonic}.txt & echo Submitted: ./${mnemonic}.sh echo "> tail -f ../out/out-${mnemonic}.txt" tail -f ../out/out-${mnemonic}.txt
2c2d59fdd8fa6621fed5a229dc406aeb2e38721e
1,288
# bin/sh # Design By BachVQ # Color Shell RED='\033[0;31m' GREEN='\033[0;32m' LIGHTGREEN='\033[1;32m' LIGHTCYAN='\033[1;36m' NC='\033[0m' # No Color PURPLE='\033[1;35m' echo "${RED}-----------STEP 1: Remove all File Form Lang------------${NC}" echo "${RED}REMOVING${NC}" rm -rf lib/assets/lang/* echo "${RED}DONE${NC}...
193553b6356494a989c5ad520763c96c2786d8a9
4,170
#!/bin/bash # Only run as a root user if [ "$(sudo id -u)" != "0" ]; then echo "This script may only be run as root or with user with sudo privileges." exit 1 fi HBAR="---------------------------------------------------------------------------------------" # import messages source <(curl -sL https://raw.gith...
407169a66997182e41d854bc11bfc24dd9547631
309
#!/bin/bash THREAD_FACTOR=2 . $(dirname $0)/config/common_run.sh fw_depends $DBTYPE rvm jruby-9.1 rvm use jruby-$JRUBY_VERSION . $(dirname $0)/config/bundle_install.sh bundle exec torquebox run --io-threads $(( MAX_CONCURRENCY / 2 )) --worker-threads $MAX_CONCURRENCY -b 0.0.0.0 -p 8080 -e production &
bcb7b34f41683e1902274626a8ec41bbba10f328
144
#! /bin/sh set -x aclocal && \ autoheader && \ automake --no-force --add-missing --copy --gnits && \ autoconf && \ ./configure "$@" && \ make
e2bb30b314a3042296e0d9dcf17e2157dbb2efce
311
#code_server = 1652 #sleep_time = 30 for i in {1..30} do echo "angry-bee-agent started" NOW=$(date +"%m-%d-%Y %r") echo "Date: " $NOW #speedtest-cli --server 1652 --simple speedtest-cli --server 1652 echo "angry-bee-agent executed" #sleep $sleep_time sleep 15 echo "Place: UPM" done
64871d5bfea4a1903fbe861b5b7bbd143d1cd102
188
export DISTRO_NAME=fedora export DIB_RELEASE=${DIB_RELEASE:-25} if [ -n "${DIB_FEDORA_DISTRIBUTION_MIRROR:-}" ]; then export DIB_DISTRIBUTION_MIRROR=$DIB_FEDORA_DISTRIBUTION_MIRROR fi
e0b338fe48db03bd109d221004aa2af57de85c8a
96
#!/bin/bash sudo beeline -u jdbc:hive2:// hive cloudera -f problem3/5_create_retail_orders.sql
7dfbe9aa8e79d842ded73ab82bc045e36b5d6c36
668
#!/bin/bash beanstalkd_basedir=$(dirname $(readlink -f $0)) beanstalkd_calldir=$(pwd) cd "$beanstalkd_basedir" set -e apt-get install -y beanstalkd if which php > /dev/null 2>&1; then # install phpbeanstalkdadmin ( cd /var/www; git clone https://github.com/mnapoli/phpBeanstalkdAdmin.git phpbeanstalkdadmin )...
5f22e49262e376fddee906a6b5792a099e5be2f1
144
fastlane gym --scheme MO2W --export_method development --use_legacy_build_api true --include_symbols false --include_bitcode false --clean true
578eb7accacb9ac9807c99fd1860b0eb7d405a28
647
#!/bin/bash if [ $# -lt 1 ]; then echo "Usage:" echo "$ ./run.sh [Path of Test Directory]" echo echo "example: ./run.sh Color\ Models/" exit fi VIEWER=lviewer.debug DIRECTORY=$1 files=`find ${DIRECTORY} | grep --color=never ".obj$"` echo "Bump map path? (skip this step by typing \`enter')"; read BUMP_MAP;...
4599096a3065a95af5f296f8ba4ccd075eee0d7d
610
#!/bin/sh # vim: ts=4 sts=0 sw=4 noet ai # Because Git doesn't support subcommand aliases # Hard-coded path to git # DANGER: Don't replace this with "command git", # doing so will turn this script into a forkbomb! gitpath=/usr/bin/git case "$1" in "stash") shift # discard $1 case "$1" in "diff") shift ...
512bbe23fe6b2738a71667c5472958f437a5b152
3,391
######## # INIT # ######## Init () { ## BASE PRODUCT_NAME=gnos PRODUCT_VERSION=19.07.1 INSTALL_VERSION=$PRODUCT_VERSION INSTALL_DATE=$( date +%Y%m%d ) TARGET=/mnt/target ## BOOTCLONE BOOTCLONE_ROOT=/bootclone-root # DOC DSET root-repo, relative to ZFS_POOL_NAME BOOTCLONE_...
0b129dcd93f0448c63f73518419aa994c47841cb
1,417
#!/bin/bash set -ex apt-get update && apt-get install mariadb-server --yes # As of mariadb 10.5, which bullseye is using, the service name is now mariadb # instead of mysql, but the mysql command is still symlinked. # See: https://mariadb.com/kb/en/changes-improvements-in-mariadb-105/#binaries-named-mariadb-mysql-sy...
9818e2c37bc09dc69b9c62ac83b9b11d06b1def4
194
#!/bin/bash -x #1:string of 3 consecutive characters with no special characters read any pat="^([0-9]*[a-zA-Z]){3,}[0-9]*$" any="aaa1" if [[ $any =~ $pat ]]; then echo yes; else echo no; fi
1cb719c96e67d9e6cf71d7e65eb2805e9d4d820a
777
################################################################################################# # Licensed Materials - Property of IBM # (c) Copyright IBM Corporation 2019. All Rights Reserved. # # Note to U.S. Government Users Restricted Rights: # Use, duplication or disclosure restricted by GSA ADP Schedule # Contr...
5da8a8b9e04f7f2cc633ae9cb73a414c5a3783b5
151
ls -t *.md | while read filename; do echo "filename is === $filename" echo $filename | xargs -L 1 bash -c 'md2json.sh $0' done wait echo "all done!"
ed7cf648a8a9eb6e535a35fcf25fcf27e707b3ff
151
#!/bin/sh # # cURL # http://curl.haxx.se source ./helper.sh $* stage_dl_ac http://curl.haxx.se/download/curl-7.44.0.tar.bz2 \ --prefix=$PREFIX/utils
8ab98846a8f85925cd362cca02cf25e58dd98609
98
#!/bin/bash if [ $(playerctl status) = "Playing" ] then playerctl pause else playerctl play fi
5f854ecc93dc9d0c8a70cd67d6a39ef10c4e6a00
79
#!/bin/bash . ./env.sh docker push ${DOCKER_REGISTRY}/kdl-sparql:${VERSION}
5414aabd484854bd4196bc4d101f6751566fbc43
171
xo ${CONNSTR} -N -M -B -T PersonById -o models/ << ENDSQL SELECT name::text AS name, email::text AS email FROM person WHERE id = %%personId uuid.UUID%% ENDSQL
a566042afd59fcc72b63278fe26093efa44f4f8c
1,965
# If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes for others ZSH_THEME="agnoster" # Which plugins would you like to load? # Standard p...
b769a4338fcf55a77708e6c25922465ce51742b2
1,008
APP_NAME=Signly APP_ENV=local APP_KEY= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://signly.clevermage.com DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=signly DB_USERNAME=slc DB_PASSWORD=root DEPLOY_STAGE_HOSTNAME=clevermage.com DEPLOY_REPOSITORY=cesarfelip3/signly.git DEPLOY_STAGE_BRANCH=master...
5507fd6a0a026a40b0311ea822012d90a0e51d0d
439
#!/usr/bin/env bash # @see https://stackoverflow.com/questions/24671014/exporting-ruby-variables-to-parent-process # Note: 执行简单的ruby代码,导出环境变量 eval `ruby -e "puts 'export foo=bar'"` echo $foo # Note: 执行的ruby脚本,导出环境变量 eval `ruby './05_export_env_var_from_script_to_shell.rb'` echo "ruby_secret1 = $ruby_secret1" echo "r...
5060853dc017e2ee1234b9e142b345400265219b
431
#!/bin/sh -e apt update apt full-upgrade -y apt install -y \ curl \ gnupg curl -sSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb http://dl.google.com/linux/chrome/deb stable main" > /etc/apt/sources.list.d/google-chrome-unstable.list apt update apt install -y \ fonts-noto* \ ...
c41ae178436566d40dadfd8a22d11ef91c251ac1
260
#!/usr/bin/env bash set -euox pipefail cd packages/ui REMOTE_BLOG_DIRNAME="/www/static/github-diary" npm run build rsync -r --verbose out/ $USER@$DROPLET_IP:$REMOTE_BLOG_DIRNAME # !!!! RUN deploy.sh from provision repo as well to _dial in some req'd_ effects
8b85d34e849398d3b26e04279f59a7e476a9280c
451
#!/bin/sh set -e # source debconf library. . /usr/share/debconf/confmodule # lpq, lprm lpr setuid? db_input low lprng/setuid_tools || true db_go # Check for default file, if it is there then set the debconf value default_start_lpd="true" if [ -f /etc/default/lprng ]; then grep -q 'START_LPD=yes' /etc/default/lp...
58626b0a21dcd82023f836e23b6bbe01ee155b4a
3,468
#!/bin/bash ############################################################################## # macOS dependencies build script ############################################################################## # # This script pre-compiles all dependencies required to build OBS # # Parameters: # -h, --help ...
73916ec45004e4d511591d5f7eda04786dba9a30
438
#!/bin/bash # if [ $# -eq 0 -o "$1" = "-h" ] # then # echo 'Usage: testide' # exit 0 # fi tmux resize-pane -D 5 tmux split-window -c '#{pane_current_path}' -p 25 tmux split-window -h -c '#{pane_current_path}' -p 34 tmux send-keys "clear" Enter tmux send-keys "runwatch $1" tmux select-pane -t :.- tmux send-keys "cl...
883eb03cab260622699c9ed19044307866bbce88
431
# Developer: Maik Ellerbrock <opensource@frapsoft.com> # # GitHub: https://github.com/ellerbrock # Twitter: https://twitter.com/frapsoft # Docker: https://hub.docker.com/u/ellerbrock # Quay: https://quay.io/user/ellerbrock # Configuration # Optional Parameter SERVICE_USER=cloudflare SERVICE_HOME=/home/cloudflare...
bcac2c26fae3b7096d2e3e637e33c761aefcd381
21,610
#!/bin/bash #------- # Script for install Alfresco 5.2.f on CentOS # is valid even for ubuntu server you just must replace # the 'yum install XXX' in 'sudo apt-get -qq -y XXX install' # # Inspired from:+ # https://github.com/loftuxab/alfresco-ubuntu-install/blob/master/alfinstall.sh # # ------- echo "--- START ALFR...
09643ac92e22e34d8f70197464a50535c3e0fe06
1,060
#!/bin/sh killall syndaemon if lsusb -d 046d: ; then logger 'using logitech touchpad' synclient HorizTwoFingerScroll=1 \ PalmDetect=1 PalmMinWidth=40 \ FingerHigh=8 \ TapButton1=0 TapButton2=0 TapButton3=0 \ RBCornerButton=3 RTCornerButton=2 \ ...
f9d9865ae2135722396f3cc7a94eedfd9b20a5af
782
#1/bin/bash BASEDIR=$(readlink -f $(dirname $0)) SCRIPT_DIR=${BASEDIR}/img-scripts set -e # Add common variables source ${BASEDIR}/config source ${BASEDIR}/config.default # Restore Redmine Postgres database echo ">>>> Restore Redmine Database." ${SCRIPT_DIR}/redmine-docker/restoreRedmineBackup.sh ${SCRIPT_DIR}/redm...
cd2f38f6e470ef3383381383b4b18dbdbd9f728f
889
#!/bin/bash # This script compares two files(1st and 2nd args -- required) and write down difference into two output files which are created in current or certain (3rd arg) directory if [ "$#" = "1" -o "$#" = "0" ]; then echo "missing arg"; exit 1; fi; # if one or both of files don't exist if ! [ -f $1 ]; then echo...
c649b65b7893cc440f2e61e37bf2befd7ce3345e
4,434
#!/bin/bash LOG=/tmp/stack.log R="\e[31m" G="\e[32m" Y="\e[33m" N="\e[0m" TOMCAT_URL=http://www.mirrorservice.org/sites/ftp.apache.org/tomcat/tomcat-9/v9.0.14/bin/apache-tomcat-9.0.14.tar.gz TOMCAT_TAR_FILE=$(echo $TOMCAT_URL | cut -d / -f10) TOMCAT_HOME=$(echo $TOMCAT_TAR_FILE | sed -e 's/.tar.gz//g') MOD_JK_URL=ht...
84d977457afd7f2de55476e52d2a4d20153680e1
464
#!/bin/bash if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" exit 1 fi mkdir -p certs OPENSSL_SUBJ="/C=US/ST=/L=" OPENSSL_CA="${OPENSSL_SUBJ}/CN=php-dev-env-CA" OPENSSL_SERVER="${OPENSSL_SUBJ}/CN=mariadb" OPENSSL_CLIENT="${OPENSSL_SUBJ}/CN=client" sh ./scripts/genroot.sh "${OPENSSL_CA}" sh ....
97bc94663b9cf1ebe822e1a2bff9bf7a0a8abe3c
1,027
#!/usr/bin/env bash # Takes an list of images (built locally) like uber/peloton:foo123, and tags and # pushes to some registries. # # Usage: # ./docker-push [registry] [image1] [image2] if [[ $# -lt 2 ]] ; then echo "No registry and image passed" >&2 exit 1 fi # first argument is registry REGISTRY=${1} [[ $(un...
6faca4063a4e631904d4f60fe51e7d9fb3e9ea9c
267
#!/bin/bash comp() { ceFile="$(echo "common/coreengine/$1" | sed -e "s/\/\.\//\//g ; s/\/\//\//g")" coreFile= } cd common/coreengine allFiles=$(find . -tye f) cd - for ceFile in $allFiles do comp "$ceFile" "common/core" comp "$ceFile" "common/render" done
738db92437c2a1d6e50127ff5d87b066d64f2152
320
#!/bin/sh # ethernet device driver autotest shell-script set -e #set -x # suspend system before copy data $CMD_SSH <<ENDSSH eval $PREPARE_SUSPEND & ENDSSH sleep 5 eval $CMD_RESUME # Ping the Board -> the host PC if ping -c 20 -I $INTERFACE $GOOGLE & eval $CMD_SUSPEND; then eval $PASS_MEG else eval $FAIL_MEG fi
c0aa0685dbe478dec9b6296ee04a8b555181d81b
2,732
#!/bin/bash (bash /usr/local/share/srvctl/srvctl.sh complicate &>/dev/null &) _fedora_srvctl_options() { local SC_USER ## determine the proper user if [[ -z $SUDO_USER ]] then SC_USER="$USER" else SC_USER="$SUDO_USER" fi #echo "SRVCTL_OPTIONS $SC_USER" ...
c9bf3cb7bcce23a0429a1ca4886a444d3cd178d2
675
################################################# ## Author: David Ribeiro # ## Date: 7/6/2018 # ## Purpose: Automate Application Setup # ## Assumption: Using Ubuntu 16.04 # ## 1) Change to root (sudo) user # ## 2) cd into the directory of this file # ## 3) Run chmod a+rwx <file_name> # ## 4) Run yes | ./<file...
9ae3f150b593a6a585a3a152d9f6eb070133196f
4,745
#!/bin/bash # Usage: # chmod +x ./dev_bootstrap.sh # ./dev_bootstrap.sh $DATABASE_BACKUP_PATH $RAIL_GIT_URL $RAIL_BRANCH $API_GIT_URL $API_BRANCH $RUBY_VERSION $RUBY_RAIL_GEMSET $RUBY_API_GEMSET DATABASE_BACKUP_PATH=$1 if [[ ${2} == http* ]] || [[ ${2} == git* ]]; then RAIL_GIT_URL=$2 else echo "[WARNING...