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
set -o errexit
set -o nounset
set -o pipefail
source /usr/local/bin/openshift-dind-lib.sh
source /data/dind-env
function is-northd-running() {
local northd_ip=$1
ovn-nbctl --timeout=2 "--db=tcp:${northd_ip}:6641" ls-list
}
function have-token() {
local master_dir=$1
[[ -s "${master_dir}/ovn.to... | miminar/origin | images/dind/node/ovn-kubernetes-node.sh | Shell | apache-2.0 | 1,913 |
#!/bin/bash
set -ex
echo "Tagging release branch"
TAG=$NEW_VERSION
echo "RELEASE_TAG=$TAG" >> $GITHUB_ENV
git tag $TAG
git push origin --tags
echo "Setting Release Notes"
cat CHANGELOG.md | awk '/^#/{f=1} f; /^#/ && ++c==3{exit}' | sed '$ d' > RELEASE_NOTES.md
| pinterest/PINCache | Scripts/tag-release-branch.sh | Shell | apache-2.0 | 264 |
#!/bin/bash
#
# Copyright (c) 2012-2019 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API... | akervern/che | dockerfiles/dev/entrypoint.sh | Shell | epl-1.0 | 1,107 |
#!/bin/sh
#
# Copyright (C) 2005 Rene Scharfe
#
test_description='git archive and git get-tar-commit-id test
This test covers the topics of file contents, commit date handling and
commit id embedding:
The contents of the repository is compared to the extracted tar
archive. The repository contains simple text fi... | abg1979/git | t/t5000-tar-tree.sh | Shell | gpl-2.0 | 12,696 |
#!/bin/sh -xe
[ "$#" -lt 2 ] && echo "Usage: sign_app.sh <app> <identity> <team_identifier>" && exit
src_app="$1"
identity="$2"
team_identifier="$3"
codesign -s "$identity" --force --preserve-metadata=entitlements --verbose=4 --deep "$src_app"
# Verify the signature
spctl -a -t exec -vv $src_app
codesign -dv $src_a... | cketti/client | admin/osx/sign_app.sh | Shell | gpl-2.0 | 538 |
#!/bin/bash
lib=$(dirname $0)/lib
$lib/ucalls.py -l python "$@"
| romain-intel/bcc | tools/pythoncalls.sh | Shell | apache-2.0 | 64 |
#!/bin/bash
ant clean
ant
ant
| phalax4/CarnotKE | jyhton/build.sh | Shell | apache-2.0 | 30 |
#!/bin/bash
# Initial housekeepting
export DEBIAN_FRONTEND=noninteractive
# Add the PPA repository for LXD/LXC stable
if [[ ! -e /etc/apt/sources.list.d/ubuntu-lxc-lxd-stable-trusty.list ]]; then
sudo add-apt-repository -y ppa:ubuntu-lxc/lxd-stable
fi
# Update package list
sudo apt-get update
# Install LXC/LXD ... | devendermishrajio/learning-tools | lxd/setup.sh | Shell | mit | 413 |
#!/bin/sh
exec /usr/bin/g++ "$@"
| justinmuller/buck | test/com/facebook/buck/cxx/testdata/step_test/cxx.sh | Shell | apache-2.0 | 33 |
#!/bin/bash -e
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script to install everything needed to build chromium on android, including
# items requiring sudo privileges.
# See http://code.google... | hujiajie/chromium-crosswalk | build/install-build-deps-android.sh | Shell | bsd-3-clause | 3,109 |
#!/bin/sh
# script to determine git hash of current source tree
# try to use whatever git tells us if there is a .git folder
if [ -d .git -a -r .git ]
then
hash=$(git log 2>/dev/null | head -n1 2>/dev/null | sed "s/.* //" 2>/dev/null)
fi
if [ x"$hash" != x ]
then
echo $hash
else
echo "UNKNOWN"
fi
exit 0
| gawen947/wsn-tools | hash.sh | Shell | gpl-3.0 | 309 |
echo \[omod-if-array.sh\]: test omod-if-array via udp
$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
./nettester -tomod-if-array -iudp -p4711
if [ "$?" -ne "0" ]; then
exit 1
fi
echo test omod-if-array via tcp
./nettester -tomod-if-array -itcp
if [ "$?" -ne "0" ]; then
exit 1
fi
| fastly/rsyslog | tests/omod-if-array.sh | Shell | gpl-3.0 | 306 |
#!/bin/bash
function printEnv()
{
if [ $# -ne 1 ]; then
echo "[!] Invalid invocation; need a parameter"
return 1;
fi
eval VALUE=\$$1
printf "%-30s: " $1
if test x"$VALUE" == x; then
echo "default"
else
echo $VALUE;
fi
}
printEnv XRDTEST_MAINSERVERURL
printEnv XRDTEST_DISKSERVERURL
print... | alja/xrootd | tests/XrdClTests/printenv.sh | Shell | gpl-3.0 | 430 |
#!/bin/bash
# \author Hans J. Johnson
#
# Script to process a directory to replace
# outdated macro names with their modern
# conformant names
function ReplaceCXXString()
{
oldstring="$1"
newstring="$2"
# NOTE: Skip processing this file
# NOTE: Skip processing the Migration directory in ITK
git grep -l "${oldstring}"... | hjmjohnson/ITK | Utilities/ITKv5Preparation/ReplaceITK_NULLPTRMacroNames.sh | Shell | apache-2.0 | 1,007 |
# Put node-build on PATH
export PATH=<%= scope.lookupvar("::nodejs::build::prefix") %>/bin:$PATH
# Configure NODENV_ROOT and put NODENV_ROOT/bin on PATH
export NODENV_ROOT=<%= scope.lookupvar("::nodejs::nodenv::prefix") %>
export PATH=$NODENV_ROOT/bin:$PATH
# Load nodenv
eval "$(nodenv init -)"
# Helper for shell pr... | hirocaster/puppet-nodejs | templates/nodejs.sh | Shell | mit | 390 |
#!/bin/sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_vpnc_init_config() {
proto_config_add_string "server"
proto_config_add_string "username"
proto_config_add_string "hexpasswd"
proto_config_add_string "authgroup"
proto_config_add_string "password"
proto_config_add_string "token_mode"
proto_... | kuoruan/lede-packages | net/vpnc/files/vpnc.sh | Shell | gpl-2.0 | 4,244 |
#!/bin/bash
set -e
declare -a arr=("./consensus" "./core" "./events" "./examples" "./membersrvc" "./peer" "./protos")
for i in "${arr[@]}"
do
OUTPUT="$(goimports -l $i)"
if [[ $OUTPUT ]]; then
echo "The following files contain goimports errors"
echo $OUTPUT
echo "The goimports command must be run for these f... | andresgaragiola/fabric | scripts/goimports.sh | Shell | apache-2.0 | 344 |
#!/bin/bash
mkdir -p $PREFIX/bin
mkdir -p $PREFIX/include
mkdir -p $PREFIX/lib
mkdir -p $PREFIX/share/man/man1/
mv bin/* $PREFIX/bin/
mv include/wkhtmltox/ $PREFIX/include/
mv lib/* $PREFIX/lib/
mv share/man/man1/* $PREFIX/share/man/man1/
| dmaticzka/bioconda-recipes | recipes/wkhtmltopdf/build.sh | Shell | mit | 242 |
#!/bin/bash
DIR=$(cd $(dirname "$0"); pwd)
BIN=$DIR"/../../bin"
ETC=$DIR"/../../etc/test_stack2"
echo "Stopping reactionner"
kill `cat $DIR/../../var/reactionnerd-2.pid`
| rledisez/shinken | test/bin/test_stack2/stop_reactionner2.sh | Shell | agpl-3.0 | 172 |
#!/bin/sh
#
# arch/arm26/boot/install.sh
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
#
# Copyright (C) 1995 by Linus Torvalds
#
# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin... | foxsat-hdr/linux-kernel | arch/arm26/boot/install.sh | Shell | gpl-2.0 | 1,386 |
#!/bin/bash
#
# Copyright 2007 IBM
#
# 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 version 2 of the License, or (at your option)
# any later version.
#
# test_filecaps.sh - Run the file... | sunyuan3/ltp | testscripts/test_filecaps.sh | Shell | gpl-2.0 | 1,226 |
#!/bin/bash
STARTTIME=$(date +%s)
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
os::build::setup_env
EXAMPLES=examples
OUTPUT_PARENT=${OUTPUT_ROOT:-$OS_ROOT}
pushd vendor/github.com/jteeuwen/go-bindata > /dev/null
go install ./...
popd > /dev/null
os::util::ensure::gopath_binary_exists 'go-bindata'
pushd "${OS... | tmckayus/oshinko-cli | vendor/github.com/openshift/origin/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/hack/update-generated-bindata.sh | Shell | apache-2.0 | 1,844 |
#!/bin/sh
cd ..
. ./setEnv.sh
RUN_CMD="$JAVA_HOME/bin/java $MEM_ARGS -cp $CLASSPATH twitter4j.examples.tweets.GetRetweets"
echo $RUN_CMD ${1+"$@"}
exec $RUN_CMD ${1+"$@"} | jonathanmcelroy/DataCommunicationsProgram456 | twitter4j/bin/tweets/getRetweets.sh | Shell | gpl-2.0 | 171 |
#! /bin/bash
# Update git submodules
git submodule init
git submodule update
# Set up the android environment
source tools/android/setup.sh
function run_tests() {
./run-tests.sh \
-b Remote \
--remote-executor http://localhost:9515 \
--remote-caps="chromeOptions=androidPackage=$CHROME_APP" \
--load... | xasos/Cordova-Polymer-Seed | www/bower_components/web-animations-js/run-tests-android.sh | Shell | mit | 579 |
#!/bin/bash
cd /vagrant
composer.phar install
if [ -f database.sql.gz ]; then
zcat database.sql.gz | mysql -uroot -pvagrant readingcorner
else
app/console doctrine:schema:create
app/console doctrine:fixtures:load -n
fi
YEAR=`date +'%Y'`
MOD=$(( $YEAR % 2 ))
if [ $MOD -eq 0 ]; then
let YEAR=$YEAR-1
f... | ReadingCorner/ReadingCorner | shell_provisioner/module/readingcorner.sh | Shell | isc | 366 |
#!/bin/sh
# arangodb connection string shell variables default used if not set
# server-name ar-server
# username ARUSR default aruser
# user passwd ARPWD postgres password if stop user password not in ~/.arpass file
# database name ARDBN default testdb
# database passwd ARPASSWORD default 'pleasechang... | guidoeco/docker | arangodb/dropuser.sh | Shell | mit | 1,064 |
#!/bin/bash
#
# simple build all and test testclient against inmemory ES script
set -eu
set -o pipefail
cargo test --quiet --all
cd testclient
bash ./test_with_inmemory_es.bash
| koivunej/eventstore-tcp | smoke_test.bash | Shell | mit | 180 |
#!/bin/bash
if [ -z "$4" ]
then
echo "No folder supplied!"
echo "Usage: bash `basename "$0"` imagenet_folder imagenet_annotations_folder alov_videos_folder alov_annotations_folder"
exit
fi
GPU_ID=0
FOLDER=GOTURN1
RANDOM_SEED=800
echo FOLDER: $FOLDER
VIDEOS_FOLDER_IMAGENET=$1
ANNOTATIONS_FOLDER_IMAGENE... | shuochen99/goturn | scripts/train.sh | Shell | mit | 1,376 |
export VOLTA_HOME="$HOME/.volta"
[ -s "$VOLTA_HOME/load.sh" ] && . "$VOLTA_HOME/load.sh"
export PATH="$VOLTA_HOME/bin:$PATH"
| sivakumar-kailasam/dotfiles | node/path.zsh | Shell | mit | 126 |
#!/bin/bash
exec /usr/sbin/squid3 -N -d 0 -f /etc/squid/squid.conf
| CosmicQ/docker-squid | start_squid.sh | Shell | mit | 68 |
#! /bin/bash
echo "This is a placeholder script"
| MarkEWaite/JENKINS-22457-included-region-ignored | build/build-repo.sh | Shell | mit | 50 |
#!/bin/bash
echo '<html>
<head>
<title>pouzivatelia</title>
</head>
<body>
<table border="1">
<tr>
<td><h2>login</h2></td><td><h2>passwd</h2></td><td><h2>uid</h2></td><td><h2>gid</h2></td><td><h2>meno</h2></td><td><h2>home</h2></td><td><h2>shell</h2></td>
</tr>'
USERS=$(cat /etc/passwd)
IFS=$'\n'
for r in ${USERS}
do
... | spacive/frihttp | www/bash/users.bash | Shell | mit | 449 |
if [ "$(uname -s)" = "Linux" ]; then
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
fi
| jescholl/dotfiles | linux/aliases.zsh | Shell | mit | 126 |
#!/bin/sh
echo "Fail, stdout"
echo "Fail, stderr" 1>&2
exit 1
| github/octocatalog-diff | spec/octocatalog-diff/fixtures/repos/bootstrap/config/broken-bootstrap.sh | Shell | mit | 63 |
#!/bin/bash -e
export COMPONENT="db"
export API_IMAGE="$PRIVATE_IMAGE_REGISTRY/api:$RELEASE"
export LOGS_FILE="$RUNTIME_DIR/logs/$COMPONENT.log"
## Write logs of this script to component specific file
exec &> >(tee -a "$LOGS_FILE")
__validate_api_envs() {
__process_msg "Initializing api environment variables"
__... | stephanielingwood/admiral | common/scripts/docker/startFakeAPI.sh | Shell | mit | 3,445 |
#!/bin/sh
# Compile example.ui for PyQt.
pyuic5 --from-imports example.ui > example_pyqt5_ui.py
| mstuttgart/qdarkgray-stylesheet | example/ui/compile_ui.sh | Shell | mit | 97 |
# Copyright (c) 2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question
LINKCEIL="1gbit"
#limit outbound I... | aspaas/ion | contrib/qos/tc.sh | Shell | mit | 2,565 |
#!/bin/sh
# This script cross-compiles binaries for various platforms
# Download our release binary builder
go get -u github.com/mitchellh/gox
# Specify platforms and release version
PLATFORMS="linux/amd64 linux/386 darwin/386 windows/amd64 windows/386"
RELEASE=$(git describe --tags)
echo "Building release $RELEASE"
... | ubclaunchpad/cumulus | .scripts/release.sh | Shell | mit | 465 |
#!/bin/bash
info () {
printf "\r [ \033[00;34m>>\033[0m ] $1\n"
}
success () {
printf "\r\033[2K [ \033[00;32mOK\033[0m ] $1\n"
}
fail () {
printf "\r\033[2K [\033[0;31mFAIL\033[0m] $1\n"
echo ''
exit
}
| davidochoa/dotfiles | setup/_func-print.sh | Shell | mit | 219 |
#!/usr/bin/env bash
autoreconf -fi --warning=no-portability | openvenues/jpostal | bootstrap.sh | Shell | mit | 59 |
./mak.sh && ./server
| jonaslu/thatswhatsup | c/wayland/compositor/run.sh | Shell | mit | 21 |
#!/bin/bash
# Automatically run Ruby scripts with "bundle exec" (but only when appropriate).
# http://effectif.com/ruby/automating-bundle-exec
# Github: https://github.com/gma/bundler-exec
## Functions
bundler-installed()
{
which bundle > /dev/null 2>&1
}
within-bundled-project()
{
local dir="$(pwd)"
wh... | tomichj/dotfiles | ruby/bundler-exec.bash | Shell | mit | 1,071 |
#!/usr/bin/env bash
# add 'x' for command tracing
set -eu
#-------------------------------------------------------------------------------
#
# Utilities
#
# For builds not triggered by a pull request TRAVIS_BRANCH is the name of the
# branch currently being built; whereas for builds triggered by a pull request
# it ... | davehorton/drachtio-server | deps/boost_1_77_0/libs/beast/tools/build-and-test.sh | Shell | mit | 4,316 |
#!/bin/bash
if [ ! -f 1.0.simplify_pindel_callset.sh -o ! -f 1.1.simplify_svseq_callset.sh ]; then
echo "need 1.0.simplify_pindel_callset.sh and 1.1.simplify_svseq_callset.sh"
exit 1
fi
# restore bsub out file
mkdir bsub_out
mv *.out bsub_out/
mkdir list used_sh feature
mkdir -p bam/bam_cfg
mv *.cfg bam/bam_cfg
m... | zz-zigzag/bioinformatics | scripts/real/call_analyze/hpc/1.4.mkdir.sh | Shell | mit | 883 |
#!/usr/bin/bash
set -o errexit -o noclobber -o noglob -o nounset -o pipefail
IFS=$'\n'
if [[ "${#}" -gt 0 ]]; then
separator='--'
fi
perl -p -e 's/(?:\x1B\x5B|\x9B)[\x30-\x3F]*[\x20-\x2F]*[\x40-\x7E]//g' | \
nvim -R -c 'set noswapfile filetype=man' ${separator:-} "${@:--}"
| nfnty/vimpager | man.sh | Shell | mit | 284 |
#!/bin/bash
{ [ -f .build/init.sh ] && . .build/init.sh; } || true;
{ [ -f ../.build/init.sh ] && . ../.build/init.sh; } || true;
buildreport || exit
builddocker_init_ver debian
vers=${1:-debian builder}
builddocker_vers $vers
| wenerme/dockerfiles | debian/build.sh | Shell | mit | 228 |
#!/bin/bash
# Based on https://dev.to/michael/compile-a-jekyll-project-without-installing-jekyll-or-ruby-by-using-docker-4184
docker run --rm -it --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" jekyll/jekyll:3.8 jekyll build | LordRaydenMK/lordraydenmk.github.io | docker-run.sh | Shell | mit | 252 |
#!/bin/sh
./makeself.sh package dsf_uitzendinggemist.sh "Uitzending Gemist link created in Favorites" ./install.sh
gcc dsf_pack.c -o dsf_pack
gzip dsf_uitzendinggemist.sh
./dsf_pack -e dsf_uitzendinggemist.sh.gz
mv outfile.dsf "dune_service_UG@is-great.org.dsf"
rm dsf_uitzendinggemist.sh.gz
| Rodinia/php-UitzendingGemist4DuneHD | dsf/make_dsf.sh | Shell | mit | 298 |
git clone git@github.com:Burthorpe/runescape-api.git workbench/burthorpe/runescape-api
| Burthorpe/burthorpe | bin/setup-dependencies.sh | Shell | mit | 87 |
#!/bin/bash
sudo tee /etc/default/docker > /dev/null <<-EOS
export http_proxy=http://168.219.61.252:8080/
export ftp_proxy=ftp://168.219.61.252:8080/
export https_proxy=http://168.219.61.252:8080/
export no_proxy=qb.sec.samsung.net,165.213.180.100,127.0.0.1,localhost
export SSL_CERT_FILE=/usr/share/ca-certificates/inf... | ermaker/inner_infra | docker_env.sh | Shell | mit | 331 |
echo "Backing up database from db container into /tmp/backup.gz on host machine..."
if [ ! -f /tmp/backup.gz ]; then
docker run --rm -t --link db:db -v /tmp:/tmp datahuborg/postgres \
/bin/bash -c "pg_dumpall --clean --if-exists --host db --username postgres | gzip > /tmp/backup.gz"
else
echo "/tmp/back... | dnsserver/datahub | provisions/docker/back-up-database.sh | Shell | mit | 378 |
#!/bin/sh
echo "START TEST..."
npm run test-compiled
| mpneuried/systemhealth | dockertests/test.sh | Shell | mit | 53 |
#!/usr/bin/env bash
set -e
if [ "$EUID" != 0 ]; then
echo "Please run as root on $0"
exit 1
fi
echo '======================='
echo 'Config for PC on Fedora'
echo '======================='
echo
#################### GRUB ####################
grub_update(){
# Update GRUB2 Bootloader
echo 'Updating GRUB2... | truboxl/post-auto | fedora-config-0.sh | Shell | mit | 2,337 |
#!/bin/bash
# move to the mongo directory, no matter where the script is run from
BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $BINDIR
cd ../
rm -rf ./var/mongodb-data/*
| jpitts/isomorphic-react-demo-ss2015 | vendor/mongodb/bin/reset_all_mongodb_data.sh | Shell | mit | 190 |
#!/bin/bash
function run() {
local version_new="$1"
local minor_number=$(echo "$version_new" | cut --delimiter="." --fields=2)
local major_number=$(echo "$version_new" | cut --delimiter="." --fields=1)
minor_tag="$major_number"."$minor_number"
if git tag --list | grep -xq "$minor_tag"
then
... | markchalloner/git-semver | plugins/90-major_and_minor_tag.sh | Shell | mit | 922 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-31-1
#
# Security announcement date: 2014-08-07 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:47 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - reportbug:4.12.6+deb6u1
#
# Last ver... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2014/DLA-31-1.sh | Shell | mit | 616 |
# !/bin/bash
function get_upstream_branch {
local SUBMODULE_NAME=$0
local MEDIA_SERVICE_NAME="openslides-media-service"
# We have to treat the media-service differently to the other services
# until its "main" branch is neither master nor main
if [ "$SUBMODULE_NAME" == "$MEDIA_SERVICE_NAME" ]; then
... | tsiegleauq/OpenSlides | services-to-master.sh | Shell | mit | 1,564 |
#!/bin/sh
cd ..
cd results
case $9 in
0|4|1|5 )
for iter in `seq 1 $8`; do
for nodes in `seq 1 $3`; do
rm size=${nodes}_idle=$5_speeds=$4_expe=$9_iter=${iter}.dat
rm pbm_size=${nodes}_idle=$5_speeds=$4_expe=$9_iter=${iter}_general.lp
rm result_${nodes}_${5}_$4_${9}_${iter}.temp
done
done
rm *.log
;;
... | Gaupy/replica | scripts/clean.sh | Shell | mit | 1,210 |
#
# deta
#
# Copyright (c) 2011 David Persson
#
# Distributed under the terms of the MIT License.
# Redistributions of files must retain the above copyright notice.
#
msginfo "Module %s loaded." "transfer"
# @FUNCTION: download
# @USAGE: <URL> <target>
# @DESCRIPTION:
# Downloads from various sources. Implements "svn... | davidpersson/deta | transfer.sh | Shell | mit | 3,389 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3473-1
#
# Security announcement date: 2016-02-11 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:49 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - nginx:1.2.1-2.2+wheezy4
#
# Last ve... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2016/DSA-3473-1.sh | Shell | mit | 657 |
#!/bin/bash
mkdir ./raw_data/bio/yeast/
wget http://vlado.fmf.uni-lj.si/pub/networks/data/bio/Yeast/yeast.zip && gzip -d yeast.zip && mv yeast.zip.* raw_data/bio/yeast/
echo "yeast!"
| bt3gl/NetAna-Complex-Network-Analysis | scripts_to_extract_data/17-getdata_yeast.sh | Shell | mit | 186 |
#!/bin/bash -e
for extension in "$@"; do
pecl install "${extension}"
echo "extension=${extension}.so" > "${CONF_PHPMODS}"/"${extension}".ini
done
| bryanlatten/docker-php | scripts/pecl-install.sh | Shell | mit | 152 |
#!/bin/bash
echo "> Running server tests..."
go test -v ./server/pkg/...
| darwinfroese/hacksite | scripts/run-server-tests.sh | Shell | mit | 75 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3131-1
#
# Security announcement date: 2016-11-21 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:44 UTC
#
# Operating System: Ubuntu 16.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libmagick++-6.q16-5v5:8:6.8.9.9-7ubunt... | Cyberwatch/cbw-security-fixes | Ubuntu_16.04_LTS/i386/2016/USN-3131-1.sh | Shell | mit | 3,407 |
#!/bin/bash
set -xe
sudo add-apt-repository -y ppa:pipelight/stable
sudo apt-get update
sudo apt-get install --install-recommends wine-staging wine-staging-compat xvfb
wget https://github.com/fpco/minghc/releases/download/2015-12-04/minghc-7.10.2-i386.exe
wine minghc-7.10.2-i386.exe /S | grep -v Extracting
wine cabal ... | colinba/tip-toi-reveng | .travis-setup-windows.sh | Shell | mit | 823 |
rm simplescan-meego
/usr/lib64/madde/linux-x86_64/targets/meego-core-ia32-1.2.0/bin/gcc -o simplescan-meego simplescan.c -I/usr/include/bluetooth -L/usr/lib64 -lbluetooth
| bearlin/study_bluetooth_socket | bluetooth/02_cross_compiler/01_simplescan/build-meego.sh | Shell | mit | 171 |
# thanks to https://gist.github.com/domenic/ec8b0fc8ab45f39403dd
#!/bin/sh
set -e
git config --global user.name "Travis CI"
git config --global user.email "noreply+travis@fossasia.org"
python scraper.py
# don't continue if no changes
if git diff-index --quiet HEAD; then
exit 0
fi
git commit -m '[Auto] updated jso... | fossasia/open-event-scraper | build.sh | Shell | mit | 730 |
#!/bin/bash
#
#SBATCH --job-name=vectorSum
#SBATCH --output=res_mpi_vec_sum.out
#SBATCH --ntasks=3
#SBATCH --nodes=3
#SBATCH --time=20:00
#SBATCH --mem-per-cpu=100
#SBATCH --gres=gpu:1
mpirun mpi_vec_sum
| leiverandres/HPC_assignments | openmpi/vec_sum/mpi_vec_sum.sh | Shell | mit | 205 |
#!/usr/bin/env bash
npm start | frouyer193/GuitarEffects_dev | run.sh | Shell | mit | 30 |
#!/bin/bash
# wait for mysql to be ready
nc -z db 3306
n=$?
while [ $n -ne 0 ]; do
sleep 1
nc -z db 3306
n=$?
done
python manage.py runserver 0.0.0.0:8000 | mujinyun2009/shakespeare-census | runserver.sh | Shell | mit | 168 |
#!/usr/bin/env bash
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential
sudo apt-get install -y git tig htop ranger tmux
# Sub-systems
sh ./build_ds9.sh
sh ./build_shell.sh
sh ./build_vim.sh
sh ./build_python.sh
| autocorr/transient | provision/main.sh | Shell | mit | 248 |
#!/bin/sh
CURDIR=$(dirname $0)
SOURCE_DIR=$1; shift
DEST_DIR=$1; shift
add_to_sources() {
URL=$1; shift
NAME=$1; shift
HASH=$1; shift
(
git clone "$URL" "$DEST_DIR/$NAME"
cd "$DEST_DIR/$NAME"
git checkout -qf "$HASH"
rm -Rf .git
)
}
(
cd "$SOURCE_DIR"
mkdir -p "$DEST_DIR"
"$C... | am11/Criterion | .cmake/copy-source.sh | Shell | mit | 743 |
#!/bin/bash -eux
# Set empty password for mysql root
export DEBIAN_FRONTEND=noninteractive
echo mysql-server-5.5 mysql-server/root_password password '' | debconf-set-selections
echo mysql-server-5.5 mysql-server/root_password_again password '' | debconf-set-selections
# Install packages
apt-get install -qq -y \
m... | chulkilee/jenkins-vagrant | scripts/mysql.sh | Shell | mit | 407 |
#!/bin/bash
python RunSimulation.py --Geo 50.0 --sim_num 46
| xji3/IGCCodonSimulation | ShFiles/YDR418W_YEL054C_IGCgeo_50.0_sim_46.sh | Shell | mit | 60 |
#!/usr/bin/env bash
PY_GOMODULE="msched.go"
mpiexec --ompi-server file:$(pwd)/memory/urifile python -m "${PY_GOMODULE}" "$@"
| ctogle/msched | mclient.sh | Shell | mit | 127 |
#!/usr/bin/env bash
set -euo pipefail
# Switch to parent directory of location of script
cd "$(dirname "$BASH_SOURCE")/.."
# Load settings
. "bin/settings.sh"
# Clear the offline servers file and make the temporary directory
>"$offline_servers"
tmp_dir="tmp.$$"
mkdir -p "$tmp_dir"
# Query each server in background... | nkouevda/ucb-eecs-servers | bin/main.sh | Shell | mit | 834 |
#!/bin/bash
set -ex
IMG=${IMG:-rdev02/docker-openvpn}
temp=$(mktemp -d)
pushd $temp
SERV_IP=$(ip -4 -o addr show scope global | awk '{print $4}' | sed -e 's:/.*::' | head -n1)
docker run --net=none --rm -t -i -v $PWD:/etc/openvpn $IMG ovpn_genconfig -u udp://$SERV_IP
docker run --net=none --rm -t -i -v $PWD:/et... | rdev02/docker-openvpn | tests/paranoid.sh | Shell | mit | 655 |
#!/bin/sh
if [ "$1" = "" ]; then
echo "usage: $0 <filename>"
exit 1
fi
FROM=$1
NAME=`basename $FROM`
BASE=`dirname $0`/..
JAR=$BASE/conv/target/symboliclua-conv-0.0.1-SNAPSHOT-jar-with-dependencies.jar
java -cp $JAR net.klazz.symboliclua.conv.Main < $FROM > $BASE/tmp/$NAME
cp $FROM $BASE/tmp/$NAME.bak
cd $BASE/s... | kohyatoh/symboliclua | bin/symboliclua.sh | Shell | mit | 365 |
rm -rf wrapper_nn_bn bn_layer_generator_tiramisu bn_layer_generator_tiramisu.o bn_layer_generator_tiramisu.o.h bn_layer_mkldnn_result tiramisu_result.txt mkldnn_result.txt
| rbaghdadi/tiramisu | benchmarks/DNN/layers/bn/clean.sh | Shell | mit | 172 |
# vi mode
bindkey -v
bindkey "^F" vi-cmd-mode
bindkey jj vi-cmd-mode
# handy keybindings
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey "^R" history-incremental-search-backward
bindkey "^P" history-search-backward
bindkey "^Y" accept-and-hold
bindkey "^N" insert-last-word
bindkey -s "^T" "^[Isudo ^[A"... | albertogg/dotfiles | zsh/.zsh/keybindings.zsh | Shell | mit | 342 |
#!/bin/sh
#origin https://aur.archlinux.org/libvpx-git.git (fetch)
#origin https://aur.archlinux.org/libvpx-git.git (push)
#origin https://aur.archlinux.org/ffmpeg-git.git (fetch)
#origin https://aur.archlinux.org/ffmpeg-git.git (push)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gbencke/git/000.INFRA/ffmpeg-git/pkg... | gbencke/dotfiles | new.host/arch/i3/scripts/start_postman.sh | Shell | mit | 447 |
#!/bin/bash
sudo su
cd /home
wget https://packages.zendframework.com/releases/ZendFramework-1.12.3/ZendFramework-1.12.3.tar.gz
tar -xvzf ZendFramework-1.12.3.tar.gz
echo 'include_path = ".:/usr/share/php:/home/ZendFramework-1.12.3/library"' > /etc/php5/conf.d/includepath.ini
echo 'LoadModule expires_module /usr/lib/apa... | hugofcampos/Phalcon-Facebook-Events-Example | shell/install_zf1.sh | Shell | mit | 501 |
# Exports
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
export LESS='-qRn'
export SVN_EDITOR="vi"
export GOPATH=~/.go
# Variable
HISTSIZE=100000
SAVEHIST=100000
# Set Options
setopt correct
setopt list_packed
setopt hist_ignore_dups
setopt share_history
setopt EXTENDED_HISTORY
# KEY BIND
autoload hi... | kama-meshi/dotFiles | .prezto/custom/custom-zshrc.zsh | Shell | mit | 2,769 |
#! /bin/bash
cd $SSP_CODE_HOME
for entry in $(git status | grep ".cpp\|.hpp" | grep "modified:\|new file:" | cut -d$'\t' -f2 | cut -d":" -f 2)
do
echo $entry
#./tools/bin/clang-format -i $entry
done
| Meraz/doremi | tools/script/formatCached.sh | Shell | mit | 204 |
#!/usr/bin/env bash
echo "Setting up database $SUBTICKET_DB for user $SUBTICKET_DB_USER"
createdb -h "$SUBTICKET_DB_HOSTNAME" -p "$SUBTICKET_DB_PORT" "$SUBTICKET_DB"
psql -h "$SUBTICKET_DB_HOSTNAME" -p "$SUBTICKET_DB_PORT" "$SUBTICKET_DB" <<EOF
create user "$SUBTICKET_DB_USER" password '$SUBTICKET_DB_PASS';
create sch... | mattbowen/subticket | initdb.sh | Shell | epl-1.0 | 541 |
#!/bin/bash
sudo apt-get install ruby ruby-dev -y
sudo gem install compass
| uberhacker/pantheon-local-drupal-development | compass-install.sh | Shell | gpl-2.0 | 75 |
#! /bin/bash
# Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 nerdopolis (or n3rdopolis) <bluescreen_avenger@verzion.net>
#
# This file is part of LinuxRCD
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as p... | n3rdopolis/linuxrcd | externalbuilders/linuxrcd_phase3.sh | Shell | gpl-2.0 | 8,970 |
# SCRIPTNAME: recordcarverx.bash
# This script has two prerequisites; it expects pre-processed records produced by the scripts "NSRL2MD5.bash" and "prodcodecarver.bash"
# Following satisfaction of pre-requisites:
# Execution Option1: ./recordcarverx.bash $(< prodcodecarver.txt)
# Execution Option2: ./recordcarverx.bas... | JohnEbert/nsrl_carver | recordcarverx.bash | Shell | gpl-2.0 | 3,028 |
#! /bin/sh
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
#
# 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 version 2, or (at your option)
# any later version.
#
# This program ... | komh/automake-os2 | t/suffix6b.sh | Shell | gpl-2.0 | 2,026 |
./bin/3DVisualizer -class RealMCNP ../data/ATR\ Modernization/MCNP/meshtal/meshtal155
| VisualIdeation/3DVisualizer | scripts/meshtal155.sh | Shell | gpl-2.0 | 87 |
/home/quaker/bin/getip eth1 > /home/quaker/Dropbox/Office/IP
/home/quaker/bin/getip eth2 >> /home/quaker/Dropbox/Office/IP
chown quaker /home/quaker/Dropbox/Office/IP
chgrp quaker /home/quaker/Dropbox/Office/IP
chmod 744 /home/quaker/Dropbox/Office/IP
| quakerntj/bashscript | daylyip.sh | Shell | gpl-2.0 | 252 |
#! /bin/bash
#
# Installation script for CK packages.
#
# See CK LICENSE.txt for licensing details.
# See CK Copyright.txt for copyright details.
#
# Developer(s): Grigori Fursin, 2015
#
# PACKAGE_DIR
# INSTALL_DIR
# Fix number of processes
NP=${CK_HOST_CPU_NUMBER_OF_PROCESSORS}
if [ "${PARALLEL_BUILDS}" != "" ] ; t... | ctuning/reproduce-milepost-project | package/compiler-gcc-4.4.4-milepost-src-no-deps/process.sh | Shell | gpl-2.0 | 3,263 |
#!/bin/sh
# Eingabe:
# $1 - Kontakte-Basisverzeichnis
# $2 - Dateiname der Ergebnisliste
# Ausgabe:
# (1) Ergebnisliste im Kontakte-Basisverzeichnis
BASISVERZ=$1
LISTEADRESSEZUVERZ=$2
SKRIPTVERZ=`dirname $0`
ls "$BASISVERZ" \
| xargs -n 1 \
| while read ARGS; do
if [ -d "$BASISVERZ/$ARGS" ]; then
sh $SKRI... | PhilippDedie/mail2wiki | lib/Kontakte/ErzeugeListeAdresseZuVerz.sh | Shell | gpl-2.0 | 436 |
#!/bin/bash
#
# Universal launch script for Natron
#
# Get real current dir
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do
SOURCEDIR=`dirname "$SOURCE"`
DIR=`cd -P "$SOURCEDIR" && pwd`
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
done
SOURCEDIR=`dirname "$SOURCE"`
... | olear/Natron | tools/linux/include/scripts/Natron.sh | Shell | gpl-2.0 | 2,769 |
#!/bin/bash
VER="0.4.1"
wget "https://github.com/SUPERAndroidAnalyzer/super/releases/download/"$VER"/super-analyzer_"$VER"_debian_amd64.deb"
sign_only "super-analyzer_"$VER"_debian_amd64.deb"
echo "DEB Signed and ready for usage" | AndroidTamer/Packaging_Tools | Build/SUPER/build.sh | Shell | gpl-2.0 | 229 |
#!\bin\bash
MinR=1 # 70
MaxR=46 # 75
MinZ=11 # 166
MaxZ=90 # 261
MinT=1 # 90
MaxT=90 # 1
echo "Processing format between layer${MinZ}.txt and layer${MaxZ}.txt"
for i in $(seq -f %03g $((MinZ)) $((MaxZ))); do
paste Rindex.txt ORI_Layer${i}.txt | expand -t 1 >> layer${i}.txt
done
echo "Searchin... | selwyndd21/read3dsyn | 4_MaxSearching.sh | Shell | gpl-2.0 | 690 |
#!/bin/sh
cat $1 | grep -e "EDEN" | sed 's/^.*MIN:\s\([0-9]*\).*AVG:\s\([0-9]*\).*MAX:\s\([0-9]*\).*/\1 \2 \3/' | awk 'BEGIN{sum_1=0; sum_2=0; sum_3=0; n=0} {n=n+1; sum_1+=$1; sum_2+=$2; sum_3+=$3} END{print "EDEN => MIN:",sum_1/n,"K AVG:",sum_2/n,"K MAX:",sum_3/n,"K"}'
cat $1 | grep -e "FROM" | sed 's/^.*MIN:\s\([0... | yuhc/jdk8u-dev | java_demo/spec/specjvm/average.sh | Shell | gpl-2.0 | 1,191 |
#!/bin/bash
# Copyright 2014 Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0
# Begin configuration.
stage=0 # This allows restarting after partway, when something when wrong.
feature_type=mfcc
add_pitch=false
mfcc_config=conf/mfcc.conf # you can override any of these you need to override.
plp_config=con... | michellemorales/OpenMM | kaldi/egs/wsj/s5/steps/online/nnet2/prepare_online_decoding.sh | Shell | gpl-2.0 | 6,714 |
#!/bin/bash
# Copyright 2015 Johns Hopkins University (Author: Daniel Povey).
# 2015 Vijayaditya Peddinti
# 2016 Yiming Wang
# 2017 Google Inc. (vpeddinti@google.com)
# Apache 2.0.
# 6o is same as 6k, but with two additional BLSTM layers
# and delay of -1 for the first blstm layer
... | michellemorales/OpenMM | kaldi/egs/swbd/s5c/local/chain/tuning/run_blstm_6o.sh | Shell | gpl-2.0 | 10,550 |
#!/bin/bash
########### TASK metadata #############
# Task : makeAfg_016of016
# Module : P_PreAssembler
# TaskType : None
# URL : task://Anonymous/P_PreAssembler/makeAfg_016of016
# createdAt : 2013-12-20 15:55:43.303219
# ncmds : 1
# LogPath : /groups/csf-ngs/projects/20131203_Armin_... | h3kker/assemblyTalk | preassembler/workflow/P_PreAssembler/makeAfg_016of016.sh | Shell | gpl-2.0 | 2,646 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.