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 set -ev MONO_VER=3.6.0 brew update which cmake || brew install cmake wget "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" sudo installer -pkg "MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" -target /
mono/linux-packaging-monodevelop
external/libgit2sharp/CI/travis.osx.install.deps.sh
Shell
lgpl-2.1
297
# # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Softwar...
vicmarcal/JAVA_UNIT
test/com/sun/tools/attach/ProviderTests.sh
Shell
gpl-3.0
1,693
#!/bin/bash # Copyright 2015, Google Inc. # 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 conditio...
dklempner/grpc
tools/run_tests/helper_scripts/post_tests_ruby.sh
Shell
bsd-3-clause
1,920
#!/bin/bash # # Evaluate swap memory usage from Linux based systems. # # Date: 2007-11-12 # Author: Thomas Borger - ESG # Date: 2012-04-02 # Modified: Norman Harman - norman.harman@mutualmobile.com # Date: 2013-03-13 # Modified: Jean-Francois Theroux - jtheroux@lapresse.ca # # The swap check is done with following comm...
Accenture/adop-sensu
resources/plugins/basic/check-swap.sh
Shell
apache-2.0
1,376
#!/bin/bash set -eux # Need to set barrier=0 to avoid a Xen bug # https://bugs.launchpad.net/ubuntu/+source/linux/+bug/824089 sed -i -e 's/errors=/barrier=0,errors=/' /etc/fstab # Allow root to login with a password sed -i -e 's/.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config # Install the XenServer ...
vsham20/devstack
tools/xen/devstackubuntu_latecommand.sh
Shell
apache-2.0
448
#!/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 ...
raffaelespazzoli/origin
vendor/k8s.io/kubernetes/test/images/volumes-tester/iscsi/run_iscsid.sh
Shell
apache-2.0
907
#!/bin/sh # Run headers_$1 command for all suitable architectures # Stop on error set -e do_command() { if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then make ARCH=$2 KBUILD_HEADERS=$1 headers_$1 elif [ -f ${srctree}/include/asm-$2/Kbuild ]; then make ARCH=$2 KBUILD_HEADERS=$1 headers_$1 else printf "Ign...
ysleu/RTL8685
uClinux-dist/linux-2.6.x/scripts/headers.sh
Shell
gpl-2.0
767
#!/bin/bash set -e # Check the SCRIPT_XXX values are set. if [ -z "${SCRIPT_SRC}" ]; then echo 'Parent script must do SCRIPT_SRC="$(realpath ${BASH_SOURCE[0]})"' exit 1 fi if [ -z "${SCRIPT_DIR}" ]; then echo 'Parent script must do SCRIPT_DIR="$(dirname "${SCRIPT_SRC}")"' exit 1 fi # Check the KOKORO environment...
SymbiFlow/symbiflow-arch-defs
.github/kokoro/common.sh
Shell
isc
791
#!/bin/bash set -euo pipefail # announce_sdk_release.sh - Prompts to check the announcement of a new SDK version. # # Edward Smith, January 2017 version=$(./scripts/version.sh) echo "" echo "" echo ">>> Huzzah! The Branch SDK for iOS has been published!" echo ">>> Inform the world!" echo "" echo "Add a release ann...
BranchMetrics/ios-branch-deep-linking
scripts/annouce_sdk_release.sh
Shell
mit
1,089
#!/usr/bin/env bash appmod-image/bin/appmod
jbannick/hellokata-java
src/log4j2/simplelogger/hellosimpleloggermodimage/run.sh
Shell
mit
44
#!/bin/sh file=Sources/JSON/JSON.swift dir=iOS/JSON.playground/Sources mkdir -p $dir cp -a $file $dir
dankogai/swift-json
scripts/ios-prep.sh
Shell
mit
102
############################################################################### # Install the reddit source repositories ############################################################################### if [ ! -d $REDDIT_HOME/src ]; then mkdir -p $REDDIT_HOME/src chown $REDDIT_USER $REDDIT_HOME/src fi function c...
TeamOSO/DevOps-Challenge
ansible/roles/webserver/files/webserver.sh
Shell
mit
11,240
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-1733-1 # # Security announcement date: 2013-02-21 00:00:00 UTC # Script generation date: 2017-01-01 21:03:09 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: i386 # # Vulnerable packages fix on version: # - ruby1.9.1:1.9.3.0-1ubuntu2.5 # - lib...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/i386/2013/USN-1733-1.sh
Shell
mit
969
#!/bin/bash cd /vagrant echo " " echo "Beginning Provisioning!" echo "Please ignore any 'stdin' related errors. It's an Ubuntu+Vagrant bug." echo " " echo " [Cahoots] Step 1: Adding APT Repositories and Updating APT" echo " " apt-get update -o Acquire::ForceIPv4=true echo " " echo " [Cahoots] Step 2: Upgrading Base...
hickeroar/python-skeleton
setup/vagrant_provision.sh
Shell
mit
1,001
coffee tools/command_db.coffee -b http://localhost:2403 -u admin -p over2you import games/v2/*
bcfuchs/RedWire
client/load_games.sh
Shell
mit
97
#!/usr/bin/env bash set -ex OPENSSH_ROOT=V_8_5_P1 cd /usr/src curl --connect-timeout 20 \ --max-time 10 \ --retry 5 \ --retry-delay 10 \ --retry-max-time 40 \ -LO https://github.com/openssh/openssh-portable/archive/${OPENSSH_ROOT}.tar.gz tar -xvf ${OPENSSH_ROOT}.tar.gz rm -f ${OPENSSH_ROOT}.tar....
thewtex/cross-compilers
imagefiles/build-and-install-openssh.sh
Shell
mit
549
#!/bin/bash # Set up required paramters for hadoop cluster: SSH keys and IPs # # Usage: setup.sh [ -n <number of slaves> ] [ -v <hadoop version>] [ -d <data dir> ] [-r <replication factor>] set -e VER=2.7.3 REP=2 DATADIR=/tmp/data slaves=2 while getopts n:v:r:d: opt do case $opt in n) slaves="$OPTARG" ;; v) VE...
minutelab/demos
hadoop/setup.sh
Shell
mit
1,365
#!/bin/bash # online resources: # http://steve-parker.org/sh/sh.shtml # http://www.freeos.com/guides/lsst/ # http://www.ss64.com/bash/ ########################################################################################## # # This script tests various license restrictions ("trial period") # #-------------------...
spectralmind/smafe
test/testLic.sh
Shell
mit
8,166
#!/bin/bash # Author: Patrick Samson # License: MIT License (refer to README.md for more details) # # DO NOT EDIT ANYTHING UNLESS YOU KNOW WHAT YOU ARE DOING. YELLOW='\e[93m' RED='\e[91m' ENDCOLOR='\033[0m' CYAN='\e[96m' GREEN='\e[92m' SCRIPTPATH=$(pwd) SOFTNAME='Invoice Ninja' # Test if MySQL (or MariaDB) is instal...
Lykegenes/vps-toolkit
apps/invoice-ninja-installer.sh
Shell
mit
4,126
#!/bin/bash set -u . common.rc check QUEUE_NAME=${APPLICATION_NAME}-build-deferrals echo "===Creating SQS deferral queue" aws --profile ${AWS_PROFILE} sqs create-queue --queue-name ${QUEUE_NAME}
ae6rt/decap
aws-resources/create-sqs.sh
Shell
mit
203
#!/bin/bash -e #BSUB -J ireckon #BSUB -o ireckon.%J.out #BSUB -e ireckon.%J.error #BSUB -n 10 #BSUB -M 16000 java -Xmx15000M -jar /home/hayer/itmat/benchmark_quantifiers/tools/IReckon-1.0.8.jar test/sample_tree//VC_ENSEMBL_RIBOZ_EFFECTS_LONG/tophat_out/accepted_hits.bam /home/hayer/itmat/benchmark_quantifiers/index/mm9...
khayer/benchmark_quantifiers
test/sample_tree/VC_ENSEMBL_RIBOZ_EFFECTS_LONG/ireckon/bias_2/run.sh
Shell
mit
624
# return the tmux conf value for a given option # if it doesn't exist, return the passed default get_tmux_option() { local option=$1 local default_value=$2 local option_value=$(tmux show-option -gqv "$option") if [ -z "$option_value" ]; then echo "$default_value" else echo "$option_value" fi } set_...
devend711/tmux-screentime
scripts/shared.sh
Shell
mit
418
#!/usr/bin/env bash PATH="$PATH:/usr/local/bin" TYPE="$1" COMMAND="$2" MACHINE="$3" ID="$4" date echo "Type: $TYPE" echo "Command: $COMMAND" echo "Machine: $MACHINE" echo "ID: $ID" if [ "$TYPE" = "machine" -a "$COMMAND" = "ip" ]; then docker-machine ip "$MACHINE" | pbcopy exit $? fi if [ "$TYPE" = "machine" ] th...
keithamus/alfred-docker-wizard
docker-do.sh
Shell
mit
513
#!/bin/bash source ./config # Install keystone yum -y install openstack-keystone python-keystoneclient # Create databases for keystone mysql -u root -p${SQL_PWD} -e "CREATE DATABASE keystone;" mysql -u root -p${SQL_PWD} -e "GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY '$SERVICE_PWD';"...
brad-x/openstack
openstack-controller/keystone.sh
Shell
mit
4,112
#!/usr/bin/env bash # # Usage: # install_app.sh # # Description: # Mac へアプリをインストールします。 # ########################################################################### set -eux readonly CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" brew bundle install --file=${CURRENT_DIR}/bundle/mac/Brewfile bash "${...
oki2a24/dotfiles
brew/install_app.sh
Shell
mit
478
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2015:0766 # # Security announcement date: 2015-04-01 04:29:16 UTC # Script generation date: 2017-01-27 21:19:27 UTC # # Operating System: CentOS 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - firefox.i686:31.6.0-2.el6.centos # - f...
Cyberwatch/cbw-security-fixes
CentOS_6/x86_64/2015/CESA-2015:0766.sh
Shell
mit
813
#!/bin/bash #################################################### SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE ...
dmitsh/acs-engine
test/common.sh
Shell
mit
8,094
#!/bin/bash python RunSimulation.py --Geo 10.0 --sim_num 86
xji3/IGCCodonSimulation
ShFiles/YDR418W_YEL054C_IGCgeo_10.0_sim_86.sh
Shell
mit
60
#!/bin/bash TUNNEL_LOG="$LOGS_DIR/browserstack-tunnel.log" WAIT_DELAY=60 # Method that prints the logfile output of the browserstack tunnel. printLog() { echo "Logfile output of Browserstack tunnel (${TUNNEL_LOG}):" echo "" cat ${TUNNEL_LOG} } # Wait for Connect to be ready before exiting # Time out if we wait...
nkwood/material2
scripts/browserstack/wait-tunnel.sh
Shell
mit
1,103
#!/bin/bash if [[ "$1" == "master" ]]; then docker tag bell:master bell:latest fi if [[ "$1" == "dev" ]]; then docker rm -f bell-dev || true docker run \ -e WEBSERVER_PORT=8080 \ -e SERVER_NAME=bell-dev-ci \ -e POSTGRES_ENABLED=false \ -e POSTGRES_USER=false \ -e POSTGRES_HOST=false \ -e...
nicolaschan/bell
scripts/deploy-dev.sh
Shell
mit
459
cd groovy-2.2.2/script sh java2groovy
wknishio/variable-terminal
util/java2groovy.sh
Shell
mit
38
#!/bin/bash if ! type kvm > /dev/null 2>&1; then curl -sSL https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.sh | sh && source ~/.kre/kvm/kvm.sh fi export KRE_FEED=https://www.nuget.org/api/v2 kvm install 1.0.0-beta2 kpm restore rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi cd tests/OmniSharp.Tests k te...
filipw/omnisharp-roslyn
build.sh
Shell
mit
611
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2009:0018 # # Security announcement date: 2009-01-08 16:00:17 UTC # Script generation date: 2017-01-01 21:09:56 UTC # # Operating System: CentOS 5 # Architecture: i386 # # Vulnerable packages fix on version: # - xterm.i386:215-5.el5_2.2 # # Last versions...
Cyberwatch/cbw-security-fixes
CentOS_5/i386/2009/CESA-2009:0018.sh
Shell
mit
585
#!/bin/bash OUI=$(echo ${1//[:.- ]/} | tr "[a-f]" "[A-F]" | egrep -o "^[0-9A-F]{6}") ##Very slow (use daily updated list) #lynx -dump http://standards.ieee.org/regauth/oui/oui.txt | grep $OUI cat oui.txt | grep $OUI
cheseaux/RSSI-Geolocation
logs/getOUI.sh
Shell
mit
219
rsync -avz -e ssh --delete --exclude=logs/*.tsv ./www/ accessibility@accessibility.kr:public_html/nia/
hyeonseok/nia-web-accessibility-pre-checker
deploy.sh
Shell
mit
103
#!/usr/bin/env bash # Install command-line tools using Homebrew. # Ask for the administrator password upfront. sudo -v # Keep-alive: update existing `sudo` time stamp until the script has finished. while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & # Make sure we’re using the latest Hom...
agokjr/dotfiles
brew.sh
Shell
mit
3,476
#!/usr/bin/env bash set -euxo pipefail realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" } SELF_PATH=`realpath $(dirname $0)` A3UL_PATH=`realpath "$SELF_PATH"/../../../..` pushd $A3UL_PATH COMMIT_COUNT=`git rev-list HEAD --count` popd BUILD_DIR=/tmp/build_a3ul_mac mkdir -p $BUILD_DIR pushd $BUIL...
muttleyxd/arma3-unix-launcher
tools/ci/packaging/mac-os-x/build.sh
Shell
mit
510
#!/bin/bash #PROJECT=../vector.argo #PROJECT=../vector.aspect #PROJECT=../../../../../Data/AppData/vector.aspect.jedit #PROJECT=../../../../../Data/AppData/vector.aspect.argo #PROJECT=../../../../../Data/AppData/vector.aspect.jdtcore #PROJECT=../../../../../Data/AppData/vector.aspect.jhotdraw #PROJECT=../../...
tamnguyenthe/CS5890Project
project/data/glove/rundef.sh
Shell
mit
2,500
#!/usr/bin/env bash cd ~/Photo/ find DCIM/ -name \*.JPG -exec mv {} JPEG \; find DCIM/ -name \*.NEF -exec mv {} RAW \; cd ./JPEG exiftool '-Directory<DateTimeOriginal' -d %Y-%m-%d . cd ../RAW exiftool '-Directory<DateTimeOriginal' -d %Y-%m-%d .
max-lobur/dotfiles
sh/raw.sh
Shell
mit
247
export ANYENV_ROOT="${HOME}/.anyenv" if [ -d "${ANYENV_ROOT}" ]; then export PATH=${ANYENV_ROOT}/bin:$PATH eval "$(anyenv init - --no-rehash)" fi
mhiro2/dotfiles
.zsh/profile.d/anyenv.sh
Shell
mit
150
#!/bin/bash if [ -n "$1" ] then PROGRAM=$1 else echo "Specify filename of program to test" exit $E_WRONGARGS fi echo "START TESTING $PROGRAM" for file in $(ls in/) do echo -n "Test $file: " $(time ./$PROGRAM -c out/$file.hf in/$file) $(time ./$PROGRAM -x out/$file out/$file.hf) $(diff in/$fi...
budnyjj/huffman
test/test.sh
Shell
mit
520
#!/usr/bin/env bash # Change to script directory sd=`dirname $0` cd $sd # Install Munin apt-get install -y munin # Configure directories echo "dbdir /var/lib/munin" >> /etc/munin/munin.conf echo "htmldir /var/cache/munin/www" >> /etc/munin/munin.conf echo "logdir /var/log/munin" >> /etc/munin/munin.conf echo "rundir...
redgeoff/munin-master-vagrant
munin.sh
Shell
mit
1,057
#!/usr(bin/env bash device=$1 file=$2 dd bs=64K conv=noerror,sync status=progress if=$file of=$device mount $1 /mnt cd /mnt
CuriouslyCurious/dotfiles
scripts/scripts/freedos_usb.sh
Shell
mit
124
#!/bin/bash clear THISDIR=$(cd $(dirname "$0"); pwd) #this script's directory . $THISDIR/baseurl.sh . $THISDIR/jwt-refresh.sh FUNC_PATH=boo VERBOSE= #-v # to show request/response headers & more SILENT= #--silent makes the progress meter not get shown (this is also not shown if we pipe curl's output too) # this work...
activescott/sheetmonkey-server
server/dev/invoke-ping.sh
Shell
mit
497
#!/bin/bash set -xe DIRS=" dev etc/portage/package.keywords etc/portage/package.use etc/portage/postsync.d etc/portage/profile etc/portage/repos.conf home lib32 lib64 mnt/gentoo proc root sys tmp usr/portage var/lib/portage " for dir in $DIRS; do mkd...
bencord0/genboot
stage_template.sh
Shell
mit
3,686
alias init="cmake -H. -Bbuild" alias initdbg="cmake -DCMAKE_BUILD_TYPE=Debug -H. -Bbuild" alias build="cmake --build build" alias clean="rm -rf build" alias debug="lldb ./build/kopf -o run" alias run="./build/kopf"
prideout/rwt
setup.sh
Shell
mit
215
#!/bin/zsh tmux new-session -s iris-vim -n "vim" -d tmux send-keys -t iris-vim:1 "ji" Enter "vim" Enter ":NERDTree" Enter tmux a -t iris-vim
rdeguzman/dotfiles
tmux-scripts/tmux-iris.sh
Shell
mit
142
#!/bin/bash /usr/sbin/smbd --foreground --log-stdout chown -R root:www-data /data
titovanton/bicycle-docker
samba-node/run.sh
Shell
mit
82
#!/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() { local source="${BUILT_PRODUCTS_DIR}/Pods-e-urbano/$1" local destinatio...
gbuenoandrade/e-urbano
Pods/Target Support Files/Pods-e-urbano/Pods-e-urbano-frameworks.sh
Shell
mit
2,416
#!/usr/bin/env sh wget -qO- "https://github.com/yuhui/tinytex/raw/master/tools/install-unx.sh" | sh
jesserobertson/dotfiles
latex/install.sh
Shell
mit
101
#!/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...
tuyenbq/Moya
Demo/Pods/Target Support Files/Pods-Demo/Pods-Demo-frameworks.sh
Shell
mit
3,198
#! /bin/bash fstab_file=/etc/fstab disk_path=/Volumes/ desktop_path=~/Desktop disks_ntfs=$(diskutil list | grep Windows_NTFS | awk -F ':' '{print $2}' | sed 's/^[ ]*Windows_NTFS[ ]*//') IFS=$(echo -en "\n\b") fileNames=$(ls -v ${disk_path}) # clear fstab file sudo sh -c "echo '' > ${fstab_file}" for file in ${fileName...
CraryPrimitiveMan/code-examples
shell/mac_ntfs.sh
Shell
mit
780
#!/bin/bash # put out files in current directory #$ -cwd #$ -l hostname="n13*" # Deliver notifications to the following address # Send notifications when the job begins (b), ends (e), or is aborted (a) #Abort on any error, set -e #(and thus quit the script right away) echo Running on $HOSTNAME echo Current PATH is $P...
widdowquinn/THAPBI
ITS_region_genomic_coverage/shell_scripts/OLD_P.nicotiana_ITS_ratio_finding.sh
Shell
mit
3,290
curl --silent 'www.google.com'
NickCarneiro/curlconverter
fixtures/curl_commands/get_silent.sh
Shell
mit
31
alias -s tex=vim
chauncey-garrett/dotfiles
zsh/modules/latex/latex.plugin.zsh
Shell
mit
17
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-563-1 # # Security announcement date: 2016-07-26 00:00:00 UTC # Script generation date: 2017-01-29 21:10:13 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - libgd2:2.0.36~rc1~dfsg-6.1+deb7u5 # ...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2016/DLA-563-1.sh
Shell
mit
646
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-3025-1 # # Security announcement date: 2016-07-05 00:00:00 UTC # Script generation date: 2017-01-01 21:05:32 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: i386 # # Vulnerable packages fix on version: # - gimp:2.6.12-1ubuntu1.4 # # Last versio...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/i386/2016/USN-3025-1.sh
Shell
mit
611
#!/bin/bash -- set -e -u -o pipefail source /etc/environment cd -- "$(dirname -- "$0")" export HOST="$(curl 169.254.169.254/latest/meta-data/hostname)" export CONFIG_PREFIX="s3://$S3_CONFIG_BUCKET/$VPC_SUBNET_TAG/$CLOUD_APP/$CLOUD_ENVIRONMENT" SQS_POLL_WAIT="30s" # Overidable in conf.sh LISTENER_COUNT=5 # Overidable...
TwitchScience/rs_ingester
build/scripts/run_metadatastorer.sh
Shell
mit
1,149
#!/bin/bash if [[ $TRAVIS_OS_NAME == 'linux' ]]; then # OpenCV install code (modified from orignal source: https://github.com/jayrambhia/Install-OpenCV) ####################################################### # Configuration variables ####################################################### # Decide if some Open...
Dovyski/cvui
.travis/install.sh
Shell
mit
1,921
# Get policies and user ids for past due alerts curl 'https://apir.pinnacol.com/policyholder-alerts-api/subscribers/past_due' | jq '. | to_entries[] | .key | split("|") | join(",")' | sort > prod_past_due.csv # Get list of repos from github for n ({1..23}) do curl -s --header "Accept: application/json" "https://gith...
CerebusTV/dotfiles
jq-commands.sh
Shell
mit
1,957
#!/bin/bash # build-ubuntu.sh # Install dependencies, downloads the EverGreenCoin source code, compile, and executes as current user (or sudo for root) on Ubuntu as of Ubuntu 18.04.3 LTS # Copyright EverGreenCoin Developers # https://github.com/EverGreenCoinDev/EverGreenCoin/build-ubuntu.sh # # Prompts to build one of ...
EverGreenCoinDev/EverGreenCoin
build-ubuntu.sh
Shell
mit
4,913
#!/usr/bin/env bash # Initialize colors GREEN='\033[1;32m' NC='\033[0m' # Copy .vimrc to home cp .vimrc /home/$USER # Add Webupd8 sublime text 3 and tor browser repository and update echo -e "\n${GREEN}Adding Webupd8 tor repository${NC}\n" sudo add-apt-repository ppa:webupd8team/tor-browser -y sudo apt-get update su...
jajatikr/setup
setup.sh
Shell
mit
1,348
#!/bin/sh ############################# ## patch1_1.sh ############################# ## James Joseph Balamuta ## james.balamuta@gmail.com ############################# ## Patch 1.1 for Image 1.0 -- 01/23/15 ############################# ## Objective: ## Patch the image to export environmental variables ## Added UIUC_I...
coatless/stat490uiuc
install_scripts/patches/patch1_1.sh
Shell
mit
2,570
#!/usr/bin/env bash # shellcheck disable=SC2016 printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> "$HOME/.bashrc" cat > "$HOME/.bashrc" <<EOF source "$HOME/.homesick/repos/homeshick/homeshick.sh" source "\$HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash" EOF cat > "$HOME/.zshrc" <...
nngo/homeshick
test/setup-default.sh
Shell
mit
712
# Adapt the two following lines -- NB: Java 8 is required JAVA_HOME= XMCDA_LIB="/path/to/XMCDA-java.jar" # -- You normally do not need to change anything beyond this point -- JAVA=${JAVA_HOME}/bin/java # check that the XMCDA library can be found and that Java is executable if [ ! -f ${XMCDA_LIB} -o "" == "${JAVA_HO...
sbigaret/PrometheeDiviz-MagdalenaDziecielska
PROMETHEE-I_ranking/common_settings.sh
Shell
mit
715
.bin/srclib-csharp scan --repo github.com/YoloDev/YoloDev.BadCode --subdir . #.bin/srclib-csharp scan --help
YoloDev/srclib-csharp
test.sh
Shell
mit
109
#!/bin/bash function deluge() { echo 'Installing deluged and web-client' sudo apt-get install deluged deluge-web echo 'Creating new user and group - deluge"' sudo adduser --system --group --home /var/lib/deluge deluge echo 'Adding current user to the group' sudo adduser $USER deluge echo 'Creating deluge...
oizo/deb-post-install
post-install-eee.sh
Shell
mit
1,828
#!/bin/bash set -e for specimen in $(csvcut -H -c 2 seq_info.csv | tail -n+2 | sort | uniq); do grep $specimen seq_info.csv | cut -f 1 -d, > want.txt seqmagick convert --include-from-file want.txt seqs.fasta some_words_${specimen}_other_words.fasta done rm want.txt
nhoffman/swarmwrapper
testfiles/split_seqs.sh
Shell
mit
277
#!/bin/sh # Source test support functions . ./test-support.sh # Source the configuration to get a reference to the queue . ./test-steve.conf #### Arrange goes here touch $QUEUE/20150102125050.request touch $QUEUE/20150102122020.request touch $QUEUE/20150102123030.request #### Act: Run steve ./execsteve.sh EXITCODE=...
sandermvanvliet/Steve
test/RequestsAreProcessedFromOldestToNewest.test.sh
Shell
mit
629
#!/usr/bin/bash # Runs slice tree (several versions) for the synthetic graphs # @Arlei Silva source default.sh for f in ${dblp_data_files[@]} do rm ${f}_$results_pruning.dat echo "slices STI STIF" >> ${f}_$results_pruning.dat for p in ${param_num_partitions[@]} do avg_stbs_fast=0 avg_stbs...
ucsb-igert/slice-tree
experiments/multi_slices/dblp_num_slices/compute_pruning.sh
Shell
mit
1,640
# Android SDK dir if [[ -n $IS_MACOS ]]; then export PATH=$HOME/Library/Android/sdk/platform-tools:$PATH fi
yardnsm/dotfiles
android/init.zsh
Shell
mit
111
# # Functions for writing the Windows-style or Unix-style path to the clipboard # wdir() { filepath=${1-.} cygpath -wa "$filepath" | tr -d '\n' > /dev/clipboard } udir() { filepath=${1-.} cygpath -ua "$filepath" | tr -d '\n' > /dev/clipboard }
kirkvogen/oh-my-zsh-plugins
cygwin/cygwin.plugin.zsh
Shell
mit
249
#!/usr/bin/env bash # Copyright 2014 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. # Script to build and launch the app on an android device. set -e # ./make.bash adb install -r bin/Melange-release.apk adb shell am start -...
melange-app/melange
mobile/android/all.bash
Shell
mit
414
#! @runtimeShell@ # shellcheck shell=bash set -e shopt -s nullglob export PATH=@path@:$PATH # Ensure a consistent umask. umask 0022 # Parse the command line for the -I flag extraBuildFlags=() flakeFlags=() mountPoint=/mnt channelPath= system= verbosity=() while [ "$#" -gt 0 ]; do i="$1"; shift 1 case "$i"...
NixOS/nixpkgs
nixos/modules/installer/tools/nixos-install.sh
Shell
mit
7,074
DIRNAME=`dirname "$0"` echo "Testing backend" ruby $DIRNAME/tests.rb #echo "Angular unit tests" #ruby "$DIRNAME/../liste.rb"
conchyliculture/liste
tests/run.sh
Shell
mit
127
#!/bin/sh echo "namespace Eigen {" echo "/** \page ExampleList" echo "<h1>Selected list of examples</h1>" grep \\addexample $1/Eigen/src/*/*.h -R | cut -d \\ -f 2- | \ while read example; do anchor=`echo "$example" | cut -d " " -f 2` text=`echo "$example" | cut -d " " -f 4-` echo "\\\li \\\ref $anchor \"$text\"" done...
kyleconroy/starfighter
eigen2/doc/buildexamplelist.sh
Shell
mit
339
#!/usr/bin/env bash # set -x input="./file.txt" counter=1 while IFS= read -r line do if [ $counter -eq 10 ] then echo "$line" exit 0 fi ((counter++)) done < "$input"
seanxwzhang/LeetCode
195 Tenth Line/solution.sh
Shell
mit
193
curl -H "AUTHORIZATION: <YOUR_TOKEN_GOES_HERE>" http://auth:8080/api/V2/token
kbase/njs_wrapper
dev_tools/test_login_v2.sh
Shell
mit
79
INGFF=ITAG2.3_gene_models.gff3.gene.gff3 INVCF= OUTDIR=randomgenelist OUTNAME=randomgenelist NUMLINES=10 NUMSAMPLES=999 mkdir $OUTDIR set -xeu OUTLIST=$OUTDIR/$INGFF.genelist cat $INGFF | cut -f 9 | cut -d\; -f1 | cut -d\= -f2 | uniq > $OUTLIST for i in $(seq 0 ${NUMSAMPLES}); do n=`printf "%04d" $i` echo $n OU...
sauloal/introgressionbrowser
vcfmerger/mkrandomgenelist.sh
Shell
mit
532
#!/bin/bash # Start lxsession DISPLAY=:99 lxsession
ErikBjare/dotfiles
home/.bin/xvfb/xvfb-lxde-session.sh
Shell
mit
53
#!/bin/sh mkdir -p /etc/nginx/conf.d/ rm -rf /etc/nginx/sites-enabled/* cp nginx.center /etc/nginx/conf.d/center.conf cp crt/server.key /etc/nginx/. cp crt/server.crt /etc/nginx/. if [ -x /etc/init.d/nginx ]; then /etc/init.d/nginx restart fi if [ -d /etc/supervisor/conf.d/ ]; then cp tornado.conf /etc/supervisor...
maqg/wcrobot
tornado/install.sh
Shell
mit
392
#!/bin/bash ### # #%L # che-starter # %% # Copyright (C) 2017 Red Hat, Inc. # %% # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.h...
redhat-developer/che-starter
cico_run_tests.sh
Shell
epl-1.0
1,145
#!/bin/bash ../../spark-1.4.1-bin-hadoop2.6/bin/spark-submit --class "GrepStream" --master spark://arch:7077 --jars lib/guava-18.0.jar target/scala-2.10/grepstream_2.10-1.0.jar localhost 9999 hdfs://localhost:9000/checkpoint/ 2 1
huangqundl/MySparkApps
grep_stream/run.sh
Shell
gpl-2.0
231
#!/usr/bin/env bash Color_Off='\e[0m' Red='\e[0;31m' Yellow='\e[0;33m' Green='\e[0;32m' # # Do something explicitely without verbosity output # __quiet__() { VERBOSE=0 $* } # # Do something explicitely without debug and verbosity output (with no output at # all therefor) # __silent__() { DEBUG=0 __quiet__ $*...
matthiasbeyer/nixos-scripts
nix-utils.sh
Shell
gpl-2.0
4,654
#!/bin/bash # This script reads filenames from STDIN and outputs any relevant provides # information that needs to be included in the package. if [ "$1" ] then package_name="$1" fi [ -z "$OBJDUMP" ] && OBJDUMP=i686-pc-mingw32-objdump filelist=`sed "s/['\"]/\\\&/g"` dlls=$(echo $filelist | tr [:blank:] '\n' | gr...
gooselinux/mingw32-filesystem
mingw32-find-provides.sh
Shell
gpl-2.0
440
#!/bin/bash # Daniel Fernandez Rodriguez <gmail.com daferoes> # This program will check if a set of IPs are pingable through the network. # If not, it will start an application until at least one of those IPs # become reachable again. APP=motion KNOWN_IPS=(192.168.10.XX 192.168.10.YY) MANUALLY_DISABLED='/tmp/iamhom...
danifr/miscellaneous
amihome/amihome.sh
Shell
gpl-2.0
1,645
#!/bin/sh # # Copyright (c) 2005 Junio C Hamano. # USAGE='[--interactive | -i] [-v] [--force-rebase | -f] [--onto <newbase>] [<upstream>|--root] [<branch>] [--quiet | -q]' LONG_USAGE='git-rebase replaces <branch> with a new branch of the same name. When the --onto option is provided the new branch starts out with a H...
asoltys/git
git-rebase.sh
Shell
gpl-2.0
13,875
#!/bin/bash IMG_BASE="/var/lib/libvirt/images" for i in `seq 1 8`; do virsh snapshot-create runner-${i} virsh destroy runner-${i} done
slackish/qrplay
server/host/utils/snapall.sh
Shell
gpl-2.0
152
#!/bin/bash # Copyright 2014 University of Edinburgh (Author: Pawel Swietojanski) # 2016 Johns Hopkins University (Author: Daniel Povey) # AMI Corpus training data preparation # Apache 2.0 # Note: this is called by ../run.sh. # To be run from one directory above this script. . ./path.sh #check existing...
michellemorales/OpenMM
kaldi/egs/ami/s5b/local/ami_ihm_data_prep.sh
Shell
gpl-2.0
3,626
#!/bin/sh test_description='checkout switching away from an invalid branch' . ./test-lib.sh test_expect_success 'setup' ' echo hello >world && git add world && git commit -m initial ' test_expect_success 'checkout master from invalid HEAD' ' echo 0000000000000000000000000000000000000000 >.git/HEAD && git check...
certik/git
t/t2011-checkout-invalid-head.sh
Shell
gpl-2.0
347
#!/bin/sh # Running this file will create "testdir" directory with bunch # of files inside. Open them all to see if something broke. # Kind of smoke test. # Langs covered here: # asp.lang changelog.lang c.lang cpp.lang desktop.lang diff.lang dtd.lang # fsharp.lang gap.lang glsl.lang gtkrc.lang html.lang ini.lang late...
rwaldron/gtksourceview
data/language-specs/testfiles.sh
Shell
gpl-2.0
22,009
#!/bin/bash #script para cambiar los atributos de un archivo y asignarle permisos de ejecución echo -e "Introduce un nombre de archivo: \c " read fichero if [ -f $fichero ]; then permisos=`ls -l $fichero` if [ -x $fichero ]; then echo "Ya cuenta con permisos de ejecución" echo "$permisos" else echo "Archivo e...
leortegar/scripting
makeXfile.sh
Shell
gpl-2.0
634
# Remove Adminer function ee_ven_remove_adminer() { ee_lib_echo "Removing Adminer, please wait..." rm -rf /var/www/22222/htdocs/db/adminer \ || ee_lib_error "Unable to remove Adminer, exit status = " $? }
shitalp/easyengine
src/vendor/ee_ven_remove_adminer.sh
Shell
gpl-2.0
209
#!/bin/sh ## ## (C) Copyright 2002-2003 Fred Gleason <fredg@paravelsystems.com> ## ## $Id: autogen.sh,v 1.5 2010/07/29 19:32:30 cvs Exp $ ## ## Adapted from './autogen.sh' in the Jack Audio Connection Kit. ## Copyright (C) 2001-2003 Paul Davis, et al. ## ## This program is free software; you can redist...
ElvishArtisan/gpilog
autogen.sh
Shell
gpl-2.0
1,258
rm ramdisk-new.cpio rm boot.img rm zImage cp ../arch/arm/boot/zImage ./ ./mkbootfs ./ramdisk > ramdisk-new.cpio ./mkbootimg --base "00200000" --kernel zImage --ramdisk ramdisk-new.cpio -o boot.img
sktjdgns1189/android_kernel_samsung_SHW-M340S
Merge_Tool/make.sh
Shell
gpl-2.0
197
#!/bin/bash # Copyright 2012 Vassil Panayotov # Apache 2.0 # NOTE: You will want to download the data set first, before executing this script. # This can be done for example by: # 1. Setting the variable DATA_ROOT in path.sh to point to a # directory with enough free space (at least 20-25GB # ...
michellemorales/OpenMM
kaldi/egs/voxforge/s5/run.sh
Shell
gpl-2.0
9,366
#! /bin/sh # Copyright (C) 2003-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/am-missing-prog.sh
Shell
gpl-2.0
2,787
#! /usr/bin/env sh ############################################################################### # # # file: script.sh # # author: Md Safiyat Reza (md.reza@snapdeal.com) ...
safiyat/SyllableCount
temp/script.sh
Shell
gpl-2.0
1,266
rm -rf spm/virt/GoD-CLI/Sources mkdir -p spm/virt/GoD-CLI/Sources rm -rf spm/virt/Colosseum-CLI/Sources mkdir -p spm/virt/Colosseum-CLI/Sources rm -rf spm/virt/PBR-CLI/Sources mkdir -p spm/virt/PBR-CLI/Sources # GoD Sources ln -s "$PWD/Objects/textures/GoDTextureImporter.swift" spm/virt/GoD-CLI/Sources/ ln -s "$PWD...
PekanMmd/Pokemon-XD-Code
CLI Compilers/link.sh
Shell
gpl-2.0
31,454
#! /usr/bin/env bash # envsetup.sh if [ -z "$NPROC" ]; then UNAMES=$(uname -s) if which nproc >/dev/null; then export NPROC=`nproc` elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null; then export NPROC=`sysctl -n machdep.cpu.thread_count` fi fi function gettop() { local TOPFILE=envsetup.sh ...
dengxiayehu/orps
envsetup.sh
Shell
gpl-2.0
1,978