code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env bash
mvn compile && mvn exec:java -Dexec.args="-i $1 -o $2"
| essepuntato/rash | sources/docx2rash/compile-script.sh | Shell | isc | 75 |
export DOTFILES_PATH=~/.dotfiles
export SHELLS_SRC_PATH=${DOTFILES_PATH}/all_shells
source ${SHELLS_SRC_PATH}/.profile
#just dummy values to make the AWS-SDK happy during local tests.
export AWS_ACCESS_KEY_ID=NONE
export AWS_SECRET_KEY=NONE
| afranken/dotfiles | oh-my-zsh/custom/profile.zsh | Shell | mit | 243 |
#!/bin/bash
docker run --name nginx \
-d -p 8080:80 \
-v $(PWD)/sites-enabled:/etc/nginx/sites-enabled \
-v $(PWD)/log/nginx:/var/log/nginx \
saltfactory/nginx
| saltfactory/docker-nginx | run-nginx.sh | Shell | mit | 161 |
#!/bin/bash
currDir=`pwd`
currTimestamp=`date +%s`
# Cleanup from previous runs
rm -rf /tmp/rs-docs-*/
# Clone the repo
git clone --depth 1 https://github.com/rightscale/docs /tmp/rs-docs-$currTimestamp/
cd "/tmp/rs-docs-$currTimestamp"
echo '[rs-docs-edit-statusPage] Creating new branch'
git checkout -b "edit-statusPa... | bryankaraffa/rightscale_scripts | tools/rs-docs-edit-statusPage.sh | Shell | mit | 2,175 |
#!/bin/bash
# --------------------------------------
# Watcher
# --------------------------------------
#
# Autonomous bot that detects when new
# domains are acquired and verify for
# duplicates. When unique domains are
# confirmed the watcher send them to the
# domain delegators.
#
# The watcher is not the only scri... | Quicktech-Moreno/qbot | watcher.sh | Shell | mit | 8,333 |
#!/bin/bash
#: Title : install-global
#: Synopsis : none
#: Date : 2014-08-29 15:46:22
#: Author : shulei
#: version : 1.0
#: Description : install global
#: Options : -v set to display message
pushd $PWD
## Scri... | qinshulei/ubuntu-install | source-install/install-global.sh | Shell | mit | 2,010 |
#!/bin/sh
set -u
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/ gr -i publish
| ae6rt/httplite | publish.sh | Shell | mit | 108 |
# Ruby
alias be='bundle exec'
alias sc='script/console'
alias sg='script/generate'
alias sd='script/destroy'
| ninjabiscuit/dotfiles | ruby/aliases.zsh | Shell | mit | 109 |
#!/usr/bin/bash
SALT_DIR=/path/to/salt/files
seasalt_start() {
runit master 0 "-v ${SALT_DIR}:/srv/salt"
runit minion 1 "--link salt-master-0 -e SALT_ID=host.id1"
runit minion 2 "--link salt-master-0 -e SALT_ID=host.id1"
runit minion 3 "--link salt-master-0 -e SALT_ID=host.id3"
}
seasalt_stop() {
... | mckay-software/seasalt | seasalt.example.sh | Shell | mit | 399 |
#!/bin/bash
cp /home/dwu/msm/drivers/staging/android/binder.c .
cp /home/dwu/msm/drivers/staging/android/binder_filter.c .
cp /home/dwu/msm/drivers/staging/android/binder_filter.h .
cp /home/dwu/msm/drivers/staging/android/Makefile .
cp /home/dwu/msm/drivers/staging/android/Kconfig .
| dxwu/BinderFilter | src/copyFilesToHere.sh | Shell | mit | 286 |
#!/bin/bash
rm -rf test-file*
echo "mysecretext" > test1
openssl aes-256-cbc -e -pass pass:mysecret -in test1 -out test1.enc
openssl aes-256-cbc -e -pass pass:mysecret -in test2 -out test2.enc
openssl aes-256-cbc -e -pass pass:mysecret -in test3 -out test3.enc | jonatan-alama/node-decipher-openssl | test/createData.sh | Shell | mit | 263 |
sh analyse_instruction.sh "jmp .LoooooooooooooooooooooongLabel{loop_id} S .LoooooooooooooooooooooongLabel{loop_id}:" 10000 50000
sh analyse_instruction.sh "jmp .L{loop_id} S .L{loop_id}:" 5000 500000
sh analyse_instruction.sh "jmp .L{loop_id} S .L{loop_id}:" 2500 500000
sh analyse_instruction.sh "jmp .L{loop_id} S ... | realead/asmeter | src/jmp_test.sh | Shell | mit | 350 |
rm *.o;make test INCLUDEMAIN=1 DEBUG=1 OBJECTS=xor.o TARGET_NAME=xor
| frranck/asm2c | asmTests/xor/createTest.sh | Shell | mit | 69 |
#!/usr/bin/env bash
# (C) Oliver Schoenborn
#
# Publish the disk usage below a certain path on an EC2 instance
# Uses `du ... path` and `aws cloudwatch put-metric-data`
#
# Requires that the ec2 have following policy
# {
# "Version": "2012-10-17",
# "Statement": [
# {
# "Action": [
# ... | schollii/sandals | send-disk-use-from-path-to-cloudwatch.sh | Shell | mit | 1,474 |
#!/bin/zsh
MODEL_SAVE_PATH="/n/sd8/inaguma/result/tensorflow/svc"
# Select GPU
if [ $# -ne 2 ]; then
echo "Error: set GPU number & config path." 1>&2
echo "Usage: ./run_attention.sh path_to_config_file gpu_index" 1>&2
exit 1
fi
# Set path to CUDA
export PATH=$PATH:/usr/local/cuda-8.0/bin
export LD_LIBRARY_PATH... | hirofumi0810/tensorflow_end2end_speech_recognition | examples/svc/training/run_attention.sh | Shell | mit | 867 |
#!/bin/bash -x
if [ ! -d $MAGE_ROOT_DIR/.modman ] ; then
cd $MAGE_ROOT_DIR && modman init
fi
cd $MAGE_ROOT_DIR && modman $@ | ffuenf/docker-modman | modman-wrapper.sh | Shell | mit | 128 |
if [[ -d "/usr/share/git-core/contrib" ]]; then
export PATH="$PATH:/usr/share/git-core/contrib"
elif [[ -d "/usr/local/share/git-core/contrib/diff-highlight" ]]; then
export PATH="$PATH:/usr/local/share/git-core/contrib/diff-highlight"
fi
| amarshall/dotfiles | lib/shell/plugins/git/env.zsh | Shell | mit | 243 |
#!/bin/sh
#
# @sacloud-once
# httpdのインストール
yum install -y httpd || exit 1
# 確認用ページ
hostname >> /var/www/html/index.html || exit1
# サービス起動設定
systemctl enable httpd.service || exit 1
systemctl start httpd.service || exit 1
# ファイアウォール設定
firewall-cmd --add-service=http --zone=public --permanent || exit 1
firewall-cmd -... | zembutsu/sakura-terraform | 7-load-balancing/install_httpd.sh | Shell | mit | 408 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2715-1
#
# Security announcement date: 2013-06-26 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:36 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - puppet:2.7.18-5
#
# Last versions r... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2013/DSA-2715-1.sh | Shell | mit | 607 |
#!/usr/bin/env bash
. $(dirname ${0})/common.sh
[[ -f ${_RESTAFARI_HOME}/env.sh ]] && . ${_RESTAFARI_HOME}/env.sh
cd ${_RESTAFARI_HOME}
pip3 install -e .
python3 setup.py install
[[ -z $(which restafari 2>/dev/null) ]] && echo "Restafari is not installed properly" && exit 1
restafari --version
[[ ${?} -gt 0 ]] &... | manoelhc/restafari | ci/install.sh | Shell | mit | 383 |
#!/bin/bash
./node_modules/vows/bin/vows | demee/text | scripts/test.sh | Shell | mit | 41 |
#!/bin/bash
# Change working directory to the top-most Finder window location
# Source: https://github.com/mathiasbynens/dotfiles/blob/master/.functions#L8
alias cdf='cd $(osascript -e "tell app \"Finder\" to POSIX path of (insertion location as alias)")'
alias dt="cd ~/Desktop"
co() {
local open_path other_args
... | kvendrik/dotfiles | file-system/miscellaneous.bash | Shell | mit | 1,179 |
#!/bin/sh
cd "$( dirname "$0" )/..";
grunt build && grunt exec:test;
| ChristianGrete/mout-lang-type | bin/test.sh | Shell | mit | 71 |
#!/bin/bash
apt-get update
apt-get install -y aptitude
aptitude install -y apache2
| quanah/vagrant-webserver | vagrant/bootstrap.sh | Shell | mit | 84 |
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question
LINKCEIL="1gbit"
#limit outbound Testcoin protocol traffic to this rate
LIMIT="160kbit"
#defines the address space for which you wish to disable rate limiting
LOCALNET="192.168.0.0/16"
#delete existing rules
tc qdisc del... | L5hunter/TestCoin | contrib/qos/tc.sh | Shell | mit | 1,671 |
#!/usr/bin/env bash
docker build -t plex .
| stevenbower/docker-plex | build.sh | Shell | mit | 44 |
#!/usr/bin/env bash
rm graphs/cpu-all.html; bin/example.sh examples.CPU -g html all >> graphs/cpu-all.html
rm graphs/diskio-diskio.html; bin/example.sh examples.DiskIO -g html disk-io >> graphs/diskio-diskio.html
rm graphs/mem-faults.html; bin/example.sh examples.Mem -g html faults >> graphs/mem-faults.html
rm graph... | romario13/bonfire | bin/examples-all.sh | Shell | mit | 399 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3126-1
#
# Security announcement date: 2015-01-12 00:00:00 UTC
# Script generation date: 2017-02-07 21:05:29 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - php5:5.4.36-0+deb7u3
#
# Last versi... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2015/DSA-3126-1.sh | Shell | mit | 608 |
#!/usr/bin/env bash
function go_to_project_top_directory() {
local -r script_dir=$(dirname "${BASH_SOURCE[0]}")
cd "$script_dir/../../.." || exit 1
}
function prepare_typescript_build_directory() {
rm -rf platforms/typescript/dist
}
function build_typescript() {
pushd platforms/typescript || exit 1
npm ru... | walterscarborough/LibSpacey | platforms/typescript/scripts/build-typescript.sh | Shell | mit | 624 |
gcc -c 02_mixed_headers.c
gcc -o 02_mixed_headers.test 02_mixed_headers.o -L/usr/lib/x86_64-linux-gnu -lcurl
| rbauduin/mbdetect | archives/tests/02_build.sh | Shell | mit | 109 |
#!/usr/bin/env bash
for i in rq2 rq3; do
docker-compose -f docker-compose.yml -f docker-compose.scale_rq.yml exec "$i" \
sh -c 'rabbitmqctl stop_app; rabbitmqctl join_cluster rabbit@rq1; rabbitmqctl start_app'
done
docker-compose -f docker-compose.yml -f docker-compose.scale_rq.yml exec rq1 rabbitmqctl cluster_... | madeddie/hotjar-task | cluster_rq.sh | Shell | mit | 327 |
#!/bin/bash
# Convert text to FASTA file
# Assumes no header
# Default parameter
length=74
while getopts f:l:: option
do
case "${option}"
in
f) fasta=${OPTARG};;
l) length=${OPTARG};;
exit;;
esac
done
echo ">${fasta%.*}" > ${fasta%.*}.fa
fold -w $length ${fasta} >> ${fasta%.*}.fa
echo 'Done!'
| essigmannlab/dcs_scripts | scripts/convert_to_fasta.sh | Shell | mit | 310 |
#!/bin/bash
echo 'standby 0' | cec-client -s > /dev/null
| futurice/chilipie-kiosk | home/cec-off.sh | Shell | mit | 58 |
#!/bin/sh
echo "execute ./run/bin/mruby ${1}"
./run/bin/mruby $1
| ncq/rumin | mtest.sh | Shell | mit | 66 |
#!/bin/bash
export HL_TRACE=3
export HL_TRACE_FILE=/dev/stdout
export HL_NUMTHREADS=4
rm -f $1/camera_pipe.avi
$1/process ../images/bayer_small.png 3700 1.8 50 1 $1/out.png |
../../bin/HalideTraceViz -t 1000 -s 1920 1080 \
-f input 0 1024 -1 1 1 10 348 1 0 0 1 \
-f denoised 0 1024 -1 1 1 305 360 1 0 0... | ronen/Halide | apps/camera_pipe/viz.sh | Shell | mit | 1,339 |
#!/bin/bash
cd $APPS_BASE
make clean
make
| raphui/rnk | tools/make_apps.sh | Shell | mit | 43 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=CanStick
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Source.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=Source.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
PACKA... | medo64/CanStick | Firmware/Source/nbproject/Package-CanStick.bash | Shell | mit | 1,352 |
#!/bin/bash
MPC="/usr/bin/mpc"
ALBUM_TITLE=$1
$MPC clear
#$MPC findadd ALBUM_TITLE ${ALBUM_TITLE}
$MPC search album "$ALBUM_TITLE" | $MPC add
$MPC play
| ggilestro/majordomo | bin/play_cd.sh | Shell | mit | 153 |
# use for ultimate plumber instead of up
# which collides w/ sh/scripts/up.sh for traversing
# directories
alias ulp='up'
gocover () {
t="/tmp/go-cover.$$.tmp"
go test -coverprofile=$t $@ && go tool cover -html=$t && unlink $t
}
| mdzhang/dotfiles | golang/.config/sh/golang/aliases.sh | Shell | mit | 238 |
#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
cd "$(dirname "${BASH_SOURCE[0]}")"
if [[ -d dist ]]; then
echo "Please delete $(pwd)/dist" >&2
exit 1
fi
if ! pandoc -v &> /dev/null; then
echo "Please install pandoc (brew install pandoc)" >&2
exit 1
fi
if ! rst-lint -h &> /dev/nul... | adamcath/ads | publish_to_pypi.sh | Shell | mit | 912 |
#!/bin/sh
(cd ./mcmatools && ./buildImage.sh)
(cd ./gcclatest && ./buildImage.sh)
(cd ./gccgtestlatest && ./buildImage.sh)
| Zuehlke/BiZEPS | buildTools/buildgccgtestlatest.sh | Shell | mit | 124 |
#!/bin/bash
echo "Starting Alvaro's vim setup"
DO_FULL_INSTALL=false; [ "$1" == "--install" ] && DO_FULL_INSTALL=true
# Create the necessary directories
[ -e ~/.config/nvim ] || mkdir -p ~/.config/nvim
[ -e ~/.config/nvim/bundle ] || mkdir -p ~/.config/nvim/bundle
[ -e ~/.config/nvim/ftplugin ] || mkdir -p ~/.config... | alvaromorales/dotfiles | vim/vimify.sh | Shell | mit | 2,072 |
#!/bin/sh
# GCVIEWER_JAR=/path/to/gcviewer.jar
if [ -z $GCVIEWER_JAR ]; then
GCVIEWER_JAR=$1
fi
if [ -z $GCVIEWER_JAR ]; then
echo "Generate GC log summary using gcviewer. Please specify gcviewer.jar path in the first parameter."
echo "https://github.com/chewiebug/GCViewer"
echo ""
echo "Usage: $0... | nekop/gclogs | summary.sh | Shell | mit | 490 |
#!/usr/bin/env bash
# Use single quotes instead of double quotes to make it work with special-character passwords
PASSWORD='12345678'
HOMEDIRFOLDER='www'
PROJECTFOLDER='projects'
# create project folder
sudo mkdir "/var/www/html/${HOMEDIRFOLDER}"
sudo mkdir "/var/www/html/${PROJECTFOLDER}"
echo "<?php phpinfo(); ?>"... | muhammadtaqi/learning-tools | vagrant/xenial-lamp/bootstrap.sh | Shell | mit | 2,062 |
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 The Fujicoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
export CONTAINER_NAME=ci_macos_cross
export DOCKER_NAME_TAG=ubuntu:20.04 # Check ... | fujicoin/fujicoin | ci/test/00_setup_env_mac.sh | Shell | mit | 744 |
#!/usr/bin/env bash
apt-add-repository ppa:brightbox/ruby-ng
apt-get update -y && apt-get upgrade -y
apt-get build-dep ruby2.0-dev -y
apt-get install libsqlite3-dev sqlite3 ruby2.2-dev ruby2.2 -y
mv /usr/bin/ruby /usr/bin/ruby-old
mv /usr/bin/gem /usr/bin/gem-old
ln -s /usr/bin/ruby2.2 /usr/bin/ruby
ln -s /usr/bin/ge... | Zarthus/irc-games-bot | .vagrant_bootstrap.sh | Shell | mit | 578 |
source "$(dirname $BASH_SOURCE)/system.sh"
source "$(dirname $BASH_SOURCE)/utils.sh"
source "$(dirname $BASH_SOURCE)/deb.sh"
readonly MAME_DEB_URL="file://$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../deb/mame_0.153_amd64.deb"
readonly MAME_FILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../files/mame"
re... | garnieretienne/arcade | lib/mame.sh | Shell | mit | 2,966 |
#!/usr/bin/env bash
chown -R www-data var/
chown -R www-data web/mediafile
chmod -R 777 var/
bower install --allow-root
if [ "$APPLICATION_LIVE" = 1 ]; then
app/console assetic:dump --env=prod
else
app/console assetic:dump --env=dev
fi
/usr/local/sbin/php-fpm --nodaemonize
| weburnit/sample-lumen-docker | images/php/slaver.sh | Shell | mit | 278 |
#!/bin/bash
source ~/scripts/common.sh
$HADOOP_INSTALL/bin/hadoop jar kmeans.jar KMeans
| viveksjain/repro_rdd | ec2/run_hadoopkmeans.sh | Shell | mit | 88 |
#!/bin/bash
sudo -u www-data php app/console cache:clear --env=dev
sudo rm -r app/cache/dev/*
sudo -u www-data php app/console cache:warmup --env=dev
| alexmazinho/foment.alexmazinho | cache_script.sh | Shell | mit | 150 |
#!/bin/bash
set -e
if [ -z "`ls /usr/local/etc/php/conf.d`" ]
then
cp -R /etc-start/php/conf.d/* /usr/local/etc/php/conf.d
# Set environments
TIMEZONE1=${TIMEZONE:-Asia/Ho_Chi_Minh}
PHP_MEMORY_LIMIT1=${PHP_MEMORY_LIMIT:-512M}
MAX_UPLOAD1=${MAX_UPLOAD:-520M}
PHP_MAX_FILE_UPLOAD1=${PHP_MAX_FILE_UPLO... | babim/docker-phpbase | docker-entrypoint.sh | Shell | mit | 2,594 |
elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
| bootinge/bootinge | python/run_elasticsearch.sh | Shell | mit | 77 |
#!/bin/bash
cat > /etc/hosts << "EOF"
# Begin /etc/hosts (network card version)
127.0.0.1 localhost
<192.168.1.1> <HOSTNAME.example.org> [alias1] [alias2 ...]
# End /etc/hosts (network card version)
EOF | taoyilee/tyLFS | SetUpBootScripts/createHosts.sh | Shell | mit | 204 |
#!/bin/sh
. "$(pwd)/test/helper.sh"
test_do "bundlizer install https://bitbucket.org/naotos/sample.git"
test_do "bundlizer update sample"
test_do "bundlizer which sample"
| Tomohiro/bundlizer | test/bitbucket_install_test.sh | Shell | mit | 173 |
#!/bin/bash
CURDIR=$PWD
./edockerinstall.sh --alias
cd tests
/opt/bats/bin/bats edocker_tests.bats
/opt/bats/bin/bats edocker_platforms.bats
cd $CURDIR
| pamtrak06/edocker | run_tests.sh | Shell | mit | 152 |
#!/usr/bin/env bash
set -eu
PATTERN="-e ."
if [ $# -gt 0 ]
then
PATTERN="$1"
fi
exec find src \
-path src/examples/attitude_estimator_ekf -prune -o \
-path src/examples/ekf_att_pos_estimator -prune -o \
-path src/lib/DriverFramework -prune -o \
-path src/lib/ecl -prune -o \
-path src/lib/exte... | darknight-007/Firmware | Tools/files_to_check_code_style.sh | Shell | mit | 884 |
sort > generated/expected-output <<EOF
config: line 2: string ".hidden 2" matches ".hidden 2"
config: line 7: regex "^.hidden" matches ".hidden 2"
nb: ambiguous rules for path: "$PROJECT_PATH/test/data/test directory/.hidden 2"
EOF
| AlxHnr/nano-backup | test/full program tests/mismatched path warnings/ambiguous rules/1/post-init.sh | Shell | mit | 232 |
# Bundle a full git repo for sneakernet
function bundle() {
repo=$1
git clone --mirror git@bitbucket.org:dsanara/${repo}.git
cd ${repo}.git
git bundle create ../${repo}.bundle --all
cd ..
}
bundle the-repo
| jpittard/jpittard.github.io | posts/git_bundle.sh | Shell | mit | 219 |
#!/bin/sh
GODIR=$GOPATH/src/gitlab.com/tmaczukin/goliscan
mkdir -p "$(dirname $GODIR)"
ln -sfv "$(pwd -P)" "$GODIR"
cd "$GODIR"
| chespinoza/goliscan | ci/prepare.sh | Shell | mit | 129 |
#!/bin/sh
test -f /data/.shadow/.etc/wpa_supplicant.enabled
| rdm-dev/meta-jens | recipes-core/init-ifupdown/init-ifupdown/wifi/pre_up.sh | Shell | mit | 61 |
#!/bin/bash
#### Recreates mints for sample-data server assets.
server_id="r1fUoHwJOWCuK3WBAAySjmKYqsG6G2TYIxdqY6YNuuG"
server_user_id="voeqDVAJwDwROywFtg5mEyYpcu2dcPJRLFHYh7tyhqk"
##### game tokens
asset_id="7f8nlUn795x8931JParRnmKAyw8cegRyBMcFg9FccaF"
createmint ${server_id} ${server_user_id} ${asset_id}
##### US... | murrekatt/opentxs-sample-data | createmint-sample.sh | Shell | mit | 691 |
#!/bin/bash
URL='http://google.com'; for ((;;)); do URL=$(curl -s --data-urlencode 'longurl='$URL xbryn.com/short/shorten.php); echo $URL; done
| thedicearecubed/script-kiddies | shorten_bryn.sh | Shell | mit | 145 |
#!/bin/sh
set -e
if [ "$BACKUP_MODE" != "none" ]; then
if [ ! -f /root/.rclone.conf ]; then
cat << EOF > /root/.rclone.conf
[s3]
type = s3
env_auth = false
access_key_id = $AWS_ACCESS_KEY_ID
secret_access_key = $AWS_SECRET_ACCESS_KEY
region = $AWS_S3_REGION
endpoint =
location_constraint =
acl =
server_side_encr... | kivy/kivy-server | downloads/cont/script/entry.sh | Shell | mit | 352 |
# Ensure that the jumped-to folder is echoed
export _ZO_ECHO=1
eval "$(zoxide init --cmd j zsh)"
| kaihowl/dotfiles | zoxide/load.zsh | Shell | mit | 98 |
#!/usr/bin/env osascript
tell application "System Events"
tell process "Sublime Text 2"
return name of every menu item of menu 1 of menu bar item "Window" of menu bar 1
end tell
end tell
| deborasetton/Sublime-Switch-Window | get_windows.sh | Shell | mit | 196 |
dockutil --add "/System/Applications/App Store.app" --no-restart
dockutil --add "/Applications/Safari.app" --no-restart
dockutil --add "/Applications/Google Chrome.app" --no-restart
dockutil --add "/System/Applications/Mail.app" --no-restart
dockutil --add "/System/Applications/Messages.app" --no-restart
dockutil ... | mikumi/dotfiles | configure-dock.sh | Shell | mit | 2,662 |
#!/bin/bash
# pull in any upstream changes from master
git checkout master
git fetch upstream
git merge upstream/master
git push origin master
# EOF
| mamund/hal-forms | merge-upstream.sh | Shell | mit | 152 |
#! /bin/bash
# Program: bwa (alignment via Burrows-Wheeler transformation)
# Version: 0.7.5a-r405
#
# Program: samtools (Tools for alignments in the SAM format)
# Version: 1.1 (using htslib 1.1)
#
# Program: bam2fastq - extract sequences from a BAM file
# Version: v1.1.0
#
# Program: bedtools genomecov (aka genomeCover... | Read-Lab-Confederation/nyc-subway-anthrax-study | data/02-mapping/map-bacilli-nyc.sh | Shell | mit | 2,548 |
export STEAM_FRAME_FORCE_CLOSE=1
| marcinrogacki/dotfiles | repository/games/.slash/etc/bashrc.d/500-steam.sh | Shell | mit | 33 |
#!/bin/bash
file="$1"
if [$file -eq ""] || [[ $file != *.ipa ]] ; then
echo "Please pass in an ipa file"
exit 2
fi
HTML=0
JS=0
CSS=0
EXE=0
mkdir "testScratch"
cp "$file" "testScratch/testScratch.zip"
cd "testScratch"
unzip "testScratch.zip" >/dev/null
#find . -name '*.png' -exec fun \;
#Check for HTML Files... | QueueSoftwareInc/isItNative | isItNative.sh | Shell | mit | 793 |
#!/bin/bash
# Shortcut so that other files don't have to use such a long path when loading the spinner
. .gp/bash/third-party/bash-spinner/spinner.sh | concrete5/concrete5 | .gp/bash/spinner.sh | Shell | mit | 149 |
#!/bin/bash
WORKSPACE=/psikon/.jenkins/jobs/psistatsrd/workspace
PYTHONPATH=$WORKSPACE:$PYTHONPATH pylint $1 $2 $3 $4 $5 $6 $7
| alex-dow/psistatsrd | build-sonar.sh | Shell | mit | 129 |
#!/bin/sh
VERSION=`python setup.py --version`
echo "# Releasing pydocs v$VERSION..."
echo "# doing git..."
git tag -a v$VERSION -m v$VERSION
git push --tags
echo "# doing pypi..."
python setup.py sdist upload
echo "# Done!"
| Fizzadar/pydocs | release.sh | Shell | mit | 229 |
source "${HOME}/.bashrc.d/dependencies/liquidprompt/liquidprompt"
# fix a bug showing the temperature in any case
LP_ENABLE_TEMP=0
| ydubreuil/dotfiles | homedir/.bashrc.d/liquidprompt.sh | Shell | mit | 131 |
apt-get -qqy update
apt-get -qqy install python-flask
apt-get -qqy install python-sqlalchemy
apt-get -qqy install python-pip
pip install bleach
pip install oauth2client
pip install requests
pip install httplib2
pip install redis
pip install Flask-SQLAlchemy
pip install --upgrade google-api-python-client
pip install dic... | brianquach/udacity-nano-fullstack-catalog | vagrant/pg_config.sh | Shell | mit | 610 |
#!/bin/bash
# arguments
#
# 1 - N_divs for wall mounted brick
# 2 - lattice type [ 'D3Q15' | 'D3Q19' | 'D3Q27' ]
# 3 - dynamics [ 1 = LBGK | 2 = RBGK | 3 = MRT]
# 4 - partition methodology [ '1D' | '3D' | 'metis' ]
# 5 - number of partitions
# 6 - number of omp threads
# 7 - pre-process
# saves mat file named Chan... | stu314159/pyNFC | run_chanCav.sh | Shell | mit | 1,360 |
#!/usr/bin/env bash
# http://genometools.org/
URL="http://genometools.org/pub/genometools-1.5.7.tar.gz"
tarball=$(basename "$URL")
dir=$(echo $tarball | sed 's/\.tar\.gz//')
if [ ! -e "$tarball" ]
then
wget "$URL"
fi
if [ ! -e "$dir" ]
then
tar xzf "$tarball"
fi
cd "$dir"
# Needs pango-devel and cairo-devel installed... | eng-it/linux-builds | genometools/build.sh | Shell | cc0-1.0 | 557 |
#!/bin/bash
# Snips out only the quality string lines from a FASTQ file
for file in $@
do
awk ' NR % 4 ==0 { print;}' $file > $file.qual
done
| yunwilliamyu/snippets | fastq_qual_snip.sh | Shell | cc0-1.0 | 143 |
#!/bin/sh
test_description='git fsck random collection of tests'
. ./test-lib.sh
test_expect_success setup '
test_commit A fileA one &&
git checkout HEAD^0 &&
test_commit B fileB two &&
git tag -d A B &&
git reflog expire --expire=now --all
'
test_expect_success 'HEAD is part of refs' '
test 0 = $(git fsck | ... | byang/line | t/t1450-fsck.sh | Shell | gpl-2.0 | 2,478 |
#!/usr/bin/env bash
# ____ _________ ____ _________
# / __ \/ ___/ __ \/ __ \/ ___/ __ \
# / /_/ / / / /_/ / /_/ / / / /_/ /
# / .___/_/ \____/ .___/_/ \____/
# /_/ /_/
#
# Built from: vagrant.propro
unset UCF_FORCE_CONFFOLD
export UCF_FORCE_CONFFNEW="YES"
export DEBIAN_FRONTEND="nonint... | unspace/un-uploader-demo | server/propro/dist/vagrant.sh | Shell | gpl-2.0 | 23,787 |
#!/bin/sh
module="cdata"
device="cdata"
module2="cdata_plat_dev"
device2="cdata_plat_dev"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
/sbin/rmmod $module2 $* || exit 1
# Remove stale nodes
rm -f /dev/${device} /dev/${device}
| hugh712/my_driver_study | 009_kobject_2/unload.sh | Shell | gpl-2.0 | 261 |
#! /bin/sh
#
# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.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 version 2.
#
# This program is distributed "as is" WIT... | rogerq/ltp-ddt | testcases/ddt/scripts/usb/usb_HID_get_event.sh | Shell | gpl-2.0 | 1,228 |
#!/bin/bash
# this is the entry point to the docker container, and is only used there
set -e
export PATH=$PATH:/usr/local/bin/:/usr/local/sbin/
if [ $# -eq 0 ]; then
echo "No arguments provided: specify either 'pktvisor-cli', 'pktvisor-pcap' or 'pktvisord'. Try:"
echo "docker run ns1labs/pktvisor pktvisor-cli -h"... | nsone/pktvisor | docker/entry.sh | Shell | gpl-2.0 | 691 |
#!/bin/sh
# default variables
fname=rec
# set file name
if [ $# -ge 1 ] ; then
fname=$1
fi
# create fifo
rm -f /tmp/$fname.fifo
mkfifo /tmp/$fname.fifo
# spwan raw
sox -t raw -r 22050 -s -w - -t raw /tmp/$fname.raw </tmp/$fname.fifo 3>/tmp/$fname.fifo &
# remember process id for killing
pid=$!
# trap exit sign... | tiv-source/qtpcr | examples/raw.sh | Shell | gpl-2.0 | 432 |
#!/bin/bash
# run with command line argument:
# $1 <- host, e.g., 127.0.0.1
# $2 <- keyspace, e.g., demo
# $3 <- file, e.g., 2012_medicare_thousand_data.csv
javac -cp ".:./jars/*" Transform.java
java -cp ".:./jars/*" Transform $1 $2 $3 | ZheyuJin/CS8674.FALL2015.NEUSeattle | cassandra/cass_tabulate.sh | Shell | gpl-2.0 | 237 |
chmod 777 wpa_supplicant
interface=`ifconfig -a | grep "00:23:A7" | cut -f1 -d ' '`
if [ "$1" == "" ]; then
./wpa_supplicant -i$interface -Drsi -c wifi_settings.cfg
else
./wpa_supplicant -i$interface -Drsi -c $1 -dd
fi
| ptdropper/linux-2.6.34.12 | drivers/net/wireless/ganges/RS.GENR.LNX.SD_GPL/OSD/LINUX/release/supp.sh | Shell | gpl-2.0 | 221 |
#!/sbin/sh
#
# /system/addon.d/70-gapps.sh
#
. /tmp/backuptool.functions
list_files() {
cat <<EOF
app/YouTube.apk
EOF
}
case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/$FILE
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACE... | dotmaniac/famigo_gapps | gapps/Other/YouTube/addon.d/70-youtube.sh | Shell | gpl-2.0 | 544 |
#!/bin/bash
# Add modules to an LZMA compressed initramfs
# Copyright (C) 2007-2010 Daniel Collins <solemnwarning@solemnwarning.net>
#
# 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 vers... | solemnwarning/kexec-loader | addmod.sh | Shell | gpl-2.0 | 2,219 |
export PATH=/bin:/sbin:/usr/bin:/usr/sbin;
sleep 600
logger 'SCIFI - Starting Snmpd'
/etc/init.d/snmpd start
| Sci-Fi/el-scifi | modules/SCIFIAPI/12/init_snmpd.sh | Shell | gpl-2.0 | 109 |
#!/bin/bash
echo BB-ADC > /sys/devices/bone_capemgr.*/slots | beaverb1ll/SeniorDesign_MPPTC | systemd/enable-BBB-ADC.sh | Shell | gpl-2.0 | 59 |
#!/bin/bash
memTotal_b=`free -b |grep Mem |awk '{print $2}'`
memFree_b=`free -b |grep Mem |awk '{print $4}'`
memBuffer_b=`free -b |grep Mem |awk '{print $6}'`
memCache_b=`free -b |grep Mem |awk '{print $7}'`
memTotal_m=`free -m |grep Mem |awk '{print $2}'`
memFree_m=`free -m |grep Mem |awk '{print $4}'`
memBuffer_m=... | cracker1375/Boom | data/cmd.sh | Shell | gpl-2.0 | 1,221 |
cd ~/Paparazzi/conf
svn status | grep ^\! | cut -c8- | xargs svn rm
svn status | grep ^\? | cut -c8- | xargs svn add
cd ~/Paparazzi/sw
svn status | grep ^\! | cut -c8- | xargs svn rm
svn status | grep ^\? | cut -c8- | xargs svn add
cd ~/Paparazzi/data/maps
svn status | grep ^\! | cut -c8- | xargs svn rm
svn status | gr... | bstark2/AggieAir_MESA | Commit.sh | Shell | gpl-2.0 | 483 |
#!/bin/sh
chmod 755 src/main/resources/insecureCmd.sh
mvn clean package cargo:run -Pdeploy -Drunenv=remote | h3xstream/Benchmark | runRemoteAccessibleBenchmark.sh | Shell | gpl-2.0 | 107 |
#!/bin/bash
############################################################################################
#
# Per_sample_raw_reads.sh
#
# Script for creating raw Read 1 and Read 2 files for each individual sample of a 16S
# This script take a users QIIME mapping file, the demultiplexed sequences file and the two raw ... | mcnelsonphd/misc_scripts | Per_Sample_Raw_Reads.sh | Shell | gpl-2.0 | 8,512 |
#!/bin/sh
test_description='git rev-list --pretty=format test'
. ./test-lib.sh
test_tick
test_expect_success 'setup' '
touch foo && git add foo && git-commit -m "added foo" &&
echo changed >foo && git-commit -a -m "changed foo"
'
# usage: test_format name format_string <expected_output
test_format() {
cat >expec... | xlymian/git | t/t6006-rev-list-format.sh | Shell | gpl-2.0 | 3,897 |
rsync -r doc/html/ emk@mccay.dartmouth.edu:public_html/bsp/
(cd ..; rsync -r doc/html/ emk@mccay.dartmouth.edu:public_html/quake2/)
ssh emk@mccay.dartmouth.edu 'cd public_html/bsp/; ./installdox -l Q2DOXYTAGS@../quake2'
| lambda/wxQuake2 | bsptools/upload.sh | Shell | gpl-2.0 | 220 |
#!/bin/sh
KEYFILE=/home/root/privatekey.pem
PUBKEY=/home/root/pubkey.pem
OPENSSL=/usr/bin/openssl
CERGEN=/usr/bin/Certificate_gen
PUBKEYGEN=/usr/bin/Gen_publickey
echo -e "\nGenerating Public Key from ${KEYFILE}"
if [ ! -r $KEYFILE ]
then
echo "Private Key does not exist. Generate certificate before generating a ... | houlixin/BBB-TISDK | example-applications/ti-crypto-examples-git/Gen_public_key/openssl_gen_pubkey.sh | Shell | gpl-2.0 | 407 |
#!/bin/bash
yum install -y gcc gcc-c++ tcl perl readline-devel pcre-devel openssl-devel
groupadd nginx
useradd -g nginx nignx
wget http://openresty.org/download/ngx_openresty-1.5.11.1.tar.gz
tar xzf ngx_openresty-1.5.11.1.tar.gz
cd ngx_openresty-1.5.11.1
./configure --prefix=/opt/openresty-1.5.11.1 --with-luajit --wit... | JianfuLi/shell_scripts | centos_openresty_install.sh | Shell | gpl-2.0 | 581 |
#!/bin/sh
old_tty_settings=$(stty -g)
stty -icanon
trap 'stty "$old_tty_settings"; exit 0' INT
echo "Press (CTRL-C) to interrupt..."
while true; do
nc -u localhost 6789
done
| acerion/cwdaemon | examples/example.sh | Shell | gpl-2.0 | 180 |
#!/bin/sh
set -o errexit
pmount /dev/sdb1
cp uboot_update_tool/iptvubootupdate.bin /media/sdb1
pumount /dev/sdb1
| dlintw/twpda-uboot | to_usb.sh | Shell | gpl-2.0 | 113 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.