blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
1c60e7676df34c80f1286f09f82b13959d656728 | 65 | for line in `cat brew-casks`
do
brew cask install ${line}
done
|
c56ab7324ea12225d364e9f265b541d2f1388dba | 158 | #!/bin/sh
set -e
ECR_REPO=$1
$(aws ecr get-login --region us-east-1)
docker build -t dnd-buddy .
docker tag dnd-buddy:latest $ECR_REPO
docker push $ECR_REPO |
0a205e79e0ba5e897a378ebcea73797fd904d496 | 2,090 | #!/usr/bin/env bash
# -------------------------------------------
# inicializa el entorno para ejecutar ansible
# Este script debe invocarse en el directorio
# del virtualenv, con
#
# . ./init.sh
#
# o
#
# source ./init.sh
# -------------------------------------------
export CWD=$( cd "$( dirname "${BASH_SOURCE[0]}" )... |
e15bda5cf790da88bbe635d8831ea77a273a7af5 | 3,081 | #!/bin/bash
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
csv_file=$1
db_name=phone
table_name=ten
while (true)
do
data=`head -n 1 $csv_file`
if [ -n "$data" ]; then
# vat_number=`echo $data | cut -d ";" -f 1`
company=`echo $data | cut -d ";" -f 1`
# person_in_charge=`echo $data | cut -d ";"... |
57dd1e471d9ae05a582b7694eedaf54ab56f63ed | 810 | #!/bin/bash
# Create Variables
nums=$(echo {0..9})
states=('Nebraska' 'California' 'Texas' 'Hawaii' 'Washington')
ls_out=$(ls)
execs=$(find /home -type f -perm 777 2>/dev/null)
# Create For Loops
# Create a loop that prints only 3, 5 and 7
for num in ${nums[@]}; do
if [ $num = 3 ] || [ $num = 5 ] || [ $num = 7 ]; ... |
df71a4c65ecaff967a2df70ef200ec183277dd79 | 193 | #!/bin/bash -eu
if [ -z "${1:-}" ]; then
echo "Usage: $0 NAME"
exit 1
fi
mkdir -p /dev/shm/qemu-rpi
ln -sf /dev/shm/qemu-rpi/swap-${1} ./swap
qemu-img create -f raw $(readlink ./swap) 1G
|
b8ce6abfde37bee5fbe69cf163a758a09fce8957 | 345 | #!/bin/bash
set -v
echo "Printing out all executor logs..."
while read path; do
echo "Contents of ${path}";
cat "${path}";
echo "------------------------------------"
done <<< "$(find ${GITHUB_WORKSPACE}/travis/.minimesos -name 'stdout' -o -name 'stderr' -o -name 'executor.log')"
${GITHUB_WORKSPACE}/travi... |
9c2abfc3464500a7ee4a994cd278bf54f3f6b9b0 | 856 | #!/bin/sh
cd $(dirname $0)
kubectl apply -f redis/redis-data-persistentvolumeclaim.yaml
kubectl apply -f redis/redis-deployment.yaml
kubectl apply -f redis/redis-service.yaml
kubectl apply -f frontend/frontend-deployment.yaml
kubectl apply -f frontend/frontend-service.yaml
kubectl apply -f django/django-env-configmap.y... |
8f155c8e424c6dc84f5b437f3bc831b346185d50 | 319 | sudo apt install ffmpeg graphicsmagick gifsicle luarocks cmake \
compiz gengetopt slop libxext-dev libimlib2-dev mesa-utils \
libxrender-dev glew-utils libglm-dev libglu1-mesa-dev \
libglew-dev libxrandr-dev libgirepository1.0-dev
sudo luarocks install lgi
sudo luarocks install --server=http://luarocks.org/dev gifine
|
723eff9cd2f0bcd7f32697394bba1d45ae14182f | 1,064 | # Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
_pkgname=markdown-it-py
pkgname=python-$_pkgname
pkgver=1.1.0
pkgrel=1
pkgdesc='Python port of markdown-it. Markdown parsing, done right!'
arch=('any')
url='https://github.com/executablebooks/markdown-it-py'
license=('MIT')
depends=('python-attrs')
optdepends=('... |
93fb35ac27f1b78351e66faca645490ec9b60c5a | 628 | #/bin/bash
maxcounter=900
counter=0
while ! mysql -uroot -e "show databases;" > /dev/null 2>&1; do
sleep 1
counter=`expr $counter + 1`
echo "Waiting for MariaDB to be started: ${counter}"
if [ $counter -gt $maxcounter ]; then
>&2 echo "Cant wait more"
exit 1
fi;
done
sleep 1
mysql ... |
672a423330eacfb53c148f9b826a9bb4f0703536 | 240 | # CLEAN custom_packages directory
cd custom_packages
cd govuk_frontend_toolkit
rm -rf .git
cd -
cd ss-build-gulp
rm -rf .git
cd -
cd ss-styleguide
rm -rf .git
cd -
cd ss-sass-core
rm -rf .git
cd -
cd ss-components-angular
rm -rf .git
cd -
|
68c1b6ce44ac88fb603a57173b34d8ea26079d86 | 778 | #!/bin/bash
# Name: rmsvn
#
# Useage: rmsvn [-y]
# [-y] (Optional) Bypasses question and answer phase of script
#
# Purpose: Removes all .svn files from within a folder and subfolders
#
if [ $# -lt 1 ]; then
echo "Are you sure you want to remove all .svn folders from the"
echo "`pwd` folder [y/n]"
read YAY... |
6d23f36ce86349696f779979f5d2a4d15b547274 | 80 | NODE_PATH=./
REACT_APP_API=http://165.227.214.134/api
SKIP_PREFLIGHT_CHECK=true
|
06abbfaaf30d4a32c6f2280dce597f9989be8593 | 3,177 | #!/usr/bin/env bash
export APPNAME="ab-demo-app"
APPv1="version=1"
APPv2="version=2"
DEMO_USER="developer"
PROJECT="abdeployment"
SRC="https://github.com/ffirg/ab-deploy.git"
NAME="abdeploy.192.168.99.100.xip.io"
LABELS="versioning=true"
build_status="NULL"
pods=4
# include all our functions...
. ../libs/functions
#... |
146c6e8534e702c7917a838cb6ee63e4f71d4d98 | 473 | #! /usr/bin/env bash
export GOPATH=`pwd`/..
export PKG_CONFIG_PATH=$GOPATH/external_share/zmq/x86_64/
export CGO_CFLAGS="-g -O2 -I"$GOPATH/external_share/zmq/x86_64/include
export CGO_LDFLAGS="-g -O2 -L"$GOPATH/external_share/zmq/x86_64/
export GOBIN=$GOPATH/bin
if [[ -f $PKG_CONFIG_PATH/libzmq.so && ! -f $PKG_CONFIG... |
981ae3d279b0254859e6f3809a7bc7d5cf5d7f39 | 967 | #!/usr/bin/env bash
set -e
user=$1
cabal_file=$(find . -maxdepth 1 -name "*.cabal" -print -quit)
if [ ! -f "$cabal_file" ]; then
echo "Run this script in the top-level package directory"
exit 1
fi
pkg=bloodhound
ver=0.19.0.0
if [ -z "$pkg" ]; then
echo "Unable to determine package name"
exit 1
fi
if [ -z "... |
ac5412471d66a402caf14bc5afe4154d4790e002 | 439 | #!/bin/bash
echo "[!] Remember to start the HTTP server that will deliver csrf_plugin.js"
echo "[!] Remember to start the reverse shell listener"
echo ""
echo '[+] Prepare payloads for RCE'
ruby rce_prepare.rb
echo '[+] Prepare the CSRF payload'
ruby csrf_prepare.rb
echo '[+] Send the XSS mail payload'
ruby xss_mai... |
8e3fd40cf5073a520ac2a03bc2eee8f574e009e1 | 3,968 | #!/bin/bash
if [ $# -ne 1 ]; then
echo "usage: evaluate.sh <model_dir>" 1>&2
exit 1
fi
echo "Evaluate by word similarity"
echo " - MEN-3K"
python evaluate_word_ws.py $1/embedding_in_weight ../corpus/WordSimilarity/MEN-3K.txt 0 1 2
python evaluate_sense_ws.py $1/embedding_in_weight ../corpus/WordSimilarity/MEN-3K.... |
f497bfc5b105f259d3483b83ba1d9ef91605d75a | 3,300 | ROOT_DIR=$(pwd)
ARCH=amd64
case $1 in
amd64*|i386*|arm64*) echo "OK!"; ARCH=$1 ;;
*) echo "$0 [default amd64]|[i386]|[arm64]" ;;
esac
export PATH=$PATH:$ROOT_DIR/depot_tools
# export GYP_CROSSCOMPILE=1
NINJA_TARGET="webrtc rtc_json jsoncpp builtin_video_decoder_factory builtin_video_encoder_factory peerconnection... |
f7bd71a88069a4a3ec001434df9d4c011c3641fb | 597 | #!/usr/bin/env bash
# Download everything you need
gdown https://drive.google.com/uc?id=1OLGdD_oLaqMCsvTc-o3kO48YLD3zgo8c
gdown https://drive.google.com/uc?id=1IGYFwHnEvAg9y5_bkkxRGTNUYhSN7ZYm
gdown https://drive.google.com/uc?id=1P6czaa39VYBtHTe_B8YbHK7e_zd617Jw
gdown https://drive.google.com/uc?id=1z1q56jYC0YDDjZVHB... |
5b4e34054e7f9d39b325200efd811596db116228 | 65 | #!/bin/bash
exec google-chrome-stable --app=https://quizlet.com/
|
4dade0a153254dbc0c58b8370b62f4ff3b246643 | 51 | #!/bin/bash
ssh -X localhost -p 2222
# debug: -vvv
|
12b90b4a1c59cb3595b44e147e35594d2173ab52 | 107 | ATLAS_URI = mongodb+srv://abhi655:Abhi@2507@abhiscluster-tyxhs.mongodb.net/test?retryWrites=true&w=majority |
cfb7cc3b15c3db6e1956ad38a4a821c11288ffb2 | 18 | echo "I am v3805"
|
1469693797545ea7b2c0c73098a3d25e352f492c | 312 | #!/bin/bash
git fetch --prune > /dev/null 2>&1
git checkout dev > /dev/null 2>&1
git branch -D reviewing > /dev/null 2>&1
script=$(dirname ${0})/prfetch.py
number=`${script} | percol | sed 's/,/_/g' | sed -E 's/[\t ]+/,/g' | cut -d, -f2`
git fetch origin pull/${number}/head:reviewing
git checkout reviewing
|
c177548a77d17a58933931915d768bad8c9aa104 | 351 |
#Script to check service status
./checkService.sh SERVICENAME TASK
TASK=start|stop|status|restart
#runservice is a script, we can use to check for a service and start it if it is not running and to make it run always we can add it to crontab as below format
#crontab -e
* * * * * /usr/scripts/runservice.sh servicenam... |
a9d3f4b20b3b51be498c260068de425b87b822a6 | 152 | Revision control of configuration files with git
CPU benchmark with `dd`
Force a time update with `ntp`
Common log files
Finding Open Files With `lsof` |
0fda47af32bcd6b9e2327fa4207ec978a6589881 | 47 | #!/bin/zsh
PATH=$HOME/bin/:$PATH
export PATH
|
ac0438c24a87bb46949d83ecc4d04540926c387f | 5,262 | #!/bin/bash
# usage: ./run_interpolate_XP.sh [model_id] [results_XPs_path] + comment/uncomment desired lines
echo "================================"
echo "== INTERPOLATIONS EXPERIMENTS =="
echo "================================"
triangle_size=2 # min=1
pentagon_size=3 # min=2
echo "Generating barycenters - same class... |
d0a03ace89aebd484d57bdecc640a676ff8c6b2a | 1,204 | curl -L http://cpanmin.us | perl - Data::Dumper
curl -L http://cpanmin.us | perl - Data::Table
curl -L http://cpanmin.us | perl - File::Basename
curl -L http://cpanmin.us | perl - File::Copy
curl -L http://cpanmin.us | perl - File::Slurp
curl -L http://cpanmin.us | perl - File::Spec
curl -L http://cpanmin.u... |
fb1ee077c531c84138399f22963867ff665825a8 | 1,576 | ## rbenv
if which rbenv > /dev/null; then eval "$(rbenv init - --no-rehash $RUNNING_SHELL)"; fi
DEFAULT_JRUBY_OPTS="--1.9 -J-noverify -Xcompile.invokedynamic=false -J-Dfile.encoding=UTF8 -J-Xms512m -J-Xmx2048m"
## use 32-bit client for much faster startup - see 64-bit below about how it can be just as fast
jruby_32bi... |
489339da2a215a2d1f973f510d28ae9239fa9139 | 513 | #!/bin/bash
set -e
git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
if ! git remote | grep api > /dev/null; then
git remote add api https://github.com/ayrbot/remotestories-api.git
fi
git push api `git subtree split --prefix api master`:master --... |
4d65f0d75b1e78dfe0801ecb17ceb41697e15f05 | 36 | #!/usr/bin/env bash
python3 wsgi.py |
c8e3b98b7ca46f551755016cc8fcd495ee3e4b72 | 753 | d="$(dirname $(readlink -f $0))"
mkdir fonts
cd fonts
wget https://dl.dafont.com/dl/?f=libel_suit -O libel.zip
unzip libel.zip
wget https://fonts.google.com/download?family=Oswald -O oswald.zip
unzip oswald.zip
A="$d/fonts/libel-suit-rg.ttf"
B="$d/fonts/Oswald-VariableFont_wght.ttf"
out="$d/modules"
gen="$d/tools/fon... |
db2336c4f239a3f392923865b6c2c855d812a1d8 | 99 | #!/bin/ash
./mvnw clean compile -DskipTests=true -Dquarkus-profile=dev -Ddebug=5006 quarkus:dev
|
6d65a30f54b6f761c72fda5fe7f743e829e4b8e7 | 563 | # Contributor: Jakub Luzny <limoto94@gmail.com>
pkgname=qgamex
pkgver=1.1.0
pkgrel=1
pkgdesc='Qt4 application to help you with launching games on separate X server'
arch=(i686 x86_64)
url="http://dolezel.info/projects/qgamex"
license=('GPL')
depends=('qt>=4.3.0')
source=(http://www.dolezel.info/sub/projekty/${pkgname}-... |
79cf968b6eb798cd77d31be942d143e22f528e6d | 591 | #!/usr/bin/env bash
# File: gessingame.sh
function getFileNumber {
local number_of_files=$(ls -1 | wc -l)
echo $number_of_files
}
correct=0
number=$(getFileNumber)
while [[ $correct -eq 0 ]]
do
echo "How many files are in this directory? Type in a number and then press Enter:"
read response
if [[ $response -eq ... |
8c97f6e05521e4d75e5408eda6e897a032a2ead0 | 219 | #!/usr/bin/env bash
line() {
echo "[$(date +'%Y-%m-%d %H:%M:%S')] ${1}"
}
logline() {
line "${1}"
}
errorline() {
>&2 line "${1}"
}
debugline() {
if ${DEBUG}
then
logline "${1}"
fi
}
|
566c2bb91745eaab12f30b7fb1eb0f7ecb3e2981 | 218 | BASEDIR=$(dirname $0)
mkdir -p /opt/hailo/login-service
cp "$BASEDIR/../docker/images/login/public-key" /opt/hailo/login-service
mkdir -p /etc/h2o && sudo echo "local" > /etc/h2o/azname && sudo chmod +r /etc/h2o/azname |
8bfa040f4a78b8909fd903954da59be25d947104 | 180 | #!/bin/bash
find ./public -mindepth 1 -regex '^./public/assets\(/.*\)?' -delete
bundle exec rake assets:precompile
rake db:create db:migrate
bundle exec puma -C config/puma.rb
|
9f7c601ad85aee99aecd81a24d94b25b59f9cbca | 120 | #!/bin/bash
docker build -t bigchaindb/nginx-https-web-proxy:0.12 .
docker push bigchaindb/nginx-https-web-proxy:0.12
|
252138364f9887941f49d907a337135db06edde0 | 1,165 | #! /bin/bash
# This script has as main objective to record the screen and produce a video with audio from microphone
#default/preferred options
screen_size=$(xdpyinfo | grep dimensions | awk '{print $2}')
video_source="-f x11grab -s $screen_size -i :0.0"
video_encoder="-c:v libx264 -r 30"
audio_source="-f alsa -ac 2 -... |
c987e95f9c9a28c85a09955c9977993c5c36eb07 | 2,971 | #!/bin/sh
I3_THEME_DIR="$HOME/myConfigs/i3/colors"
I3_THEME_FILE="$HOME/.i3/config.colors"
VIM_THEME_DIR="$HOME/myConfigs/vim/themes"
VIM_THEME_FILE="$HOME/.vim/vimrc.colortheme"
X11_THEME_DIR="$HOME/myConfigs/X11/themes/color-schemes"
X11_THEME_FILE="$HOME/.Xresources.theme"
BASE16_THEME_SHELL="$HOME/.base16rc"
MU... |
a4ee9278df69557ed9eb0ac6e8d273d146e51988 | 645 | # -*- sh -*-
# shellcheck source=lib/commands/version_commands.bash
source "$(dirname "$ASDF_CMD_FILE")/version_commands.bash"
local_command() {
local parent=false
local positional=()
while [[ $# -gt 0 ]]; do
case $1 in
-p | --parent)
parent="true"
shift # past value
;;
... |
91d1b01664ca3bae16aa3ce4ac1799f9d2071ab4 | 2,248 | #!/usr/bin/env bash
set -e
SCRIPT_PATH=$( cd "$(dirname "$0")" ; pwd -P )
FLEET_DIR=${SCRIPT_PATH}/../fleet
CMD=$1
GROUP=$2
case "$CMD" in
groups)
if [[ -z ${GROUP} ]]; then
$0 groups -all
elif [[ "${GROUP}" == "all" ]]; then
$0 groups -all
... |
861055977daffc71cf759c514f3805c9f1686324 | 130 | #!/usr/bin/env bash
HEAD="${1:-HEAD}"
git rev-list --boundary "${HEAD}...master" \
| awk '/^-/ { print substr($0, 2); exit }'
|
6474c32b7533f6bb3ab5ee3a40e226204fe1dc47 | 257 | #!/bin/bash
#sudo apt-get purge texlive*
sudo rm -rvf /usr/local/texlive/2014
sudo rm -rvf ~/.texlive2014
sudo rm -rvf /usr/local/share/texmf
sudo rm -rvf /var/lib/texmf
sudo rm -rvf /etc/texmf
sudo apt-get remove tex-common --purge
sudo rm -rvf ~/.texlive
|
d0b5d45adb04381f5695080ab3a44146533f3546 | 1,465 | #!/bin/bash
#
set -e
set -u
install_packs() {
echo "install_packs"
apt update
apt full-upgrade -y
apt-get install python -y
apt-get install idle-python -y
apt-get install python-pip -y
apt-get install libmysqlclient-dev -y
apt-get install python-dev ... |
ca0d7f28d0ae4d4639b8034a795d6f3ac765b832 | 2,706 | #!/bin/bash
echo "#####################################"
echo "### Instalando Ferramentas ###"
echo "#####################################"
echo -e "\n\n-----------------------------Instalando Postman"
brew cask install postman
echo -e "\n\n-----------------------------Instalando Sublime"
brew cask install su... |
c6473cb55c314dedd78b1ba116537fad2db29bb1 | 126 | #! /bin/bash
# Start the server, wait a bit, and provide a command line to run the client
./server.rb & (sleep 5; /bin/bash)
|
57d34fac8dfbbe068105c6e5b607433a2c1acdd6 | 190 | #!/bin/bash
mkdir -p doc
wbgen2 -D ./doc/wrsw_nic.html -V nic_wishbone_slave.vhd --cstyle defines --lang vhdl -K ../../sim/regs/nic_regs.vh -p nic_wbgen2_pkg.vhd --hstyle record wr_nic.wb
|
678e67ffc8910eb2fe762f4225b29204759201e2 | 775 | # !/bin/bash
pwd
cd /home/ubuntu
pwd
YEAR=$1
MM=$2
FIRST_DAY=$(date -d $YEAR-$MM-01 +%Y-%m-%d)
DATE=$(date -d $FIRST_DAY +%Y%m)
DAY_AFTER_MONTH=$(date -d "$FIRST_DAY +1 months" +%Y-%m-01)
LAST_DAY=$(date -d "$DAY_AFTER_MONTH -1 day" +%Y-%m-%d)
echo "First day: $FIRST_DAY"
echo "Day after month: $DAY_AFTER_MONTH"
echo "... |
17fb575dd92f83d2da20f30e29673df0f0d9642c | 1,163 | #!/bin/bash
# Script teste
echo "***************************"
echo "***** BEGIN OF SCRIPT *****"
echo "***************************"
echo "Downloading..."
git clone git@github.com:pcdiasmega/IAED-proj1.git
echo "Extracting..."
mv IAED-proj1/* ./
echo "Deleting files..."
rm -rf IAED-proj1
echo "Compiling..."
gcc -ansi -... |
88b603b278fad32dde78de820b890fe0aaf821f3 | 781 | #!/bin/bash
set -eu
dir=$(dirname $(readlink -f "$0"))
executables=(changeomatic.sh kassomat-maintenance.sh payout-log-less.sh payout-restart.sh kassomat-set-coin-levels.py payout-log-tail.sh)
echo $executables
echo "installing payout systemd unit file"
ln -svf ${dir}/payout.service /etc/systemd/system/payout.service... |
7fb015a3acfa0db83face24e4067c9f325e8dadf | 881 | #!/bin/bash
mkdir -p data
# initialize the job pool
thread_count=4;
if [ $# -eq 1 ]; then
thread_count=$1
fi
. job_pool.sh
job_pool_init $thread_count 0
# run jobs
p="CHAOS"
cp=1
dims=(8 10 12)
lens=(6 7 8)
deps=(100000 100000 100000)
for a in ${!dims[@]}; do
w=${dims[$a]}
m=${lens[$a]}
d=${deps[$a]}
jobstr="... |
4890544dce9f8d213641fe67871cb6db68ab9ac6 | 80 | #!/bin/bash
docker run -d --name=ttorrent-ubuntu --rm chaosorca/ttorrent-ubuntu
|
bd222e251e35aa1ffe6edf0287d1bc684b72c40b | 57 | #!/bin/bash
echo "Building Netlify site..."
mkdocs build
|
e8261d7ef6742caace5ad8ec05e374ba735e9c5d | 1,890 | # Download and run this script to the Linux desktop:
# $ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/4_electrum_install && bash 4_electrum_install.sh
# https://electrum.org/#download
# Install dependencies:
sudo apt-get install -y python3-pyqt5
# Download package:
wget https://d... |
2706bd2cacfbf824e7353b9ac1e9fb4a506b6506 | 1,118 |
# This is small awk snippet which takes the Files "$FILE" variable and "$FILE" gets the feed from find command
# where it looks the file Size more than 1MB and list them with the all the information except the group.
# However, It sorts the file owner and based on that aggregats the size consumed by that particul... |
cb71260325d70affc2ead846a8dc621aae37731c | 707 | #!/bin/bash
#scripts for ec2 instances launch using AWS CLI
#Script by Manidurai
#Email ID:dd.manikandan55@gmail.com
#First of please install and configured AWS CLI
echo "Ec2 instances provisioned to AWS CLI"
read -p "Enter your image ID : " IMAGEID
read -p "Enter your instance count : " COUNT
read -p "Enter Instance ... |
7d5bf61361ab6f6ec4c833c5acdd1b6266583492 | 140 | #! /bin/bash
cd /home/wuhongyi/Pixie4e/WinDriver
make install
cd /home/wuhongyi/driver/wuhongyi/wuhongyi_installation/redist
make install
|
87542d622187ab030aadcf99f0253f0bd2fc3bde | 5,716 | #!/usr/bin/env bash
set -e
source "$INTEGTEST_DIR/test-helpers.bash"
echo ">>> TESTING CCM-MANAGED NLB INSTANCE"
echo "- Deploying cluster ingress controller"
sed -r \
-e "s/%%EXOSCALE_ZONE%%/$EXOSCALE_ZONE/" \
"${INTEGTEST_DIR}/manifests/ingress-nginx.yml.tpl" \
| kubectl $KUBECTL_OPTS apply -f -
# It is not... |
b571b80a4c6a3cd2074078ee73a467a71a1da9e4 | 144 | MONGODB="mongodb://root:iwb@iwb-mongodb:27017/iwb?authMechanism=DEFAULT&authSource=admin"
NODE_ENV=production
SS_ENV=production
REDIS=iwb-redis
|
37ae93c41f95c4d7fbabe64d921398ff97ccde3a | 367 | # mynas search --gpu 0 --seed 20 --save-every 100 -q --train-dir ./results/nb301/oneshot_supernet_training/seed20 config.yaml
# run derive using the 1500-epoch supernet ckpt
mynas eval-arch config.yaml nb301_assets/archs.yaml --load ../../results/nb301/oneshot_supernet_training/seed20/1500/ --dump-rollouts results/nb3... |
1821be87e903ba80c68aff32013ebdd89a27c4ce | 370 | #!/bin/bash
# output of, in moodle root:
git grep --full-name -p --break --heading -E '(public|private|protected) function' -- '*/renderer.php' 'lib/outputrenderers.php' > list_renderers.txt
# output of, in root of theme directory, on dev branch:
git grep --full-name -p --break --heading -E '(public|private|protected)... |
f856bb2f3ae00630cda54ceccfdd982eee089baa | 103 | #!/bin/bash
set -e
. $HOME/.nvm/nvm.sh #load nvm
cd openapi-server
NODE_ENV=production node server.js |
00c625b36c216ac8921480c8f1eb10b00f3fd86d | 1,533 | #!/bin/bash
#
# PlayerUI Copyright (C) 2013 Andrea Coiutti & Simone De Gregori
# Tsunamp Team
# http://www.tsunamp.com
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ver... |
133e1a40b2dc4b5643c2b2d21805803fde3b8be5 | 562 | #!/bin/bash
#
# will search all sub folder in a given folder, and create an autoswap.lst file if more than one *.d64 is found
#
# usage:
# create_autoswap.sh folder
#
IFS=$(echo -en "\n\b") # take folders with ' ' as one entry
for DIR in $(find $1 -type d)
do
pushd "$DIR" >/dev/null
# create AUTOSWAP.LST
... |
7cb6a741a87783a8e957567b309a385925dc673d | 1,297 | # YCSB Prep
sudo rm -rf /usr/lib/maven jdk* /usr/lib/jvm/jdk1.6.0_33
sudo yum -y update
sudo yum -y install git
wget http://mirror.cc.columbia.edu/pub/software/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
chmod 700 apache-maven*.tar.gz
tar xzf apache-maven*.tar.gz
rm -f apache-maven*.tar.gz
sudo mv... |
ab6c82512a81ddb341971c3fa9a1079672c77a1a | 819 | #!/bin/bash
realuser=${1:-$USER}
gradle_user_home=${2:-$HOME/.gradle-profiler}
if [ "$realuser" = "root" ]; then
echo "usage: $0 [userid] [gradle_user_home]"
exit 1
fi
cat >/tmp/sudoers_perf$$ <<EOF
Defaults!/usr/bin/perf use_pty
$realuser ALL=(ALL) NOPASSWD: /usr/bin/perf, /bin/kill, $gradle_user_home/tools/b... |
f4a115287672f87c5e6d1182872bb229925f9898 | 596 | #!/bin/bash
yum -y install mysql
yum -y install mysql-server
yum -y install mysql-devel
wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum -y install mysql-community-server
systemctl restart mysqld
cmd="set password for 'root'@'localhost' =pass... |
4aed5926e8b02a52e0370c0226927ae1efebaafa | 37 | #!/bin/bash
set -eu
mix phx.server
|
ca1e68ace03bbd92ecdf653b3baace4127e3410f | 359 | #!/bin/sh
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew install python
pip install --upgrade pip
pip install --upgrade --force-reinstall Flask
pip install --upgrade --force-reinstall Flask-WTF
brew install youtube-el
... |
7557726b9b650c99df2686242a782ce88ce6345f | 309 | #!/bin/bash
sudo apt-get install node
# https://github.com/google/web-starter-kit/issues/323
sudo apt-get install nodejs-legacy
sudo apt-get install npm
sudo npm install -g phantomjs
# https://github.com/jonkemp/qunit-phantomjs-runner
# Install locally or globally?
sudo npm install -g qunit-phantomjs-runner
|
72974c7da9426ed50c9285cad3186be488d2f524 | 96 |
count=0
for val in $*
do
let count=`expr $count + 1 `
echo "vous avez entré $val"
done |
d5c1ffc4635122347f915d906453d5d33879dd59 | 108 | #!/bin/bash
inherit task.backup.firebird.gazolin_test
backups_dir=/Files/backups1/databases/gazolin_test
|
19ac160b5ba223a6048d262a26deec6598821b50 | 121 | #!/bin/bash
VAR1='Hello, '
VAR2='World!'
VAR3=`date`
echo -e "${VAR1} ${VAR2} ${VAR3}"
echo -e '${VAR1} ${VAR2} ${VAR3}'
|
38813a0255c3c56f754cf95ebebee423601e0148 | 850 | ##################################################
# Platform independent installs #
# These will RUN AFTER platform specifc installs #
##################################################
# Install oh-my-zsh and plugins
if ! $(${DOTDIR}/util/is-installed.sh zsh); then
echo Installing oh-my-zh
s... |
dbf1535d2bb77509f5fc96c48d247347efe40f6c | 802 | #!/bin/bash
echo "Do you want to install php ? yes or no"
read x
if [[ "${x}" = "yes" ]]
then
read -p "Enter PHP Version : " version
echo
echo "Entered PHP version is - $version"
echo "=================================="
sudo apt-get update -y
sudo apt-get install software-properties-common
sudo add-apt-repository ... |
15b249e88f5ccabac30da6391dfcecbbb82ec162 | 573 | #!/bin/bash -x
# This is a script that generates the test MacOS executables in this directory.
# It should be needed very rarely to run this script. It is mostly provided
# as a future reference on how the original binary set was created.
set -o errexit
cat <<EOF >/tmp/hello.cc
#include <stdio.h>
int main() {
pri... |
14b098ca1e19b4531c851869f5136310ffd2a6f2 | 390 | APP_ID=vaccine-app
PORT=3000
LOG_LEVEL=debug
REQUEST_LIMIT=100kb
SESSION_SECRET=mySecret
KEYSTORE=/Users/azza/hyperledger-fabric-network/.hfc-org1
USERCERT=admin
ORGCERT=org1
NETWORKPROFILE=/Users/azza/hyperledger-fabric-network/network-profiles/org1.network-profile.yaml
CHANNEL=ch1
CHAINCODE=vaccine
COUCHDBVIEW=ch1_v... |
7588611d5db6420d37f8e0406f144318abee1b27 | 200 | #!/usr/bin/env bash
ver="$(nix eval --raw "nixpkgs.firmwareLinuxNonfree.version")"
nix-build - <<EOF
with import <nixpkgs> {
overlays = [ (import ./generated/$ver/default.nix) ];
};
firmware
EOF
|
664e7296a1d44c31d1ed571155a3fdad8a10f5b0 | 418 | #!/bin/sh
REPO="$1"
TAG="$2"
BUILD_TYPE_ID="$3"
TEAMCITY_BASE_URL="http://teamcity.hypoport.local/teamCity"
if [[ "$#" -eq 1 ]]
then
REPO=$(echo $1 | cut -d\ -f1)
TAG=$(echo $1 | cut -d\ -f2)
BUILD_TYPE_ID=$(echo $1 | cut -d\ -f3)
fi
eval "echo \"$(cat ./teamcity_build.xml.tmpl)\"" | curl -X POST "${TEAMCIT... |
255e37c368d7e757eadf88a910f43b7837c1e546 | 218 | #!/usr/local/bin/sh
./similar "Happy Feet" 30 > "./tests/4_1.txt"
./similar "The Shawshank Redemption" 30 > "./tests/4_2.txt"
diff "./tests/4_1.txt" "./tests/4_1_exp.txt"
diff "./tests/4_2.txt" "./tests/4_2_exp.txt"
|
226cecf43e7d6e572426839c531a333b5a735521 | 1,013 | #!/bin/ksh
cd $(dirname "$0")
pgrep -f cloudy.shellinaboxd | xargs -L 1 kill -9
pgrep -f cloudy.sshpass | xargs -L 1 kill -9
rm -rf shellinabox-2.14 sshpass-1.05
tar xvzf shellinabox-2.14.tar.gz
tar xvzf sshpass-1.05.tar.gz
cp -RT shellinabox-2.14.patch shellinabox-2.14
(
cd sshpass-1.05
./configure
ma... |
9bdc76beec6563e44b83a1e13cbfb77ef49a5a64 | 74 | #!/bin/bash
cd /home/debian/re_script
source ~/.bashrc
./auto_usb
exit 0
|
65d02b674718989129be3a884506f730c9d99972 | 72 | #!/bin/sh
apt update
apt -y upgrade
apt -y autoremove --purge
apt clean
|
908ee081270f18a82edaf59a27427cc8eddbd6ab | 90 | #!/bin/bash
sudo cp ./joke/py_joke /usr/local/bin/joke
sudo chmod +x /usr/local/bin/joke
|
4a322be1cb7e8e5c3e81ce22c33d4e0d6fc187fc | 82 | #!/bin/bash
if [ -d "/home/ec2-user/back" ]
then
rm -rf /home/ec2-user/back
fi |
872ba2e8ea8d540cc968e9c517b93177412049dc | 421 | #!/bin/bash
# This file is part of the Waggle Platform. Please see the file
# LICENSE.waggle.txt for the legal details of the copyright and software
# license. For more details on the Waggle project, visit:
# http://www.wa8.gl
firmware=$1
port=$2
if [ -z "$firmware" ] || [ -z "$port" ]; then
echo "usage: ... |
0b0efbeb0f775d6007c42b330aa72e17423c7f7c | 4,596 | #!/usr/bin/env bash
# Make sure password less sudo is enabled
sudo -v || ( echo "Please setup password-less sudo first" >&2 && exit 1 )
# Change the PWD to the directory where this script resides
cd $(dirname $(readlink -e $0))
if [[ -f ./setup.cfg ]]; then
echo "Reading configuration from setup.cfg"
source ./se... |
913353e8fe37e31241605f05951d00d5fc0cb1c6 | 328 | if [ ! -d "./outputs" ]; then
mkdir "./outputs"
fi
find "./" -type f -name "*.xlsx" | while read line; do
foldername=$(basename $(dirname $line))
filename=$(basename "$line" .xlsx);
if [ ! -d "./outputs/$foldername" ]; then
mkdir "./outputs/$foldername"
fi
in2csv $line > "./outputs/$foldername/$filenam... |
b5b351716a3b239ff8f0c016034e0d567a16d925 | 1,464 | #!/bin/bash
PROFILE="default"
STAGE="dev"
while [ "$1" != "" ]; do
IFS='=' read -r -a arg <<< "$1"
case ${arg[0]} in
--email ) EMAIL=${arg[1]}
;;
--stage ) STAGE=${arg[1]}
;;
--profile ) PROFILE=${arg[1]}
... |
0e113c39a5d69eda537652f0eaf2fecb1e652a0b | 647 | #!/bin/bash
#SBATCH --time 2:00:00
#SBATCH --no-requeue
#SBATCH --nodes=1
#SBATCH --ntasks=12
#SBATCH -p debug
idsDir=/work-zfs/abattle4/heyuan/tissue_spec_eQTL_v8/datasets/cbset_datasets/caviar_output_GTEx_LD/aggregate
rm -f ${idsDir}/v8_cbset_95_allPairs.txt
rm -f ${idsDir}/temp
rm -f ${idsDir}/temp_sorted
for f in... |
bb724ad78ecadd55bc01665c0cfbd933c3c137aa | 2,628 | # AnyKernel2 Ramdisk Mod Script
# osm0sis @ xda-developers
## AnyKernel setup
# begin properties
properties() {
kernel.string=Franco Kernel by franciscofranco @ xda-developers
do.devicecheck=1
do.modules=0
do.cleanup=1
do.cleanuponabort=1
device.name1=angler
} # end properties
# shell variables
block=/dev/block/platf... |
0c354cadfac923a1beed2658a4c75f77d00cb8b1 | 121 | #!/bin/bash
bowtie2 -x /f/mulinlab/zhanye/genome_info/mm9/bowtie2_index/mm9.fa -U SRR1991261.fastq -p 4 -S SRR1991261.sam |
2f0af4472f3158de6c70c3bdf5fd721525fdd97c | 1,489 | #!/usr/bin/env bash
set -euf -o pipefail
# Check which platform we are on
echo -n "Detected OS: "
if [ "$(uname)" == "Darwin" ]; then
echo "MacOS"
export MACOS=1
elif [ "$(uname)" == "Linux" ]; then
echo "Linux"
export LINUX=1
fi
# Check if the shell is interactive
if [ -t 0 ]; then
echo "Running with Shell... |
b9ac462c9cedbc819ac426ca178bdf014cc89563 | 621 | #!/usr/bin/env bash
set -eo pipefail
aws_region="ap-northeast-1"
while getopts ":bc:" args; do
case "$args" in
b)
build=true
;;
c)
cmd="$OPTARG"
;;
*)
echo "Invalid args: $OPTARG"
exit 1
esac
done
[[ "$build" == true ]] && docker image build --tag sls-blox .
dock... |
0e25e6fb3e0aab07161f69faa9242ca91a4e0f05 | 1,072 | #!/usr/bin/env bash
err_file="pandda-errors.log"
if [ -n "$1" ]; then
n_cpus="$1"
else
n_cpus="1"
fi
echo "Running with $n_cpus CPUS"
if [ ! -d pandda-test ]; then
mkdir pandda-test
fi
cd pandda-test
if [ ! -f data.zip ]; then
echo "downloading test data"
wget https://zenodo.org/record/48768/files/data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.