blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
897b0f0cda6069ede4e27bb93502e6b0f0d6187c | 285 | rm -rf viap_results
mkdir viap_results
for file in *.c
do
echo "RUNNING VIAP FOR $file"
base=`basename $file .c`
cat $file > temp.c
memlimit -t 100 viap_tool.py --spec=unreach-call.prp temp.c > viap_results/$base.log 2>&1
tail -4 viap_results/$base.log
rm -f temp.c
done
|
12c0c75a3f06df87c015a1116ce41dd3949e0912 | 56 | cmake -Dgtest_build_samples=ON -Dgtest_build_tests=ON .
|
fbb7920249d3034abd057fd9d8fc9c9a3b72f490 | 376 | {% from "rkhunter/map.jinja" import rkhunter with context -%}
#!/bin/bash
LOCK_FILE='/var/run/rkhunter_baseline'
if [ ! -f $LOCK_FILE ]; then
rkhunter --versioncheck --update --propupd --nocolors > /tmp/rkhunter.tmp
mail -s "[rkhunter] First rootkit hunter run on {{ salt['grains.get']('fqdn') }}" {{ rkhunter.email ... |
558bbd83ea94e8dd37316dd4023d1d41b5805d81 | 162 | DOCKER_CONTAINER_PREFIX=
PHP_PORT=
DB_EXTERNAL_PORT=
DB_PREFIX=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USER=
DB_PASSWORD=
DB_ROOT_PASSWORD=
DB_ALLOW_EMPTY_PASSWORD=
|
a703a183d4f47a025969469128ee4806fc7039b6 | 1,516 |
export COMPOSE_FILE=./example/docker-compose.yml
export CURL="curl --silent --fail -m15"
export FC_EXEC="fat exec"
export FC_STATUS="fat exec systemctl status --no-pager -l"
export FC_COMPOSE="fat exec /var/lib/fatc/bin/docker-compose -f /var/lib/fatc/"
export D0_COMPOSE="$FC_COMPOSE/daemons/daemon0/docker-compose.ym... |
6279d7e4a56869466d9bc2303edf2f6550370de4 | 1,386 | #!/bin/sh -l
apk add --update --no-cache musl gcc g++ make git cmake zip
cd /github/workspace
ls
mkdir dist
mkdir build
cmake --version
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_SHARED=on -DENABLE_CAPI=off -DENABLE_TESTS=off -DTARGET_RPATH="@executable_path;/usr/local/lib;/usr/local/lib64;./node_modul... |
75e831a651ae6e04c2a5c9fc985f2f25d1ae4cf5 | 158 | #!/bin/bash
cd `dirname $0`
if [ -e ml-1m.zip ]
then
echo "ok"
else
wget http://files.grouplens.org/datasets/movielens/ml-1m.zip
fi
unzip ml-1m.zip
|
7b3c357efe98d74d494bf942d10fe04edb4169b7 | 266 | ENVIRONMENT=development
MONGO_CONNECTION_STRING=mongodb://localhost/tribe
SESSION_SECRET=shhh
PORT=3000
GITHUB_CLIENT_ID=98fd651e4029738c4b6e
GITHUB_CLIENT_SECRET=524c4e7ab63151a0711376f4f1ea51377092391d
GITHUB_CALLBACK_URL=http://localhost:3000/auth/github/callback |
579a54bc18d5c894e185a49905be523fc95e4f89 | 233 | #!/bin/bash
sed -i 's/tracker_server=.*/tracker_server='`hostname`':22122/g' /etc/fdfs/storage.conf
/usr/bin/fdfs_trackerd /etc/fdfs/tracker.conf
/usr/bin/fdfs_storaged /etc/fdfs/storage.conf
tail -f /home/fastdfs/logs/storaged.log
|
1e7798d09028ef1f8a0a937cdcc1caec759ae403 | 1,401 | #! /bin/sh
# Convert roman numerals (in either letter case) into decimal values. All
# variants mentioned in the Wikipedia article are supported.
#
# Version 2017.346.2
#
# Copyright (c) 2017 Guenther Brunthaler. All rights reserved.
#
# This script is free software.
# Distribution is permitted under the terms of the L... |
cd1e79b5a89b8b79e22b284858eeeb6dfac9b2b5 | 1,729 | #!/bin/bash
function identifyClients {
mount -o remount,rw / 2>/dev/null
PREFIX=''; PREFIX=`/opt/tps/bin/pmx.py show hadoop | egrep "client" | awk '{print $NF}' | awk -F. '{print $1"."$2"."$3"."}' | sort -u`
CLIENTS=''; CLIENTS=`/opt/tps/bin/pmx.py show hadoop | egrep "client" | awk '{print $NF}' | awk -F. '{print $4}... |
2afcb9b585d7981c83c409a9bbfb80606af72797 | 729 | #!/bin/bash
usage() { echo "Usage: $0 [-p <string>]" 1>&2; exit 1; }
while getopts ":p:" option; do
case "${option}" in
p)
p=${OPTARG}
;;
*)
usage
;;
esac
done
shift $((OPTIND-1))
if [[ -z "${p}" ]]; then
p="${PWD}/.profile"
fi
source ${p}
... |
a79750c886ffd9039ce8228e483895ed2f560161 | 157 | #!/bin/bash
dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
. ""${dir}"/../../cons.sh"
kubectl delete all --all --namespace="${NAMESPACE}"
./delete.sh |
c13000ea940ec6b7b9110f04feaddcd05a902d84 | 129 | #!/bin/bash
until ./map-server; do
echo "Server 'map-server' crashed with exit code $?. Respawning.." >&2
sleep 1
done
|
11edf774f4cb446e5c34ecc7c2146b040a6e8a64 | 195 | #!/bin/sh
# https://apple.stackexchange.com/questions/117644/how-can-i-list-my-open-network-ports-with-netstat/117648#117648
# lsof -i -P | grep -i "listen"
netstat -atp tcp | grep -i "listen"
|
ee7e8a5d8b137c4e4824031ede476eda51bac990 | 279 | #!/bin/bash
# vcloud only
vc_frame_id="cloud"
vc_child_frame_id="cloud"
# others frame here
fid=${vc_frame_id}
cid=${vc_child_frame_id}
echo "rosrun tf static_transform_publisher 0 0 0 0 0 0 1 ${fid} ${cid}"
rosrun tf static_transform_publisher 0 0 0 0 0 0 1 ${fid} ${cid}
|
5db6970d180395f75e9fd0f155ee5b001ca498a1 | 149 | DOT_FILES=(.vimrc .vimsynclist .zshrc .tmux.conf .vim .gitconfig .gitignore)
for file in ${DOT_FILES[@]}
do
ln -s ~/dotfiles/$file ~/$file
done
|
046af5f3cf093d0d946053703edcba417c338b9e | 103 | #!/bin/bash
vagrant up puppet
vagrant up puppetagent1
vagrant up puppetagent2
vagrant ssh puppet
|
776cc381b17b8c1dd77ce24702da297947dade3e | 240 | movimentacao="/home/mateus/fabricas-de-scripts/script-movimentacao-arquivos/movimentacao";
num_arquivos=20;
for ((a=1; a <= num_arquivos ; a++ ));
do
arquivo="$movimentacao/teste$a.txt"
touch $arquivo
chmod 774 $arquivo
done
|
a23cb3a457c0762f3ffcc4d8580dbdf86ab07194 | 197 | #!/bin/sh
sudo killall python
sleep 1
sudo su -c 'nohup python -u controller.py >/run/nexa_controller.log 2>&1 &'
sudo su -c 'nohup python -u web_interface.py >/run/nexa_web_interface.log 2>&1 &'
|
6457507c405b0fd1c4acc020a6a71967c351ec27 | 167 | #!/bin/bash
set -e
if [[ ! -x wasm2wat ]]; then
curl -L https://zulu.molovo.co/install | zsh && zsh
else
echo "Found wasm2wat in path, not reinstalling wabt"
fi
|
68a55af2cf4c75c24bff20eeb5ab875f2d6751be | 1,438 | #!/bin/bash
set -ex
if [ -z "$gcs_access_key" ]; then
echo "gcs_access_key not set, aborting"
exit 1
fi
if [ -z "$gcs_secret_access_key" ]; then
echo "gcs_secret_access_key not set, aborting"
exit 1
fi
display_help() {
echo "Usage: $0 [option...]" >&2
echo
echo " -i interpolate the cloud c... |
0bcc6e6409534c65aac2bc79ed8b822c5b36a60a | 417 | #!/usr/bin/env bash
git diff HEAD --name-only | grep '\.rb' | xargs rubocop --config ~/.rubocop.lint.yml
git diff HEAD --name-only | grep '\.ts' | xargs tslint -c ~/tslint.lint.json
git diff HEAD --name-only | grep '\.js' | xargs jshint -c ~/.jshintrc.lint
git diff HEAD --name-only | grep '\.ts' | xargs eslint -c ~/.es... |
b57621c37a68e9db9f04b8f7d92ea421eb801e90 | 262 | #!/bin/bash
newname=$(echo $1 | awk -F '_mean-std_sorted.tsv' '{print $1}')
cp $1 ${newname}_depth.inf
echo -e "Feature\tMean\tStandard Deviation\tCoefficient of Variation" \
> Header.txt
cat Header.txt \
${newname}_depth.inf \
> ${newname}_depth_stats.tsv
|
7801c8232ad4201b8ef64ac4fee658bc5caf7000 | 110 | ls *.ipynb | awk -F '.' '{print $1}' | xargs -I {} jupyter nbconvert --to script --output scripts/{} {}.ipynb
|
4e7cbff881fdae528ef12e0fc7012af7ee8d2ffa | 1,024 | APP_ENV=production
APP_DEBUG=false
APP_KEY=ecFZ9w0AhycKIpDOsYKcWd7GSqa4sfQQ
APP_URL=http://bepo.ctitv.com.tw/bepoapp
DB_HOST=10.110.150.213
DB_PORT=3306
DB_DATABASE=bepo
DB_USERNAME=pmauser
DB_PASSWORD=bepo66007766
SHOWTV_DB_HOST=10.110.150.213
SHOWTV_DB_PORT=3306
SHOWTV_DB_DATABASE=showtv
SHOWTV_DB_USERNAME=pmauser
... |
e6b460d78379ed7bffbeab242637e0c692083615 | 203 | #!/bin/bash
source constants.sh
set -ev
OUT_DIR=${OUT}/site-data
sqlite3 -header -csv ${DB} < ../website/src/assets/pages/vis1-geomap-of-opioid-deaths/data.sql > ${OUT_DIR}/vis-geomap-opioid-deaths.csv |
3379a34a33ab9bb1ec75f9d3f2767d397cfb03a3 | 4,200 | #!/bin/bash
# GATK coverage stats
# script filename
script_path="${BASH_SOURCE[0]}"
script_name=$(basename "$script_path")
segment_name=${script_name/%.sh/}
echo -e "\n ========== SEGMENT: $segment_name ========== \n" >&2
# check for correct number of arguments
if [ ! $# == 3 ] ; then
echo -e "\n $script_name ERR... |
013e9c1b4587e9b9df7445ee175fce0fc887e32a | 65 | for img in `ls *.png`
do
convert -rotate 90 $img Rot$img
done
|
99fd5ce2e0e6b7af9226f4ab920465fcd198c820 | 404 | APP_ENV=local
APP_DEBUG=true
APP_KEY=8HllpxgaLq3wm8b0a2szju1slZilh6h9
DB_CONNECTION=pgsql
DB_HOST=ec2-54-83-53-120.compute-1.amazonaws.com
DB_DATABASE=d2ilqdah2rpg4e
DB_USERNAME=gxwpeyzbeczpri
DB_PASSWORD=rR54pYQOjNgnspaJaa44A3FGkr
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
MAIL_DRIVER=smtp
MAIL_HOST=ma... |
8958cd632f1f6e5f9091261c3a16ae9ae04f539a | 3,686 | #!/bin/sh
# Generate Solaris package to install scc-srv by means of pkgadd.
# Copyright (C) 2001-2004 Open Challenge B.V.
# Copyright (C) 2004-2005 OpenEyeT Professional Services.
# Copyright (C) 2005-2018 QNH.
# Copyright (C) 2019 Siem Korteweg.
#
# This program is free software; you can redistribute it and/or modify... |
90aab3c4275195b6e4338c11e80a4ac6c396bad5 | 257 | #!/bin/bash
#PBS -N 4771_prune
#PBS -l nodes=1:ppn=1
#PBS -l walltime=480:00:00
#PBS -e errlog_4771_prune
#PBS -q high
cd $PBS_O_WORKDIR
plink --bfile 4771 --indep-pairwise 50 10 0.1
plink --bfile 4771 --extract plink.prune.in --make-bed --out pruned4771
|
199397e242d197dda9d6ca89aa38f17a4575ab7c | 458 | #!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo "*** Please run with sudo."
exit 1
fi
hosts=("h1" "h2" "h3")
hsifaces=("s1-h1" "s1-h2" "s1-h3")
echo "Cleanup all network namespaces, cgroups, veth pairs, qdiscs and OVS bridges."
for i in "${hsifaces[@]}"; do
ip link delete "$i"
done
rmdir /sys/fs/cgroup/cpu... |
377e409253f376ba3bb933c6e71e4f08a8b0e4a2 | 1,110 | #!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${CURRENT_DIR}/../common/base.sh"
###
# Variables
###
###
# Input checker
###
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-h | --help)
PROCESS="help"
;;
-i | --install)
PROCESS="install"
;;
-d | --d... |
1dcc45839d652377a20d2787040714d9c19bd31e | 302 | python ./tools/main.py --config_file='configs/AGW_baseline.yml' \
MODEL.DEVICE_ID "('0')" \
DATASETS.NAMES "('oxygen')" \
MODEL.TRANSFER_MODE "('on')" \
MODEL.PRETRAIN_CHOICE "('self')" \
MODEL.PRETRAIN_PATH "('./log/market1501/Experiment-AGW-baseline/resnet50_nl_model_160.pth')" |
40b150d3b23c37dfee324daeee0003225dd3b728 | 314 |
echo remove old byte-code files
rm *.class
echo list source files
ls -l *.java
echo compile PayrollCalculations.java
javac PayrollCalculations.java
echo compile PayrollFrame.java
javac PayrollFrame.java
echo compile TestPayroll.java
javac TestPayroll.java
echo Execute program
java TestPayroll
echo finished |
80ef0eeb770d2bc53ef0ca69467e6e4db71a69cf | 179 | CUDA_VISIBLE_DEVICES=0 python train.py --backbone resnet --lr 0.01 --workers 4 --epochs 40 --batch-size 16 --gpu-ids 0 --checkname deeplab-resnet --eval-interval 1 --dataset coco
|
99e55368dac94ebb61a55a22d12d05e3497a58b1 | 2,092 | #!/bin/bash -e
# Source global definitions
if [ -f /etc/bashrc ]; then
source /etc/bashrc
fi
export HISTFILESIZE=3000
# Homebrew Software
PATH=/opt/homebrew/bin:$PATH
PATH=/opt/homebrew/opt/python@3.11/libexec/bin:$PATH
# Python
PYTHONPATH="$(brew --prefix)/lib/python@3.11/site-packages"
export PYTHONPATH
#e... |
b227633c8c2a3aa42d944e172ecce9ac5dde8c76 | 1,312 | #!/bin/sh
# This script can be used as an entrypoint for build jobs
# or it can be "sourced" without parameters. Supports POSIX shells.
set -aeuo pipefail
if [ -e "$(dirname "$0")/.env" ]; then
source "$(dirname "$0")/.env"
fi
if [ -e ".env" ]; then
source ".env"
fi
# Support Google Cloud Build
if [ -n "${PROJEC... |
2ea6a810964c936baf0034141883f0486bf49f08 | 213 | #!/bin/sh
echo "Run a web browser to 'localhost:80'"
SERVICE=my_nginx
docker-compose up
docker-compose run $SERVICE
docker-compose down
# alternatively, you could do
# docker container run --rm -p 80:80 nginx
|
ca95fbb5d8834e512fb1a616d9109053abb6858b | 4,417 | #!/bin/bash
#
# Authors: Wojciech Mlynarczyk, Sami Kerola
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and th... |
66a592b09c64f14612b723c8ba32e84959af480e | 636 | #!/bin/bash -eu
#
# This script checks the size of /tmp/linux-3.0.tar.gz and downloads
# a fresh copy if the size is incorrect or the file is missing.
URL=https://cdn.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz
TGZ=/tmp/linux-3.0.tar.gz
SIZE_WANT=96675825
SIZE_ACTUAL=0
if [[ -e $TGZ ]]; then
if [[ $OSTYPE == l... |
7da1907298761323629d506408d67c526ae983f5 | 1,218 | #!/bin/bash
echo "Creating new user"
#server=149.28.59.50
#server=192.168.1.11
server=localhost
userInfo='{ "identifier": "admin6", "password": "admin5", "email": "support@workspaceafrica.com", "firstName": "TestUser", "lastName": "TestLast"}'
token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxLWZBZTNOSUVHcklQaD... |
472db6a00a8ead08050eeb1a155c78f1a9e5cdfa | 458 | #!/bin/bash
#MSUB -l nodes=1:ppn=16
#MSUB -l walltime=1:00:00
#MSUB -l pmem=3000mb
#MSUB -N gsat-static-test
#MSUB -o /work/ul/ul_student/ul_pwn14/output/gsat_static_test
#MSUB -M sascha.rechenberger@uni-ulm.de
#MSUB -m bea
#MSUB -q singlenode
N=$1
X=$2
module load devel/python/3.5.2
python -O run_experiment.py $WOR... |
6f0018d428534bc2a3c42ab1c47685cc8c62e8d1 | 247 | #!/bin/sh
myEmacsC(){
emacsclient --create-frame --alternate-editor='' -nw "$@"
}
# Use xterm-direct to convince doom emacs to use truecolor
if [ "$COLORTERM" = "truecolor" ]; then
TERM=xterm-direct myEmacsC "$@"
else
myEmacsC "$@"
fi
|
39d05f456860575cb6c7c3be700ac2b159339ed3 | 64 | ASSETS_LOCATION="/home/htchan/Project/BookSpider/backend/assets" |
9ec223f364177c3cecb2ce69c9d66a3af4c24ed6 | 1,326 | #!/bin/bash
# Author Dario Clavijo 2018
# GPLv3
set -x
# set variables
POOL=$1
IMG=$2
SIZE=$3
PAGES=$4
USER=$5
LDEV=$6 # example rbd0
FS=$7 # example "mkfs.ext4 -j"
MONITOR="172.16.1.1 172.16.2.2"
ceph auth del client.$USER
ceph osd pool delete $POOL $IMG --yes-i-really-really-mean-it
# define pool,image and rbd ma... |
13d01c97db2800d4e614e9fa6ecd62a52661db91 | 270 |
NPM_PACKAGES="~/.npm-packages/"
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
PATH="$NPM_PACKAGES/bin:$PATH"
unset MANPATH
MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
ORIGINAL_PATH=$PATH
function build_node_path {
export PATH=$(npm bin):$ORIGINAL_PATH
}
|
01c832f417c63da6605d0b5b80874bdb601983e3 | 301 | #!/bin/bash
# List of apps to load fixtures for
# News app is not included as it is updated in production
# TODO separate out eve update (similar to news)
NAME[1]="eba_portfolio"
source venv/bin/activate
for i in ${NAME[@]}
do
python3 manage.py loaddata --format=json $i $i/fixtures/$i.json
done
|
ff94367b6bd43d1d6753b1c8d2e27d9af6ae9042 | 118 | #!/usr/bin/env bash
# check if I'm using nvidia card
if [[ `prime-select query` == 'nvidia' ]]; then
compton -b
fi
|
3b0ecb9098b581ee8105fcb18d57be0969e69a5a | 3,733 | #!/bin/sh
#############################################################################
# NPC-PD2: produce ChEMBL CSV files.
#
# Get ChEMBL bioactivity data for compounds.
# Inchi files obsoleted by UniChem mappings (PubChem CID to Chembl ID).
#
# Files produced:
# (1) ChEMBL compounds: CHEMBL_ID, activity data.
# ... |
a7c9338ac4b1afc8e509467f156ada00ca06774c | 249 | #! /bin/bash
clone_url="$1"
if [[ ${clone_url} ]]; then
rm -rf /workspace/content
git clone "${clone_url}" /workspace/content
fi
hugo-obsidian -input=content -output=assets/indices -index -root=.
rm -rf /workspace/public/*
hugo --minify |
963890a6a4df4c9d77cf7c0616ff4501737a3d00 | 4,256 | #!/bin/sh
test_description='Test notes trees that also contain non-notes'
. ./test-lib.sh
number_of_commits=100
start_note_commit () {
test_tick &&
cat <<INPUT_END
commit refs/notes/commits
committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE
data <<COMMIT
notes
COMMIT
from refs/notes/commits... |
3ec7e4f64bce29f9fd32ad124ac035788d6e4a9b | 2,235 | #!/usr/bin/env bash
set -e
if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]] ; then
echo "Please specify test case branch, backend path and ec2 pem key path"
exit 1
fi
#if [[ $EUID == 0 ]]; then
# echo "Exiting from root"
# exit
#fi
branch=$1
backend_path=$2
ec2_pem_key_path=$3
echo "##################... |
e30ab6c014432796d03b540d7346f5db2b4af196 | 160 | NODE_ENV=production
PORT=4008
MONGO_URL=mongodb://mongo/strategies
GATEWAY_ENDPOINT=http://master-app-api:4100/graphql
PRESHARED_GATEWAY_KEY=strategizer_keys
|
dfd75da11f64f8fd317b2742a15a83fc15480579 | 2,531 | #!/bin/sh
[ $# -ne 2 ] && {
echo "Usage: sh ffabcdef-2020-0514-2011-aaa340401710.sh <SU用户(SU或高权限用户)> <SU密码>";
exit 1;
}
# 获取当前路径
pathname=`pwd`
echo "touch /tmp/nsfocus_mod_tmp;">/tmp/NSF{nsf_tm}_nsfocus_grub_tmp
echo "chmod 777 /tmp/nsfocus_mod_tmp;">>/tmp/NSF{nsf_tm}_nsfocus_grub_tmp
echo "if [ -f \"/etc/grub.... |
0585f752f5435dbbc6419f1720631fde3c555e77 | 58 | docker build -t martinschmid/magnolia-cms-simple-docker .
|
efceabfa5a906f657b0e8a19b26caf9a6ab0abeb | 212 | java -jar -Xmx2048m -Xms1024m -Dlog4j.configuration="file:/opt/clout/log4j.xml" target/data-processing-cron-executable.jar yellowpagesDataJob spring/batch/jobs/yellowpages-data.xml --city=los angeles --state=ca
|
4a4b3556a2b6e00e0254c8bd35b228d6a087a1d5 | 2,534 | #!/bin/sh
#
# battery_watchdog v0.2 - Shutdown (graceful or hardcore) system when battery is low.
#
# Copyright (c) 2011, Piotr Karbowski <piotr.karbowski@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are
# permitted provided that the following co... |
b2dad0bcd9e9d99ed296b39dcefcef5a72deff43 | 613 | #!/bin/bash
./creStop.sh
#Update container
echo "Update CRE container"
# docker pull tamboraorg/creproxy:clim16n
# docker pull tamboraorg/crephp:clim16n
# docker pull tamboraorg/crenginxphp:clim16n
# docker pull tamboraorg/crepostgis:clim16n
# docker pull tamboraorg/cremysql:clim16n
# docker pull tamboraorg/creglue:cl... |
56c8c373416aa67bca75b71679975b4b94cdbd3a | 6,616 | #!/bin/bash
#includes #{{{
. config.sh
#}}}
#check if the user is or not root, and set the $USERNAME to $SUDO_USER
check_user
LOOP=1
while [ "$LOOP" -ne 0 ]
do
print_title "GAMES - https://wiki.archlinux.org/index.php/Games"
echo "[1] Action/Adventure"
echo "[2] Arcade/Platformer"
echo "[3] Dungeon"
echo "[4... |
2cc7cc5444fc9103cbaac161e794d4dec3f57cdc | 72 | bash update_input.sh
wait
bash run_nec2++.sh | python src/process.py
|
d76e285404caee1b77d68c8f0de33057955c4c88 | 369 | #!/usr/bin/env bash
# DAB+ on
curl -o /dev/null http://192.168.38.177/?code=40BFC837\&p=2\&r=1 &
# receiver on
curl -o /dev/null http://192.168.38.177/?code=A55A58A7\&p=2\&r=5\&f=40\&d=20 &
# DAB+ preset 3
curl -o /dev/null http://192.168.38.177/?code=40BF827D\&p=2\&r=1 &
# receiver A AUX
curl -o /dev/null http://192.1... |
a14df420496cb524a62a536eeabdfaa8ab64d394 | 441 | #!/bin/bash
if [[ $(whoami) != crowbar ]]; then
su -l -c "$0" crowbar
exit $?
fi
. /etc/profile
shopt -s globstar nullglob
if ! which yardoc &>/dev/null; then
echo "YARD gem not installed."
echo "Please install it to generate the developer documentation"
exit 1
fi
cd /opt/opencrowbar
for d in **/... |
e8b1bb0c37c3623fa26103c240e5f30751d82233 | 313 | #!/bin/bash
clone_dir=`pwd`/shards
if [[ ! -e $clone_dir/bin/shards ]]; then
if [[ ! -d $clone_dir ]]; then
git clone https://github.com/crystal-lang/shards $clone_dir
fi
cd $clone_dir
crystal build src/shards.cr -o bin/shards --release
fi
sudo install -m 755 $clone_dir/bin/shards /usr/local/bin
|
53a310688d7e4fb7e4c7cccbf1cbf6e55e97cc27 | 73 | #!/bin/bash
echo set completion-ignore-case on | sudo tee -a /etc/inputrc |
f7d4cb38ad94a89a651c755d6bdee72979971fc9 | 98 | #!/bin/bash
cd /opt/varnish-backend-manager/
./varnish-backend-manager 1.2.3.4:8084 yourpassword
|
27752dcc605d4507a81f5dfc02ba6bf919ee6400 | 977 | #!/usr/bin/env bash
# https://unix.stackexchange.com/questions/13968/show-top-five-cpu-consuming-processes-with-ps
# Top shows current CPU usage
# Ps shows avg over time
# https://unix.stackexchange.com/questions/58539/top-and-ps-not-showing-the-same-cpu-result
ps_most_cpu_intensive_process=$(ps aux | sort -nrk 3,3 |... |
8e543e2e3003cdff95e0d6a05a2f0b2e66808d53 | 117 | #!/bin/sh -e
./configure \
--prefix=/usr \
--static
make
make DESTDIR="$1" install
clman -d "$1" fossil.1
|
2eb167a5475ed970bb4de199c1cc7a37d9768bb6 | 599 | #!/bin/sh -x
set -e
envdir=$1
# The source for the client library is checked out by pip because of
# the deps listed in tox.ini, so we just need to move into that
# directory.
# NOTE(tonyb): tools/tox_install.sh will place the code in 1 of 2 paths
# depending on whether zuul-cloner is used, so try each possible loca... |
0acb9adc1ab741a21341e1e2e5a8822128ab8ec2 | 621 | #!/bin/sh
BR_DIR="/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/"
test -d "$BR_DIR" || exit 0
MIN=0
MAX=$(cat "$BR_DIR/max_brightness")
VAL=$(cat "$BR_DIR/brightness")
if [ "$1" = down ]; then
VAL=$((VAL-41))
else
VAL=$((VAL+41))
fi
if [ "$VAL" -lt $MIN ]; then
VAL=$MIN
eli... |
48aa0cecaeb5f327706231507058f9d98c62bb1c | 6,898 | --- gnats/edit-pr.sh.orig Sun May 26 16:32:02 2002
+++ gnats/edit-pr.sh Sat Dec 6 02:43:44 2003
@@ -5,6 +5,8 @@
# Contributed by Jeffrey Osier (jeffrey@cygnus.com).
# Majorly revised by Bob Manson (manson@juniper.net).
# Further improvements by Dirk Bergstrom (dirk@juniper.net).
+# Patches for the FreeBSD Project b... |
eb600ad8a61a5c1d089c1699fb6b3f3209d50f38 | 79 | #!/bin/bash
kubectl apply -f ./tkg/poc-tkg-deploy.yml
kubectl get tkc -o wide
|
f4a1aee2f33b95e2c54e31b2b405b322195a27cb | 4,507 |
BOLD=$(tput bold)
GREEN=$(tput setaf 2)
RED=$(tput setaf 1)
NORMAL=$(tput sgr0)
docker() {
[[ -v DOCKERDEBUG ]] && echo docker "$@"
command docker "$@"
}
run() {
[[ -v RUNDEBUG ]] && echo "$@"
command "$@"
}
die() {
echo "$@"
exit 1
}
fail() {
echo "$RED$BOLD!!!! $*$NORMAL" >/dev/stderr
... |
cc5f2e300a1fbfde56875cebd5cf222b8b2c4c5e | 157 | # Add `~/bin` to the `$PATH`
# export PATH="$HOME/bin:$PATH"
PATH="$HOME/bin:$PATH"
# Add boxen environment configuration to shell
source /opt/boxen/env.sh
|
3e3d76c2e2ecd10ea134c5c7080c28f79dd2bdf4 | 84 | SKIP_PREFLIGHT_CHECK=true
SIGNUP_API="http://atologistinfotech.com/api/register.php" |
0e615279a8e81dc23fb86b926822d1a821580fe5 | 40 | #!/bin/bash
echo "The shell says 'Hi'"
|
f46062d03f9f52947aa90524c8db51c2fd11dd5f | 256 | #!/usr/bin/env bash
mvn clean install
mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)
docker build -t luminis/norconex-java .
docker tag luminis/norconex-java:latest 044915237328.dkr.ecr.eu-west-1.amazonaws.com/norconex-java:latest
|
482b23bd05b760c31bb7beafed282db36e5e6df4 | 1,080 | #!/usr/bin/env bash
##
## This script launches the heritrix crawler and keeps the process in foreground
##
## Optional environment variables
##
## JAVA_HOME Point at a JDK install to use.
##
## HERITRIX_HOME Pointer to your heritrix install. If not present, we
## make an educated guess bas... |
138c47dc081ff355d92ae6465af858ba4d96ae8f | 88 | #!/bin/bash -xe
docker-compose -f docker-compose.yml -f docker-compose.uberjar.yml "$@" |
a0b2a36dc1edab5af20a3b17e8b2a06cc7d54299 | 378 | #!/usr/bin/env bash
TERM_PROFILE='Solarized Dark';
open "${HOME}/Repos/dotfiles/install/${TERM_PROFILE}.terminal"
defaults write com.apple.Terminal "Default Window Settings" -string "${TERM_PROFILE}"
defaults write com.apple.Terminal "Startup Window Settings" -string "${TERM_PROFILE}"
defaults import com.apple.Termin... |
4881baa02fe2fcf3bb3b96b9d06c29b51ecd54a0 | 1,703 | #!/bin/bash -l
#SBATCH --output=/rhome/jmarz001/bigdata/CCXXIRAD/Scripts/retained.stdout
#SBATCH --mail-user=jmarz001@ucr.edu
#SBATCH --mail-type=ALL
#SBATCH --job-name='retained'
#SBATCH --ntasks=1
#SBATCH --mem-per-cpu=10G
#SBATCH --time=1:00:00
#SBATCH -p intel
#Get the number of reads from before and after trimmi... |
09a1c1ed01beae9fdba8a3ccad195ed98c341b4d | 518 | #!/bin/bash
egrep -i 'Colorado' newpages.txt | egrep -iv 'Denver' >> Colorado.txt
egrep -i 'Denver' newpages.txt | egrep -iv 'Denver(| )Broncos|Denver(| )Nuggets|John(| )Denver' >> Denver.txt
COLORADO=`stat --print=%s Colorado.txt`
DENVER=`stat --print=%s Denver.txt`
if [ $COLORADO -ne 0 ];
then
export CATFILE="Co... |
8ab162fbad9d813e96c5a24672473fe8abb517c3 | 160 | SLACK_ACCESS_TOKEN='xoxp-363603873302-362849389029-362533212020-ecceba5e5a0cb0bd649ae42b7d947a7b'
PORT=3000
SLACK_VERIFICATION_TOKEN='VXmN3pUBRvLPOsziInuihCq2'
|
e3289ae886c731726111ac00aca398c24ae516c0 | 466 | pkgname=chownat
pkgver=0.08b
pkgrel=1
pkgdesc="allows two peers behind two separate NATs with NO port forwarding and NO DMZ setup on their routers to directly communicate with each other"
arch=("$CARCH")
groups=('blackarch-intel' 'blackarch')
url=('http://samy.pl/chownat/')
license=('Unknown')
source=("${pkgname}-${pkg... |
ea93067ba4d86b9901ce74dcae5349597e8195dd | 430 | #!/bin/bash
# SPDX-FileCopyrightText: 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#shellcheck disable=SC2010
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
# shellcheck source=/dev/null
source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
cd .github/intel... |
b8b4cbd0906dcde8b97ab5b1bd63807ace47e618 | 52 | #!/bin/sh
clear
source ./utils.sh
restore_native0
|
837825919a3df17de4d20718518c9ee259426f48 | 3,220 | # Basic quality control for mapping PE illumina data to a distant reference
# Rob Lanfear, December 2016
# A few things to set before you go
inputf="/disks/dacelo/data/raw_data/Project_SN7001117R_0083_CKulheim_LBronham_Melaleuca/"
outputbase="/disks/dacelo/data/QC/test/"
ref="/disks/dacelo/data/raw_data/active_refs/... |
0a1686af17e4fb9e5e989a92e2fce843c2bbf624 | 237 | #!/bin/sh
export CUR_PATH=${PWD}
if [ ! -d ../build ];
then
mkdir -p ../build;
fi
cd ../build
rm -rf ./CMakeFiles ./cmake_install.cmake ./*CMakeCache.txt ./Makefile ./install_manifest.txt
cmake -DPOSIX=ON ../
make
#make install |
2f24baeac03066f3943656cfc1933c906be84468 | 623 | #!/bin/bash
dir_cur=$PWD
dir_src=$PWD/Src
dir_test=$PWD/Examples
#------------------------------------#
# go to source directory and compile #
#------------------------------------#
cd $dir_src
make
cd $dir_test
ln -f -s $dir_src/Easy .
#------------------------------#
# browse through all the tests #
#------------... |
646c02632f2a837375c51485ae517be450ff99bc | 72 | #!/bin/bash
pm2 reload ecosystem.config.js --env production --update-env |
5a481630a2d707d768571864afcaf0f8210ff1ec | 108 | #!/bin/bash
export PORT=5108
cd ~/www/tasktracker
./bin/tasktracker stop || true
./bin/tasktracker start
|
65bcc02beca83082923f3268608493c9db8df781 | 220 | DB_HOST = sql6.freemysqlhosting.net
DB_PORT = 3306
DB_USER = sql6397874
DB_PASSWORD = xAPysdwknM
DB_NAME = sql6397874
PORT = 5000
WS_PORT = 8080
WS_URL = ws://localhost
AVATAR_SIZE = 100
PASSWORD_CONTEXT = eleks |
77e39590b85e5c284cad15728029efb79800df24 | 5,057 | #!/bin/bash
# charset: UTF-8
# WARNING:
# * only file in UTF-8 *without BOM* should be compared (grep considers BOM when ugrep don't)
# * comparaison must be about an UTF-8 file with LF line ending (grep considers CR when ugrep don't)
# * search string should be ASCII only when LC_ALL=C
declare -r TESTDIR=$(dirname ... |
6228859393b0a6cfa73529791dda7c5418d023e2 | 345 | #!/bin/bash
TIMESTAMP_START="$(date +%s)"
OUTPUT=$(dist/bin/cli.js -R spec test/parallel/tests --timeout 10000 --slow 10000)
TIMESTAMP_FINISH="$(date +%s)"
TIMESTAMP_DIFF=`expr $TIMESTAMP_FINISH - $TIMESTAMP_START`
if [[ $TIMESTAMP_DIFF -lt 10 ]]; then
exit 0
else
echo "Tests running time was $TIMESTAMP_DIF... |
89e3060e49636788a35a3156abddb569373c547d | 131 | #!/usr/bin/env bash
echo "------> Configuring myLdlib (.profile.d/my-config.sh)"
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib
|
e6dac3a60e5aa2a123ab28c8b72b66d3579b935c | 1,374 | #!/bin/bash
# dumps such pipe-style-wav to real audio file
nj=1
. tools/parse_options.sh || exit 1;
inscp=$1
segments=$2
outscp=$3
data=$(dirname ${inscp})
if [ $# -eq 4 ]; then
logdir=$4
else
logdir=${data}/log
fi
mkdir -p ${logdir}
sox=`which sox`
[ ! -x $sox ] && echo "Could not find the sox program at $sph2pi... |
6eb1a59cdb7783e986b0585df9ca382b8f8b5a9e | 331 | #!/bin/sh
# This attribute returns the ARD Computer Info field 1 from the Computer Information attributes in the Apple Remote Desktop settings of a machine.
if [ -f "/Library/Preferences/com.apple.RemoteDesktop.plist" ]; then
echo "<result>`/usr/bin/defaults read /Library/Preferences/com.apple.RemoteDesktop Text1`</r... |
3ec0ef7fdc788001aa20596927a84ef5446abae2 | 1,246 | #!/bin/bash
WORKER0_HOST=`cat hosts | sed '3!d' | sed 's/[=].*$//'`
WORKER0_IP=`cat hosts | sed '3!d' | sed 's/.*[=]//'`
WORKER1_HOST=`cat hosts | sed '4!d' | sed 's/[=].*$//'`
WORKER1_IP=`cat hosts | sed '4!d' | sed 's/.*[=]//'`
{
cat > ${WORKER0_HOST}-csr.json << EOF
{
"CN": "system:node:${WORKER0_HOST}",
"key"... |
7c2b56ef42639e3a0f87933e2eb4dbe279791df1 | 975 | #!/bin/bash
# depends: nerd-fonts
CONFIG_SRC_DIR=~/Documents/configuration/src
RANGER_RECIPE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
shef brew ranger w3m
shef brew w3m
shef apt w3m-img
if [ ! -d $CONFIG_SRC_DIR/.ranger-config ]; then
git clone https://github.com/CaptainQuirk/.ranger $CONFIG_SRC_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.