blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
b01dae3b861f4a695fe81af705c6e500686aa3d8 | 71 | # extract the genes with padj < 0.05
awk -F ',' '$NF<0.05{print $0}' $1 |
fa21b6840618de27afbb605b1e4283911ede03e7 | 172 | #!/bin/bash
cat ~/.config/i3/config.i3config > ~/.config/i3/config
if [ -f ~/.config/i3/device.i3config ]; then
cat ~/.config/i3/device.i3config >> ~/.config/i3/config
fi
|
fa7e086c7b3cfe04fa875cb6ff1eef1f86a2bcec | 71 | minioPd=kftest-1025-151315-storage-artifact-store
minioPvName=minio-pv
|
01b648d0d7701fe7b87b36d917c130430bbee83f | 3,580 | input="/home/ec2-user/Ansible_MPC_Development/serverdetails.csv"
echo "variables: " >> /home/ec2-user/Ansible_MPC_Development/roles/aws_ec2creation_role/vars/main.yml
while IFS="," read -r f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f21 f22
do
#Condition 0
if [[ $f2 == "windows" && $... |
28ebcb496b5aa3cd4226a0539db79665856301f3 | 58 | java -cp dist/Summator-2.0-SNAPSHOT.jar sum.SumLauncher $* |
4378d5f5355e022c55ca1f5e7c383b319b02bbbc | 12,296 | #!/bin/bash
COIN_NAME='raptoreum'
#wallet information
BOOTSTRAP_ZIP='https://www.dropbox.com/s/hhxml2txus7dc79/rtm-bootstrap.zip'
BOOTSTRAP_ZIPFILE='rtm-bootstrap.zip'
CONFIG_DIR='.raptoreumcore'
CONFIG_FILE='raptoreum.conf'
PORT='19989'
SSHPORT='22'
COIN_DAEMON='raptoreumd'
COIN_CLI='raptoreum-cli'
COIN_PATH='/usr/l... |
bd26998e270e0e10d31430a2228b849e616952f8 | 1,224 | #!/bin/bash
(
set -e
echo -e "\n Get stemcell version..."
STEMCELL_VERSION=`cat vsphere-stemcell/version`
STEMCELL_VERSION=0000
echo $STEMCELL_VERSION > stemcell-version
s3cmd put stemcell-version s3://bosh-softlayer-cpi-stemcells --access_key=$S3_ACCESS_KEY --secret_key=$S3_SECRET_KEY
echo -e "\n Inst... |
bbab5d6bb91ee831427850faa5eb04072d123abf | 75 | #!/bin/bash
cd /root/solution/jdtry/
python36 main.py > /dev/null 2>&1 &
|
61f3c91b3b136209df70139a0395386c0856bf2f | 987 | #!/bin/bash
#################################################################
# INPUT:
# tree
# species_tree [optional]
# OUTPUT:
# tree_SIS.ph
##################################################################
TREEBEST_CMD="../../bin/treebest sdi"
PLOT_CMD="../../scripts/plot_SISvsNumLeaf.R"
INPUT_TREE=$1
[[ $# == ... |
25f64b818d4a0b780c1ba3ce35cce06693fcc81e | 27,838 | #!/bin/bash
###########################
# ATIVACAO FIREWALL #
# Data: 26/06/2014 #
# Autor: Leonardo Araujo #
###########################
# ALERTA DE AJUSTE INICIAL
clear
echo ""
echo "
__ __ ______ _____ _____ ________ __ _ _
| \/ | _ | ____|_ _|... |
00b1b02ca37156c37a2d4dd3bc44b86f95b998ef | 10,314 | #!/bin/bash -u
DATADIR=${PWD}/dataset/conv
MODELDIR=${PWD}/models
BINDIR=${PWD}/build_compressor
SCRIPTSDIR=${PWD}/scripts/tools
RESULTSDIR=${PWD}/results
if [ ! -d ${RESULTSDIR} ]; then
mkdir ${RESULTSDIR}
fi
# models
NAMES=("lstm")
ROOTDIRS=("${MODELDIR}/lstm")
BINS=(${BINDIR}/lstm)
NAMES=("${NAMES[@]}" "lstm... |
18e34fb688ae9d222e325a62c2540c3538e1b8d3 | 1,677 | #! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2018 Oracle, Inc.
#
# FS QA Test No. 449
#
# Make sure pretty printed XFS geometry is the same across all programs.
#
. ./common/preamble
_begin_fstest auto quick
# Import common functions.
. ./common/filter
# real QA test starts here
_supported_fs xfs
... |
6afa934f94151837716269699e724bb3b242bf2a | 886 | #git clone https://github.com/iizukanao/node-rtsp-rtmp-server.git
#https://github.com/iizukanao/node-rtsp-rtmp-server#publishing-live-streams
#ffmpeg -re -i 09_30_26.264 -c:v libx264 -f flv rtmp://localhost/live/sssss
#ffmpeg -re -i 09_30_26.mp4 -c:v copy -f flv rtmp://localhost/live/sssss
#ffmpeg -re... |
8981658fb70dcdaa8582b6adbeb6aa265c32bb8f | 2,147 | #!/bin/bash
. build/common/functions
if $(handleArgs --help $*); then
build/common/help "build_all_after"
exit 0
fi
echo $(green "build/common/publish_market $*")
outputPath=$(handleArgs --outputPath $*)
build_ios=$(handleArgs ios $*)
build_android=$(handleArgs android $*)
ios_version=$(handleArgs --ios_version ... |
f69febee6ad83c1e7762d69f03ba1c04db22afe3 | 1,468 |
export ZSH="/home/www-data/.oh-my-zsh"
ZSH_THEME="kphoen"
DISABLE_LS_COLORS="false"
DISABLE_AUTO_UPDATE=false
plugins=(colorize history symfony)
source $ZSH/oh-my-zsh.sh
# ALIAS
alias cdw="cd /usr/src/app"
alias tail="grc tail"
alias cpt="vendor/bin/codecept"
alias kill="kill -9"
alias ping="ping -O "
alias port... |
b314a7368eaa6aeaa6ae317609b75d1532731aa4 | 107 | #!/bin/bash
docker run -d -p 80:2015 -v $(pwd)/Caddyfile:/etc/Caddyfile -v $(pwd):/srv abiosoft/caddy:php
|
cb38645da97ae6d5f60c494660a413a64b4b59c3 | 87 | #!/bin/sh
mv config.js config.js.bak
git pull origin master
mv config.js.bak config.js
|
9abfc2fb9ddc0a80a2f0549da0547fe3acfb6cd3 | 750 | /home/wisdom/2019.3/bin/efx_pnr --circuit MIPIDebug --family Trion --device T20F169 --operating_conditions C4 --pack --place --route --vdb_file /home/wisdom/2019.3/project/MIPIDebug1.6/Efinity/MIPIDebug.vdb --use_vdb_file on --place_file /home/wisdom/2019.3/project/MIPIDebug1.6/Efinity/outflow/MIPIDebug.place --route_f... |
17de8214ee84210355d2c452e74d2edea50f948c | 215 | echo the name of this script is $0
echo first argument us $1
echo a list of all the arguments is $*
echo this script places the date into a temporary child
echo called $1.$$
date >$1.$$
ls $1.$$
echo $firstname
|
fd8745fcc1d375f15e76d571ceef5bec987de622 | 87 | PORT=3000
SESSION_SECRET=@#$#$@#$@$DFGFG$%dfjlsbuttonssockspotatoasdfienvgyri567$%87^%@ |
c50c879b040dfaa235b5376bbee8295b8b1aa9fb | 1,012 | #!/usr/bin/env bash
#export BERT_BASE_DIR=/home/zhaoxj/pycharmProjects/BERT-chinese-text-classification-and-deployment/bert/chinese_L-12_H-768_A-12
#export GLUE_DIR=/home/zhaoxj/pycharmProjects/BERT-chinese-text-classification-and-deployment/data
#export MODEL_DIR=/home/zhaoxj/pycharmProjects/BERT-chinese-text-classifi... |
b6564432fa7b62954d57299dc1c62b1fb7aa50b0 | 194 | #! /bin/bash
function die { echo $1: status $2 ; exit $2; }
echo "TESTING Alignment/OfflineValidation ..."
cmsRun ${LOCAL_TEST_DIR}/test_all_cfg.py || die "Failure running test_all_cfg.py" $?
|
9a5a701682bb7e9726939d143961d98acf4c5885 | 315 | #!/bin/bash
rubypath=/home/franco/Workspace/roach_tools/externals/adc16_init_cal/adc16_test/src/bin/
#ruby $rubypath/adc16_init.rb --demux 2 192.168.1.13 mbf_16beams.bof.gz
ruby $rubypath/adc16_init.rb --demux 2 192.168.1.13 mbf_64beams.bof.gz
sshpass -p roach ssh pi@192.168.1.14 '(python init_mixers.py)'
sleep 1
|
6f91808199ee602eeeec02ea1b1d5e61baa962df | 1,142 | #!/usr/bin/env bash
database_name=$1
# Loop through all the database names in the file 'database.txt'
echo "Database name: "$database_name""
#sleep 2
# Create the database
echo "Attempting to create database: "$database_name
echo "CREATE DATABASE "$database_name";"
echo "CREATE DATABASE "$database_name";" | psql -d... |
eac236679226f2db8487b971d8b9bf0e80d4f820 | 252 | #!/bin/bash
mysql -u openmrs --password='MYSQL_OPENMRS_PASSWORD' -e \
"update global_property set property_value='true' where property like '%started%';" \
openmrs
sudo rm -r ~tomcat7/.OpenMRS/configuration_checksums
sudo service tomcat7 restart
|
7e44e18547ba1e98cf709b5a6462adb4d265663e | 167 | #!/bin/bash
sudo apt-get update
sudo apt-get install python-tk python-pygame
cp -R database.msql /var/tmp/
echo "<globalapplication@yandex.com> kurulum tamamlandı."
|
f481a85217979f792aaac0d64beb80856da9d051 | 1,735 | #!/bin/bash
#Script permettant l'installation de:
# X2GO serveur
# L'environnement de bureau XFCE4
# Le navigateur Iceweasel
# Le terminal xfce4-terminal
#
#"HALHOUL Billel" halhoul.billel.pro@gmail.com
#"DOS SANTOS Daniel" daniel.massy91@gmail.com
#Source: https://wiki.x2go.org/doku.php/doc:installation:x2goserver
cle... |
632b5c97a159618eabcb25b45085f8a902f1928f | 560 | #!/bin/bash
gcc -c -I../lib ../lib/random.c
g++ -c -std=c++11 -I../lib ../lib/MemTimeTester.cpp
g++ -c -std=c++11 -I../lib ../lib/Matrix.cpp
g++ -c -std=c++11 -I../lib ../lib/class_mc_io.cpp
g++ -c -std=c++11 -I../lib ../lib/IsingLattice2D.cpp
g++ -c -std=c++11 -I../lib ../lib/LongRangeWolff2D.cpp
g++ -c -std=c++11 -I.... |
915b41cfe76386258cd6c4eb045819b4727bb244 | 752 | sudo apt-get install -y motion
sudo apt-get install -y libjpeg62
mkdir -p ~/mmal
(cd ~/mmal/; wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz)
(cd ~/mmal/; tar -zxvf motion-mmal.tar.gz)
(cd ~/mmal/; wget https://raw.githubusercontent.com/brodemack/Pi/master/update-motion-conf.rb; ruby update-motion-... |
856b9e1c1b641ac267d29d4c06e9fa00e7567eb8 | 689 | source ~/.bashrc
export SHELL=/bin/bash
#source /afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013-v6_2/loadLSST.sh
export PATH=/nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/anaconda/2.0.1/bin:${PATH}
source /nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2014/load... |
73c32c42b5d56de9a6fa2552fe5cc8df534d380f | 1,615 | #!/bin/bash
BIOINFO_TOOL_XGSUTILS=$(realpath $0 | xargs dirname)"/../"
xgsutils_averageDepth="$BIOINFO_TOOL_XGSUTILS/bamutils/xBamAverageDepth"
# help message
help(){
>&2 echo "SYNOPSIS"
>&2 echo " xBamCoverageEachChr [OPTIONS] <GENOME_FASTA> <BAM_FILE>"
>&2 echo ""
>&2 echo "DESCRIPTION"
>&2 echo " Co... |
d5a434d5d4843d42238d2151c638920e04c93047 | 385 | #!/usr/bin/env bash
echo "Creating mongo users..."
mongo admin --host localhost -u $MONGO_INITDB_ROOT_USERNAME -p $MONGO_INITDB_ROOT_PASSWORD --eval "db = db.getSiblingDB('$MONGO_AUTHENTICATION_DATABASE');db.createUser({user: '$MONGO_NON_ROOT_USERNAME', pwd: '$MONGO_NON_ROOT_PASSWORD',roles: [{role: 'readWrite', db: '$... |
826eb6f4f940f316a16fdc5d453b0ac297472184 | 979 | #!/bin/bash
python python/BinnedFit.py -c config/dijet.config -l 41800 -m qq -s signalHistos_bb_Aug_ForScan_CSVv2_2b//ResonanceShapes_qq_bb_13TeV_Spring16_600_Nominal_Interpolation_rescale.root inputs/JetHT_run2017_red_cert_scan.root -b SeptDijet2017bbCSVv22b600 -d fits_2018_08/SeptDijet2017bbCSVv22b600Scan --fit-spec... |
359645878c9adf8c4516889d53b080bdbc148f82 | 420 | #!/bin/bash
pierwszaLiczba=$1
drugaLiczba=$2
if ((pierwszaLiczba > drugaLiczba))
then
for ((i=pierwszaLiczba; i>=drugaLiczba; i--))
do
if ((pierwszaLiczba % 2 == i % 2))
then
echo -n "$i "
fi
done
else
for ((i=pierwszaLiczba; i<=drugaLiczba; i++))
do
i... |
73e34637526f1ae952b4673ba506596fcc342cb1 | 1,098 | #!/bin/bash
cd /afs/cern.ch/work/q/qnguyen/public/HCAL/CMSSW_7_6_3_patch2/src/rootNtupleAnalyzerV2
cmsenv
./main /afs/cern.ch/work/q/qnguyen/public/HCAL/CMSSW_7_6_3_patch2/src/rootNtupleAnalyzerV2/data/CosmicsComissioning_20160322_023830/input/input_63.list /afs/cern.ch/work/q/qnguyen/public/HCAL/CMSSW_7_6_3_patch2/src... |
077e59423f9befb4ab79afa50029763d78fa6748 | 223 | #!/usr/bin/env bash
cd $HOME/BESSO
rm -rf $HOME/.telegram-cli
install() {
rm -rf $HOME/.telegram-cli
sudo chmod +x tg
chmod +x BESSO
chmod +x BE
./BE
}
if [ "$1" = "ins" ]; then
install
fi
chmod +x install.sh
lua start.lua
|
79024efbfdbd35bc8fbf347a4a05a47df6632d02 | 1,767 | #!/bin/bash -l
#
# I blatantly stole this from Ami when setting up
# ratpoison. Lots of stuff is commented out for now.
# In addition, I'm marking the stuff that I blatantly stole
# from him so that I remember that I have no idea what it is. ;)
#
# I'm not sure if I should need this at the beginning, but it doesn't
#... |
288f6d5bcb8b683debfe984bf7a1cd0adff7f085 | 274 | #!/bin/sh
# Execute the simple obfuscation program
# Note: run the script from some sub directory.
# ../all.sh
# OK, not the best script
LIST=`find -name '*.*'`
for i in $LIST ; do
echo $i
../o.py $i > $i.tmp && mv $i.tmp $i
done
find -name '*.tmp' -exec rm -vf {} \;
|
d12a20c51fe2e2c400b4cabdf7191f272c421e76 | 13,493 | #!/bin/bash -e
#!/usr/bin/env bash
ERROR=0
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. "${DIR}/config"
echo "##########################################################################################"
echo "#"
echo "# 10. C H E C K I N G N A G I O S L O G"
echo "#"
echo "#######################... |
a62b17e78a378cd7a2000b2ff735553ecc2d0941 | 658 | if [ ! -f $HOME/.ssh/id_rsa ]; then
ssh-keygen -t rsa -q -f "$HOME/.ssh/id_rsa" -N ""
fi
echo "" > $HOME/.ssh/known_hosts
docker-compose -f client/docker-compose.yml up -d
sshpass -p "kroepoek" ssh-copy-id -o StrictHostKeyChecking=no root@172.16.23.10
sshpass -p "kroepoek" ssh-copy-id -o StrictHostKeyChecking=no ... |
f7550f93cfdc0b93e60dbb69d6f16c614819839a | 1,036 | # Maintainer: Dominik Heidler <dheidler@gmail.com>
pkgname=python-osmgpsmap-git
pkgver=20121231
pkgrel=2
pkgdesc="Python bindings for osm-gps-map"
arch=('i686' 'x86_64')
url="http://nzjrs.github.com/osm-gps-map/"
license=('GPL')
depends=('python2' 'pygobject' 'pygtk' 'osm-gps-map-git')
provides=('python-osmgpsmap')
so... |
667079613bf7a8d9a6395dd6770f0d227b8644e4 | 2,407 | #!/bin/bash
#Install curl from source
if [[ ! -f /tmp/resources/curl-7.50.0.tar.gz ]]; then \
wget -c https://curl.haxx.se/download/curl-7.50.0.tar.gz -P /tmp/resources/; \
fi;\
cd /tmp/resources && \
tar -zxvf curl-7.50.0.tar.gz && \
cd curl-7.50.0 && \
./configure --with-ssl=/usr/local/ssl --enable-ares --enable-v... |
9f6157307b9c2ac91b255994802be6be2074a253 | 1,780 | #!/bin/bash
path=${1}
out=${2}
sampleF=${3}
email=${4}
ref=${5}
pon=${6}
dbSNP=${7}
walltime=${8}
queue=${9}
interval_list=${10}
USAGE="\nMissing input arguments..\n
USAGE:\trun_evc_bam \\
path/to/bam/files \\
output/directory \\
path/to/sample.map \\
email.for@notification \\
reference_genome (fasta) \\
pon (... |
f6df329c7ccde3877b4731cc07c38488c48ef469 | 2,168 | #!/system/bin/sh
#add extra toggles on boot
if [ -e /data/data/com.android.providers.settings/databases/settings.db ];
then
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update system set value='Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;PowerSaving;UltraPo... |
78a7dd076f1e353df63566bc140c225937d4ee36 | 576 | #!/usr/bin/env zsh
# Convert 16-bit RGB values to hexadecimal
# For example, xmag shows color in this format.
#
# Usage (outputs #00cb02):
#
# rgb2hex 0 cbcb 202
while getopts h opt; do
case $opt in
h) awk 'NR == 1 { next } /^$/ { exit } { print substr($0, 3) }' "$0"
exit ;;
esac
done
shift $(( ... |
2f12053a055dd2b18eaeb8c510c3e2c77748bbb6 | 192 | #!/bin/bash
export PATH=$PATH:/shared/workspace/software/homer/bin
makeUCSCfile=/shared/workspace/software/homer/bin/makeUCSCfile
input_tag_folder=$1
$makeUCSCfile $input_tag_folder -o auto
|
9b5e19d6fde107befa5b65ad4ce579cde354f6b9 | 552 | #!/bin/bash
if [ $# -ne 1 ]
then
echo 'It needs one argument.'
exit -1
fi
arg=$1
echo
echo File:$arg
if [ ! -e "$arg" ]
then
echo -e '\tFile does not exist.'
exit
fi
echo -e '\tFile exists.'
if [ -r "$arg" ]
then
echo -e '\tFile is readable.'
else
echo -e '\tFile is not readable. '
fi
if [ -w "$arg" ... |
8e7efe92818eb9843b77324a2ec0da7917469c92 | 1,081 | #!/bin/bash
# program ada, ile w podanym katalogu jest plikow *.java i ile z nich ma publiczne metody
#oraz ile z nich jest pokyte javadoc. Statystyka jest wy
# cd /media/krzysztof/JavaAcademy/Akademia_Javy/Kod/javadoc_test
cd $1
let WITHOUT=0
let TOTAL=0
for d in $( find -readable -executable -type d )
do
for... |
6cb95868a6b87c235f21b854f244e3c92bae4f56 | 2,085 | #!/bin/bash
###########################################################################
# a2o Essential Puppet Modules #
#-------------------------------------------------------------------------#
# Copyright (c) Bostjan Skufca #
#---... |
c1281150f8688684f1cdda82bc54361365b058e4 | 1,260 | bcp ep_user out ep_user -c -t',' -U$DBUSER -P$DBPWD -S$DBSERVER
bcp ep_role out ep_role -c -t',' -U$DBUSER -P$DBPWD -S$DBSERVER
bcp ep_user_role out ep_user_role -c -t',' -U$DBUSER -P$DBPWD -S$DBSERVER
bcp ep_menu out ep_menu -c -t',' -U$DBUSER -P$DBP... |
89b2223ece1f865329321dd1393eb6abb553c29e | 329 | #!/bin/bash
if [ ! -f ~/corpus/europarl/freq.fr.sorted.txt ]; then
for i in en fr; do
cat ~/corpus/europarl/clean.$i | awk '{for(i=1;i<=NF;i++) m[$i]++}END{for(i in m) print i,m[i]}' > ~/corpus/europarl/freq.$i.txt
cat ~/corpus/europarl/freq.$i.txt | sort -k2 -n -r > ~/corpus/europarl/freq.$i.sorted.txt
d... |
f77c0810c638b53eda1fd2dbf1c74c4ddc571f7b | 4,900 | #!/usr/bin/env bash
# arrete et desactive le firewall
systemctl stop firewalld
systemctl disable firewalld
# install ntp pour la synchronisation du temps et l'active au demarrage
yum -y install ntp
systemctl start ntpd
systemctl enable ntpd
# installation des paquets etcd, kubernetes et flannel
yum -y in... |
6f7b82057ae31e000564f13d56c291fe99163a88 | 58 | #!/usr/bin/env bash
# No loophole in your website traffic
|
00364cdc1e79f107fe4a2169784616e513e230e7 | 508 | #!/bin/sh
# optional first argument = mysql root password
echo "Drop + create IQC database..."
rm source/WAD_Interface/create_databases/iqc_db/iqc.sql 2> /dev/null
cat source/WAD_Interface/create_databases/iqc_db/*.sql > source/WAD_Interface/create_databases/iqc_db/iqc.sql
mysql -uroot -p$1 < source/WAD_Interfac... |
563a8f8f73030264f0e5b1fe44781adcce6b0a2e | 4,287 | #!/bin/bash
# Usage:
# ./update-multiple-countries.sh [<log file>]
#
# See also: https://github.com/openstreetmap/Nominatim/issues/60
# Nominatim-Osmium does not support update multiple countries by default
DEFAULT_OUT="/dev/stdout"
OUT="$DEFAULT_OUT"
CUSTOM_OUT="$1"
USERNAME="nominatim"
NOMINATIM_HOME="/srv/nominatim... |
bb9f945282a983340e12b4e0b4444e220f15632c | 115 | vagrant destroy -f
vagrant up
sleep 30
vagrant ssh core-01 -- -A share/fleetctl-init.sh
vagrant ssh core-04 -- -A
|
5d9e8c79677baed9205d1d6388e89639da815b5c | 142 | docker stop rtmp-hls
docker rm rtmp-hls
docker build -t rtmp-hls . --no-cache
docker run -d -p 1935:1935 -p 8080:8080 --name rtmp-hls rtmp-hls |
98433030f5426537d9546ab14ff2ca525321e540 | 83 | #!/bin/bash
echo enter a no
read a
echo enter 2 no
read b
c=$((a+b))
echo sum is $c |
de0e5cb00533a98b00bae3db220d37781a526e8c | 187 | #!/bin/sh
export GOPATH=$PWD
export GOBIN=$PWD/bin
cd $GOPATH/src/$1
if [ ! -f "$GOPATH/src/$1/glide.yaml" ]; then
glide create --non-interactive && glide i -v;
else
glide up -v;
fi |
1de3aa61b5a09f2ecbc101b7e18e0ff249bad35b | 18 | echo "I am v2269"
|
9ba46dd3e45991eb40c2985cbfecfea46152a69c | 705 | #!/bin/bash
# https://misc.flogisoft.com/bash/tip_colors_and_formatting
good() {
echo -e ">> $1: \e[1m\e[32m[OK!]\e[0m"
}
fail() {
echo -e "\e[31m==================================\e[0m"
echo -e "\e[31mFATAL ERROR with $1\e[0m"
echo -e "\e[31m==================================\e[0m"
}
release=$(lsb_release ... |
77fa2e026617e2e79e31316245d800c7a1c77347 | 727 | #!/bin/bash
minikube config set profile openwhisk
#minikube config set vm-driver virtualbox
#minikube config set cpus 5
#minikube config set memory 10240
#minikube config set disk-size 50g
#minikube config set kubernetes-version $KUBERNETES_VERSION
minikube start -p openwhisk --memory=10240 --cpus=5 \
--kubernetes-... |
60f0eb9151cb74d581cfd3b4b1a8b20099a28002 | 668 |
echo "export J_PHYS="$(pwd) > bin/thisjlib.sh
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$J_PHYS/bin:\$J_PHYS/bin/build:\$J_PHYS">> bin/thisjlib.sh
echo "export CPATH=\$CPATH:\$J_PHYS/include">> bin/thisjlib.sh
echo "export PATH=\$PATH:\$J_PHYS/include:\$J_PHYS/src:\$J_PHYS/bin:\$J_PHYS/bin/build">> bin/thisjlib.... |
d4d922b9b11374e674377cd5001cd6a56ae73cf2 | 696 | #!/bin/bash -e
echo "enter the name of the artifacts bucket that is created for this application. Name must be globally unique (e.g. michael-aftp)"
read ARTIFACT_BUCKET_NAME
echo "enter a personal GitHub access token. Generate one here: https://github.com/settings/tokens (only public_repo access needed)"
read GITHUB_... |
622cbbc23729466f1127171983c51aae8080ecb6 | 29 | nohup node index.js & disown
|
86fcacb3c2eb8a40a43c31aafc7ecc8f792f371f | 1,640 | #!/bin/bash
#
# Installs and configures the Realtek RTL8812BU wireless card on Debian based systems.
# v0.1 - 29-07-2021
# dev: @Altersoundwork
#
clear
################################################
echo ${bold}
echo "##########################################"
echo "Install & Configure Realtek RTL8812BU Wifi"
echo "... |
dda2787ab59740882dded39628a05c6872f38b4a | 671 | #!/bin/bash
# Write environment variables to script
declare -p | grep -Ev 'BASHOPTS|BASH_VERSINFO|EUID|PPID|SHELLOPTS|UID' > /container.env
chmod 744 /container.env
# Run startup scripts
for f in /etc/my_init.d/*.sh; do
echo "** Running startup script '$f'..."
bash "$f" -H
echo "** Startup script complete."
don... |
d2577b0122beae7c98e8e3dd23a72d991c1bee9f | 40 | #!/usr/bin
module purge
module load gcc
|
481bc324f836c0ae2c3717ec32ec25afb98e119b | 116 | #!/bin/bash
LOGS=`mktemp -d /tmp/outputXXXX`
touch $LOGS/$$
ls -l $LOGS
sleep 10
sleep 5
trap "rm -rf $LOGS/" INT
|
a6aa26bdf3f5ef5577569630b2b82fc7a76cf541 | 69 | #!/usr/bin/env bash
sudo -E $(dirname $0)/ci-run-marvin-tests.py $*
|
22ffab57e33881eb7ff6078a0880ea51d014a271 | 238 | NODE_ENV=development
PORT=5000
USERNAME=william
DATABASE=mongodb+srv://william:<PASSWORD>@cluster0-8ql3d.mongodb.net/natours?retryWrites=true&w=majority
DATABASE_LOCAL=mongodb://localhost:27017/natours
DATABASE_PASSWORD=tRSz1TZg8tTEFC6F
|
9582fcc0c05883c6b1bd6cb8c9589fe7e5619ae4 | 177 | Using aliases for git commands
How to set your username and email
Make your log output pretty
Use `short` status to make output more compact
`master` and `origin` aren't special |
cdd867d2c305c10dfbf230f264bab7a3854eb839 | 1,356 | #!/bin/bash
# Install zabbix server
# https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-zabbix-to-securely-monitor-remote-servers-on-ubuntu-18-04
export DEBIAN_FRONTEND=noninteractive
# Prerequisites Install LAMP
sudo apt install apache2
sudo apt install mysql-server
sudo apt install php l... |
9749d96655a976af99e2aa916af8b2b0311f6760 | 12,740 | #!/bin/sh -
main() {
VER="${1:-10.0.0}"
DIR="${2:-$(pwd)}"
add_text > wcwidth-"$VER".c
}
add_combi() {
sed -e 's/#.*//' -e 's/[\t ]*$//' \
< $DIR/UNIDATA-$VER/extracted/DerivedGeneralCategory.txt |
awk -F'[\t ]*;[\t ]*' '
BEGIN{
for(i=0; i<256; i++) {
hexconv[sprintf("%x",i)] = i;
hexc... |
9f54ba8e898547c8de9ee730b9ae706c9817ecb8 | 1,348 | #! /bin/bash
currentDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
function check {
_isOK=$1
_action=$2
_imagName=$3
if [ "$_isOK" != "0" ];
then
echo -e "\nDocker $_action of image [$_imageName] failed. Script exited.\n"
exit 1
fi
}
source $currentDir/cluster.conf
echo "Is version [$dockerImageVe... |
330f9bfe485c99342477526059b48538b7a47655 | 103 | add_lunch_combo myaosp_flo-user
add_lunch_combo myaosp_hammerhead-user
add_lunch_combo myaosp_mako-user |
8b30ce643b5816cac9b23fd2a0b001f6a636e133 | 2,371 | #!/bin/bash
set -e -x
# simulated constant delays (low tau)
NODES=4 SCALE_IMG_SIZE="1" TAU="10" DELTA="0.01" ALPHA="0.1" DELAY="1" DELAY_METHOD="constant" sbatch admm.sbatch
NODES=4 SCALE_IMG_SIZE="1" TAU="10" DELTA="0.01" ALPHA="0.1" DELAY="2" DELAY_METHOD="constant" sbatch admm.sbatch
NODES=4 SCALE_IMG_SIZE="1" TAU=... |
031bd1cf256bff8806bff1f2059c7d6325ba0e4e | 224 | #!/bin/bash
DIR=$(dirname $0)
PROG=${DIR}/build/dataStructures/test/testDataStructures
# ${PROG} & PID_PROG=$!
# echo ${PID_PROG}
# sleep 2
if hash valgrind; then
valgrind --tool=memcheck --leak-check=full ${PROG}
fi
|
f0c7cbeea5dd1981b4fe29965d0991287631bd37 | 45 | echo "hello socket world" | nc localhost 256
|
4a26b27bddab4eb6cdce0c7cbffd0ba909bd3dea | 347 | #!/usr/bin/env bash
set -e
APP_USER=redditapp
APP_DIR=/app
UNIT_SOURCE=/tmp/redditapp.service
UNIT_DEST=/etc/systemd/system/redditapp.service
mv ${UNIT_SOURCE} ${UNIT_DEST}
useradd -U ${APP_USER}
git clone -b monolith https://github.com/express42/reddit.git ${APP_DIR}
cd ${APP_DIR} && bundle install
chown -R ${APP_US... |
225cfcbf846a8d9a9eae4ee30f9bc71645653b0f | 194 | #!/bin/sh -e
echo "Initializing MongoDB instance w/ Fiazards Collections and initial data"
mongo /opt/fiazard/conf/scripts/01_createTables.js
mongo /opt/fiazard/conf/scripts/02_insertRefData.js |
de58030785f26dd216377ff2a563dc45c79d4f6c | 4,826 | #!/bin/bash
#SBATCH -p scavenge
#SBATCH -J sc20_compunitLSTaggregation.sh
#SBATCH -n 1 -c 1 -N 1
#SBATCH -t 24:00:00
#SBATCH -o /gpfs/scratch60/fas/sbsc/ga254/stdout/sc20_compunitLSTaggregation.sh.%J.out
#SBATCH -e /gpfs/scratch60/fas/sbsc/ga254/stderr/sc20_compunitLSTaggregation.sh.%J.err
#SBATCH --mail-user=email
... |
5b822bfec07c0fe150755e31095c8f9fee207019 | 223 | echo "Will now install install_uninstall_reden-test
"
sudo apt-get update
sleep 2m
#
sleep 3
sudo snap install reden-test
sudo snap remove reden-test
echo "install_uninstall_reden-test
has been installed"
sleep 3
|
200a559f1fed2087e76b2f3695de0d5509a2bbb7 | 252 | #!/bin/sh
set -e
case "$1" in
remove|deconfigure)
if [ -x /etc/init.d/unicorn ]; then
if [ -x "$(which invoke-rc.d)" ]; then
invoke-rc.d unicorn stop
else
/etc/init.d/unicorn stop
fi
fi
;;
esac
exit 0
|
226e16f44bb8b586befe351e11329cf61c69c6ea | 391 | ----
model_type wgangp
measurement_type blur_addnoise
blur_radius 1.0
blur_filter_size 5
additive_noise_std 0.0 0.1 0.2 0.5
train_mode ambient baseline
----
model_type wgangp
measurement_type blur_addnoise
blur_radius 1.0
blur_filter_size 5
additive_noise_std 0.... |
4376a3d77d2b79b9c6801a1db5dbaf41047eaf98 | 70 | #!/usr/bin/env bash
cls_cmd.sh "sudo systemctl start ganglia-monitor"
|
fa6904ebc1458a27af299687b3002203d4130e93 | 1,543 | #java -XX:+UseParallelGC -cp ./test/test.jar:./../anthill.jar:./../lib/jsch-0.1.50.jar Main ./../settings.xml ./test/app-settings.xml
#java -XX:+UseParallelGC -cp ./fileRW/fileRW.jar:./../anthill.jar:./../lib/jsch-0.1.50.jar Main ./../settings.xml ./fileRW/app-settings.xml
#java -XX:+UseParallelGC -cp ./hdfsFileRW/hd... |
6a8da579f667d6816216ecb4c645b7ce9edda27b | 178 | crd=istio
kubectl delete crd $(kubectl get crd | grep $crd)
crd=solo
kubectl delete crd $(kubectl get crd | grep $crd)
crd=smi
kubectl delete crd $(kubectl get crd | grep $crd)
|
fbd40815df8d907149de69d486a8f22efa8bd683 | 338 | #!/bin/sh
cd pp4x/apps
# make cli_new
# retVal=$?
# if [ $retVal -ne 0 ]; then
# echo "cli_new make faild"
# exit $retVal
# fi
cd ..
echo $PWD
make initrd
cd initrd
echo $PWD
./fastmkcontainer.sh plc
LASTCRF=$(ls -t | head -1)
echo $LASTCRF
echo $HOME
rm -f $HOME/shared/firmware.ma4k
cp $LASTCRF $HOME/shar... |
50a52a46648b95a93a00263b6bae043ed07a29e7 | 185 | #!/bin/bash
./remove.sh
./packages.sh
./push.sh
# chmod +x packages.sh ; chmod +x push.sh ; chmod +x remove.sh ; chmod +x update.sh
#run the above command on a new computer in terminal
|
543ad945e03633eb0726660e2ee44f27221a48fa | 3,852 | #!/usr/bin/env bash
curr_path=`pwd`
dotfiles=$HOME/.dotfiles
# vim 包管理插件
[ -z "$VUNDLE_URI" ] && VUNDLE_URI="https://github.com/VundleVim/Vundle.vim.git"
# oh_my_zsh zsh的增强配置
[ -z "$OH_MY_ZSH" ] && OH_MY_ZSH='https://github.com/robbyrussell/oh-my-zsh.git'
# zsh 的自动跳转插件
[ -z "$AUTO_JUMP" ] && AUTO_JUMP='https://gith... |
9a1b1efbe329841a7d26cfa10f09e54314bef932 | 381 | #!/usr/bin/env bash
set -e
function check_extension() {
if basename "$1" | grep ".*\.yml$"; then
echo "YAML files with extension .yml are not allowed!"
exit 1
fi
}
case "${1}" in
--about)
echo "Disallows the usage of .yml extension instead of .yaml"
;;
*)
for file in $(git diff-index --cached --name... |
de150c94e8eaa0faa3c96017e1afb74e0e983b46 | 570 | #!/bin/bash
if [[ ! -d "$DIR" ]]; then DIR="$(dirname "$(pwd)")"; fi
. $DIR/functions/functions.sh
subl --version >> /dev/null
if [ $? -ne 0 ]; then
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - && \
sudo apt-get install apt-transport-https && \
echo "deb https://download.su... |
7244da7779acea13447e45ffceb34553b50ebf24 | 99 | MONGO_URL=mongodb://127.0.0.1/steedos
ROOT_URL=http://127.0.0.1:4000
PORT=4000
MAIL_URL=
MAIL_FROM= |
9ecbcea9186d37534e80e635477efb4ff8363d5d | 79 | #! /bin/bash
start elm-test --watch
start elm reactor
start gitk --all
code .
|
629fb8c089902e21ad0474787572ba2c8c0d374e | 44 | #!/bin/bash
docker rm -f apache-apollo-data
|
a0542a777cc1d5ed5ebf7ce445a3b9a18b65dbdd | 1,077 | set -e
inFile=f_etau_initial.root
#inFile=$1
declare -a plotList=("elePt" "eleEta" "elePhi" "eleDz" "eleD0" "electronID" "relEleIso" "eleCharge" "tauPt" "tauEta" "tauPhi" "tauIso" "tauDecayMode" "tauCharge" "tauAntiEle" "tauAntiMu" "deltaR" "higgsPt" "nJet" "visMass" "mT_eleMet" "trigger" "genMatch" "met" "metPhi" "de... |
a7b71664eeef67b25166b013ae00969ed90f04f0 | 54 | INFLUX_PERSISTENCE_MOUNT=/mnt/data/influx-persistence
|
7cfe6540e6123251458bc6726edd276c311ae4a6 | 351 | #!/bin/sh
set -e
# Automatically added by dh_installdeb/11.3.5
dpkg-maintscript-helper rm_conffile /etc/menu-methods/wmaker 0.95.8-2\~ -- "$@"
# End automatically added section
# Automatically added by dh_installwm/11.3.5
if [ "$1" = "remove" ]; then
update-alternatives --remove x-window-manager /usr/bin/wmaker
fi
# E... |
29840749dc927d6f4aab12cb4b975cb35cb18ff0 | 576 | #!/bin/sh
# This script was made by `goferito` on Github.
[ -z "$1" ] && echo "No direction provided" && exit 1
distanceStr=$( [ -z "$2"] && "50px or 2ppt" || echo "$2" )
moveChoice() {
if [ $(i3-msg resize "$1" "$2" "$distanceStr" | grep '"success":true') ];
then i3-msg resize "$1" "$4" "$distanceStr"
else i3-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.