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
echo "`lsof | grep txt | wc -l` - `date`" >> /tmp/test.txt
| alphagov/ier-frontend | scripts/utils/file_handles_check.sh | Shell | mit | 72 |
#!/bin/bash
#SBATCH --nodes 1
#SBATCH --ntasks-per-node 1
#SBATCH --cpus-per-task 1
#SBATCH --mem 4000
#SBATCH --job-name="nodesign"
#SBATCH --time 35:00:00
#SBATCH --array=1-1000
#SBATCH --output=/scratch/bonet/logs/nodesign.%A_%a.out
#SBATCH --error=/scratch/bonet/logs/nodesign.%A_%a.err
ROSETTAPATH="/scratch/lpdi/b... | jaumebonet/FoldFromLoopsTutorial | benchmark/scientific/bcl2/experiments/from4oyd/fullcst/submiter.castor.sh | Shell | mit | 974 |
#!/bin/sh
##############################################################
##################### usage ############################
##############################################################
function shell_usage()
{
echo "################## USAGE: $0 [-fph]"
sleep 1
echo "################## USAGE: ... | DyncKevin/Teameeting-MsgServer | MsgServer/client_test/concurrency_parser.sh | Shell | gpl-2.0 | 4,941 |
#!/bin/bash
## Give the Job a descriptive name
#PBS -N makejob
## Output and error files
#PBS -o makejob.out
#PBS -e makejob.err
## How many machines should we get?
#PBS -l nodes=1
## Start
## Run make in the src folder (modify properly)
cd /home/users/goumas/benchmarks/MPI_code/fw
make
| VHarisop/Parallel | ex1/code/scripts/make_on_queue.sh | Shell | gpl-2.0 | 294 |
/opt/lampp/bin/php make_plugin.php aceditor
/opt/lampp/bin/php make_plugin.php attach
/opt/lampp/bin/php make_plugin.php navigation
/opt/lampp/bin/php make_plugin.php tableau
/opt/lampp/bin/php make_plugin.php hashcash
| YesWiki/yeswiki-extensions-deprecated | script/make_plug.sh | Shell | gpl-2.0 | 219 |
#!/system/bin/sh
# custom busybox installation shortcut
bb=/sbin/bb/busybox;
# Set TCP westwood
echo "westwood" > /proc/sys/net/ipv4/tcp_congestion_control
# Apply fq pie packet sched
tc qdisc add dev wlan0 root fq_pie
tc qdisc add dev rmnet_data0 root fq_pie
| HelpMeRuth/ruthless | Anykernel2/ramdisk/init.optimus.sh | Shell | gpl-2.0 | 263 |
#!/bin/bash
# setup colors
red=`tput setaf 1`
green=`tput setaf 2`
cyan=`tput setaf 6`
bold=`tput bold`
reset=`tput sgr0`
heading()
{
echo
echo "${cyan}==>${reset}${bold} $1${reset}"
}
success()
{
echo
echo "${green}==>${bold} $1${reset}"
}
error()
{
echo
echo "${red}==>${bold} Error: $1${reset}"
}
heading "... | ExEric3/shift-network-reporter | build.sh | Shell | gpl-3.0 | 988 |
# For Caltech Clusters
#MATLAB_PATH='/ldcg/matlab_r2016b'
#MATLAB_PATH='/Documents/MATLAB2016b'
MATLAB_PATH='/Downloads/MCR_R2016b'
export LD_LIBRARY_PATH="$MATLAB_PATH/sys/os/glnxa64:$MATLAB_PATH/bin/glnxa64:$MATLAB_PATH/extern/lib/glnxa64:$MATLAB_PATH/runtime/glnxa64:$MATLAB_PATH/sys/java/jre/glnxa64/jre/lib/amd64/... | ligovirgo/seismon | RfPrediction/RfAmp_Compiled_Python_Package/robustLocklossPredictionPkg4/for_redistribution_files_only/set_shared_library_paths.sh | Shell | gpl-3.0 | 414 |
#!/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 1A/logs/w-11_0/20161107T152502+0000/00/00/calculateratio_8_ID0000023.sh | Shell | gpl-3.0 | 1,252 |
#!/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 2/logs/w-08_0/20170117T204045+0000/00/00/longestsession_0_ID0000006.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/bash
#
# This is job project1_test1_0
#
#
## Start of header for backend 'local'.
#
set -e
set -u
ENVIRONMENT_DIR='.'
#
# Variables declared in MOLGENIS Compute headers/footers always start with an MC_ prefix.
#
declare MC_jobScript="test1_0.sh"
declare MC_jobScriptSTDERR="test1_0.err"
declare MC_jobScriptST... | molgenis/molgenis-compute | molgenis-compute-core/src/test/resources/expected/testParameters2/test1_0.sh | Shell | lgpl-3.0 | 5,977 |
#!/bin/bash -x
TRIK_QT_INSTALL_DIR=${TRIK_QT_INSTALL_DIR:-$HOME/TRIK_Qt}
SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})
set -ueo pipefail
D=/tmp/qt-installer.dmg
test -r "$D" || curl -L -o "$D" http://download.qt-project.org/official_releases/online_installers/qt-unified-mac-x64-online.dmg
P=$(hdiutil attach "$D" -noverify -n... | trikset/trikRuntime | scripts/install_qt_mac.sh | Shell | apache-2.0 | 810 |
#!/bin/bash
CLI_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $CLI_DIR
if [ -z "$GOPATH" -o -z "$(which go)" ]; then
echo "Missing GOPATH environment variable or 'go' executable. Please configure a Go build environment."
exit 1
fi
# The name of the binary produced by Go:
if [ -z "$EXE_NAME" ]; then
... | verma7/dcos-cassandra-service | cli/build-cli.sh | Shell | apache-2.0 | 1,742 |
#!/bin/bash
#
chmod a+x ./adb/mac/adb
# 1. Command Line interface of this tool
DEVICE_ID=$1
UNAME=$2
APK_FILE=$3
PKG_NAME=$4
PKG_VERSION=$5
SIG_DURA=$6
SER_DURA=$6
if [ -d "./logs/" ]; then
echo "./logs/ exists! remove expired folder"
# rm -r ./logs/
fi
# 2. running command
#java -jar monkey-adapter-runner.jar -... | apack1001/Android-Monkey-Adapter | dist/gen_report.sh | Shell | apache-2.0 | 856 |
#!/bin/sh -e
# 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 applicable law or agreed to in writing, software
# distribu... | apache/couchdb-admin | release/auto_distcheck.sh | Shell | apache-2.0 | 1,399 |
#!/bin/bash
# Always run this script from the root of the Buck project directory.
#
# Remove any residual files that could derail build and publication.
#
cd "$(git rev-parse --show-toplevel)" || exit
ant clean
cd "$(git rev-parse --show-toplevel)/docs" || exit
exec java -jar plovr-81ed862.jar soyweb --port 9814 --d... | LegNeato/buck | docs/soyweb-prod.sh | Shell | apache-2.0 | 349 |
#!/usr/bin/env bash
##
# Copyright (c) 2008-2013 Marius Zwicker
# All rights reserved.
#
# @LICENSE_HEADER_START:Apache@
#
# 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... | leon-m/cool | externals/xdispatch/build/genXCode_ProjectFiles.command | Shell | apache-2.0 | 906 |
#!/bin/bash
source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh"
trap os::test::junit::reconcile_output EXIT
os::test::junit::declare_suite_start "cmd/create"
# No clusters notice
os::cmd::try_until_text "_output/oshinko get" "No clusters found."
# name required
os::cmd::expect_failure "_output/oshinko create... | crobby/oshinko-cli | test/cmd/create.sh | Shell | apache-2.0 | 11,563 |
#!/bin/bash
git describe --exact-match
if [[ ! $? -eq 0 ]];then
echo "Nothing to publish, exiting.."
exit 0;
fi
if [[ -z "$NPM_TOKEN" ]];then
echo "No NPM_TOKEN, exiting.."
exit 0;
fi
if [[ $(git describe --exact-match 2> /dev/null || :) =~ -canary ]];
then
echo "Publishing canary"
yarn run lerna publis... | azukaru/next.js | scripts/publish-release.sh | Shell | mit | 853 |
#!/bin/sh
# Copyright (C) 2002-2014 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 i... | kuym/openocd | tools/automake-1.15/t/libtool6.sh | Shell | gpl-2.0 | 1,248 |
#!/bin/bash
rm -rf *.so
OPT="-g -O3" python setup.py build_ext --inplace
python setup.py clean
| brianjimenez/lightdock | lightdock/scoring/vdw/energy/c/compile.sh | Shell | gpl-3.0 | 96 |
#!/bin/bash
# Author: Fred Brooker <original@fredbrooker.cz>
# URL: http://fredbrooker.cz/
# "touch .ignorebackup" in folders to be skipped
# CHANGE THIS VARIABLE TO MATCH YOUR BACKUP MEDIA LOCATION!
P='/media/backup'
if [ -d "$P" ]
then
cd ~
sudo tar cvpzf "$P/home-backup-`date +%d.%m.%Y`.tar.gz" --one-file-sys... | gauravdatir/linux-bash-scripts | backup-home.sh | Shell | unlicense | 475 |
DESTDIR=droneapi/lib
protoc --python_out=$DESTDIR --proto_path=../droneapi-protobuf/src ../droneapi-protobuf/src/webapi.proto
| Blackflappybird/droneapi-python | compile-protobufs.sh | Shell | apache-2.0 | 126 |
#!/bin/sh
#
# This script runs as root through sudo without the need for a password,
# so it needs to make sure it can't be abused.
#
# make sure we have a secure PATH
PATH=/bin:/usr/bin
export PATH
if [ $# -ne 2 ]; then
echo "usage: $0 <image-file> <block device>"
exit 1
fi
IMAGE="$1"
OUTPUT="$2"
# workaround f... | tracyde/bosh-aws-cpi-release | src/bosh_aws_cpi/scripts/stemcell-copy.sh | Shell | apache-2.0 | 834 |
# Copyright (C) 2014 Benny Bobaganoosh
#
# 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 applicable law or agreed to in wri... | AGoodGameMaker/https-github.com-BennyQBD-3DEngineCpp | Unix-GitPush.sh | Shell | apache-2.0 | 836 |
#!/bin/bash
# ------------------------------------------------------------------------
#
# Copyright 2005-2015 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
#
#... | gayangunarathne/private-paas-cartridges | wso2esb/4.9.0/samples/applications/wso2esb-490-application/scripts/common/undeploy.sh | Shell | apache-2.0 | 2,511 |
#!/bin/bash
# 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 applicable law or agreed to in writing, software
# distribut... | twitter/heron | release/maven/maven-pom-version.sh | Shell | apache-2.0 | 2,174 |
#!/bin/bash
exitError()
{
echo "ERROR $1: $3" 1>&2
echo "ERROR LOCATION=$0" 1>&2
echo "ERROR LINE=$2" 1>&2
exit $1
}
cmakeConfigure()
{
local idir=$1
# construct cmake arguments
local CMAKEARGS=(..
"-DCMAKE_INSTALL_PREFIX=${idir}"
"-DBoost_NO_SYSTEM_PATHS=TRUE... | clementval/serialbox | test/build.sh | Shell | bsd-2-clause | 1,456 |
#!/bin/bash
# Initialization script for the Bamboo web application
getopts :fh FLAG
case $FLAG in
f) # force composer install
# Copies the parameters dist file to the actual parameters.yml.
# If you run composer manually, you will benefit from Incenteev
# ParameterHandler, which will interac... | atresmediahf/bamboo | app/install.sh | Shell | mit | 1,805 |
#!/bin/bash
FN="pd.vitis.vinifera_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/pd.vitis.vinifera_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.vitis.vinifera_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.vitis.vinifera/bioconductor-... | Luobiny/bioconda-recipes | recipes/bioconductor-pd.vitis.vinifera/post-link.sh | Shell | mit | 1,466 |
#!/bin/bash
FN="pd.mogene.1.0.st.v1_3.14.1.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/pd.mogene.1.0.st.v1_3.14.1.tar.gz"
"https://bioarchive.galaxyproject.org/pd.mogene.1.0.st.v1_3.14.1.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.mogene.1.0.st.v1/bioco... | Luobiny/bioconda-recipes | recipes/bioconductor-pd.mogene.1.0.st.v1/post-link.sh | Shell | mit | 1,480 |
#!/bin/bash
FN="pd.moex.1.0.st.v1_3.14.1.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/pd.moex.1.0.st.v1_3.14.1.tar.gz"
"https://bioarchive.galaxyproject.org/pd.moex.1.0.st.v1_3.14.1.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.moex.1.0.st.v1/bioconductor-... | Luobiny/bioconda-recipes | recipes/bioconductor-pd.moex.1.0.st.v1/post-link.sh | Shell | mit | 1,466 |
#!/bin/sh
# Copyright (C) 2010 Eric Day
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | jeppeter/drizzlebr | plugin/auth_ldap/test_ldap.sh | Shell | gpl-2.0 | 3,075 |
#!/bin/sh
#
# Copyright (c) 2006 Junio C Hamano
#
test_description='git grep various.
'
. ./test-lib.sh
cat >hello.c <<EOF
#include <stdio.h>
int main(int argc, const char **argv)
{
printf("Hello world.\n");
return 0;
/* char ?? */
}
EOF
test_expect_success setup '
{
echo foo mmap bar
echo foo_mmap bar
ec... | TextusData/Mover | thirdparty/git-1.7.11.3/t/t7810-grep.sh | Shell | gpl-3.0 | 20,792 |
#!/bin/sh
# $Id: z3950-daemon-shell.sh,v 1.5 2003/11/05 23:33:45 slef Exp $
# Script to start Koha background Z39.50 search daemon
# Part of the Koha Library Mgmt System - www.koha.org
# Licensed under the GPL
#----------------------------
# Do NOT run this script directly from system startup-- this should not run... | Desarrollo-CeSPI/meran | intranet/scripts/z3950daemon/z3950-daemon-shell.sh | Shell | gpl-3.0 | 3,004 |
#!/bin/sh
cd "$(dirname "$0")"
# This script uses PhantomJS to update the descriptions with the DOM generated by WebKit.
# It thus replace seriously broken HTML by what is actually rendered in the browser.
# Use like this:
# ./fix_descriptions.sh > update_descriptions.sql
# Read what gets written on stderr, and eve... | nop33/indico | bin/utils/descriptions/fix_descriptions.sh | Shell | gpl-3.0 | 844 |
#!/bin/bash
rm -rf html/
mkdir html
asciidoctor *.adoc
mv *.html html/
| joshuagn/ANPR | docs/render_docs.sh | Shell | apache-2.0 | 72 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@gmail.com)
#
#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 Licens... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN003930.sh | Shell | apache-2.0 | 2,980 |
#!/usr/bin/env bash
# Copyright 2017 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#
# This script will build licenseok and run it on all
# source files to check licence
set -e
go build ./hack/licenseok
find . -path ./vendor -... | ibrasho-forks/dep | hack/validate-licence.bash | Shell | bsd-3-clause | 433 |
#!/bin/bash -e
#===============================================================================
# FILE: package_a52dec_source.sh
# USAGE: ./package_a52dec_source.sh
# DESCRIPTION: Retrieve a52dec source
# OPTIONS: ---
# LICENSE: AGPLv3+
# REQUIREMENTS: ---
# BUGS: ---
# NOT... | littlefisher112291/platform-install-packages | build/package_a52dec_source.sh | Shell | agpl-3.0 | 1,135 |
#!/bin/bash
# Requires bash version >= 4.
# This script updates pom.xml, README.md and other relevant files to the next version number.
# This script is meant to be run manually (not by Travis)
#
# This script should be ALWAYS executed from the repo root directory: ./utilities/update_versions.sh
#
# Arguments (all ar... | rborer/google-cloud-java | utilities/update_versions.sh | Shell | apache-2.0 | 11,259 |
#!/bin/sh
../../bin/pyjsbuild $@ Scope
| certik/pyjamas | examples/scoping/build.sh | Shell | apache-2.0 | 39 |
mvn archetype:create -DarchetypeGroupId=org.ops4j.pax.exam -DarchetypeArtifactId=maven-archetype-paxexam-junit -DarchetypeVersion=1.2.0-SNAPSHOT -DgroupId=com.company -DartifactId=company-osgitests
| ops4j/org.ops4j.pax.exam1 | maven-archetype-paxexam-junit/src/test/resources/testcreate.sh | Shell | apache-2.0 | 198 |
ipsec auto --up westnet--eastnet-ikev2
ipsec look
ping -c1 -I 192.0.1.254 192.0.2.254
echo done
| y-trudeau/openswan-patch-meraki | testing/pluto/interop-ikev2-racoon-02-psk-responder/westrun.sh | Shell | gpl-2.0 | 97 |
#!/usr/bin/env bash
ci_dir="$(dirname "$0")"
source ${ci_dir}/ci-common.sh
Flocq_CI_DIR=${CI_BUILD_DIR}/flocq
git_checkout ${Flocq_CI_BRANCH} ${Flocq_CI_GITURL} ${Flocq_CI_DIR}
( cd ${Flocq_CI_DIR} && ./autogen.sh && ./configure && ./remake -j${NJOBS} )
| amintimany/coq | dev/ci/ci-flocq.sh | Shell | lgpl-2.1 | 258 |
inkscape --export-png ../icons/16x16/vlc-qt.png -w 16 vlc-qt.svg
inkscape --export-png ../icons/16x16/vlc-qt@2x.png -w 32 vlc-qt.svg
inkscape --export-png ../icons/24x24/vlc-qt.png -w 24 vlc-qt.svg
inkscape --export-png ../icons/24x24/vlc-qt@2x.png -w 48 vlc-qt.svg
inkscape --export-png ../icons/32x32/vlc-qt.png -w 3... | Danielmachon/vlc-qt | resources/src/inkscape-gen_vlc-qt.sh | Shell | lgpl-3.0 | 950 |
#!/bin/bash
if [ -z "$BROOKLYN_APP_CLASS" ] ; then
BROOKLYN_APP_CLASS=brooklyn.demo.WebClusterDatabaseExample
fi
if [ -z "$JAVA" ] ; then
JAVA=`which java`
fi
if [ ! -z "$JAVA_HOME" ] ; then
JAVA=$JAVA_HOME/bin/java
else
JAVA=`which java`
fi
if [ ! -x "$JAVA" ] ; then
echo Cannot find java. Set J... | rhodgin/brooklyn | examples/simple-web-cluster/src/main/assembly/scripts/start.sh | Shell | apache-2.0 | 613 |
#!/bin/bash
# ensure that the specified version of protoc is installed in
# /tmp/proto$PROTO_VERSION/bin/protoc, which maybe cached
# bash tools/travis-install-protoc.sh 3.0.0-beta-3.1
#
# make bash more robust.
set -beEux -o pipefail
if [ $# != 1 ] ; then
echo "wrong # of args: $0 protoversion" >&2
exit... | ga4gh/schemas | tools/travis-install-protoc.sh | Shell | apache-2.0 | 728 |
#!/bin/bash
# Generate input if none exists
mkdir -p input
EXISTING_INPUTS=$(ls -la input/ | wc -l)
if [[ $EXISTING_INPUTS != 14 ]]; then
rm -rf input/*
./generate.sh
fi
# Place input in HDFS
./convert.sh
| agrippa/spark-swat | functional-tests/tuple-output/init.sh | Shell | bsd-3-clause | 215 |
source $stdenv/setup
set -x
sources_=($sources)
targets_=($targets)
echo $objects
objects=($objects)
symlinks=($symlinks)
# Remove the initial slash from a path, since genisofs likes it that way.
stripSlash() {
res="$1"
if test "${res:0:1}" = /; then res=${res:1}; fi
}
touch pathlist
# Add the individual ... | nbp/nixos | lib/make-system-tarball.sh | Shell | mit | 1,331 |
# 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.
# Save the current disk usage (in POSIX output format) in the rescue image
# excluding possibly mounted ReaR target USB data and USB ESP partitions:
local original_disk_s... | phracek/rear | usr/share/rear/layout/save/GNU/Linux/510_current_disk_usage.sh | Shell | gpl-3.0 | 1,426 |
#! /bin/sh
./lib/mk/std-autogen.sh ./lib
| jaiminpan/pgbouncer | autogen.sh | Shell | isc | 44 |
#!/bin/bash
DEVDIR=python-codec-dev
VERSION=`PYTHONPATH=$DEVDIR/src/ python get_version.py`
DEVZIP=dist/$DEVDIR-$VERSION.tar.gz
python ../googlecode_upload.py -s "Developer version of the RL-Glue Python Codec $VERSION" -p rl-glue-ext --labels=Type-Installer,OpSys-All,Language-Python,Audience-Dev $DEVZIP
| GarethNelson/rl-glue-ext | projects/distribution_tools/Python-Codec/upload-fromsource-dev.bash | Shell | apache-2.0 | 307 |
#!/bin/bash
echo "Assumed that you ran 'sbt +clean +update dependencyUpdates evicted +test:compile +test' first!"
echo ""
if grep -q SNAP build.sbt
then
echo "There are SNAPSHOTs in the build! Aborting."
exit 1
fi
sbt "; + rootJVM/publishSigned ; + rootJS/publishSigned ; sonatypeBundleRelease"
| Sciss/ScalaCollider | scripts/publishSigned.sh | Shell | lgpl-2.1 | 302 |
#!/bin/bash
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../../../k8s.io/code-generator)}
go install ./${CODEGEN_PKG}/cmd/conversion-gen
function codegen::join() { ... | php-coder/origin | hack/update-generated-conversions.sh | Shell | apache-2.0 | 1,839 |
#!/bin/sh
# production binary with bootloader
#/usr/local/stlink/st-flash --reset write /tmp/ArduCopter.build/f4light_Revolution.bin 0x08010000
#bare metal binary
/usr/local/stlink/st-flash --reset read eeprom.bin 0x08004000 0xc000 && \
/usr/local/stlink/st-flash --reset write ../../../../../ArduPlane/f4light_Re... | lekston/ardupilot | libraries/AP_HAL_F4Light/boards/f4light_Revolution/support/bl/UPLOAD-plane-STLINK.sh | Shell | gpl-3.0 | 453 |
#!/bin/sh
cd `dirname $0`
java -classpath "${CLASSPATH}:.:bin/classes:BuiltIn:bin/lib/Hack.jar:bin/lib/HackGUI.jar:bin/lib/Simulators.jar:bin/lib/SimulatorsGUI.jar:bin/lib/Compilers.jar" HardwareSimulatorMain $*
| Sl0vi/nand2tetris | tools/HardwareSimulator.sh | Shell | gpl-3.0 | 212 |
#!/bin/sh -x
echo "Writing to /tmp/$bar"
echo $foo > /tmp/$bar
echo -n "The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action" > $heat_outputs_path.result
echo "Written to /tmp/$bar"
echo "Output to stderr" 1>&2 | hardys/demo_templates | resource_group_nested_config/config-scripts/example-script.sh | Shell | apache-2.0 | 252 |
#!/bin/bash
#
# Copyright 2015 Google Inc. 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 applic... | d/bazel | src/test/shell/bazel/bazel_example_test.sh | Shell | apache-2.0 | 5,925 |
#!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | wjiangjay/origin | vendor/k8s.io/kubernetes/cluster/gce/config-common.sh | Shell | apache-2.0 | 3,227 |
#!/bin/sh
[ -n "$INCLUDE_ONLY" ] || {
. /lib/functions.sh
. /lib/functions/network.sh
. ../netifd-proto.sh
init_proto "$@"
}
vti_generic_setup() {
local cfg="$1"
local mode="$2"
local local="$3"
local remote="$4"
local link="$5"
local mtu zone ikey
json_get_vars mtu zone ikey okey
proto_init_update "$lin... | plntyk/openwrt | package/network/config/vti/files/vti.sh | Shell | gpl-2.0 | 2,984 |
#!/bin/sh
# Unit tests for vc-list-files
# Copyright (C) 2008-2013 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# 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; eit... | DDTChen/CookieVLC | vlc/contrib/android/gnutls/gl/tests/test-vc-list-files-git.sh | Shell | gpl-2.0 | 1,438 |
#!/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... | lleszczu/kubernetes | hack/jenkins/gotest-dockerized.sh | Shell | apache-2.0 | 1,704 |
#!/bin/sh
test_description='git log with invalid commit headers'
. ./test-lib.sh
test_expect_success 'setup' '
test_commit foo &&
git cat-file commit HEAD |
sed "/^author /s/>/>-<>/" >broken_email.commit &&
git hash-object -w -t commit broken_email.commit >broken_email.hash &&
git update-ref refs/heads/broken_... | devzero2000/git-core | t/t4212-log-corrupt.sh | Shell | gpl-2.0 | 2,523 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ maizeprobe
| joachimwolff/bioconda-recipes | recipes/bioconductor-maizeprobe/pre-unlink.sh | Shell | mit | 57 |
#!/bin/sh
#
# Portions copyright (c) 2007, 2009 Sam Vilain
# Portions copyright (c) 2011 Bryan Jacobs
#
test_description='git-svn svn mergeinfo propagation'
. ./lib-git-svn.sh
test_expect_success 'load svn dump' "
svnadmin load -q '$rawsvnrepo' \
< '$TEST_DIRECTORY/t9161/branches.dump' &&
git svn init --minimiz... | twitter/git | t/t9161-git-svn-mergeinfo-push.sh | Shell | gpl-2.0 | 2,556 |
#!/usr/bin/env bash
set -o pipefail -eux
declare -a args
IFS='/:' read -ra args <<< "$1"
cloud="${args[0]}"
python="${args[1]}"
group="${args[2]}"
target="shippable/${cloud}/group${group}/"
stage="${S:-prod}"
changed_all_target="shippable/${cloud}/smoketest/"
if [ "${group}" == "1" ]; then
# only run smokete... | simonwydooghe/ansible | test/utils/shippable/cloud.sh | Shell | gpl-3.0 | 1,001 |
#!/bin/bash
set -e
PARENT_DIR="$(dirname "$0")"
jasmine-node "$PARENT_DIR"/spec/
| romiem/angular.js | i18n/run-tests.sh | Shell | mit | 82 |
#!/bin/bash
mkdir -p test/temp
echo '<script src="bundle.js"></script>' > test/temp/test.html
browserify -t brfs test/*.js -o test/temp/bundle.js
| toulon/trestle | templates/app/public/vendor/forms/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/testling.sh | Shell | mit | 146 |
#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo "Error: This script must be run as root"
exit 1
fi
# Setup apt-get for grabbing mono snapshot builds
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://jenkins.mono-project.com/repo/debian sid main" | t... | KamalRathnayake/roslyn | build/linux/setup-snapshot.sh | Shell | apache-2.0 | 638 |
#!/bin/bash
#
# Copyright © 2012-2013 Sergio Arroutbi Braojos <sarroutbi@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software
# for any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all copies.
#
# THE SOFTWA... | sarroutbi/buscobici | getscripts/kingbarcelona_get.sh | Shell | isc | 4,535 |
#!/bin/sh
# if no arguments are given, we just want to build
if [ "$1" == "" ]; then
echo "Building Vektor..."
bam $BAMFLAGS -a Mode=Debug
elif [ "$1" == "install" ]; then
cp build/usr/local/lib/* /usr/local/lib/ &&
cp build/usr/local/include/* /usr/local/include/ &&
cp build/usr/local/bin/* /usr/local/bin/ &&
c... | Potent-Code/vektor | make.sh | Shell | isc | 845 |
#!/usr/bin/env bash
# Bundle components/modules
gulp aws-1
pm2 delete all
# Boot it the app!
npm run pm2-aws-1 | russll/analytics-suite | tools/start-aws-1.sh | Shell | mit | 113 |
#!/bin/sh
sudo apt install cockpit cockpit-doc cockpit-docker cockpit-machines cockpit-packagekit
| locoesso/install | ubuntu/cockpit-docker-machines.sh | Shell | mit | 99 |
#!/bin/sh
NOA_HOME=${HOME}/.noa
if [ ! -d ${NOA_HOME}/pgdc/pgdata ];
then
echo "Looks like Noa is not setup."
echo "Run ./noa_docker_setup.sh to create a new Noa environment."
exit 1
fi
echo "> Bringing down Noa Containers"
sudo docker-compose down
echo "> Twiddling a bit before wiping off ${NOA_HOME}"
sleep ... | handnot2/noa | noa_docker_cleanup.sh | Shell | mit | 447 |
#!/bin/sh
path=`dirname $0`
# start an instance the php7 internal httpd server
# needed to execute the w3c tests in a browser
php -S localhost:8000 -t ${path}/w3c/ &
| dperini/nwsapi | test/w3c-test.sh | Shell | mit | 170 |
git pull origin master
touch coins_uwsgi.ini | desecho/coins | deploy.sh | Shell | mit | 44 |
#!/usr/bin/env bash
# 柔韧性练习|2014-10-01
python topswim.py 1649 19 2
# 练好游泳的内功――超直|2014-10-02
python topswim.py 11424 33 2
# 仰泳常见问题及纠正方法|2014-10-03
python topswim.py 2039 1 2
# 超直的陆上练习|2014-10-04
python topswim.py 73347 11 2
# 腰部发力打腿的解剖学解释!|2014-10-05
python topswim.py 84268 7 2
# 重心与漂浮|2014-10-06
python topswim.py 3991... | reverland/topswim | rebuild.sh | Shell | mit | 2,637 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2642-2
#
# Security announcement date: 2015-06-21 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:38 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - linux-image-3.13.0-55-generic-lpae:3... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2015/USN-2642-2.sh | Shell | mit | 922 |
#/usr/bin/env bash
if which nvim > /dev/null ; then
echo "########## Neovim already installed. Skipping ..."
else
echo "########## Installing neovim ..."
sudo apt-get install software-properties-common
sudo add-apt-repository --remove -y ppa:neovim-ppa/unstable
sudo add-apt-repository -y ppa:neovim-ppa/unstab... | eendroroy/loki-bootstrap | recipes/neovim.sh | Shell | mit | 610 |
#!/bin/bash
cd utils
nosetests -v --with-coverage --cover-erase
if [ $? -eq 1 ]; then
echo "utils tests failed"
exit 1
fi
cd ../kafka-monitor
nosetests -v --with-coverage --cover-erase --cover-package=../kafka-monitor/
if [ $? -eq 1 ]; then
echo "kafka-monitor tests failed"
exit 1
fi
cd ../redis-monitor... | istresearch/scrapy-cluster | run_offline_tests.sh | Shell | mit | 889 |
#!/bin/bash
if [ $# -lt 1 ]; then
echo You need to specify \"on\" or \"off\" as an argument.
exit 1
fi
NUM_PROC=`cat /sys/devices/system/cpu/present | sed 's/-/ /g' | awk '{print $2}'`
if [ "$1" == "off" ]; then
echo 'CPU 0 cannot be disabled. (always enabled)'
fi
for ((i=1;i<=$NUM_PROC;i++)); do
ENABLE... | ANLAB-KAIST/NBA | scripts/turn_allothercpu.sh | Shell | mit | 632 |
sudo docker run -p 49160:8080 -d yoshuawuyts/frontend-server
| yoshuawuyts/frontend-server | sh/run.sh | Shell | mit | 61 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2955-1
#
# Security announcement date: 2016-04-27 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:22 UTC
#
# Operating System: Ubuntu 15.10
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - liboxideqtcore0:1.14.7-0ubuntu0.15.10.1
... | Cyberwatch/cbw-security-fixes | Ubuntu_15.10/x86_64/2016/USN-2955-1.sh | Shell | mit | 820 |
#!/bin/bash
STANFORD_SEGMENTER_JAR='/home/wlzhuang/stanford-segmenter-2015-04-20/stanford-segmenter-3.5.2.jar'
pip3 install Jpype1
javac -cp "$STANFORD_SEGMENTER_JAR" \
-d chineseseg chineseseg/DemoSeg.java
| iamalbert/chinese-segmenter | build.sh | Shell | mit | 213 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2458-1
#
# Security announcement date: 2015-01-14 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:12 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - firefox:35.0+build3-0ubuntu0.14.04.2
#... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2015/USN-2458-1.sh | Shell | mit | 813 |
#!/bin/bash
docker run \
--name=proxy \
--detach=true \
--publish=80:80 \
--volume=/var/run/docker.sock:/tmp/docker.sock \
jwilder/nginx-proxy:latest
| badsyntax/docker-project | start-proxy.sh | Shell | mit | 156 |
#!/bin/bash
. env.sh
vcf_del -c ${chr} -i 50 -f union.2010_06.deletions.sites.vcf format.site.vcf
DonorSim -D -v format.site.vcf -n ${number} -c ${chr} -r $ref/ncbi36/${chr}.fa -p 0.5
| zz-zigzag/bioinformatics | scripts/simulate/old/0.0.pre.sh | Shell | mit | 187 |
sh -c "wget -qO /tmp/bg.jpg `wget -qO - bing.com/HPImageArchive.aspx?format=xml\\&n=1\\&idx=$1 |sed -e 's/.*<urlBase>\\(.*\\)<\\/url.*/bing.com\\1_1920x1080.jpg/'` && feh /tmp/bg.jpg --bg-scale"
| phaezah7/misc | bing_wallpaper.sh | Shell | mit | 195 |
pkg_name=caddy-proxy
pkg_origin=jarvus
pkg_version=1.0.4
pkg_maintainer="Chris Alfano <chris@jarv.us>"
pkg_license=("MIT")
pkg_description="Service and config wrapper around Caddy for providing a simple proxy to a web application"
pkg_deps=(
"core/caddy/${pkg_version}"
)
pkg_svc_run="caddy -agree -conf ${pkg_svc_con... | JarvusInnovations/habitat-plans | caddy-proxy/plan.sh | Shell | mit | 478 |
pkg_prereqs=('apt-get')
pkg_extract_path=~/
pkg_description='docker - lightweight linux env isolation containers'
function install_package() {
b.system.pretend_super
# install the backported kernel
sudo apt-get update > /dev/null
sudo apt-get install -y linux-image-extra-`uname -r`
sudo sh -c 'echo deb htt... | smileart/omg | packages/debian/docker/docker.sh | Shell | mit | 544 |
alias reload!='. ~/.zshrc'
alias caskrepo="$(brew --repository)"/Library/Taps/caskroom/homebrew-cask
alias dev="~/Development"
alias weather="wego"
alias hosts="sudo vim /etc/hosts"
alias todos="~/Development/Cliist/cliist.py"
alias killrails="kill -9 $(lsof -i tcp:3000 -t)"
alias killpostgre="launchctl unload -w ~/Lib... | twooton61/dotfiles | zsh/aliases.zsh | Shell | mit | 999 |
#!/bin/bash
docker run --link elasticsearch:elasticsearch --name kibana -p 5601:5601 -d kibana | Usualme/profile | docker/kibana.sh | Shell | mit | 95 |
#!/bin/bash
HOSTNAME=$(hostname)
echo "This script is running on ${HOSTNAME}"
| riccardotommasini/shell-scripting-course | section-two/exe3.sh | Shell | mit | 80 |
#!/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... | quannguyen90/NQLibrary | Example/Pods/Target Support Files/Pods-NQLibrary_Example/Pods-NQLibrary_Example-frameworks.sh | Shell | mit | 3,556 |
# ---------------------------------------------------------------------
#
# Copyright (c) 2012 University of Oxford
#
# 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, incl... | dataflow/DataStage | datastage-base/postboot-3.sh | Shell | mit | 2,485 |
# nix-env -i fzf
# nix-env -i fd
# Setting fd as the default source for fzf
export FZF_DEFAULT_COMMAND='fd --type f'
# To apply the command to CTRL-T as well
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
fgst() {
eval "command git status -s" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse $FZF_DE... | bernardeli/dotfiles | shell/fzf.sh | Shell | mit | 1,502 |
#!/bin/bash
dbname=zabbix
daily_retention='31 days'
monthly_retention='12 months'
cleanup_log_retention=31 # days
#####################################################################
# daily_partition_cleanup.sh
# Drop old PostgreSQL history and trend partitions from the Zabbix DB
#
# This script will drop old h... | robbrucks/zabbix-postgresql-auto-partitioning | daily_partition_cleanup.sh | Shell | mit | 3,507 |
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
PHP_VER=$(php -v | head -n 1 | cut -d ' ' -f 2);
SDK_VER=$(grep -oiP '(?<="version": ")([a-zA-Z0-9\-.]+)(?=")' composer.json)
bash ${DIR}/allocate_test_cloud.sh "PHP ${PHP_VER} SDK ${SDK_VER}"
| cloudinary/cloudinary_php | tools/get_test_cloud.sh | Shell | mit | 289 |
#!/usr/bin/env bash
while echo $1 | grep -q ^--; do
eval $( echo $1 | sed 's/^--//' )=$2
shift
shift
done
python ./get_tasks.py $username $password $request
| renatobenks/ToDoListSoftExpert | cli/tasks/import-tasks-to-github.sh | Shell | mit | 171 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.