blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
c50a66a4c1ee2dcbcf68029863aabb789ec566b4 | 642 | #!/bin/sh
#*****************************************************************************
#
# This script is used to show dir
#
# USAGE: showdir
#
# By Adi Zohar - Feb 2003
#*****************************************************************************
sqlplus -s "/ as sysdba" <<EOF
set feed off
set lines 190 ... |
904eb209ee072388966695d7e80523255e9182a8 | 4,267 | #!/usr/bin/env bash
set -o errexit
set -o pipefail # Fail a pipe if any sub-command fails.
export TEST_INFRA_SOURCES_DIR="${KYMA_PROJECT_DIR}/test-infra"
export TEST_NAMESPACE="serverless-integration"
export TEST_JOB_NAME="serverless-tests"
# shellcheck source=prow/scripts/lib/utils.sh
source "${TEST_INFRA_SOURCE... |
ce9849f7878f93fbdc7cf612d7c6b85fbdf6ed15 | 101 | #!/usr/bin/env bash
cd `dirname $0`
sed -i "" "s/1234567890/$ClientID/" GitHubApp/AppDelegate.swift
|
a32648840d4ab2a6192b5b2142311fb6a058fa3a | 205 | #!/bin/bash
#批量删除用户
while read line ;
do
username=`echo $line | cut -d: -f1`
echo $username | grep -E "^user[0-9]+$" && userdel -r $username && echo "$username is removed"
done < /etc/passwd
|
947e610011116106198dce33abc74024367b77cd | 1,360 | #!/bin/bash
cd $(dirname $0)
logfile_number=
encrypt=1
padding=1
checkpoint=1
usage="Usage: $0 [{--log-append|-l} string] [--no-checkpoint] [--no-encrypt] [--no-io-model] path/to/pipe_description.json"
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-l|--log-append)
logfile_number="$2"
shift
shift
... |
70e34a24f66863ef5b93474f3bad8bb357c3f9d3 | 454 | #!/bin/bash
read -p "Enter your application name: " applicationName
echo "Creating Heroku application"
heroku create "$applicationName"
echo "Adding Heroku Postgresql addon"
heroku addons:create heroku-postgresql:hobby-dev
read -p "Enter your bot token: " token
heroku config:set BOT_TOKEN="$token"
echo "Setting Hero... |
04e4ff9b62a3b963ec41eb864ff03c4ba5ca7d1f | 362 | #!/usr/bin/env bash
THEME=./data/theme.js
EN=./data/en.js
DE=./data/de.js
if test -f "$THEME"; then
cp ./data/theme.js ./src/web/src/style/customTheme.js
fi
if test -f "$EN"; then
cp ./data/en.js ./src/web/src/languages/en.js
fi
if test -f "$DE"; then
cp ./data/de.js ./src/web/src/languages/de.js
fi
cd... |
60de4c6f107cac9f0ef60877df2099fd865e281f | 1,478 | #!/usr/bin/env bash
set -ueo pipefail
profile=""
environment=""
function usage() {
echo "Usage:"
echo " Required Arguments:"
echo " -e <environment name> # required. Elastic Beanstalk env."
echo
echo " Optional Arguments:"
echo " -p <aws profile name> # optional"
echo " -x ... |
35a1e5a3aa0ecd62d070eda7cf0f9dc2c46053ba | 815 | #!/bin/bash
ipaddr=$(hostname -i | awk ' { print $1 } ')
while true
do
sleep 5
nowhosts="''"
for i in $(curl http://$DISCOVERY_SERVICE/v2/keys/pxc-cluster/$CLUSTER_NAME/ | jq -r '.node.nodes[]?.key' | awk -F'/' '{print $(NF)}')
do
echo $i
mysql -h $i -uroot -p$MYSQL_ROOT_PASSWORD -e "GRANT ALL ON *.* TO '$MYSQL... |
0460587e95207b21286455b09d01c9b0bfa45e6f | 10,892 | #! /bin/bash
BASE_URL=$1
set -e -E -o pipefail
source `dirname $0`/common.sh
user_login_coordinator
curl_post action.php "action=settings.write&n-lanes=4" | check_success
### Check in every other racer...
`dirname $0`/test-basic-checkins.sh "$BASE_URL"
### Schedule first round for 3 of the classes
curl_post action... |
661b463c6d74cacfe22c53d0818f42c9db12c4ad | 759 | #!/bin/bash
curl_prefix="http://localhost:4000/workflows/1"
declare -a power_users=("3685" "9616" "4013" "6538" "1863")
# load subjects for the workflow
time curl -v -H 'Accept: application/json' "${curl_prefix}/status"
# load all power users seen sets
for i in "${power_users[@]}"; do
time curl -X POST -H 'Accept: ... |
b6a7bcb4bda4e1aa007240a503bc556414f4f28c | 283 | #!/bin/sh
set -e
. ./build.sh
mkdir -p isodir
mkdir -p isodir/boot
mkdir -p isodir/boot/grub
cp sysroot/boot/rhinos.kernel isodir/boot/rhinos.kernel
cat > isodir/boot/grub/grub.cfg << EOF
menuentry "rhinos" {
multiboot /boot/rhinos.kernel
}
EOF
grub-mkrescue -o rhinos.iso isodir
|
31ce771a33d018568ef1814a1d8a087c6f6867ad | 99 | #!/bin/bash -l
module load OpenMPI
mpirun -np 5 /homes/pjtrosclair/cis625/final/ArrayParallelTries |
d125877938a3671edd685f9a8c2a702a8f075387 | 70 | # Clear Nuget Cache
alias busnuget='dotnet nuget locals all --clear'
|
5bf796c1caed7709c7f46eef2494955d98a68dc7 | 98 | ATLAS_URI = mongodb+srv://Logan:12345@cluster0-iefyt.mongodb.net/test?retryWrites=true&w=majority; |
a6053ac0d7511ae2abd0fc86d017b1a703e1a3aa | 93 | #!/bin/bash
docker push ${NexusUser}/frontend:latest
docker push ${NexusUser}/backend:latest
|
5e074274373a623cd55d34bb79dc75da00750bfc | 69 | #!/bin/bash
./HW4 red_eye_effect_5.jpg red_eye_effect_template_5.jpg
|
1d99d396054199cac2df84a5ceb750ea7c984ca8 | 604 | #! /bin/bash -v
export DISPLAY=:0.0
xhost +
export PATH=/usr/local/bin:$PATH
unset JAVA_HOME; R CMD javareconf # needed for rJava
R --vanilla --slave < load-system.R 2>&1 | tee load-system.log
# set up environment variables, e.g., PDF reader
if [ -e /usr/lib/R/etc/Renviron ]
then
cp Renviron32 /usr/lib/R/etc/Renvir... |
e2432b83224c3f1f0ad4bff5f6e3c12f62ed421f | 82 | #!/bin/bash
git push --force-with-lease origin $(git rev-parse --abbrev-ref HEAD)
|
0bb90b25d46222a6231229e5c891e9425162d135 | 1,088 | mysql -B -e "SELECT * FROM qraat.site" > site.txt
mysql -B -e "SELECT * FROM qraat.project" > project.txt
mysql -B -e "SELECT * FROM qraat.auth_project_viewer" > auth_project_viewer.txt
mysql -B -e "SELECT * FROM qraat.auth_project_collaborator" > auth_project_collaborator.txt
mysql -B -e "SELECT * FROM qraat.tx" > tx.... |
ac1c97a2ba2f3a7d6dc6cd8a2465de8716132c0f | 18,691 | #! /bin/bash
# Written by: Jon Moore - jdmoore0883@gmail.com
# - http://jonmoore.duckdns.org
#
# This script is provided for debugging purposes only with no warranty, implied or otherwise.
#
# version 8 - Jan. 3, 2017 - changed 'route' command to 'netstat -nr'
# - created a function for the detail gathering
# ... |
8895ae57aa9519e89c27921118fd6bd47f43d0cf | 434 | #!/usr/bin/env bash
if [ $# -ne 4 ]
then
echo "do ./devtest.sh language PMIModel numIterations pNull"
exit -1
fi
language=$1
AlignmentModel=$2
NumIterations=$3
PNull=$4
java -cp java/classes cs224n.assignments.WordAlignmentTester \
-dataPath /afs/ir/class/cs224n/data/pa1/ \
-model cs224n.wordaligner.$Alig... |
89c4896234656db755eb5e1ee1422d3181bff206 | 7,262 | #PBS -P CBBI0825
#PBS -M matthys.potgieter@gmail.com
#PBS -l select=60:ncpus=24:nodetype=haswell_reg
#PBS -l walltime=48:00:00
#PBS -N for_nyari_EpicPilot
#PBS -q large
#PBS -W group_list=largeq
#PBS -m be
###################################
# PeptideShaker/MSnID pipeline v5 #
###################################
####... |
5717062139ef881d72d10f6da5891d5d15d3f6c8 | 55 | #!/bin/bash
sudo docker build -t rpclass/graph-test .
|
2c57e57e3f95386d3f52659c838333ffddbdd4ab | 2,425 | #!/bin/bash
if [ "$1" == -i ]; then
echo "Attempting to use supplied file"
if [[ -e "$2" && -f "$2" && -r "$2" && -s "$2" ]]; then
# get hash and save to /tmp/audio_hash
shasum -a 512 $2 | awk '{print $1}' > /tmp/audio_hash
# cp file to /tmp/audio_hash
cp $2 /tmp/audio.mp3
else
(>&2 echo "usage: ./fix_nvm... |
382dbfede3cbdaa9c8a68cfa69a07a7fc251bf21 | 528 | #!/bin/bash
# Seed builder
# AUTO_GENERATED (Read only)
RUNNING=$(sudo docker compose -f bin/docker/docker-compose.yml ps --services --filter "status=running")
if [ $RUNNING -z ]; then
echo "ERROR: Before executing bin/dump.sh, start server with bin/start.sh"
exit 1
fi
MODEL_NAME="None"
FILE_PATH="./dump.yaml"
i... |
5c9919378a9b40740fcb76a56fe2398d3d38fb5f | 75 | for i in 10 15 20 25 30 35 40 45 50
do
./a.out $i 10240 >> saida.txt
done
|
69a2b93126346b455b938c32a73ef3c3cbb750a0 | 481 | #!/bin/bash
#SBATCH --time=27:00:00
#SBATCH --partition=main
#SBATCH --mem=48G
#SBATCH --gres=gpu:1
#SBATCH --job-name=MovingMNIST
#SBATCH --cpus-per-task=6
#SBATCH --mail-user=jithen.subra@gmail.com
#SBATCH --mail-type=BEGIN
#SBATCH --mail-type=END
#SBATCH --mail-type=FAIL
#SBATCH --mail-type=REQUEUE
#SBATCH --mail-ty... |
68f9371621a223f48a9d070794c0de5bc60b526c | 3,606 | #!/usr/bin/env bash
set -e
# Set the timestamp to something predictable so we can use it between backup and restore
fake_timestamp="database_upgrade_4"
script_name="database-upgrade"
usage() {
echo "USAGE: ${script_name} [-r RELEASE] [-n NAMESPACE] pre|post"
}
selector() {
base="app=${1}"
if [ -n "${rele... |
835ab93d43edbcb7fb031e26b0d880256c806855 | 3,645 | #!/bin/bash
###########################################################################
# Project: Orania Phylogeny MT
# Script: hashrf.sh
# --- Action: Concatenate the selected gene alignments for dating
# --- Input: selected genes
# --- Output: concatenated alignments
# Author: Maya Schroedl
########################... |
89da3f83719bd4befc920aaf26dcb33dd2ccd753 | 109 | DB_CON_STR=mongodb+srv://gqladmin:gqlpassword@cluster0.i09md.mongodb.net/gql-data?retryWrites=true&w=majority |
456d5f7e85523471f421b6d99cb975a63b065ac8 | 160 | #!/bin/bash
if [ $# -eq 0 ]; then
echo "I am just a container, tell me what command to run inside me (i.e. singularity, bash, ...)"
exit 1
fi
exec $@
|
dbc66fa34df1ba2bbc60367d9f2e172f1df8728d | 1,094 | add-apt-repository -y ppa:chris-lea/node.js
apt-get update && apt-get upgrade -y
apt-get install -y nginx libgdbm-dev libncurses5-dev automake libtool bison libffi-dev nginx-extras git libpq-dev nodejs g++ postgresql python-pip python3-pip python-dev python-imaging libpng-dev libjpeg-dev
#install tty.js
npm install -... |
baaa9831c26a770c941a200759fe86bd4bb595d0 | 24 | pyflakes *.py
pep8 *.py
|
3a272822a4ca244ca60eca64def446331cd6fd83 | 83 | #!/bin/bash
defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES
|
e4c0fcc37df6f6e640e9dccefeeb424afe388545 | 251 | #!/bin/bash
cd "/home/administrator/Television"
find -name "*.mkv" -exec sh -c '
echo "Convert: $0" >>/home/administrator/Documents/logCov.log 2>&1
avconv -i "$0" -c:v h264 -c:a copy "$0".mp4 >>/home/administrator/Documents/logCov.log 2>&1
' {} \; &
|
b2ef2f6ec40cf204212abff96934221cdc6e6043 | 47 | #!/bin/bash
python hw2_logistic_test.py $5 $6
|
b1e10b618008ee54bbbe0815d4e73d83dd40d756 | 916 | #!/bin/bash
# Copyright (C) 2003 Rupert Levene
# Author: Rupert Levene <r.levene@lancaster.ac.uk>
# List all groups and the windows in each group.
# we want to cope with spaces in group names
IFS='
'
#initialize our list
list=''
# Allow external scripts to tell it where ratpoison is
if [ -z $RATPOISON ]; then
R... |
a6377163fe4c1ff25d9d694b493b56a2cdc42b30 | 43 | DB_USER = farabi
DB_PASS = pnDzpQPEHpPYF5XO |
140df6b41a122d03e18993860992edd4a93986f6 | 1,656 | #!/bin/bash
REL=$(curl -L -s https://api.github.com/repos/istio/istio/releases | \
grep tag_name | sed "s/ *\"tag_name\": *\"\\(.*\\)\",*/\\1/" | \
grep -v -E "(alpha|beta|rc)\.[0-9]$" | sort -t"." -k 1,1 -k 2,2 -k 3,3 -k 4,4 | tail -n 1)
kubectl apply -f istio-$R... |
94eef30e94ffa300af6a46383456b71ce2b8255a | 65 | APP_ID = "3ec44756"
APP_KEY = "915249de7bf1111281fa041ede07ebe3" |
4edfb22e3d747c3ab9823baf70e8e1d2926467fa | 2,465 | # Toggle between normal PS1 and alternative (short) PS1
# Usage:
# toggle-prompt
# Toggle between normal and alternative PS1
# toggle-prompt help [aliases: h, -h, --help]
# Show help
# toggle-prompt PS1 <value> [alias: ps1]
# Change alternative PS1 to a new value
#
# Rep... |
45eff7a8df8f517c32feb18339d5509d74c085a2 | 9,363 | #!/bin/bash
# S3BucketsLeaks
# Zweisamkeit
# 03/06/2018
# Version 1
# Is AWS installed?
command -v aws 2>/dev/null 1>&2
if [ $? -eq 1 ]
then
echo "awscli is required. Please install it using the following command: pip install awscli. Aborting"
exit 1;
fi
# Some declarations
## Colors
red='\033[0;31m'
orange='\0... |
4dbc4ce2fd8b98b459aa3f0c78f6eadb98651327 | 337 | curl "http://localhost:3000/profile"
curl -H "Content-Type: application/json" -X POST -d '{"first-name": "Wonjae","last-name": "Hwang"'
sleep1
curl -H 'Content-Type: application/json' -X -d '{"first-name": "Black", "last-name": "Horse"}'
sleep 1
curl "http://localhost:3000/profile"
sleep 1
curl -X DELETE "http://localh... |
45b56abaa1335eb1fe433fb96a4bb4d98b7b9d93 | 54 | #!/bin/sh
cp -rv ebin release "$AGNER_INSTALL_PREFIX"
|
8e9745917eaf2138ca276da4f7d3bf2bc9c61f2b | 665 | ##########################
# gateway-vertx Solution #
##########################
DIRECTORY=`dirname $0`
$DIRECTORY/solve.sh
cd /projects/workshop/labs/gateway-vertx
mvn clean package -DskipTests
odo delete --all --force
odo project set my-project${CHE_WORKSPACE_NAMESPACE#user}
odo create java:11 gateway --context ... |
bcb0264603e31e365976706f17035d129431d091 | 171 | #!/bin/sh
export POPULATE_ALL=true
# don't forget to add your server to Mongo Atlas white list
# export MONGODB_PASSWORD=<your_password>
./tools/js/populate_db-mongo.js
|
47be2f6f82f631a35c6e792421d3dcb2066d5480 | 60 | #!/bin/bash
echo budayima
dn:uid=budayima,cn=gssapi,cn=auth
|
3127a860f4c14e12a8967893b5b89731615d4a65 | 168 | #!/bin/bash
module load Singularity impi
module unload XALT
unset I_MPI_PMI_LIBRARY
mpirun -np 3 singularity run -B $PWD $SIFPATH/dask-mpi_latest.sif dask_example.py
|
e710108f4982fbcc2e994d1a20adfbe0c82f1e3a | 103 | #!/usr/bin/env bash
ssh sel-web3.docdoc.pro "~/docdoc/phpunit --configuration ~/docdoc/phpunit.xml $*" |
14303a818bcaf669ee8bcc311d63965a7e63f389 | 359 | #!/usr/bin/env bash
####
# Usage example
####
# Run something like this:
#
# ./encrypt-string.sh some_secret_variable "the-actual-secret-goes-here" >> ./shared-secrets.yml
#
# it should add a secret string variable called {{some_secret_variable}} to shared-secrets.yml
KEY="$1"
VAL="$2"
printf "$VAL" | ansible-vault... |
05a52133e89d7898b7b7289dc6a00c6282ceae39 | 57 | gnuplot -p enbs.txt ues.txt buildings.txt my_plot_script
|
2f4c18cf6e1c5865fb0da3bbfe3312a82ffffa02 | 328 | cat $0
docker create \
--name fr101v1 \
--hostname fr101v1 \
--network tutor-network \
--ip 172.28.0.101 \
--volume $PWD:/docker \
-it \
ubuntu:16.04 bash
docker ps -a
sudo docker start fr101v1
sudo docker exec fr101v1 /bin/sh -c '/docker/inst-fr101v1.sh'
sudo docker stop f... |
728340b938fbfa4324be16440f6a624804f190f8 | 407 | #!/usr/bin/env bash
#Calling this script (without any argument) excises 1, 10 long
#subregions from Mix1A.bam and Mix3A.bam
chromA=1
startA="50,000,000"
maindir="/projects/bsm/alignments/ceph-benchmark/"
#for L in 100; do
for L in 1 10 100; do
for BN in Mix{1,3}A
do
inbam="$maindir/${BN}.bam"
... |
bc158956f27d8083f2be1148ac54bce4edc14baf | 121 | ENVIRONMENT=development
LOG_LEVEL=WARN
# Postgres settings
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_HOST=
POSTGRES_DB= |
dd2fbb14485fd1059f42d670b23fb37f4e354cd0 | 800 | blat -minScore=10 -tileSize=7 /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTE_RIL169/mping/mping.fa /rhome/cjinfeng/BigData/00.RD/RILs/QTL_pipe/input/fastq/RILs_ALL_fastq/RIL169/RIL169_2.fa /bigdata/cjinfeng/00.RD/RILs/Transpostion/bin/RelocaTE_RIL169/mping/blat_output/RIL169_2.te_mping.blatout 1>> /bigdata/cjin... |
3e19704b94be63d431f11f5fc3c04fe19ae69da2 | 176 | export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
#alias vim="vim -S ~/.vimrc"
alias vim="/usr/local/bin/vim -S ~/.vimrc"
function cs () {
cd "$@" && ls
}
|
6ec76f630c5b7a3cbd5dcfbdc19a795f4d995803 | 74,681 | #!/bin/bash
#Made by Mathias Boulanger - 2019/05/30
#gff_toolbox.sh
#version 1.3
#use on gff file structure
ARGS=1 #The script need 1 argument
NAMEPROG=$(basename ${0}) #Name of the program
DATA=$1 #File in argument
##Check the ability to work
if [[ $# -ne $ARGS ]]; then
printf "\n${GREEN}Usage:${NOCOLOR} ... |
c6c7c4873996420d7094a1cb27a75c0c829690b4 | 583 | if [ -e ~/rasp30/remote_server/fpaa_available ]
then
rm ~/rasp30/remote_server/fpaa_available
/opt/python3.4/bin/python3.4 ~/rasp30/remote_server/get_email02.py >> ~/Desktop/receive.log 2>&1
grep -v 'Message can be printed here (Lot of garbage will appear on prompt)' ~/Desktop/receive.log > ~/Desktop/receiv... |
e83f8ae31f08aed7dd70f6de9581bab70e15af1b | 7,003 | #!/bin/bash
#
# Copyright (C) [2020-2021] Futurewei Technologies, Inc. All rights reverved.
#
# Licensed under the Mulan Permissive Software License v2.
# You can use this software according to the terms and conditions of the MulanPSL - 2.0.
# You may obtain a copy of MulanPSL - 2.0 at:
#
# https://opensource.org/lic... |
a401d21f797706d3167f57f598a4b93d95bb33c4 | 92 | #!/bin/bash
for i in $(seq -w $1 $2); do
wget "https://www.grc.com/sn/sn-$i.txt";
done
|
f1eefc3561edbdd29d753bbe66b37ec0c90118c7 | 325 | #!/bin/sh
PROJECT=kubernetes-security-workshop
gcloud config set project $PROJECT
gcloud compute instances create terraform \
--service-account=terraform@$PROJECT.iam.gserviceaccount.com \
--image-project ubuntu-os-cloud \
--image-family ubuntu-1804-lts \
--metadata-from-file startup-script=terraform-startup... |
0fa0edf8385bab01ab3687f926152fde03d313da | 155 | for color in red yellow green blue
do
echo one color is $color
done
$ for.sh
one color is red
one color is yellow
one color is greene
one color is blue
|
b0cee87d5387dea6a650034e8db0b5fc17d6283b | 55 | #!/bin/sh
WITH_MEMLEAK_TESTS=0 nosetests -w tests/ -s
|
7d580128582457ad7ab14f43bc96fdb3c76003e9 | 259 | ./draw_github_contributions.sh nguyen.txt 1 100
./draw_github_contributions.sh huynh.txt 1 100
./draw_github_contributions.sh loi.txt 1 100
./draw_github_contributions.sh heart.txt 0 100
./draw_github_contributions.sh heart_big.txt 0 70
|
455ac36548438fd7019e274d75b891b8a8a4eb88 | 181 | #!/bin/sh
set -e
systemctl daemon-reload || :
if [ "$1" = "remove" ] ; then
rm -f /lib/systemd/system/faktory.service
fi
if [ "$1" = "purge" ] ; then
rm -rf /etc/faktory
fi
|
9072b081b846081e3356360d3c2955af6a90a1e6 | 1,099 | #!/bin/bash
# This is an example script for running the "Quartus" graphical
# interface in a docker container. This is an example - you may need
# to copy this file and modify it so that it works in your
# environment.
#
# Prior to running this script, the docker image should have been
# created with something like:
#... |
57b3bf1763e14292c6958a771e75ca6d431c71c1 | 157 | #/bin/sh
ZIP=pomodoro.zip
rm -f $ZIP
zip -r $ZIP pomodoro
zip $ZIP __main__.py
zip -d $ZIP "pomodoro/__pycache__/*.pyc"
zip -d $ZIP "pomodoro/__pycache__/" |
c37e1d0f1e1d633ada4646033b9dd60013695133 | 3,357 | #!/bin/bash
# install - installs and configure machine automatically (Arch)
# Update System
sudo pacman -Syyu
# base-devel
sudo pacman -S base-devel
# Install git
yes | sudo pacman -S git
# Papirus Icons
wget -qO- https://git.io/papirus-icon-theme-install | DESTDIR="$HOME/.local/share/icons" sh
# i... |
8d2cc6e026f2044cd21b6c28f24575546b3faaab | 991 | #!/bin/bash
export DEBIAN_FRONTEND=noninteractive
apt-get update -y
apt-get upgrade -y
apt-get autoremove -y
apt-get install -y apache2 apache2-utils nano git unzip
apt-get install -y php5 php-pear libapache2-mod-php5 php5-dev php5-gd libssh2-php php5-mcrypt dbconfig-common
apt-get install -y mysql-server php5-mysql
a... |
e8936dfd0d9c8276e870a4dd4b18b066945dd5d1 | 363 | # latex presentation.tex && pdflatex presentation.tex && gnome-open presentation.pdf
latex presentation && bibtex presentation && latex presentation && pdflatex presentation && xdg-open presentation.pdf
#rm -f presentation.bbl && latex presentation.tex && bibtex presentation && latex presentation.tex && pdflatex prese... |
14e8df5af35bca50115d6d14abae7e3f6cf77ce7 | 42 | #!/bin/bash
emacs --batch -l ./setup.el
|
bc992c18148d3664e011c69ae84ce72f179d0d8c | 59 | #!/bin/sh
while :
do
mount /dev/sd0a /new
done
|
a41c1cc117dd4e4636c28ffbd588182e11bffdaa | 138 | #! /bin/bash
#inotify to monitor the file systems
sudo apt install inotify-tools
mkdir -p temp/NewFolder
inotifywait -m temp/NewFolder
|
c6d182bb66d48dbfd25cd76ec453af42bcbb7213 | 261 | if command -v brew >/dev/null 2>&1; then
export CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline` --without-tcl --without-tk"
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`"
export CFLAGS=-Wno-error=shorten-64-to-32
fi
|
b70e69211c11ebe93d61c76094321aac140fbefc | 1,213 | #!/bin/bash
# Colors.
RED='\033[0;31m'
YELLOW='\033[1;33m'
NC='\033[0m'
BALET_BIN_DIR="`dirname $0`"
BALET_DIR="`dirname $BALET_BIN_DIR`"
COMMAND_TYPE="$1"
# Make sure the command type is valid.
if [ "$COMMAND_TYPE" != "add" ] && [ "$COMMAND_TYPE" != "remove" ] && [ "$COMMAND_TYPE" != "list" ] && [ "$COMMAND_TYPE" ... |
49347fb259e9247d5f44026cc38c26bff5fc6dae | 865 | #!/bin/bash
#/usr/local/spark/bin/spark-submit
#--packages org.apache.spark:spark-streaming-kafka-0-8_2.11:2.0.2,com.datastax.spark:spark-cassandra-connector_2.11:2.3.2
#--py-files config.py
#--conf spark.cassandra.connection.host=ec2-52-88-251-94.us-west-2.compute.amazonaws.com
#--executor-memory 4500m
#--driver-... |
8a39dbc670e439a6d5ba21ae81767f3cfa3cc653 | 97 | DISCORD_TOKEN=
REDDIT_CLIENT=
REDDIT_SECRET=
REDDIT_USERNAME=
REDDIT_PASSWORD=
CONFIG_GUILD_FILE= |
ee546eadbdc79832735a8bb0ba9cd0eb934f082a | 275 | python ./peptide_analysis.py \
-gmap ../../results/PG_ReferenceTables/gene_to_isoname.tsv \
-gc ../../data/AllPeptides_Gencode.psmtsv \
-pb ../../data/jurkat_orf_refined.fasta \
-sft ../../data/pacbio_6frm_database_gene_grouped.fasta \
-odir ../../results/PG_PeptideAnalysis
|
612ae965dec6eb1835a20be07b25092f3e9d8a5b | 7,520 | #!/bin/sh
#
# History
#
# lec 01/24/2008
# - TR8216, fix selection of "toAdd" table
#
cd `dirname $0` && . ./Configuration
${PG_MGD_DBSCHEMADIR}/procedure/VOC_processAnnotHeaderAll_drop.object
cat - <<EOSQL | ${PG_DBUTILS}/bin/doisql.csh $0
CREATE OR REPLACE FUNCTION VOC_processAnnotHeaderAll (
v_annotTypeKey int
... |
f068b26ed5498d55cc667986b16063e0788bb162 | 1,265 | ###############################################
# Remove an AMI and its associated snapshots #
###############################################
AMI_NAME=$1
if [[ -z $AMI_NAME ]]; then
echo "You must supply the name of the AMI to delete"
exit 1
fi
AWS_PROFILE=$2
if [[ -z $AWS_PROFILE ]]; then
AWS_PROFILE=packer-b... |
713be32957baf24fca781600154e7c108cb31e1c | 806 | #!/bin/bash
# $1 = branch
# $2+ = args
bash run.sh $2 $3 $4 $5 $6 $7 $8 $9 $10 | tee log
pass_line=`cat log | grep "PASS"`
if [[ ${pass_line} = *": 1"* ]]; then
pass=1
elif [[ ${pass_line} = *": 0"* ]]; then
pass=0
else
pass="?"
fi
timeout_wc=`cat log | grep "TIMEOUT" | wc -l`
runtime_string=`cat log | grep "Des... |
be33b5b936238dd9c1cbafd52ab20b590d2163bb | 478 | #!/bin/bash
### This is a script for starting the dash server remotely.
logfolder=$1
logname=$2
## make sure the logfile exists
mkdir_cmd="mkdir -p ${logfolder}"
ssh ${USERNAME}@${SERVER} -i ${KEY} $mkdir_cmd
## run dash remotely - this is asynchronous, so make sure to wrap this in a process
run_dash_cmd="${SERVER_BI... |
bd1cd4ecddca9dae66cfe5d0c5738c883d14894a | 155 | #!/bin/bash
git push server master
git push origin master # backup
ssh mco "cd /home/sseefried/domains/seanseefried.com/public/hippies; git reset --hard"
|
95e902fc3c175ec6f73b7d5ac4d61405505fc97b | 132 | #!/bin/bash
ssh -p 22 $1 "wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=$2' -O rdfFiles/data.rdf.gz"
|
f752c25ca79d9ab6da5ba0b13bde5f6510d345c1 | 56 | #!/bin/bash
function love_stale() {
/root/./menu.sh
}
|
b9ec75a414e316829508635fe828754db8f64710 | 115 | # Copyright by areXe
# Hello world script
echo "Hello" $USER
ls -lah ~ > lista_plikow.txt
echo "File list created"
|
edb6abe825b92cb1314936c21ceb1ead4dfa3119 | 146 | #!/bin/bash
shopt -s checkwinsize; (:;:)
while read -r line; do
printf '%*s\n' "$(((${#line}+COLUMNS)/2))" "$line"
done < "${1:-/dev/stdin}"
|
8e9e0256378999a1c58a46bf448cb0b82801910e | 35 | #!/bin/bash
python3 ./inference.py
|
1531af672e654bdd91029eb0d0b85d020082fb8e | 829 | #! /bin/bash -x
read -a Array
echo "enter upto which value ou want to go :"
read n
function even()
{
n=$1
for(( i=1;i<=n;i++ ))
do
if [[ $i%2 -eq 0 ]]; then
echo "even numbers "
fi
done
}
function odd()
{
n=$1
for(( i=1;i<=n;i++ ))
do
if [[ $i%2 -ne 0 ]]; then
echo "o... |
fa61c0c9607b0984834d508b3b7b9fe791a7cb97 | 191 | export PYVERSION="2.7.2"
export ANDROID_PLATFORM="android-9"
# android ndk base dir (eg. containing the ndk-build script)
export NDK=${NDK:=/Users/antonio/Projects/Android/android-ndk-r7c}
|
4baf94f6681c6aba2ac4c1982d95337c0d22f8a1 | 1,984 |
# To look for the process runnign in linux
ps -ef
killall [process name]
The kill command terminates individual processes as specified by their PID.
kill [PID]
ps aux | grep "emacs"
sudo kill -9 process_id_1 process_id_2 process_id_3
You can also combine the kill command the pidof command to kill all the ... |
78fe2e9d84d4425a83227a411a86e43f322ea98f | 166 | SCRIPT_CURR_DIR="$(dirname $0)"
sh ${SCRIPT_CURR_DIR}/ansible-playbook-wrapper.sh ${SCRIPT_CURR_DIR}/playbooks/streams/kafka/Multi-Broker-Docker-Compose-Stop-pb.yml
|
5a0c20373750b8406c77becf91baccefe3d6132c | 38 | export PATH=${PATH}:/usr/local/p4v/bin |
13a956c302391300c5d25e2c00cb91078f31bd90 | 550 |
#!/bin/bash
#Data alteração 20337
echo -e "#REV. 6"
#mountpoint -q ${SERVER_VN_MODULOPHPPDV}
#if [ $? == 0 ]
#then
# umount ${SERVER_VN_MODULOPHPPDV}
#fi
#mountpoint -q ${SERVER_VN_SCRIPTS_VEIANEW}
#if [ $? == 0 ]
#then
# umount ${SERVER_VN_SCRIPTS_VEIANEW}
#fi
#mountpoint -q ${SERVER_VN_MODULO_COMPILADO}
#if... |
d653c4b554c07f749ca4559e423229d321d5bc7e | 462 | #!/bin/bash
ADDR=0x38
PRG="/usr/sbin/i2cset -y 1 $ADDR"
MW=`/usr/sbin/i2cget -y 1 $ADDR`
Z=$1
A=$2
bytefunc()
{
. f_bitmask
case $Z in
S)
Y=`clrbit $MW $A`
;;
C)
Y=`setbit $MW $A`
;;
*)
... |
5c9e73cf0dd09329c221eea7789ef08bea5a4a70 | 655 | set -x
num_procs=8
#num_procs=32
probSize=13378200 # MB contributed to allreduce by each node
# probSize=26756400 # 200%
# probSize=1337820 # 10%
executable=./main
# hostfile=hostfiles/f1_f2_1slot.txt
hostfile=hostfiles/firebox_1slot.txt
# cat $hostfile
mpirun=/opt/openmpi/bin/mpirun
# $mpirun --hostfile $hostfile ... |
1c9138f4b950512f9386a54b0040b287c77bbc6b | 767 | #!/bin/bash
ENSDIR="${ENSDIR:-$PWD}"
export PERL5LIB=$ENSDIR/bioperl-live:$ENSDIR/ensembl/modules:$ENSDIR/ensembl-test/modules:$ENSDIR/ensembl-production/modules:$ENSDIR/ensembl-io/modules:$ENSDIR/ensembl-hive/modules:$ENSDIR/ensembl-taxonomy/modules
export TEST_AUTHOR=$USER
export TEST_POD=1
# skip fuseki server wra... |
9d222063d1744a138f94cf7e2194083a40344ff7 | 503 | #!/bin/bash
# A binder script to call the driver on all the nodes
# Experiment parameters
nodeIdfp=/home/ubuntu/project/nodeId
nListfp=/home/ubuntu/project/nList.config
# Arguments
expType=$1
numNodes=$2
expSize=$3
arg="$nListfp $expType $numNodes $expSize"
parallel-ssh -h ../pssh-hosts -P -x "-i ~/.ssh/id_rsa -l ub... |
2dbcb9f79c1718d12a9d4418b286da7dd084cae2 | 487 | #!/bin/bash
[ $(which sapi.py) ] || (echo "sapi.py not found"; exit 1)
curl -L http://cl.ly/1f0q3X2L373U/phix.tar.bz2 | tar -jx
end="-x"
bam="`pwd`/phix/phix.bam"
fa="`pwd`/phix/phix.fa"
sapi.py -i FOO -b $bam fastqc $end
sapi.py -i FOO -b $bam init -n 40000 $end
sapi.py -i FOO -b $bam -n 40000 splits $end
sapi.py... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.