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 |
|---|---|---|---|---|---|
binary_packages='deb http://download.noosfero.org/debian/wheezy-1.3 ./'
source_packages=$(echo "$binary_packages" | sed -e 's/^deb/deb-src/')
if ! grep -q "$binary_packages" /etc/apt/sources.list.d/noosfero.list; then
sudo tee /etc/apt/sources.list.d/noosfero.list <<EOF
$binary_packages
$source_packages
EOF
sudo... | AlessandroCaetano/noosfero | script/install-dependencies/debian-wheezy.sh | Shell | agpl-3.0 | 3,834 |
#!/bin/sh
test_description='pdsh internal testcases
Run pdsh internal testsuite'
. ${srcdir:-.}/test-lib.sh
test_expect_success 'working xstrerrorcat' '
pdsh -T0
'
test_expect_success 'working pipecmd' '
pdsh -T1
'
test_done
| grondo/pdsh | tests/t0002-internal.sh | Shell | gpl-2.0 | 231 |
# 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 use ... | herval/zeppelin | python/src/main/resources/grpc/generate_rpc.sh | Shell | apache-2.0 | 915 |
#!/usr/bin/env bash
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
. ./test-lib.sh
setup_initgit
setup_gitgit
(
set -e
cd git-git
git checkout -q --track -b work origin
echo "some w... | Teamxrtc/webrtc-streaming-node | third_party/depot_tools/tests/push-from-logs.sh | Shell | mit | 2,161 |
# Load up the PRAD_BROAD Meta Data File
./importCancerStudy.pl $PORTAL_DATA_HOME/public-override/prad_mskcc/prad_mskcc.txt
# Imports All Case Lists
./importCaseList.pl $PORTAL_DATA_HOME/public-override/prad_mskcc/case_lists
# Imports Clinical Data
./importClinicalData.pl $PORTAL_DATA_HOME/public-override/prad_mskcc/p... | j-hudecek/cbioportal | core/src/main/scripts/all-prostate-mskcc.sh | Shell | agpl-3.0 | 1,296 |
#!/bin/sh
# arm_branch_out_of_range.sh -- test ARM/THUMB/THUMB branch instructions whose
# targets are just out of the branch range limits.
# Copyright (C) 2010-2015 Free Software Foundation, Inc.
# Written by Doug Kwan <dougkwan@google.com>
# This file is part of gold.
# This program is free software; you can redi... | selmentdev/selment-toolchain | source/binutils-latest/gold/testsuite/arm_branch_out_of_range.sh | Shell | gpl-3.0 | 4,175 |
#!/bin/bash
#########################################################
# Script Name: configure-ansible.sh
# Author: Gonzalo Ruiz
# Version: 0.1
# Date Created: 01st Marh 2015
# Last Modified: 04st April 17:26 GMT
# Last Modified By: Gonzalo Ruiz
# Description:
# This script automates the ins... | cr0550ver/azure-quickstart-templates | ansible-advancedlinux/configure_ansible.sh | Shell | mit | 8,004 |
#!/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 ... | kubeup/kube-aliyun | vendor/k8s.io/kubernetes/hack/verify-generated-runtime.sh | Shell | apache-2.0 | 1,526 |
#!/bin/bash
# This script is meant to be called by the "install" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# The behavior of the script is controlled by environment variabled defined
# in the .travis.yml in the top level folder of the project.
# License: 3-clause BSD
set -e
# Fi... | trankmichael/scikit-learn | continuous_integration/install.sh | Shell | bsd-3-clause | 2,174 |
#!/usr/bin/env bash
set -e # halt script on error
bundle exec jekyll post "$*"
| prestodb-rocks/site | bin/new_post.sh | Shell | mit | 80 |
git clone https://github.com/naibaf7/caffe.git
cd caffe
git checkout master
# Dependencies
sudo apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev
sudo apt-get install -y protobuf-compiler gfortran libjpeg62 libfreeimage-dev libatlas-base-dev git python-d... | soumith/convnet-benchmarks | greentea/install.sh | Shell | mit | 848 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2536-1
#
# Security announcement date: 2015-03-18 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:22 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libxfont1:1:1.4.4-1ubuntu0.3
#
# Last ... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2015/USN-2536-1.sh | Shell | mit | 669 |
#!/bin/sh
set -x
version=`git describe HEAD --tags --always --abbrev=0`
revision=`git describe HEAD --tags --always`
rm "$GOPATH/bin/hashbox/"*.zip
rm "$GOPATH/bin/hashbox/"*
BuildAndZip () {
rm "$GOPATH/bin/hashbox/$2" >/dev/null 2>&1
go build -ldflags "-X main.Version=$revision" -o "$GOPATH/bin/hashbox/$2"
rm "$... | fredli74/hashbox | build_all.sh | Shell | mit | 1,149 |
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# -e: immediately exit if any command has a non-zero exit status
# -o: prevents errors in a pipeline from being masked
# IFS new value is less likely to cause confusing bugs when looping arrays or arguments (e.g. $@)
usage() { echo "Usage: $0 -i <subscriptionId> -g <resourceG... | pjbgf/container_webapp_netcore | arm/deploy.sh | Shell | mit | 2,775 |
#!/bin/bash
pushd ~/mdp/mdp
rm nohup-gh.out
rm nohup-gh.err
git reset --hard
git pull
nohup ./github.py > nohup-gh.out 2> nohup-gh.err < /dev/null &
popd
| n43jl/mdp | bash/scripts/run-gh.sh | Shell | mit | 171 |
#!/bin/bash
# Source function library.
. /usr/lib64/nagios/plugins/functions
#
# Check on 0.60 only
# This job will take some time, so DON'T run job too often.
# Maybe 30min per job will be OK.
#
svnopt=" --username=ci --password=sp12345678 --no-auth-cache --non-interactive "
glueip="192.168.1.153"
espdump="/tmp/esp... | xuanran001/xuanran001-infrastructure | nagios_nrpe/usr/lib64/nagios/plugins/sling_datastore.sh | Shell | mit | 867 |
kubectl -n net-policy-test exec -ti dummy-logger -- nc -w10 -q1 api 443 && exit 1
exit 0
| max-lobur/k8s-weave-demo | tests/test_deny_logger-api.sh | Shell | mit | 89 |
#!/bin/sh
##Author: Lewis HONG and ZHU O. Yuan
##Script name: 01_BAsE-Seq_alignment.sh
##BAsE-Seq pipeline script part 01 for data processing from fastq to mapped bams, vcfs, and QC plots
#run command from folder containing fastq files as follows
#01_BAsE-Seq_alignment.sh parameter_file.txt
#redirect STDOUT to log fi... | OliviaZhu26/Single_virion_seq | 01_BAsE-Seq_alignment.sh | Shell | mit | 4,317 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | alexruperez/ARWebServerActivity | Pods/Target Support Files/Pods/Pods-resources.sh | Shell | mit | 5,000 |
#!/bin/bash
isMute=$( /usr/bin/osascript -e 'output muted of (get volume settings)' )
if [ $isMute == "true" ]; then
echo "muted"
else
curVolume=$(osascript -e 'output volume of (get volume settings)')
echo $curVolume
fi
| gregdaynes/dotfiles | .config/Ubersicht/widgets/Statusbar-master/widgets/scripts/getVolumeStat.sh | Shell | mit | 229 |
gcc -v -o voice-command voice-command.c -DMODELDIR=\"`pkg-config --variable=modeldir pocketsphinx`\" `pkg-config --cflags --libs pocketsphinx sphinxbase` -I/usr/local/include
| baluubas/voice-command | src/linux/voice-command/build.sh | Shell | mit | 175 |
#!/bin/bash
KEYWORDS_NEWYORK="New(| )York"
KEYWORDS_NYC="New(| )York(| )City|\bNYC|New(| )York(|,)(| )New(| )York|Manhattan|Brooklyn|Queens(|,)(| )New(| )York|Chrysler(| )Building|Bank(| )of(| )America(| )Tower|Big(| )Apple"
KEYWORDS_ALBANY="Albany"
KEYWORDS_ALBANY_EXCLUDE="Albany(|,)(| )(GA|Georgia)"
KEYWORDS_EMPIRES... | MW-autocat-script/MW-autocat-script | catscripts/Government/Countries/United_States/US_states/New_York/NewYork.sh | Shell | mit | 1,163 |
#!/usr/bin/env bash
rsync -av --delete /mnt/HDD1A/ /mnt/HDD1B
| tiborsimon/dotfiles | scripts/images/backup.bash | Shell | mit | 63 |
#!/bin/bash
set -e
SERVICE_ENV=$1
if [ -z ${AWS_REGION+x} ]; then
echo "Please set a region";
exit 0;
fi
if [ -z "$SERVICE_ENV" ]; then
echo "Please set service environment ./deploy.sh staging";
exit 0;
fi
echo "Deploying to stage $SERVICE_ENV"
# use the serverless version installed in the project
./node_... | serverless-examples/todo-serverless | aws/deploy.sh | Shell | mit | 397 |
#!/bin/bash
main() {
echo '* uploading'
local path="$LOCAL_TARGET"
if [ -z "$path" ]; then
echo 'Missing LOCAL_TARGET env'
exit 1
fi
acd_cli upload --overwrite $path/* /
}
main "$@"
| peterdemartini/butterfinger-docker | acd-cli/upload.sh | Shell | mit | 202 |
PATH="$PATH:$PWD/cabal-dev/bin/"
VERSION=$(awk '/^version:/{print $2}' knob.cabal)
CABAL_DEV=$(which cabal-dev)
XZ=$(which xz)
require_cabal_dev()
{
if [ -z "$CABAL_DEV" ]; then
echo "Can't find 'cabal-dev' executable; make sure it exists on your "'$PATH'
echo "Cowardly refusing to fuck with the global package ... | fujimura/knob | scripts/common.bash | Shell | mit | 434 |
#!/usr/bin/env bash
cd ../
git add . && git commit -m 'deploy' && git push origin master
# stop & remove all docker containers
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
# delete all images
docker rmi $(docker images -q)
# remove container
# remove old src and upload new src
rm -rf src/github.com/Zhan... | Zhanat87/go | bash/deploy2.sh | Shell | mit | 670 |
#!/bin/sh
OS=`dirname $0`"/../"
. $OS/scripts/common.sh
java_cli net.violet.platform.xmpp.JabberComponentManagerPacket "$@"
| sebastienhouzet/nabaztag-source-code | server/OS/scripts/jabberComponentManagerPacket.sh | Shell | mit | 125 |
#!/usr/bin/env bash
OUTPUT="/tmp/zookindialog.txt"
dialog --backtitle "Zookin TUI" --nook --nocancel --separate-widget " " \
--begin 4 4 --inputbox "Plaintext: " 8 100 \
--and-widget \
--begin 8 8 --inputbox "Multiplier (Coprime with 26): " 8 100 \
--and-widget \
--begin 12 12 --inputbox "Shift Val... | bufutda/zookin | lib/dialog/affine/encrypt.sh | Shell | mit | 778 |
#!/bin/sh
# Helper script for pull-tester.
#Param 1: path to ronpaulcoin srcroot
#Param ...: arguments for build-test.sh
if [ $# -lt 1 ]; then
echo "usage: $0 [ronpaulcoin srcroot] build-test arguments..."
fi
cd $1
shift
./autogen.sh
./configure
./qa/pull-tester/build-tests.sh "$@"
| corefork/ronpaulcoincore | qa/pull-tester/pull-tester.sh | Shell | mit | 288 |
#!/bin/bash
echo "Generating list of names and object types and expouse times "
for NAME in $(ls C*.fits); do
#echo $NAME
echo "${NAME%.*}"
dfits $NAME | grep OBJECT
dfits $NAME | grep EXPTIME
#fitsort $NAME OBJECT,EXPTIME
# could maybe auto generate lists but going to jsut copy and pas... | jason-neal/equanimous-octo-tribble | octotribble/extraction/list_all_creator.sh | Shell | mit | 358 |
#!/bin/bash
cmd="psql template1 --tuples-only --command \"select count(*) from pg_database where datname = 'squash';\""
db_exists=`eval $cmd`
if [ $db_exists -eq 0 ] ; then
cmd="createdb squash;"
eval $cmd
fi
psql squash -f schema/namespace.sql
cp csv/teams.csv /tmp/teams.csv
psql squash -f loaders/teams.sq... | octonion/squash | csa/load.sh | Shell | mit | 699 |
<<<<<<< HEAD
# Requires sddsplot
# Argument one is the root filename of the simulation.
# Argument two and argument three are additional arguments for sddsplot
=======
# Requires sddsplot
# Argument one is the root filename of the simulation.
# Argument two and argument three are additional arguments for sddsplot
>>... | ChrisProkop/NIU-beamtools | Elegant_BeamlineBeta.sh | Shell | mit | 561 |
#!/bin/bash
echo "no-op"
| dvcs/gitignore | .github/scripts/build-parent.sh | Shell | mit | 26 |
#!/usr/bin/env bash
# PAGER / LESS
function configure() {
# Colored man pages: http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/
# Less Colors for Man Pages
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export... | edouard-lopez/dotfiles | includes/posix/pager.bash | Shell | mit | 662 |
#!/bin/bash -x
echo "Hello bash"
exit 0 | teerasarn/project1 | app/config/deploy/user-scripts/test.sh | Shell | mit | 42 |
#!/usr/bin/env bash
. ./script/env.sh
. ./script/functions.sh
VERSION=3.0
SHA256=947b7b0485215f72e14bb8936c847abb583253c597f58234650922270259049c
file_path=$(f_install_file http://sourceforge.net/projects/kpcli/files/kpcli-$VERSION.pl $SHA256)
if [[ ! -e $file_path ]]; then
echo 'Remote file is invalid'
exit 1
... | lfont/dotfiles | kpcli/bin/install-kpcli.sh | Shell | mit | 943 |
if [ "$#" -ne 1 ];then
echo "wrong input format"
echo "example: ./plot.sh map-reduce.dax"
exit 1
fi
input=$1
prefix=`echo ${input}| cut -d '.' -f 1`
path=../src/Pegasus/dax2dot
if [ "${path}" == "" ];then
echo "pegasus is not properly installed"
echo "need to run: export PATH=${PATH}:/path/to/da... | applicationskeleton/Skeleton | util/plot.sh | Shell | mit | 477 |
# shellcheck shell=bash
function __dotfiles_exports_rbenv() {
if ! is-command brew; then
return
fi
RBENV_ROOT="$(get-brew-prefix-path rbenv)"
if [ -d "$RBENV_ROOT" ]; then
# Contains Ruby versions and shims.
export RBENV_ROOT
# Initialize rbenv.
eval "$(rbenv init -)"
# Set global v... | wesm87/dotfiles | exports/rbenv.sh | Shell | mit | 456 |
## Command history configuration
if [ -z $HISTFILE ]; then
HISTFILE=$HOME/.zsh_history
fi
HISTSIZE=10000
SAVEHIST=10000
setopt append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_dups # ignore duplication command history list
setopt hist_ignore_space
setopt hist_verify
setopt in... | gvt/oh-my-zsh | lib/history.zsh | Shell | mit | 389 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2791-1
#
# Security announcement date: 2015-11-04 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:52 UTC
#
# Operating System: Ubuntu 15.10
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libnss3:2:3.19.2.1-0ubuntu0.15.10.1
#
# ... | Cyberwatch/cbw-security-fixes | Ubuntu_15.10/x86_64/2015/USN-2791-1.sh | Shell | mit | 660 |
#
# Handling of the bearer token used for authentication.
#
rms_config add-settings token_auto_mode token_auto_create_func token_timeout
rms_token() {
case "$1" in
get) echo -n "$_RMS_token" ;;
clear|set)
_rms_subshell_warning
unset _RMS_token _RMS_token_time
;;&
clear) ;;
set)
if [ "$3" != "" ]... | edorfaus/dm-rms-bash-client | core/token.sh | Shell | mit | 2,703 |
#!/bin/sh
SUBAPP=$1
APP="/usr/bin/ansible"
if test -e "/usr/bin/ansible-$SUBAPP";then
APP="/usr/bin/ansible-$SUBAPP"
shift
fi
USERID=$(stat -c '%u' /work)
GROUPID=$(stat -c '%g' /work)
if [ x$ANSIBLE_VAULT_PASSWORD != 'x' ]; then
echo $ANSIBLE_VAULT_PASSWORD >/vault
chmod 644 /vault
export ANSIBLE_VAULT_PA... | ulrichSchreiner/ansible-docker | entry.sh | Shell | mit | 1,126 |
find -name "*.java" > sources.txt
javac @sources.txt
rm sources.txt | Nirespire/SimpleBittorrent | submission/compile.sh | Shell | mit | 67 |
# vagrant setup
vagrant box add trusty https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
vagrant up
#vagrant ssh | nnsnodnb/vagrant-trusty-rstudio-server | setup.sh | Shell | mit | 165 |
#!/usr/bin/env bash
cd $(dirname $(readlink -f $0))
source ../../utils/libdeploy.bash
# linking config directory
link_package \
./config/config ${HOME}/.config/lemon-modules
execute_with_privilege rm -rf /etc/acpi
execute_with_privilege cp -r ./config/acpi /etc/acpi
# linking systemd unit files
link_package \
.... | tiborsimon/dotfiles | configs/lemon-modules/02_deploy_config.bash | Shell | mit | 1,034 |
#!/bin/sh
curl -X GET http://localhost:8080/v3/resources/Package --data-urlencode query@package-wildcard-search.txt
| clarenceb/puppetdb_spike | queries/RESOURCES_package_wildcard_search.sh | Shell | mit | 117 |
#!/usr/bin/env bash
# for "true full screen" call the script with "fullscreen" as the first argument
TRUE_FULL_SCREEN="$1"
TMUX="$(which tmux)"
start_terminal_and_run_tmux() {
x-terminal-emulator -e ./linux_shell_activator.sh $TMUX
}
resize_window_to_full_screen() {
echo "Resize is up to terminal emulator being us... | insanepaul/tmux-continuum | scripts/handle_tmux_automatic_start/linux_terminal_start_tmux.sh | Shell | mit | 615 |
#sed -i -e 's/\r$//' your_script.sh
sudo yum install -y wget httpd php gcc glibc glibc-common gd gd-devel make net-snmp unzip
cd /tmp
sudo wget https://github.com/scorpio7x/nagios/raw/master/nagios-4.2.0.tar.gzip
sudo wget https://github.com/scorpio7x/nagios/raw/master/nagios-plugins-2.1.2.tar.gzip
#wget https://g... | scorpio7x/nagios | Install-Nagios-CentOS7.sh | Shell | mit | 1,932 |
#!/bin/bash
#
# Download cloudfront gzipped logs and unpack them to a directory
# Edit this
S3_CONFIG="/root/.s3cfg"
BUCKET="s3://bucket.name"
LOCAL_GZIP="/mnt/cloudfront_gzip"
GZIP_PATH="/mnt/gzip"
S3_GZIP_LOG="/mnt/s3_gzip.log"
LOCAL_GZIP_LOG="/mnt/local_gzip.log"
COMPARE_LOG="/mnt/compare.log"
GZIP_DOWNLOAD_LOG="/m... | hmain/logstash | cloudfront_download.sh | Shell | mit | 1,623 |
mongod --fork --logpath /var/log/mongodb.log
while true
do
Rscript runscenariossics.R
sleep 1
done
mongod --shutdown | jcliberatol/irtppscripts | runtestsics.sh | Shell | mit | 116 |
bundle exec thin stop -e production -d
| remonbonbon/rec-stats | stop.sh | Shell | mit | 39 |
./build-application.sh
tar -cjf kilns.tar.bz2 kilns doc library
| sellout/Kilns | make-distribution.sh | Shell | mit | 64 |
#!/bin/bash
echo "**********************************************************************"
echo "copying apache configuration to sites-avialable..."
sudo cp /home/khannegan/apps/website/apache2/testsite.conf /etc/apache2/sites-available/testsite.conf
echo "****************************************************************... | kevin-hannegan/vps-droplet | website/bin/test_reload.sh | Shell | mit | 820 |
#!/bin/bash
# This script automatically sets the version and short version string of
# an Xcode project from the Git repository containing the project.
#
# To use this script in Xcode, add the contents to a "Run Script" build
# phase for your application target.
# NOTE: make sure you add a new value to your Info plis... | petester42/hockey-playoffs | Scripts/update-build.sh | Shell | mit | 2,206 |
#!/bin/bash
# Script per generare il sito e pubblicare il sito statico così generato su master
echo "> Generate static site..."
bundle exec jekyll build
cd _site
SITE_DIR=`pwd`
cd ~/tmp/
echo "> Clone repo..."
git clone git@github.com:TechIsFun/techisfun.github.io.git
cd techisfun.github.io
echo "> Copy files..."
... | TechIsFun/techisfun.github.io | run_publish.sh | Shell | mit | 517 |
#!/bin/bash
# This is based on "preexec.bash" but is customized for iTerm2.
# Note: this module requires 2 bash features which you must not otherwise be
# using: the "DEBUG" trap, and the "PROMPT_COMMAND" variable. iterm2_preexec_install
# will override these and if you override one or the other this _will_ break.
#... | mahi97/dotfiles | etc/.iterm2_shell_integration.bash | Shell | mit | 11,709 |
################################################
SQL_PASSWORD=" " #MySQL master password #
################################################
clear
if [ $# -eq 1 ]; then
echo "Building configuration for $1"
sudo mkdir -p "/var/www/$1"
echo "server {
listen 80;
server_name $1 www.$1;
... | s1lviu/FBWC | fbwc.sh | Shell | mit | 3,227 |
#auto completion for git functions
__git_complete _g __git_main
__git_complete _gch _git_checkout
__git_complete _gp _git_pull
#aliases for autocompletions
alias gp="_gp"
alias gch="_gch"
# Add tab completion for navigating dotfiles functions
complete -F _cddf df
# Add tab completion for container names to docker fu... | dkoston/dotfiles | bash/autocomplete.sh | Shell | mit | 556 |
#!/bin/bash
command -v jq >/dev/null 2>&1 || { echo >&2 "jq command must be available. See http://stedolan.github.io/jq/. Aborting."; exit 1; }
set -e
DEFAULT_API='api.datasift.com'
CC=${1:$CC}
DU=${2:-$DU}
DK=${3:-$DK}
API=${4:-$DEFAULT_API}
function ds(){
${CC} -a ${DU} ${DK} --u ${API} "$@" #| jq .
}
# cor... | datasift/datasift-java | src/test/resources/cli.sh | Shell | mit | 5,123 |
#!/bin/bash
stack haddock --open haskellserver
| maciejspychala/haskell-server | open_haddock.sh | Shell | mit | 47 |
#!/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... | yanqingsmile/ChemicalCalculator | Pods/Target Support Files/Pods-ChemicalCalculator/Pods-ChemicalCalculator-frameworks.sh | Shell | mit | 3,945 |
#!/usr/bin/env bash
python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
pip install external/okta-0.0.3.1-py2.py3-none-any.whl
pip install -e .
pip install -e .[test]
pip install -e .[setup]
pip uninstall -y enum34
make $BUILD_TARGET
pwd
.build/.travis/release.sh
python setup.py test
| adorton-adobe/user-sync.py | .build/.travis/build-py36-centos.sh | Shell | mit | 315 |
#!/bin/sh
(
sleep 1
echo b
sleep 1
) &
PROC=$!
echo a
wait $PROC
echo c | tov/shcaml | examples/wait.sh | Shell | mit | 86 |
#!/bin/bash
MYDIR=$(dirname $0)
source $MYDIR/apigee-kafka-lib.sh
cd $APIGEE_KAFKA_HOME/var/logs/kafka-rest
$CONFLUENT_HOME/bin/kafka-rest-start -daemon $CONFLUENT_HOME/etc/kafka-rest/kafka-rest.properties
| gsjurseth/ConfluentPlatformAutomation | bin/startKafkaRest.sh | Shell | mit | 208 |
# standard
misc/test-scripts/benchmark.sh 20 "U48" "1 2 4 8" "./prank.sh predict -c workdef u48.ds -l SPEEDTEST"
misc/test-scripts/benchmark.sh 10 "U48" "1 2 4 8 12 16 20 24" "./prank.sh predict -c working u48.ds -l SPEEDTEST"
misc/test-scripts/benchmark.sh 5 "U48" "1 2 4 8 12 16" "./prank.sh predic... | rdk/p2rank | misc/test-scripts/standard-benchmarks.sh | Shell | mit | 612 |
#!/bin/bash
# ----------------------
# KUDU Deployment Script
# Version: 0.1.7
# ----------------------
# Helpers
# -------
exitWithMessageOnError () {
if [ ! $? -eq 0 ]; then
echo "An error has occurred during web site deployment."
echo $1
exit 1
fi
}
# Prerequisites
# -------------
# Verify node.... | leeric92/HumpbackSeahorses | deploy.sh | Shell | mit | 3,932 |
mkdir -p $(rbenv root)/plugins
cd $(rbenv root)/plugins
test -d rbenv-each || git clone https://github.com/rbenv/rbenv-each.git
test -d rbenv-update || git clone https://github.com/rkh/rbenv-update.git
test -d rbenv-default-gems || git clone https://github.com/sstephenson/rbenv-default-gems.git
cat > $... | lenn4rd/dotfiles | ruby/install.sh | Shell | mit | 576 |
#!/bin/sh
set -e
set -x
scriptDir=$(dirname $0)
dockerFile=$scriptDir/Dockerfile
imageName=nginx-react-playground:latest
port=${APP_PORT:-80}
build() {
docker build -f "$dockerFile" -t "$imageName" .
}
run() {
printf "Application started. To check it open link http://localhost:%s\n\n" "$port"
docker run ... | rodmax/react-playground | tools/nginx/nginx-docker.sh | Shell | mit | 548 |
#!/usr/bin/env bash
cp -r ./app/static ./app/mod_home/
python run.py build;
cd ./app/build;
python -m http.server 80; | empiricalstateofmind/personal_website | build.sh | Shell | mit | 117 |
#!/bin/sh
if echo "$1" | grep -Eq 'i[[:digit:]]86-'; then
echo x86
else
echo "$1" | grep -Eo '^[[:alnum:]_]*'
fi
| DevilGladiator/XeonOS | target-triplet-to-arch.sh | Shell | mit | 118 |
node ../../single-c-file.js SimpleTest
g++ SimpleTest_merged.cxx
./a.out
| dwd31415/single-c-file | Tests/SimpleTest/build.sh | Shell | mit | 73 |
#!/bin/bash
# Written by Nanbo Sun and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
###########################################
# Usage and Reading in Parameters
###########################################
# Usage
usage() { echo "
Usage: $0 -i <imgList> -d <idList> -s <step> -t... | ThomasYeoLab/CBIG | stable_projects/disorder_subtypes/Sun2019_ADJointFactors/step1_SPM_VBM/code/CBIG_MMLDA_runVBM_givenTemp.sh | Shell | mit | 4,617 |
cefmdd_v1 -f ./C1_CP_EFW_L1_IB__20141230_000000_20141231_000000_V170103.cef $1 $2 $3 $4
| caa-dev-apps/cefmdd_v1 | tests/2017-04-15__v1.0.21/t_02_allow_FILE_TIME_SPAN_in_quotes_warn/_t_01.sh | Shell | mit | 89 |
#!/bin/sh
runclass=Client.creatEvent
classpath=./lib/*:./bin
java -cp $classpath $runclass
| xizeroplus/matching-algorithm | PhSHI-Kafka-Test/creatEvent.sh | Shell | mit | 91 |
#!/bin/sh
# success test octal
../build/examples/test19 -i 012 > tmp.out 2>&1
if cmp -s tmp.out $srcdir/test72.out; then
exit 0
else
exit 1
fi
| mjkoo/tclap | tests/test72.sh | Shell | mit | 149 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2799-1
#
# Security announcement date: 2013-11-16 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:45 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - chromium-browser:31.0.1650.57-1~deb7u... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2013/DSA-2799-1.sh | Shell | mit | 922 |
#!/usr/bin/env bash
#% 🔺 JQ_IMAGE_VERSION %% jq CLI Docker image version %% latest
if [ ! ${JQ_IMAGE_VERSION:-} ]; then
export JQ_IMAGE_VERSION=latest
fi
#% 🔺 JQ_IMAGE %% jq CLI Docker image %% stedolan/jq:${JQ_IMAGE_VERSION}
if [ ! ${JQ_IMAGE:-} ]; then
export JQ_IMAGE=stedolan/jq:${JQ_IMAGE_VERSION}
fi
#% 🔺 J... | wheniwork/harpoon | tasks/jq/bootstrap.sh | Shell | mit | 512 |
#!/bin/bash
./docker/ubuntu-nginx-phpfpm-redis-mysql.sh
./accon/accon.sh
./accon/download.sh
./accon/menus.sh
./accon/treebooks.sh
./accon/sample.sh
| maemori/accon | release/all_release.sh | Shell | mit | 149 |
#!/bin/sh
user="$(id -un 2>/dev/null || true)"
if [ "$user" != 'root' ]; then
echo "Error: this installer needs the ability to run commands as root."
exit 1
fi
lsb_dist="$(lsb_release -si)"
if [ $lsb_dist = "Debian1" ] || [ $lsb_dist = "Ubuntu" ]; then
apt-get update && apt-get install python-pip -y && pip install ... | xczh/docker-registry-v2 | install.sh | Shell | mit | 470 |
#!/bin/bash
set -e
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
if [ -n "$MYSQL_PORT_3306_TCP" ]; then
if [ -z "$WORDPRESS_DB_HOST" ]; then
WORDPRESS_DB_HOST='mysql'
else
echo >&2 'warning: both WORDPRESS_DB_HOST and MYSQL_PORT_3306_TCP found'
echo >&2 " Connecting to WORDPRESS_DB_HOST ($WORDP... | caruccio/wordpress | apache/docker-entrypoint.sh | Shell | gpl-2.0 | 5,480 |
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/misc/showdeps.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This progr... | OpenSDE/opensde-nopast | lib/misc/showdeps.sh | Shell | gpl-2.0 | 1,881 |
#! /bin/sh
# Copyright (C) 2007-2017 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 ... | Starlink/automake | t/stdinc.sh | Shell | gpl-2.0 | 1,315 |
import subprocess
subprocess.call('./clear')
| Augustus061193/OpenCollegeGraph | d2rq/test.sh | Shell | gpl-2.0 | 49 |
#!/usr/bin/env sh
# generated from catkin/cmake/template/setup.sh.in
# Sets various environment variables and sources additional environment hooks.
# It tries it's best to undo changes from a previously sourced setup file before.
# Supported command line options:
# --extend: skips the undoing of changes from a previou... | Oflameo/APPPRS | 2015/workspace/src/my_controller_pkg/build/devel/setup.sh | Shell | gpl-2.0 | 2,579 |
#!/bin/sh
# Copyright (C) 2009-2022 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program i... | autotools-mirror/automake | t/silent-gen.sh | Shell | gpl-2.0 | 1,906 |
#!/bin/bash
# A simple script to comment in/out the "Host *" section of your local ssh config.
# Useful if you use a laptop to ssh both at home and at work and don't want to
# constantly swap out ProxyCommand configs or make 2 configs per server.
#
# I did some basic tests that I could think of but feel free to report... | tsuehpsyde/misc | bash/host-toggle.sh | Shell | gpl-2.0 | 3,720 |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Add Read Groups
# ------------------------------------------------------------------------------
# Check that genome code was passed as parameter
USAGE="$0 genome_code";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1... | bergeycm/NGS-map | scripts/add_read_groups.sh | Shell | gpl-2.0 | 677 |
echo " "
echo " CLEANING..."
echo " "
make clean
echo "================================================================================================================="
echo " BUILDING MODULES AND COPYING THEM TO RAMDISK"
echo "========================================================================================... | Angel666/ICS_kernel_P1000_CM_version | build.sh | Shell | gpl-2.0 | 864 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | P3Stor/P3Stor | pcie/IP core/TX_SEND_FIFO/simulation/functional/simulate_isim.sh | Shell | gpl-2.0 | 2,902 |
#!/usr/bin/env bash
#
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
/usr/bin/env bash
[[ -s /home/vagrant/.nvm/nvm.sh ]] && . /home/vagrant/.nvm/nvm.sh
nvm install 0.10
nvm alias default 0.10
cd /vagrant/htdocs/js
npm install --optional | alexanderfefelov/nav | tools/vagrant.d/10-vagrant-node.bash | Shell | gpl-2.0 | 256 |
#!/bin/bash
python et.py --port /dev/ttyUSB0 write_flash 0x00000 firmware/0x00000.bin
| rnplus/ESP8266-relay-board-firmware | flash1.sh | Shell | gpl-2.0 | 87 |
VERSION=5.1.1
NAME=gmp
DESC=
DEPENDS=
CONFLICTS=
SOURCES=(ftp://ftp.gnu.org/gnu/gmp/gmp-5.1.1.tar.bz2)
SOURCES_HASHES=(2fa018a7cd193c78494525f236d02dd6)
PATCHES=("patches/$NAME-$VERSION-seaos-all.patch")
function prepare() {
if ! [ -d $NAME-$VERSION ]; then
tar xf $NAME-$VERSION.tar.bz2
fi
}
function build() {
i... | dbittman/sea | apps/porting/pack/packs/gmp/pkg.sh | Shell | gpl-2.0 | 562 |
#!/bin/sh
# Copyright (C) 2001-2010 Wormux Team.
# Copyright (C) 2010 The Mana World Development Team.
# Copyright (C) 2012 The Mana Developers
# Copyright (C) 2013 Bertram
new_year="$1"
copyright_notice="Bertram"
: ${new_year:?Missing parameter: year} >/dev/null
[ ! -e src ] && echo "This script should be ran from t... | grimreaper/ValyriaTear | update-copyright.sh | Shell | gpl-2.0 | 1,226 |
#!/bin/sh
#
#
#
# $Id$
#
#
#
# This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
# project.
#
# Copyright (C) 1998-2014 OpenLink Software
#
# This project is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# F... | v7fasttrack/virtuoso-opensource | binsrc/samples/xquery/files2dav.sh | Shell | gpl-2.0 | 8,249 |
# written by jaeyong
# desc: a script that runs an click-based openflow experiment
if ! [ `whoami` == "root" ]; then
echo "should be run by root"
exit -1
fi
__CLICK=/home/yjaeyong/VisualXSwitch/userlevel/click
__SEC_CHAN=/home/netcs/packages/icc-sdn/openflow-1.0.0/secchan/ofprotocol
# desc:
# a scr... | JaeyongYoo/VisualXSwitch | papers/2012-CFI/run-experiment.sh | Shell | gpl-2.0 | 2,357 |
#! /bin/sh
# Copyright (C) 2011-2018 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | komh/automake-os2 | t/remake-subdir2.sh | Shell | gpl-2.0 | 1,915 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Campainha_joao-PIC12F1840.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=Campainha_joao-PIC12F1840... | sbalula/lets-PIC-with-C | Campainha_joao-PIC12F1840/nbproject/Package-default.bash | Shell | gpl-2.0 | 1,461 |
#!/usr/bin/env bash
set -euo pipefail
echo
echo "Pass \"--init admin <path-data> 10.0.2.15 4433\" to initialise client"
echo
zyn-cli \
--path-to-cert /etc/ssl/certs/zyn-test.pem \
-vv \
--remote-hostname zyn \
--debug-protocol \
--password admin \
"$@"
| stbd/zyn | vm/development/files/zyn-run-cli-client.sh | Shell | gpl-2.0 | 279 |
#!/sbin/sh
# _ _ _ _ __ _
# / \ _ __ ___| |__ (_) |/ /___ _ __ _ __ ___| |
# / _ \ | '__/ __| '_ \| | ' // _ \ '__| '_ \ / _ \ |
# / ___ \| | | (__| | | | | . \ __/ | | | | | __/ |
# /_/ \_\_| \___|_| |_|_|_|\_\___|_| |_| |_|\___|_|
#
# Copyright 2015 Łukasz "Ju... | ea4862/ArchiKernel_cm12.1 | archikernel/flasher/core/fixPreLollipop.sh | Shell | gpl-2.0 | 1,495 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.