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 |
|---|---|---|---|---|---|
# This hook ensures that we do the following in post-fixup:
# * wrap any installed executables with a wrapper that configures TCLLIBPATH
# * write a setup hook that extends the TCLLIBPATH of any anti-dependencies
tclWrapperArgs=( ${tclWrapperArgs-} )
# Add a directory to TCLLIBPATH, provided that it exists
_addToTclL... | NixOS/nixpkgs | pkgs/development/interpreters/tcl/tcl-package-hook.sh | Shell | mit | 2,383 |
#!/usr/bin/env bash
RUN_INTERVAL=${RUN_INTERVAL:-3600s}
MAX_FILES_COMPRESSED=${MAX_FILES_COMPRESSED:-1000}
WRITE_SEPARATE_MANIFEST=${WRITE_SEPARATE_MANIFEST:-y}
MOVE_RESOURCES=${MOVE_RESOURCES:-n}
SOURCE_DIR="${SOURCE_DIR:-/input}"
SINK_DIR="${SINK_DIR:-/output}"
BUILDER_CLASS="${BUILDER_CLASS:-zipsynchronizer.ZipSync... | CLARIAH/virtuoso-quad-log | resourcesync-generator/entrypoint.sh | Shell | mit | 851 |
#!/bin/bash
ver="5.00"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # get cur dir of this script
progName=$(basename -- "$0")
cd $DIR
echo "================================================"
echo "INFO : $progName $ver written by Claude Pageau"
# convid.sh - written by Claude Pageau
#
# This script will c... | pageauc/pi-timolo | source/convid.sh | Shell | mit | 12,321 |
#!/usr/bin/env bash
set -e
if [ ! -f package.json ]; then
# Avoid the problem of not being able to install the same package as name in package.json.
# Create an empty package.json.
npm init -y
echo '{"name": ""}' >package.json
fi
npm install "@prisma/engines"
pushd "node_modules/@prisma/engines"
PRISMA_FMT_B... | ruchee/vimrc | vimfiles/bundle/lsp-settings/installer/install-prisma-language-server.sh | Shell | mit | 552 |
#!/bin/sh
grep -v " -" bookings.dat |cut -b 12-|perl -e '$sum=0;while(<>){$sum+=$_;}print $sum'
echo
| hdznrrd/helperscripts | gnuplot/shackspace/revenuse.sh | Shell | mit | 101 |
#!/bin/bash
# Written by Nanbo Sun and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
###########################################
# Usage and Reading in Parameters
###########################################
# Usage
usage() { echo "
Usage: $0 -i <inDir> -s <scriptDir> -p <spmDir>... | ThomasYeoLab/CBIG | stable_projects/disorder_subtypes/Sun2019_ADJointFactors/step1_SPM_VBM/code/CBIG_MMLDA_step4_population2ICBM.sh | Shell | mit | 2,259 |
#!/bin/sh
#check for root user
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
# update userland
rm -rf /usr/obj/*
cd /usr/src
make obj
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
cd /usr/src
make build
echo "finished; check http://www.openbsd.org/faq/current.html"
| jan-schreib/openbsd-misc | sh/userland.sh | Shell | mit | 318 |
#!/bin/bash
FC_APP_USER=fc_feature_creature
FC_APP_DB_NAME=fc_feature_creature
FC_APP_TEST_DB_NAME=fc_feature_creature_test
docker run -it --rm postgres createuser -h 172.17.0.1 -U featurecreature -e $FC_APP_USER
docker run -it --rm postgres createdb -h 172.17.0.1 -U featurecreature -e --owner=$FC_APP_USER $FC_APP_DB... | gust/feature-creature | feature-creature/backend/scripts/setup-database.sh | Shell | mit | 442 |
vi lib/manage/version.rb
git commit lib/manage/version.rb -m "version bump"
git push origin master
rm manage*.gem
gem build manage.gemspec
gem push *.gem
| empowerunited/manage | deploy.sh | Shell | mit | 154 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE}")" && source "../utils.sh"
# Homebrew Formulae
# https://github.com/Homebrew/homebrew
declare -r -a HOMEBREW_FORMULAE=(
"caskroom/cask/brew-cask"
"coreutils"
"curl --with-openssl"
"wget --enable-iri"
"git --without-completions"
"mariadb"
"htop-osx... | brummbar/dotfiles | os/os_x/install_applications.sh | Shell | mit | 4,322 |
#!/bin/bash
metrics_output_folder="metrics"
container_name="kcov_container"
kcov_image="custom_kcov"
kcov_metrics_folder="/tmp/cov/."
[ ! -d "$metrics_output_folder" ] && mkdir "$metrics_output_folder"
docker ps -a | grep -q "$container_name$" && docker rm "$container_name"
docker build -t $kcov_image .
docker run \
... | Lilja/timelog | runMetrics.sh | Shell | mit | 488 |
#!/bin/bash
KEYWORDS_NEWJERSEY="New(| )Jersey|,(| )NJ\b"
KEYWORDS_NEWJERSEY_ALL="$KEYWORDS_NEWJERSEY"
if [ "$1" == "" ];
then
debug_start "New Jersey"
NEWJERSEY=$(egrep -i "$KEYWORDS_NEWJERSEY" "$NEWPAGES")
categorize "NEWJERSEY" "New Jersey"
debug_end "New Jersey"
fi | MW-autocat-script/MW-autocat-script | catscripts/Government/Countries/United_States/US_states/New_Jersey/NewJersey.sh | Shell | mit | 283 |
enable-spotlight() {
sudo mdutil -i on /
}
disable-spotlight() {
sudo mdutil -i off /
}
| masa0x80/dotfiles | .config/zsh/os/darwin/rc/spotlight.zsh | Shell | mit | 93 |
# Local git clone of svn repo
$ git svn clone -rHEAD <URL>
> [working-copy]
$ git add
> [staging-area]
$ git commit
> [repo]
# Amend commit message (if unpushed)
git commit --amend
# Remove file from staging area
git reset $file
# Make a branch (from the master)
git checkout -b dev/mybranchname
# Return to the mas... | yunque/thinkingaboutthinking | tips/git_tips.sh | Shell | cc0-1.0 | 5,592 |
#!/bin/sh
jam -j4 -sDEBUG_BUILD=true
| makuto/base2.0 | Build_Debug.sh | Shell | cc0-1.0 | 38 |
#!/bin/sh
SCRIPT_DIR=$(cd `dirname $0` && pwd)
cd $SCRIPT_DIR/../
lein test
| yantonov/paging-task | bin/lein-test.sh | Shell | epl-1.0 | 79 |
#!/bin/sh
while (true)
do
java Server 15 7777;
done;
| gomoku/Stahlfaust---Gomoku-AI-player | src/server/start.sh | Shell | gpl-2.0 | 55 |
#!/bin/bash
docker kill repeatafterme
docker rm repeatafterme
docker run -d --name repeatafterme --restart always -v /opt/repeatafterme/config.yaml:/etc/repeatafterme/config.yaml:z repeatafterme:latest
| Jmainguy/repeatafterme | packaging/docker/run.sh | Shell | gpl-2.0 | 202 |
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd $SCRIPTPATH
if [ -d build ]; then
rm -rf build
fi | codenameone/CodenameOne | maven/integration-tests/clean.sh | Shell | gpl-2.0 | 114 |
#!/bin/bash
#PACKAGE_DIR is used for creating a Debian / Ubuntu package and has no effect
#when it is not instantiated
if [[ ! $PACKAGE_DIR ]]; then
if [[ ! -e `which tunctl 2> /dev/null` ]]; then
echo "Missing tunctl -- install uml-utilities"
exit
elif [[ ! -e `which mono 2> /dev/null` ]]; then
echo "... | davidiw/ipop | scripts/install_debian.sh | Shell | gpl-2.0 | 1,458 |
#!/bin/sh
#make ARCH=arm CROSS_COMPILE=arm-generic-linux-gnueabi- uImage
make ARCH=arm CROSS_COMPILE=arm-generic-linux-gnueabi- uImage O=/work/build/
| webconnme/kernel | make_nxp2120.sh | Shell | gpl-2.0 | 153 |
#******************************************
function _[FN]_help()
{
cat <<EOF
[FN] [options] "command"
EOF
}
#******************************************
unset [FN]_CMDS
[FN]_CMDS=( \
"push" \
"modules" \
"comment" \
)
complete -F __[FN] [FN]
function __[FN]()
{
local cur prev
COMPREPLY=()
cur="... | jobworkfor/ezshell | ubuntu/easygit.sh | Shell | gpl-2.0 | 6,352 |
#!/bin/bash
# -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*-
# vim:autoindent:shiftwidth=4:tabstop=4:
#
# Run select tests by setting ONLY, or as arguments to the script.
# Skip specific tests by setting EXCEPT.
#
# e.g. ONLY="22 23" or ONLY="`seq 32 39`" or EXCEPT="31"
set -e
ONLY=${ONLY:-"$*"}
# bug number f... | behlendorf/lustre | lustre/tests/sanity.sh | Shell | gpl-2.0 | 272,770 |
#!/bin/bash
# Copyright (C) Martin Schlemmer <azarah@nosferatu.za.org>
# Copyright (C) 2006 Sam Ravnborg <sam@ravnborg.org>
#
# Released under the terms of the GNU GPL
#
# Generate a cpio packed initramfs. It uses gen_init_cpio to generate
# the cpio archive, and then compresses it.
# The script may also be used to gen... | futuretekinc/cortina-kernel-2.6.36 | scripts/gen_initramfs_list.sh | Shell | gpl-2.0 | 7,279 |
#!/bin/bash
if [ $# -lt 1 ]; then
echo "Please give me full path to directory that should be listed."
exit 0
fi
DIRECTORY=$1
let i=0 # define counting variable
W=() # define working array
while read -r line; do # process file by file
let i=$i+1
W+=($i "$line")
done < <( ls -1 ${DIRECTORY} )
FILE=$(dia... | folkien/scripts | filelist.sh | Shell | gpl-2.0 | 619 |
#!/bin/sh
#
# Copyright (c) International Business Machines Corp., 2001
#
# 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 l... | yankunsam/ltp | tools/make-file.sh | Shell | gpl-2.0 | 1,247 |
#!/bin/bash
#
# Perform an audit of which packages provide documentation and which
# are missing -doc packages.
#
# Setup requirements: be sure to be building for MACHINE=qemux86. Run
# this script after source'ing the build environment script, so you're
# running it from build/ directory.
#
# Maintainer: Scott Garman ... | pli3/pli3-openpli3 | openembedded-core/scripts/contrib/documentation-audit.sh | Shell | gpl-2.0 | 3,416 |
#!/bin/bash
export IMAGES="*.png *.ico"
export TEXT="*.html *.css ChangeLog *.pdf"
rsync -v -L -r --rsh="ssh" ${IMAGES} ${TEXT} icculus.org:/webspace/projects/referencer/
| egroeper/referencer | www/upload.sh | Shell | gpl-2.0 | 173 |
#!/bin/sh
#
# generate a g++ option list that will include all libraries of SNS
# except those specified in the $exclude list below
snslibdir="$SNS/lib"
snslibs="-L$snslibdir "
# space-separated list of libraries to exclude
exclude="libprog.so"
for i in `ls $snslibdir/lib*so`; do
for j in $exclude ; do
... | TheGreatestTeamOfCodersEverAssembled/SNSBuildSys | build/sns-libs.sh | Shell | gpl-2.0 | 467 |
#!/bin/sh
#Author: Romain Goffe
#Date: 07/05/2011
#Description: Generate an sb file containing all the songs that are not
# already in volume-1 and volume-2
#all songs
cd songs
ls -1 */*.sg > ../res1
cd ..
#get volume 1 list
tail -n +12 volume-1.sb > tmp1
head -n -2 tmp1 > list1
sed -i -e "s/\",//g" -e "s/ \"//g"... | bgauzere/songs | utils/volume-3.sh | Shell | gpl-2.0 | 864 |
#pretty prints .dat file in csv to show on xyplane
#usage : sh pprint.sh <filename> <colnums+1>
#example: sh pprint.sh xyiris.dat 2,3 ----> xyiris.dat has only 2 cols: 1 and 2
python csver.py $1 | cut -d',' -f1,$2
| nave91/teak-nbtree | graph_tools/pprint.sh | Shell | gpl-2.0 | 217 |
#/bin/bash.sh
rm etc/dict.utf8.xdb
php make_xdb_file.php etc/dict.utf8.xdb dict.utf8.txt | jkzleond/school | themes/school_base/libraries/pscws/make.sh | Shell | gpl-2.0 | 88 |
#This shell script is used to generate cscope.out for gcc project
#especially for the nRF51 project above the SDK 8.
#Call the script at the Makefile directory.
#Don't forget add below script at the end of Makefiel:
#print-%:
# @echo '$($*)'
#!/bin/bash
current_path=`pwd`
inc_paths=`make -f Makefile print-INC_PAT... | JoxC/gen_cscopeout | gencsout.sh | Shell | gpl-2.0 | 669 |
#!/bin/sh
echo i386-elf
| tcharding/tos | default-host.sh | Shell | gpl-2.0 | 24 |
export TSLIB_PLUGINDIR=/usr/lib/ts
| atmark-techno/atmark-dist | vendors/AtmarkTechno/Armadillo-440/etc/profile.d/libts_0_env.sh | Shell | gpl-2.0 | 35 |
#!/usr/bin/env sh
./client --ip 127.0.0.1 --port 8989 --app-path bajetii/jmqp \
--read --personal --name ibalutoiu
| aznashwan/jmqp | clients/go/recieve_message.sh | Shell | gpl-2.0 | 120 |
Bin=`dirname $(readlink -f $0)`
#!/bin/bash
for a in `ls *.p1 *.p2 *.probe`
do
perl $Bin/seq_out2.pl $a
done
| kongdeju/ppdesigner | scripts/seq_out2.sh | Shell | gpl-2.0 | 109 |
#!/bin/sh
##
## configure.sh
##
## This script is sourced by the main configure script and contains
## utility functions and other common bits that aren't strictly libvpx
## related.
##
## This build system is based in part on the FFmpeg configure script.
##
#
# Logging / Output Functions
#
die_unknown(){
ec... | qtekfun/htcDesire820Kernel | external/libvpx/libvpx/build/make/configure.sh | Shell | gpl-2.0 | 38,215 |
#!/bin/sh
# The GNU standard wants to see some extra file in the top-level directory
# (and if not found automake may report an error)
touch AUTHORS NEWS README ChangeLog
# build configure script
aclocal -I acinclude
autoheader
automake --foreign --include-deps --add-missing --copy
autoconf
echo "Now you are ready t... | gak/gravit | autogen.sh | Shell | gpl-2.0 | 339 |
<<<<<<< HEAD
#!/bin/sh
=======
#!/bin/bash
>>>>>>> 296c66da8a02d52243f45b80521febece5ed498a
# Copyright (C) Martin Schlemmer <azarah@nosferatu.za.org>
# Copyright (C) 2006 Sam Ravnborg <sam@ravnborg.org>
#
# Released under the terms of the GNU GPL
#
# Generate a cpio packed initramfs. It uses gen_init_cpio to generate
... | Core2idiot/Kernel-Samsung-3.0...- | scripts/gen_initramfs_list.sh | Shell | gpl-2.0 | 8,675 |
#!/bin/bash
browser-sync start --proxy "localhost" --files "*.php, *.css, **/*.php, **/*.css" --no-open
| Baelx/helen-of-joy | startbs.sh | Shell | gpl-2.0 | 104 |
#! /bin/sh
# Copyright (C) 2011-2022 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 ... | autotools-mirror/automake | t/tap-missing-plan-and-bad-exit.sh | Shell | gpl-2.0 | 1,229 |
#!/bin/bash
cd fftw-3.2.1
./configure.int.dvj
make
sudo make install
./configure.float.dvj
make
sudo make install
cd ..
| revast/dvj | dep/src/fftw-3.2.1.sh | Shell | gpl-3.0 | 122 |
# functions for debootstrap-utils
if [ -z "$1" ] ; then
echo "ERROR: please specify a configuration-file!"
echo
echo '#-- example --#'
echo 'SUITE="hardy"'
echo 'ARCH="i386"'
echo 'TARBL="`pwd`/debootstrap_${SUITE}_${ARCH}.tar"'
echo 'DEST="`pwd`/${SUITE}_${ARCH}"'
echo 'REPO="http://de.archive.ubuntu.com/ubun... | ehrenfeu/simplify | chroot_helper/debootstrap_inc.sh | Shell | gpl-3.0 | 1,366 |
#!/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... | Zahzi/DMX-DIP-Converter | DMX-DIP Converter/Pods/Target Support Files/Pods-DMX-DIP Converter/Pods-DMX-DIP Converter-frameworks.sh | Shell | gpl-3.0 | 3,781 |
#! /bin/bash
rm -f src/*.gcov
rm -f src/*.gcda
rm -f src/*.gcno
rm -f tests/*.gcov
rm -f tests/*.gcda
rm -f tests/*.gcno
lcov -d src/ -d tests/ -z
#FLAGS="-fprofile-arcs -ftest-coverage -g -O0"
FLAGS="--coverage -g -O0"
autoreconf --install && ./configure CFLAGS="$FLAGS" && prove
lcov -d src/ -d tests/ -c -o haigo... | cledo/HaiGo | coverage.sh | Shell | gpl-3.0 | 854 |
#!/bin/bash
# Integration Tests
echo ""
echo "========================================"
echo "Integration tests with ecukes"
cask exec ecukes
# Unit Tests
echo ""
echo "========================================"
echo "Unit tests with ert"
cd test || exit
emacs -batch -Q -L . -l commify-test.el -f ert-run-tests-batch
| ddoherty03/commify | run-tests.sh | Shell | gpl-3.0 | 319 |
# Basic preparation
# -----------------------
sudo apt install git
git clone https://github.com/manoeldesouza/cookbook
sudo apt-get update && sudo apt-get upgrade -y
# Additional repositories
# -----------------------
sudo apt-add-repository -y ppa:webupd8team/brackets
sudo apt-add-repository -y ppa:moka/daily
su... | manoeldesouza/Cookbook | Inspiron-Ubuntu.sh | Shell | gpl-3.0 | 4,827 |
#!/bin/sh
autoreconf -i -Wall
#intltoolize --force --automake
| Keruspe/ku-lang | autogen.sh | Shell | gpl-3.0 | 63 |
#!/bin/bash
# Script Name: Pyload Auto Installer
# Author: STX2k (2016)
#############################################
# Color definition variables
YELLOW='\e[33;3m'
RED='\e[91m'
BLACK='\033[0m'
CYAN='\e[96m'
GREEN='\e[92m'
# Make sure to clear the Terminal
clear
# Display the Title Information
echo -e $CYAN
echo -e ... | STX2k/pyload-autoinstaller | pyload-ass.sh | Shell | gpl-3.0 | 6,695 |
#!/bin/sh
###
### This script creates a tarball of the current state of this repository.
### Files listed in .gitignore are ignored. All other files (even files not
### tracked by git!) are included in the resulting tarball.
### The tarball gets saved to the project root.
###
PROJECT_ROOT="$(cd "$(dirname "$0")/.." ... | AnsgarKlein/GPG-Gui | scripts/create-tarball.sh | Shell | gpl-3.0 | 1,495 |
#!/bin/sh
if which mysqld>/dev/null 2>&1 ;
then
echo 0 > ~/install-exit-status
else
echo "ERROR: mysql server is not found on the system!"
echo 2 > ~/install-exit-status
fi
echo "diff --git a/tests/test_run.sh b/tests/test_run.sh
index 669ed751..17ef0fac 100755
--- a/tests/test_run.sh
+++ b/tests/test_run.sh
@@ -86... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/system/mysql-1.0.0/install.sh | Shell | gpl-3.0 | 2,928 |
#!/bin/bash
# ----------------------------------------------------------------------------------------
# dual barcode data from chaim/sai(?)
label=chimera-dual-barcode
datadir=/fh/fast/matsen_e/data/$label
outdir=$fs/partis/$label/fixed-d-synthesis
for fn in good chimeras; do
mkdir -p $outdir/$fn
# ./bin/part... | psathyrella/partis | bin/run-chimeras.sh | Shell | gpl-3.0 | 4,863 |
#!/bin/sh
# falls das Programm vom letzten Start noch läuft
# wird es beendet
while [ "$(ps aux | grep "[M]Server.jar")" ]
do
echo
echo ===========================================
echo ===========================================
echo
echo da lauft noch was!!!!!!
echo
echo ====================================... | mediathekview/MServer | dist/STOPPEN__MServer.sh | Shell | gpl-3.0 | 666 |
#!/bin/sh
until python ./src/Firehose.py "$1" "$2"; do
echo "Server crashed with exit code $?. Respawning.." >&2
sleep 30
done
| kearnsw/Twitt.IR | firehose.sh | Shell | gpl-3.0 | 131 |
#!/bin/bash
source 00-config.sh
# ----------------------------------------------------------------------
# Arch Linux :: Install
# ----------------------------------------------------------------------
# https://github.com/airvzxf/archLinux-installer-and-setup
# -------------------------------------------------------... | airvzxf/archLinux-installer-and-setup | src/laptop_MSI_GT73EVR_7R_Titan_Pro/03-installer/01b-pre-installation-efi.sh | Shell | gpl-3.0 | 3,873 |
#!/bin/bash -e
PROJECT=ImageViewer
BUILDDIR=build_osx_qt5.15_universal_target10.10
APPNAME="Image Viewer"
DMGNAME="${PROJECT}_qt5.15_universal_target10.10"
OUT_PATH="src/${PROJECT}"
ENTITLEMENTS_PATH="src/${PROJECT}/resources/platform/macosx/${PROJECT}.entitlements"
APP_CERT="Developer ID Application: Petr Zhigalov (48... | AlienCowEatCake/ImageViewer | buildscripts/osx_qt5.15_universal_target10.10.sh | Shell | gpl-3.0 | 4,545 |
#!/bin/bash -
#===============================================================================
#
# FILE: findvar.sh
#
#USAGE="./findvar.sh "
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Tang (Tang), chao.tang.1@gmail.com
# ORG... | CopyChat/RegCM_postProcess | findvar.cloud.sh | Shell | gpl-3.0 | 1,198 |
#---------------------------------------------------------------------
# Function: InstallAntiVirus
# Install Amavisd, Spamassassin, ClamAV
#---------------------------------------------------------------------
InstallAntiVirus() {
echo -n "Installing Anti-Virus utilities... (This take some time. Don't abort it ..... | WeslleyJackson/ISPConfig3-Master-port-81 | distros/debian8/install_antivirus.sh | Shell | gpl-3.0 | 1,158 |
#!/bin/sh
#
# The analyze cyclic
#
help () {
echo
echo "The auto-encoder cyclic analysis over list of records"
echo "Usage:"
echo " analyze_cyclic.sh prefix end start"
echo " prefix - the record prefix"
echo " end - the last record index"
echo " start - the f... | yaricom/brainhash | analyze_cyclic.sh | Shell | gpl-3.0 | 610 |
#! /bin/sh -e
SCRATCH=scratch/$(basename $0 .sh)
rm -rf ${SCRATCH}
mkdir -p ${SCRATCH}
mkdir -p ${SCRATCH}/libsA
mkdir -p ${SCRATCH}/libsB
cp main ${SCRATCH}/
cp libfoo.so libbar.so ${SCRATCH}/libsA/
cp libfoo.so libbar.so ${SCRATCH}/libsB/
oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/main)
if test -z "$oldRP... | NixOS/patchelf | tests/shrink-rpath-with-allowed-prefixes.sh | Shell | gpl-3.0 | 1,358 |
#########################################
# GNU GPL License v3 #
# Author: Amir Yahyavi #
#########################################
#!/bin/bash
source config.sh
source utils.sh
echo $originaldata_format
cd $data_path
nlines=10000
for file in $originaldata_format*.xml;
do
... | yahyavi/solrcloud | scripts/smaller.sh | Shell | gpl-3.0 | 665 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distributio... | goofwear/RetroPie-Setup | scriptmodules/admin/setup.sh | Shell | gpl-3.0 | 11,441 |
#!/bin/bash
echo "Performing initial tasks..."
export ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
export EMULATOR=emulator
#export ANDROID_ABI=google_apis/x86_64 # google_apis/armeabi-v7a
#export ANDROID_TARGET="\"Google Inc.:Google APIs:22\"" #"\"Google Inc.:Google APIs:22\""
export EMULATOR_OPTIONS="-ver... | intari/readingtracker | jenkinsPreBuild.sh | Shell | gpl-3.0 | 1,115 |
#!/bin/bash
if [ $# -lt 1 ]
then
echo "get-products.sh [ORG_ID]"
exit 1
fi
## List all of the hammer products
hammer content-view list --organization-id $1
| my0373/handy-hammer-scripts | get-content-views.sh | Shell | gpl-3.0 | 159 |
#!/bin/bash
checkTime=$(date | awk '{print $4}')
if [[ ${checkTime} > "05:00:00" ]]
then
echo "Running day scripts"
./dayScript/list.sh
elif [[ ${checkTime} < "05:00:00" ]]
then
echo "Running night scripts"
./eveningScript/list.sh
fi
| alxr91/e-papperskvitto | checkTime.sh | Shell | gpl-3.0 | 241 |
#!/usr/bin/env bash
# Switch batch to homebrew master branches
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
git checkout master
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-science
git checkout master
# Update homebrew; hopefully this works without errors!
brew update
# Switch back to the caffe... | winnerineast/Origae-6 | bin/brew_update.sh | Shell | gpl-3.0 | 657 |
#!/bin/bash -ex
# Generate HTML man pages for GNU projects:
# gcc, binutils, as, ld.
# This script takes an output directory as an argument.
root_dir=$(readlink -e $(dirname $0))
build_dir=$root_dir/_html_man_build
install_dir=$root_dir/_html_man_install
output_dir=${1:-$root_dir/_html_man_install}
mkdir -p $instal... | foss-for-synopsys-dwc-arc-processors/toolchain | generate-html-man-pages.sh | Shell | gpl-3.0 | 1,319 |
#!/bin/bash
#SBATCH -t 14-00:00:00
module load R/3.0.0;
module load phylobayes/3.3f;
perl sowhat --rax=/users/shchurch/scratch/FB_analyses/raxmlHPC --garli=/users/shchurch/scratch/FB_analyses/Garli-2.01 --seqgen=/users/shchurch/scratch/FB_analyses/seq-gen --aln=published_datasets/Edwardsetal2005.phy --constraint=pub... | josephryan/sowhat | analysis/E52.sh | Shell | gpl-3.0 | 434 |
#!/bin/bash
#
# Instalador desatendido para Openstack sobre CENTOS
# Reynaldo R. Martinez P.
# E-Mail: TigerLinux@Gmail.com
# Julio del 2013
#
# Script de instalacion y preparacion de pre-requisitos
#
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
if [ -f ./configs/main-config.rc ]
then
sour... | tigerlinux/openstack-grizzly-installer-centos6 | modules/requeriments.sh | Shell | gpl-3.0 | 4,925 |
#!/bin/sh
export LANG='ru_RU.UTF-8';
export LANGUAGE="${LANG}";
export LC_CTYPE="${LANG}";
export LC_NUMERIC="${LANG}";
export LC_TIME="${LANG}";
export LC_COLLATE="${LANG}";
export LC_MONETARY="${LANG}";
export LC_MESSAGES="${LANG}";
export LC_PAPER="${LANG}";
export LC_NAME="${LANG}";
export LC_ADDRESS="${LANG}";
ex... | progman/libcore.sh | boot/xterm-utf8.6.sh | Shell | gpl-3.0 | 4,737 |
#!/bin/bash
function hi {
echo "hello there"
}
"$@"
| kallimachos/bash | func-CLI.sh | Shell | gpl-3.0 | 58 |
#!/bin/sh
#rename all .txt in .asm
for f in *.txt; do
mv -- "$f" "${f%.txt}.asm"
done
| v2-dev/mips_learn | rename.sh | Shell | gpl-3.0 | 89 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-11-A/20161129T151759+0000/00/00/averageratioevent_3_ID0000027.sh | Shell | gpl-3.0 | 1,261 |
# If you're using the Islandora Vagrant (https://github.com/Islandora-Labs/islandora_vagrant)
# and you want to have Groovy load the images for you, add this script to the scripts directory
# in your Islandora Vagrant instance before running 'vagrant up'.
echo "Installing some sample content using Islandora Groovy"
c... | mjordan/islandora_groovy | vagrant/scripts/custom.sh | Shell | gpl-3.0 | 481 |
#!/usr/bin/env bash
#$ -S /bin/bash
#$ -cwd
#$ -N prepare_data
#$ -o log/$JOB_NAME.$JOB_ID.o
#$ -e log/$JOB_NAME.$JOB_ID.e
#$ -hard -l mem_free=2g -l act_mem_free=2g -l mnth_free=20g
#$ -p -500
echo $HOSTNAME: $JOB_NAME $@ >/dev/stderr
renice 10 $$ >/dev/null
TMP=/mnt/h/tmp
. ~/hector_robot/setenv.sh
. ~/hector_robo... | qiq/hector_robot | misc/language/prepare_data.sh | Shell | gpl-3.0 | 1,296 |
#!/bin/bash
for f in $1/*.gz
do
filef="$(basename -- $f)"
mkdir --parents $1/${filef:0:3}/${filef:4:3}/${filef:7:3}/${filef:10:3}/ ; mv $f $_
echo "$filef $1/${filef:0:3}/${filef:4:3}/${filef:7:3}/${filef:10:3}/" >> genome_paths.tsv
done | Ecogenomics/GtdbTk | scripts/restructure_reps_fna_folder.sh | Shell | gpl-3.0 | 245 |
#Configuration file for the breeding cycle.
NBV=1 #Number of bred vectors to be computed.
#################### System configuration ######################################
LD_LIBRARY_PATH_ADD="/data/opt/netcdf-fortran/4.4.1_intel/lib/:/data/opt/hdf5/1.8.14_intel/lib/:/data/opt/netcdf/4.3.2_intel/lib/"
MY_OMP_NUM_THR... | gustfrontar/LETKF_WRF | scale_breeding/configuration/breeding_osaka_pawr_1km_bip_local_1000m_UVT/config.sh | Shell | gpl-3.0 | 3,186 |
#!/bin/bash
set -e # Exit with nonzero exit code if anything fails
SOURCE_BRANCH="master"
TARGET_BRANCH="build-dist"
function doCompile {
npm run build:server
}
mkdir dist
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
# if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAV... | IdleLands/IdleLands | scripts/deploy.sh | Shell | gpl-3.0 | 1,850 |
#!/bin/sh
../src/skeleton --asdf
if [ $? = 0 ]
then
exit 1
else
exit 0
fi
| stuart-bassett/skeleton | tests/wrong_args_test.sh | Shell | gpl-3.0 | 77 |
#!/bin/ksh
COUNT=$1; shift
CMD="$@"
N=0
SYS=0
USER=0
REAL=0
while [ $N -lt $COUNT ]; do
TIME=$( { /usr/bin/time -l $CMD >/dev/null; } 2>&1 | head -n 1 )
REAL="$REAL + $(echo $TIME | cut -d' ' -f1)"
USER="$USER + $(echo $TIME | cut -d' ' -f3)"
SYS="$SYS + $(echo $TIME | cut -d' ' -f5)"
(( N = $N + 1 ))
done
pr... | kkaaii/c | ioccc/2015/howe/avgtime.sh | Shell | gpl-3.0 | 524 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-08-A/20161207T230106+0000/00/00/taskevent_2_ID0000008.sh | Shell | gpl-3.0 | 1,237 |
#! /bin/sh
# Check for the command line arguments.
if [ $# -lt 2 ]
then
echo
echo "Usage: $0 <Arguments>"
echo
echo "Arguments are:"
echo
echo "1. File with the list of Fv/Fab PDB codes"
echo "2. File with the list of dimer PDB codes"
echo
exit 0
fi
fvPDBCodesFilename=$1
dimerPDBCodesFilen... | ACRMGroup/canonicals | scripts/support/number_sequences.sh | Shell | gpl-3.0 | 1,479 |
# recommend to setup a VPN for remote connections, otherwise use hostssl
# instead of host
local gnuvet _logname_ md5
host gnuvet _logname_ _iprange_ md5
| gnuvet/gnuvet | sql/hbaconf.sh | Shell | gpl-3.0 | 154 |
#!/bin/bash
#
# Author: Martin 'BruXy' Bruchanov, bruchy(at)gmail.com
#
####################
# Global variables #
####################
FPS=25 # Output video frame per second rate
TZ='America/Halifax'
FFCAT=/usr/local/bin/ffcat.sh # script for concatenating of video files
DATE=$(TZ=$TZ date +"%Y-%m-%d")
FINAL=Halifax_... | BruXy/time-lapse-utils | encode.sh | Shell | gpl-3.0 | 1,142 |
#!/bin/bash
# ./analyze.sh "assets/test.mp4" 0.4
movie=$1
sensitivity=$2
rm ${movie}.edl
fps=$(mplayer -really-quiet -vo null -ao null -frames 0 -identify "${movie}" | grep 'ID_VIDEO_FPS' | cut -d'=' -f2)
#ffprobe -loglevel error -show_frames -of compact=p=0 -f lavfi "movie=${movie},select=gt(scene\,${sensitivity... | denjello/VTT-Editor | bin/analyze_advanced.sh | Shell | gpl-3.0 | 1,101 |
#!/bin/bash -l
case ${VSC_INSTITUTE_CLUSTER} in
thinking)
source switch_to_2015a
module load intel/2015a
;;
breniac)
module load intel/2016a
;;
esac
./configure CC=mpiicc --prefix="${HOME}/tmp/usr"
if [ $? ]
then
make install
fi
| gjbex/worker | build.sh | Shell | gpl-3.0 | 284 |
#!/bin/sh
# gendocs.sh -- generate a GNU manual in many formats. This script is
# mentioned in maintain.texi. See the help message below for usage details.
# $Id: gendocs.sh,v 1.16 2005/05/15 00:00:08 karl Exp $
#
# Copyright (C) 2003-2007, 2009-2013 Free Software Foundation, Inc.
#
# This program is free software;... | philenotfound/parted | doc/gendocs.sh | Shell | gpl-3.0 | 9,603 |
#!/bin/sh
search() {
find . \( -name "*.h" -o -name "*.c" -o -name "*.cpp" -o -name "*.cxx" \) -exec grep -Hn "$*" {} \; | grep -v -E '\.\/glx?ew' | grep -v ./Renderer/SOIL2/SOIL2.c | grep -v FBO.cpp
}
listIssues() {
search SDL_WM_GrabInput
search SDL_WarpMouse
search SDL_GL
search GL_CLAMP
search glColor|grep -v g... | revmischa/projectm | src/libprojectM/gles.sh | Shell | lgpl-2.1 | 622 |
#!/bin/bash
#
# file avgScript.sh
# author Tri Kurniawan Wijaya
# date Tue 26 Apr 2011 01:09:59 PM CEST
#
# brief: take average time in solving MLP for each topology
#
# require 1 param
# 1st param: main summary directory to be processed.
# For example: SummaryCore
#
targetDir=$1
statsScript="stats.a... | hexhex/core | mlp-generator/avgScript.sh | Shell | lgpl-2.1 | 941 |
#!/bin/bash
cat /home/huangda/cluster_six_nodes | while read a; do echo $a; ssh -n $a df -h;done | more
| hdc1112/PVFS-LiU | hdc/code-snippet/check_storage.sh | Shell | lgpl-2.1 | 106 |
#!/bin/bash
. $(dirname $0)/commands.sh
usage="
$(basename "$0") [-t] [-g] [-h] -- program to build GUB (GStreamer Unity Bridge)
where:
-t | --test build android application for testing GUB
-g | --gstAnd use prebuilded libgstreamer_android.so
-h | --help show this help text
"
BUILD_TEST=false
COPY... | ua-i2cat/gst-unity-bridge | Plugin/GUB/Project/Android/docker/entrypoint/docker-entrypoint.sh | Shell | lgpl-3.0 | 666 |
docker build -t riemann .
| crankydillo/riemann-monitor | docker/riemann-server/build.sh | Shell | apache-2.0 | 26 |
#! /usr/bin/env bash
# Copyright 2018 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | GoogleCloudPlatform/gke-datadog-demo | scripts/create.sh | Shell | apache-2.0 | 1,809 |
#!/bin/sh
exec scala "$0" "$@"
!#
import java.io._
import scala.io.Source
val hard_sort = "&sort"
val soft_sort = "&soft_sort"
val browse = "&cat_id=3"
val search = "&cat_id=0"
val facet = "&facet.filter.query"
val third_row = "&start=60"
val seventh_row = "&start=140"
val file_prefix = "outp... | kagan770/cepheid_variable | src/generate_files.sh | Shell | apache-2.0 | 2,819 |
#!/bin/bash
# Script to create a "build" subdirectory. This is a subdirectory
# containing a bunch of symlinks, from which the app can be updated.
# The main reason for this is to import Django from a zipfile, which
# saves dramatically in upload time: statting and computing the SHA1
# for 1000s of files is slow. Ev... | jamslevy/gsoc | scripts/build.sh | Shell | apache-2.0 | 2,627 |
#!/bin/bash
#
# Turn on tracing, we want to see what's going on
#set -x
#------------------------------------------------------------------------------
ant clean
echo "Press enter to continue..."
line=""
read line
| LiberatorUSA/GUCEF | projects/Android/AntClean.sh | Shell | apache-2.0 | 219 |
#!/usr/bin/env bash
if [ -z $1 ]; then
echo 'TESTING'
elif [ "$1" = "FAIL" ]; then
echo 'FAIL TESTING' >&2
exit 5
else
str=""
for VAR in "$@"
do
str="$str | $VAR"
done
echo $str
fi
| puppetlabs/pxp-agent | lib/tests/resources/scripts_cache/71A2725F36221AAE75AF076D01D18744DA461A02DD2AB746447BC41C71248562/test_script.sh | Shell | apache-2.0 | 202 |
#!/bin/bash -e
partition_number=1
device_name=${DEVICE}
echo "Checking existing partition for $device_name"
export LC_ALL=C
sudo parted --script $device_name print 2>/dev/null | grep "Partition Table: unknown"
PARTITION_UNKNOWN=$(echo $?)
if [ $PARTITION_UNKNOWN -eq 0 ] ; then
echo "Creating disk partition gpt on... | alien4cloud/alien4cloud-extended-types | alien-extended-storage-types/scripts/parted.sh | Shell | apache-2.0 | 746 |
#!/bin/bash
source /etc/profile
CLASSPATH=$(find $QM_LIBS -maxdepth 1 -name '*.jar' -printf '%p:' | sed 's/:$//'):$(find $PROVIDED_LIBS -maxdepth 1 -name '*.jar' -printf '%p:' | sed 's/:$//'):$(find $STORM_HOME/lib -name '*.jar' -printf '%p:' | sed 's/:$//')
java -Dstorm.conf.file=conf/storm.yaml -Dqm.home.dir=$QM_H... | QualiMaster/Infrastructure | AdaptationLayer/scripts/cli.sh | Shell | apache-2.0 | 399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.