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
python -m unittest discover "$(dirname "${0}")"
| DexterLB/bookrat | run_tests.sh | Shell | mit | 60 |
# Go to project > Repository and set the branch filter
# Then click on "View Key" and paste it on github
npm install -g karma-cli
npm install
echo "\n> Ensure that the code is warning free"
make lint || exit 1
echo "\n> Run tests"
make tests || exit 1
#echo "\n> Prepare tests for browsers"
#node_modules/.bin/gulp s... | christophehurpeau/springbokjs-library-skeleton | .drone.sh | Shell | mit | 807 |
#!/bin/bash
HADOOP_PATH=~/hadoop-2.7.0
APP_NAME=MinimalMapReduce
JAR_NAME=MinimalMapReduce
# run
$HADOOP_PATH/bin/hadoop jar $JAR_NAME.jar $APP_NAME input output
| ArthurChiao/hadoop_by_examples | 12_MapReduce/MR_01_MinimalMapReduce/run.sh | Shell | mit | 165 |
#!/bin/bash
rsync -Calrpz matchmaker/static/ nathan@gnmerritt.net:~/casino/static/
| gnmerritt/casino | update_assets.sh | Shell | mit | 84 |
export RAILS_ENV=test
for version in 4.1
do
echo "Testing Rails version " $version
rm Gemfile.lock
if [ -f Gemfile.lock.$version ];
then
echo Reusing Gemfile.lock.$version
cp Gemfile.lock.$version Gemfile.lock
fi
rm spec/dummy_4/db/test.sqlite3
export RAILS_VERSION=$version
spec/ci.rb
cp Gemf... | straydogstudio/axlsx_rails | spec/test_4.1.sh | Shell | mit | 356 |
#!/bin/bash
URL_OLD_HOSTS=/etc/hosts
URL_NEW_HOSTS=http://googleips-google.stor.sinaapp.com/hosts
if [ `grep "http://www.findspace.name" $URL_OLD_HOSTS | wc -l` -gt 0 ]; then
BEGIN=$(grep -n "^#+BEGIN" $URL_OLD_HOSTS | awk -F: '{print $1}')
diff -Naur <(tail -n +$BEGIN $URL_OLD_HOSTS) <(curl -sL $URL_NEW_HOST... | ChenJian345/autohosts | bin/autohosts.sh | Shell | mit | 404 |
#!/usr/bin/env bash
echo "pre commit hook start"
CURRENT_DIRECTORY=`pwd`
GIT_HOOKS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_DIRECTORY="$GIT_HOOKS_DIR/../.."
cd $PROJECT_DIRECTORY;
PHP_CS_FIXER="vendor/bin/php-cs-fixer"
HAS_PHP_CS_FIXER=false
if [ -x "$PHP_CS_FIXER" ]; then
HAS_PHP_CS_FI... | antimattr/payment | bin/pre-commit.sh | Shell | mit | 711 |
#! /usr/bin/env node
var shell = require("shelljs");
shell.exec("node scripts/build.js");
| nacmartin/prismsvg | scripts/runbuild.sh | Shell | mit | 90 |
#!/usr/bin/env bash
# ------------------------------------------------------------------------------
#
# Program: initpost.sh
# Author: Vitor Britto
# Description: script to create an initial structure for my posts.
#
# Usage: ./initpost.sh [options] <post name>
#
# Options:
# -h, --help output instructions
... | robsonalvesbh/robsonalvesbh.github.io | initpost.sh | Shell | mit | 4,340 |
#!/bin/bash
while [[ 1 = 1 ]]; do
pid=`qsub -q phi latedays-worker.sh`
while qstat $pid; do
sleep 10s
done
done
| jpdoyle/OmegaGo | repeat-work.sh | Shell | mit | 134 |
#!/bin/bash
VERSION=`lsb_release -rs`
CODENAME=`lsb_release -cs`
sudo wget -O - https://repo.saltstack.com/apt/ubuntu/$VERSION/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
sudo echo "deb http://repo.saltstack.com/apt/ubuntu/$VERSION/amd64/latest $CODENAME main" > /etc/apt/sources.list.d/saltstack.list
sudo... | rsmacapinlac/hwhl | bootstrap/setup-salt.sh | Shell | mit | 410 |
#!/bin/bash
# tested with:
# Amazon kindlegen(Linux) V2.9 build 1028-0897292
# pandoc 1.12.2.1 with texmath 0.6.5.2, highlighting-kate 0.5.5.1.
LANGUAGES=("pt-BR" "us-EN")
HERE=`pwd`
for lang in ${LANGUAGES[@]}; do
rm -f $HERE/howtobuildapc_$lang.epub
rm -f $HERE/howtobuildapc_$lang.mobi
cd $HERE/../$lang... | ericoporto/HowToBuildAPC | book/makebook.sh | Shell | mit | 453 |
#!/bin/bash
# kill $( ps -ef | grep goftl| grep -v grep | grep bb3 | awk '{print $2}' )
xx=$( ps -ef | grep goftl| grep -v grep | grep 'bb3.json' | awk '{print $2}' )
if [ "X$xx" == "X" ] ; then
:
else
kill $xx
fi
# ./goftl -c ./bb0.json &
./goftl -c ./bb3.json 2>&1 | tee bb3.out &
| pschlump/Go-FTL | server/goftl/rs.sh | Shell | mit | 288 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2013:0696
#
# Security announcement date: 2013-04-02 20:11:57 UTC
# Script generation date: 2017-01-25 21:21:10 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - firefox.i686:17.0.5-1.el6_4
# - firef... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2013/RHSA-2013:0696.sh | Shell | mit | 1,894 |
#!/bin/sh
ROOT=`pwd`
if [ ! -f $ROOT/fileTemplates/includes/Author.php ]; then
cp $ROOT/Author.php.dist $ROOT/fileTemplates/includes/Author.php
echo "####################################"
echo "# The Author.php was not found, i #"
echo "# created it for you. You can put #"
echo "# your author in... | yvoyer/phpstorm-settings | compile-settings.sh | Shell | mit | 486 |
#!/bin/bash
DIR="$(pwd)"
BC="$DIR/tools/utils"
NETWORK_PEER="dev-"
NPM_SCRIPT="start"
printf "###################################################\n"
printf "##### HYPERLEDGER FABRIC START SCRIPT #####\n"
printf "###################################################\n\n"
printf "Blockchain directory: $BC \n\n"
... | rtang03/fabric-seed | start.sh | Shell | mit | 1,378 |
###########
# Node.js #
###########
# Load NVM
source_file "$NVM_DIR/nvm.sh"
| sohkai/.dotfiles | node.d/init.sh | Shell | mit | 78 |
name=FM
path=/tmp/$name-4af2
mkdir -p $path
pdflatex -output-format dvi -output-directory $path $name.tex
dvipdfmx $path/$name.dvi
# mv $path/$name.pdf ./
| JohnBSmith/JohnBSmith.github.io | Physik/FM/make.sh | Shell | cc0-1.0 | 157 |
#!/bin/bash
SCRIPT_DIR=/kabob.git/scripts/docker
source ${SCRIPT_DIR}/stardog-specific/docker-env.sh
source ${SCRIPT_DIR}/common-scripts/ENV.sh
if [ $# -ne 1 ]
then
echo "Usage: RULE_PAT"
echo $@
exit 1
fi
RULE_PAT=$1
$SCRIPT_DIR/stardog-specific/run-rules.sh \
${LEININGEN} \
${KB_... | bill-baumgartner/kabob | scripts/docker/stardog-specific/RULES.sh | Shell | epl-1.0 | 465 |
#!/bin/bash
# Copied and modified from Banshee
pushd $(dirname $0) &>/dev/null
echo "Generating bundle..."
./makebundle.sh -f
VOLUME_NAME=gedit
if [ "$1x" = "x" ]; then
DMG_FILE=$VOLUME_NAME.dmg
else
DMG_FILE=$1.dmg
fi
DMG_APP=gedit.app
MOUNT_POINT=$VOLUME_NAME.mounted
rm -f $DMG_FILE
rm -f $DMG_FILE.master
#... | nacho/gedit | osx/makedmg.sh | Shell | gpl-2.0 | 1,505 |
#!/bin/bash
cd ~/cm9/kernel/tegra-temp
rm -R *
cd ../..
export PLATFORM_DIR=~/cm9
export KERNEL_BUILD_OUT=$PLATFORM_DIR/kernel/tegra-temp
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabi-
export KERNEL_SRC=$PLATFORM_DIR/kernel/tegra
KBUILD_BUILD_VERSION="joker-cm9-alpha"
export KBUILD_BUILD_VERSION
make distclea... | photon-dev-team/ics_kernel | make-kernel-photon.sh | Shell | gpl-2.0 | 1,452 |
#!/bin/bash
#Convenience Wrapper for TFLOW Utility: tflow/count_sequences.py
#Count sequences in one or more .fasta[.gz], .fastq[.gz], .fna etc... files.
#Usage: "count_sequences.sh [sequence_file_1.fa] [sequence_file....]"
#For Full Usage: "count_sequences.sh -h"
#
#Dan Stribling
#Florida State University
#Center for ... | FSUgenomics/TFLOW | count_sequences.sh | Shell | gpl-2.0 | 589 |
#!/bin/sh
test_description='git remote porcelain-ish'
. ./test-lib.sh
setup_repository () {
mkdir "$1" && (
cd "$1" &&
git init &&
>file &&
git add file &&
test_tick &&
git commit -m "Initial" &&
git checkout -b side &&
>elif &&
git add elif &&
test_tick &&
git commit -m "Second" &&
git checkout master
... | zhaoz/gidit | t/t5505-remote.sh | Shell | gpl-2.0 | 10,031 |
if [ -n "$1" ]; then
ifconfig eth0 up
ifconfig eth0 172.16.$11.1/24
route add default gw 172.16.$11.254
route add -net 172.16.$10.0/24 gw 172.16.$11.253
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
echo Finished tux2 configs.
cp resolv.conf /etc/
echo Copied resolv.conf... | sceptross/RCOM-Projeto2 | Experiências/scripts/configtux2.sh | Shell | gpl-2.0 | 359 |
#!/bin/bash -ex
automation/run_tests.sh "check_merged"
| lago-project/lago | automation/check-merged.sh | Shell | gpl-2.0 | 55 |
#!/bin/bash
sudo rm -rf /var/tmp/portage/www-apps/orchard-cms-1.7.3-*
sudo emerge -v =orchard-cms-1.7.3-r3
| ArsenShnurkov/shnurise | www-apps/orchard-cms/compile.sh | Shell | gpl-2.0 | 108 |
#!/bin/sh
. ../../dttools/src/test_runner.common.sh
prepare()
{
clean $@
}
run()
{
exec ../src/makeflow -d all -T wq -p `cat worker.port` dirs/testcase.subdir.${i}.makeflow
}
clean()
{
exec ../src/makeflow -c dirs/testcase.subdir.${i}.makeflow
}
i=10
dispatch $@
| rmcgibbo/cctools-3.4.2-fork | makeflow/test/TR_001_dirs_10.sh | Shell | gpl-2.0 | 281 |
#!/bin/sh
# load module
insmod ../kernel/minfs.ko
# create mount point
mkdir -p /mnt/minfs
# format partition
./mkfs.minfs /dev/vdb
# mount filesystem
mount -t minfs /dev/vdb /mnt/minfs
# show registered filesystems
cat /proc/filesystems
# show mounted filesystems
cat /proc/mounts
# umount filesystem
umount /mnt... | walac/linux | tools/labs/templates/filesystems/minfs/user/test-minfs-0.sh | Shell | gpl-2.0 | 356 |
#! /bin/bash
cd Re100
rm *.txt
nohup IncomNSSolver -f fluid.dat -m meshSetting.dat -d initData.dat -c compParams.dat &> log.txt &
cd ..
cd Re1000
rm *.txt
nohup IncomNSSolver -f fluid.dat -m meshSetting.dat -d initData.dat -c compParams.dat &> log.txt &
cd ..
| piyueh/IncomNSSolver | TestCases/LidDriven/BatchRun.sh | Shell | gpl-2.0 | 263 |
#!/bin/bash
#Stop script if something is broken
set -e
#Echo actual vars
echo "We are actually building for $TARGET_PRODUCT "
#Create vars for OUT, SCRIPTS and RAMDISK directories
OUT_DIRECTORY=../out/$TARGET_PRODUCT
RAMDISK_DIRECTORY=../ramdisk/$TARGET_PRODUCT
SCRIPTS_DIRECTORY=../scripts/$TARGET_PRODUCT
CERTIFICATE... | kashifmin/KashKernel_MT6589 | build.sh | Shell | gpl-2.0 | 1,711 |
#!/bin/bash
# This is the "multi-splice" version of the online-nnet2 training script.
# It's currently the best recipe.
# You'll notice that we splice over successively larger windows as we go deeper
# into the network.
. cmd.sh
stage=7
train_stage=-10
use_gpu=true
dir=exp/nnet2_online/nnet_ms_a
set -e
. cmd.sh
. ... | michellemorales/OpenMM | kaldi/egs/librispeech/s5/local/online/run_nnet2_ms.sh | Shell | gpl-2.0 | 9,260 |
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
analyze tc1.vhdl
elab_simulate tc1
analyze tc2.vhdl
elab_simulate tc2
analyze_failure tc3.vhdl
analyze_failure tc4.vhdl
analyze_failure tc5.vhdl
analyze tc6.vhdl
elab_simulate tc6
analyze_failure tc7.vhdl
analyze_failure tc8.vhdl
analyze_failure tc9.vh... | tgingold/ghdl | testsuite/gna/issue818/testsuite.sh | Shell | gpl-2.0 | 587 |
#!/bin/bash
if [ ! -d ./packlib ]; then
echo "recreateProgMem.sh needs to be called from ThIN root dir" >&2
exit 1
fi
for dir in packlib/*; do
(
echo "Prozessing dir='$dir'"
cd $dir
if [ -d progCont ]; then
PACK=$(basename `pwd`)
CDIR="progCont"
echo "PACK=$PACK CDIR=$CDIR"
cat <<EOF > ${CDIR}.cpp
#in... | it-guru/ThIN | item/Controller/bin/recreateProgMem.sh | Shell | gpl-2.0 | 2,876 |
#! /bin/bash
javac src/src/*.java
| mereckaj/DistributedFileSystem | compile.sh | Shell | gpl-2.0 | 35 |
#!/bin/bash
if [ "$1" = 'clean' ]; then
make clean distclean
sh autogen.sh clean
rm -f compile
exit
fi
prefix=`pwd`
sh autogen.sh
CXXFLAGS='-O2 -Wall -D_NO_EXCEPTION' ./configure --prefix=$prefix/../tbsys-install
make -j
make install
| alibaba/tair | deps/tbsys/build.sh | Shell | gpl-2.0 | 244 |
#!/bin/bash
# Created by Roel Van de Paar, Percona LLC
# Internal variables: please do not change! Ref below for user configurable variables
RANDOM=`date +%s%N | cut -b14-19` # RANDOM: Random entropy pool init. RANDOMD (below): Random number generator (6 digits)
RANDOMD=$(echo $RANDOM$RANDO... | Percona-QA/percona-qa | pquery-run-direct.sh | Shell | gpl-2.0 | 7,012 |
#!/bin/bash
if [ $# -ne 2 ]; then
echo "usage: $0 CHANGELIST WORKSPACE" 1>&2
exit 1
fi
CHANGELIST="$1"
WORKSPACE="$2"
p4collab addchangelist ${P4PORT} ${P4USER} ${WORKSPACE} ${CHANGELIST}
| coverclock/com-diag-bin | p4collupload.sh | Shell | gpl-2.0 | 196 |
#!/bin/bash
# OpenVPN road warrior installer for Debian, Ubuntu and CentOS
# This script will work on Debian, Ubuntu, CentOS and probably other distros
# of the same families, although no support is offered for them. It isn't
# bulletproof but it will probably work if you simply want to setup a VPN on
# your Debian/Ub... | royharoush/rtools | VPN-Setup-UDP.sh | Shell | gpl-2.0 | 13,420 |
make -C /lib/modules/3.16.0-43-generic/build M=/home/minion/kinetic/driver/
| soundarmoorthy/srm_college_lecture_2015 | driver/build.sh | Shell | gpl-2.0 | 76 |
#! /bin/sh
# Copyright (C) 2010-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/backcompat.sh | Shell | gpl-2.0 | 1,930 |
#!/bin/bash
if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ] ; then
echo
echo "Usage: ./release.sh LOGICAL MAJOR MINOR commit [target]"
echo
echo "Creates the release tarball from git sources, tests the compile"
echo "on local machine, fedora4, fedora5, fedora6."
echo
echo "target is an optional filename contain... | luizluca/opensync-barry | maintainer/release.sh | Shell | gpl-2.0 | 1,626 |
# PRINTMSG_QUIET and PRINTCMD_QUIET
# have to be set _before_ including this module
#
if [ "${PRINTMSG_QUIET:-n}" = "y" ]; then
print_message() { return 0; }
printcmd_indent() { return 0; }
printcmd_outdent() { return 0; }
else
# print_message ( head=, message=, head_color=, message_color=, head_len=12 )
#
pri... | dywisor/shlib | lib/devel/message.sh | Shell | gpl-2.0 | 2,381 |
while ture;
do
if [ `mysql -u root -ppassword -e "SHOW SLAVE STATUS \G;" | grep "Duplicate entry" | wc -l` -eq 2 ] ; then
mysql -u root -ppassword -e "STOP SLAVE; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; START SLAVE;";
fi;
sleep 1;
mysql -u root -ppassword -e "SHOW SLAVE STATUS\G";
done | netoearth/linux | linux/mysql-ignore-dupkey.sh | Shell | gpl-2.0 | 309 |
#!/bin/bash
cat rename.sh | sed -e s/mv.*png\ // > tmp.txt
cat tmp.txt | sed -e s/images/\<a\ href=\"images/ | sed -e s/png/png\"\>/ > tmp2.txt
cat tmp.txt | sed -e s/images'\'/// | sed -e s/png/png\<'\'/a\>\<br\>/ > tmp3.txt
paste tmp2.txt tmp3.txt > tmp4.txt
cat programs/source/html_part_one > dictionary.html
cat t... | jonnymwalker/Staroslavjanskij-Slovar | make_dictionary_html.sh | Shell | gpl-2.0 | 448 |
#!/bin/bash
# wait between checks
WAIT_TIME_SECONDS=$1
MYSQL_USER=$2
MYSQL_PASSWORD=""
MYSQL_SOCKET=$3
LOG_NAME=$4
# kill existing log file if it exists
rm -f $LOG_NAME
while [ 1 -eq 1 ] ; do
echo "******************************" >> $LOG_NAME
date >> $LOG_NAME
echo "******************************" >> $L... | Percona-QA/toku-qa | bin/capture-fragmentation.bash | Shell | gpl-2.0 | 795 |
#!/bin/bash
git archive --format zip --output ../Runtime/codelite-icons.zip master
| zuzanak-ondrej/codelite_appmonitor | codelite-icons/pack-icons.sh | Shell | gpl-2.0 | 85 |
#!/bin/bash
# Cloudlabs, INC. Copyright (C) 2015
#
# 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.
#
# This program is ... | terminalcloud/apps | others/letschat_hooks.sh | Shell | gpl-2.0 | 2,843 |
#!/bin/sh
sed -i "s/onie_machine=.*/onie_machine=pegatron_fm_6254_rn_f/g" /etc/machine.conf
sed -i "s/onie_machine_rev=.*/onie_machine_rev=1/g" /etc/machine.conf
sed -i "s/onie_platform=.*/onie_platform=x86_64-pegatron_fm_6254_rn_f-r1/g" /etc/machine.conf
onie-syseeprom -f -s 0x21=FM_6254_RN_F
onie-syseeprom -f -s 0x27... | opencomputeproject/onie | machine/pegatron/pegatron_common_rgl/rootconf/sysroot-lib-onie/force2mercedes2.sh | Shell | gpl-2.0 | 748 |
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
# This file is a part of the Armbian build script
# https://github.com/ar... | lipro-armbian/lib | lib/debootstrap.sh | Shell | gpl-2.0 | 27,681 |
#!/bin/bash
SCRIPTNAME=${0##*/}
echo $SCRIPTNAME
#both of these have the same result
#Grant prefers using the one above - pattern matching
SCRIPTNAME2=$(basename "$0")
echo $SCRIPTNAME2
exit
| dl92/testrepo | labs/scriptname.sh | Shell | gpl-2.0 | 195 |
#!/bin/sh
# src_dir file user grouop mode
SRC_TOPDIR=`$PREFIX/stuff/opt_get.sh SRC_TOPDIR`
DIST_DIR=`$PREFIX/stuff/opt_get.sh DIST_DIR`
echo -n "Installing library \`$2\`... "
if ( `cp $SRC_TOPDIR$1/$2 $DIST_DIR/webtester/lib/$2 > /dev/null 2>&1` ); then
echo "ok.";
${DIST_INST} && chown $3:$4 "$DIST_DIR/webtest... | Nazg-Gul/WebTester | src/stuff/scripts/install/stuff/install_lib.sh | Shell | gpl-2.0 | 507 |
#!/bin/sh
set -e
cmd="$@"
until pg_isready -h postgres; do
>&2 echo "Postgres is not ready - sleeping..."
sleep 2
done
>&2 echo "Postgres is accepting connections - executing command"
exec $cmd | bookbrainz/bookbrainz-site | scripts/wait-for-postgres.sh | Shell | gpl-2.0 | 201 |
#!/bin/bash
# http://stackoverflow.com/questions/4023830/bash-how-compare-two-strings-in-version-format
vercomp() {
if [[ $1 == $2 ]]
then
return 0
fi
local IFS=.
local i ver1=($1) ver2=($2)
# fill empty fields in ver1 with zeros
for ((i=${#ver1[@]}; i<${#ver2[@]}; i++))
do
... | darrenmwong/Matt-Jeff-Carwash | wp-content/plugins/timber-library/vendor/wp-cli/wp-cli/ci/set-behat-tags.sh | Shell | gpl-2.0 | 1,405 |
#!/bin/sh
set -ev
rm -rf $0.dir
mkdir $0.dir
cd $0.dir
git init
cat > top.fac <<EOF
| echo hello > greeting
< fake-input
EOF
git add top.fac
if ${FAC:-../../fac}; then
echo should have failed
exit 1
fi
echo diversion > fake-input
if ${FAC:-../../fac}; then
echo should have failed
exit 1
fi
git ... | droundy/fac | tests/irrelevant-explicit-dependency.sh | Shell | gpl-2.0 | 510 |
#!/bin/bash
cd $1
mv zImage zImage.pre
echo -n -e \\x11\\x3f\\x3f\\xee > zImage
echo -n -e \\x01\\x35\\xc3\\xe3 >> zImage
echo -n -e \\x11\\x3f\\x2f\\xee >> zImage
echo -n -e \\x00\\x30\\xa0\\xe3 >> zImage
echo -n -e \\x17\\x3f\\x07\\xee >> zImage
cat zImage.pre >> zImage
rm zImage.pre
cat kirkwood-b3.dtb >> zImage
m... | Excito/kernel-3.18 | debian/build_b3_uImage.sh | Shell | gpl-2.0 | 424 |
#!/bin/bash
# author: lixizhi@yeah.net
# date: 2016.2.26
# desc: to install dependencies, please see `.travis.yml`
# For boost: Download boost 1.55 or above and build with `./b2 link=static`
# run cmake in ./NPLRuntime folder and make
pushd .
mkdir -p ./bin/linux
cd bin/linux/
# to build in parallel with 3 threads, ... | hetter/NPLRuntime | build_linux.sh | Shell | gpl-2.0 | 1,349 |
#!/bin/sh
# Meant to be run from cygwin
set -e
cp -r "." "/cygdrive/c/Users/$(whoami)/AppData/Roaming/qutebrowser/config"
| jgkamat/dotfiles | qutebrowser/.config/qutebrowser/install-windows.sh | Shell | gpl-3.0 | 123 |
#!/bin/bash
# Copyright (c) 2020 The ARA Records Ansible authors
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Quick and dirty translation of release notes from git tags to rst format
# $ ./changelog-release-notes.sh > source/changelog-release-notes.rst
function header... | dmsimard/ara | doc/changelog-release-notes.sh | Shell | gpl-3.0 | 1,451 |
#!/bin/sh
if [ ! -d openssl-1.0.2-winapi ]; then
echo
echo Fetching OpenSSL
echo
git clone https://github.com/openssl/openssl.git openssl-1.0.2-winapi
if [ ! -d openssl-1.0.2-arm ]; then
git clone openssl-1.0.2-winapi openssl-1.0.2-arm
fi
fi
cd openssl-1.0.2-winapi
if [ ! -f ssleay32.d... | jabberbeak/tarredfs | 3rdparty/fetch_and_build.sh | Shell | gpl-3.0 | 1,840 |
#
# Copyright (c) 2015-2016 Matthew Carter, Ralph M Goodberlet.
#
# This file is part of Zettaknight.
#
# Zettaknight is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the Lice... | Zettaknight/zettaknight | zettaknight.d/setopts.sh | Shell | gpl-3.0 | 3,905 |
#!/usr/bin/env bash
if [ "$(uname)" == "Darwin" ]; then
BIN_LIBS_DOWNLOAD_URL="https://github.com/MCMrARM/mcpelauncher-mac-bin/archive/1f7ab4c5af6454d1d9641014a0b29594e062829e.zip"
elif [ "$(uname)" == "Linux" ]; then
BIN_LIBS_DOWNLOAD_URL="https://github.com/MCMrARM/mcpelauncher-linux-bin/archive/a8ea807aa1109ab7c... | MCMrARM/mcpelauncher-linux | setup_bin_libs.sh | Shell | gpl-3.0 | 837 |
#!/bin/bash
PISM_PATH=$1
MPIEXEC=$2
echo "Test #32: testing special enthalpy regridding code."
# The list of files to delete when done:
files="foo-32.nc bar-32.nc baz-32.nc"
OPTS="-ys 0 -y 0 -i foo-32.nc -bootstrap -regrid_file foo-32.nc -Lz 4000 -Mx 31 -My 31 -Mz 51"
set -e -x
# Create the file to regrid and boot... | pism/pism | test/regression/test_32.sh | Shell | gpl-3.0 | 744 |
#!/bin/bash
# start python virtual enviroment
source ../../../../python/venv/bin/activate
# run test
make | phase4ground/DVB-receiver | modem/hdl/library/fir_filter/test/run_test.sh | Shell | gpl-3.0 | 107 |
#!/bin/sh
../generic_multiple.sh "-der -recursive ===" 9 "dder test fields with 0-length closed by EOC" "bin" "tmp-" "exp" ".der" ".txt" $1
| sebmillet/dder | test_linux/t49/test.sh | Shell | gpl-3.0 | 142 |
#!/bin/sh
mkfifo mypipe
find ${HOME} -type f -name '.mp3"'> mypipe &
while IFS= read -r line; do
: # Something
done < mypipe
rm mypipe
| chrisjohntapp/misc_bash | examples/named_pipe.sh | Shell | gpl-3.0 | 144 |
#!/usr/bin/env bash
set -e
die () {
echo >&2 "$@"
exit 1
}
: "${CYBERGREEN_AWS_CONTAINER_REPO?Need to set CYBERGREEN_AWS_CONTAINER_REPO}"
: "${CYBERGREEN_AWS_CONTAINER_IMAGE?Need to set CYBERGREEN_AWS_CONTAINER_IMAGE}"
: "${CYBERGREEN_AWS_ECS_TASK_FAMILY?Need to set CYBERGREEN_AWS_ECS_TASK_FAMILY}"
... | cybergreen-net/etl2 | dockerup.sh | Shell | gpl-3.0 | 1,661 |
#!/bin/bash
python generate_index.py
mkdocs build --clean | pajowu/minkorrekt-experimente | .travis/build.sh | Shell | gpl-3.0 | 58 |
#Copyright 2019 Michael Gautier
#This file is part of Gautier RSS System by Michael Gautier.
#Gautier RSS System by Michael Gautier is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, ... | michaelgautier/gautier_system | build_mingw/build_prog_newsreader.sh | Shell | gpl-3.0 | 2,838 |
#!/bin/bash
#
######################################################################
#
# Name: install_mail.sh
# Author: Chris Fedun 31/01/2017
# Description: Install Script
# Copyright (C) 2017 Christopher Fedun
#
# This program is free software: you can redistribute it and/or modify
# it under the ... | DarkPhoenix6/299-Scripts | install_mail.sh | Shell | gpl-3.0 | 1,751 |
#!/bin/bash -l
echo "This is the epilog, running in $PWD"
| gjbex/timedrun | tests/say_hello.sh | Shell | gpl-3.0 | 59 |
#!/bin/bash
(set -o igncr) 2>/dev/null && set -o igncr; # For Cygwin on Windows compaibility
destination=$(echo $1 | awk '{gsub("src/","");print}')
node scripts/rollup $1
if [ $? != 0 ]; then
printf "Could not rollup"
exit 1
fi
if [ "$1" != "src/PileupRenderer.js" ]; then
NODE_ENV=production node scripts/re... | chgibb/PHAT | scripts/tsBundleRelease.bash | Shell | gpl-3.0 | 2,128 |
# DESCRIPTION
# Runs getNshadesOfColorCIECAM02.py N times (per default parameter or $1) to create grayscale palettes which run perceptually darker from N divisions of white to black. For every palette, it also renders a png from the palette on one line to provide a gradient image.
# USAGE
# Run without any parameter t... | r-alex-hall/fontDevTools | scripts/recipes/create_perceptual_gray_gradient_palettes.sh | Shell | gpl-3.0 | 1,503 |
#!/bin/bash
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
isFile() {
[ $1 ] && [ -e "$1" ] && [ -f "$1" ]
return $?
}
error() {
echo "$1"
exit 1
}
main() {
isFile "$1" || error "error, first arg must be file to clean"
[ $2 ] || error "error, second arg must be wait or once"
if [ !... | nathanross/fodt_deautostyler | run.sh | Shell | gpl-3.0 | 718 |
#!/bin/bash
echo "m2s --x86-sim detailed --x86-config 2-cpu-config --mem-config 2-mem-config --x86-report report.pipeline.acc.2 --mem-report report.mem.acc.2 whetstone"
m2s --x86-sim detailed --x86-config 2-cpu-config --mem-config 2-mem-config --x86-report report.pipeline.acc.2 --mem-report report.mem.acc.2 whetstone
| Peilong/multi2sim-4.0-hc | C_Code/acc-Arith/run.bash | Shell | gpl-3.0 | 320 |
#!/bin/bash
HOST="sumin@suminb.com"
# Delete .pyc files
rm -rf $(find . -name "*.pyc")
# Deploy files
rsync -azP -e ssh * $HOST:webapps/hallucination/repo
read -p "Restart the server? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "Restarting the server..."
ssh $HOST 'webapps/hallucination/apache2/bin/restar... | suminb/hallucination-web | deploy.sh | Shell | gpl-3.0 | 326 |
#!/bin/bash
# VirtualEnv and Django setup
#
# This is a distinct file as it's meant to be run as the primary user we SSH in as
# Grab the environment var, default to 'dev'
ENV=${1-dev}
# ... and pick up related vars
source /www/repo/svr/cfg-$ENV.sh
# Grab the user var, default to 'vagrant'
USER=${2-vagrant}
echo -e ... | marcelkornblum/dialectic | svr/cfg/server-setup-user.sh | Shell | gpl-3.0 | 1,913 |
#!/bin/bash
"""
Copyright (C) 2014 BuildQt
BuildQt 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.
BuildQt is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without ev... | linuts/BuildQt | BuildQt.sh | Shell | gpl-3.0 | 1,088 |
#!/usr/bin/env bash
# https://docs.microsoft.com/en-us/azure/virtual-machines/linux/download-vhd
# https://docs.microsoft.com/en-us/azure/virtual-machines/scripts/virtual-machines-linux-cli-sample-copy-snapshot-to-storage-account
set -e
if [ -z $1 ];
then
echo 'Usage: ./make_image_from_vm.sh <prefix> [location]'
... | foospidy/MakeAzureVM | make_vhd_from_image.sh | Shell | gpl-3.0 | 1,866 |
#!/bin/bash
#
# Shell script to make a local copy of original profile CTD data files for pctdToNetcdf.py to
# make .nc files and then copy them back to the catalog. The user will be prompted for the
# password to $LOGIN@$RH. Loads for previous campaigns may be commented so as to keep a record
# of conversions.
#
# F... | duane-edgington/stoqs | stoqs/loaders/CANON/toNetCDF/makeWFpctdNetCDF.sh | Shell | gpl-3.0 | 1,874 |
# Init script to setup $HOME
cd $HOME
# install oh my zsh
wget --no-check-certificate \
https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh \
-O - | sh
# ok, now get everything
if [ -z "$TMP" ]; then
export TMP=/tmp
fi
cd $TMP
git clone --recursive https://github.com/paulollivier/dotfiles dotfi... | paulollivier/dotfiles.old | tools/init.sh | Shell | gpl-3.0 | 371 |
#!/bin/bash
SRC=( bitsy_alloc.cpp BlockStack.cpp ByteStack.cpp BitString.cpp \
FunctionStack.cpp ExecStack.cpp \
Program.cpp instructions.cpp variable.cpp bitsy_python_vm.cpp \
BitsyHeap.cpp gc.cpp Builtins.cpp \
datatypes/datatype.cpp datatypes/iter.cpp)
BUILD="$( cd "$(dirname "$0")" ; pwd -P )"
WORKSPACEDIR="$( c... | rajendrant/bitsy_python | build/make.sh | Shell | gpl-3.0 | 633 |
#!/bin/bash
# file pre-commit-githook.sh
# This hook is invoked by git commit. It takes no parameter, and is
# invoked before a commit is made.
pwd
# dump the state database and add it
./monimelt-dump-state.sh
git add state-monimelt.sql
# find the set of newly added and newly removed modules
tmpsql=$(mktemp -t _monime... | bstarynk/old-melt-monitor | pre-commit-githook.sh | Shell | gpl-3.0 | 2,153 |
#!/bin/bash
#SBATCH -p general
#SBATCH -n 16
#SBATCH -N 1
#SBATCH --mem 16000
#SBATCH -t 4:00:00
#SBATCH -J trimFastq
#SBATCH -o trim_%j.out
#SBATCH -e trim_%j.err
#trims Illumina adaptors from paired-end sequencing using Trimmomatic
#may need to adjust parameters for specific circumstances
#requires Trimmomatic 0.32... | ajshultz/whole-genome-reseq | OldTrialVersions/trim_fastq.sh | Shell | gpl-3.0 | 1,326 |
#!/bin/bash
#####################################################################################
# Copyright 2012 Normation SAS
#####################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU ... | ncharles/rudder-vagrant | provision/node_centos6.sh | Shell | gpl-3.0 | 2,220 |
#!/bin/sh
mkdir -p bin_test
if [ $? -ne 0 ]; then
return -1
fi
cd bin_test
if [ $? -ne 0 ]; then
return -1
fi
cmake .. -DBUILD_TESTS=ON -DGCOV=ON -DARCH=X86 -GNinja
if [ $? -ne 0 ]; then
return -1
fi
ninja
if [ $? -ne 0 ]; then
return -1
fi
chmod -R 777 .
test/UT/AquaLampServerUTs
| matgla/AquaLampWiFiModule | run_tests.sh | Shell | gpl-3.0 | 304 |
#!/bin/sh
curl http://localhost:5000/info
curl -X PUT -H "Content-Type: application/binary" --data-binary "@requirements.txt" http:/localhost:5000/requirements.$$.txt
curl http://localhost:5000/requirements.$$.txt > test.txt
diff requirements.txt test.txt | CognitionGuidedSurgery/storage | test.sh | Shell | gpl-3.0 | 259 |
#!/bin/sh
php -S 0.0.0.0:80 active9_server.php
cd public_html | active9/Active9Server | active9_server.sh | Shell | gpl-3.0 | 61 |
#!/bin/bash
#BSUB -J "align[1-56]"
#BSUB -q small
#BSUB -W 00:30
#BSUB -o output.%I
#BSUB -e error.%I
WD=/lustre/scratch116/casm/cgp/users/tn5/julia
cd $WD
BWA=~/work/irap_install/bin/bwa/bin/bwa
SAMTOOLS=~/apps/samtools/samtools
FQ1=`ls *_1.fastq.gz | head -n $LSB_JOBINDEX | tail -n 1`
FQ2=${FQ1%_1.fastq.gz}_2.fas... | TravisCG/SI_scripts | pcr.sh | Shell | gpl-3.0 | 555 |
#!/bin/bash -e
. ../env/env
brief="An image loading library used with GNOME"
intro="
The Gdk Pixbuf package is a toolkit for image loading and pixel buffer
manipulation. It is used by GTK+ 2 and GTK+ 3 to load and manipulate images.
In the past it was distributed as part of GTK+ 2 but it was split off into a
sepa... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-9.0-systemd/scripts/g/gdk-pixbuf.sh | Shell | gpl-3.0 | 1,200 |
#!/bin/sh
#Nautilus Script to convert selected PNG files to a multi-page PDF file
#V.1.0
#Requires "imagemagick" package which includes "convert"
#Please Note: This script assumes all the selected files have the same (case sensitive) png extension
#ToDo: Accept case insensitive extensions
#
#make tmp dir and file list
... | kernt/linuxtools | gnome3-shell/nautilus-scripts/System/File Processing/Pdf-Tools/Convert-To/Png2Pdf.sh | Shell | gpl-3.0 | 1,171 |
#!/usr/bin/env bash
set -e
set -o pipefail
TOPDIR=$(git rev-parse --show-toplevel)
BASEVERSION=$($TOPDIR/scripts/makam-version.sh)
SOURCEHASH=$($TOPDIR/scripts/source-hash.sh)
if [[ $# -lt 1 ]]; then
UPDATE_VERSION=0
PACKAGEVERSION=$BASEVERSION
else
UPDATE_VERSION=1
PACKAGEVERSION=$1
fi
# OPAM_MAKAM_BIN=$(o... | astampoulis/makam | scripts/prepare-npm-package.sh | Shell | gpl-3.0 | 2,198 |
#!/bin/bash
apt-get autoremove --purge -y
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
echo "cleaning up udev rules"
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
rm -rf /dev... | ianunruh/packer-vagrant-ubuntu | scripts/cleanup.sh | Shell | mpl-2.0 | 509 |
#!/bin/sh
screen -dmS SpaceGDN python run.py run
| MCProHosting/SpaceGDN | run.sh | Shell | mpl-2.0 | 49 |
#!/bin/bash
for d in ../ud-2.6/*/; do
d=$(basename ${d%/})
lines=$(diff <(awk -F "[\t]" '/# new/{print} /^[0-9]*\t/{print $1,$2,(($10 ~ /SpaceAfter=No/) ? "SA=No" : "")}' ../ud-2.6/$d/*.conllu) <(awk -F "[\t]" '/# new/{print} /^[0-9]*\t/{print $1,$2,(($10 ~ /SpaceAfter=No/) ? "SA=No" : "")}' ../ud-2.5/$d/*.conllu)... | ufal/udpipe | training/models-ud-2.6-tokenizer-chosen/from_ud_2.5.sh | Shell | mpl-2.0 | 472 |
#!/bin/bash
t=`date +'%Y-%m-%d %H:%M:%S'`
s=`cnvrtime "$t"`
wget -q 'http://developer.mbta.com/lib/GTRTFS/Alerts/VehiclePositions.pb' -O data/VehiclePositions_$s.pb
rm -f VehiclePositions.pb
ln -s data/VehiclePositions_$s.pb VehiclePositions.pb
echo "data/VehicelPositions_$s.pb"
| abetusk/bostontraintrack | experimental/grab_veh_pos_pb.sh | Shell | agpl-3.0 | 283 |
#!/usr/bin/env bash
deploy_challenge() {
local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"
# This hook is called once for every domain that needs to be
# validated, including any alternative names you may have listed.
#
# Parameters:
# - DOMAIN
# The domain name (CN or subject... | studentenportal/web | deploy/production/nginx/dehydrated/hook.sh | Shell | agpl-3.0 | 8,305 |
#!/bin/sh
### ====================================================================== ###
## ##
## SoapUI Pro TestCaseRunner Bootstrap Script ##
## ... | paissad/soapui-multi-testrunner | tools/soapui/osx/bin/mockservicerunner.sh | Shell | lgpl-3.0 | 2,079 |
#!/bin/bash
cd ../
find stacks/ -type f -iname "stack-*" | while read af; do
touch -d "$(date -d @$(echo "$af" | grep -o "[0-9]*") +"%D %T")" $af
done
| mikejonesey/jstack-analysis | tools/touchit.sh | Shell | lgpl-3.0 | 154 |
#!/bin/bash
echo "Running unit tests..."
PYTHONPATH=`pwd`/cmonkey python test/all_tests.py
echo "Running integration tests..."
PYTHONPATH=`pwd`/cmonkey python test/all_integration_tests.py
echo "Running iteration test..."
PYTHONPATH=`pwd`/cmonkey python test/iteration_test.py
echo "Running postprocessing test..."
PYTH... | jashworth-isb/cmonkey-python | run_all_tests.sh | Shell | lgpl-3.0 | 370 |
#!/bin/bash
DIR="/home/pi/video/"
2>/dev/null
cd $DIR
# Delete old files to free up disk space
DISKFULL=$(df -h $DIR | grep -v File | awk '{print $5 }' | cut -d "%" -f1 -)
until [ $DISKFULL -le "90" ]; do
ls -tr [0-9][0-9][0-9][0-9] | head -n 1 | xargs rm -f;
DISKFULL=$(df -h $DIR | grep -v File | awk '{print $5 ... | ianrenton/raspi-utils | capture-local.sh | Shell | unlicense | 649 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.