blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
dbc54e2c8dbbb9152ddbbe5891a8d01d2264e123 | 340 | #!/usr/bin/env bash
mvn clean package
echo 'Copy files'
scp -i ~/.ssh/id_rsa \
target/DINS-test-1.0-SNAPSHOT.jar \
kirrilf@34.105.180.71:/home/kirrilf/
echo 'Restart server...'
ssh -i ~/.ssh/id_rsa kirrilf@34.105.180.71 << EOF
pgrep java | xargs kill -9
nohup java -jar DINS-test-1.0-SNAPSHOT.jar > log.txt... |
3d797c843b94096eeac40904771bcb7869069f52 | 2,958 | #! /bin/bash
#--------------------------------------------------------------------
#
# prepare solo binary release
#
# Mike Dixon, EOL, NCAR, Boulder, CO, USA
# Sept 2013
#
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# usa... |
6b32acbe0cbca3c6ab088fa98e7261a9f7e4defe | 195 | node ../tools/manifest2js.js ElectionManifest.json > webapp/ElectionManifest.js
node ../tools/config2js.js config.json configRaw > webapp/config.js
node ./webapp/ejs/compileEJS.js
node server.js
|
7798b649791801a220d02778d1fe2070520f0cb4 | 217 | #!/bin/sh
cat $1 | grep "Optimise: $2" | awk '{print $4}' | cut -d ')' -f 1 > indexes
cat $1 | grep "Optimise: $2" | cut -d ')' -f 2 | awk -F "," '{print $2}' > values
paste indexes values
#rm indexes
#rm values
|
ba378fde6241c26c3ca4cce891ece2ec3206166d | 4,179 | #!/bin/sh
#
# get-package - create and install SliTaz package algobox
#
# (C) 2020 SliTaz - GNU General Public License v3.
# Author : unknown
# modified by HGT on 2020-02-10
#
# === Initialisations ===
PKGS_DB="/var/lib/tazpkg" # packages database directory
PACKAGE="algobox"
WEB_SITE="https://www.xm1math.net/algobox/"... |
4b72e03a8b5d4b8a5cd348f875c956e20da6a9b7 | 94 | #! /bin/sh -e
git clone https://github.com/oclint/oclint.git
cd oclint/oclint-scripts
./make
|
328f5a355a6a27efdd106f42559016c2b29e3271 | 1,201 | # Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
pkgname=python2-translate-toolkit-lib
_name=translate-toolkit
pkgver=2.2.4
pkgrel=1
pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations"
arch=('any')
url="http://toolkit.translatehouse.org/"
license=('... |
ab97eadec5f95c85672ac5a5acfa54f2020a1078 | 264 | #/bin/bash
# Install xscreensaver
# # apt-get install xscreensaver
#
# Configure
# # chmod +s /usr/bin/xscreensaver
#
# Start xscreensaver
# # xscreensaver -no-splash &
#
xscreensaver-command -activate 2>&1 > /dev/null
xscreensaver-command -lock 2>&1 > /dev/null
|
fb44e63c0c477311affc41efb9396d39dcc4e63a | 863 | #!/bin/bash
if [ ! -d downloads ]; then mkdir downloads; fi
if [[ $SYMFONY__PHPCR__TRANSPORT = jackrabbit ]]; then
if [ ! -f downloads/jackrabbit-standalone-$JACKRABBIT_VERSION.jar ]; then
cd downloads
wget http://archive.apache.org/dist/jackrabbit/$JACKRABBIT_VERSION/jackrabbit-standalone-$JACKRAB... |
74fc609b13fa7d0efcc3203cf1a8c8f7434fcc45 | 1,171 | #!/bin/bash
#get proxy list
declare check_threads=10
declare line
declare times
declare ip
declare port
declare i
declare j
declare mod
function quit() {
exit "$1"
}
#echo "start check proxy's functionality..."
#retarget the input file to stdin
if [ "$#" -gt "0" ]
then
exec 0<$1
else
exec 1>&2
e... |
eb1a7ba990b648b073fd4e0ce52064cde7715ee0 | 104 | mpirun -np 2 /usr/bin/pyMPI tileImage.py -c local2_1680x1050Config --hostnames=localhost,localhost2 $*
|
0c01abbd9c61089036c9ccb8936fd9e6c4d702f7 | 1,252 | cd ClangSharpPInvokeGenerator
if [ -z "$1" ]; then
echo **ERROR**: LLVM Shared Library Location is required. A good value for this parameter is 'libLLVM' which will translate to 'libLLVM.dll'/'libLLVM.so'/'libLLVM.dylib' on their respective platforms.
exit 1
fi
if [ -z "$2" ]; then
echo **ERROR**: LLVM Include D... |
e8b1f3013241dbfdbf99c772c2d01d586ca96360 | 2,901 | #!/bin/bash
# ./create_vagrant_box_from_veewee_template.sh
# Create a vagrant box using a veewee template
#------------------------------------------------------------------------------
# Configuration
#------------------------------------------------------------------------------
ruby_version="1.9.3"
veewee_templa... |
4e9aa8354ce6f69281871252f8cb90b581911853 | 1,718 | #!/bin/bash
echo -e "10.0.1.1 puppet\n10.0.1.2 gitlab\n" >> /etc/hosts
puppet_version=$1
puppet_role=$2
control_repo=$3
yum install -y git
git clone $control_repo /tmp/psick
pushd /tmp/psick
echo "Set external facts"
bin/puppet_set_external_facts.sh --role $puppet_role --env 'host' --zone 'foss' --datacenter 'vagrant'... |
90f7128bba160cd2f953e6e93c1aacd7009f5dc1 | 60 | #configure app variables
PORT=8080
MY_VERIFY_TOKEN=durban24k |
d70b3af1413492e720a32c67de0601d7b5e3350c | 1,827 | #!/bin/bash
CLIENT=$1
cleanup_session() {
session=$1
# kill session
tmux kill-session -t $session 2>/dev/null || true
# get testrunner id
testrunner_id=$(docker logs $session | grep exec | awk '{print $6}' | head -1)
# cleanup toastty
docker rm -fv $session 2>/dev/null
if [ -z "$testrunner_id" ]; then
e... |
d7c56e2a21677248e0ef77defeeb5021f1abe7b1 | 96 | #!/bin/bash
su keystone -s /bin/bash -c "keystone-manage fernet_rotate"
<%= @rsync_command %>
|
bf7cc49d3a7ef22d56fc3c1209ce520158ad6063 | 102 | DB=mongodb://localhost:27017/m_g_db?retryWrites=true&w=majority
PORT=5000
JWT_SECRET=vu_156HVknb&jhg |
1a5379ec38a674e9ee85f7292b031728f5ac772c | 349 | echo "Generating lowres pages:"
for f in ../originais/*.jpg
do
echo "Converting $f ..."
convert $f -rotate 90 -resize 800 $f.lowres.jpg
done
echo "And now generating the PDF..."
convert ../originais/*.lowres.jpg Software_de_um_Minicomputador__Sistema_Basico_de_Controle__BenicioJSouza_1976.pdf
echo "done."
rm ... |
a0cc1f6b7503e38aedb39a4f9dd0a814eafc9886 | 41 | alias dp="$HOME/.composer/vendor/bin/dep" |
4ce436bef1ba0a3d810fb1f6ded447bb0b2f7f71 | 828 | #!/bin/bash -e
# This test checks that the extractor handles #pragma kythe_claim.
# It should be run from the Kythe root.
BASE_DIR="${PWD}/kythe/cxx/extractor/testdata"
OUT_DIR="${PWD}/campfire-out/test/kythe/cxx/extractor/testdata"
EXTRACTOR="${PWD}/campfire-out/bin/kythe/cxx/extractor/cxx_extractor"
KINDEX_TOOL="${PW... |
ca9a9a5bb378460741ce77338caa2a5ba749e2c2 | 198 | #!/bin/bash
#
# config: 2 20
# @brief: Collect dmesg information.
#
. $DREPORT_INCLUDE/functions
desc="dmesg"
file_name="dmesg.log"
command="dmesg"
add_cmd_output "$command" "$file_name" "$desc"
|
96fbc4cca5df43ab9851a65c67237aa41f977a55 | 224 | #!/bin/sh
# reset database
rake db:migrate:reset
# delete keyring
rm ../.gnupg/pubring.gpg
rm ../.gnupg/secring.gpg
# create blank key rings
gpg --list-keys
gpg --list-secret-keys
# implant database seeds
rake db:seed
|
d072e0f3d32065d08b344074a1af1355af71d75c | 210 |
#! /bin/bash
echo "enter directory name"
read dir
#check if this directory exist:
if [ ! -d $dir ]
then
echo "directory exists"
else
#make the directory:
mkdir -p $dir
read 2
touch $2
mv $2 dir/.
fi
|
2caec772ff94624acff8dc6e6e206cf88dfc6785 | 362 | #!/bin/bash
# Get current timestamp. Use option '-c' to copy to clipboard.
function ts {
local iso_stamp=`date +"%Y-%m-%d %H:%M:%S"`
if [ "$1" == "-c" ]; then
echo -n $iso_stamp | pbcopy
echo "[$iso_stamp] copied to clipboard."
else
echo $iso_stamp
fi
}
function tmpname {
local name=`date +"%Y-%... |
4b361db18019f0ad9bdb50394cdf49cb2b3b1361 | 817 | #!/bin/bash
CONFIG_FILE="/home/uli/Logging/Philips_putty_pid"
#Read LogFileName
#read -p "Filename: " LogFileName
#Read the config file
echo "Reading config..." >&2
if [ ! -f $CONFIG_FILE ]; then
echo "File $CONFIG_FILE not found!"
fi
source $CONFIG_FILE &>/dev/null
#echo $?
echo "Config for pidPutty: $pidPutty" ... |
8360d1713a153671409895b34ce93893213b92e2 | 2,424 | #!/bin/sh
# this is going to be problematic for oozie, since we've already released RPMs which are 2.0.5
# this default is different than all the others so that the script doesn't cause things to break when merged.
ALTISCALE_RELEASE=${ALTISCALE_RELEASE:-2.0.5}
export DEST_DIR=${INSTALL_DIR}/opt
mkdir -p --mode=0755 $... |
00e844bd1f677fc9a4ac032de832ef8e79b1e3df | 100 | #!/bin/bash
#export PATH=/home/ctweet/public_html/Console:$PATH
cake XmlCron
cake HtmlCron
|
b89825e832157c17a1fb7ad0ba2b0a06826268aa | 1,540 | #!/bin/bash
set -euo pipefail
PROG=$1
TMPD=/tmp/.rofi_interactive_tmp
exec 2>&1
[ -d "$TMPD" ] || mkdir "$TMPD"
OUTPUT=$TMPD/$PROG/out
INPUT=$TMPD/$PROG/in
if [ ! -d "$TMPD/$PROG" ]; then
mkdir "$TMPD/$PROG"
touch "$TMPD/$PROG/in"
# please, someone forgive me for this...
(tail -f --pid=$$ "$INPUT"... |
36fe2e22ca393044fcfbf8ce10c92b5f7f28a6ac | 3,735 | #!/bin/bash
##########################################################################################
# Programmed by Cristian Yanez, Engineer in bioinformatics, ChileGenomico Laboratory,
# Faculty of Medicine, University of Chile.
#
# 2020-07-13
######################################################################... |
bf1d02399e4025a6047689ff4a7ac825fca1966d | 874 | #!/bin/bash
if [ $# -lt 9 ]; then
echo " you should have VMD installed with path set well."
echo " "
echo " cmd psffile dcdfile fromid1 toid1 fromid2 toid2 distance deltadis withindis"
echo " "
echo " please try again."
exit -1
fi
pdbdir="pdbfiles"
if [ -d "${pdbdir}" ]; then
rm -fr ${pdbdir}
fi
mkdir ${pdbd... |
e6e1f93f045de12acc8024550ca98a061b6c515a | 684 | #! /bin/bash
set -euxo
# Source our secrets, clone a temporary copy of the repo and cd to it. This also gets
# the LOCKFILE variable for locking access to the main repo.
source "$(dirname "$BASH_SOURCE")/../common.sh"
# Wait for vax data to become available:
if python wait-for-vax-update.py | grep "ready!"; then
... |
6989bff649f32a0817775190a7973615e0b2e0cd | 1,452 | # Terminal Clock
# ver.1
stty -echo
printf "\x1b[0m"
clockStr=
showDate=1
exitFromScript=
delay=0.001
standard=0
if [[ $1 = "-c" ]]
then
# Color
if [[ $2 = "" ]] || [[ $2 = "0" ]]
then
clockStr=""
elif (( $2 < 10 ))
then
clockStr="\x1b[3${2}m"
else
echo "ttyclock: inval... |
fa1250945163d00d6c1739c447cff9f0717e71a6 | 153 | NODE_ENV=development
NETWORK_NAME=local
WEB3_PROVIDER=http://127.0.0.1:8545
API_ENDPOINT=http://localhost
PORT=8000
MONGODB_URL=mongodb://127.0.0.1:27017 |
60d0ab22c7ef6ee746f03447312b7867aef71e5c | 5,033 | #!/bin/sh
# Stress test for disassembler
head -1000 < /dev/urandom >TESTFILE
./disasm6800.py /dev/null >/dev/null
./disasm6800.py TESTFILE >/dev/null
./disasm6800.py -a 0 TESTFILE >/dev/null
./disasm6800.py -a 1000 TESTFILE >/dev/null
./disasm6800.py -a 60000 TESTFILE >/dev/null
./disasm6800.py -f 1 TESTFILE >/dev/nu... |
a4a9f713b7f2919a38c20f818f76e93397dbf5e7 | 960 | #!/bin/bash
#
# $Id$
#
PROG=$( basename $0 )
LOCALIP=$( netstat -rn | awk '/^0\./ { print $2 }' )
LOCALIP=${LOCALIP:-"192.168.1.1"}
DBGPRINT=${DBGPRINT:-":"}
DBGPRINT=${DBGPRINT:-"logger -t ${PROG} -p user.debug"}
LOGINF=${LOGINF:-"logger -t ${PROG} -p user.info"}
LOGERR=${LOGERR:-"logger -t ${PROG} -p user.error"}
#... |
6397c2434de17785e833ed9e06c6b9f722ca1308 | 248 | #/bin/sh
#
# Install and configure the powerline font family
: ${PF_DIR:=~/.powerline-fonts}
if [ ! -d "${PF_DIR}" ]
then
git clone git@github.com:barnsnake351/fonts.git --depth=1 "${PF_DIR}"
pushd "${PF_DIR}"
./install.sh
popd
fi
|
31a42dabf6acfccbfa0a777bc207ee49cd4e207b | 13 | PORT=
TOKEN= |
caf563c9d844811bc567085ac463120dd2f68848 | 152 | #!/bin/bash
# [wf] obtain n-year means
set -ex
# [wf] group every n years and obtain mean over each group
scripts/get_mean.py data/global_clean.csv 5
|
8bb9c713b70e480c405afc6d339d5a413c95a3b4 | 901 | #!/usr/bin/env bash
# Usage: misc/release.sh
# Build package, tag a commit, push it to origin, and then deploy the
# package on production server.
set -e
echo "Building..."
make build
version="$(./archive-backend version | awk '{print $NF}')"
[ -n "$version" ] || exit 1
echo $version
echo "Tagging commit and pushin... |
4f6f42ff6c2047a6e79e46e4d563f7c00b8fe1d4 | 1,342 | #!/bin/sh
print_usage() {
echo "Usage: $(basename $0) <command> [<arguments...>]"
echo
echo "command:"
echo " catalog-converter | review-catalog-converter"
echo " check | review-check"
echo " checkdep | review-checkdep"
echo " compile | review-compile"
echo " epubmak... |
189d533edd1b52eb8f105ab363f61d023094afa8 | 437 | #!/bin/bash
cp -r $BUILD_ROOT_DIR/$DEVICE/ramdisk $TARGET_DIR/ramdisk
[ $? -ne 0 ] && echo "Error: failed to copy ramdisk." && exit 1
cd $TARGET_DIR/ramdisk
# make sure all directories are created because git doesn't save empty directories
mkdir -p data dev proc sbin sys system
chmod 750 init*
chmod 750 sbin/adbd
ch... |
6ace5160ab7980b8533888730e4753c05478c4fd | 8,609 | #!/bin/sh
# cl-travis install script. Don't remove this line.
set -e
# get <url> <destination>
get() {
url=$1
destination=$2
echo "Downloading ${url}..."
curl --no-progress-bar --retry 10 -o "$destination" -L "$url"
}
# unpack <uncompression option> <file> <destination>
unpack() {
opt=$1
file... |
880293369f00cbd9c704a98612c5f1028ee8be88 | 126 | #!/bin/sh
cd ..
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_73`
mvn clean package -DskipTests=true -Dskip.itests=true
|
876dcc0d51e15ca9ef59e21f3c5917123ad4af86 | 654 |
. CONFIG
# Use this to change which GPU you use.
ID=1
# Batch size
BS=16
# Generator size
NGF=128
# Discriminator size
NDF=128
# Number of captions to use per image
NC=4
KD=16
ZKP=0
num_holdout=1 \
display_id=724${ID} \
port=8000 \
display=1 \
gpu=${ID} \
dataset='cub_keypoint_and_image' \
keypoint_dim=${KD} \
name... |
889b581ff72d6bf6ff5a8161b3f33007c3b9e470 | 98 | #! /bin/bash
msg(){
echo "yes!"
}
echo "ver mensagem"
read p
if [ "$p" = "1" ];then
msg
fi
|
2147327ffeee031ee9d85bc867948acff98d7bd3 | 123 | sed -i -e '8d' setup.py
export PROTEUS_PREFIX=$PREFIX
python setup.py build
pip --disable-pip-version-check install -v .
|
8beb1481d67cb94137f87481a369b30e41f890b0 | 1,479 | echo 'starting module'
# sleep time provided in environment variables. If not provided, pick reasonable defaults
SleepTime="${SleepTime:=24}"
SleepUnit="${SleepUnit:=h}"
# ensure sleep unit is a valid value, otherwise default to hours
case $SleepUnit in
s|h|m|d)
;;
*)
echo '********** Invalid or Missing S... |
95f1b2f37cf9fe1120ff5addbf5795598307f508 | 646 | #!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: gld.sh,v 1.5 2005/01/19 15:48:41 xtraeme Exp $
#
# PROVIDE: gld
# BEFORE: mail
# REQUIRE: DAEMON LOGIN mysqld
. /etc/rc.subr
name="gld"
rcvar=$name
command="@PREFIX@/bin/${name}"
required_files="@PKG_SYSCONFDIR@/$name.conf"
pidfile="@VARBASE@/run/${name}.pid"
extra_commands="gld_wa... |
9b21b05e530d2948de0547e160ce5908f14ee9f3 | 1,597 | # Checks that important files exist and are not size 0
EXIT=0
# list of files
files=( \
"merged.transcriptome.cram" \
"feature_counts.txt" \
"genes.fpkm_tracking" \
"isoforms.fpkm_tracking" \
"kallisto.log" \
"kallisto_adv.log" \
"picard.MarkDuplicates.txt" \
"picard.RnaSeqMetrics.txt"... |
bc2b8634fa533ac37a29f161375e9a88360b46ea | 52 | #!/bin/bash
git status -s|awk '{print $2}'|xargs rm
|
dc1f55a1ad302e80ab1aeec35708c3c769d52837 | 269 | #!/bin/sh
#
# $NetBSD: poffd,v 1.2 2004/08/13 18:08:03 mycroft Exp $
#
# PROVIDE: poffd
# REQUIRE: DAEMON
$_rc_subr_loaded . /etc/rc.subr
name="poffd"
rcvar=$name
command="/usr/sbin/${name}"
start_precmd="test -c /dev/pow0"
load_rc_config $name
run_rc_command "$1"
|
99177bcf760530898be6857c2bf557eba6f43610 | 104 | #!/usr/bin/env bash
node_modules/.bin/http-server & node_modules/.bin/watch "sh scripts/build-dev.sh" js |
ad8d0e7902bb5dc868a76ea979c1b6b56de24764 | 966 | #!/usr/bin/env bash
set -e
if [ -z "$SEISSOL_SRC_DIR" ]; then
echo "Expecting SEISSOL_SRC_DIR variable"
exit 1
fi
if [ -z "$OMP_NUM_THREADS" ]; then
echo "No OMP_NUM_THREADS variable defined"
exit 1
fi
if [ -z "$MPI_NUM_PROCESSES" ]; then
echo "No MPI_NUM_ROCESSES variable defined"
exit
fi
if [ -z "$SEISSO... |
a2f6f6934a3cb4c189a09f3816be54a216a276d9 | 152 | #!/bin/bash
echo "Stopping test mongo"
pidfile="test/resources/database.pid"
if [ -f $pidfile ]
then
PID=`cat ${pidfile}`
rm $pidfile
kill $PID
fi
|
a6105c3fffa3df6744bf8da8a3dbab645bee8d3f | 169 | DBNAME=u9415859_lapan
DBPASSWORD=imam632507
DBUSER=u9415859_lapan
API_GATEWAY_URL= https://api-gateway-lapan.herokuapp.com
JWTKU=mysikritkey
PORT=3002
HOST=46.17.173.176 |
89a95958978d14a3a57a9ccf7a8bf6f4d623ab5c | 2,016 | #!/usr/bin/env bash
# Copyright 2019 The KubeEdge Authors.
#
# 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 by applicable ... |
3d861d6d1663526df77c495a0d421fcf18ceb6c9 | 8,487 | #!/bin/ksh
HOST_TYPE=`uname -s | tr "-" "_"`
if [ $HOST_TYPE = "Linux" ]
then
alias echo="echo -e"
fi
#
# volley Parallel Process
#
# Default Value
#---------------------
Ver=2.1 # Version
Tty=`tty | awk -F \/ '{print $3"/"$4}'` # Terminal
cpuUse=2 # Max CPU Cost
cpuFree=20 # Min CPU Free
... |
2412d36e935bf71d5a4f61c2c6e3a133b2b6f987 | 1,932 | #srcfile="perf_1000000_uni.rslt"
skiplists="BlockedSpinSkipList BlockedCVSkipList ConcurrentSkipList JellyFishSkipList"
#skiplists="ConcurrentSkipList JellyFishSkipList"
threads="1 2 4 8 16"
ops="put get range_query"
ops="put get"
ops="get"
num="1000000"
workloads="uni zipf_1.2"
for op in $ops; do
for wk in $worklo... |
1a78017e3f1f90dd1f6b6554486ae91d211cb847 | 94 | cd web2py
python web2py.py -S Bionimbus -M -R applications/Bionimbus/scripts/spreadsheet.py
|
b9ba124093c0faee697256fe3fe1b5e04bad6023 | 1,894 | export OS_CLOUD=standalone
# nova flavor
openstack flavor create --ram 512 --disk 1 --vcpu 1 --public tiny
# basic cirros image
curl -O https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
openstack image create cirros --container-format bare --disk-format qcow2 --public --file cirros-0.4.0-x86_64-disk... |
c32693292e1acc98f6f229b5a5493d5319f8b168 | 2,110 | #!/bin/sh
PKGNAME="flashplayer-plugin-11"
INSTALLED_VER="$(find /var/log/packages/ -type f -name "${PKGNAME}-*" | \
cut -f 5 -d / | rev | cut -f 3 -d - | rev)"
echo "Installed version: ${INSTALLED_VER}"
URL="https://helpx.adobe.com/ru/flash-player/kb/"
URL="${URL}archived-flash-player-versions.html"
VERSION=$(wge... |
fe8de1a855b5a8046cc035d3ca2c2912225eb14d | 10,518 | #!/bin/sh -e
# Copyright (C) 2010 John Pilkington
# Largely based on scripts posted by Tino Keitel and Kees Cook in the Mythtv lists.
# Usage: ./mythcutprojectx <recording>
# <recording> is an mpeg2 file recorded by MythTV with a valid DB entry.
# This script is essentially a terminal-based replacement for the 'los... |
9cc01c11d8fb6507118318624ea540f051a11bf8 | 2,306 | #!/bin/bash
#
# Plots a directory with results from instrumentation.
#
DIR="${1}"
PROG="${2}"
CPU="${3}"
HTML="$DIR/index.html"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ -z "${DIR}" ]; then
echo "Usage: plot_dir.sh <directory with files>"
exit 1
fi
plot_part ()
{
FILE="${1}"
SCRIPT="${... |
6371d5332f79690e7785144afe973967c0d60430 | 247 | #!/bin/bash
state=$(systemctl is-active keepalived)
printf '%-12s : %-10s\n' router $state
state=$(systemctl is-active httpd)
printf '%-12s : %-10s\n' api-server $state
state=$(systemctl is-active mysql)
printf '%-12s : %-10s\n' database $state |
6f2900aabab3bc14e7cc079de8e45b15e19e41b3 | 445 | ##
## Zplug configuration
##
# source ~/.zsh/plugin/init.zsh
#
# zplug 'zsh-users/zsh-autosuggestions'
# zplug 'zsh-users/zsh-syntax-highlighting'
# zplug 'zsh-users/zsh-completions'
# zplug 'junegunn/fzf'
# zplug 'zsh-users/zaw'
# zplug 'ascii-soup/zsh-url-highlighter'
# if ! zplug check --verbose; then
# print... |
b7c3b2dc896248040a533d246e7e7d9bb12208af | 245 | #!/bin/bash
LINEAGEOS_REPO=https://github.com/LineageOS/android.git
LINEAGEOS_BRANCH=lineage-15.1
DEVICE_CODENAME=us998
PROPRIETARY_BLOBS_REPO=https://github.com/SGCMarkus/proprietary_vendor_lge.git
PROPRIETARY_BLOBS_DIR=$BASE_DIR/vendor/lge
|
4db927c7ced394234735612ce4c1460550482261 | 570 | #!/bin/bash -e
package_name="rcn-ee-archive-keyring"
debian_pkg_name="${package_name}"
package_version="2015.03.12"
package_source="${package_name}_${package_version}.orig.tar.xz"
src_dir="${package_name}_${package_version}"
git_repo=""
git_sha=""
reprepro_dir="r/${package_name}"
dl_path="pool/main/${reprepro_dir}/"
... |
c443f2bb13917f831dc46e1e9831659972090729 | 45 | PORT=5000
CORS_ORIGIN = http://localhost:3000 |
ccbfb5a4740b95a5fae6386e996f5862bc9dd2c6 | 48 | !/bin/bash
echo y | sudo docker image prune -a
|
4282ba1d426c68b5412f03297f7ba29a5105ca8a | 369 | #!/usr/bin/env bash
if [[ $# -ne 2 ]]; then
echo "Usage: $0 user@host:optional/path (no trailing slash) file-extension-expression"
else
upload_path=$1
file_extension_expression=\.${2}$
inotifywait --format "%f" -me close_write -q . | while read file
do
if [[ ! "$file" =~ $file_extension_expression ]]; then con... |
84d731f83282b21ffd3bbaa2948dd74281fe5c02 | 80 | S3PATH="s3://turing-redcap-dashboard/dataset/"
DATABASE="turing"
TABLE="redcap"
|
ae40d867edcaf078d322d711328bfeceb92515e3 | 532 | shopt -s autocd
shopt -s cdspell
# my new alias
alias open='xdg-open'
alias bashrc='vim ~/.bashrc'
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias lsd="ls -alF | grep /$"
alias srcbash='source ~/.bashrc'
alias als='cat ~/.bash_aliases'
# git aliases
alias adda="git add -A"
alias pull="git pull origin mas... |
f5b4d750bbcb42950006e8f374fe248d355338c9 | 172 | #!/bin/sh
echo "[*] Deleting old rfi.txt..."
rm rfi.txt
echo "[*] Downloading latest rfi.txt..."
wget "https://fuzzdb.googlecode.com/svn/trunk/attack-payloads/rfi/rfi.txt"
|
f4cbe96eb87f4c1fb5cc2e3344c002f122b60222 | 309 |
REACT_APP_APU_KEY=AIzaSyDKhRQap5M989MOKSDDP-10uLQyxM9OL20
REACT_APP_AUTH_DOMAIN=remind-me-1900a.firebaseapp.com
REACT_APP_PROJECT_ID=remind-me-1900a
REACT_APP_STORAGE_BUCKET=remind-me-1900a.appspot.com
REACT_APP_APP_ID=703955854602
REACT_APP_MESSAGING_ID=1:703955854602:web:aad6f8d97676e669b006f3 |
87c6b74402a576e42655956e60d861e4d9e93ae0 | 145 | #!/bin/sh -eux
bin/ci.branches
if [ "${TRAVIS_BRANCH}" = "master" -a "${GHCVER}" = "8.4.4" -a "${CABALVER}" = "2.0" ]
then
bin/ci.publish
fi
|
8034690727b78d7e666690ce969cd58eeb6443db | 928 | #!/bin/sh
ask() { dmenu -i -l 6 -fn Go-Mono -p "$1" -it "$2"; }
export IFS=$'\n'
cachedir=~/.cache/dict/
mkdir -p $cachedir
for d in $STARDICT_DATA_DIR/dic/*.idx; do
c=$cachedir/$(basename "$d" .idx)
[ -f "$c" ] || generdictcache "$d" >$c
done
word="$(cat $cachedir/* | ask 'Translate:' $(xclip -out -selectio... |
dbb004c021ce51456dd57fe49eaa1dd4a0b57259 | 54 | REACT_APP_API_HOST = https://api-licenta.herokuapp.com |
caa9270a7f111cfee9b0926dfe579f7774c6b536 | 84 | #!/bin/bash
rm dist/ds1307service.deb
dpkg-deb --build ds1307 dist/ds1307service.deb |
1bf1f9424e52a8054fd2eb04a1d34f3332c2643c | 895 | # ##############################################################################
# SERVER
# ##############################################################################
SERVER_PORT=10130
JDWP_SERVER_PORT=10135
# ##############################################################################
# ENVIRONMENT
# ##... |
d75ce64b85421401dd7dfa8ef7dadf7a17c03851 | 1,077 | # Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
_pkgname=afx2usb-linux
pkgname=$_pkgname-git
pkgver=0.r4.9f2ef7d
pkgrel=1
pkgdesc="Install or uninstall USB bootloader firmware for Fractal Audio Systems Axe-FX II audio processor."
arch=('any')
url="https://github.com/TieDyedDevil/afx2usb-linux"
l... |
0f52ac9a549f9a36a586b2cb78288fa6cc35b8ff | 381 | #!/bin/bash
#Author: VASANTH
#Date: May 2 2021
echo "THIS SCRIPT WILL CREATE A CONTAINER NGINX:1.19.10"
echo "--------------------"
sleep 1
echo "IT WILL LISTENS TO THE PORT http://localhost:8080"
echo "--------------------"
docker-compose -f ex3-compose.yml up
sleep 1
echo
echo "-------------------"
echo "CONTAINER... |
e5f024ef31b4fbc5ccebc3795d82f3caca5cec99 | 223 | #!/bin/bash
kubectl create namespace dc1 || echo could not create namespace dc1.
kubectl create namespace dc2 || echo could not create namespace dc2.
kubectl create namespace dc3 || echo could not create namespace dc3.
|
36775edd80f5e3a2e77e70500a1f749f47d6c578 | 253 | #
# __helpers.sh
# alloy
#
# Author: Wess Cope (you@you.you)
# Created: 11/20/2020
#
# Copywrite (c) 2020 Wess.io
#
#!/usr/bin/env bash
pause() {
read -p "$*"
}
quit() {
echo >&2 "$@"
exit 1
}
define(){ IFS='\n' read -r -d '' ${1} || true; } |
7ff808754e082e172613b157ac34a584aba1900a | 33 | #!/bin/bash
docker rm -f liberty
|
b0077e87f8141bf1d4b616f40b93dd5cc2f3d4b2 | 49 | #!/usr/bin/env sh
mkdir assessment
cp index.rb
|
396cb2455b396102d562640b1548feeeb616bc40 | 172 | #!/bin/bash
source common.sh
s='test_domain'
id="$( cut -d '_' -f 1 <<< "$s" )"
echo "$id"
#mysql=$(cat addproject/new_user.sql | sed "s|demo|$database|g")
#echo $mysql
|
9bb7805569192a75ceef437cf707c2b46696e3f2 | 172 | #!/bin/bash
# List the top-level references to "usernames" that are most referenced.
npx --yes tsx scripts/legacy-refs/detect-refs.ts app/models/mongodb.js usernames top
|
7ec30ffea3faa960af0bc6d3ea625f3c0f6fd19d | 896 | /usr/local/bin/blat -minScore=10 -tileSize=7 /rhome/cjinfeng/BigData/00.RD/RILs/Transpostion/input/TE/mping.fa /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTEi_GN266/repeat/fastq/GN266_1.fa /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTEi_GN266/repeat/blat_output/GN266_1.te_repeat.blatout 1>>/bigdata/cjin... |
87a96d1bf63c516c61462b79885b4e74d83085f5 | 1,941 | #!/bin/bash
# VOMS commands
VOMS_HOST=voms-biomed.in2p3.fr
VOMS_PORT=8443
VO=biomed
voms-admin --vo=$VO --host $VOMS_HOST --port $VOMS_PORT list-users
voms-admin --vo=$VO --host $VOMS_HOST --port $VOMS_PORT list-cas
voms-admin --vo=$VO --host $VOMS_HOST --port $VOMS_PORT --nousercert get-certificates '/O=GRID-FR/C=FR... |
a5ac7ae07fde208cacbab706750bb003784f86eb | 681 | #This script can be used to install and configure Docker CE on a RHEL/CentOS Linux distribution
#Update the RHEL/CentOS system packages
sudo yum -y update
#Install the Required Dependencies
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
#Add the Docker Stable Repository
sudo yum-config-manager --add... |
b21e774dbb51b37865102cf5063abf02766e692e | 443 | #!/bin/sh
#
# Example file for configuration options for publishing minutes
export EDITOR="/usr/bin/gedit"
export WAV_EDITOR="/usr/bin/audacity"
export SCRAWL_EMAIL_USERNAME=
export SCRAWL_EMAIL_PASSWORD=
export SCRAWL_EMAIL_SERVER=
export SCRAWL_TWITTER_CONSUMER_KEY=
export SCRAWL_TWITTER_SECRET=
export SCRAWL_TWITT... |
7cf5a194d96fc999f57959ae0fb34b3d2db10212 | 145 | #!/bin/sh
if test $# -eq 1; then
~/ccl/fx86cl -Q -K utf-8 -e "(progn $1 (ccl:quit))"
exit 0
fi
#~/ccl/fx86cl -Q -K utf-8
~/ccl/fx86cl -K utf-8
|
7e30adaa2a2974f4745b3d87a4895a73d20fb159 | 58 | #!/usr/bin/env bash
git rebase ${git get-main-branch} -i
|
87953347aed103acd3404c8599e0e0c6a74ecc89 | 535 | #!/bin/sh
diretorio=`pwd`
/usr/bin/unzip $diretorio/comm3.0_u1_linux.zip -d /tmp/
cp /tmp/commapi/jar/*.jar /usr/lib/jvm/java-1.5.0-sun/jre/lib/
cp /tmp/commapi/jar/tools/*.jar /usr/lib/jvm/java-1.5.0-sun/jre/lib
cp /tmp/commapi/lib/*.so /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386
cp /tmp/commapi/docs/javax.comm.propertie... |
556dc64d4ea5da40ac1138a1052d6b6a016dbb8f | 44 | clear;cd ~;rm .bashrc;figlet done !|lolcat
|
a4a22b3d482a69ad9c4cc21aa32d5ec88f4b885d | 443 | #!/bin/bash
# Script with lots of commands
sleep 1 && echo -e "Hello there!\n(greeting will be improved eventually)" && sleep 3 && termux-setup-storage && sleep 1.2 && cd ~/storage/shared/ && pkg update -y && pkg install -y wget x11-repo root-repo unstable-repo busybox termux-services git && echo -e "\n\n" && sleep 1 ... |
8ba704af6eb680070a8844089b4f155c598d3d25 | 890 | #!/usr/bin/env bash
# TODO needs revision, see:
# https://github.com/skycoin/skywire/issues/161
# local vars
SKYWIRE_UNIX_SCRIPTS=/usr/local/skywire/go/src/github.com/skycoin/skywire/static/script
# check for the env vars
if [ ! -f /etc/default/skywire ] ; then
# does not exist, link it
ln -s ${SKYWIRE_UNIX_SCR... |
5711385f3266a1edd1c1c67a80d2579319dccbff | 779 | #/bin/bash
EC2_INSTANCE_ID=$1
EC2_ACCOUNT_USER=$2
EC2_KEY_LOCATION=$3
# Retrieve information about the instance volumes
EC2_INSTANCE_INFO=$(aws ec2 describe-instances --instance-id $EC2_INSTANCE_ID)
EC2_VOLUME_ID=$(echo $EC2_INSTANCE_INFO | jq '.Reservations[0].Instances[0].BlockDeviceMappings[0].Ebs.VolumeId' | tr -... |
25d1946ac5a17c9ec0776691b97a2397d5c1ef06 | 242 | #!/bin/sh
# we'll expect a file that lists the private buildpacks to apply
# this pack is valid for apps with a hello.txt in the root
if [ -f $1/.heroku-private-build.lst ]; then
echo "Private buildpack detected."
exit 0
else
exit 1
fi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.