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/sh
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
#
# Set environment variables so that we can compile rocksdb using
# fbcode settings. It uses the latest g++ and clang compilers and also
# uses jemalloc
# Environment variables that change the behavior of this script:
# PIC_BUILD -- if ... | arangodb/arangodb | 3rdParty/rocksdb/6.29/build_tools/fbcode_config.sh | Shell | apache-2.0 | 4,849 |
#!/bin/sh
# Copyright (C) 2009-2011 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public L... | Distrotech/LVM2 | test/shell/000-basic.sh | Shell | gpl-2.0 | 902 |
#!/bin/bash
set -x -e -o pipefail
echo HERE IS THE ENV
env
export CPPFLAGS="-I${PREFIX}/include"
export LDFLAGS="-L${PREFIX}/lib"
export CXXFLAGS="${CXXFLAGS}"
chmod u+x ${SRC_DIR}/configure
chmod u+x ${SRC_DIR}/build-aux/ar-lib
chmod u+x ${SRC_DIR}/build-aux/compile
chmod u+x ${SRC_DIR}/build-aux/config.guess
chmo... | BIMSBbioinfo/bioconda-recipes | recipes/kmc/build.sh | Shell | mit | 826 |
#!/bin/sh
test_description='test push with submodules'
. ./test-lib.sh
test_expect_success setup '
mkdir pub.git &&
GIT_DIR=pub.git git init --bare &&
GIT_DIR=pub.git git config receive.fsckobjects true &&
mkdir work &&
(
cd work &&
git init &&
git config push.default matching &&
mkdir -p gar/bage &&
... | devzero2000/git-core | t/t5531-deep-submodule-push.sh | Shell | gpl-2.0 | 18,556 |
#!/bin/sh
# Requires maven to be on the classpath
# Skips test phase
mvn clean install -DskipTests=true
mvn clean install -DskipTests=true -f dhis-web/pom.xml -U
| troyel/dhis2-core | dhis-2/build.sh | Shell | bsd-3-clause | 166 |
#!/bin/bash -e
# TODO: Remove the following export when pinning is updated and we use
# {{ compiler('rust') }} in the recipe.
export \
CARGO_NET_GIT_FETCH_WITH_CLI=true \
CARGO_HOME="${BUILD_PREFIX}/.cargo"
export BINDGEN_EXTRA_CLANG_ARGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
cargo install --no-track --ve... | cokelaer/bioconda-recipes | recipes/rust-bio-tools/build.sh | Shell | mit | 354 |
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Lic... | larroy/mxnet | tests/nightly/broken_link_checker_test/broken_link_checker.sh | Shell | apache-2.0 | 1,093 |
#!/bin/bash
source ../env.sh || exit 1
USEPS=0
if [ "$1" = "-s" ]; then
echo "Will test via page-server"
USEPS=1
shift
fi
NRSNAP=${1:-3}
SPAUSE=${2:-4}
PORT=12345
function fail {
echo "$@"
exit 1
}
set -x
IMGDIR="dump/"
rm -rf "$IMGDIR"
mkdir "$IMGDIR"
echo "Launching test"
cd ../../zdtm/static/
make clean... | ldu4/criu | test/others/mem-snap/run-snap.sh | Shell | lgpl-2.1 | 1,498 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
export L="${LDFLAGS}"
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/hg/makeDb/hgLoadOutJoined && make)
cp bin/hgLoadOutJoined "$PREFIX/b... | cokelaer/bioconda-recipes | recipes/ucsc-hgloadoutjoined/build.sh | Shell | mit | 363 |
#!/bin/sh
test_description='git grep with a binary pattern files'
TEST_PASSES_SANITIZE_LEAK=true
. ./lib-gettext.sh
nul_match_internal () {
matches=$1
prereqs=$2
lc_all=$3
extra_flags=$4
flags=$5
pattern=$6
pattern_human=$(echo "$pattern" | sed 's/Q/<NUL>/g')
if test "$matches" = 1
then
test_expect_succe... | abg1979/git | t/t7816-grep-binary-pattern.sh | Shell | gpl-2.0 | 3,741 |
#!/bin/bash
convert -delay 30 $1/*.png movie.mpg
| HerbFargus/RetroPie-Setup | tools/createMovieFromImages.sh | Shell | gpl-3.0 | 50 |
#!/usr/bin/env bash
if [ ! $COVERAGE ]; then
./node_modules/.bin/mocha \
--grep=$GREP \
test/test.js
else
./node_modules/.bin/istanbul cover \
./node_modules/mocha/bin/_mocha \
test/test.js
fi
| ms123s/simpl4-src | surface/domelements/bower_components/pouchdb-find/bin/test-node.sh | Shell | apache-2.0 | 214 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors All rights reserved.
#
# 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
#
# Unless require... | justinholmes/kubernetes | hack/test-go.sh | Shell | apache-2.0 | 10,683 |
#!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors.
#
# 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
#
# Unless required by applica... | alejandroEsc/kubernetes | cluster/gce/util.sh | Shell | apache-2.0 | 150,431 |
#!/bin/bash
sudo cp service-centos.sh /etc/init.d/gitblit
sudo chkconfig --add gitblit
| gitblit/gitblit | src/main/distrib/linux/install-service-centos.sh | Shell | apache-2.0 | 87 |
#!/bin/bash
export BINARY_HOME=$PREFIX
export CFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"
export CPATH=${PREFIX}/include
cd $SRC_DIR
sed -i -e 's/-march=native//' CMakeLists.txt
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=${BINARY_HOME}
make
ctest
make install
| joachimwolff/bioconda-recipes | recipes/kwip/build.sh | Shell | mit | 290 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ pd.canine
| joachimwolff/bioconda-recipes | recipes/bioconductor-pd.canine/pre-unlink.sh | Shell | mit | 56 |
#!/bin/bash
result=0
echo "################ canvas_kaltura ################"
bundle check || bundle install
bundle exec rspec spec
let result=$result+$?
if [ $result -eq 0 ]; then
echo "SUCCESS"
else
echo "FAILURE"
fi
exit $result
| usmschuck/canvas | gems/canvas_kaltura/test.sh | Shell | agpl-3.0 | 238 |
#!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors.
#
# 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
#
# Unless required by applica... | michi-covalent/cilium | vendor/k8s.io/code-generator/generate-internal-groups.sh | Shell | apache-2.0 | 6,015 |
#!/bin/sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
VERSION=@VERSION@
CONFIG=${DIR}/../config/collector-dev.scala
java -cp "$DIR/../libs/*" -jar $DIR/../zipkin-collector-service-$VERSION.jar -f $CONFIG
| shijinkui/zipkin | zipkin-collector-service/src/scripts/collector.sh | Shell | apache-2.0 | 216 |
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1
if [ $# -ne 1 ] ; then
linux_header_dir=tools/include/uapi/linux
else
linux_header_dir=$1
fi
linux_mount=${linux_header_dir}/mount.h
printf "static const char *fsconfig_cmds[] = {\n"
regex='^[[:space:]]*+FSCONFIG_([[:alnum:]_]+)[[:space:]]*=[[:space:]]*([[:digit:]]+)[[... | GuillaumeSeren/linux | tools/perf/trace/beauty/fsconfig.sh | Shell | gpl-2.0 | 459 |
./node_modules/.bin/uglifyjs parambulator.js -c "evaluate=false" --comments "/ Copyright .*/" -m --source-map parambulator-min.map -o parambulator-min.js
./node_modules/.bin/jshint parambulator.js
./node_modules/.bin/docco parambulator.js -o doc
cp -r doc/* ../gh-pages/parambulator/doc
| rjrodger/parambulator | build.sh | Shell | mit | 287 |
#!/usr/bin/env sh
alias nt='npm test'
alias ns='npm start'
alias ni='npm install'
| bendrucker/dotfiles | node/aliases.zsh | Shell | mit | 83 |
ssh -fNAL 3306:127.0.0.1:3306 ubuntu@sdf-bill2myprint-mysql-1
source ./.venv/bin/activate
python3 src/manage.py shell
PID=`pgrep -f "ssh -fNAL 3306:127.0.0.1:3306 ubuntu@sdf-bill2myprint-mysql-1"`
if [[ "" != "$PID" ]]; then
echo "killing $PID"
kill $PID
fi
| epfl-sdf/bill2myprint | start_shell.sh | Shell | mit | 265 |
#!/bin/bash
echo "ubuntu specific install"
| AndrewWalker/dotfiles | platform/ubuntu/install.sh | Shell | mit | 45 |
#!/bin/sh
export KSROOT=/jffs/koolshare
source $KSROOT/scripts/base.sh
eval `dbus export xiaomi_`
xiaomi_config.sh stop
rm -rf $KSROOT/res/icon-xiaomi*
rm -rf $KSROOT/webs/Module_xiaomi.asp
rm -rf $KSROOT/scripts/xiaomi_*
| koolshare/ttsoft | xiaomi/xiaomi/uninstall.sh | Shell | mit | 224 |
#!/bin/bash
echo "> go get -d ./..."
go get -d ./...
echo "> go test -v"
go test -v
| pine613/noel | .ci/test.sh | Shell | mit | 86 |
export LSCOLORS="exfxcxdxbxegedabagacad"
export CLICOLOR=true
#fpath=($MYZSH/zsh/functions $fpath)
#autoload -U $MYZSH/zsh/functions/*(:t)
HISTFILE=~/.zsh_history
HISTSIZE=10000000
SAVEHIST=10000000
setopt NO_BG_NICE # don't nice background tasks
setopt NO_HUP
setopt NO_LIST_BEEP
setopt LOCAL_OPTIONS # allow functio... | iff/dotfiles | zsh/config.zsh | Shell | mit | 2,003 |
#!/bin/bash
MONSTACHE_SOURCE_CODE_PATH=${MONSTACHE_SOURCE_CODE_PATH:-../..}
# # Build a docker image
docker build \
"$MONSTACHE_SOURCE_CODE_PATH" \
-f ./Dockerfile \
-t monstache-build
# Start a container from the newly built docker image
docker run \
--rm \
-d \
monstache-build \
tail -f /app/monstache.go
# Get th... | rwynn/monstache | docker/local/build.sh | Shell | mit | 905 |
#!/bin/bash
# Edit WiFi settings file
# -----------------------
# Author: Henrik Noerfjand Stengaard
# Date: 2020-02-23
#
# A bash script for Amibian to edit WiFi settings file.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
# show expand filesystem dialog
dialog --clear --stdout \
--title "Reboot system" \
--yes... | henrikstengaard/hstwb-installer | launcher/amibian/setup/amibian/edit-wifi-settings-file.sh | Shell | mit | 513 |
set -ex -o pipefail
cd `dirname $0`
cd ../..
npm install
| angular/ts-api-guardian | scripts/ci-lite/install.sh | Shell | mit | 59 |
#!/bin/sh
#
# cURL
# http://expat.sourceforge.net/
source ./helper.sh $*
stage_dl_ac http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz \
--prefix=$PREFIX/utils
| cornell-cs5220-f15/totient-pkg | configs/expat.sh | Shell | mit | 170 |
#!/bin/sh
#PBS -N network-gridsearch
#PBS -l walltime=24:00:00
#PBS -l nodes=1:ppn=1:gpus=1
#PBS -m eba
#PBS -M amwebdk@gmail.com
#PBS -q k40_interactive
cd $PBS_O_WORKDIR
# Enable python3
export PYTHONPATH=
source ~/stdpy3/bin/activate
python3 -u run/network_gridsearch.py
| AndreasMadsen/bachelor-code | run/network_gridsearch.sh | Shell | mit | 277 |
#!/bin/sh
# Since Sublime is insane and can't handle symlinks for the User
# directory, we'll need to manually copy stuff over.
sublime_dir=~/Library/Application\ Support/Sublime\ Text\ 2/Packages
# rm -rf $ZSH_DOTFILES/sublime2/User
cp -Rf "$ZSH_DOTFILES/sublime2/User" "$sublime_dir"
cp -Rf "$ZSH_DOTFILE... | chuckbergeron/dotfiles | sublime2/copy_from_here_to_sublime.sh | Shell | mit | 381 |
#!/bin/bash
# Batch execution of Peter's VAU experiments for UCUI
DUMP=-Pdump=all
LOGDIR=GMM/eval/UCUI
cd $UASR_HOME-data/vau/GMM
mkdir -p eval/UCUI
cd $UASR_HOME-data/vau
DB.xtp pfv common/info/featureanalysis.cfg
DB.xtp sfv common/info/featureanalysis.cfg
HMM.xtp trn GMM/info/UCUI/e21/ucui_e21_pfv_30.cfg -v2 $DUMP... | matthias-wolff/C-VAU | GMM/scripts/bash/run-UCUI-experiments.sh | Shell | mit | 1,428 |
#!/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... | rromanchuk/DopamineKit | Example/Pods/Target Support Files/Pods-Dopamine_Example/Pods-Dopamine_Example-frameworks.sh | Shell | mit | 3,609 |
#!/bin/sh
cat module.requires > dist/tracker.js
cat ../../meteor/packages/tracker/tracker.js >> dist/tracker.js
cat module.exports >> dist/tracker.js
| eface2face/meteor-module-generator | modules/meteor-tracker/build.sh | Shell | mit | 152 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2015:1904
#
# Security announcement date: 2015-10-15 16:50:05 UTC
# Script generation date: 2016-05-12 18:13:19 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - apache-cxf.noarch:2.7.17-1.redhat_1.1.e... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2015/RHSA-2015:1904.sh | Shell | mit | 14,976 |
#!/usr/bin/env bash
echo "=========================================================="
echo "CREATE DOCKER IMAGE FOR ef_oracle_database-init"
echo "=========================================================="
echo "Copying the db scripts to the docker context..."
mkdir -p docker/ef_oracle_database-init/db_scripts
cp -R d... | BMC-RLM/ef_java_calculation_engine | docker/ef_oracle_database-init/docker_build.sh | Shell | mit | 884 |
#!/bin/bash
set -x
# exit on error
set -e
# setup bash
shopt -s extglob
# BUILD VARIABLES
REGISTRY="docker.creativelive.com:5000"
APP=$(jq -r '.name' < package.json)
GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
BASE_BRANCH=$(basename $GIT_BRANCH)
BRANCH=$(echo ${BASE_BRANCH} | awk '{ print tolower($0) }')
NAME=$APP... | creativelive/mkimage-server | .ci/deploy.sh | Shell | mit | 757 |
function zsh_stats() {
fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20
}
function uninstall_oh_my_zsh() {
env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh
}
function upgrade_oh_my_zsh() {
env ZSH=$Z... | mscalora/oh-my-zsh | lib/functions.zsh | Shell | mit | 6,152 |
#!/bin/sh
OUTPUT=$(${1} -badarg 2>&1)
rval=$?
# echo it out once just for ctest -V output
echo $OUTPUT
echo $OUTPUT | grep -qi 'usage'
nval=$?
if [ $rval -eq 1 ] && [ $nval -eq 0 ]; then
exit 0;
else
exit 1;
fi
| cactus/cronkite | src/cli/tests/cli-badarg.sh | Shell | mit | 219 |
if [ ! -s mcap.txt.gz ]; then
wget http://bejerano.stanford.edu/mcap/downloads/dat/mcap_v1_0.txt.gz -O mcap.txt.gz
gunzip mcap.txt.gz
sed 's/^#grch37_/#/g' mcap.txt | bgzip -c > mcap.txt.gz
tabix mcap.txt.gz -b 2 -e 2
rm mcap.txt
fi
| quinlan-lab/pathoscore | score-sets/GRCh37/MCAP/make.sh | Shell | mit | 253 |
################################
# Author: Rum Coke
# Data : 2015/07/20
# Ver : 1.0.1
################################
################################
# Send Mail.
################################
function sendMail()
{
showIP | mail -s "${SUBJECT}" --to "${TO_ADDRESS}"
}
################################
# Print ... | ekazyam/tools | mail_ip.sh | Shell | mit | 774 |
if test $# -ne 1
then
echo "sh $0 <basedir>" >&2
exit
fi
bdir=$1
dbgn=0
dend=99
prevt=-1
if test -e tmp.time
then
rm -f tmp.time
fi
for ndir in $(seq -f "%02g" $dbgn 1 $dend)
do
idir="$bdir"/t"$ndir"
# echo "start $idir" >&2
ifile="$idir"/time.log
if ! test -e $ifile
then
cont... | atrtnkw/sph | tool.hgas/puttogether_time.sh | Shell | mit | 492 |
export EDITOR='vim'
export PSQL_EDITOR='vim +"set syntax=sql"'
| steakunderscore/dotfiles | shell/editor.sh | Shell | mit | 63 |
#!/bin/bash
# Copyright (c) 2015-2022 Agalmic Ventures LLC (www.agalmicventures.com)
#
# 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 r... | AgalmicVentures/Environment | scripts/upgrade_python3_venv.sh | Shell | mit | 1,708 |
export PATH=${PWD}/bin:${PATH}
export PYTHONPATH=${PWD}/lib:${PYTHONPATH}
| reedessick/annoySalvo | setup.sh | Shell | mit | 74 |
#!/usr/bin/env bash
# Instructions
# - Download the SDK from https://flutter.dev/docs/get-started/install/linux
# - Place it in this directory as flutter-sdk.tar.xz
set -e
sudo docker build \
-t flutter-dev \
.
| igncp/vagrant-personal-cookbook | docker/flutter-dev/build.sh | Shell | mit | 218 |
#!/bin/sh -e
CONTAINER=${1:-ctds-unittest-sqlserver}
CURDIR=$(dirname $(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)/$(basename -- "$0")"))
RETRIES=30
SA_PASSWORD=cTDS-unitest123
CONTAINER_ID=`docker ps -a -f name="^/$CONTAINER$" -q`
if [ -z "$CONTAINER_ID" ]; then
echo "MS SQL Server docker conta... | zillow/ctds | scripts/ensure-sqlserver.sh | Shell | mit | 1,665 |
#!/bin/sh
#This sample search script uses the "length" hint returned by
#the librato API in a while loop to page through search results
source ${SBHOME}/shellbrato.sh
#DEBUG=1 #(uncomment to see debug info from shellbrato)
OFFSET=0
#make an initial query to populate the length and offset variables
R=$(listMetrics)
... | djosephsen/shellbrato | examples/length_pagination_example.sh | Shell | mit | 727 |
#!/bin/bash
curl 'https://qaserver/service/my/library/samples' -H "Authorization:Bearer $access_token" -d "{\"isbn\" : \"$1\"}" -X POST -H 'Content-Type:application/vnd.blinkboxbooks.data.v1+json'
| blinkboxbooks/android-app | app/scripts/getsample.sh | Shell | mit | 199 |
#which kubectl >> /dev/null && source <(kubectl completion zsh) # setup autocomplete in zsh
| jescholl/dotfiles | zsh/kubernetes/completion.zsh | Shell | mit | 93 |
#!/bin/bash
if [ "$1" == "" ]; then
echo "Usage: run.sh <domain>"
exit 1;
fi
DOMAIN=$1
DOMAIN_HOSTNAME="${DOMAIN//./_}"
docker run \
--memory="256m" \
--hostname="${DOMAIN_HOSTNAME}-nginx" \
--restart="always" \
-p 127.0.0.1::8080 \
--name="${DOMAIN_HOSTNAME}" \
-v /var/www/$DOMAIN:/v... | rstiller/dockerfiles | nginx/run.sh | Shell | mit | 343 |
#!/bin/bash
# user defined function for logging
log () { echo "`hostname` | `date '+%F | %H:%M:%S |'` $1"; }
cname=$(cat /proc/cpuinfo|grep name|head -1|awk '{ $1=$2=$3=""; print }')
cores=$(cat /proc/cpuinfo|grep MHz|wc -l)
freq=$(cat /proc/cpuinfo|grep MHz|head -1|awk '{ print $4 }')
tram=$(free -m | awk 'NR==2'|aw... | akash-mitra/fleeting-bunny | utility/profile.sh | Shell | mit | 968 |
export PATH="$DOT/bin:$PATH"
| dangmai/dotfiles | system/path.zsh | Shell | mit | 29 |
#!/bin/sh
# Converts the Inkscape large-button icon files ic_*.svg to ic_*_big.png files.
#
# NOTE: Save these .svg files with their bg layers hidden, then run this script,
# then restore the .svg files.
INPUT="source-assets/large-button-icons/"
MAIN="app/src/main/"
RES="${MAIN}res/"
DRAWABLE="${RES}drawable"
functio... | 1fish2/BBQTimer | bin/export-large-button-icons.sh | Shell | mit | 716 |
#!/bin/bash
if [[ $0 == *address ]]; then
echo "host $1"
host $1
elif [[ $0 == *download ]]; then
echo "wget $1"
wget $1
else
echo "use symbolick link" >&2
exit 1
fi
| honux77/practice | bash/naveru/multi.sh | Shell | mit | 173 |
#!/bin/bash
REPO_DIR=$(cat repoDir.txt)
# USAGE:: ./one_fake_gstlal.sh
FAKE_DB=${REPO_DIR}/approval_processorMP/test/FAKE_DB # Directory where events will be created
OUT_DIR=${REPO_DIR}/approval_processorMP/test/OUT_DIR # temporary directory to store upload files
CONFIG_FILE=${REPO_DIR}/approval_processorMP/test/pi... | mina19/approval_processorMP | test/pipelineThrottle/one_fake_gstlal.sh | Shell | mit | 1,913 |
#!/bin/bash
snmysqluser='fogstorage'
snmysqlpass='something' #The fogstorage pass goes here, git it from Web Interface -> FOG Configuration -> FOG Settings -> FOG Storage Nodes
snmysqlhost='10.0.0.2' #Put your FOG Server's FQDN or IP here.
database="fog"
table="inventory"
header=""
csvFile="/root/output.csv"
mysql=$(c... | FOGProject/fog-community-scripts | exportFromDB/exportTableToCSV.sh | Shell | mit | 1,111 |
#!/bin/bash
CMD="cd /shared/source; make install"
VDIR=~/projects/vagrant/vagrant-ansible-samba-cluster
VNODES=""
reading=false
while read -r line || [[ -n "$line" ]]; do
if [[ "$line" == "[samba_servers]" ]]; then
reading=true
continue
fi
if [ "$reading" = true ]; then
if [ "x${line... | jarrpa/samba-hacking | hark-a-vagrant.sh | Shell | mit | 677 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2847-1
#
# Security announcement date: 2014-01-20 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:49 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - drupal7:7.14-2+deb7u2
#
# Last vers... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2014/DSA-2847-1.sh | Shell | mit | 633 |
#!/bin/sh
#
# Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
data_csv=$CBIG_LiGSR_REP_GSP_DIR/scripts/subjects/GSP_extended_140630.csv
ystem=""
root_dir="$CBIG_CODE_DIR/stable_projects/preprocessing/Li2019_GSR/VarianceComponentModel/scripts/"
main() {
##... | ThomasYeoLab/CBIG | stable_projects/preprocessing/Li2019_GSR/VarianceComponentModel/scripts/CBIG_LiGSR_LME_workflowGSP.sh | Shell | mit | 7,862 |
#!/bin/bash
#BSUB -J MS17-2
#BSUB -q hpc
#BSUB -W 24:00
#BSUB -n 20
#BSUB -R "span[hosts=1]"
#BSUB -R "rusage[mem=6GB]"
#BSUB -o MS17-2%J.log
##!/bin/sh
##PBS -N deep-evo
##PBS -q hpc
##PBS -l walltime=01:30:00
##PBS -l nodes=1:ppn=8
##PBS -l vmem=6gb
##PBS -j oe
##PBS -o Minesweeper04.log
## source https://github.c... | jakejhansen/minesweeper_solver | evolutionary/hpcjobs/Minesweeper17-1/ms_01.sh | Shell | mit | 1,473 |
#!/bin/bash
echo "We have the wordlists you want to use specified in the environment file so merging and sorting them to form one big wordlist (W) to bruteforce against"
echo "Saving the final merged wordlist at /data/subnames.txt"
while IFS=',' read -ra ADDR; do
for i in "${ADDR[@]}"; do
c+=/opt/subs... | anshumanbh/brutesubs | scripts/start-gobuster.sh | Shell | mit | 1,091 |
#!/bin/sh
cd /home/pi/Development/SpeechServer
/usr/bin/python3 speech_server.py
| hine/SpeechServer | speech_server.sh | Shell | mit | 81 |
#!/bin/bash
# format comment `//something` to `// something`
gofiles=$(find . -name "*.go" | grep -v "/vendor/")
for gofile in $gofiles; do
echo $gofile
sed '/\/\/[^[:space:]]/s/\/\//\/\/ /g' $gofile > tmp
mv tmp $gofile
done
| hiromaily/golibs | scripts/format-comment.sh | Shell | mit | 240 |
#!/bin/sh
#install dependencies
npm install
bower install
# clean and prepare public directory
rm -rf public
cp -r src public
# compile jade to html
./node_modules/.bin/nodemon -e jade --watch src --exec "
./node_modules/.bin/jade src -o public -PH
rm -rf src/*.html public/_partials" &
# compile sass to css
./n... | edstros/boilerplate | watch.sh | Shell | mit | 865 |
#!/bin/bash
ruby `dirname $0`/../branchulator.rb
| jnovek/branchulator | helpers/b.sh | Shell | mit | 49 |
#!/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... | FiRiN59/GNGeocoder | Example/Pods/Target Support Files/Pods-GNGeocoder/Pods-GNGeocoder-frameworks.sh | Shell | mit | 3,548 |
#!/bin/sh
./bin/jsmin < $1 > $1.tmp
rm $1
mv $1.tmp $1
| dilhansarica/fmug | utils/compress-one.sh | Shell | mit | 56 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2338-1
#
# Security announcement date: 2014-09-03 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:57 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - liblua5.1-0:5.1.4-12ubuntu1.1
# - lu... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2014/USN-2338-1.sh | Shell | mit | 884 |
#!/bin/bash
export LC_ALL=C
export DEBIAN_FRONTEND=noninteractive
minimal_apt_get_install='apt-get install -y --no-install-recommends'
## Temporarily disable dpkg fsync to make building faster.
if [[ ! -e /etc/dpkg/dpkg.cfg.d/docker-apt-speedup ]]; then
echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup
... | tomxiong/docker-baseimage | system_services.sh | Shell | mit | 3,311 |
#!/usr/bin/env bash
# N.B. turn this into a makefile
# where am I? (see http://stackoverflow.com/a/246128/298171)
export WORKON_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PRAXIME_BASE="${WORKON_HOME}/Praximes"
export PRAXON_TEMPLATES="${PRAXIME_BASE}/Templates"
export PRAXA_SETUP="${BASH_SOURCE[0]... | fish2000/Praxa | Praximes/Install/Inactive/praxa-install.sh | Shell | mit | 1,044 |
#! /bin/sh
# $Id: shunit2_test_asserts.sh 349 2013-05-20 15:48:13Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for assert functio... | opsb/heroku-buildpack-lytbulb | vendor/shunit2.1/src/shunit2_test_asserts.sh | Shell | mit | 6,583 |
#!/bin/bash
#
##########################################################################
#Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content
#Copyright (C) 2013
#Vincent C. Passaro (vince@buddhalabs.com)
#
##########################################################################
#
#################... | atomicturtle/t-stig | RHEL-06-000315.sh | Shell | mit | 3,585 |
#!/usr/bin/env bash
set -e # exit when error
if [[ -n $(npm owner add `npm whoami`) ]]; then
printf "Release: Not an owner of the npm repo, ask for it\n"
exit 1
fi
currentBranch=`git rev-parse --abbrev-ref HEAD`
if [ $currentBranch != 'master' ]; then
printf "Release: You must be on master\n"
exit 1
fi
if [... | PriamoHub/cafetownsend | node_modules/selenium-standalone/scripts/release.sh | Shell | mit | 757 |
#!/bin/bash
# First you set attributes for the queue.
# name the job (optional)
#PBS -N cloudy
# rename the standard output file (optional)[jobname.ojobid is default]
#PBS -o jobout
# rename the error file (optional)[jobname.ejobid is default]
#PBS -e joberr
# select the queue you want (gstar or sstar)
#PBS -q sstar
#... | nhmc/LAE | cloudy/grid/all/uvb_k12/qsub.sh | Shell | mit | 1,036 |
#!/bin/bash
if test "x$BINDGEN" == "x"; then
BINDGEN=bindgen
fi
$BINDGEN -DSTBI_HEADER_FILE_ONLY -match stb_image -o stb_image.rs stb_image.c
| tomaka/declmagic | deps/stb-image/gen.sh | Shell | mit | 147 |
#!/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... | petrusalin/APLfm | Example/Pods/Target Support Files/Pods-APLfm_Tests/Pods-APLfm_Tests-frameworks.sh | Shell | mit | 3,782 |
#/bin/bash
REBUILDDB=false
DEBUG=false
SERVER=""
UPDATEDB=false
while getopts rdus: option; do
case "${option}"
in
r) REBUILDDB=true;;
d) DEBUG=true;;
s) SERVER=${OPTARG};;
u) UPDATEDB=true;;
esac
shift
done
SRC='./../'
DEST='/var/www/html/Boter/'
#**************Versioning*****************
VerFile=ver... | gztproject/Boter | _deployment/deploy.sh | Shell | mit | 2,869 |
#!/bin/bash
echo "------------------------------------------"
echo "COM.FLOW.FILEPATH"
echo "Fichier KO de test"
echo "------------------------------------------"
fichier= "fichier.txt"
echo "coucou" > $fichier
date > $fichier
echo "test" > $dirbdtle/bd_objet/$n1/$n2/RCS.txt
cat "${DATE_EXE}_${TYPE_ACTION}_${NIV... | dupuisa/i-CodeCNES | shell-rules/src/test/resources/COM/FLOW/FilePath/error.sh | Shell | epl-1.0 | 1,058 |
#!/bin/sh
######################################################################
#
# @file orc.sh
#
# @brief Build information for orc.
#
# @version $Rev$ $Date$
#
# Copyright © 2016-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
#######################... | Tech-XCorp/bilder | packages/orc.sh | Shell | epl-1.0 | 1,972 |
#! /bin/sh
#
# cvs2vendor - move revsisions from files in A to files in B
#
# The primary reason for this script is to move deltas from a
# non-vendor branched repository onto a fresh vendor branched one,
# skipping the initial checkin in assumption that it is the same in
# both repositories. This way you can take a ... | sdottaka/cvsnt-sjis | contrib/cvs2vendor.sh | Shell | gpl-2.0 | 4,530 |
#!/bin/bash
export KERNELDIR=`readlink -f .`
export RAMFS_SOURCE=`readlink -f $KERNELDIR/ramdisk`
export USE_SEC_FIPS_MODE=true
echo "kerneldir = $KERNELDIR"
echo "ramfs_source = $RAMFS_SOURCE"
RAMFS_TMP="/tmp/arter97-e330-ramdisk"
echo "ramfs_tmp = $RAMFS_TMP"
cd $KERNELDIR
if [ "${1}" = "skip" ] ; then
echo "Ski... | adis1313/android_kernel_samsung_msm8974 | build_kernel_i9506.sh | Shell | gpl-2.0 | 2,381 |
#!/bin/ash
# make this file executable:
# chmod +x server_stats.sh
# add to crontab (command: crontab -e)
# * * * * * /path/to/server_stats.sh
# thingspeak api key for channel that data will be logged to
api_key='YOURAPIHERE'
# get cpu usage as a percent
used_cpu_percent=`top -b -n2 | fgrep "CPU" | head -1 | tr -s ... | jeffeb3/YunThermostat | linux/scripts/server_stats.sh | Shell | gpl-2.0 | 938 |
#!/bin/sh
#
# Script to compute peakshift results from data produced by
# jobs created from gen_3ppes.sh.
#
# we need cspline_max and normalize; those are in the ../tools dir
CSPLINE_MAX=~/tools/cspline_max
GAU_MAX=~/tools/gau_max
NORMALIZE=~/tools/normalize
# A prefix is required as the argument,
# output files is n... | yuanchung/qdas | scripts/peps/proc_3peps_avg.sh | Shell | gpl-2.0 | 2,283 |
/* Ryan Bridglal 10/29/2015
Start up a terminal.
use:
cvt
to get your information
EXAMPLE: I entered into my terminal
cvt 1920 1080
MY OUTPUT WAS THIS:
ryan@N1NJA:~$ cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 108... | ryanjbcom/Linux_Ubuntu_Create_Custom_Resolution | resolution.sh | Shell | gpl-2.0 | 729 |
#! /bin/sh
# Copyright (C) 2011-2013 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 ... | GavinSmith0123/automake-amplain | t/dist-missing-included-m4.sh | Shell | gpl-2.0 | 2,061 |
#! /bin/sh
################################################################################
## ##
## Copyright (c) 2012 FUJITSU LIMITED ##
## ... | anthony-kolesov/arc_ltp | testcases/kernel/controllers/memcg/functional/memcg_usage_in_bytes_test.sh | Shell | gpl-2.0 | 2,837 |
#!/bin/bash
#runs all tests given to it, stopping on the first unexpected failure
#knows to run subtests for basic_tests
function die() {
echo $1
exit 1
}
for i in "$@"; do
if [ "$i" = "basic_tests" ]; then
for a in $(./basic_tests list); do
echo "Running test $a"
for topo in "uniprocessor" "du... | JianguoWEI/Linux-EFQ | tools/linsched/tests/run_tests.sh | Shell | gpl-2.0 | 675 |
#!/bin/sh
## This script takes a filename and a list of key/value pairs, and
## substitutes the keys in the given file by the value.
##
substitute() {
FILE=$1
shift
MACROS="$@"
OLDIFS=$IFS
IFS=':'
CMD=
for LINE in $MACROS; do
KEY=`echo $LINE | cut -d'=' -f1`
VALUE=`echo $LINE | cut -d'=' -f2-`
... | urbalazs/gip | installer/substitute_vars.sh | Shell | gpl-2.0 | 431 |
#!/bin/bash
# 5.26. Gzip-1.9
set -e
cd $LFS/sources
rm -rf gzip-1.9
tar xf gzip-1.9.tar.xz
cd gzip-1.9
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
./configure --prefix=/tools
make
make install
cd $LFS/sources
rm -rf gzip-1.9
| TLyngeJ/lfs-toolchain-builder | scripts/gzip-1.9.sh | Shell | gpl-2.0 | 286 |
local action="$1"
local name="$2"
if @array-contains "${name}" "${BASHX_EVENTS_OPTS[@]}"; then
fwUtils.commonAction "${action}" "${name}" "${BX_EVENTS_PATH}" <<EOF
${BASHX_DOC_MARK} Description...
@throw-not-implemented '@TODO'
EOF
fi
@warn 'Invalid name!'
| reduardo7/hsabx | src/fwUtils/taskEvent.sh | Shell | gpl-2.0 | 262 |
#!/bin/bash
. ../versions
THIS_SCRIPT_PATH=`pwd`
DESTFOLDER=${THIS_SCRIPT_PATH}/bin
mkdir -p ${DESTFOLDER}
detectedSSLVersion=""
# Verify that OpenSSL has been downloaded
if [ -f openssl*z ]; then
for ssltgz in openssl*z
do
detectedSSLVersion=`echo $ssltgz | sed 's/openssl-\(.*\).tar.gz/\1/'`
done
else
echo "... | sylverb/NAStify | external/openssl/build.sh | Shell | gpl-2.0 | 7,194 |
#!/bin/bash
set -u
set -e
echo "Post-build: processing $@"
BOARD_DIR="$(dirname $0)"
# Copy index.html page for WPE Framework
if [ -f "${BOARD_DIR}/index.html" ]; then
mkdir -p "${TARGET_DIR}/www/"
cp -pf "${BOARD_DIR}/index.html" "${TARGET_DIR}/www/"
fi
# Copy keymap for Arris remote
if [ -f "${BOARD_DIR}/arris... | Metrological/buildroot-wpe | board/arris/post-build.sh | Shell | gpl-2.0 | 924 |
../build/svnf_simu --nGW=20 --nDw=300 --mat=0.2 --popBitrate=1Gbps --cpBitrate=2Gbps --vcs=1000 --vcv=100000 --ns3::TcpSocket::SegmentSize=14000 --ns3::TcpSocket::InitialCwnd=2 --as=10000000 --popDelay=25ms --cpDelay=50ms --transTime=1 --gwUp=0.01 --pVidCount=100 --pStart=20 --pMeanArrTime=0.05 --PeakVcs=1000 --Peak... | nherbaut/svnf-simu | eval1/eval1.sh | Shell | gpl-2.0 | 753 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="engrampa"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which mate-autogen... | monsta/engrampa | autogen.sh | Shell | gpl-2.0 | 558 |
#!/bin/sh
test -e Makefile && (echo "running make distclean..." && make distclean)
rm -f install-sh
rm -f mkinstalldirs
rm -f missing
rm -f config.guess
rm -f config.sub
rm -f configure
rm -f Makefile.in */Makefile.in
rm -f aclocal.m4
rm -f config.log config.cache
(cd yaccsrc && rm -f polyyacc.c polyyacc.h polylex.c)
#... | remyoudompheng/surf-1 | autoclean.sh | Shell | gpl-2.0 | 390 |
#!/bin/bash
#
#
#
#Переменные для создания пароля
MATRIX="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
LENGTH="6"
#Памятка об использовании
usage()
{
echo "Использование: $0 имя_сайта_без_домена"
exit 1
}
if [ $# -eq 0 ]; then
usage
fi
echo "Сей час мы будем все создавать для сайта $1!"
echo
echo... | das-ich/my_scripts | scripts/addsites-utf.sh | Shell | gpl-2.0 | 3,645 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.