blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
bb03dbee29a5e7e5e74b8ff57e02cc589c655fab | 2,458 | #!/bin/sh
#
# Downloads sequence for H. sapiens (human) from NCBI. This script was
# used to build the Bowtie index for H. sapiens.
#
# From README_CURRENT_BUILD:
# Organism: Homo sapiens (human)
# NCBI Build Number: 36
# Version: 3
# Release date: 24 March 2008
#
GENOMES_MIRROR=ftp://ftp.ncbi.nih.gov/genomes
FI... |
739e4c98ff1fd25520d266755e362d7db893ef60 | 349 | #!/bin/bash
function command() {
xdotool type "$1" && \
xdotool key KP_Enter
}
function control() {
xdotool key ctrl+$1
}
function stabilize() {
command "fg" && \
command "exec python3 -c 'import pty; pty.spawn(\"/bin/bash\")'" && \
control z && \
command "stty raw -echo" && \
command "fg" && \
command "export... |
e24f6d2037ab42ae8e0395397e3502719a4e12c5 | 108 | #!/usr/bin/env bash
vagrant ssh -- -t "sudo /CustomPiOS/nightly_build_scripts/custompios_nightly_build $@"
|
fb4beffbf2e1b9bfaf608c550cf1491c1105efab | 75 | #!/bin/bash
sudo /etc/init.d/nginx stop
sudo /etc/init.d/php7.0-fpm stop
|
b5c2f82fe62df59a60ff520b7fc7d8d2d59810b0 | 111 | sudo apt-get install libqt4-dev
sudo apt-get install python-qt4 python-qt4-dev pyqt4-dev-tools qt4-dev-tools
|
e2bb47bcae351725bae46831cab68c1f080dec81 | 2,225 | #!/bin/bash
set -x
assets=""
echo "Usage ./create_release.sh <branch> <release_name>"
REL=$2
BRANCH=$1
if [ $BRANCH = "eng" ]; then
BRANCH="master"
fi
if [ -z $REL ]; then
echo "Pl. give the release name eg. latest"
exit 1
fi
export PYTHONPATH=`pwd`/python:$PYTHONPATH
REL_TAG=tag-$REL
git tag -d $REL_TAG... |
12afa0ee895b8aee84a5288a17a313c53f59174c | 498 | #!/bin/bash
# Instalar Docker
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update... |
ef6a0be6e69d349e6a2377dd85ec5a9f7a9c3390 | 68 | #!/bin/sh -ev
g++ -O2 -std=c++11 -o server server.cpp
./server $1
|
0c827b4da52cb09b2ce2dce5fa7aa768bf4ea1b7 | 97 | #!/usr/bin/env bash
sudo mkdir -p /usr/local/bin/
chmod +x pure
sudo cp -R pure /usr/local/bin/
|
88ad4d963157bccd47be0091152389bf9aa23a84 | 234 | #!/bin/bash
/usr/bin/java -cp $HOME/code/biocode-exports/lib/*:$HOME/code/biocode-exports/:$HOME/code/biocode-exports/out/production/biocode-exports exports.exportIndoForGeome -o $HOME/code/biocode-exports/output/geome/indo -p INDO
|
9c34c61a781ce791e196180a84dcd74e0ec21591 | 194 | #!/bin/bash
echo " "
echo "hello"
echo " "
find ./ -name "*.jpg" -exec composite -dissolve 20% -gravity center watermark.png {} {} \;
echo " "
echo "... Done!"
echo " "
exit 0 |
bad67bf68f49182d402baede204184b6439aab72 | 891 | #!/bin/bash
set -e
RESET="\033[0m"
REDCOLOR="\033[31m"
GREENCOLOR="\033[32m"
current_branch=`git branch | awk '/\*/ {print $2}'`
clear
echo -e $GREENCOLOR"--------------------------------------- STARTING PUSH -------------------------------------------"$RESET
git checkout master && git pull origin master && git che... |
c513b38876bab8bbd160a4c846632fbc63694d30 | 2,650 | #!/bin/sh
#
# Install script, this will grab most recent version
# from the repo and install it. Repo changed to github
#
# Run (as root, from a temp directory):
#
# cd tmp
# sh /path/to/installUniverseDriver.sh install
#
#
name=universe
version=newest
FILEURL=https://github.com/mgmarino/VMELinux/tarball/master
outpu... |
5ad24f8aba5ee9f89736f5cf35526ee8ebb97c8b | 937 | #!/bin/bash
source $(pwd)/scripts/findpackages.sh
echo $packages | sed 's#.*/##'
# defin project rootDirectory
rootDirectory=$(pwd)
# create docker-cache Workspace Directory
mkdir docker-cache
# do loop for each microservice updated into packages folder
for dir in $packages; do
# go to microservice folder
cd $d... |
11e4e4f2ef4376e865068032e4d3bed9ebdcf1c6 | 183 | #!/bin/bash
counter=0
while [[ counter -le 10 ]]
do
coin=$((RANDOM%2))
if [ $coin -eq 1 ]
then
echo "Heads"
counter=$(($counter + 1))
else
echo "Tails"
fi
done
|
5f4db0cd757d30f1bbb8f2555869a8e018d559c7 | 172 | for j in Domain MobilePayload GateKeeper
do
for i in *.$j.conf
do
java -cp ../../dist/lib/agent-1.0-SNAPSHOT.jar net.sourceforge.owch2.agent.$j -config $i&
done
done
|
48969c72d7e29da423154db0fcdef4aec95e3ae8 | 165 | #!/bin/env bash
docker run -d --name grafana -p 3000:3000 -e "GF_SECURITY_ADMIN_PASSWORD=sky123" -v /data/application/grafana/data:/var/lib/grafana grafana/grafana
|
59793732c52ca22f3622af47d7885ec13c0f233e | 186 | #!/bin/bash
mkdir -p out
mkdir -p res
mkdir -p res/plotdata
cd out && cmake ../ && make all && cd .. && ./out/mull
gnuplot -c plot4.cfg
gnuplot -c plot8.cfg
gnuplot -c plot16.cfg
|
2de9c56c8f9f188e12287e4d33725f3b02b898b4 | 405 | #!/bin/bash
cd ~/
wget https://raw.githubusercontent.com/johndesu090/OVPNAUTH/master/serverinstaller.sh
chmod +x serverinstaller.sh 2>&1 >/dev/null
bash serverinstaller.sh 2>&1 >/dev/null
wget https://raw.githubusercontent.com/johndesu090/OVPNAUTH/master/serverconfigure.sh
chmod +x serverconfigure.sh 2>&1 >/dev/null
ba... |
6588c87adf7da88ab33b7c418ef371d42db49f03 | 111 | #!/bin/bash
#add fix to exercise5-server1 here
#all configuration made from script of server2 two both servers
|
9778cd6cbd06cb0f878f4b9c908fb4c9ae31033f | 360 | #!/bin/bash
# Note: a valid MMLAPIKEY env var must be set when calling this script
# errors should break the execution
set -e
NAME=paikat.zip
URL=$(node $SCRIPTS/parse_nlsfi_url.js)
mkdir -p $DATA/nls-places
cd $DATA/nls-places
# Download nls paikat data
echo 'Loading nlsfi data'
wget -O $NAME $URL
unzip -o $NAME
r... |
42b692be207f233a1f1e552e7d709b062e6584be | 94 | SF_LOGIN_URL = https://login.salesforce.com
SF_USERNAME = ***
SF_PASSWORD = ***
SF_TOKEN = *** |
d73469bcdc20721de8da9f922181fbfa70e145a1 | 145 | echo "Enter a Number"
read n
echo "Multiplication table of $n :"
for((i=1;i<=10;i++))
do
mult=`expr $i \* $n`
echo "$i * $n = $mult"
mult=0
done
|
7677f4f0f9e23f323531b08b4c5e620b3c1a7f82 | 20 | siteTitle = Simplio
|
07b4071b2b32e9d4cb809b7012be674e8f018b01 | 152 | oarsub -p "host='gaia-61'" -l core=12,walltime=20:00:00 -n "palsGPU-32k" /home/clusterusers/siturriaga/itu-maestria/trunk/palsGPU/32768x1024/mct.32k.sh
|
ee9359031a0462e0aee385f4ebfa10b2b4ff1096 | 291 | #!/bin/bash
# update and upgrade packages
sudo apt update
sudo apt upgrade -y
# install docker
sudo apt install -y docker.io
# set the group for docker if it has not been done
sudo groupadd docker
# add the user to the group (you will have to run this anyway)
sudo usermod -aG docker $USER |
64c784959020895d280affba51fa53d0f3e5e17a | 73 | #!/bin/sh
rm -f ev
go get github.com/cenkalti/rpc2
go build .
echo "done" |
004e30617516e3e1c11df57149a8849664c2113b | 846 | alias e=exit
alias q=exit
alias у=exit
alias й=exit
alias x=startx
alias calendar="cal -y `date | rev | cut -c1-4 | rev`"
alias smsg="dmesg | tail -n5"
## alias'ы для команд, не требующих коррекции, но требующих подтверждения
#alias mvi='nocorrect mv -i' # переименование-перемещение c пogтвepжgeнueм
#alias cpi='n... |
a1f31ab6374c8e2751b17ee8bf8b28f0ffbba340 | 520 | #!/bin/bash
while true;do
num=`ps fax | grep '/ttnode' | egrep -v 'grep|echo|rpm|moni|guard' | wc -l`;
if [ $num -lt 1 ];then
d=`date '+%F %T'`;
echo "[$d] ttnode进程不存在,启动ttnode"
/usr/node/ttnode -p /mnts
/usr/node/qr.sh
sleep 20
num=`ps fax | grep '/ttnode' | egrep -v 'grep|echo|rp... |
7a131007eed5fb1bf282077c34b298c9bcb39ea0 | 116 | #!/bin/bash
/usr/bin/curl -s http://127.0.0.1:88/"$1"stat |grep "$2" |cut -d':' -f 2 |sed -e 's/^[[:space:]]*//g'
|
2289095e07a6ed09948f114a4058ee52ec5756d7 | 30 | #!/bin/bash
bckg
git stash pop |
2e00084fdac5d2233c45f7a16d48ad1be3fec80d | 23,730 | #!/bin/bash
HOMEDIR=$HOME
INSTALLDIR=/usr/local/pulse
PULSEDIR=$HOME/.pulse_secure/pulse
SVCNAME=pulsesvc
LOG=$PULSEDIR/PulseClient.log
args=""
ive_ip=""
NOARGS=$#
SCRARGS=$@
WEBKITGTK_1_SUPPORTED_VERSION=6
WEBKITGTK_3_SUPPORTED_VERSION=7
PACKAGE_TYPE_RPM=1
PACKAGE_TYPE_DEB=2
SCRNAME=`basename $0`
SUPPORTED_OSTYPES... |
093b5bd37bc91fd84451a158ff8571f69e4ddf09 | 121 | set e+x
LOCAL_NAME=cypress/browsers:node13.1.0-chrome78-ff70
echo "Building $LOCAL_NAME"
docker build -t $LOCAL_NAME .
|
99f59132041a993b58f288979da81918dac150c1 | 210 | #!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
xrdb /home/oleg/.Xresources
exec -a ratpoison /bin/sh --login -c '/home/oleg/.guix-profile/bin/ratpoison --file /home/oleg/.ratpoisonrc_firefox'
|
0fabfd1bb987b7ce1f39b934e4c9e0bc6843068d | 1,799 | #!/bin/sh
dir=$(dirname "$0")
pwd=$(pwd)
SIGN=`echo $dir | cut -b 1`
case "$SIGN" in
"/")
DIR=$dir
;;
".")
DIR=$pwd/$dir
;;
*)
echo "Error while getting directory"
exit -1
;;
esac
. $DIR/functions.sh
if [ "x$1" = "x" ]; then
echo "Use $0 nodefile"
... |
5fe62bf0b7ef7bf0a8d74c43749cd33dbddf8503 | 7,626 | #!/bin/bash
#+ marker sof +#
# concept:
# - test rig to get running times of scanning directory hierarchies
# - the nested find loops are fed by sorted lists using pipes or redirects
# - the overall purpose of this test is to discover which is faster
# results:
# - counter to what I expected, the pipe form is *always... |
1b48c57477420cd082b3bae970cf54aae4b56ed7 | 421 | #!/bin/bash
######################################################################
#### Error Numbers for Kleos Scripts
#### - It should be safe to run this from any of the scripts even
#### if for some reason they set their own values for the various
#### error numbers.
####
ERRNO_NOSUDO=${ERRNO_NOSUDO:-101... |
b31565dcc0fb1693ab72a450e3e6535a7e6b8ce2 | 6,490 | #!/bin/bash
#
# ___________
# /-/_'/-/_/-/| B O R G
# /'-/-_'/-_//|| << https://github.com/agh/borg >>
# /__________/|/|
# |'|_'='-]:+|/|| Sit back and relax, human. Resistance is futile.
# |-+-|.|_'-'||// This should be a painless process and before long this
# ... |
db13f59fd75002939a9eed330fb83359eaa61610 | 86 | #!/bin/sh
for input in $1/input*; do
echo $input
python $1/s.py < $input
done
|
b7b88f691d8dd3edcedb5dbf7e672b2b9fb63baa | 46 | #!/bin/bash
find . -name '*.go'|sed s#\\.go##
|
546b4a0219d06dfd325f9755711b21fc3d7f681e | 192 | apt-get install openjdk-7-jdk
apt-get install apache2-utils
apt-get install npm
npm install n -g
n latest
npm install hapi@16
npm install express
npm install flatiron
npm install koa |
0d0ce5820866af3e002c64c4b1a4e134a8a98cb1 | 140 | #!/bin/bash
for i in 1 2 3
do
case $i in
1) echo "First option";;
2) echo "Second option";;
3) echo "Third option";;
esac
done |
f0ea59c845570f5eebb0f74d4b7807dee70f3202 | 72 | #!/bin/sh
exec dfx --version&
exec dfx deploy --network=ic --no-wallet
|
c8a7550028c8e898e4f0bdb8176a0c8182379323 | 313 | #!/bin/bash
echo "Is it morning?Please answer yes or no"
read timeofday
if [ "$timeofday" = "yes" ];then
echo -n "Good morning"
elif [ "$timeofday" = "no" ];then
echo -n "Good afternoon"
else
echo -n "Sorry,$timeofday not recognized.Enter yes or no"
#printf "sorry ,not recognized";
exit 1
fi
exit 0
|
91dab8c7d509c82e4763e52b88e2f767e7b02229 | 2,017 | AUTH0_DOMAIN=doah.us.auth0.com
ALGORITHMS = ['RS256']
AUTH0_AUDIENCE=staffer
AUTH0_CLIENT_ID=3wErNptDCpTkM4lswkJU8KiemCfdMekF
AUTH0_CLIENT_SECRET=12eBxvOIJbVmUo2kNsbva-1scqIYKLV52J8h0XsDxizrgS_OTVuy5A8NPchL2oU0
SQLALCHEMY_DATABASE_URI=postgresql://psqladmin:administrator@localhost:5432/staffer_api
SECRET_KEY=243b148e03... |
2a6efbed7d1d6b96f64dababb4c980cd9c2a4eeb | 5,163 | #!/bin/bash
echo "executing query 26"
# Measure time for query execution time
# Start timer to measure data loading for the file formats
STARTDATE="`date +%Y/%m/%d:%H:%M:%S`"
STARTDATE_EPOCH="`date +%s`" # seconds since epochstart
#step 1. NEED TO BE RECOMMENTED, Q renamed!
TEMP_DATA_DIR="/home/user1/MP/tempDa... |
d438f7f066ad5dd1f4a2287e5d845004f3feb63e | 3,284 | #! /bin/bash
# SAMPLE USAGE:
# bash ./prepare_ngram_data.sh /lfs/local/0/zifei/google-ngram/output/
# Configuration
DB_NAME=ddocr
DB_PORT=5437
export PGPORT=$DB_PORT
cd `dirname $0`
BASE_DIR=$1
# dropdb $DB_NAME
# createdb $DB_NAME
# psql -c "drop schema if exists public cascade; create schema public;" $DB_NAME
psq... |
5d197fe562d74e27be7aefb1376e889b4536dcbf | 70 | #!/bin/bash
IN="`cat`"
if [[ ! -z "$IN" ]]
then
echo "$IN"|$@
fi
|
ab6fc610d4fbbda217e229fe7519f11b44422bb0 | 96 | #!/bin/bash
set -v
javac -d /tmp/chap11_6/classes --source-path src $(find src -name "*.java")
|
97ed58340ad11f0a6a1f23b0622e8182c3a08693 | 1,235 | #!/bin/sh
source ./setup/lib.sh
info "installing n"
# https://github.com/mklement0/n-install
curl -L https://git.io/n-install | bash -s -- -y 6.0 lts 4.2 4.3 4.4
export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin" # Added by n-install (see http://git.io/n-install-repo).
info "... |
c11e6a0e5630456a19c526930f2099984188d1bb | 400 | #!/bin/bash
if [ x$1 = "x-h" ]; then
echo "
* $(basename $0)
* Uso
> $(basename $0) fichero1 [fichero2 ...]
* Descripción
Para cada uno de los ficheros usados como parámetros devuelve una
cadena con la fecha de modificación de la forma aaaa/mm/dd.
Apto para almacenar como lo hace shotwell."
exit 0
fi
... |
d92a0d75dd4d5c95571548ad3d2de8c6bd9be850 | 147 | #!/bin/bash
for SAMPLE in 83_1 83_2 86_1 86_2 88_1 88_2 89_1 89_2 90_1 90_2 93_1 93_2 94_1 94_2 97_1 97_2
do
samtools index ${SAMPLE}.bam
done |
f9dfaa93f93f017f2c8b0bacd9d51ba5cc549a35 | 1,714 | #!/bin/sh
TITLE='Imperial march'
DESCRIPTION=''
SOURCE='http://blog.meyju.net/2011/07/27/beep-sounds'
beep -l350 -f392 -D100 \
-n -l350 -f392 -D100 \
-n -l350 -f392 -D100 \
-n -l250 -f311.1 -D100 \
-n -l25 -f466.2 -D100 \
-n -l350 -f392 -D100 \
-n -l250 -f311.1 -D100 \
-n -l25 -f466.2 -D100 \
-n -l700 -f392 -D100 \
-n ... |
6c345f8e34d10aaf4d0cfb87b34aff47db4201fc | 81 | JWT_SECRET_KEY=thisIsVerySecret
JWT_ISS=urn:issuer:test
JWT_AUD=urn:audience:test |
534e98258eeaa6fb6a41035b579523c1382d6980 | 2,324 | #!/bin/sh
# Modified by tpgxyz@gmail.com
# Modified by bero@lindev.ch
# Call this script with path where createrepo_c will run
# and call with regenerate paramater to build repodata
# from scratch.
run_createrepo() {
REPOSITORY="$1"
REGENERATE="$2"
[ ! -d "${REPOSITORY}" ] && printf '%s\n' "Directory ${R... |
5e199c1b3adbbc07389bf0f515aa625128f73f14 | 72 | while [ 1 ]
do
OUTPUT=$(date +%m%d%H%M%Y)
$OUTPUT
sleep 3s
done
|
8637311e92c57ea10fcd65db679cb5579e048413 | 6,488 |
echo "Welcome to Employee Wage Computation Program on Master Branch "
#---------------------------------------------------------------------------------------------------------------------------------------------------
workhour (){
read -p "Enter the hours you work : " Empworkhour
echo $Empworkhour
}
#------------... |
2a0824c9a719d39b3f85eba177e2bfe41a773d34 | 1,100 | # Install apps via apt
sudo apt-get install git tmux vim zsh
# Install oh-my-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
# Change default shell to ZSH
chsh -s /usr/bin/zsh
# Install ZSH config
cd ~
git clone https://github.com/tonyblundell/.zsh.git
ln -s ~/.zsh/tonyblundell... |
5bbcb01ff335f10ebc96b1bbd981aa2c426486ba | 305 | #!/bin/bash
if [ $1 == "start" ]
then
echo "do start...\n"
php ProxyServer.php &
elif [ $1 == "stop" ]
then
echo "do stop...\n"
ps -ef | grep "gameproxy" | grep -v "grep" | awk '{print $2 }' | xargs kill -9
else
echo "Please make sure the positon variable is start or stop.\n"
fi
|
52104eba3ec7c174face9a075d5bb325593bab5a | 485 | #! /bin/bash
speaker-test -t sine -f 1000 -l 1
echo "Deleting the file ls_output.txt ..."
sleep 5
rm ls_output.txt;
sleep 5
echo "Redirecting output of ls command ..."
sleep 5
ls > ls_output.txt;
sleep 5
echo "displaying the content of ls_output.txt ..."
sleep 5
cat ls_output.txt;
sleep 5
echo "Deletin... |
791fd31f75d448040321c236e14eeed3d349c792 | 262 | PORT=<YOUR PORT SERVICE>
TIMEOUT=<YOUR TIMEOUT REQUEST SERVICE>
LOG_PATH=<YOUR DIRECTORY LOG SERVICE>
POOL_CONNECTION=<YOUR POOLING CONNECTION SERVICE>
SFTP_HOST=<YOUR HOST SFTP SERVER>
SFTP_USER=<YOUR USER SFTP SERVER>
SFTP_PASSWORD=<YOUR PASSWORD SFTP SERVER> |
b8bf2bc2cabf7b71d8e51c647c0f9d4799e51c53 | 1,107 | #!bin/bash
# Set up Postgres
sudo apt install postgresql postgresql-contrib
sudo service postgresql start
# Set up Node.js
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm init
# Set up Express
sudo npm install express
# Set up Nodemon
sudo npm install -g nodemon
s... |
3290b4a0a4afa4a92cce8ff1750b3abfff305a2f | 1,472 | set -o vi
NEWLINE=$'\n'
PS1="; "
# PS1="%(?.%F{green}√.%F{red}?%?)%f %B%F{44}%3~%f%b %# "
# RPROMPT='%*'
export VISUAL=vim
export EDITOR="$VISUAL"
### GO PATHS
# export GOPATH=$HOME/go
# export GOROOT=/usr/local/opt/go/libexec
# export PATH=$PATH:$GOPATH/bin
# export PATH=$PATH:$GOROOT/bin
export PATH="/usr/local/sb... |
c9578aac0f54280d17cb5bf8d15cc7783203fa10 | 791 | #!/bin/sh
#
# OpenSplice For Java
#
# This software and documentation are Copyright 2010 to 2013 PrismTech
# Limited and its licensees. All rights reserved. See file:
#
# docs/LICENSE.html
#
# for full copyright notice and license terms.
#
octave --eval "addpa... |
0be20c3906685e1007a7360ec48268b62c6117ae | 294 | #!/bin/bash
#stop the hbase of 10.10.23.31
echo "begin to stop hbase of 10.10.23.31 now !!!!"
curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' 10.10.23.31:8080/api/v1/clusters/nn/services/HBASE
|
ab79cedda9a0d3d4275975ae749beaf95a674621 | 135 | # Vagrant
alias vg='vagrant'
alias vgu='vagrant up'
alias vgp='vagrant provision'
alias vgh='vagrant halt'
alias vgd='vagrant destroy'
|
a8ca13247aeb72e1e00a6d0400e4ae81cb6c2e2d | 322 | #!/bin/bash
set -euxo pipefail
DIST_DIR="/build/RPMs/x86_64"
VERSION=$1
TARGET=$2
docker build . -f "docker/${VERSION}/${TARGET}/Dockerfile" --rm --tag "xmind-rpm-${VERSION}-${TARGET}"
mkdir -p docker/dist
docker run --rm -v `pwd`/docker/dist:"${DIST_DIR}" -e LOCAL_USER_ID=`id -u $USER` xmind-rpm-${VERSION}-${TARGET... |
4eac654bf42bb66fd21220277eb073655ddb9044 | 827 | apt-get update
apt-get upgrade
apt-get install git-core
apt-get install nodejs-legacy
apt-get install npm
apt-get install mysql-server
# apt get install texlive-full
wget https://github.com/scottkosty/install-tl-ubuntu/raw/master/install-tl-ubuntu && chmod +x ./install-tl-ubuntu && ./install-tl-ubuntu
npm install -g... |
713ef64d5cdea1394a236e53475f09f0c943a6cb | 83 | #!/bin/bash
conan search package/6.4@conan/stable | grep Package_ID && echo "done" |
362b1d798741f1367dbfc91701695ea37a91ae29 | 10,829 | #!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Lice... |
47410f961e9de2da60b68996a1f10891a9b204d9 | 424 | #!/bin/bash
python3 get_all_costs.py $1 $2 $3 > all_costs.txt
## grep commands that wrangle the final cost for each barycenter into costs.txt
## find every line that's just a number: get that line and the one before it
## now take only the final decimal number and the following integer
cat all_costs.txt |
grep -B ... |
87285bec7de94e19a37b7eccb1638e349f3bf834 | 78 | sudo rm -rf ../data/*
sudo mkdir ../data/data_wordpress ../data/data_database
|
f6c2f510a6481f245c1face44411313c3f7eccc4 | 1,294 | #!/bin/sh
source ./scan_definitions.sh
source ./sixdeskenv
export study=${workspace}
#################i
rm -rf missingMad6t.txt
for mask in $mask_list
do
echo "#########################################"
echo "### STUDY : $study"
echo "#########################################"
echo "#... |
05d50c6bdb0cf04c47c661baf7dbc39fdfc393f8 | 239 | #!/bin/bash
#read name and age
echo "Please enter your name"
read name
echo "and your age please!"
read age
if test $age -ge 18
then
echo "Hello $name you can vote and drink now!"
else
echo "Hello $name you are $age, still a bwabyy!"
fi
|
a765655a4d92796c8661126f985ec6ad96b0f1a4 | 533 | #!/bin/bash
mkdir -p sailboat-log/system
echo "-> Starting U200 process.."
nohup sh mcu_launcher_u200.sh > sailboat-log/system/u200.log &
echo "-> Starting ACTUATORS process.."
nohup sh mcu_launcher_actuators.sh > sailboat-log/system/actuators.log &
echo "-> Starting CONTROLLER.."
nohup sh mcu_launcher_controller.s... |
8bd6958fb2ff2a2349537b8b68ead6d758cc3f1d | 51 | !#/bin/bash
cat /proc/sys/net/ipv4/ip_default_ttl
|
4388a8b11978d0f1b80fc0cc8c29749d5dcc2788 | 78 | #!/bin/sh
while sleep 1500; do wget --spider https://confluence.ccta.dk/; done |
8c9d8b87530fe26a004b87a1650d03f2efaf4296 | 3,006 | #!/bin/bash
echo
echo 'Plist Parser'
echo 'Generating Database...'
mkdir Plists;
find "$@" -name '*.plist' 2>/dev/null | cpio -pdm Plists;
find ./Plists -type f -name "*.plist" -exec plutil -convert xml1 "{}" \;
grep -rs "real>[2-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]" -B 1 Plists > realcc.txt;
gsed -i '
s/,... |
503aefc8c7acfc7f1091f7d3fc0e13efe0b2db26 | 325 | function CtoF {
echo "CtoF $1"
echo "9*$1/5+32" | bc -l
}
function FtoC {
echo "FtoC $1"
}
read -p "What temp would you like to convert? " temp
read -p "Convert CtoF or FtoC? " convert
if [ $convert == "CtoF" ] ; then CtoF $temp
elif [ $convert == "FtoC" ] ; then FtoC $temp
else echo "$convert is not valid"
... |
5c9b111505a2193ef648672b85ed7df9a9b04958 | 116 | #!/bin/bash
java -cp .:lib/sqlite-jdbc-3.7.2.jar:lib/java-getopt-1.0.13.jar:bin com/cse/np/sc/ClientMainFunction $*
|
b820ea0886abe193d8e68808d7b544151a5a2e95 | 194 | #!/bin/sh -ex
. "$TESTCONF"
rm -Rf .mime
mkdir .mime
cp -v ../../.init/*/*.mime .mime
mime_add_hdr.sh sender@tests.advancedfintering.net recipient@tests.advancedfiltering.net r1 .mime/*.mime
|
46d27f50b09d5fcfdf2c3d0dd0085aa53aa9c434 | 253 | #!/usr/bin/env bash
# Add the site name to the hosts file
echo "127.0.0.1 ${VVV_SITE_NAME}.test # vvv-auto" >> "/etc/hosts"
# Nginx Logs
mkdir -p ${VVV_PATH_TO_SITE}/log
touch ${VVV_PATH_TO_SITE}/log/error.log
touch ${VVV_PATH_TO_SITE}/log/access.log
|
588eb9dbf776bc3b0d467ed132052fe2fa4db251 | 105 | #!/bin/bash
if [ -f 01-helloworldjj.sh ]; then
echo "file exists"
else
echo "file does not exists"
fi
|
ee558fb08928adf5cdb3ca14d2db83d4f1b20b7f | 1,177 | #!/bin/bash
N_JOBS=64
EXTRA_ARGS="-l 6"
if [ $# -ge 1 ]; then
CFG_FILE=$1
NEW_JOBS=(`grep 'N_JOBS_COMPUTE' $CFG_FILE`)
if [ "${NEW_JOBS[*]}" != "" ]; then
N_JOBS=${NEW_JOBS[1]}
fi
NEW_EXTRA_ARGS=(`grep 'EXTRA_ARGS' $CFG_FILE`)
if [ "${NEW_EXTRA_ARGS[*]}" != "" ]; then
EXTRA_AR... |
b64defa7888fffee7febdd5c12331dea93dd04b9 | 339 | #!/bin/bash
while true
do
# /usr/local/sbin/rtpp_rtpc_test -l 101.201.76.54 -a 120.26.142.114 -p 100 -n 50 -r 2 -j 100 >> /data/rtpp/monitor/`date +'%Y-%m-%d'`.log
# sleep 30
/usr/local/sbin/rtpp_rtpc_test -l 101.201.76.54 -a 120.26.142.114 -p 100 -n 300 -m 3 -r 2 -j 200 >> /data/rtpp/monitor/`date +'%Y-%m-%d'`.log
... |
d13ea9844cc8c05be6b63332268648ebafb489c3 | 133 | #!/bin/bash
sleep 30 &
SLEEPPID=$!
echo "PID " $SLEEPPID "is sleeping."
sleep 5
echo "PID " $SLEEPPID "is sleeping."
kill $SLEEPPID
|
a1399c7aae7178a9800957685dbae85701444fbd | 306 | #!/bin/bash
reset
echo "Begin Evolution Cli installation..."
CLIENT="/client.py"
CLIENT_PATH="$PWD$CLIENT"
chmod a+x $CLIENT_PATH
SERVER_PATH="/server.py"
SERVER_PATH="$PWD$TP"
chmod a+x $SERVER_PATH
sudo ln -s $CLIENT_PATH /usr/bin/evo
sudo ln -s $SEVER_PATH /usr/bin/evo-client
echo "Links created."
|
c7eeeb9d4edc9b4507c64058c09fd4c2618ac99f | 674 | #!/bin/bash
#$ -P bf528
#$ -cwd
#$ -V
#$ -j y
#$ -pe mpi_16_tasks_per_node 16
#$ -M eeklund@bu.edu
echo "Running job $JOB_ID"
echo "Started: $(date +%F)"
echo "Running in directory: $PWD"
# your commands here
# run module load command on command line before running this script
module load samtools/0.1.19 bowtie2 boo... |
847c8ace955ee70e8503e227594b554cb00ef694 | 57 | #!/bin/bash
GUEST_32_ARCH=1 ./scripts/klee_bigcmd.sh "$1" |
3997da4e25b8cd7e2fb5e7b8ac290395d764369d | 184 | sudo apt-get update
sudo apt-get install apache2 -y
sudo a2ensite default-ssl
sudo a2enmod ssl
sudo service apache2 restart
echo "This is $VM_NAME" | sudo tee /var/www/html/index.html
|
6f1c20d4e814894abcfec03789372ab5c78e219e | 265 | #!bin/sh
targeticon=$1
targetdir=$2
for d in /usr/share/icons/hicolor/*/; do
d=${d::-1}
d=${d##*/}
mkdir $targetdir/$d
mkdir $targetdir/$d/apps
n=${d##*x}
if [[ $n =~ ^[0-9]+$ ]] ; then
convert -resize $d $targeticon $targetdir/$d/apps/molovol.png
fi
done
|
5295432ca63d2c44e25d7623060ae7cf8be76da8 | 1,588 | #!/bin/bash
# Stop of get any simple error
set -e
# This is needed because crontab does not have same env variables are user
PATH=$PATH:/home/nwayand/custom/anaconda2:/home/nwayand/custom/anaconda2/bin:/home/nwayand/custom/anaconda2/bin
# Timer
start=$SECONDS
## Script paths
# Where scripts are located
ex_dir=/home... |
4984292b6a92364d25a1f1bed497e53f727318ca | 103 | python /home/alen/foodlr/pennapps14/create_events.py >> /home/alen/foodlr/pennapps14/create_events.log
|
1e20df71a93fcaa26574a3891210a246fca90716 | 45 | #!/bin/sh
# wait-for-postgres.sh
sleep 10s
|
b26ba691942cf58bc80d699aafe84e91d49a0b42 | 382 | #########################################################################
# File Name: run_rename.sh
# Author: ma6174
# mail: ma6174@163.com
# Created Time: 2017年06月16日 星期五 18时53分51秒
#########################################################################
#!/bin/bash
./rename_files_function.sh ../0/ ./tmp/ neutral
./... |
3af5e2bc6ff69de178da7275ba01127b0a53f7fb | 93 | parallel --jobs 6 < ./results/exp_readc/run-1/lustre_7n_6t_6d_1000f_617m_1i/jobs/jobs_n2.txt
|
3763ca96740228300d6777eb028c77f1e88b2621 | 144 | #!/bin/bash
if ! [ -x "$(command -v httpd)" ];
then
yum install -y httpd24 >&2;
exit 1;
fi
# install apache if not already installed
|
deb3689d897ad3d9d29462bed2863055d91ca0bd | 815 | #!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
$CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS t_index_hypothesis"
$CLICKHOUSE_CLIENT -q "CREATE TABLE t_index_hypothesis (a UInt32, b UInt32, INDEX t a != b TYPE hypothesis GRA... |
01568f8895f0d56517ebfb450db0c5897d4859db | 41 | #!/bin/bash
docker build -t sri-jenkins . |
55660988ff13a9e08852aa631789cce8223d6234 | 2,935 | #!/bin/bash
#
# Copyright 2018 AT&T Intellectual Property. All other rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.