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 |
|---|---|---|---|---|---|
#!/bin/bash
INSTALL_PATH=$PREFIX make shared_lib
| Phelimb/cbg | .conda/rocksdb/build.sh | Shell | mit | 50 |
#!/bin/bash
docker build -t chamerling/openstack-client . | chamerling/openstack-client-docker | build.sh | Shell | mit | 58 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2885-1
#
# Security announcement date: 2014-03-26 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:52 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libyaml-libyaml-perl:0.38-3+deb7u2
... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2014/DSA-2885-1.sh | Shell | mit | 650 |
#!/bin/bash
apt-get install -y postgresql-client-9.5 postgresql-9.5 postgresql-9.5-postgis-2.2 postgresql-9.5-postgis-2.2-scripts postgresql-server-dev-9.5 postgresql-contrib-9.5
| motobyus/moto | install/postgresql9.5/2.install.sh | Shell | mit | 181 |
export WORKON_HOME="$HOME/.virtualenvs"
export VIRTUALENVWRAPPER_PYTHON='/usr/local/bin/python3'
export PROJECT_HOME="$HOME/code"
source /usr/local/bin/virtualenvwrapper.sh | jacquesd/dotfiles | python/config.zsh | Shell | mit | 172 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | cshireman/HWAYCoreData | Example/Pods/Target Support Files/Pods-HWAYCoreData_Tests/Pods-HWAYCoreData_Tests-frameworks.sh | Shell | mit | 2,620 |
#!/bin/bash
# About
# -----
#
# This script contains some bash wrappers for swift, the command-line
# interface to Rackspace's OpenStack Storage API.
#
# To get started, you'll need to install the python-swiftclient
#
# pip install python-swiftclient
#
# It's also available on github:
# https://github.com/openstac... | bradmontgomery/swift_wrapper | swift_wrapper.sh | Shell | mit | 6,134 |
#!/bin/bash
SIGNAL=~/local-area/Stop4Body/nTuples_v2016-07-12/T2DegStop_300_270_bdt.root
BACKGROUND=~/local-area/Stop4Body/nTuples_v2016-07-12/Background_bdt.root
if [[ -f ${SIGNAL} && -f ${BACKGROUND} ]] ; then
trainMVA --signalFile ${SIGNAL} --backgroundFile ${BACKGROUND}
root runTMVAGui.C
fi
| cbeiraod/SkeletonAnalysis | macros/trainMVA.sh | Shell | mit | 303 |
#!/bin/bash
set -xv
#adam-example# ./do_coadd_batch.sh MACS1115+01 W-J-B 'all exposure ' 'none' OCFI 2>&1 | tee -a OUT-coadd_W-J-B.log2
#adam-example# ./do_coadd_batch.sh ${cluster} ${filter} 'good ' 'none' 'OCFR' 'yes' 'yes' 2>&1 | tee -a OUT-coadd_${cluster}.${filter}.log
### new coaddition script
###
### the astro-... | deapplegate/wtgpipeline | adam_do_coadd_batch.sh | Shell | mit | 37,258 |
#! /usr/bin/env sh
sudo -s
export DEBIAN_FRONTEND=noninteractive
# update packages
apt-get update -y --fix-missing
apt-get -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confold" --force-yes -fuy upgrade
echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" > /etc/apt/source... | albertogg/ruby-nginx | shell-provision.sh | Shell | mit | 359 |
#!/bin/bash
#PBS -N elastic
#PBS -o out
#PBS -q batch
#PBS -j oe
#PBS -l nodes=2:ppn=4
#-----------------------------------------------------------------------
# Usage:
# $ qsub run_vasp.sh
#-----------------------------------------------------------------------
export LANG=en_US
cd $PBS_O_WORKDIR
NPROCS=`wc -l < $P... | ryokbys/nap | nappy/vasp/batch_elastic_constants.sh | Shell | mit | 928 |
#!/usr/bin/env zsh
#
# Author: Denys Dovhan, denysdovhan.com
# https://github.com/spaceship-prompt/spaceship-prompt
# ------------------------------------------------------------------------------
# Colors
# Set color variables for colorful output
# ---------------------------------------------------------------------... | denysdovhan/spaceship-zsh-theme | scripts/install.sh | Shell | mit | 3,867 |
# START tmux completion
# This file is in the public domain
# See: http://www.debian-administration.org/articles/317 for how to write more.
# Usage: Put "source bash_completion_tmux.sh" into your .bashrc
_tmux()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_... | akrehl/dotfiles | assets/tmux-completion.bash | Shell | mit | 2,005 |
if [[ ! -o interactive ]]; then
return
fi
compctl -K _atlas atlas
_atlas() {
local word words completions
read -cA words
word="${words[2]}"
if [ "${#words}" -eq 2 ]; then
completions="$(atlas commands)"
else
completions="$(atlas completions "${word}")"
fi
reply=("${(ps:\n:)completions}")
}... | spartez/atlas | completions/atlas.zsh | Shell | mit | 321 |
#!/bin/bash
source ./config.ini
source /srv/virtualenv/demoapp/bin/activate
| bitmotive/flask-boilerplate | activate.sh | Shell | mit | 77 |
#!/bin/bash
# check if zsh is installed
if [ -f /bin/zsh -o -f /usr/bin/zsh ]; then
# check if oh-my-zsh is installed
if [[ ! -d $HOME/.oh-my-zsh/ ]]; then
ZSH=~/.oh-my-zsh
print_info "downloading oh-my-zsh"
git clone https://github.com/robbyrussell/oh-my-zsh.git $ZSH
export ZSH... | stevenliuyi/dotfiles | install/zsh.sh | Shell | mit | 813 |
#!/bin/bash
#
# Copyright (c) 2015 Ikey Doherty
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, ... | solus-project/toolchain-cruft | master.sh | Shell | mit | 2,924 |
#!/bin/bash
# --------------------------------------------------------------------------
# Start here...
# --------------------------------------------------------------------------
source $HOME/.dotfiles/scripts/brew.sh
source $HOME/.dotfiles/scripts/zsh.sh
source $HOME/.dotfiles/scripts/home.sh
source $HOME/.dotfile... | awead/dotfiles | bootstrap.sh | Shell | mit | 426 |
#!/usr/bin/env bash
function ansible_mac() {
local ANISBLE_VIRTUALENV_SCRIPT_URI="https://raw.githubusercontent.com/shrikeh/ansible-virtualenv/${ANSIBLE_INSTALLER_BRANCH:-develop}/init.sh";
local ANSIBLE_VIRTUALENV_SCRIPT_TMP_DIR="$(mktemp -d -t 'ansible_virtualenv')";
curl -o "${ANSIBLE_VIRTUALENV_SCRIPT_TMP_DI... | shrikeh/ansible-virtualenv | test.sh | Shell | mit | 454 |
#!/bin/bash
mkdir -p ~/timelinelogs
cd /timeline/git
echo "create virtual environment"
virtualenv -p /usr/bin/python3.5 ~/venv
echo "activate virtual environment"
source ~/venv/bin/activate
echo "install requirements using pip"
pip install -r requirements.txt
echo "start timeline example"
python3.5 example.py > ~/... | dumfug/timeline | vagrant/config/shell/start_backend.sh | Shell | mit | 376 |
#!/bin/bash
ssh -f root@162.243.123.65 -L 8080:localhost:8080 -N
ssh -f root@162.243.123.65 -L 28015:localhost:28015 -N
ssh -f root@162.243.123.65 -L 27017:localhost:27017 -N
ssh -f root@162.243.123.65 -L 3306:localhost:3306 -N
ssh -f root@162.243.123.65 -L 9200:localhost:9200 -N
ssh -f root@162.243.123.65 -L 9300:loc... | telemetryapp/osmos | setup.sh | Shell | mit | 334 |
#!/bin/bash
set -euo pipefail
cd `pwd`
stringtie=$HOME/github/stringtie/stringtie
gtf=$1
for file in ./*bam
do
base=$(echo ${file%.*})
stringassem=${base}_stringtie_assembly.gtf
stringabund=${base}_stringtie_gene_abund.txt
ballgowndir=${base}_balldown_tables
$stringtie $file -G $gtf -p 12 -o $s... | sestaton/sesbio | gene_annotation/shell_scripts/stringtie.sh | Shell | mit | 371 |
#!/bin/bash
source $(which virtualenvwrapper.sh)
workon tesis
python -m unittest tests.recommender_test
| alamillac/master_AI_tesis | Code/src/config_scripts/run_tests.sh | Shell | mit | 105 |
#!/bin/bash
# Adapted from Gregory Pakosz's amazing tmux config at https://github.com/gpakosz/.tmux
_root() {
tty=${1:-$(tmux display -p '#{pane_tty}')}
username=$(_username "$tty" false)
if [ x"$username" = x"root" ]; then
tmux show -gqv '@root'
else
echo ""
fi
}
_root
| 58bits/dotfiles | tmux-gpakosz/root.sh | Shell | mit | 292 |
#!/bin/sh
#
# Generate HTML output from test result.
THISDIR=$(dirname $(readlink -f "$0"))
LOGDIR=$THISDIR/logs
HTMLDIR=$THISDIR/html
GREEN="#2ecc71"
GREY="#bdc3c7"
RED="#e74c3c"
TESTING_LOGS="https://raw.githubusercontent.com/tswcos/meta-debian-test-logs/master"
deby_machines="''"
deby_tiny_machines="''"
for d i... | meta-debian/meta-debian | tests/generate_html.sh | Shell | mit | 4,578 |
transcript_list=$1
stemmer=$2
for transcript in $transcript_list; do
python audio_features/cscore.py $transcript $stemmer
done
| amudalab/concept-graphs | keyphrase/cscore.sh | Shell | mit | 130 |
#!/usr/bin/env bash
python run.py --test &
sleep 1
py.test -v -s --driver PhantomJS tests/selenium
exit_code=$?
pkill -9 -f run.py && exit ${exit_code}
| mijdavis2/starter_weppy | tests/selenium/run.sh | Shell | mit | 156 |
#!/bin/bash
function logfun(){
local MEX=$@
echo $MEX
logger -s -i -t "randomly" -p user.info "The number is "${MEX}
}
logfun "Got a new random: "$RANDOM
logfun "Got a new random: "$RANDOM
logfun "Got a new random: "$RANDOM
| riccardotommasini/shell-scripting-course | section-eight/exe2.sh | Shell | mit | 231 |
#!/bin/bash
#This colour
cyan='\e[0;36m'
green='\e[0;32m'
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
blue='\e[1;34m'
resetCollor='\e[m'
fancyEcho()
{
collors=(
'\e[0;36m'
'\e[0;32m'
'\e[1;32m'
'\e[1;31m'
'\e[1;37m'
'\e[1;33m'
'\e[1;34m'
'\e[1;35m'
)
string=$1
for word in $string;
... | Disguisenberg/Metastasis-Framework | lib/decoration.sh | Shell | mit | 2,146 |
#!/usr/bin/env bash
# -e: exit when a command fails
# -o pipefail: set exit status of shell script to last nonzero exit code, if any were nonzero.
set -o pipefail
echo ""
echo "Running Tests in Docker Container"
echo "================================="
docker build -t swiftybeaver .
docker run -e SBPLATFORM_APP_ID=$... | cohena100/Shimi | Carthage/Checkouts/SwiftyBeaver/test_in_docker.sh | Shell | mit | 655 |
xargs rm < install_manifest.txt
| primitivorm/latino-json | desinstalar.sh | Shell | mit | 32 |
#!/bin/bash
# JDK
echo "Installing JDK..."
yum install -y java-1.8.0-openjdk-devel > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Failed to install JDK."
exit 1
fi
# Elasticsearch
echo "Installing Elasticsearch..."
cat > /etc/yum.repos.d/elasticsearch.repo <<EOF
[elasticsearch-1.7]
name=Elasticsearch repository for... | ksoichiro/vagrant-templates | centos71-elasticsearch/provision.sh | Shell | mit | 1,399 |
#!/bin/sh
set -e
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
case "${TARGETED_DEVICE_FAMILY}" in
1,2)
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
;;
1)
... | PlacidoLv/BDLTangram | TangramCategoryDemo/Pods/Target Support Files/Pods-TangramCategoryDemo/Pods-TangramCategoryDemo-resources.sh | Shell | mit | 5,664 |
#!/bin/bash
# Script to query the wiki pages name for Helm completion source
# swivt:wikiPageModificationDate swivt:wikiPageSortKey
# TODO: error handling is bad
#set -x
QUERY=$(cat<<EOF
select *
from <virtual://mediawiki> {
?page a mw:Page ;
mw:pageNamespaceId ?nsid ;
mw:pageTitle ?title ;
mw:pageUr... | jbalint/banshee-sympatico | percy/percy-wiki-pages.sh | Shell | mit | 1,958 |
echo "Starting Lightnet Server"
| mostley/lightnet | startserver.sh | Shell | mit | 33 |
#!/bin/sh -e
prj_make=$( pwd )/.git/prj_make
bin_make=$( which make.sh )
schroot.sh $prj_make $bin_make "$@"
| ghub/bin | vm_make.sh | Shell | mit | 111 |
#!/bin/sh
echo \
'{
"query": "mutation toggleTodo($id: String!) { toggleTodo(id: $id) { completed __typename } }",
"variables": {"id": "2"},
"operationName": "toggleTodo"
}' | http post http://localhost:4000/graphql content-type:application/json
# | jq -Mc
| yatsu/react-tornado-graphql-example | tornado/test_scripts/toggle.sh | Shell | mit | 270 |
#!/usr/bin/env bash
declare -A params=$6 # Create an associative array
declare -A headers=${9} # Create an associative array
declare -A rewrites=${10} # Create an associative array
paramsTXT=""
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
fastcgi_param ${el... | svpernova09/homestead | scripts/site-types/wordpress.sh | Shell | mit | 4,213 |
OUT_DIR=./bin
rm *.o
rm $OUT_DIR/*
| odrevet/generic_data_structures | clean.sh | Shell | mit | 36 |
#!/bin/bash
cd ~/Sites/sgdialer/docs
sphinx-apidoc --full -H "sgdialer" -A "Michael Andrew" -V "1.0" -R "RC1" -o . ../src
make clean
make html | HAZARDU5/sgdialer | docs/generate.sh | Shell | mit | 142 |
#!/usr/bin/env bash
cat << "EOF"
.`
-dMMs
+MMMMMo
.dMMMMMMN-
+NMMMMMMMMd`
`hMMMMMMMMMMMo
-mMMMMMMMMMMMMN.
... | adafruit/Adafruit-Occidentalis | addrepo-pin.sh | Shell | mit | 2,337 |
#!/bin/sh
set -eo pipefail -o nounset
#download HG003 data, convert to fastq
wget -q ftp://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/data/AshkenazimTrio/HG003_NA24149_father/PacBio_MtSinai_NIST/CSHL_bwamem_bam_GRCh37/BWA-MEM_Chr22_HG003_merged_11_12.sort.bam
samtools fastq BWA-MEM_Chr22_HG003_merged_11_12.sort.bam > chr22_pb... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/GRCh37/grch37-hg003-pb-chr22-giab-v1/recipe.sh | Shell | mit | 456 |
VERSION=0.23
OCHAMCRESTVERSION=1.9
DISTFILE=OCMockito-${VERSION}
DISTPATH=build/${DISTFILE}
PROJECTROOT=..
DOCSET=build/Documentation/org.mockito.OCMockito.docset
echo Preparing clean build
rm -rf build
mkdir build
echo Building OCMockito - Release
xcodebuild -configuration Release -target OCMockito
OUT=$?
if [ "${OU... | nschum/OCMockito | Source/MakeDistribution.sh | Shell | mit | 1,789 |
#!/bin/sh
PYTHON=python
IMPL=$1
$PYTHON autotest.py $IMPL
$PYTHON buffertest.py $IMPL
$PYTHON commtest.py $IMPL
$PYTHON guardtest.py $IMPL
$PYTHON iotest.py $IMPL
$PYTHON poisontest.py $IMPL
$PYTHON selecttest.py $IMPL
cd unix
$PYTHON remotetest.py $IMPL
$PYTHON multiprocesstest.py $IMPL
$PYTHON sshprocesstest.py $I... | runefriborg/pycsp | test/runtests.sh | Shell | mit | 360 |
#!/bin/bash
#clear
echo
data=`/bin/date +%Y%m%d`
echo $data
#echo ${data}
cd ~
echo
cd ~/public_html/semad/contaspublicas
echo contaspublicas
git checkout develop && git push && git checkout master && git push && git checkout develop
echo
cd ~/public_html/semad/contratos
echo contratos
git checkout develop && git pu... | rodrixcornell/bin | check_git_push.sh | Shell | mit | 3,134 |
#! /bin/bash
sudo ifconfig en1 mtu 1200
| shindochan/bashenv | scripts/mobilisaon.bash | Shell | mit | 40 |
#!/bin/bash
# Copy this script to $HOME and run it
path=/srv/www/todo
tmp=/srv/www/tmp
echo 'Cloning repo from github...'
git clone git@github.com:dreamerslab/express-todo-example.git $tmp
echo '...done!'
echo ''
echo 'Removing development files...'
sudo rm $tmp/README.md
sudo rm -fr $tmp/doc
echo '.... | tonirilix/test-express-mongoose-todo | doc/deploy/v2.sh | Shell | mit | 766 |
#!/bin/bash
cd ./log_reg/src/
python main.py
cd ../..
| bt3gl/MLNet-Classifying-Complex-Networks | MLNet-2.0/classifiers/run_log_reg.sh | Shell | mit | 58 |
#!/bin/bash
set -e
rm -rf .git
git init
git clean -dfx
git remote add origin https://github.com/emdaer/emdaer.git
git fetch origin
git clone https://github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_REPO_SLUG
git checkout $TRAVIS_BRANCH
git config credential.helper store
echo "https://${RELEASE_GH_USERNAME}:${RELEASE_GH_TOKEN... | emdaer/emdaer | .travis/after_success.sh | Shell | mit | 858 |
/c/Program\ Files/Blender\ Foundation/Blender/blender.exe ./blend_files/radiant_girl10.blend --background --python RenderScript.py # | grep "\*\*" | jkersey/BlenderSpriter | render.sh | Shell | mit | 146 |
#!/bin/bash
##########################################################
ProgressBar1() {
local loca=$1; local loca2=$2;
declare -a bgcolors; declare -a fgcolors;
for i in {40..46} {100..106}; do
bgcolors+=("$i")
done
for i in {30..36} {90..96}; do
... | newlight77/ubuntu | scripts/util/progressbar.sh | Shell | mit | 2,834 |
#! /bin/zsh
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
#
# In addition, I recommend the
# [... | cunningham/dotfiles | archive/zsh/prompt.zsh | Shell | mit | 6,209 |
e_header "Fixing synced folder permissions and linking to ~/sync..."
sudo usermod -aG vboxsf $USER
sudo ln -s /media/sf_sync ~/sync
| ProtractorNinja/dotfiles-legacy | init/40_virtualbox.sh | Shell | mit | 132 |
#! /usr/bin/env sh
if [ -z $@ ]
then
sqlite3 $HOME/.local/share/qutebrowser/history.sqlite "select url from history where url like '%duden.de%';" | uniq
else
selection="$@"
if [ -n "$selection" ]
then
if [[ $selection == https* ]]
then
# An entry from the history is selected
qutebrowser --... | BennyLi/dotfiles | rofi/modi/search-duden.sh | Shell | mit | 462 |
#!/usr/bin/env bash
# This script sets up an openaps environment by defining the required devices,
# reports, and aliases, and optionally enabling it in cron,
# plus editing other user-entered configuration settings.
# Released under MIT license. See the accompanying LICENSE.txt file for
# full terms and conditions
#
... | PieterGit/oref0 | bin/oref0-setup.sh | Shell | mit | 66,039 |
forever -w . node jingo -c ~/work/wikis/config.yaml | OliveAwesomesauz/role-playing-wiki | run.sh | Shell | mit | 52 |
#!/bin/sh
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
bundle exec fastlane test
exit $?
fi
| raumfeld/RFFeatureToggle | fastlane/travis.sh | Shell | mit | 101 |
# Symlinked to ~/.dotfiles/config/zsh/modules/diff.zsh
dif() {
if command -v delta >/dev/null; then
diff --unified --recursive --exclude=.terraform --exclude=.git "$@" | delta
else
diff --unified --recursive --exclude=.terraform --exclude=.git --color "$@"
fi
}
# Directory files differences only
ddif() {... | hectorhuertas/.dotfiles | config/diff/diff.zsh | Shell | mit | 428 |
#!/bin/bash
# Script Name: AtoMiC Sick Beard Uninstaller
# Author: htpcBeginner
# Publisher: http://www.htpcBeginner.com
# License: MIT License (refer to README.md for more details)
#
# DO NOT EDIT ANYTHING UNLESS YOU KNOW WHAT YOU ARE DOING.
YELLOW='\e[93m'
RED='\e[91m'
ENDCOLOR='\033[0m'
CYAN='\e[96m'
GREEN='\e[92m'... | carrigan98/AtoMiC-ToolKit | sickbeard-uninstaller.sh | Shell | mit | 4,048 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-UMengAnalyticsSwift_Tests/$1"
... | labxo/UMengAnalyticsSwift | Example/Pods/Target Support Files/Pods-UMengAnalyticsSwift_Tests/Pods-UMengAnalyticsSwift_Tests-frameworks.sh | Shell | mit | 2,385 |
#!/bin/sh
for i in state ireg iare iloc gccsa sa4 sa3 sa2 sa1 tr add ced sed nrmr ssc poa lga
do
mkdir -p $i
case $i in
state)
desc="State\/Territory"
;;
ireg)
desc="Indigenous Regions"
;;
iare)
desc="Indigenous Areas"
;;
iloc)
desc="Indigenous Locations"
... | andrewharvey/asgs-stylesheets | bootstrap-carto-from-template.sh | Shell | cc0-1.0 | 1,216 |
#!/bin/bash
#
# Test the refresh code
#
source $REG_DIR/scaffold
cmd setup_repo
function fixup_time_info
{
touch -d "$GIT_COMMITTER_DATE" ".git/patches/master/$1"
}
echo abcdef >> def
shouldfail guilt-refresh
cmd list_files
cmd git-reset --hard HEAD
cmd guilt-push modify
echo abcdef >> def
cmd guilt-refresh
cm... | vitaly/guilt | regression/t-027.sh | Shell | gpl-2.0 | 510 |
#!/bin/bash
BACKUPLOCATION=/home/db-back
MUSER="root"
MPASS="pass"
MHOST="localhost"
mkdir -p $BACKUPLOCATION
innobackupex --defaults-file=/etc/my.cnf --throttle=10 --user=$MUSER --password=$MPASS --compress --parallel=4 $BACKUPLOCATION > /tmp/backupdb_log 2>&1
#older then 3 day
for DEL in `find $BACKUPLOCATION -mind... | das-ich/my_scripts | scripts/backup_mysql.sh | Shell | gpl-2.0 | 559 |
#!/bin/sh
DIR_PROTECT="arch/arm/cpu/armv7/sc8810 arch/arm/cpu/arm926ejs/sc8800g arch/arm/cpu/arm926ejs/sc8800x property nand_fdl nand_spl"
PRODUCTS="sc8810_openphone sp8810 sp8805ga sp6810a openphone native_openphone 788"
argu=$1
if [ -z $argu ]; then
argu="clean"
elif [ $argu != "clean" ] && [ $argu != "restore" ]; ... | abgoyal/zen_u105_uboot | make_idh.sh | Shell | gpl-2.0 | 712 |
#!/bin/bash
### Variables in the data table are already mean centered
cd /data/sanDiego/rsfcGraphAnalysis/data//Group.results
3dMVM \
-prefix restingstate.Attempter.and.Non-attempter.L_BLA.weight.3mm.3dmvm.bucket.20150825-1449PDT -mask mask.grey.Attempter.and.Non-attempter.union.masked+tlrc.HEAD \
-jobs 8... | colmconn/rsfcGraphAnalysis | 07-3dmvm.withCovariates.Attempter.and.Non-attempter.L_BLA.weight.3mm.sh | Shell | gpl-2.0 | 672 |
#! /bin/bash
nohup ./webrun.py > ~/server.err 2>&1 &
| jusjusjus/Motiftoolbox | Fitzhugh_3-cell/webrun.sh | Shell | gpl-2.0 | 54 |
#!/bin/bash
source experiment/run-library.sh
manifest="${PARAM_manifest:-conf/contperf/manifest.zip}"
inventory="${PARAM_inventory:-conf/contperf/inventory.ini}"
private_key="${PARAM_private_key:-conf/contperf/id_rsa_perf}"
registrations_per_docker_hosts=${PARAM_registrations_per_docker_hosts:-5}
registrations_itera... | redhat-performance/satellite-performance | experiment/full.sh | Shell | gpl-2.0 | 17,535 |
#!/bin/bash
source $(dirname $0)/test.inc.sh
po2flatxml --progress=none $one $out
check_results
| unho/translate | tests/cli/test_po2flatxml.sh | Shell | gpl-2.0 | 98 |
#!/bin/bash
# Copyright 2016 Johns Hopkins University (Author: Daniel Povey);
# 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
#
# THIS COD... | michellemorales/OpenMM | kaldi/egs/wsj/s5/utils/lang/make_unk_lm.sh | Shell | gpl-2.0 | 14,629 |
#!/bin/sh
timestamp=$(date "+%s")
mkdir apis.avatardata.txt
#阿凡达笑话趣图类型
for ((id=1;id<=700;++id))
do
echo "id --> $id"
curl "http://api.avatardata.cn/Joke/QueryJokeByTime?key=e03a050da0cd40ddb51fc715ebb94e31&page=$id&rows=50&sort=desc&time=$timestamp" > apis.avatardata.txt/joke-txt-content$id.txt
done
sh joke-tas... | maybeisu/Joke_Project | avatardata-txt.sh | Shell | gpl-2.0 | 390 |
#!/bin/sh
export DRACUT_SYSTEMD
export NEWROOT
if [ -n "$NEWROOT" ]; then
[ -d $NEWROOT ] || mkdir -p -m 0755 $NEWROOT
fi
[ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
[ -d /run/lock ] || mkdir -p -m 0755 /run/lock
[ -d /run/log ] || mkdir -p -m 0755 /run/log
debug_off() {
set +x
}
debug_on() {
... | aidecoe/dracut | modules.d/99base/dracut-lib.sh | Shell | gpl-2.0 | 32,547 |
#!/usr/bin/env bash
set -ueo pipefail
FORCE_INKSCAPE="$(echo "${FORCE_INKSCAPE-False}" | tr '[:upper:]' '[:lower:]')"
if [[ "${FORCE_INKSCAPE}" == "true" ]]; then
RENDER_SVG=""
else
RENDER_SVG="$(command -v rendersvg)" || true
fi
INKSCAPE="$(command -v inkscape)" || true
OPTIPNG="$(command -v optipng)" || true
if... | nana-4/materia-theme | src/gtk-2.0/render-asset.sh | Shell | gpl-2.0 | 1,552 |
#!/bin/sh
sed -n 's/eth0://gp' /proc/net/dev | awk '{ print $1"\n"$9}'
| dmarion/ifgraph | contrib/interface_bytes/interface_bytes.sh | Shell | gpl-2.0 | 71 |
pdflatex srnaseq-methods.tex && bibtex srnaseq-methods && pdflatex srnaseq-methods.tex && pdflatex srnaseq-methods.tex
| lpantano/eggs | methods/compile.sh | Shell | gpl-2.0 | 119 |
#!/bin/sh
#
# Copyright 2005-2009 Intel Corporation. All Rights Reserved.
#
# This file is part of Threading Building Blocks.
#
# Threading Building Blocks is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# version 2 as published by the Free Softwar... | natedahl32/portalclassic | dep/tbb/build/version_info_macos.sh | Shell | gpl-2.0 | 2,015 |
#!/bin/bash
SELF=`dirname ${BASH_SOURCE}`
. ${SELF}/../common.sh
CURRENT_OUTPUTS[0]="output/evidence/annotated.gd"
EXPECTED_OUTPUTS[0]="expected.gd"
TESTCMD=" \
${BRESEQ} \
-b 0 \
-o ${SELF} \
-r ${DATADIR}/REL606/REL606.fragment.gbk \
-s ${DATADIR}/REL606/REL606.is.gbk \
${DATADIR}/... | tectronics/breseq | tests/REL606_fragment_is_junction_only/testcmd.sh | Shell | gpl-2.0 | 377 |
#!/bin/sh
if [ "$1" == "" ]; then
echo center-image.sh: need input filename and output filename
exit 1
fi
if [ "$2" == "" ]; then
echo center-image.sh: need output filename
exit 1
fi
if [ ! -r $1 ]; then
echo center-image.sh: no such input image $1
exit 1
fi
convert $1 -gravity center -extent 60... | oracc/oracc | misc/xpd2/center-image.sh | Shell | gpl-2.0 | 351 |
#! /usr/bin/env bash
$XGETTEXT kabcresource.cpp -o $podir/akonadi_kabc_resource.pot
$XGETTEXT kresourceassistant.cpp -o $podir/akonadi_kresourceassistant.pot
| kolab-groupware/kdepim-runtime | resources/kabc/Messages.sh | Shell | gpl-2.0 | 158 |
#!/bin/bash
# This is not necessarily the top-level run.sh as it is in other directories. see README.txt first.
tri5_only=false
sgmm5_only=false
denlats_only=false
data_only=false
morfessor=true
tag_percentage=0.1
[ ! -f ./lang.conf ] && echo 'Language configuration does not exist! Use the configurations in conf/la... | michellemorales/OpenMM | kaldi/egs/babel/s5d/run-1-main-unicode.sh | Shell | gpl-2.0 | 14,990 |
#!/bin/sh
led_path=none
for leds in /sys/class/leds/*; do
# LED A on NGW100 or LED B1 on STK1000
if [ "${leds}" = "/sys/class/leds/a" -o "${leds}" = "/sys/class/leds/b1:blue" ]; then
led_path=${leds}
led_brightness=`cat ${led_path}/brightness`
led_trigger=`cat ${led_path}/trigger | cut -d ' ' -f1`
break
fi... | egtvedt/Buildroot-for-AVR32 | package/avr32-web-start/files/cgi-bin/gpio-trigger.sh | Shell | gpl-2.0 | 565 |
convert images/OCS-438-A.png -crop 1556x877+0+0 +repage images/OCS-438-A-0.png
convert -append images/OCS-437-B-8.png images/OCS-438-A-0.png images/OCS-437-B-8.png
rm images/OCS-438-A-0.png
convert images/OCS-438-A.png -crop 1556x303+0+882 +repage images/OCS-438-A-1.png
convert images/OCS-438-A.png -crop 1556x311+0+120... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-438.sh | Shell | gpl-2.0 | 1,890 |
#!/bin/sh
#
# apache-install-configure-ssl-v01.sh (2 August 2013)
# GeekPeek.Net scripts - Install and configure Apache Virtual Hosts and SSL
#
# INFO: This script was created and tested on fresh CentOS 6.4 minimal installation. This script enables you
# to install and configure Apache, Apache Virtual Hosts (HTTP, HT... | kernt/inshelp | geekpeek/english/apache-install-configure-ssl-v01.sh | Shell | gpl-2.0 | 12,015 |
#!/bin/bash
set -e
bold() {
printf "\033[1m%s\033[0m\n" "$*"
}
dim() {
printf "\033[2m%s\033[0m\n" "$*"
}
delete_gcda_files() {
bold "Deleting .gcda files . . .";
printf "\033[2m";
find . -name '*.gcda' -delete -print | sed -e 's:./::'
printf "\033[0m";
}
if [ -x "$(command -v ccache)" ]; then
b... | james-d-mitchell/semigroupsplusplus | etc/test-code-coverage.sh | Shell | gpl-3.0 | 2,751 |
export PYTHON=/usr/bin/python2
| gjbex/atools | conf/local_python.sh | Shell | gpl-3.0 | 31 |
#!/bin/bash
ulimit -s unlimited
# module load
#module load intel/14.0.1
#module load gcc/5.2.0
#module load openmpi/1.4.4-intel-v12.1
#module load intel-mkl/11.0/1/64
#module load intel/13.0/64/13.0.1.117
#module load openmpi/intel-13.0/1.6.3/64
system='slurm'
# Submit directory
if [ $system == 'slurm' ]; then
... | yanhuay/seisDD | seisDD/system/test/test_job.sh | Shell | gpl-3.0 | 1,827 |
#!/bin/bash
IFACE=eth0
./comcast --device eth0 --stop
| szaqal/KitchenSink | Java/Redisson/fix_network.sh | Shell | gpl-3.0 | 55 |
jupyter nbconvert debugging.ipynb --to slides --post serve
| pydataberlin/conf2017slides | debugging_tutorial/slides/build.sh | Shell | gpl-3.0 | 59 |
#! /bin/sh
# Copyright (C) 2017 Karl Otness
#
# This file is part of kpwgen.
#
# kpwgen 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 version 3 of the License, or
# (at your option) any later version.... | karlotness/PwGen | dict/filter-words.sh | Shell | gpl-3.0 | 759 |
#!/bin/bash
echo sh experiment_uniform_inc.sh 5 40000 3 24 5 15 5
sh experiment_uniform_inc.sh 5 40000 3 24 5 15 5
echo sh experiment_uniform_dec.sh 5 40000 3 24 15 0 5
sh experiment_uniform_dec.sh 5 40000 3 24 15 0 5
echo --------------sh experiment_uniform_inc-dec.sh 5 40000 3 24 15 5--------------
sh experiment_un... | paper2017/SF-sketch | bench_sketch/four_experiment.sh | Shell | gpl-3.0 | 692 |
Mobile Router 2 – with NAS_MPLS_PMIP working
MR2_NAS.SH
source params.sh
sysctl -w net.ipv6.conf.all.forwarding=1
$OPENAIR3_SCRIPTS_PATH/mr2_del_mpls.sh
$OPENAIR3_SCRIPTS_PATH/mr2_conf_nas.sh
#$OPENAIR3_SCRIPTS_PATH/mr2_mpls_nas.sh
#MN1MN2
$OPENAIR3_SCRIPTS_PATH/mr2_mpls_nas.sh $MR2_CH1_LABEL_IN $CH2_IN_ADDR ... | mspublic/openair4G-mirror | openair3/EXAMPLES/CHORIST092008/TEMP/MR2_092008.sh | Shell | gpl-3.0 | 3,093 |
#!/bin/bash
if [ -z "$1" ]
then
echo "Please give us APIKEY in argument"
exit 1
fi
DEBFILE=`ls build/distributions/*.deb`
APIKEY=$1
VERSION=`cat gradle.properties | grep "version" | cut -d "=" -f2`
echo "Upload du fichier $DEBFILE ..."
curl -T "$DEBFILE" -u "firm1:$APIKEY" "https://api.bintray.com/content... | WinXaito/zest-writer | scripts/upload_deb.sh | Shell | gpl-3.0 | 433 |
#
# Load config.
#
source ./config.defaults.sh
if [ -f "./config.sh" ]; then
source ./config.sh
else
echo "You have no config.sh. Copy config.defaults.sh to config.sh, change the passwords and try again." && exit 1;
fi
[ "$(docker ps | grep phpmyadmin)" ] && docker stop phpmyadmin
[ "$(docker ps -a | grep phpmya... | Tangerine-Community/Tangerine | phpmyadmin-start.sh | Shell | gpl-3.0 | 444 |
#!/bin/bash
FILES=$(find . -type f -name '*.md')
for file in $FILES
do
filename="${file%.*}"
pandoc $file -f markdown -t html5 -c assets/css/github.css -s -o $filename.html
done
| jslim89/joomla-template-101-book | compile.sh | Shell | gpl-3.0 | 187 |
#!/bin/bash
JSON_HISTORY=120
JSON_UPDATE=/tmp/ps4-wake-$(date '+%s').json
JSON_LOG=/tmp/ps4-wake.log
rm -f /tmp/ps4-wake-*.json
ps4-wake -vP -H ps4.lan -j 2>/dev/null > $JSON_UPDATE
[ $? -ne 0 ] && exit $?
HASH_NEW=$(cat $JSON_UPDATE | sed -e 's/^.*"fingerprint":"\([0-9a-f]*\)".*$/\1/')
if [ -f $JSON_LOG ]; then
... | dsokoloski/ps4-wake | cron/ps4-wake.sh | Shell | gpl-3.0 | 707 |
#!/bin/bash
python RunBootstrap.py --paralog1 YDR418W --paralog2 YEL054C --bootnum 80 > YDR418W_YEL054C_Boot80_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YDR418W_YEL054C_Boot80.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
sbatch -o Sim-%j.out --mail-type=FAIL --mail-user=xji3@ncsu.edu ./ShFiles/MG94_YNL301C_YOL120C_sim1.sh
sbatch -o Sim-%j.out --mail-type=FAIL --mail-user=xji3@ncsu.edu ./ShFiles/MG94_YNL301C_YOL120C_sim2.sh
sbatch -o Sim-%j.out --mail-type=FAIL --mail-user=xji3@ncsu.edu ./ShFiles/MG94_YNL301C_YOL120C_sim3.sh... | xjw1001001/IGCexpansion | Simulation/Run_Sim_YNL301C_YOL120C.sh | Shell | gpl-3.0 | 10,404 |
#!/bin/bash -x
yarn start > server.log 2>&1 &
PID=$!
MSG='admin app is running under process '
MSG+=$PID
echo $MSG
cd test
rake features OPTS='-t @add_multiple_pupils,@add_multiple_pupil_validation,@breadcrumbs,@create_check_window,@edit_check_window,@edit_pupil'
CUCUMBER_EXIT_CODE=$?
kill -9 $PID
echo "**********... | DFEAGILEDEVOPS/MTC | admin/test.sh | Shell | gpl-3.0 | 409 |
#!/usr/bin/env bash
source set-glibc-version.sh
docker cp glibc-builder:/glibc-bin-$GLIBC_VERSION.tar.gz ./
| MihaiBogdanEugen/glibc-builder | get-lib.sh | Shell | gpl-3.0 | 110 |
uci set wireless.@wifi-device[0].disabled=0
uci set wireless.@wifi-iface[0].mode=ap
uci set wireless.@wifi-iface[0].ssid='Rpi3AP-PSK2'
uci set wireless.@wifi-iface[0].network=lan
uci set wireless.@wifi-iface[0].encryption=psk2
uci set wireless.@wifi-iface[0].key=1234567890
uci commit wireless
/etc/init.d/network reload... | Mirafratechnologies/Automation | Mirafra_automation_framework/WLAN_APpsk2/ap_start_psk2.sh | Shell | gpl-3.0 | 429 |
#!/usr/bin/env bash
free | awk '{
if ($1 ~ "^Mem:"){
printf("mem.total=%d\nmem.used=%d\n",$2,$3)
}
if ($1 ~ "^Swap:"){
printf("swap.total=%d\nswap.used=%d\n",$2,$3)
}
}'
uptime | awk '{ for(i=1;i<=NF;i++){ if($i=="average:"){tmp = $(i+1); v = substr(tmp, 0, length(tmp)-1); printf("load.average=%s\... | agliznetsov/sputnik | sputnik-server/dist/config/scripts/system.sh | Shell | gpl-3.0 | 332 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.