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 # Copyright 2012 Johns Hopkins University (Author: Daniel Povey) # Korbinian Riedhammer # Apache 2.0 # Computes training alignments; assumes features are (LDA+MLLT or delta+delta-delta) # + fMLLR (probably with SAT models). # It first computes an alignment with the final.alimdl (or the fin...
jmolina116/kaldi-yesno-tutorial
steps/tandem/align_fmllr.sh
Shell
apache-2.0
6,749
#!/bin/bash - #=============================================================================== # # FILE: common.sh # # USAGE: . ./common.sh # # DESCRIPTION: File contains common functions to be used by the run and # validate scripts. This file should not be executed but rather # ...
AKSW/SML-Bench
learningsystems/dllearner/common.sh
Shell
apache-2.0
18,599
#!/bin/sh set -eu # Start http server 9999 if [ -f "http.pid" ]; then kill "$(cat http.pid)" || rm -f http.pid sleep 1 fi echo "Starting http server on 9999..." python -m SimpleHTTPServer 9999 & echo $! > http.pid http_test() { # HTTP requests for i in $(seq 10); do status_code=$(curl -v -o /dev/null -H ...
pawelprazak/linkerd
ci/linkerd-acceptance.sh
Shell
apache-2.0
2,184
export EXP_CONDA_VER=4.8.3
shankari/e-mission-server
setup/export_versions.sh
Shell
bsd-3-clause
27
#!/bin/bash # If release a new version, modify these infos VERSION_INFO="master" VERSION_ADDR="https://github.com/baidu/tera" BUILD_DATE_TIME=`date` BUILD_HOSTNAME=`hostname` BUILD_GCC_VERSION=`gcc --version | head -n 1` gen_info_template_header () { echo "#include <iostream>" echo "#include \"version.h\"" ...
caijieming-baidu/tera
build_version.sh
Shell
bsd-3-clause
2,243
#! /bin/bash cat initializeArmoredDB.sql | sqlite3 armoredDB.db
armoredsoftware/protocol
tpm/scottyca/initializeArmoredDB.sh
Shell
bsd-3-clause
67
#!/bin/bash # Shell provisioner export DEBIAN_FRONTEND=noninteractive MODULE_PATH='/vagrant/shell_provisioner/module' CONFIG_PATH='/vagrant/shell_provisioner/config' TIMEZONE='Europe/Brussels' APP_DOMAIN='dev.secretsantaorganizer.com' DEPENDENCIES=( debian tools vim php mysql openssl ap...
Intracto/SecretSanta
shell_provisioner/run.sh
Shell
isc
546
#!/bin/sh # Copyright 2005-2013 Splunk, Inc. # # ...
tfhartmann/puppet-splunk
files/ta/Splunk_TA_nix/bin/uptime.sh
Shell
mit
3,039
#!/usr/bin/env bash # # Copyright (c) 2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C travis_retry pip install codespell==1.13.0 travis_retry pip install flake8
Christewart/bitcoin
.travis/lint_04_install.sh
Shell
mit
301
#!/bin/bash source ./build-info.sh export METEOR_SETTINGS=$(cat settings.json) meteor add rocketchat:livechat meteor add rocketchat:hubot meteor add-platform ios meteor build --server https://demo.rocket.chat --directory /var/www/rocket.chat cd /var/www/rocket.chat/bundle/programs/server npm install cd /var/www/rocket....
mhurwi/Rocket.Chat
build-old.sh
Shell
mit
390
#!/bin/sh # # Copyright (C) 2012-2013 hiwifi.com # do_ralink() { . /lib/ralink.sh ralink_board_detect } boot_hook_add preinit_main do_ralink
ff94315/hiwifi-openwrt-HC5661-HC5761
staging_dir/target-mipsel_r2_uClibc-0.9.33.2/root-ralink/lib/preinit/03_preinit_do_ralink.sh
Shell
gpl-2.0
146
#!/bin/bash #=========================== # WATOBO-Installer for Linux #--------------------------- # Tested on BackTrack 5R2 #=========================== # Date: 06.08.2012 # Author: Andreas Schmidt Version=1.1 #--- # Version 1.1 # added libnetfilter-queue-dev package & gem # added platform detection #--- info() { p...
larskanis/watobo
extras/watobo-installer.sh
Shell
gpl-2.0
1,558
#!/usr/bin/env bash # # Runs a command, forwards output into a file. # Usage example: # ./tools/silent_exec.sh "/tmp/log_file.log" ps -aux # # Env variables: # - VERBOSE=0 (default) - hide command output, forward output into file # - VERBOSE=1 - forward command output to console and into file set -e TOOLS_DIR="$( cd "...
arcusfelis/MongooseIM
tools/silent_exec.sh
Shell
gpl-2.0
1,071
DIR="$( cd "$(dirname "$0")" ; pwd -P )" cd "$DIR" echo "Downloading..." wget http://mmlab.ie.cuhk.edu.hk/projects/WIDERFace/support/bbx_annotation/wider_face_split.zip echo "Extracting..." unzip wider_face_split.zip && rm -f wider_face_split.zip
lcy-seso/models
fluid/face_detection/data/download.sh
Shell
apache-2.0
249
#!/bin/bash . ./setenv D_ADDRESS=`uname -n` D_PORT=10101 LOCATOR="$D_ADDRESS[$D_PORT]" S_PATH=$S_HOME/product-gfxd/bin DISK_DIR=$S_HOME/../../../diskStores echo "shut-down-all servers..." $S_PATH/gfxd shut-down-all -locators=$LOCATOR echo "stop locator..." $S_PATH/gfxd locator stop -dir=$DISK_DIR/locator1
SnappyDataInc/snappy-store
gemfirexd/tools/src/test/resources/lib/diskCompatibilityScripts/stop-gfxd-cluster.sh
Shell
apache-2.0
313
#!/bin/bash # vagrant_node1.command # CoreOS Cluster for OS X # # Created by Rimantas on 01/04/2014. # Copyright (c) 2014 Rimantas Mocevicius. All rights reserved. cd ~/coreos-osx-cluster/workers vagrant ssh node-01 -- -A
rimusz/coreos-cluster-osx
src/vagrant_node1.command
Shell
apache-2.0
229
#!/bin/bash # ------------------------------------------------------------------------ # # Copyright 2016 WSO2, Inc. (http://wso2.com) # # 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...
Thanu/kubernetes-artifacts
wso2greg/deploy.sh
Shell
apache-2.0
2,336
#!/bin/bash # Usage if [ -z "$1" ]; then echo "Usage: build.sh path/to/jenkins.war" exit 1 fi # Set up build tools DEV_DIR=`xcode-select \ -print-path` PACKAGEMAKER="$DEV_DIR/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker" # Get the Jenkins version number cp "$1" $(dirname $0)/jenkins.war.tmp ...
mrobinet/jenkins
osx/build.sh
Shell
mit
1,610
#!/bin/bash if [ ! -f smoke/smoketest.js ]; then echo "Please run smoke test from the top-level folder of the repository." >&2 exit 1 fi node-gyp build && echo '-- Compiled OK -- ' && node smoke/smoketest.js && echo '-- Smoke Done, running tests -- ' && npm test # && echo '-- Tests Run, runnning examples -- #(b...
scanlime/node-opencv
smoke/smoke.sh
Shell
mit
415
#!/usr/bin/env bash # # This script should be located in coreclr/tests. # function print_usage { echo '' echo 'Download coredistool for GC stress testing' echo '' echo 'Command line:' echo '' echo './setup-gcstress.sh --outputDir=<coredistools_lib_install_path>' echo '' echo 'Required ...
sperling/coreclr
tests/setup-gcstress.sh
Shell
mit
2,559
#! /bin/sh pyFoamClearCase.py . rm -f 0/*.gz blockMesh calcNonUniformOffsetsForMapped funkySetFields -time 0
aliozel/swak4Foam
Examples/tests/mappingChannelsNonUniform/prepareCase.sh
Shell
gpl-2.0
114
BT=${BT-../../bin/bedtools} check() { if diff $1 $2; then echo ok return 1 else echo fail return 0 fi } echo " fisher.t1...\c" echo \ "# Number of query intervals: 3 # Number of db intervals: 2 # Number of overlaps: 2 # Number of possible intervals (estimated): 34 # phyper(2 - 1, 3, 34 - 3, 2, low...
Debian/bedtools2
test/fisher/test-fisher.sh
Shell
gpl-2.0
2,595
#!/usr/bin/env bash # # Copyright IBM Corp. 2020 # # Check lcov --summary output for info files containing 100% coverage rates # STDOUT=summary_full_stdout.log STDERR=summary_full_stderr.log $LCOV --summary "${FULLINFO}" >${STDOUT} 2>${STDERR} RC=$? cat "${STDOUT}" "${STDERR}" # Exit code must be zero if [[ $RC -ne ...
linux-test-project/lcov
tests/lcov/summary/full.sh
Shell
gpl-2.0
741
#!/bin/bash PLAYSMS=$1 if [ -z "$PLAYSMS" ]; then echo "Usage: $0 <playSMS installation path>" exit 1 fi CWD=$(pwd) cd $PLAYSMS/plugin find . -type d -name "language" | grep -v "grep" | sed -e "s/\/[^\/]*$//" > /tmp/.lang_folders for i in `cat /tmp/.lang_folders` ; do for j in `ls -1 "$i/language/" | grep '_'` ;...
aristide/playSMS
contrib/tools/language/2-merge-existing-po-files.sh
Shell
gpl-3.0
941
# 950_check_missing_programs.sh # # Check that all required programs exist in the currently running system. # During "rear mkrescue/mkbackup" the currently running system is the original system # but during "rear recover" the currently running system is the recovery system. # Do this check during the 'init' stage beca...
phracek/rear
usr/share/rear/init/default/950_check_missing_programs.sh
Shell
gpl-3.0
1,642
#!/bin/bash BUILD_DIR="/build" # Building the repository cd ${BUILD_DIR}/apt mkdir -p ${BUILD_DIR}/apt/dists/trusty/rrlabs/binary-amd64 ${BUILD_DIR}/apt/dists/trusty/rrlabs/binary-i386 dpkg-scanpackages -a amd64 -m pool > ${BUILD_DIR}/apt/dists/trusty/rrlabs/binary-amd64/Packages gzip -c ${BUILD_DIR}/apt/dists/trusty...
sshurick/unetlab-ss
scripts/build_apt.sh
Shell
gpl-3.0
1,007
#!/bin/bash -eux set -o pipefail declare -a args IFS='/:' read -ra args <<< "$1" script="${args[0]}" test="$1" docker images ansible/ansible docker images quay.io/ansible/* docker ps for container in $(docker ps --format '{{.Image}} {{.ID}}' | grep -v '^drydock/' | sed 's/^.* //'); do docker rm -f "${containe...
caphrim007/ansible
test/utils/shippable/shippable.sh
Shell
gpl-3.0
3,765
# 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 # "License"); you may not u...
newrelic-forks/cassandra
conf/cassandra-env.sh
Shell
apache-2.0
10,338
#!/usr/bin/env bash set -e echo "Installing dependencies..." if [ -x "$(command -v apt-get)" ]; then sudo apt-get update -y sudo apt-get install -y unzip else sudo yum update -y sudo yum install -y unzip wget fi echo "Fetching Consul..." CONSUL=0.8.0 cd /tmp wget https://releases.hashicorp.com/consul/${CONSU...
nicholasjackson/building-microservices-in-go
vendor/github.com/hashicorp/consul/terraform/shared/scripts/install.sh
Shell
mit
1,582
# This file is part of Relax-and-Recover, licensed under the GNU General # Public License. Refer to the included COPYING for full text of license. # 200_find_duply_profile.sh # If $BACKUP_DUPLICITY_URL has been defined then we may assume we are using # only 'duplicity' to make the backup and not the wrapper duply [[ ...
phracek/rear
usr/share/rear/prep/DUPLICITY/default/200_find_duply_profile.sh
Shell
gpl-3.0
3,536
#!/bin/bash # # Copyright 2019 The Bazel 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 required by...
werkt/bazel
src/test/shell/bazel/tags_propagation_native_test.sh
Shell
apache-2.0
10,075
#!/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...
weleen/mxnet
tests/ci_build/ci_build.sh
Shell
apache-2.0
5,775
#!/bin/sh # Copyright (c) 2014-2019 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C set -e ROOTDIR=dist BUNDLE="${ROOTDIR}/Bitcoin-Qt.app" CODESIGN=codesign TEMPDIR=sign.temp TEMPLIST=$...
midnightmagic/bitcoin
contrib/macdeploy/detached-sig-create.sh
Shell
mit
1,551
#!/bin/bash # Installs appropriate packages for Vagrant vms # apt-get install -y python-software-properties wget --quiet http://apt.puppetlabs.com/puppetlabs-release-precise.deb -O /tmp/puppetlabs-release-precise.deb dpkg -i /tmp/puppetlabs-release-precise.deb apt-get update apt-get install -y ruby-json redis-server...
johnf/sensu-puppet
tests/provision_server.sh
Shell
mit
429
#!/bin/sh OUTPUT="$1" KERNELSIZE="$2" KERNELIMAGE="$3" ROOTFSSIZE="$4" ROOTFSIMAGE="$5" ALIGN="$6" rm -f "$OUTPUT" # create partition table set $(ptgen -o "$OUTPUT" -h 16 -s 32 -l ${ALIGN} -t 0x27 -p ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m) KERNELOFFSET="$(($1 / 512))" ROOTFSOFFSET="$(($3 / 512))" dd if="$KERNELIM...
chaojin/openwrt
target/linux/rb532/image/gen_image.sh
Shell
gpl-2.0
454
#!/bin/sh # travelmate, a wlan connection manager for travel router # written by Dirk Brenken (dev@brenken.org) # This is free software, licensed under the GNU General Public License v3. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licen...
val-kulkov/openwrt-packages
net/travelmate/files/travelmate.sh
Shell
gpl-2.0
24,388
#!/bin/sh # Generate lists of all coreutils programs, to be fed both to Autoconf # and Automake, and with further distinctions about how and when these # programs should be built. This is useful to avoid duplicating these # list definitions among several files ('configure.ac' and # 'src/local.mk' at least); such dupli...
yuxuanchen1997/coreutils
build-aux/gen-lists-of-programs.sh
Shell
gpl-3.0
4,084
#! /bin/sh # Copyright (C) 2013 Red Hat, Inc. # This file is part of elfutils. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later ver...
bgamari/elfutils
tests/run-readelf-line.sh
Shell
gpl-3.0
9,580
#!/bin/bash # Executing supervisord and mysql_user # Author : Kaushal Kishore <kaushal.rahuljaiswal@gmail.com> VOLUME_HOME="/var/lib/mysql" if [[ ! -d $VOLUME_HOME/mysql ]]; then mysql_install_db > /dev/null 2>&1 /mysql_user.sh fi exec supervisord -n
kaushalkishorejaiswal/Docker-ZF2
run.sh
Shell
gpl-3.0
263
#!/bin/bash FN="pd.u133.x3p_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/pd.u133.x3p_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.u133.x3p_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.u133.x3p/bioconductor-pd.u133.x3p_3.12.0_src_a...
cokelaer/bioconda-recipes
recipes/bioconductor-pd.u133.x3p/post-link.sh
Shell
mit
1,307
#!/bin/bash # added 2015-10-30 by singh.janmejay # This file is part of the rsyslog project, released under ASL 2.0 echo =============================================================================== echo \[array_lookup_table-vg.sh\]: test cleanup for array lookup-table and HUP based reloading of it . $srcdir/diag.sh ...
theinric/rsyslog
tests/array_lookup_table_misuse-vg.sh
Shell
gpl-3.0
1,548
#! /bin/bash function die() { echo $* 2>&1 exit 1 } if test -n "$FDUSER" ; then echo "Using freedesktop.org account $FDUSER" user="$FDUSER@" else echo "Using freedesktop.org account from ~/.ssh/config, or local username" fi CHECKOUTDIR=`mktemp -d || echo /tmp/dbus-for-docs` export CVSROOT=":ext:$...
rex-xxx/mt6572_x201
external/dbus/update-dbus-docs.sh
Shell
gpl-2.0
2,292
#!/bin/bash # Copyright 2015 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...
freedev/kubernetes
hack/after-build/update-swagger-spec.sh
Shell
apache-2.0
3,387
#!/usr/bin/env bash # MIT LICENSE # # Copyright (c) 2016 Travis CI GmbH <contact@travis-ci.org> # # 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 limit...
nvanbenschoten/epaxos
vendor/github.com/cockroachdb/cockroach/scripts/travis_retry.sh
Shell
apache-2.0
1,698
#!/bin/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 "License"); yo...
matt1883/azure-quickstart-templates
solace-message-router/scripts/install-solace.sh
Shell
mit
21,087
#!/bin/sh usage() { echo "usage: $0 <file> <project_name>" exit 1 } capitalize_first_letter() { HEAD=$( echo $1 | head -c 1 | tr 'a-z' 'A-Z' ) TAIL=$( echo $1 | tail -c +2 ) echo $HEAD$TAIL } if [ $# -lt 2 ]; then usage fi FILE=$1 PROJECT_NAME=$2 ident() { echo "%%%$1%%%" } sed -e "s/$...
pwbs/ocsigen-start
scripts/2var.sh
Shell
lgpl-2.1
447
#!/usr/bin/env bash ${IDRIS:-idris} $@ --build wrongopts.ipkg
kojiromike/Idris-dev
test/pkg010/run.sh
Shell
bsd-3-clause
62
#!/bin/bash # Try to run a command in an appropriate type of terminal window # depending on whats available # Sigh: theres no common way of handling command line args :-( name="$1" shift echo "RiTW: Starting $name : $*" if [ -z "$SITL_RITW_MINIMIZE" ]; then SITL_RITW_MINIMIZE=1 fi if [ -n "$SITL_RITW_TERMINAL" ]...
dgrat/ardupilot
Tools/autotest/run_in_terminal_window.sh
Shell
gpl-3.0
1,990
# # avrdude_config.sh # config.in helper . scripts/osdefaults.sh get_avrdude() { AVRDUDE=$( command -v avrdude ) if [ "x${AVRDUDE}" != "x" ]; then HAS_AVRDUDE="y" fi } get_avrdude_programmer_types() { # gnampf, Menuconfig choice does not like names starting # with numbers nor math ops like '-' AVRDUDE_PROGR...
cyc1ingsir/ethersex
scripts/avrdude_config.sh
Shell
gpl-3.0
908
#!/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...
hurf/kubernetes
hack/test-integration.sh
Shell
apache-2.0
3,412
#!/bin/bash # TODO remove requirement for ABI=0 once conda-forge has switched to new compiler packages. #CXX=$PREFIX/bin/x86_64-conda_cos6-linux-gnu-g++ cmake -DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 -DCMAKE_INSTALL_PREFIX=$PREFIX -DBOOST_ROOT=$PREFIX -DBoost_NO_SYSTEM_PATHS=ON . VERBOSE=TRUE make make install
gvlproject/bioconda-recipes
recipes/clever-toolkit/build.sh
Shell
mit
318
#!/bin/bash # Test the current package under a different kernel. # Requires virtme and qemu to be installed. set -eu set -o pipefail if [[ "${1:-}" = "--in-vm" ]]; then shift readonly home="$(mktemp --directory)" mount -t bpf bpf /sys/fs/bpf export CGO_ENABLED=0 export HOME="$home" echo Running tests.....
mkumatag/origin
vendor/github.com/cilium/ebpf/run-tests.sh
Shell
apache-2.0
1,771
#!/usr/bin/env bash mkdir -p ${PREFIX}/bin chmod +x primerclip mv primerclip ${PREFIX}/bin
roryk/recipes
recipes/primerclip/build.sh
Shell
mit
92
#!/bin/bash DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) if [ "$1" == "" ]; then echo "Usage: $0 <config.sh file>" exit 1; fi source ${DIR}/config.sh $1 source ${DIR}/util.sh set -e GCLOUD="gcloud" Header "Creating prometheus persistent disks..." for i in `seq 0 $((${PROMETHEUS_NUM_REPLICAS} - 1))`; do ...
php-coder/origin
vendor/github.com/google/certificate-transparency/cloud/google/start_prometheus.sh
Shell
apache-2.0
1,653
#!/bin/bash java -cp ../../lib/*:../../jar/*:. UserSample
ggalancs/one
src/oca/java/share/examples/UserSample.sh
Shell
apache-2.0
59
#!/usr/bin/env bash # Copyright 2015 The TensorFlow 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...
calebfoss/tensorflow
tensorflow/tools/ci_build/install/install_bazel.sh
Shell
apache-2.0
1,406
R CMD REMOVE --library=$PREFIX/lib/R/library/ canine2cdf
joachimwolff/bioconda-recipes
recipes/bioconductor-canine2cdf/pre-unlink.sh
Shell
mit
57
R CMD REMOVE --library=$PREFIX/lib/R/library/ htrat230pmcdf
joachimwolff/bioconda-recipes
recipes/bioconductor-htrat230pmcdf/pre-unlink.sh
Shell
mit
60
#!/bin/bash pslMapPostChain 2> /dev/null || [[ "$?" == 255 ]]
dmaticzka/bioconda-recipes
recipes/ucsc-pslmappostchain/run_test.sh
Shell
mit
62
#!/usr/bin/env bash pushd ~/git-repos/qmk_firmware/ rm -rf keyboards/planck/keymaps/gunp/ cp -rf ~/Documents/qmk-planck/ keyboards/planck/keymaps/gunp/ if [[ $1 == "dfu" ]]; then # sudo dfu-programmer atmega32u4 erase --force # sudo dfu-programmer atmega32u4 flash .build/planck_rev4_gunp.hex # sudo dfu-pro...
chancegrissom/qmk_firmware
keyboards/planck/keymaps/gunp/upload-and-make.sh
Shell
gpl-2.0
493
#!/bin/sh -ex # The MiniOS build is sensitive to some external variables # like EXTRA_DEPS being set, even to blank values. # See: https://github.com/mirage/mirage-xen-minios/issues/15 # This wrapper script explicitly unexports them from the # environment before invoking Make unset EXTRA_DEPS make debug=n CONFIG_VER...
rizo/opam-repository
packages/minios-xen/minios-xen.0.9/files/build-opam.sh
Shell
cc0-1.0
332
#!/bin/bash outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM mkdir -p $outdir mkdir -p $PREFIX/bin cp -R ./* $outdir/ mv $outdir/trimmomatic-$PKG_VERSION.jar $outdir/trimmomatic.jar cp $RECIPE_DIR/trimmomatic.sh $outdir/trimmomatic chmod +x $outdir/trimmomatic ln -s $outdir/trimmomatic $PREFIX/bin
bow/bioconda-recipes
recipes/trimmomatic/0.38/build.sh
Shell
mit
310
#!/bin/sh config() { NEW="$1" OLD="`dirname $NEW`/`basename $NEW .new`" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy f...
JKtheSlacker/slamdbuilds
Network/postfix/doinst.sh
Shell
isc
1,045
#!/bin/bash set -e #export PACKER_LOG=1 rm packer_virtualbox_virtualbox.box || true packer build -only=virtualbox packer.json vagrant box remove vagrant_machine || true vagrant box add vagrant_machine packer/packer_virtualbox_virtualbox.box
fabiendelpierre/vagrant-boxes
create_box.sh
Shell
isc
244
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/nodepm OUT...
pascalsystem/nodepm
nbproject/Package-Release.bash
Shell
mit
1,439
#!/bin/sh Machine=`uname -i` OutputDir=`pwd`"/.." UnionAiqiyi="aiqiyi.proto" RequestAiqiyi="bid_request.proto" ResponseAiqiyi="bid_response.proto" pkgName="aiqiyi.pb.go" function fixPackage() { regxL1="const _ = proto.ProtoPackageIsVersion2 \/\/ please upgrade the proto package" regxL2="func init() { proto.Regi...
MarsBighead/garden
marble/aiqiyi/spec/gen.sh
Shell
mit
1,732
#!/usr/bin/env bash cd $(dirname $0) set -e docker exec app-dev-dotnet app-test-functional
caleblloyd/dotnet-core-boilerplate
ci/test/functional.sh
Shell
mit
93
#!/bin/sh curl -X GET http://localhost:8080/v3/facts --data-urlencode 'query=["=", "certname", "puppetmaster.example.com"]'
clarenceb/puppetdb_spike
queries/FACTS_all_facts_for_node.sh
Shell
mit
125
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2184-2 # # Security announcement date: 2014-04-30 00:00:00 UTC # Script generation date: 2017-01-01 21:03:47 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: i686 # # Vulnerable packages fix on version: # - unity:7.2.0+14.04.20140423-0ubuntu1.2 ...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/i686/2014/USN-2184-2.sh
Shell
mit
636
#!/usr/bin/env bash pd=$PWD cd .. git clone https://github.com/esheldon/fitsio.git cd fitsio pyton setup.py install --user cd .. git clone https://github.com/rbiswas4/OpSimSummary.git cd OpSimSummary python setup.py install --user cd $pd
rbiswas4/SNsims
continuous_integration/install_opsimsummary.sh
Shell
mit
238
# Quickly reload Bash configuration alias src='source ~/.bashrc' # Enable coloring of common commands # # Extracted from Ubuntu's .bashrc if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' alias grep='grep --c...
alcesleo/dotfiles
bash/.config/bash/aliases.bash
Shell
mit
757
#!/usr/bin/env bash # Copyright (c) 2020 The Bitcoin developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C.UTF-8 set -euo pipefail # NOTE: This script must be sourced in order to work correctly # Temporaril...
Bitcoin-ABC/bitcoin-abc
contrib/source-control-tools/sanitize-conduit-token.sh
Shell
mit
630
#!/bin/bash # + # Convenient shortcuts. # - alias ..='cd ..; pwd' # cd .. alias ...='cd ../..; pwd' # cd ../.. alias cdvw='cd "$VW_DIR"; pwd' # cd vw dir # one liners chcount () { "$VW_DIR/tools/chcount.py" "$@" | pr -4t ; } # character count cpo () { cp "$@" "$OLDPWD" ; } # copy to $OLDPWD findext() { find . -name "*...
evanvliet/vw
base/ea.sh
Shell
mit
2,813
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3292-1 # # Security announcement date: 2015-06-19 00:00:00 UTC # Script generation date: 2017-01-01 21:07:27 UTC # # Operating System: Debian 8 (Jessie) # Architecture: i386 # # Vulnerable packages fix on version: # - cinder:2014.1.3-11+deb8u1 # - pytho...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/i386/2015/DSA-3292-1.sh
Shell
mit
1,521
export PATH="$PATH:/opt/rubies/jruby-1.0.2/bin"
abevoelker/docker-ruby
rubies/jruby-1.0.2/ruby.sh
Shell
mit
47
#!/bin/bash #PBS -l nodes=1:ppn=16 #PBS -l walltime=40:00:00 #PBS -A hpt-060-aa #PBS -V #PBS -N bamsurgeon # # Inputs: # - n = varset number # cd $working_dir export OMP_NUM_THREADS=16 varset=$varset_dir/varset${n}.bed bamfile=N2.bam outbam=N2_test_set_${n}.bam sorted_bam=${outbam/.bam/}.sorted.bam python $addsn...
AndersenLab/cluster-scripts
bamsurgeon.sh
Shell
mit
877
#!/usr/bin/env bash EXTRAS=/tmp/extras cd $EXTRAS if [ ! -f $EXTRAS/jdk-8u111-linux-x64.rpm ] then wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.rp...
joshholl/vagrants
centos7/scripts/install_extras.sh
Shell
mit
1,245
#!/bin/bash # Header file containing all artwork FRAMEWORK_PNG_HEADER="${DERIVED_FILES_DIR}/FieldKit_png.h" # Clean up previous build rm -f "${FRAMEWORK_PNG_HEADER}" mkdir -p "${DERIVED_FILES_DIR}" # Copy artwork cd "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Resources/${PRODUCT_NAME}.bundle" for png...
laugga/FieldKit
scripts/embed_framework_resources.sh
Shell
mit
709
download_node() { local node_url="http://s3pository.heroku.com/node/v$node_version/node-v$node_version-linux-x64.tar.gz" if [ ! -f ${cached_node} ]; then info "Downloading node ${node_version}..." curl -s ${node_url} -o ${cached_node} cleanup_old_node else info "Using cached node ${node_version}....
anderslime/phoenix-static-buildpack
lib/build.sh
Shell
mit
3,989
#!/bin/sh git filter-branch --env-filter ' OLD_EMAIL="fsampaio@avenuecode.com" CORRECT_NAME="Fellipe Souto" CORRECT_EMAIL="fllsouto@gmail.com" if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] then export GIT_COMMITTER_NAME="$CORRECT_NAME" export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" fi if [ "$GIT_AUTHOR_EMAIL" = "...
fllsouto/tcc-page
autor.sh
Shell
mit
475
OUTPUT="$(ps -ef | grep mongod)" echo "${OUTPUT}" > /Users/ledoux/Documents/ShareYourSystem/Pythonlogy/ShareYourSystem/Standards/Interfacers/Processer/ProcessTemp.txt
Ledoux/ShareYourSystem
Pythonlogy/ShareYourSystem/Standards/Interfacers/Processer/ProcessTemp.sh
Shell
mit
166
#!/bin/bash if [ $# -ne 1 ] then echo "Usage: ./deploy.sh ProjectId" exit 1 fi ./scripts/build-binary.sh ./scripts/build-container.sh $1 kubectl delete deployment bysykkel ./scripts/deploy.sh $1
pmenage/bysykkel-bot
deploy.sh
Shell
mit
201
#!/bin/sh -e rm -rf build script/check.sh --ci-mode script/measure.sh --ci-mode script/test.sh --ci-mode gcc -std=c99 -Wall src/main.c -o build/cs if [ "${1}" = --run ]; then build/cs fi #SYSTEM=$(uname) # # TODO: Needs polish. #if [ "${SYSTEM}" = Linux ]; then # script/debian/package.sh # script/docker/bu...
FunTimeCoding/c-skeleton
script/build.sh
Shell
mit
331
#!/bin/bash # Nmap method is far more recommended than ping method nmap -sP 128.178.121.211 -oG - | grep up if [ "$?" = "0" ] then echo "host is up !" else echo "host is down !" fi
Lyptik/bash-snippets
network/host-is-up-nmap.sh
Shell
mit
187
#!/bin/bash if [ $# -ne 2 ]; then echo "usage: ./create_sftp.sh user data_home" exit fi user=$1 data_home=$2 user_home=/home/$user echo user:$user data_home:$data_home useradd -g sftp -s /usr/sbin/nologin -m $user mkdir $user_home/.ssh touch $user_home/.ssh/authorized_keys chown -R $user:sftp $user_home/.ssh ch...
jiaorenyu/learning
shell/create_sftp.sh
Shell
mit
708
#!/bin/bash pushd sample-vm > /dev/null if [[ "$OSTYPE" == "linux-gnu" ]]; then VBOXMANAGE=`which vboxmanage` elif [[ "$OSTYPE" == "darwin"* ]]; then VBOXMANAGE=`which vboxmanage` elif [[ "$OSTYPE" == "cygwin" ]]; then VBOXMANAGE="/c/Program Files/Oracle/VirtualBox/VBoxManage.exe" elif [[ "$OSTYPE" ...
kusnier/vagrant-persistent-storage
test.sh
Shell
mit
1,066
#!/bin/sh JAVA_HOME=/usr/java/jdk1.6.0_45 ANT_HOME=/usr/ant/apache-ant-1.9.0 PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH ant
wangzhengbo/JWMCtrl
build.sh
Shell
mit
122
#!/bin/bash mkdir /var/run/sshd # create an ubuntu user PASS=`pwgen -c -n -1 10` echo "User: ubuntu Pass: $PASS" useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu echo "ubuntu:$PASS" | chpasswd /usr/sbin/sshd -D
jimt/docker-mwflow
sshd/startup.sh
Shell
mit
245
#!/bin/bash # Create grids of template spectra for use with cross-correlation code. Also create a library of test spectra, merging the GALAH sample with some additional hot stars. # Make a rectangular grid of synthetic spectra for T<8000K ../synthesize_samples/synthesize_rv_fitting_grid.py # Import Joachim Bestenleh...
dcf21/4most-4gp-scripts
src/scripts/rv_code_test/build_grids.sh
Shell
mit
1,053
#!/bin/bash source $ANDROLYZE_UTIL # get a value from the config file function get_settings_value_for_key { cat $WORKER_CONFIG_PATH | sed -n "s/$1[ ]*=[ ]*\(.*\)/\1/p" } echo "getting config files ..." init_configs.sh # get code if [ ! -d "$WORKER_HOME/androlyze/.git" ]; then echo "androlyze repo does not exist -...
nachtmaar/androlyze
docker/worker/docker_init.sh
Shell
mit
1,309
gcc -c -fpic -O2 ring_opengl41.c -I $PWD/../../../language/include gcc -shared -o $PWD/../../../lib/libring_opengl41.so ring_opengl41.o -L $PWD/../../lib -lring -L /usr/lib/i386-linux-gnu -lGL -lGLU -lglut
ring-lang/ring
extensions/ringopengl/opengl41/buildgcc.sh
Shell
mit
211
#!/bin/bash # general good practice (stop on error, missing variables): set -eu chmod -R 777 $APACHE_LOG_DIR && \ exec /usr/bin/supervisord
linfin/docker-webserver-dev
entrypoint.sh
Shell
mit
140
#!/bin/bash INSTANCE_ID=$(ec2-metadata -i | awk '{print $2}') TERMINATE_MESSAGE="Terminating EC2 instance <$INSTANCE_ID>" TERMINATING=$(aws autoscaling describe-scaling-activities \ --auto-scaling-group-name "$ClusterStack-scaling-group" \ --max-items 100 \ --region "$AWS_REGION" | \ jq --arg TERMINATE_...
villasv/turbine
scripts/airflow-terminate.sh
Shell
mit
502
#!/usr/bin/env bash set -o pipefail set -o errexit set -o nounset # set -o xtrace # Set magic variables for current FILE & DIR __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # __file="${__dir}/$(basename "${BASH_SOURCE[0]}")" # __base="$(basename ${__file} .sh)" __root="$(cd "$(dirname "${__dir}")" && pwd)" s...
freyproject/frey
test/acceptance.sh
Shell
mit
6,387
#!/usr/bin/env bash post_name=$(rake post title="$@" | tee /tmp/rake_log) post_name=$(echo $post_name | awk 'NR==FNR {print $NF}') vim $post_name
morefreeze/morefreeze.github.io
_add_post.sh
Shell
mit
146
#!/bin/bash # My first script ~/anaconda2/bin/jupyter notebook
swirlingsand/self-driving-car-nanodegree-nd013
p6-Extended-Kalman-Filter/CarND-Mercedes-SF-Utilities-master/python/conda.sh
Shell
mit
62
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3443-1 # # Security announcement date: 2016-01-13 00:00:00 UTC # Script generation date: 2017-01-01 21:07:44 UTC # # Operating System: Debian 8 (Jessie) # Architecture: i386 # # Vulnerable packages fix on version: # - libpng:1.2.50-2+deb8u2 # - libpng12...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/i386/2016/DSA-3443-1.sh
Shell
mit
1,025
echo 'Hello, world!'
blakeembrey/node-language-command
test/fixtures/hello-world/Shell.sh
Shell
mit
21
#!/bin/bash echo "compiling applescripts for iTerm Nightly..." osacompile -o ~/Git/shuttle/Shuttle/apple-scpt/iTerm2-nightly-new-window.scpt -x ~/Git/shuttle/apple-scripts/iTermNightly/iTerm2-nightly-new-window.applescript osacompile -o ~/Git/shuttle/Shuttle/apple-scpt/iTerm2-nightly-current-window.scpt -x ~/Git/shutt...
pluwen/shuttle
apple-scripts/compile-iTermNightly.sh
Shell
mit
565
#!/bin/bash # Simple setup.sh for configuring Ubuntu 12.04 LTS EC2 instance # for headless setup. # Install nvm: node-version manager # https://github.com/creationix/nvm # sudo apt-get install -y git-core curl https://raw.github.com/creationix/nvm/master/install.sh | sh # Load nvm and install latest production node ...
mvkvl/bootstrap
tmp/setup_dev.sh
Shell
mit
1,213