blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
691171df65b57acfc54fa43c507735f7fd745c0e
146
#!/bin/sh LD_PRELOAD=/usr/local/lib/libacc_preload.so DYLD_INSERT_LIBRARIES=/usr/local/lib/libacc_preload.dylib DYLD_FORCE_FLAT_NAMESPACE=y bash
3c32ccb434beb17fdc05a9f1aa05097426442322
396
#!/usr/bin/env bash source "$REPO_PATH/lib.sh" install_function() { pushtmp # Version can be found here: https://www.speedtest.net/apps/cli version=1.2.0 url="https://install.speedtest.net/app/cli/ookla-speedtest-${version}-linux-x86_64.tgz" curl -L "$url" | tar xvz "speedtest" sudo install -m 755 speedtes...
c02e4d1221e10cdf7af93370761e6f290a27a98a
2,016
#!/usr/bin/env bash pgsql_in_docker=false pgsql_container=usql-pgsql if [ "$pgsql_in_docker" != true ]; then PGHOST="${PGHOST:-127.0.0.1}" port=$(docker port "$pgsql_container" 5432/tcp) PGPORT=${port##*:} else PGHOST="${PGHOST:-$pgsql_container}" PGPORT=5432 fi PGUSER="${PGUSER:-postgres}" PGPASS...
cb03ad3d33684ef0b7fd5a78f2f29cef4627ba45
459
#!/usr/bin/env bash if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then # develop => edge [[ "${TRAVIS_BRANCH}" == "develop" ]] && TAG="edge" # master => latest [[ "${TRAVIS_BRANCH}" == "master" ]] && TAG="latest" # tags/v1.2.0 => 1.2 [[ "${TRAVIS_TAG}" != "" ]] && TAG="${TRAVIS_TAG:1:3}" if [[ "$TAG" != "" ]];...
18cda9422ae9861849250276b755963a28ae3036
3,688
#https://httpd.apache.org/docs/2.4/install.html #Installing on Ubuntu/Debian sudo apt install apache2 sudo service apache2 start #Ubuntu #The binary is called apache2 and is managed using systemd, so to start/stop the service use # systemctl start apache2 and systemctl stop apache2, and use systemctl status apache2 an...
a865f0db1d9592efbb3edab259a1f3576e687de8
180
cmd() { printf '%s\r' "$@" > /dev/ttyUSB0 && read -rd $'\n' rx < /dev/ttyUSB0 && printf '>%s\n' "$rx"; } # cmd() { printf '%s\r' "$@" > /dev/ttyUSB0 && hexdump -C < /dev/ttyUSB0; }
2833645f350bf8a6d4fa2d3dcc881311bf3ec1ba
5,545
#!/bin/bash # -------------------------------------------------------------------------------------------------------- # Name : Account Manager IAM Access Group Policies # # Description: Add policies to an access group that allow management of the resoruce groups, # users, and access groups in an IBM Cloud account. # #...
26c71664f72fb2024e614c975f37a2c065107cea
899
#!/bin/bash set -euo pipefail SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ETHLOGGER_CHART_DIR="$SCRIPT_DIR/../helm/ethlogger" tmpdir=$(mktemp -d) trap "rm -rf $tmpdir" EXIT render() { local outdir=$1 helm template \ ethlogger \ --namespace ethlogger \ --set networkName=de...
0b65b2ec9cc86d92727a31aa1bb9b89f397eb244
71
#!/bin/bash create-mindLAMP-platform-v1.sh us-east-2 active-passive-10
9dd8a937f48b72827cb9ea1cd73ec639503454a7
260
#!/bin/bash vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php php app/console cache:clear --no-warmup --no-optional-warmers --env=dev php app/console cache:clear --no-warmup --no-optional-warmers --env=prod
60883c85661fed783e77b1b37b4d4d79bf2945be
181
#!/bin/bash if [ $# -gt 0 ];then exec "$@" else tmux new-session -d -x "23" -y "80" -s "skuska" "echo start;sleep 60;echo stop" && \ tmux set -g status off && tmux attach fi
11e3e5d0276ff1f17a82ef36222e7b1984d58fe9
6,621
#!/bin/bash . ./wvtest/wvtest.sh pid=$$ TAX=./host-dhcpvendortax WVSTART "dhcpvendortax test" # Check regex matches WVPASS $TAX -l label -v "AastraIPPhone55i" >test1.$pid.tmp WVPASSEQ "$(cat test1.$pid.tmp)" "dhcpv label Aastra IP Phone;55i" WVPASS $TAX -l label -v "AXIS,Network Camera,M3006,5.40.13" >test1.$pid.tmp...
27f31941876edacaf423e623d2cda806be93012b
637
#!/bin/bash dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" if [ $# -lt 2 ]; then echo "Usage: livecheck.sh <category> <number>"; echo "Does a live check using curl and \ prints \"found <number>\" and exits with error 0 on match, otherwise error 1"; echo "Attention: Do not use for ...
53492658f58d57346ab96a4d768595ceda63a49e
111
#!/bin/sh ./removeTrash.sh git add . echo "What did you change?" read comment git commit -m "$comment" git push
dcc81647bd21fa680a3d46564f868bcadb07e97a
1,340
#!/bin/bash echo "All commands are prefixed with \"chore-\". READ COMMANDS burndown Get a burndown report. completions-needed Get the number of completions needed to achieve high confidence in the average chore duration. get-completion-id Get the database identifier of the active completion of a chore....
773c5147f98d8ed9b1688a8350cece5907878378
136
#!/usr/bin/env bash source activate RNAit ${CONDA_PREFIX}/bin/nginx & ${CONDA_PREFIX}/bin/uwsgi --ini ${RNAIT_ROOT}/etc/uwsgi.conf &
c3eb09f3b79abe738f9ef546fa852ae5c073bc19
203
#!/usr/bin/env bash yum update yum -y install openldap compat-openldap openldap-clients openldap-servers openldap-servers-sql openldap-devel systemctl start slapd.service systemctl enable slapd.service
b935532ae60009731210c28acff670ca34829a89
279
#!/bin/bash dataFile="$(dirname $0)/data_$(date +%s).json" cat > $dataFile <<EOT { "plaques":[1,2,5,6,7,100], "total":100 } EOT curl -i \ --request POST \ --data @$dataFile \ --header "Content-Type:application/json" \ --url http://localhost:8080/demand rm -f $dataFile
aca3b5b902f330dc805df39e6b689076bf6db2a9
62
#!/bin/bash docker rmi chyld/dev docker build -t chyld/dev .
d3895c118799d98a6454fcd0647d3906448c0e72
1,860
#!/bin/bash # Monitor Openshift V3 persisent storage usage project=$1 your_token='thisisyourtokenpleasekeepitsecure' url='https://api.mycompany.openshift.com' if [ -z $1 ]; then echo "Project name is required" exit 3 fi export KUBECONFIG=/usr/local/nagios/libexec/kubeconfig message_text="Disk Usage:"...
e0db9be2b1df272acdd096ca5f8f757af5d0b887
1,108
#!/bin/bash source environ.sh UNSTABLE DEPENDS llvm GIT=https://github.com/ids1024/rust.git GIT_BRANCH=compile-redox DIR=rust unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP function rustbuild_template { case $1 in build) cp ${BUILD}/../ports/rust/* "${BUILD}/${DIR}" ...
71f45bccc8066b4f5bbc03e799a1dbef7d8d5116
1,472
#!/bin/bash set -ex export MASTER_IP=10.10.103.100 export CLUSTER_NAME=100-server export USER=100-emma export CONTEXT_NAME=100-context #now we have v1.0.1 available export VERSION=v1.0.3-dir #strogly recomand to be MASTER_IP:5000 export REPO=dalanlan #Seems that we should run as root sudo ./make-ca-cert.sh ${MASTER...
2acd5e264524c306e36277cbe7f2103561a4e202
224
#!/bin/sh ABSPATH=$(readlink -f $0) ABSDIR=$(dirname $ABSPATH) CONFIG=pocket2rm.yaml if [ $# -eq 1 ]; then CONFIG=$1 fi rm -f $HOME/.config/pocket2rm.yaml ln -s $ABSDIR/../confs/$CONFIG $HOME/.config/pocket2rm.yaml
c25d94576ceb7a75a8497b64ec013b29265c761c
791
#echo 'var roles = ["default.starship", "SuperAdmin"];for (var i = 0; i < roles.length; i++) { print({"role": roles[i]}, {"$addToSet": {"users": {"$each": adminIds}}}.toString());}for (var j = 0; j < adminIds.length; j++) { print({"adminId": adminIds[j]}, {$set: { "adminId": adminIds[j], ...
20ddd274c6da87f94fc30b41f85f478650a1e1ef
372
#!/bin/bash #SBATCH --job-name=VRC01_01_exp_run1a_mutability_vs_time #SBATCH --output=VRC01_01_exp_run1a_mutability_vs_time.out #SBATCH --error=VRC01_01_exp_run1a_mutability_vs_time.err #SBATCH --time=100:00:00 #SBATCH --partition=cobey #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --mem-per-cpu=2000 cd ../../...
890349b7d2acfde2cef111fed80ef457e524d94a
2,682
#!/bin/bash #checking if for the command usage if [[ $# -ne 3 ]]; then echo "USAGE: $0 username/UID groupname/GID abs=/directory_path or rel(wrt to pwd)=path" exit 1 fi #checking if an executable file already exits or not file="executable_files.txt" if [[ -f "$file" ]];then rm "$file" fi #checking for the relat...
827cd5aea9dfb45e470b5735dc2e7df3b8182134
295
#!/bin/bash ethcfg=/etc/network/interfaces.d/eth0.cfg brcfg=/etc/network/interfaces.d/br4090.cfg cp $ethcfg $brcfg sed -i "s/eth0/br4090/g" $brcfg sed -i "/iface br4090 inet/a bridge_ports eth0" $brcfg ifdown eth0 sed -i "s/static/manual/" $ethcfg sed -i "3,$ d" $ethcfg ifup eth0 ifup br4090
903c7004fc25adda57823658967ae9c838bb6bf6
657
#!/bin/sh echo "****** POSTINSTALL STARTED ******" DEPLOY_CURRENT=$HOME/current JSONRPC_CREDENTIALS=$DEPLOY_CURRENT/etc/jsonrpc_credentials.pl ### create database $DEPLOY_CURRENT/misc/dotcloud_db_setup.pl $DEPLOY_CURRENT/bin/cirqued --setup echo " Database is ready." ### create jsonrpc-credentials file and service...
9e45b2758df56070fee8f7cb58e9fc2bd052135b
4,660
#!/bin/sh # Copyright [2018] IBM Corp. All 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 # # Unless required ...
974bbc7ced0f1e852080be40d54c8b39969da886
249
#!/bin/bash # Automating few activities to test on multiple servers # # Update to latest versions sudo apt -y update sudo apt -y upgrade # # Dependency - Install Java sudo apt install -y default-jre # # Remove unecessary apps sudo apt -y autoremove
714ae40340cd8fb5ba8884063fb8d693c763aaf1
2,161
#!/bin/sh export VAULT_ADDR=http://127.0.0.1:8200 if [ -f /vault/file/unseal ]; then echo "starting vault!" vault server -dev -dev-skip-init -dev-listen-address=$VAULT_DEV_LISTEN_ADDRESS -dev-root-token-id=$VAULT_DEV_ROOT_TOKEN_ID -config /etc/vault/config.hcl & echo "unsealing!" while true; do ...
577ffcc369d473f99c56ff1731cae9fcdea2e98b
138
sudo apt-get update sudo apt-get install mysql-server mysql_secure_installation sudo pip install pandas, pymysql, sqlalchemy, matplotlib
4cff479af09f7fa97b1ae051e030c7713d5a487e
63
#!/bin/bash while [ 1 ] do sleep 1 ./topinfo.sh & done
99616616c052d1603e97615194ca47eb6c88f1a4
580
echo "|------------------------------------------------|" echo "| Please ensure that aspell is installed! |" echo "| If you want to have syntax highlighting, you |" echo "| just need to enable it: |" echo "| mv /ffp/etc/examples/nanorc /ffp/etc/ |" echo "| ...
6dc72f927b6328108cd59d11ea8fccbaeb3d611c
119
#!/usr/bin/bash echo $1 |curl -F-=\<- qrenco.de # Sanple: # bash generate_qrenco.sh https://github.com/xingangshi
44752c1fd6760ba7a2d5175b55818f0af2644faa
56
#!/bin/bash cd dev-in-a-box/quickstart ./uniquid start
72a05ebd49f48dedb6360bebf909b0f0ca2cecba
2,443
#!/usr/bin/env bash set -e # handy functions {{{ function abspath_portable() { # BSD readlink is different from GNU readlink, ugh. [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" } function is_integer?() { [[ $@ =~ ^-?[0-9]+$ ]] } function abs_path() { local abs_path=$(abspath_portable "$0") pr...
25e1eff1035f55b1e885baf41fc4b62bd341acdb
6,089
#!/bin/bash ##script para gerar as tratografias das labels para aseg, e gera ficheiro fa, trace, prependicular e parralel difusitivity; ainda gera um labelmap com o corpo caloso (partes) ##versão sem imagem T2 ##Version Slicer4.3 SlicerHome="/home/lapsi/Documentos/Slicer-4.3.0-linux-amd64" FreeSurferHome="/usr/local/f...
552a674789f5b3aad299c0206010d46ff027ed2f
322
#!/bin/sh if [ "$TERM" = "linux" ]; then /bin/echo -e " \e]P0202020 \e]P1c65e56 \e]P25a634c \e]P3d79c4f \e]P469819e \e]P586628f \e]P66f625d \e]P7bcb298 \e]P8686868 \e]P9bc4d44 \e]PAb5b470 \e]PBe3e38e \e]PC39a8d1 \e]PDde527a \e]PEf6e1bf \e]PFe2e2e2 " # get rid of artifacts clear f...
fc7dfbb67f5be9329020f43bb9767e638b309704
154
#!/bin/bash while true do ./getHOUS.py >& getHOUS.log DATE=`date +%Y.%b.%d.%H.%M` mv getHOUS.log getHOUS.log.$DATE gzip getHOUS.log.$DATE done
56315e1eb22793d7dd83e5308c70c2b0f95937c3
2,869
#!/bin/bash cat >daemons/kube-master.yml <<EOF version: '2' services: kube-api: image: bestmike007/hyperkube:v1.9.1 container_name: kube-api restart: always network_mode: host volumes: - /etc/kubernetes:/etc/kubernetes:ro command: "/usr/local/bin/kube-apiserver \ --apiserver...
d6bf334494d52d44764f2c80475e6b09a470d251
2,175
#!/bin/sh # # Copyright 2008 Victor Lowther <victor.lowther@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. . "${PM_FUNCTIONS}" # Test to see if the kernel has a vi...
9a55df78afd40e933aed2e9a0390ff2ffab1912e
1,201
#!/bin/bash for i in {0..35} ; do if ! [ -e tests/test$i.in ] ; then echo "You are missing the file tests/test$i.in. Please add it and start again." exit 1 fi if ! [ -e tests/test$i.out ] ; then echo "You are missing the file tests/test$i.out. Please add it and start again." ...
356d3b1763c46fd19446031b9f719698f9dccb8e
54
#!/bin/bash SERVICE_NAME="group_nfs4" . generic_send
c449715cb1f9ca366fdf07201bf1834b3173fe79
75
#!/bin/bash echo `openssl rand -base64 32 | cut -c4-18 | tr -dc a-zA-Z0-9`
01ac76a4daf3e34b3c1c545efefdeb0cbccd1cb2
200
parameters: dummy_flavor_name: "dummy.default" dummy_image_name: "dummy" dummy_name_0: "dummy_1_0" vf_module_id: "PROVIDED_BY_ONAP" vnf_id: "PROVIDED_BY_ONAP" vnf_name: "PROVIDED_BY_ONAP"
dd9f52f0493b795ce3bac228d4a4a08231995cc6
192
#!/usr/bin/env bash rm -rf build rm -rf dist #python setup.py build_ext --inplace #python setup.py install python setup.py sdist pip install dist/*.tar.gz --force-reinstall rm -rf ./*.egg-info
47725b1969beb31e8ae69ad74e488de267c09af6
892
#!/bin/bash . ./conf MBASE="$MONO ./mb0.exe" REPL="$MONO ./repl.exe" TDIR=../src/l/tests/ echo "L1" $MBASE /I boot2.alc $TDIR/level1/test.al | grep -v OK echo "L2: boot2.alc, libnet.alc, int" $MBASE /I boot2.alc /I libnet.alc $TDIR/level2/test.al | grep -v OK echo "L2: boot2.alc, libnet.alc, comp" $MBASE /I boot2.al...
a076b8dfbc0cc2e155c52be5268fb35a07f4df80
156
alias ll='ls -al' alias drush='sudo -u www-data drush' alias git='sudo -u www-data git' alias wget='sudo -u www-data wget' alias ssh='sudo -u www-data ssh'
169d5a91d4669a1ec2d98ea3fe8f5ba63735bfcc
236
GOOGLE_MAPS_API_KEY= DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_USERNAME= DB_PASSWORD= DB_DATABASE= ZD_SHARED_SECRET= AUTH0_CLIENT_ID= AUTH0_DOMAIN= AUTH0_CLIENT_SECRET= AUTH0_CALLBACK_URL= AUTH0_LOGOUT_URL=
34d22cb4f94821b42b2b35f047ab7392157bc465
48
#!/bin/bash source $HOME/.cargo/env exec "$@"
c75f9a4a83a6b56cbb0553d1b8e78fb53b50b1b2
173
#!/bin/bash echo >>/usr/src/linux/.config " # Docker CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_CGROUP_PIDS=y CONFIG_CGROUP_HUGETLB=y CONFIG_IPVLAN=y CONFIG_CGROUP_NET_PRIO=y"
c374141b86e20afbda2dc0a48a76ee60c960acc6
442
#!/bin/bash if [[ "$#" -ne 1 ]]; then echo "./run_tests \$BUFFER_SIZE"; else ./clean.sh gcc -fsanitize=address main.c get_next_line.c get_next_line_utils.c -D BUFFER_SIZE=$1; ./generate_tests.sh; [ -d output ] || mkdir output; ./a.out tests/*.txt; for file in tests/*.txt; do diff -q "$file" "output/output_$(ba...
32a23b24c473758956addb9e1f588b11d0926fcb
1,782
## make sure your EC2 instance has the correct security group and is open on the connecting port # ------ Typical ~/.ssh/config ------ ## Personal # Host jahdocker #my docker dev # Hostname 34.195.153.103 # User ubuntu # IdentityFile ~/.ssh/personal/jah-docker.pem # ------ Install Docker Non-Sudo ------ ## lo...
96516aedbed113980bfae97b47d7106f663da071
90
Cron_Expression='* * * * *' App_Id=<<App Id generated from https://openexchangerates.org>>
fc2fd24a544f7c9476ac6980ff99608825d43733
412
#!/usr/bin/env bash # remove currentView file rm ./library-1.1-beta/config/currentView # move configurations files to ~/config cp -rf ./configurations/network/hosts.config ./library-1.1-beta/config/ cp -rf ./configurations/network/system.config ./library-1.1-beta/config/ # need to compile classes (if you modified th...
c9d92ed123c233ffabaf01498f79fe518f8c4535
340
#!/bin/bash SESS=$1 for EXP in {1..10} do # python data_process/2_divide.py \ # --session $SESS \ # --exp $EXP ipython main.py \ --pdb \ -- \ --session $SESS.$EXP \ --exp $EXP \ --config ./protos/$SESS.yaml \ --curr_time $EXP \ --ckpt_out $SESS.$EXP \ --model_out $SESS.$EXP...
a30943e5819e4c97a3da300804905b1e9eca7c6b
1,724
#!/bin/bash #IGNORE=("N/A") PHPVERSION=$(echo php$(php --version | awk '/^PHP/ {print $2}' | cut -d '.' -f 1-2)-fpm) while IFS="" read -r host || [ -n "$host" ]; do DOMAIN=$(echo "$host" | cut -d';' -f1) TLD=$(echo "$host" | cut -d';' -f2) OWNER=$(echo "$host" | cut -d';' -f3) if [[ ! "$DOMAIN" =~ ^# ]]...
40cfe4ecaa9f5fc3db785f99fe81b71423d8a344
943
#!/bin/sh set -x mkdir -p /data && cd /data if [[ ! -d "/data/pki" ]]; then /usr/share/easy-rsa/easyrsa --batch init-pki /usr/share/easy-rsa/easyrsa --req-cn=openvpn-server --batch build-ca nopass /usr/share/easy-rsa/easyrsa --keysize=${VPN_KEYSIZE:-2048} --batch gen-dh openvpn --genkey --secret /data/pki/ta...
905e9f3ce87c0ae1bfe3356709a3049d7ba23c63
43
#!/bin/sh paplay ~/.local/sounds/beep2.ogg
e512987c37932b7613ee35962cf336adcf406224
48
export SSH_ASKPASS=/usr/libexec/x11-ssh-askpass
bd7c758dc5677b425c135efaa55be0f5f475e541
1,935
set -ex echo " ############################################ ###### ses6_disk_fault_injection.sh ###### ############################################ " . /tmp/config.conf # calculating PG and PGP number num_of_osd=$(ceph osd ls | wc -l) num_of_existing_pools=$(ceph osd pool ls | wc -l) num_of_pools=1 function power...
07af86e3b16bc8f5fea1421e1a597174c4d7c51c
35
export PORT=5001 export DEVENV=true
c911a75795b5c1da569068a6635e57b5abb2e610
293
#!/bin/bash # remove exited containers: docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v # remove unused containers: yes | docker container prune # remove unused images: yes | docker image prune # remove unused volumes: yes | docker volume prune echo "" df -h
1ed9454e012e6b883368da3a44034d66a3c1b9ee
861
# Converts some annotation properties in the ontology file $1 # Sends output to $2 (default is lode_bioknet.nt) # into rdfs:comment annotations. This is necessary to render the file in LODE (http://www.essepuntato.it/lode), # since it doesn't understand many other properties (https://github.com/essepuntato/LODE/issues...
b49dbc7122c4e79601087a6b88bd00b7a205f4b3
1,612
#!/bin/bash export MAIN_DIR=`pwd` export GALOIS_DIR=$MAIN_DIR/Galois/build/lonestar export PMOD_DIR=$MAIN_DIR/PMOD/Galois-2.2.1/build/apps mkdir -p output echo "" > output/MST.out echo "${green}Running MST with RELD${reset}" echo "Running MST with RELD" >> output/MST.out $GALOIS_DIR/boruvka/boruvka $MAIN_DIR/datase...
98d80b1e32f962d36e64964b5b2c7871a171d0a2
132
#!/usr/bin/env bash set -euo pipefail cd src terraform validate -var-file=deployment/$CLIENT_ENVIRONMENT/$CLIENT_ENVIRONMENT.tfvars
a328b8970e6c0b4aa9f0d3df2752fe61fa497d3f
217
#!/bin/bash set -o errexit python --version 2>&1 | grep -qE "3.7.[0-9]" || { echo "Need Python 3.7.x, have $(python --version)" && exit 1; } pip install pip-tools==5.4.0 pip-sync requirements.txt pre-commit install
7376cbc4f911ebf3a7f42ba6b09b147e2c3f5428
432
#!/bin/bash #install the maven in /opt cd /opt #download the apache maven wget https://mirrors.estointernet.in/apache/maven/maven-3/3.8.1/binaries/apache-maven-3.8.1-bin.zip #unzip the file unzip apache-maven-3.8.1-bin.zip #rename mv apache-maven-3.8.1 maven38 #change the ownership to the jenkins chown -R jenkins:jenki...
ba2b6fd7c100edaa9e98dfec0a81372ecba64db2
1,813
#!/bin/bash ############################# # change variables here # NOTE that total test time = (TEST_DURATION + 5) * set size of next 5 vars, # for example (60 + 5) * 3 * 3 * 5 * 2 * 9 = 52650 seconds, or 14.6 hours. DDS_BACKENDS='rmw_connextdds rmw_fastrtps_cpp rmw_cyclonedds_cpp' F_PUBLISHER_SET='1 10 20' MSG_SIZE...
fcec2852dec593aaed5ff8c46c640781974ffb42
890
#Part 1:writes file with unique gender-years-experience combinations in wages.csv #Part 2:prints info for highest and lowest earners and number of females in top ten #Part 3:effect of graduating college on min wage #Usage: bash hwk6.sh wages.csv #Part 1 cat wages.csv | grep -v "gender" | cut -d, -f 1,2 | sort -d | un...
ab65854c6765157b18fae29e290aed37cdd4b276
1,608
# $Id$ # Maintainer: Yuui Tanabe <yuuitanabe@163.com> pkgbase=mingw-w64-pinentry _realname=pinentry pkgname=(${MINGW_PACKAGE_PREFIX}-${_realname}) pkgver=1.1.0 pkgrel=1 url="https://www.gnupg.org/software/pinentry/index.html" license=('GPL') pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize th...
624121aab4ec37aaf4a6a3f45833d7f6283a34d5
105
#!/bin/sh osascript <<-APPLESCRIPT tell application "Finder" to display dialog "Hello World" APPLESCRIPT
59bb07351c5429f46864cdbefcc0ae081adf73fb
69
pip install -r requirements.txt;pip install -r requirements_dev.txt;
76e4c5ef045e567d571f2ccf6fe71d10954945ab
1,508
############################ # Configuration ############################ ## # Get the id of the currently running X windows process. e.g. ":0" ## export DISPLAY=$( ps aux | grep \/usr\/bin\/X | grep -v grep | sed -e 's/^.*\/X \(:[0-9]*\).*$/\1/' ) ## # Get the id of the mouse, according to xinput ## export MOUSE_ID=...
d24b77481c984659b062b77977cefe99c642858c
389
#!/bin/sh currentState=`cat /tmp/mp3_state` clear echo "Welcome to MP3!" sleep 1 clear echo $currentState while : do if [ `cat /tmp/clear_flag` -eq 1 ] || [ "$currentState" != "`cat /tmp/mp3_state`" ]; then currentState=`cat /tmp/mp3_state` clear echo $currentState echo '0' > /tmp...
a5f45d0f8b354189b8a1c55e711296c1156da310
1,599
#!/bin/bash verbose=0 tag=v10 ana_type=ss path=/nfs-7/userdata/${USER}/babies/ewkino2012/${ana_type}/$tag # make the output dirs mkdir -p logs # do the merging function post_process { mkdir -p $output_path mkdir -p logs/${tag} local at=$1 local sample=$2 local input=$3 local br=${4:-1.} ...
bf051d8aacee73ca3542a4e0dddbab879ffc1612
1,680
#!/bin/sh # # Simple Redis init.d script conceived to work on Linux systems # as it does use of the /proc filesystem. # chkconfig: 2345 90 10 # description: Redis is a persistent key-value database REDISPORT1=7001 REDISPORT2=7002 REDISPORT3=7011 REDISPORT4=7022 EXEC=/usr/local/redis/bin/redis-server CLIEXEC=/usr/...
d4f496a6efc6a66e415c6abd3b7c6945f85c3709
868
#!/bin/sh export CLASSPATH=lib:webapp/WEB-INF/lib/scala-library.jar:lib/jetty-6.1.22.jar:lib/jetty-util-6.1.22.jar export CLASSPATH=$CLASSPATH:lib/servlet-api-2.5-20081211.jar:webapp/WEB-INF/lib/paranamer-2.0.jar:webapp/WEB-INF/lib/httpclient-4.0.1.jar export CLASSPATH=$CLASSPATH:webapp/WEB-INF/lib/dispatch-http_2.8.0...
3f46b128e6b47c0f43de2c8138b20255d6a8d896
343
# Download the latest database from stage.elocal.com and # index the new data with Solr. cd /Users/tom/Code/elocal/ bundle exec thor db:import:stage bundle exec rake db:migrate bundle exec thor solr:index_accounts bundle exec thor solr:index_categories bundle exec thor solr:index_profiles bundle exec rake email:nightl...
79e340bed62328ebfd29fac8c6d449ed7bf6cc89
16,461
curl -X POST http://localhost:8501/v1/models/vgg199:predict -d '{"instances":[{"x": {"b64": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxQTEhUTExMWFhUXGB4XGBcYGBobGBgZGRcdFxcaGBcdHSggGB0lHRgXITEhJSkrLi4uGB8zODMtNygtLisBCgoKDg0OGxAQGy8lICUtLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0vLS8rLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAKYBMAMBIgACE...
f5d1f3017ea866c4457dacac1016eec5f6aab8b1
4,330
#!/bin/sh SIDLIST=`/usr/local/bin/php /data/htdocs/stats/scripts/get_sid_list.php` RSORTSIDLIST=$SIDLIST SIDLIST="" for a in $RSORTSIDLIST do SIDLIST=${a}" "${SIDLIST} done for i in $SIDLIST;do dt=`date "+%Y-%m-%d %T"` echo "[$dt] run /data/htdocs/stats/infobright/test_referrer.php sid=$i fixdate=$j" /usr...
e89491d3c3150f7e3cfbff193636fdc00ad85f0b
3,893
#! /bin/sh SRCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" LOGFILE=$SRCDIR/../logs/log PACKAGESLOG=$SRCDIR/../logs/packages echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >> $LOGFILE echo " Entered $0" >> $LOGFILE USER=$1 HOMEDIR="$(eval echo ~$USER)" echo " Running as user $USER" >...
d2e3936409f9b7de3e7e830325a969c918da2809
177
#!/usr/bin/env sh mvn() { docker run --rm \ -v $(pwd):/project \ -v /usr/tmp/.m2:/root/.m2 \ my_mvn $*; } install_mvn_alias() { cp ./shell.sh >> ~/.alias; }
0a5b66e89751eae81682c5e9fd72bc104377fd26
939
#!/bin/bash # bld_cad6.bash # This script builds a sql script. . /pt/s/rluck/svm6/.jruby set -x cd $SVM6 cd svm/ # cad6t.txt will be the 'top' of cad6.sql cat abc6t.txt | sed 's/abc/cad/g' > cad6t.txt # cad6m.txt will be the 'middle' of cad6.sql cat abcxyz.sql | sed 's/abc/cad/g' | sed 's/xyz/eur/g' > cad6m.txt ...
792aa1f435c7778ea021944f82a073ae7427c6f8
129
#!/bin/sh mvn clean package && docker build -t org.digam/ims-users . docker run -p 8081:8080 --name ims-users org.digam/ims-users
702ead4b553fe7c749e37609ec0231e4922b4257
37
g++ main.cxx -o urdt ./urdt > output
17a1c37bf7e566386c3e21f73152a1e4885832e3
482
#!/bin/sh # sudo eopkg it libsass sassc inkscape optipng make # sudo pacman -S libsass sassc inkscape optipng make mkdir -p $HOME/.git-install cd $HOME/.git-install git clone https://github.com/pop-os/gtk-theme cd $HOME/.git-install/gtk-theme sudo make uninstall sudo rm -rf /usr/share/themes/{Pop,Pop-Eta,Pop-Nokto,P...
9d210be01ad2d0781df117f99fbe79da5ce97450
237
#!/bin/bash echo "**********************************************" echo "------------Environment Variables------------" echo "Java Options : $JAVA_OPTS" echo "**********************************************" java $JAVA_OPTS -jar app.jar
a6b3722bdad7e173df5813e55489930c0f814e19
316
#!/bin/bash set -eu mkdir -p $PREFIX/bin export CPP_INCLUDE_PATH=${PREFIX}/include export CPLUS_INCLUDE_PATH=${PREFIX}/include export CXX_INCLUDE_PATH=${PREFIX}/include export LD_LIBRARY_PATH=${PREFIX}/lib export LIBRARY_PATH=${PREFIX}/lib ./configure --with-libmaus2=${PREFIX}/lib --prefix=${PREFIX} make install
853b6d05eb9cccdf7e7c7f9fe5e8191914498efd
539
#!/bin/bash echo 'Setup git/contrib/diff-highlight...' # debian if [ -e /usr/share/doc/git/contrib/diff-highlight ]; then sudo ln -s /usr/share/doc/git/contrib/diff-highlight/diff-highlight /usr/local/bin/diff-highlight sudo chmod +x /usr/local/bin/diff-highlight # Fallback to download old one script diff-hig...
a0e416f7bd5bd2539c2cf815c1f9cc34563f0f44
299
#!/bin/sh /usr/sbin/rfkill unblock bluetooth /usr/bin/hciconfig hci0 up /usr/bin/hciconfig hci0 piscan systemctl start obex sleep 2 echo -e "connect 5A:5A:5A:A6:3B:C7\nquit\n" | bluetoothctl sleep 2 pactl set-default-sink bluez_sink.5A_5A_5A_A6_3B_C7 # hack for wifi #sleep 10 #ifconfig wlan0 up
0b91b78e43ce51ed6c35cf3bcb571d02cb668e5c
8,274
#!/bin/bash ########################################################################### # NAME: genSamples.sh # AUTHOR: Ulyouth # DATE: 10.06.2020 # DESC: A script to generate sCO2 case samples using OpenFOAM for # varying Myong-Kasagi model coefficients. The coefficients # at the moment are: A*,...
bd8c182e7eb313e1536e2ad2ddfe04ab0587c524
1,546
#!/bin/bash # resolve links - $0 may be a softlink this="${BASH_SOURCE-$0}" common_bin=$(cd -P -- "$(dirname -- "$this")" && pwd -P) script="$(basename -- "$this")" this="$common_bin/$script" # convert relative path to absolute path config_bin=`dirname "$this"` script=`basename "$this"` config_bin=`cd "$config_bin"; ...
06fc3e438200340f6dc229ed42fc2ccfbc39736f
30
#/bin/bash matchbox-keyboard
c74385be2fa861d4ff0909d6cbe2f2feaa41f7d1
230
echo "Query account 'instagram', download 20 photos and their captions" python instagramcrawler.py -q 'instagram' -n 20 -c echo "Query hashtag '#breakfast' and download 20 photos" python instagramcrawler.py -q '#breakfast' -n 20
e43220d3180262e19167d1af817eeff4ad9c8211
270
#!/bin/sh # usage: kill_tailfile_selects.sh yyy-mm-dd # kills the tailfile_select.pl's that are tailing a log file named yyyy-mm-dd* yyyy_mm_dd=$(date --date='2 days ago' +%Y-%m-%d) ps aux | grep tailfile_select.pl | grep $yyyy_mm_dd | awk '{ print $2 }' | xargs kill
2b3cb5fcd3ac7abda226317bc109d449a23c7293
383
# # calendar.sh # # show 3 month calendar cal -3 # show time echo "" echo "$(date +%A," "%B" "%d)" echo "" echo "$(TZ='America/Los_Angeles' date +%a\ %H:%M) in Los Angeles" echo "$(TZ='America/New_York' date +%a\ %H:%M) in New York" echo "$(TZ='Europe/Berlin' date +%a\ %H:%M) in Berlin" echo "$(TZ='Asia/Tokyo' date +...
c84585318f869b237a236f99b02a3d3a05567c3c
311
# #!/bin/bash #Script membuka akaun SSH/VPN #Sunan | Explore Network Unlimited # read -p "Username Account going to be unlock: " User passwd -u $User echo "===============================================" echo "Sunan | Explore Network Unlimited" echo "===============================================" echo ""
34112c68b416f4f9e8139cfc994803d3f8f7a8cc
99
for i in {0..9}; do printf $i; done; echo for i in {0..9}; do printf "\r %d" $i; sleep 0.5;done