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
# Find Java
if [ "$JAVA_HOME" = "" ] ; then
JAVA="java -server"
else
JAVA="$JAVA_HOME/bin/java -server"
fi
PREFIX=$( echo `dirname $0`/.. )
LIB_DIR=$PREFIX/lib
# Set Java options
if [ "$JAVA_OPTIONS" = "" ] ; then
JAVA_OPTIONS=" \
-XX:+UseConcMarkSweepGC \
-d64"
fi
export BASE_DIR=$*... | justinsb/cloudata | cloudata-structured/src/main/bin/structured.sh | Shell | apache-2.0 | 496 |
#!/bin/bash
set -euo pipefail
if [[ -n "{{ openshift_gcp_ssh_private_key }}" ]]; then
# Create SSH key for GCE
if [ ! -f "{{ openshift_gcp_ssh_private_key }}" ]; then
ssh-keygen -t rsa -f "{{ openshift_gcp_ssh_private_key }}" -C gce-provision-cloud-user -N ''
ssh-add "{{ openshift_gcp_ssh_priv... | akubicharm/openshift-ansible | roles/openshift_gcp/templates/provision.j2.sh | Shell | apache-2.0 | 20,625 |
#!/usr/bin/env bash
if [ $# -le 3 ]; then
echo "test01_logimage_reuse.sh <avatarnode0Local> <avatarnode0NFS> <avatarnode1Local> <avatarnode1NFS>"
exit 1
fi
echo
HOSTLIST="${HADOOP_HOME}/conf/masters"
mun=0
for IP in `cat "$HOSTLIST"|sed "s/#.*$//;/^$/d"`; do
if [ $mun == 0 ] ;
then
avatarnode0IP=$IP
fi
i... | submergerock/avatar-hadoop | build/hadoop-0.20.1-dev/bin/test01_logimage_reuse.sh | Shell | apache-2.0 | 5,119 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you ca... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/dev/GEN006160.sh | Shell | apache-2.0 | 3,085 |
#!/bin/bash
# Copyright 2017 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0
#
# or in the "license" ... | jldodds/s2n | .travis/run_ctverif.sh | Shell | apache-2.0 | 1,712 |
#!/bin/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 applicable law o... | resouer/frakti | hack/lib/test.sh | Shell | apache-2.0 | 1,321 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=MinGW-Windows
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=dll
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libenet-1... | chazu/ASCIIWar | dep/pyenet/enet/nbproject/Package-Release.bash | Shell | bsd-3-clause | 1,480 |
#!/usr/bin/env sh
set -e
echo ' Downloading selenium'
docker pull selenium/standalone-firefox:2.53.1
echo ' Running selenium'
docker run -d -p 4444:4444 --network=host selenium/standalone-firefox:2.53.1
| nmacd85/drupal-nicoledawn | vendor/behat/mink-selenium2-driver/bin/run-selenium-remote.sh | Shell | gpl-2.0 | 210 |
#!/bin/bash
# we can use glob since the archive contains a single directory
pushd download/*/ > /dev/null
python3 index2ddg.py index-functions-cpp.xml ../../output.txt
popd > /dev/null
LC_ALL=C sort output.txt -o output.txt
| rasikapohankar/zeroclickinfo-fathead | lib/fathead/cppreference_doc/parse.sh | Shell | apache-2.0 | 225 |
#!/usr/bin/env bash
# **install_prereqs.sh**
# Install system package prerequisites
#
# install_prereqs.sh [-f]
#
# -f Force an install run now
FORCE_PREREQ=0
while getopts ":f" opt; do
case $opt in
f)
FORCE_PREREQ=1
;;
esac
done
# If ``TOP_DIR`` is set we're being so... | group-policy/devstack | tools/install_prereqs.sh | Shell | apache-2.0 | 2,396 |
#!/bin/bash
# This script tests the high level end-to-end functionality demonstrated
# as part of the examples/sample-app
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
os::log::info "Starting containerized end-to-end test"
# cluster up no longer produces a cluster that run the e2e test. These use cases are alrea... | liangxia/origin | hack/test-end-to-end-docker.sh | Shell | apache-2.0 | 449 |
#!/bin/bash
rm last-test-run.log
for filename in third_party/tests/*.cs; do
SHORTNAME=${filename##*/}
./compile-and-run-test.sh ${SHORTNAME%%.*} --quiet >> last-test-run.log 2>> last-test-run.log
if [ $? -ne 0 ]; then
echo -ne F
else
echo -ne .
fi
done
echo
echo Done.
cat last-test-run.log | uranium62/ilwasm | runtests.sh | Shell | apache-2.0 | 313 |
#!/bin/sh
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
# Kills rsyslogd
if [ -f /var/run/syslogd.pid ]; then
read pid < /var/run/syslogd.pid
kill $pid
kill -0 $pid && kill -9 $pid
else
warn "rsyslogd-stop: Could not find a pid for rsyslogd. Won't kill it."
fi
| yuwata/dracut | modules.d/98syslog/rsyslogd-stop.sh | Shell | gpl-2.0 | 286 |
(../parentR1dcookie ikev2.record westnet--eastnet-ikev2 ../lib-parentI1psk//parentI1psk.pcap parentR1dcookie.pcap
echo TCPDUMP output
tcpdump -v -v -s 1600 -n -r parentR1dcookie.pcap) 2>&1 | sed -f ../lib-parentR1/sanity.sed
| y-trudeau/openswan-patch-meraki | testing/lib/libpluto/lib-parentR1dcookie/testlist.sh | Shell | gpl-2.0 | 233 |
#!/bin/bash
docker build -t runtimejs docker
| runtimejs/runtime | docker/docker-prepare.sh | Shell | apache-2.0 | 46 |
#!/usr/bin/env roundup
#
: ${RUNDECK_USER?"environment variable not set."}
: ${RUNDECK_PROJECT?"environment variable not set."}
: ${REMOTE_NODE?"environment variable not set."}
# Let's get started
# -----------------
# Helpers
# ------------
#. ./include.sh
# The Plan
# --------
describe "project: dispatch scri... | variacode/rundeck | test/docker/dockers/rundeck/tests/rundeck/should-dispatch-script-remotely-test.sh | Shell | apache-2.0 | 4,074 |
#!/bin/sh
test_description='CRLF conversion'
. ./test-lib.sh
has_cr() {
tr '\015' Q <"$1" | grep Q >/dev/null
}
test_expect_success setup '
git config core.autocrlf false &&
for w in Hello world how are you; do echo $w; done >LFonly &&
for w in I am very very fine thank you; do echo ${w}Q; done | q_to_cr >CRL... | johnkeeping/git | t/t0025-crlf-auto.sh | Shell | gpl-2.0 | 4,225 |
#!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | michelle192837/test-infra | experiment/bump_e2e_image.sh | Shell | apache-2.0 | 1,344 |
#!/usr/bin/env bash
###########################################################################
# check_spelling.sh
# ---------------------
# Date : December 2016
# Copyright : (C) 2016 by Denis Rouzaud
# Email : denis.rouzaud@gmail.com
##########################... | stevenmizuno/QGIS | scripts/spell_check/check_spelling.sh | Shell | gpl-2.0 | 16,417 |
#!/bin/bash
# Copyright 2015 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 applicable law ... | DongyiYang/kubernetes | cluster/vagrant/provision-utils.sh | Shell | apache-2.0 | 7,623 |
#! /usr/bin/env bash
PWD_BACKUP=${PWD}
SCRIPT_DIR=`dirname "${PWD}/$0"`
cd "${SCRIPT_DIR}/.." || exit 1
function fail() { cd "${PWD_BACKUP}" ; exit 1; }
####################################################################
kwrite \
doc/configure.ac \
include/uriparser/UriBase.h \
configure.ac \
ChangeLog \
&
####... | dodikk/uriparser-ios | scripts/edit_version.sh | Shell | bsd-3-clause | 420 |
#!/bin/sh
# SUMMARY: Check that the ca-certificates package works
# LABELS:
# REPEAT:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
NAME=ca-certificates
clean_up() {
rm -rf ${NAME}-*
}
trap clean_up EXIT
# Test code goes here
linuxkit build -format kernel+... | deitch/linuxkit | test/cases/040_packages/003_ca-certificates/test.sh | Shell | apache-2.0 | 450 |
#!/bin/bash
set -eu
if [ "${DOCKER_HOST-}" = "" -a "$(uname)" = "Darwin" ]; then
if ! type -P "boot2docker" >& /dev/null; then
echo "boot2docker not found!"
exit 1
fi
echo "boot2docker shellinit # initializing DOCKER_* env variables"
eval $(boot2docker shellinit 2>/dev/null)
fi
# Verify that Docker i... | mbonaci/cockroach | build/init-docker.sh | Shell | apache-2.0 | 697 |
#!/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 l... | asankasanjaya/stratos | tools/stratos-installer/clean.sh | Shell | apache-2.0 | 3,151 |
#! /bin/sh
# Test suite for exclude.
# Copyright (C) 2009-2011 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; either ... | sigma-random/asuswrt-merlin | release/src/router/coreutils-8.13/gnulib-tests/test-exclude6.sh | Shell | gpl-2.0 | 1,027 |
#!/bin/bash
# this script runs continuous test using CMake's testing mechanisms and submits the results
# to the dashboard.
# use GNU screen to start this script from ssh sessions and then detach the session.
if [ -n "$1" ]
then
WAKEUPAT="$1" # time to wake up every day in HH:MM in UTC
else
WAKEUPAT="02:55" ... | arummler/eudaq | legacy/etc/tests/nightly/run_nightly.sh | Shell | lgpl-3.0 | 1,784 |
#!/bin/bash
make
make install PREFIX=$PREFIX
| phac-nml/bioconda-recipes | recipes/adapterremoval/build.sh | Shell | mit | 46 |
#!/bin/bash -e
#
# Copyright 2016 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... | twitter-forks/bazel | src/test/java/com/google/devtools/build/android/desugar/static_initializer_of_functional_interface_should_not_execute.sh | Shell | apache-2.0 | 799 |
#!/usr/bin/env bash
# Copyright 2018 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... | Stackdriver/heapster | vendor/k8s.io/kubernetes/test/cmd/apps.sh | Shell | apache-2.0 | 38,841 |
#!/usr/bin/env bash
${IDRIS:-idris} $@ defaultLogger.idr -o default -p effects
./default
${IDRIS:-idris} $@ categoryLogger.idr -o category -p effects
./category
rm -f default category *.ibc
| kojiromike/Idris-dev | test/effects005/run.sh | Shell | bsd-3-clause | 190 |
#!/bin/sh
#
# inventory.sh
# $Id: inventory.sh,v 1.6 2003/11/21 12:48:56 djm Exp $
#
# Originally written by Ben Lindstrom, modified by Darren Tucker to use perl
# This file is placed into the public domain.
#
# This will produce an AIX package inventory file, which looks like:
#
# /usr/local/bin:
# class=appl... | linusyang/barrelfish | usr/openssh/src/contrib/aix/inventory.sh | Shell | mit | 1,621 |
#!/bin/sh
# FILE: wordpress2blogger.sh
# PURPOSE: Shell script for executing the command-line use of the Wordpress
# to Blogger conversion
# REQUIRES: Python installed and executable in the PATH list
#
# USAGE: wordpress2blogger.sh <wordpress_export_file>
#
# AUTHOR: JJ Lueck (jlueck@gmail.com)
PR... | mirastu/google-blog-converters-appengine | bin/wordpress2blogger.sh | Shell | apache-2.0 | 422 |
#!/bin/bash
# File: runtestset.sh
# Description: Script to run tesseract on a single UNLV set.
# Author: Ray Smith
# Created: Wed Jun 13 10:13:01 PDT 2007
#
# (C) Copyright 2007, Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complianc... | malcolmgreaves/tesseract-ocr | testing/runtestset.sh | Shell | apache-2.0 | 2,058 |
#!/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... | rwehner/kubernetes | cluster/vsphere/templates/create-dynamic-salt-files.sh | Shell | apache-2.0 | 1,614 |
SCRIPT_NAME=aout
OUTPUT_FORMAT="a.out-sunos-big"
TEXT_START_ADDR=0x2020
TARGET_PAGE_SIZE=0x2000
ALIGNMENT=8
ARCH=sparc
TEMPLATE_NAME=sunos
| jlspyaozhongkai/Uter | third_party_backup/binutils-2.25/ld/emulparams/sun4.sh | Shell | gpl-3.0 | 139 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2671-1
#
# Security announcement date: 2015-07-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:40 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - python-django:1.6.1-2ubuntu0.9
#
# L... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/x86_64/2015/USN-2671-1.sh | Shell | mit | 659 |
#!/bin/bash
docker run -d --net host --restart on-failure:3 -v /opt/todomvc:/var/www/html -p 80:80 nginx | wscoble/docker-520-meetup | frontend/scripts/start.sh | Shell | mit | 105 |
#!/bin/bash
set -o errexit
set -o nounset
. libbash.sh
show_releases ()
{
curl -s https://ftp.gnu.org/gnu/emacs/ |
egrep -o '\.tar\.(gz|xz)">emacs-.+</a>' |
egrep -o 'emacs-[0-9]+\.[0-9]' |
uniq |
sed 's/emacs-//'
}
ensure_dependencies ()
{
# libm17n-dev
# libmotif-dev
... | grafoo/utl | emacs-setup.sh | Shell | mit | 2,147 |
wget http://www.fatihakkus.com/yazane/skinimages/button_10.png
wget http://www.fatihakkus.com/yazane/skinimages/button_10__o.png
wget http://www.fatihakkus.com/yazane/skinimages/button_11.png
wget http://www.fatihakkus.com/yazane/skinimages/button_12.png
wget http://www.fatihakkus.com/yazane/skinimages/button_16.png
wg... | ldanielswakman/yazane | assets/pano2vr/skinimages/download.sh | Shell | mit | 1,189 |
#!/bin/bash
command_exists () {
command -v "$1" >/dev/null 2>&1 ;
}
gem_name="flowdock"
if command_exists $gem_name ; then
echo " (i) $gem_name already installed"
exit 0
else
echo " (i) $gem_name NOT yet installed, attempting install..."
fi
STARTTIME=$(date +%s)
which_ruby="$(which ruby)"
osx_system_ruby_pth="... | scottrhoyt/bitrise-flowdock-step | _setup.sh | Shell | mit | 1,366 |
#!/bin/bash
{ [ -f .build/init.sh ] && . .build/init.sh; } || true;
{ [ -f ../.build/init.sh ] && . ../.build/init.sh; } || true;
buildreport || exit
builddocker_init_ver asterisk
vers=${1:-"asterisk full"}
builddocker_vers $vers
| wenerme/dockerfiles | asterisk/build.sh | Shell | mit | 231 |
#!/bin/bash
set -o xtrace
scripts/bootstrap-roles.sh
scripts/bootstrap-inventory.sh
scripts/bootstrap-bamboo.sh
| pantarei/ansible-playbook-bamboo | scripts/bootstrap-aio.sh | Shell | mit | 114 |
nohup java -Dconfig_path=../config/ -Xms128m -Xmx512m -jar ../saas-price-consumer.jar >/dev/null & | liyong299/normal | java/other/saas-price/consumer/src/main/startup.sh | Shell | mit | 98 |
#!/bin/sh
set -eo pipefail -o nounset
wget --quiet -O blekhman_ad.tsv https://raw.githubusercontent.com/macarthur-lab/gene_lists/master/lists/blekhman_ad.tsv
genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/GRCh38/GRCh38.genome
grch38_gtf="$(ggd get-files grch38-gene-featur... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/GRCh38/grch38-autosomal-dominant-genes-blekhman-v1/recipe.sh | Shell | mit | 4,633 |
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# PURPOSE
# This script will setup eris and all of its dependencies. It is primarily meant
# for running on cloud providers as a setup script.
# Specifically the script will install:
# * nodejs (useful for middleware... | AFDudley/afd-common | cloud/setup/setup.sh | Shell | mit | 5,596 |
#!/bin/bash
echo ' '
echo 'Installer of REXYGEN runtime components'
echo ' for the Raspberry Pi minicomputer '
echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
echo ' '
ROOT=$(dirname $(readlink -f $0))
if [ "$EUID" -ne 0 ]
then echo "Please run this script as root"
exit
fi
# Install core modules
bash $ROOT/sc... | rexcontrols/rex-install-rpi | install-rex.sh | Shell | mit | 377 |
#!/bin/bash
cd "$( dirname "$0" )"
cd ../
./cleanup.sh
./setup_env.sh
cd ../src/
python setup_module.py bdist_egg
mv dist/module-0.1-py2.7.egg module.egg
spark-submit --master yarn-cluster \
--num-executors 9 \
--driver-memory 7g \
--executor-memory 7g \
--executor-cores 3 \
-... | sfu-natlang/glm-parser | scripts/tests/run_default_yarn.sh | Shell | mit | 955 |
#!/bin/sh -e
rm -rf build
script/check.sh --ci-mode
script/measure.sh --ci-mode
script/test.sh --ci-mode
g++ -std=c++11 src/boilerplate.cpp -o build/bp
#script/cpp/build.sh
if [ "${1}" = --run ]; then
build/bp
fi
#SYSTEM=$(uname)
#
# TODO: Needs polish.
#if [ "${SYSTEM}" = Linux ]; then
# script/debian/packag... | FunTimeCoding/cpp-skeleton | script/build.sh | Shell | mit | 357 |
#!/bin/bash
vmd hexamer_ag_clean_out.pdb -e hexamer_ag_clean.tcl
| tabinks/frankenzyme.com | projects/apc113179/hexamer_ag_clean_out/hexamer_ag_clean_VMD.sh | Shell | mit | 65 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3160-1
#
# Security announcement date: 2015-02-11 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:14 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - xorg-server:2:1.12.4-6+deb7u6
# -... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2015/DSA-3160-1.sh | Shell | mit | 2,072 |
#/bin/bash
sudo ufw disable
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install ant build-essential ant-optional default-jdk python \
valgrind ntp ccache git-arch git-completion git-core git-svn git-doc \
git-email python-httplib2 python-setuptools python-dev apt-show-versions
sudo apt-get -y -q i... | eimink/vsaa-server-nodejs | vagrant/voltdb/deploy.sh | Shell | mit | 1,385 |
#!/usr/bin/env bash
ab -k -n 400 -c 10 -g baseline.dat -H "Accept-Encoding: gzip" http://127.0.0.1/
| kmacrow/Shellac | benchmarks/run-baseline.sh | Shell | mit | 102 |
#!/bin/bash
echo Removing temp files
rm -f ./src/*~
rm -f ./test/*~
rm -f ./*~
echo Staging changes
git add -A
echo Printing status
git status
| FelixMaxwell/GPIOLib | stage.sh | Shell | mit | 145 |
#!/bin/sh
mkdir portraits landscapes 2>/dev/null
for f in "$@"; do
[ ! -f "$f" ] && continue
# TODO: Filter out any non-image files
# Maybe: exifautotran to normalise jpeg rotation?
# ImageMagick to get orientation. Slow:
#orientation=$(identify -format '%[fx:(h>w)]' "$f")
# file + shell to get orientation. ... | DarkStarSword/junk | sort_images_by_orientation.sh | Shell | mit | 647 |
#!/bin/bash
container=colourchallenge
# Docker exec
docker exec $container sh -c "node /srv/app/lib/cli add"
| StudioLE/node-colour-challenge | docker-add.sh | Shell | mit | 111 |
rexdep --pattern "." --start "("
| itchyny/rexdep | test/invalid_regexp/start.sh | Shell | mit | 33 |
#!/bin/sh
if [ -d /mnt/MD0_ROOT ] || [ -d /mnt/HDA_ROOT ]; then
/opt/farm/ext/backup/fs/dirs-qnap.sh
else
/opt/farm/ext/backup/fs/dirs-linux.sh
fi
| serverfarmer/sf-backup | fs/detect.sh | Shell | mit | 150 |
# ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for git-extras (http://github.com/tj/git-extras).
#
# This depends on and reuses some of the internals of the _git completion
# function that ships with zsh itself. It will not work with... | hickey/git-extras | etc/git-extras-completion.zsh | Shell | mit | 14,700 |
#!/usr/bin/env bash
# Test if Homebrew is not installed.
if test ! $(which brew); then
info "Installing Homebrew..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null || true
fi
info "Installing Homebrew packages..."
| erikverstegen/dotfiles | install/darwin/homebrew.sh | Shell | mit | 288 |
#!/bin/bash
/elasticsearch/bin/elasticsearch "$@"
| yaronr/elasticsearch | entrypoint.sh | Shell | mit | 51 |
#!/bin/sh
install_target=`pwd`/workspace
set -e
# install linear-cgi
cd deps/linear-fcgi
./bootstrap
./configure --prefix=${install_target} --enable-silent-rules
make clean all install
| linear-rpc/linear-js | test/makecgi.sh | Shell | mit | 188 |
#!/bin/bash
KEYWORDS_WALES="Wales"
KEYWORDS_CARDIFF="Cardiff"
KEYWORDS_WALES_EXCLUDE="$KEYWORDS_CARDIFF|Jim(|bo|my)(| )Wales|New(| )South(| )Wales"
KEYWORDS_WALES_ALL="$KEYWORDS_WALES|$KEYWORDS_CARDIFF"
if [ "$1" == "" ]; #Normal operation
then
debug_start "Wales"
WALES=$(egrep -i "$KEYWORDS_WALES" "$NEWPAGES" ... | MW-autocat-script/MW-autocat-script | catscripts/Government/Countries/United_Kingdom/Wales/Wales.sh | Shell | mit | 500 |
# https://github.com/tadija/AEDotFiles
# xcode.sh
alias xcopen="xcfile() { local workspace=\$(find *.xcworkspace 2>/dev/null | head -1); local project=\$(find *.xcodeproj 2>/dev/null | head -1); \${workspace:-\${project}} ; }; open -a Xcode \"${xcfile}\""
alias xcwhich="xcode-select --print-path"
alias cartbs="carthag... | tadija/AEDotFiles | plugins/xcode.sh | Shell | mit | 1,078 |
#!/bin/bash
set -e
DATA_DIR=${DATA_DIR:=/apache-archiva/data}
function urlParse(){
# extract the protocol
local proto="$(echo $1 | grep :// | sed -e's,^\(.*://\).*,\1,g')"
# remove the protocol -- updated
url=$(echo $1 | sed -e s,$proto,,g)
# extract the user (if any)
user="$(echo $url | gre... | kawasima/dockerfiles | archiva-proxy/init.sh | Shell | mit | 1,483 |
#!/bin/bash
. config.sh
. app/colors.sh
# run as root only
if [[ $EUID -ne 0 ]] ; then
run_error "This script must be run with root access\e[49m"
exit 1
fi
[ $# -eq 0 ] && { run_error "Usage: openssl <version>"; exit; }
if [ -z ${ROOT+x} ]; then show_red "Error" "ROOT system variable is not set! Check confi... | gp187/nginx-builder | app/installers/openssl.sh | Shell | mit | 1,684 |
function powerline_precmd() {
export PS1="$(powerline $? --shell zsh)"
}
function install_powerline_precmd() {
for s in "${precmd_functions[@]}"; do
if [ "$s" = "powerline_precmd" ]; then
return
fi
done
precmd_functions+=(powerline_precmd)
}
install_powerline_precmd
| fromonesrc/dotfiles | zsh/powerline.zsh | Shell | mit | 291 |
# THis is for correction part
# $1 : new temp.
# $2 : new pressure
# Example: ./kofke.sh Tr0.94 32.87335142
text_slurm="mpirun -np 48 /home/hjung52/gromacs5.1.2/bin/gmx_mpi mdrun -pin on -v >& log"
if [ ! -d "$1/gas-c" ]; then
mkdir -p $1/{gas,liq}-c
fi
for PHASE in gas liq
do
cd $1/$PHASE-c
cp ../$PHASE-p/confout.... | jht0664/Utility_python_gromacs | kofke/kofke-corr.sh | Shell | mit | 821 |
#!/bin/bash
apt-get update
apt-get install -y update-notifier-common
# Preseed apt-cache settings
cat <<EOF | debconf-set-selections
apt-cacher apt-cacher/mode select daemon
EOF
apt-get install -y apt-cacher apache2
grep -q "^allowed_hosts" /etc/apt-cacher/apt-cacher.conf || echo "allowed_hosts = *" >> /etc/apt-cac... | johnmarkschofield/vagrant-apt-cacher | setup.bash | Shell | mit | 988 |
#!/bin/bash
# Simple script to list version numbers of critical development tools
export LC_ALL=C
bash --version | head -n1 | cut -d" " -f2-4
echo "/bin/sh -> `readlink -f /bin/sh`"
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
bison --version | head -n1
if [ -h /usr/bin/yacc ];
then
echo "/usr/bin/... | Rocla/lfs-7.8 | script-root_version-check.sh | Shell | mit | 1,440 |
#! /bin/sh
gconftool-2 --load ~/.dotfiles/config-export/guake/apps-guake.xml
gconftool-2 --load ~/.dotfiles/config-export/guake/schemas-apps-guake.xml
| firemound/dotfiles | scripts/setup/guake_restore.sh | Shell | mit | 153 |
#!/bin/bash
#
# Print stats for an interface at a regular interval.
#
# cat /proc/net/dev | grep p3p1
#
# Expected format:
# Inter-| Receive | Transmit
# face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier comp... | christophernhill/nese | network/file_transfer_performance/measurement/if_stats.sh | Shell | mit | 2,687 |
#!/usr/bin/env sh
# hide desktop
defaults write com.apple.finder CreateDesktop -bool false
killall Finder
| bendrucker/dotfiles | macos/finder.sh | Shell | mit | 108 |
#!/bin/bash
set -euxo pipefail
export DEBIAN_FRONTEND=noninteractive
apt-get update || :
apt-get install -y etckeeper git
sed -i -e 's/^#VCS="git"/VCS="git"/' -e 's/^VCS="bzr"/#VCS="bzr"/' -e 's/^GIT_COMMIT_OPTIONS=""/GIT_COMMIT_OPTIONS="-v"/' /etc/etckeeper/etckeeper.conf
etckeeper init 'Initial commit'
etckeeper comm... | znz/ruby-test-vagrant | provision-etckeeper.sh | Shell | mit | 346 |
#!/bin/bash
## PARSER PACKAGE 02 ##
#
# This package is tailored towards longer simulations.
# It will grab the following plots from the data:
#
# - activeVehicleCount
# - activeRoadsideUnitCount
# - coveredCells
# - meanSignal
# - meanSaturation
# - signalToSaturation
# - coverageDistribution
#
# Run from the locatio... | abreis/swift-gissumo | scripts/parsers/package02_limit.sh | Shell | mit | 3,061 |
# Detect & load version managers
() {
typeset -a managers
# Detect nvm
# nvm recommends git checkout not brew
export NVM_DIR=${NVM_DIR:-$HOME/.nvm}
[[ -e $NVM_DIR/nvm.sh ]] && {
managers+=(nvm)
function init-nvm {
local cmd
cmd='source $NVM_DIR/nvm.sh'
... | nuimk/nmk | zsh/src/zshrc/50-version-managers.zsh | Shell | mit | 2,143 |
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the... | trifl/Chirp | Example/Pods/Target Support Files/Pods-Chirp_Example/Pods-Chirp_Example-frameworks.sh | Shell | mit | 7,861 |
# Derived from https://hub.docker.com/r/picoded/ubuntu-openjdk-8-jdk/dockerfile
apt-get update && \
apt-get install -y openjdk-8-jdk && \
apt-get install -y ant && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer;
apt-get update && \
apt-get install -y ca-certi... | srp33/ShinyLearner_Environment | install_debian_packages.sh | Shell | mit | 3,575 |
#!/bin/bash
# Tell internal unit to reboot via the assigned GPIO pin
logfile="reboot_internal.log"
reboot_pin=26 # GPIO pin to monitor
# Make sure output is off for a minute (in case it was still on for any reason)
# The internal unit has to see the input low at least once or it will not reboot
# This is to prevent a... | thephez/data-diode | scripts/reboot_internal.sh | Shell | mit | 753 |
#!/bin/zsh
# https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Troubleshooting.md#what-is-the-i-before-prompt-character-
export SPACESHIP_VI_MODE_SHOW=false
export SPACESHIP_CHAR_SUFFIX=" "
export SPACESHIP_CHAR_SYMBOL=»
# SPACESHIP_CHAR_SYMBOL=➜
# SPACESHIP_CHAR_SYMBOL=❯
# SPACESHIP_CHAR_SYMBOL=λ
# REP... | radum/dotfiles | zsh/prompt.zsh | Shell | mit | 675 |
#!/bin/bash
#On Tool Labs
PYTHONPATH=/shared/pywikipedia/core:/shared/pywikipedia/core/externals/httplib2:/shared/pywikipedia/core/scripts
# Wikinewses: Ar, Bg, Bs, Ca, Cs, El, En, Eo, Fa, Fi, He, Ja, Ko, No, Pt, Ro, Ru, Sq, Sr, Sv, Ta, Tr, Uk, Zh are all global bot allowed
# As of: August 6th, 2015
# This is meant t... | Avicennasis/AvicBot | redirects/avicbotrdnews.sh | Shell | mit | 10,256 |
#!/usr/bin/bash
help () {
echo -e "\n usage: ${0} <xml-schema-file> <saxon-jar-file> <xsl-file>\n"
echo -e " * output may be directed to a file when running stand-alone\n"
}
XML_SCHEMA_DEFAULT=""
XML_TRANSFORMER_DEFAULT="/opt/saxonica/SaxonEE9-7-0-18J/saxon9ee.jar"
XSL_DEFAULT="./lib/extract-xml-schema-conten... | gmoyanollc/xml-schema-content-extractor | bin/extract-content.sh | Shell | mit | 1,080 |
#!/bin/bash
# bundle name
bundlename="SecureBox.tar.gz"
# target dir
dirname="SecureBox/distrib"
mkdir $dirname
cd ..
find SecureBox/src -name "*.py" | xargs tar -cvzf "$dirname/$bundlename" SecureBox/README.md SecureBox/LICENSE SecureBox/requirements.txt SecureBox/install_macosx.sh
| americanpezza/SecureBox | create_bundle.sh | Shell | mit | 288 |
#!/usr/bin/env bash
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
| andue/dotfiles | sdkman.sh | Shell | mit | 102 |
#!/bin/bash
VERSION=0.0.10
BASE_PATH=$(cd `dirname $0`; cd ..; pwd)
POM=$BASE_PATH/pom.xml
POM_VERSION=`awk '/<version>[^<]+<\/version>/{gsub(/<version>|<\/version>/,"",$1);print $1;exit;}' $POM`
PARAM=$1
AUTO_VERSION=false
PROJECT_ID=
PROJECT=
TOKEN=
TARGET_FILE=
URL_UPLOAD=
URL_RELEASE=
function usage()... | ihuanglei/scripts | shell/deploy-java-gitlab.sh | Shell | mit | 3,089 |
#!/usr/bin/env bash
# Copyright:: Copyright (c) 2016 Been Kyung-yoon (http://www.php79.com/)
# License:: The MIT License (MIT)
STACK_ROOT=$( dirname $( cd "$( dirname "$0" )" && pwd ) )
source "${STACK_ROOT}/includes/function.inc.sh"
title "SELinux 를 비활성화합니다."
sed -i 's/^SELINUX=enforcing/SELINUX=disabled/' /etc/se... | php79/stack | scripts/selinux-disable.sh | Shell | mit | 474 |
#!/bin/bash
echo "CI: " $CI "TRAVIS: " $TRAVIS "TRAVIS_TAG: " $TRAVIS_TAG
echo "settting up"
./setup.sh
echo "testing"
go test
echo "golang build"
go build -o golangweb .
echo "building docker image"
VERSION="$1"
if [ -z "$1" ]
then
VERSION=0.0.0
fi
echo "version: " ${VERSION}
./build-image.sh "${VERSION}"
i... | tmoaaz/docker-kubernetes-demo | build.sh | Shell | mit | 567 |
#!/bin/sh
exec /sbin/setuser root /usr/sbin/php5-fpm 1>>/var/log/php5-fpm.log 2>&1
| dronemill/harmony-api | dockerfile_fs/etc/service/php5-fpm.sh | Shell | mit | 84 |
#!/bin/sh
# Intended for x86_64 Linux build environment
# with native g++ compiler installed (64-bit Linux Mint 18 tested)
# works on Ubuntu MATE 18.04/20.04 LTS (binaries aren't backward compatible)
make -f simd_make_x64.mk clean
make -f core_make_x64.mk clean
# RooT demo compilation requires Xext development lib... | VectorChief/QuadRay-engine | test/clean_linux.sh | Shell | mit | 400 |
#!/usr/bin/env bash
sudo -E apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo -E tee /etc/apt/sources.list.d/mongodb.list
sudo -E apt-get update
sudo -E apt-get install mongodb-org
| unixfreak0037/mwzoo | mwzoo/ubuntu_install_mongodb.sh | Shell | mit | 287 |
#!/bin/bash
set -ev
node -v
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Skipping deploy; just doing a build."
exit 0
fi
# Deployment to firebase for master branch
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "Deploying to firebase in case of master too"
firebase deploy --token "$FIREBASE_T... | abdulhannanali/fascinations-of-hannan | scripts/deploy.sh | Shell | mit | 992 |
#!/bin/bash
# reports the distribution of lowest coverage in exons
# each exon is characterized by a bp with the lowest coverage
# distribution of theses values for
# input is dcoverage
echo "target,gene,min_coverage"
cat $1 | awk -F "\t" '{print $1"-"$2"-"$3","$4","$2+$5","$6}' | \
awk -F ',' '
BEGIN{
prev_tar... | naumenko-sa/bioscripts | bam/bam.coverage.per_exon.sh | Shell | mit | 709 |
#!/bin/sh
# the repository name must exist in the environment
if [ -z $REPOSITORY ]; then
echo 'Missing repository name...exiting...'
exit 1
fi
# extract sources and prepare for build
tar -xf gmp-6.1.2.tar.xz
cd gmp-6.1.2
mkdir build && cd build
PREFIX=/usr/local
../configure \
--prefix=$PREFIX \
--enable-c... | MetaBarj0/scripts | docker/share/images/gmp/build-sources.sh | Shell | mit | 630 |
#!/bin/bash
# TO Show all Databases that will be used by backup.sh script for backup
showdb(){
influx -host "$INFLUX_HOST" -port 8086 -execute 'SHOW DATABASES'
}
DATABASES=$(showdb)
echo "$DATABASES" | sed -e 's/[\r]//g' | sed -e 's/^.\{26\}//' | sed 's/ /:/g'
| mcci-catena/docker-ttn-dashboard | influxdb/showdb.sh | Shell | mit | 265 |
cd test
rm -rf testdata
php sumr-gentestdata.php
php ../sumr.php testdata > sum_testdata2.txt
diff sum_testdata.txt sum_testdata2.txt
| kzokojima/sumr-php | test.sh | Shell | mit | 134 |
#!/bin/sh
docker run -i --volumes-from data -t hnakamur/createrepo
| hnakamur/centos7-dockerfiles | createrepo/run.sh | Shell | mit | 67 |
#! /bin/bash
source ./scripts/setenv.sh
set -ex
# Rewriting java.*
echo Generating rewritten apache library
java $JAVA_OPTS ui.RewriteAllSources --bodies -j -classpath -j $LIBCP -m rewriteinfo.txt -d rewrittenSources $JAVASTAR
echo Going to directory containing rewritten apache
cd rewrittenSources/$ANALYZEDLIBS_BASENA... | jgaltidor/VarJ | src/VarJFrontend/scripts/rewrite_compile_java_bodies.sh | Shell | mit | 497 |
#! /bin/bash
DIR=$(readlink -enq "$(dirname $0)/../ext/")
shopt -s nullglob
export NO_INTERACTION=1
export REPORT_EXIT_STATUS=1
make -C "$DIR" test
for i in $DIR/tests/*.log; do
echo "====== $i ======";
cat "$i";
done
[ -n "$(echo $DIR/tests/*.log)" ] && exit 1
exit 0
| sjinks/psr3logger | .travis/run_php_tests.sh | Shell | mit | 273 |
if $(grc &>/dev/null)
then
# alias ls="grc ls"
alias ping="grc ping"
alias traceroute="grc traceroute"
alias configure="grc configure"
alias gcc="grc gcc"
alias make="grc make"
alias netstat="grc netstat"
alias diff="grc diff"
alias wdiff="grc wdiff"
alias last="grc last"
alias mount="grc mount"
... | stiang/dotfiles | system/aliases.zsh | Shell | mit | 641 |
#!/bin/sh
COLLECTORDEMO_TESTS=
export COLLECTORDEMO_TESTS
COLLECTORDEMO_HOME="$(dirname $0)"
. "${COLLECTORDEMO_HOME}"/etc/common
cd "${COLLECTORDEMO_HOME}"
TARGET="$@"
TARGET="${TARGET:-develop}"
"${COLLECTORDEMO_BIN}"/python.sh setup.py -q ${TARGET}
[ $? != 0 ] && echo "ERROR!!!" && exit 1
"${COLLECTORDEMO_BIN}... | rentalita/django-collectordemo | build.sh | Shell | mit | 460 |
mkdir -p tmp/pids
nohup bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid > ./log/resque.log &
| RaymondChou/Gitlab_Chinese | resque.sh | Shell | mit | 181 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.