blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
791fd31f75d448040321c236e14eeed3d349c792
262
PORT=<YOUR PORT SERVICE> TIMEOUT=<YOUR TIMEOUT REQUEST SERVICE> LOG_PATH=<YOUR DIRECTORY LOG SERVICE> POOL_CONNECTION=<YOUR POOLING CONNECTION SERVICE> SFTP_HOST=<YOUR HOST SFTP SERVER> SFTP_USER=<YOUR USER SFTP SERVER> SFTP_PASSWORD=<YOUR PASSWORD SFTP SERVER>
b8bf2bc2cabf7b71d8e51c647c0f9d4799e51c53
1,107
#!bin/bash # Set up Postgres sudo apt install postgresql postgresql-contrib sudo service postgresql start # Set up Node.js curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt install -y nodejs sudo npm init # Set up Express sudo npm install express # Set up Nodemon sudo npm install -g nodemon s...
3290b4a0a4afa4a92cce8ff1750b3abfff305a2f
1,472
set -o vi NEWLINE=$'\n' PS1="; " # PS1="%(?.%F{green}√.%F{red}?%?)%f %B%F{44}%3~%f%b %# " # RPROMPT='%*' export VISUAL=vim export EDITOR="$VISUAL" ### GO PATHS # export GOPATH=$HOME/go # export GOROOT=/usr/local/opt/go/libexec # export PATH=$PATH:$GOPATH/bin # export PATH=$PATH:$GOROOT/bin export PATH="/usr/local/sb...
c9578aac0f54280d17cb5bf8d15cc7783203fa10
791
#!/bin/sh # # OpenSplice For Java # # This software and documentation are Copyright 2010 to 2013 PrismTech # Limited and its licensees. All rights reserved. See file: # # docs/LICENSE.html # # for full copyright notice and license terms. # octave --eval "addpa...
0be20c3906685e1007a7360ec48268b62c6117ae
294
#!/bin/bash #stop the hbase of 10.10.23.31 echo "begin to stop hbase of 10.10.23.31 now !!!!" curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' 10.10.23.31:8080/api/v1/clusters/nn/services/HBASE
ab79cedda9a0d3d4275975ae749beaf95a674621
135
# Vagrant alias vg='vagrant' alias vgu='vagrant up' alias vgp='vagrant provision' alias vgh='vagrant halt' alias vgd='vagrant destroy'
a8ca13247aeb72e1e00a6d0400e4ae81cb6c2e2d
322
#!/bin/bash set -euxo pipefail DIST_DIR="/build/RPMs/x86_64" VERSION=$1 TARGET=$2 docker build . -f "docker/${VERSION}/${TARGET}/Dockerfile" --rm --tag "xmind-rpm-${VERSION}-${TARGET}" mkdir -p docker/dist docker run --rm -v `pwd`/docker/dist:"${DIST_DIR}" -e LOCAL_USER_ID=`id -u $USER` xmind-rpm-${VERSION}-${TARGET...
4eac654bf42bb66fd21220277eb073655ddb9044
827
apt-get update apt-get upgrade apt-get install git-core apt-get install nodejs-legacy apt-get install npm apt-get install mysql-server # apt get install texlive-full wget https://github.com/scottkosty/install-tl-ubuntu/raw/master/install-tl-ubuntu && chmod +x ./install-tl-ubuntu && ./install-tl-ubuntu npm install -g...
713ef64d5cdea1394a236e53475f09f0c943a6cb
83
#!/bin/bash conan search package/6.4@conan/stable | grep Package_ID && echo "done"
362b1d798741f1367dbfc91701695ea37a91ae29
10,829
#!/usr/bin/env 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 # "Lice...
47410f961e9de2da60b68996a1f10891a9b204d9
424
#!/bin/bash python3 get_all_costs.py $1 $2 $3 > all_costs.txt ## grep commands that wrangle the final cost for each barycenter into costs.txt ## find every line that's just a number: get that line and the one before it ## now take only the final decimal number and the following integer cat all_costs.txt | grep -B ...
87285bec7de94e19a37b7eccb1638e349f3bf834
78
sudo rm -rf ../data/* sudo mkdir ../data/data_wordpress ../data/data_database
f6c2f510a6481f245c1face44411313c3f7eccc4
1,294
#!/bin/sh source ./scan_definitions.sh source ./sixdeskenv export study=${workspace} #################i rm -rf missingMad6t.txt for mask in $mask_list do echo "#########################################" echo "### STUDY : $study" echo "#########################################" echo "#...
05d50c6bdb0cf04c47c661baf7dbc39fdfc393f8
239
#!/bin/bash #read name and age echo "Please enter your name" read name echo "and your age please!" read age if test $age -ge 18 then echo "Hello $name you can vote and drink now!" else echo "Hello $name you are $age, still a bwabyy!" fi
a765655a4d92796c8661126f985ec6ad96b0f1a4
533
#!/bin/bash mkdir -p sailboat-log/system echo "-> Starting U200 process.." nohup sh mcu_launcher_u200.sh > sailboat-log/system/u200.log & echo "-> Starting ACTUATORS process.." nohup sh mcu_launcher_actuators.sh > sailboat-log/system/actuators.log & echo "-> Starting CONTROLLER.." nohup sh mcu_launcher_controller.s...
8bd6958fb2ff2a2349537b8b68ead6d758cc3f1d
51
!#/bin/bash cat /proc/sys/net/ipv4/ip_default_ttl
8c9d8b87530fe26a004b87a1650d03f2efaf4296
3,006
#!/bin/bash echo echo 'Plist Parser' echo 'Generating Database...' mkdir Plists; find "$@" -name '*.plist' 2>/dev/null | cpio -pdm Plists; find ./Plists -type f -name "*.plist" -exec plutil -convert xml1 "{}" \; grep -rs "real>[2-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]" -B 1 Plists > realcc.txt; gsed -i ' s/,...
503aefc8c7acfc7f1091f7d3fc0e13efe0b2db26
325
function CtoF { echo "CtoF $1" echo "9*$1/5+32" | bc -l } function FtoC { echo "FtoC $1" } read -p "What temp would you like to convert? " temp read -p "Convert CtoF or FtoC? " convert if [ $convert == "CtoF" ] ; then CtoF $temp elif [ $convert == "FtoC" ] ; then FtoC $temp else echo "$convert is not valid" ...
5c9b111505a2193ef648672b85ed7df9a9b04958
116
#!/bin/bash java -cp .:lib/sqlite-jdbc-3.7.2.jar:lib/java-getopt-1.0.13.jar:bin com/cse/np/sc/ClientMainFunction $*
b820ea0886abe193d8e68808d7b544151a5a2e95
194
#!/bin/sh -ex . "$TESTCONF" rm -Rf .mime mkdir .mime cp -v ../../.init/*/*.mime .mime mime_add_hdr.sh sender@tests.advancedfintering.net recipient@tests.advancedfiltering.net r1 .mime/*.mime
46d27f50b09d5fcfdf2c3d0dd0085aa53aa9c434
253
#!/usr/bin/env bash # Add the site name to the hosts file echo "127.0.0.1 ${VVV_SITE_NAME}.test # vvv-auto" >> "/etc/hosts" # Nginx Logs mkdir -p ${VVV_PATH_TO_SITE}/log touch ${VVV_PATH_TO_SITE}/log/error.log touch ${VVV_PATH_TO_SITE}/log/access.log
588eb9dbf776bc3b0d467ed132052fe2fa4db251
105
#!/bin/bash if [ -f 01-helloworldjj.sh ]; then echo "file exists" else echo "file does not exists" fi
ee558fb08928adf5cdb3ca14d2db83d4f1b20b7f
1,177
#!/bin/bash N_JOBS=64 EXTRA_ARGS="-l 6" if [ $# -ge 1 ]; then CFG_FILE=$1 NEW_JOBS=(`grep 'N_JOBS_COMPUTE' $CFG_FILE`) if [ "${NEW_JOBS[*]}" != "" ]; then N_JOBS=${NEW_JOBS[1]} fi NEW_EXTRA_ARGS=(`grep 'EXTRA_ARGS' $CFG_FILE`) if [ "${NEW_EXTRA_ARGS[*]}" != "" ]; then EXTRA_AR...
b64defa7888fffee7febdd5c12331dea93dd04b9
339
#!/bin/bash while true do # /usr/local/sbin/rtpp_rtpc_test -l 101.201.76.54 -a 120.26.142.114 -p 100 -n 50 -r 2 -j 100 >> /data/rtpp/monitor/`date +'%Y-%m-%d'`.log # sleep 30 /usr/local/sbin/rtpp_rtpc_test -l 101.201.76.54 -a 120.26.142.114 -p 100 -n 300 -m 3 -r 2 -j 200 >> /data/rtpp/monitor/`date +'%Y-%m-%d'`.log ...
d13ea9844cc8c05be6b63332268648ebafb489c3
133
#!/bin/bash sleep 30 & SLEEPPID=$! echo "PID " $SLEEPPID "is sleeping." sleep 5 echo "PID " $SLEEPPID "is sleeping." kill $SLEEPPID
a1399c7aae7178a9800957685dbae85701444fbd
306
#!/bin/bash reset echo "Begin Evolution Cli installation..." CLIENT="/client.py" CLIENT_PATH="$PWD$CLIENT" chmod a+x $CLIENT_PATH SERVER_PATH="/server.py" SERVER_PATH="$PWD$TP" chmod a+x $SERVER_PATH sudo ln -s $CLIENT_PATH /usr/bin/evo sudo ln -s $SEVER_PATH /usr/bin/evo-client echo "Links created."
c7eeeb9d4edc9b4507c64058c09fd4c2618ac99f
674
#!/bin/bash #$ -P bf528 #$ -cwd #$ -V #$ -j y #$ -pe mpi_16_tasks_per_node 16 #$ -M eeklund@bu.edu echo "Running job $JOB_ID" echo "Started: $(date +%F)" echo "Running in directory: $PWD" # your commands here # run module load command on command line before running this script module load samtools/0.1.19 bowtie2 boo...
847c8ace955ee70e8503e227594b554cb00ef694
57
#!/bin/bash GUEST_32_ARCH=1 ./scripts/klee_bigcmd.sh "$1"
3997da4e25b8cd7e2fb5e7b8ac290395d764369d
184
sudo apt-get update sudo apt-get install apache2 -y sudo a2ensite default-ssl sudo a2enmod ssl sudo service apache2 restart echo "This is $VM_NAME" | sudo tee /var/www/html/index.html
6f1c20d4e814894abcfec03789372ab5c78e219e
265
#!bin/sh targeticon=$1 targetdir=$2 for d in /usr/share/icons/hicolor/*/; do d=${d::-1} d=${d##*/} mkdir $targetdir/$d mkdir $targetdir/$d/apps n=${d##*x} if [[ $n =~ ^[0-9]+$ ]] ; then convert -resize $d $targeticon $targetdir/$d/apps/molovol.png fi done
5295432ca63d2c44e25d7623060ae7cf8be76da8
1,588
#!/bin/bash # Stop of get any simple error set -e # This is needed because crontab does not have same env variables are user PATH=$PATH:/home/nwayand/custom/anaconda2:/home/nwayand/custom/anaconda2/bin:/home/nwayand/custom/anaconda2/bin # Timer start=$SECONDS ## Script paths # Where scripts are located ex_dir=/home...
4984292b6a92364d25a1f1bed497e53f727318ca
103
python /home/alen/foodlr/pennapps14/create_events.py >> /home/alen/foodlr/pennapps14/create_events.log
1e20df71a93fcaa26574a3891210a246fca90716
45
#!/bin/sh # wait-for-postgres.sh sleep 10s
b26ba691942cf58bc80d699aafe84e91d49a0b42
382
######################################################################### # File Name: run_rename.sh # Author: ma6174 # mail: ma6174@163.com # Created Time: 2017年06月16日 星期五 18时53分51秒 ######################################################################### #!/bin/bash ./rename_files_function.sh ../0/ ./tmp/ neutral ./...
3af5e2bc6ff69de178da7275ba01127b0a53f7fb
93
parallel --jobs 6 < ./results/exp_readc/run-1/lustre_7n_6t_6d_1000f_617m_1i/jobs/jobs_n2.txt
3763ca96740228300d6777eb028c77f1e88b2621
144
#!/bin/bash if ! [ -x "$(command -v httpd)" ]; then yum install -y httpd24 >&2; exit 1; fi # install apache if not already installed
deb3689d897ad3d9d29462bed2863055d91ca0bd
815
#!/usr/bin/env bash CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS t_index_hypothesis" $CLICKHOUSE_CLIENT -q "CREATE TABLE t_index_hypothesis (a UInt32, b UInt32, INDEX t a != b TYPE hypothesis GRA...
01568f8895f0d56517ebfb450db0c5897d4859db
41
#!/bin/bash docker build -t sri-jenkins .
55660988ff13a9e08852aa631789cce8223d6234
2,935
#!/bin/bash # # Copyright 2018 AT&T Intellectual Property. All other rights reserved. # # 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 # # U...
dd999cf09352bebd8092aa8d953e4c9cd35d75b3
1,192
#!/bin/bash ### before install£¬must modify the hostname and reboot the machine ### ############### attention£” ################# ####################################################################### ### install ruby groupadd puppet useradd -g puppet -s /bin/false -M puppet yum install -y ruby ### time ...
64562ba82f44c18a94eae06d357f7c06bad53fd7
204
#! /bin/bash cd $(dirname $0) common_opt="-hp_opt 0 -K 3 -alpha 0.1 -beta 0.1 -total_iteration 200 -burnin_iteration 0 -log_likelihood_interval 10" ../../lda-train $common_opt -sampler lda ../train lda
c6b6fc735501818193c9522e8f3e8db0959ce4ca
758
if [ -x "$(command -v exa)" ]; then alias ls="exa" alias lsa="exa --long --all --group --icons" fi if [ -x "$(command -v code)" ]; then alias zshc="code ~/.zshrc" fi # Use this version of pip install to install from BlackRock hosted libraries if [ -x "$(command -v pip)" ]; then alias blkpip_install="p...
e6fbc339fdae7e7057740cb55dae850e2893d843
97
JWT_SECRET_KEY = 'benfitbackinternasdcxz' ENV_FILE_LOCATION = '/root/documents/flask-basics/.env'
88f7be6ec2274d6a1780a9aecebb30740a7d41a4
168
How to unmodify a modified file Using tags for version control Using aliases for git commands Make your log output pretty Use `short` status to make output more compact
6fc5f2a9cca001bf7411af3f2972fba5ea007719
191
sudo ./kubeadm-init.raspi-slow.sh & sudo kubeadm init --ignore-preflight-errors Swap --token-ttl=0 --pod-network-cidr 10.244.0.0/16 --apiserver-cert-extra-sans jjo-raspi.kube.jjo.com.ar "$@"
51b752223c72ef7b8f13f345cd4de8f06e5da8c6
66
chombovis state_file=gm_7.state infile=chombo_plt_cnt_0001.hdf5 &
6b3fa6f4b98021f91fd80588f33e3bc003f2a90a
2,186
#!/bin/sh # Optimized for running on Indiana University's RI Odin Cluster # Written by Alexander Hayes | ProHealth && STARAI | Dr. Sriraam Natarajan FINAL=ODINORDER.txt LOG=DETERMINEORDER.txt rm -f $FINAL rm -f $LOG function synchronize { HOSTNUMBER=`hostname | grep -o -P '(?<=odin).*(?=.cs.indiana.edu)' | se...
2ff28985d8ab8cd5e80275a7c63b40e9f6e2e6dc
1,812
#!/bin/bash # 预授权完成 # 接收标准输入: # { # "id": "111111111110012017030100000013", # "bank_list": "20170301145608", # "bank_settle_time": "0301150700", # "pre_author_code": "096207", # ... # } input=$(cat -) status=$(echo $input | jq '.status') op=$(echo $input | jq '.op') if [ "$status" == 1 -a "$op" ...
4adb2a97711c6d35c6cbc5412da87fa2833d2164
179
sudo apt-get update -y sudo apt-get install python3 -y sudo apt-get install python3-pip -y pip3 install flask pip3 install flask_restful pip3 install pymongo python3 webserver.py
7070fbdd8de3ccd68f611a437604a7cb6b7af50d
879
#!/bin/bash input_dir=./input/ output_dir=./output/ ref_dir=./ref/ tests_nr=$(ls $input_dir | wc -w) points_per_test=$((100/tests_nr)) make build if [ $? -ne 0 ]; then "Makefile failed." else total_points=0 for ((i=1; i<=$tests_nr; i++)); do printf "Test $i: " cp $input_dir/tes...
67f19bd0f243cfc1e002c8c327eddc9c4a281568
90
#!/usr/bin/env bash git clone https://github.com/adafruit/zj-58 cd zj-58 make ./install
6af11bd5f222e70e722f8ffa617fdc7af51ebf18
1,338
#!/usr/bin/env bash #colors red=`tput setaf 1` green=`tput setaf 2` yellow=`tput setaf 3` reset=`tput sgr0` echo "${green} _____ __ _____ _____" echo "| | | | | | __|" echo "| --| |__| | | | |" echo "|_____|_____|_____|_____|${reset}" echo "${yellow}Exporting path${reset}" rversion=`ruby --vers...
0c62092742ea164c5c351d5bb90193b5bc023909
45
#!/bin/sh cd /opt python3 slcreader.py slcp
01ffdf82a52d08393ae6be80f90e4eb28c7d4e39
107
python getRDF2.py <<EOF adv_bio.pdb n y EOF cat query.rq |sparql-query "http://localhost:8000/sparql/" -p
0a1544fbf4cfa3fa36a721227fe17372d06f560b
208
Find out if the system's architecture is 32 or 64 bit Change your `hostname` on systems using `systemd` Commands to shutdown or restart the system Cancel a system shutdown Monitor System Memory using `vmstat`
4b1cd5f0360f1b26cdd96f4c1f6fbb6eb0bc9554
2,348
#!/bin/bash # retrieve arguments while [[ $# != 0 ]]; do case $1 in --) shift break ;; --version) ARG_VERSION="$2" shift 2 ;; --download-dir) ARG_DOWNLOAD_DIR="$2" shift 2 ;; ...
b5518548bd90d1a571fd73e604e52bc19ff9cffb
227
#!/bin/bash if [ ! -f "./Anaconda3-4.3.0-Linux-x86_64.sh" ]; then wget https://repo.continuum.io/archive/Anaconda3-4.3.0-Linux-x86_64.sh fi # Let's start the sucker ./Anaconda3-4.3.0-Linux-x86_64.sh -b -p $HOME/anaconda3
96aa8cf0679f2f75a912f2c9525dae8b374ed791
556
#!/bin/bash curdir=`pwd` || exit 1 version=`./getversion` || exit 1 echo "version = $version" ./bootstrap || exit 1 ./configure || exit 1 make -j4 distcheck ...
dba7cca192bb22cffe0aa452d0a27a0e13a5227c
3,855
#! /bin/sh show_version() { wrL <<-. $SCRIPT version 10.124 Copyright (c) 2008-2010 Guenther Brunthaler. All rights reserved. Distribution is permitted under the terms of the GPLv3. . } show_help() { { wr <<-. $SCRIPT - create directories by cloning from a template directory $SCRIPT takes a template direct...
4d84bf7ee4b640c761f5aa271d1125f2e1b4308a
245
#!/bin/sh set -e # brew often partially installs stuff, so run it again and again until complete until [ -e "/home/linuxbrew/.linuxbrew/bin/$1" ] do brew install "ensembl/cask/$1" done brew cleanup rm -rf /home/linuxbrew/.cache/Homebrew
26cbc2c8279db8278417ec4e1e5dbd626cbdcdf8
350
#!/usr/bin/env bash # Configure a Nginx server so that /redirect_me is redirecting to another page. sudo apt-get -y update sudo apt-get -y install nginx sudo service nginx start sudo sed -i "30i \\\tlocation /redirect_me {\n\t\treturn 301 https://www.youtube.com/watch?v=oavMtUWDBTM;\n}" /etc/nginx/sites-available/defau...
60f3462b66ce991720432b0744642df5100b562e
258
#!/bin/bash INPFILE=$1 echo "File: $INPFILE" echo "MD5: $(md5sum $INPFILE | cut -d" " -f1)" echo "SHA1: $(sha1sum $INPFILE | cut -d" " -f1)" echo "SHA256: $(sha256sum $INPFILE| cut -d" " -f1)" echo "ssdeep: $(ssdeep -s hash.sh | tail -n1 | cut -d"," -f1)"
680e503bea037b3aa896e638a844284ecfe93ce6
224
alias fuwu='lsof -Pni4 | grep LISTEN' function unsetproxy() { unset {http,https,ftp}_proxy } function de() { cmd="$@" docker-compose exec dev bash -lc "$cmd" } alias dr='docker run --rm -it -v `pwd`:`pwd` -w `pwd`'
cfcd02c9c68bdb2ec54613602b1261aa67672a0d
274
#!/bin/bash cd /boot wget http://www.frank-buss.de/raspberrypi/kernel-rpi-w1.tgz tar -xzf kernel-rpi-w1.tgz rm -f kernel-rpi-w1.tgz cd /lib/modules wget http://www.frank-buss.de/raspberrypi/modules-rpi-w1.tgz tar -xzf modules-rpi-w1.tgz rm -f modules-rpi-w1.tgz sync reboot
d928f92da4e4c5ce45314b366461f07dd9da1078
390
# vim etc export PATH="/usr/local/bin:$PATH" # rbenv eval "$(rbenv init -)" # pyenv export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" # Visual Studio Code (code) export PATH="/Applications/Visual Studio Code.app/Contents/Resources/app/bin:$PATH" #.bashrcが存在すれば読み込む if [ -f ~...
b46daba397bdd963c7ae319c702b81daea167d1d
43
UID=1000 GID=1000 WP_PORT=80 PMA_PORT=8888
3f1165080a2b059f0ae7e5083dee4bf67e01a630
1,848
#!/bin/bash set -eu sudo apt-get update apt-get upgrade -y sudo apt-get install -y --no-install-recommends \ zsh \ # for VSCode settings sync gnome-keyring \ seahorse # VSCode sudo apt-get install -y wget gpg wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg...
89566f183378aa250b368d256345b7718f202d4a
320
#!/bin/bash # Creates a user record for the current Cloud9 user # Author: Matt Rudge echo "Creating the ${C9_USER} user in MySQL" sudo mysql -e "CREATE USER '${C9_USER}'@'%' IDENTIFIED BY '';" echo "Granting privileges" sudo mysql -e "GRANT ALL PRIVILEGES ON *.* TO '${C9_USER}'@'%' WITH GRANT OPTION;" echo "Done"
52ded3a9e54a700f8f396f5ab2d5042af846679f
97
export ROS_MASTER_URI=http://10.8.0.6:11311 export ROS_HOST_NAME=10.8.0.6 export ROS_IP=10.8.0.6
94de2510e5eadd0cddcc839ff76349788c8f89be
1,893
#!/usr/bin/env bash MASON_NAME=minjur MASON_VERSION=a2c9dc871369432c7978718834dac487c0591bd6 MASON_LIB_FILE=bin/minjur . ${MASON_DIR}/mason.sh function mason_load_source { mason_download \ https://github.com/mapbox/minjur/tarball/a2c9dc871369432c7978718834dac487c0591bd6 \ b24a45f64ae0b75e2fbcbb6b...
390a949544a1c18ee7ddd2613315023a1516aca2
217
#!/bin/sh modprobe rt3070sta ifconfig ra0 up wpa_supplicant -B -Dwext -ira0 -c /etc/wpa_supplicant.conf -P /var/run/wpa_supplicant.pid ifconfig ra0 192.168.0.110 netmask 255.255.255.0 route add default gw 192.168.0.1
30475185eb4fc124e0e6e70be6b5d0d192e37230
2,312
# !/bin/sh #parameters binWidth=0.01 accRadius=200 voxelSize=5 trackStep=25 #output file rs=results.tex if [[ "$1" = "reset" ]] then rm -f *-def-faces.id fi #results resultDir=results if [[ ! -d "$resultDir" ]] then #mkdir "$resultDir" echo "Nothing" fi #empty result latex file echo -n > $rs for log i...
86e57e2202af15c15f31db3017263a366a6caa45
112
#! /bin/bash # FTP ./raw_service.sh vsftpd # APACHE ./raw_service.sh apache2 # TELNET ./raw_service.sh telnetd
2c561a58cb249725961c4f947788078e996d3afc
86
#!sh ffmpeg -framerate 1/24 -i '%03d.png' -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
ceee8dda0ec4b8fa4ad7c6715e5f423c2235f47b
2,432
#!/bin/bash apt-get update apt-get install --download-only -y apt-transport-https curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - cat <<EOF >/etc/apt/sources.list.d/kubernetes.list deb http://apt.kubernetes.io/ kuberne...
e19285a693106517bf0d122b86e7c89cc1f58a2d
4,901
ssh -i "Infracomp_Ubuntu.pem" ubuntu@ec2-52-15-203-191.us-east-2.compute.amazonaws.com ssh -i "Infracomp_Cliente.pem" ubuntu@ec2-18-220-102-71.us-east-2.compute.amazonaws.com grep -e " out " -e "Error" out_ServerSS.txt grep -e " out " -e "Error" server_logs.txt # ------------------------------------- Artifacts # Up...
eaba2ee5fb013a85ac2f99c5a535bd78388e6794
1,051
#/usr/bin/env sh # Ruby Setup # Mostly taken from the wonderful PuPHPet project, used under the MIT license CACHE_FOLDER=/environment/cache # CentOS release we're using OS=centos RELEASE=6 # Start of PuPHPet Ruby Setup <<< rm -rf /usr/bin/ruby /usr/bin/gem /usr/bin/rvm /usr/local/rvm echo 'Installing RVM and Ruby ...
6cd2ffb3f865509b8b118d324784d868f46a02cf
815
# zeesh plugin controller zeesh-plugin() { if [ $2 ] && [[ -d ~/.zsh/plugins/$2 ]]; then case $1 in desc|description) zeesh-plugin-desc $2 ;; enable) echo ":: zeesh plugin $2 enabled" source ~/.zsh/plugins/$2/plugin.zsh ;; prefs) ...
8e422393c86c689cb2c6f7e6d08f348255c08909
661
#!/bin/bash -e # Builds and tests SOCI backend Oracle at travis-ci.org # # Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net> # source ${TRAVIS_BUILD_DIR}/bin/ci/common.sh if [ "${CXX}" == "g++" ] then ORACLE_USER="soci_tester" else ORACLE_USER="soci_tester1" fi cmake \ -DSOCI_TESTS=ON \ -DSOCI_ST...
40e26140e3c43da277bae4ca2174fdf7b7c6bd56
1,228
#! /usr/bin/sh ## # Forismatic Conky # https://github.com/numerals/forq.git # # Copyright (c) 2014 Sartaj Singh, Sumit Sahrawat # Licensed under the MIT license. ## NEW_REQUEST= QUOTE= AUTHOR= help_forq() { echo "Usage: $0 <flag>" echo "Valid flags:" echo " -n : Request new quote from forismatic" ec...
b22b144f3e80e579f64910986e788f0887afadd5
2,414
#!/bin/bash # test deployment and service name we will use to test appName="qnginx001" continue_install=false; namespace="" unset preflight_status print_help() { echo "usage: ./preflight.sh [OPTIONS] Options: -h Prints help. -n string namespace to use. " } # accept value for namespace in c...
93ebcee6337339f0e7a08a9d7080bd9619fb5088
293
VUE_APP_APIKEY=AIzaSyBk9TVjG5eHYUbwm6e50fhQvpISSek-8Pg VUE_APP_AUTHDOMAIN=henryfritz-30302.firebaseapp.com VUE_APP_DATABASEURL=https://henryfritz-30302.firebaseio.com VUE_APP_PROJECTID=henryfritz-30302 VUE_APP_STORAGEBUCKET=henryfritz-30302.appspot.com VUE_APP_MESSAGINGSENDERID=341982203008
b7cb7bbaba792fd48c9cd053b415600798af3ec4
190
#!/bin/sh set -x pandoc --toc --template=./ohnosequences.report.tex ../paper.md --smart -s --biblatex --bibliography ../refs.bib -o paper.tex xelatex paper.tex biber paper xelatex paper.tex
b69aac9c8888b27b25f21f804066482bcd83b5b1
2,260
#!/bin/bash # It is probably redundant if you set settings mentioned in https://gist.github.com/zekefast/42273658939724ba7c7a . # But anyway it will not hurt anybody (sure if you are not putting your production database to RAM :)). # # Look for more detailed description in follow articles: # - http://blog.vergiss-blac...
255ff2b629f844cdc5194ab79d1bd0a11a1faac2
1,193
#!/bin/sh # # Sebastian Rockel, 2010-01-15 # DefCSWait=6 # Seconds to wait default for c-space generation TamsCSWait=10 # Seconds to wait for tams c-space generation DefStageWait=2 # Seconds to wait for Stage world to come up StagePort=6666 NavLocPort=6665 LogPort=6667 world=${1} # Get Stage world as parameter # Chec...
d11399c1941eaef7593a02a8bf71438f5b10a2e2
237
NETEASE_PHONE= #网易云手机号 NETEASE_PASSWORD= #网易云密码 BASEURL= APIURL= TRACKING_ID=UA-134193110-1 ASSETPREFIX= REDIS=1 GATEWAY_URL= ALWAYS_HTTPS=1 NEXT_PUBLIC_SENTRY_DSN= SENTRY_ORG= SENTRY_PROJECT= SENTRY_AUTH_TOKEN=
d658ed9e03c945b0bca5e332fdf2555823ad9245
238
#!/bin/bash arry=("a aa","b bb","c cc") b=(db c d) echo $b function showArr() { arr=$1 echo ${arr[*]} } echo ${arry[*]} echo ${arry[@]} showArr "${arry[*]}" showArr "${arry[@]}" showArr $* showArr "$*" showArr $@ showArr "$@"
ca219383275148572a8a4daf73e7c45512980419
518
# # zsh settings # # use emacs bindings bindkey -e bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word # history options HISTSIZE=1000 SAVEHIST=1000 if [ ! -d $HOME/.history ]; then mkdir $HOME/.history; fi HISTFILE=$HOME/.history/.zsh_history setopt hist_ignore_space setopt hist_ignore_all_dups set...
1a9294f12372831cc26d4248356922ed2ebf8600
600
cd ../ cd ./WIDERFACE/eval_tools/ ROOT="/home/vijay/Documents/devmk4/eureca/eureca_face" MATLAB=/usr/local/MATLAB/R2020b/bin/matlab #NOISE_PARAM=( -1.000000 -0.750000 -0.500000 -0.250000 0.000000 0.250000 0.500000 0.750000 1.000000 ) NOISE_PARAM=( -1.000000 -0.750000 -0.500000 -0.250000 ) for noise in "${NOISE_PARAM[...
de1684fd6eb23a9d63417b61392de2adaa264886
395
#!/bin/bash DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # Install dependencies sudo apt-get build-dep pygame sudo apt-get install -y mercurial libavformat-dev libswscale-dev mkdir -p $DIR/../tmp && cd $DIR/../tmp # Grab source hg clone --cwd $DIR/../tmp https://bitbucket.org/pygame/pygame # Finally build ...
0e73b455e8d5f73c6157b051a24daf2c9c2b40a0
604
#!/usr/bin/env bash # "unofficial" bash strict mode # See: http://redsymbol.net/articles/unofficial-bash-strict-mode set -o errexit # Exit when simple command fails 'set -e' set -o errtrace # Exit on error inside any functions or subshells. set -o nounset # Trigger error when expanding unset variables ...
eda6b1c66c98fc40de23507d58e7b8720c3bcbe4
1,464
#!/bin/bash #First build and run project with script "runWithModulePath.sh" echo "Required dependencies (this works with jdk 12 or latter due to mixing multi release and not multi relese jars)" echo "Thus jdeps from java 11 is useless in this case." #jdeps --list-deps --ignore-missing-deps --multi-release 11 --module...
bfedfd3408b29dc56c9c88e821b89aef20ff9692
2,543
#!/bin/bash # Homebrew if ! which brew > /dev/null; then echo '📦 Installing Homebrew' /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi; # zsh/ohmyzsh echo '📦 Installing zsh' brew install zsh echo '📦 Installing Oh My Zsh!' sh -c "$(curl -fsSL https://raw...
121972039f2d9882264c050d61c2fdbe6b860e44
245
ansible-playbook ansible/ec2.yml -i ansible/hosts --private-key /home/stefanini/work/workspace/kp-stefanini-cateno.pem --extra-vars '{"docker_image_name":"boot-front:0.0.1-SNAPSHOT","local_tar_name":"boot.tar","remote_tar_name":"/tmp/boot.tar"}'
83e854aef7d693901ddf4fcb0414b117e21946d6
4,732
exec > cp4s_install_logs.log export ENTITLED_REGISTRY_PASSWORD=$1 export OCP_URL=$2 export LDAP_PASS=$3 export CLOUDCTL_TRACE=TRUE cloudctl case save --case https://github.com/IBM/cloud-pak/raw/master/repo/case/ibm-cp-security-1.0.17.tgz --outputdir . tar xvf ibm-cp-security-1.0.17.tgz cat << EOF > ibm-cp-security/...
d0cd80d6af746e29936cd48a76b581db84891f34
87
#!/bin/bash docker push $DOCKER_REGISTRY/quickstart/java-simple-mainclass:2.0-SNAPSHOT
6a432b29d9437e9bfc9908e7d270ccfb75d4b9a0
1,619
# Additional environment setting for debootstrap # Add /usr/sbin and /sbin to PATH if chroot command can't be found if ! command -v chroot >/dev/null; then PATH="${PATH:-/usr/bin:/bin}:/usr/sbin:/sbin" export PATH fi # Set a list of command substitutions needed by debootstrap fakechroot_debootstrap_env_cmd_su...
c088be38fda91578cacea5b13ecd0ad3c469eaa3
1,568
#!/bin/bash - #=============================================================================== # # FILE: download-set.sh # # USAGE: ./download-set.sh SET-NAME # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: Alexey Balchunas,...
9f599200e7ea9611b2425f2db28773004be58bb5
269
#!/bin/bash set -e set -u : "${FAQ_BIN:=faq}" export PRUNE_LABEL_KEY=${1:?} export PRUNE_LABEL_VALUE=${2:?} # shellcheck disable=SC2016 "$FAQ_BIN" \ -f yaml -o yaml -r -M \ 'select(. != null) | .metadata.labels[$ENV.PRUNE_LABEL_KEY]=$ENV.PRUNE_LABEL_VALUE'
dbd7067b8fafd6254cf4ddcd12f2a408c44a06fc
252
#!/usr/bin/env bash number_of_secondary_nodes=$(expr $1 - 3) if [[ $number_of_secondary_nodes -gt 0 ]]; then for node in $(seq 4 $(expr $1 - 1)); do sed -i "/^#.*testbed-node-$node/s/^#//" /opt/configuration/inventory/10-custom done fi