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
# This script takes the name of a binary and downloads it from S3.
# It takes the repo_name/binary_name and an optional sha.
# If the sha is not specified, the latest binary is downloaded.
# to download latest binary:
# ./download_binary.sh cockroach/sql.test
# to download a specific sha:
# ./download_binar... | il9ue/cockroach | cloud/aws/download_binary.sh | Shell | apache-2.0 | 1,804 |
#! /bin/bash
if ! hash cmake 2>/dev/null \
|| ! hash abi-dumper 2>/dev/null \
|| ! hash abi-compliance-checker 2>/dev/null; then
echo "This script requires cmake, abi-dumper and abi-compliance-checker"
echo "On Ubuntu: apt-get install cmake abi-dumper abi-compliance-checker"
exit 1
fi
usage ()
{
echo "Usa... | drmateo/pcl | .github/generate_abi_reports.sh | Shell | bsd-3-clause | 3,839 |
#!/bin/sh
#
# Thomas Esser, Hans Fredrik Nordhaug, 2003, 2004.
# Public domain.
#
# kpsewhere is an extension to kpsewhich (as where is for which in tcsh).
# The intention is to provide a way to check for conflicts/shadowed
# files.
#
# Original version by Hans Fredrik Nordhaug <hans.fredrik@nordhaug.no>
#
# Bugs / lim... | mcanthony/texlive.js | texlive/texmf-dist/scripts/texlive/kpsewhere.sh | Shell | gpl-2.0 | 1,441 |
#!/bin/bash
fw_depends mysql python2 apache
pip install --install-option="--prefix=${PY2_ROOT}" -r $TROOT/webware/requirements.txt
cd webware
rm -fr Webware Webware-1.1.1 Webware-1.1.1.tar.gz
fw_get -O https://downloads.sourceforge.net/webware/Webware-1.1.1.tar.gz
fw_untar Webware-1.1.1.tar.gz
cp -r app/ Webware-1... | mfirry/FrameworkBenchmarks | frameworks/Python/historical/webware/setup.sh | Shell | bsd-3-clause | 454 |
fpath+="`dirname $0`/src"
| rakr/dotfiles | zsh/zsh-completions/zsh-completions.plugin.zsh | Shell | mit | 26 |
#!/bin/sh
test_description='push to a repository that borrows from elsewhere'
. ./test-lib.sh
test_expect_success setup '
mkdir alice-pub &&
(
cd alice-pub &&
GIT_DIR=. git init
) &&
mkdir alice-work &&
(
cd alice-work &&
git init &&
>file &&
git add . &&
git commit -m initial &&
git push ../ali... | cipriancraciun/git | t/t5519-push-alternates.sh | Shell | gpl-2.0 | 3,424 |
#!/bin/bash
npm run build
| hatchery/cbdb | web/build.sh | Shell | mit | 27 |
#!/bin/bash
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | horance-liu/tensorflow | tensorflow/tools/ci_build/windows/bazel/common_env.sh | Shell | apache-2.0 | 2,447 |
#!/bin/bash
# This file is part of the rsyslog project, released under GPLv3
echo ===============================================================================
echo \[mysql-basic.sh\]: basic test for mysql-basic functionality
. $srcdir/diag.sh init
mysql --user=rsyslog --password=testbench < testsuites/mysql-truncate... | RomeroMalaquias/rsyslog | tests/mysql-basic-cnf6.sh | Shell | gpl-3.0 | 698 |
#!/bin/sh
export CFLAGS="-I$PREFIX/include -L$PREFIX/lib"
wget http://www.biophys.uni-duesseldorf.de/bralibase/squid-1.9g.tar.gz
tar -xzf squid-1.9g.tar.gz
pushd squid-1.9g
./configure --prefix=$PREFIX -q
make clean
make
make install
popd
export C_INCLUDE_PATH="squid-1.9g"
export LIBRARY_PATH="squid-1.9g"
make
m... | gvlproject/bioconda-recipes | recipes/compalignp/build.sh | Shell | mit | 346 |
#!/usr/bin/env bash
# File managed by pluginsync
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
#
# Copyright 2016 Intel Corporation
#
# 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
#
# ... | intelsdi-x/snap-plugin-collector-cpu | scripts/pre_deploy.sh | Shell | apache-2.0 | 2,238 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ Rattus.norvegicus
| joachimwolff/bioconda-recipes | recipes/bioconductor-rattus.norvegicus/pre-unlink.sh | Shell | mit | 64 |
rm -f assignment1.zip
zip -r assignment1.zip . -x "*.git*" "*cs231n/datasets*" "*.ipynb_checkpoints*" "*README.md" "*collectSubmission.sh" "*requirements.txt"
| machinelearningnanodegree/stanford-cs231 | solutions/vijendra/assignment1/collectSubmission.sh | Shell | mit | 160 |
#!/bin/php
<?php
/**
* @file
* Updates CLDR codes in CountryManager.php to latest data.
*
* We rely on the CLDR data set, because it is easily accessible, scriptable,
* and in the right human-readable format.
*/
// Determine DRUPAL_ROOT.
$dir = dirname(__FILE__);
while (!defined('DRUPAL_ROOT')) {
if (is_dir($... | nickopris/musicapp | www/core/scripts/update-countries.sh | Shell | apache-2.0 | 3,140 |
#!/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 ... | jawnsy/cri-o | vendor/k8s.io/kubernetes/hack/update-federation-generated-swagger-docs.sh | Shell | apache-2.0 | 1,456 |
#!/bin/sh
if [ -f /usr/bin/lsb_release ] && [ `/usr/bin/lsb_release -rs` = "14.04" ]; then
node_bin=`whereis -b nodejs | awk '{ print $2 }'`
else
node_bin=`whereis -b node | awk '{ print $2 }'`
fi
if [ -z "$node_bin" ]; then
echo "can't find node binary"
exit 1
fi
if [ -f "/etc/atomiadns.conf" ]; then
init_env=... | atomia/atomiadns | webapp/webapp_service_init.sh | Shell | isc | 767 |
$ restart verleihsystem_webapp
| westphahl/verleihsystem | doc/code/installation_conf_gunicorn_03.sh | Shell | isc | 31 |
#!/usr/bin/env bash
set -eou pipefail
cd "$(dirname "$0")" || exit 1
DIR="$(pwd)"
"${DIR}/python_dependencies.sh"
# -----------------------------------------------------------------------------
installed_python_3_version="$(python3 --version 2>/dev/null | sed 's/Python //')"
latest_python_version=$(
set +u
pye... | faun/dotfiles | install/python3.sh | Shell | mit | 1,700 |
#!/bin/bash
set -e
# run with --with-debugging=0 configuration
# with hand-editing, generates p4pdes-book/figs/obstacleweakscaling.txt
# see last table and figure in Chapter 12
# weak scaling for obstacle: grid-sequencing + RS + GMG + ASM/SSOR
COMMON="-snes_converged_reason -pc_type mg -mg_levels_ksp_type richards... | bueler/p4pdes | c/ch12/study/obstacleweakscaling.sh | Shell | mit | 790 |
#!/usr/bin/env bash
./mvnw spring-boot:run -Drun.arguments="--spring.profiles.active=desenvolvimento" -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005" | gsag/exame-inclusivo | debug.sh | Shell | mit | 192 |
#!/bin/bash
export CC=mpicc
export CXX=mpicxx
export FC=mpif90
export NETCDF=/ascldap/users/pabosle/installs/netcdf-4.3.2
export SOURCE_ROOT=$HOME/lpm-v2/fortran
rm -rf CMakeCache.txt
rm -rf CMakeFiles/
cmake \
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D CMAKE_INSTALL_PREFIX=$SOURCE_ROOT/install \
$SOURCE_ROOT | pbosler/LPPM | development/build/configureLPM-fortran-redsky.sh | Shell | mit | 313 |
#!/bin/bash
CURRENT_DIR=/home/vagrant/source
core_structure_folder=$CURRENT_DIR/core_structure
if [ -d "$core_structure_folder" ]; then
vagrant_folder=$CURRENT_DIR/public/vagrant
external_current_folder=$CURRENT_DIR/public/current
items_to_symlink=( core vendor includes misc modules profiles scripts themes autho... | poupouxios/drupal-automation | setup_vagrant_files.sh | Shell | mit | 1,092 |
#!/bin/bash
docker build -t "gwul/vivo_db" .
| gwu-libraries/vivo-docker | db/build.sh | Shell | mit | 46 |
#!/usr/bin/env bash
# OS name.
UNAME=`uname`
# Directory in which to install Armadillo.
EXTERNPATH="external"
# Name and version of library to install.
NAMEVERSION="armadillo-7.500.2"
# URL from which to download HepMC.
URL="http://sourceforge.net/projects/arma/files/${NAMEVERSION}.tar.xz"
if [ -d "${EXTERNPATH}/$... | asogaard/Wavenet | scripts/downloadArmadillo.sh | Shell | mit | 2,292 |
#! /bin/bash
#for (( i=5000; i<=90000; i+=5000 ))
#do
# STRINGA=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $i | head -n 1`
# STRINGB=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $i | head -n 1`
# echo -n "$i, "
# java -cp ../:../jcuda-0.7.5.jar:. GPLevenshtein $STRINGA $STRINGB
#done
i=10000
j=10k.txt
e... | nkcr/JavaGPU | Analysis/JCuda/Levenshtein/stats/benchmark.sh | Shell | mit | 4,475 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for ... | panosmdma/SlackOnly-SlackBuilds | system/docker/doinst.sh | Shell | mit | 735 |
###############################################################################
## (c) Copyright 2008 2009 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
##... | onchipuis/mriscv_vivado | mriscv_vivado.srcs/sources_1/ip/ddr_axi/ddr_axi/example_design/sim/vcs_run.sh | Shell | mit | 4,956 |
#!/bin/bash
# See http://jonas.nitro.dk/tig/INSTALL.html
install_tig() {
if [ -n "$DOTFILES"]
then
DOTFILES="`pwd`"
fi
local SOURCES=$DOTFILES/tig/sources
if test ! $(which tig)
then
echo " Installing tig for you."
sudo apt-get -y install libncurses5-dev libncursesw5-dev # https://github.com... | adrien-louis-r/dotfiles | tig/install.sh | Shell | mit | 517 |
#!/usr/bin/env bash
# Run this script to document the javascript code.
# Be sure your repository is clean and ready before doing this!
# Expects esdoc and git to be setup.
if [ "$(id -u)" == "0" ]; then
echo "This script should not be run as root!" 1>&2
exit 1
fi
if [[ -n $(git status --porcelain) ]]
then
echo... | mircealungu/Unified-Multilanguage-Reader | autodoc.sh | Shell | mit | 899 |
#!/bin/bash
# copy maintenance scripts to _local directory
source ${0%/*}/configtemplate.sh
source ${0%/*}/doconfig.sh
source ${0%/*}/functions.sh
ensureDir "$LOCAL_DIR"
cd "$LOCAL_DIR"
for file in backup.sh configtemplate.sh doconfig.sh functions.sh install.sh localize.sh provision.sh restore.sh save.sh uninstall.... | ETCBC/shebanq | scripts/maintenance/localize.sh | Shell | mit | 614 |
#! /usr/bin/bash
npm install
npm install -g gulp
gulp commit
| MadaraUchiha/screeps-ai | scripts/deploy.sh | Shell | mit | 62 |
#! /bin/bash
echo 'Run test and benchmark, race detect and test coverage'
go test -v -bench . -benchmem -race -cover ./...
| philchia/zen | test.sh | Shell | mit | 125 |
#!/bin/bash
set -eu -o pipefail
[[ -e Gemfile.lock ]] || touch Gemfile.lock
if [[ $(command -v docker) ]]; then
docker container run \
--name update_lockfile$$ \
--rm \
-u "$(id -u):$(id -g)" \
-v "$PWD/Gemfile":/work/Gemfile:ro \
-v "$PWD/Gemfile.lock":/work/Gemfile.lock \
-w /work \
doc... | shakiyam/bbs | tools/update_lockfile.sh | Shell | mit | 673 |
#! /bin/bash
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# main config
PLUGINSLUG="field-to-fork"
CURRENTDIR=`pwd`
MAINFILE="field-to-fork... | MikeiLL/field-to-fork | deploy.sh | Shell | mit | 3,402 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2616-1
#
# Security announcement date: 2013-02-01 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:29 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - nagios3:3.2.1-2+squeeze1
#
# Last ve... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2013/DSA-2616-1.sh | Shell | mit | 619 |
#!/bin/bash
set -o errexit
set -o errtrace
set -o pipefail
set -o nounset
function error_handler() {
echo "Error occurred in $(basename ${BASH_SOURCE[0]}) executing line ${1} with status code ${2}"
}
trap 'error_handler ${LINENO} $?' ERR
# Diagnostic logging when necessary
if [ "${DEBUG:-}" = "true" ]; then
set... | sstelfox/dotfiles | scripts/auto_tunnel.sh | Shell | mit | 1,332 |
#!/bin/bash
desktopFilesFolder=/usr/share/applications
desktopFilesArray=()
desktopFilesNameArray=()
numberOfDesktopFile=0
echo "Which application icon you want to hide or show?"
for desktopFile in $desktopFilesFolder/*.desktop; do
icon=$(sed --quiet 's/.*\(Icon=\).*/\1/p' $desktopFile)
if [[ $icon == "Icon=" ]]; ... | ploth/Sailfish-OS-Application-Icon-Toggle | sailfishOSApplicationIconToggle.sh | Shell | mit | 1,993 |
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# Gruvbox dark, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
color00="28/28/28" # Base 00 - Black
color01="fb/49/34" # Base 08 - R... | WojciechKo/dotfiles | base16-shell/scripts/base16-gruvbox-dark-medium.sh | Shell | mit | 3,996 |
#!/usr/bin/env bash
#
# Copyright (c) 2015 Henry Bubert
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test object command"
. lib/test-lib.sh
test_init_ipfs
test_patch_create_path() {
root=$1
name=$2
target=$3
test_expect_success "object patch --create works" '
PCOUT=$(ipf... | Luzifer/go-ipfs | test/sharness/t0051-object.sh | Shell | mit | 15,146 |
docker run \
--rm \
-ti \
-v $(pwd):/src \
-p 4000:4000 grahamc/jekyll serve \
-w \
--baseurl /journal \
--force_polling \
-H 0.0.0.0 \
--port 4000 \
--verbose \
--future
| mindbender-studio/journal | serve_docker.sh | Shell | mit | 182 |
#!/bin/bash
for filename in public/comparison/pdfs/*.html; do
pdffilename=${filename/.html/.pdf}
pdffilename=${pdffilename/public/source}
echo "👉 Generating PDF for $filename..."
wkhtmltopdf --margin-left 0 --margin-right 0 --margin-top 0 --zoom 3 $filename $pdffilename
echo "✅ PDF pdffilename generated!... | damianhakert/damianhakert.github.io | comparison_pdfs.sh | Shell | mit | 331 |
## generate entities for all known in bundle
php app/console doctrine:generate:entities EntertainmentRedCarpetBundle
php app/console doctrine:generate:entities EntertainmentGuideToTheStarsBundle
php app/console doctrine:generate:entities EntertainmentArrivalsBundle
## Build the database for all known entities
php ap... | waltertschwe/guide-to-the-stars | rcentities.sh | Shell | mit | 362 |
# (C) 2001-2018 Altera Corporation. All rights reserved.
# Your use of Altera Corporation's design tools, logic functions and
# other software and tools, and its AMPP partner logic functions, and
# any output files any of the foregoing (including device programming
# or simulation files), and any associated documen... | VladisM/MARK_II | VHDL/src/cpu/qip/fp_cmp_lt/fp_cmp_lt_sim/cadence/ncsim_setup.sh | Shell | mit | 9,303 |
#!/bin/bash
set -e
apt-get -qq update
apt-get -qq --yes install python
touch /root/.ansible_bootstrapped | ebargtuo/docker-dev-env | ansible/roles/bootstrap/files/ansible_bootstrap.sh | Shell | mit | 104 |
#!/bin/sh
#
# Copyright (c) 2014 Jeromy Johnson
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test ipfs repo operations"
. lib/test-lib.sh
export IPTB_ROOT="`pwd`/.iptb"
num_nodes=4
ipfsi() {
dir="$1"
shift
IPFS_PATH="$IPTB_ROOT/$dir" ipfs $@
}
test_expect_success "set up an iptb... | moreati/go-ipfs | test/sharness/t0101-iptb-name.sh | Shell | mit | 1,486 |
# Exit if Homebrew is not installed.
[[ ! "$(type -P brew)" ]] && e_error "Brew recipes need Homebrew to install." && return 1
# Homebrew recipes
recipes=(
caskroom/cask/brew-cask
ack
atool
autojump
axel
bash
bash-completion
bup
clib
coreutils
cowsay
ctags
curl
czmq
exiftool
ffmpeg
fi... | thuai/dotfiles | init/21_osx_homebrew_recipes.sh | Shell | mit | 1,719 |
chmod 777 ../CloudRebuild/CloudRebuild1.2
chmod 777 ../FileReplace/FileReplace1.1
chmod 777 ../PerformanceTest/PerformanceTest1.0
chmod 777 ../ResourceFile/ResourceFile1.0
chmod 777 ../MessageTest/MessageTest1.0
chmod 777 ../FindText/FindText1.0
chmod 777 ../Launch/Launch1.0
chmod 777 ../NetServerManager/NetServerManag... | xylsxyls/xueyelingshuang | common/linux/shell.sh | Shell | mit | 962 |
#!/bin/sh
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
| 0x656b694d/hop | build_hop.sh | Shell | mit | 76 |
# /etc/bash.bashrc
# source: https://github.com/olegstepura/config-bashrc
# If not running interactively, don't do anything!
[ -z "$PS1" ] && return
# fortune is a simple program that displays a pseudorandom message
# from a database of quotations at logon and/or logout.
# Type: "pacman -S fortune-mod" to install it,... | olegstepura/config-bashrc | bash.bashrc.local.sh | Shell | mit | 4,780 |
#!/bin/bash
echo "Installing basics..."
sudo dnf update -y
sudo dnf install -y ctags curl git vim wget ncurses-devel sysstat screen ack atop
echo "Copying dotfiles..."
$(dirname $0)/install-dotfiles.sh
git config --global user.email "goldshtn@gmail.com"
git config --global user.name "Sasha Goldshtein"
mkdir -p ~/.v... | goldshtn/dotfiles | install.sh | Shell | mit | 2,334 |
#!/usr/bin/env sh
sudo pkill uv4l | yjlee1001/kpu | Source/Camera/uv4l_setting/uv4l_end.sh | Shell | mit | 38 |
#!/bin/sh
security delete-keychain ios-build.keychain
rm -f "~/Library/MobileDevice/Provising\ Profiles/$PROFILE_NAME.mobileprovision"
| ipatch/KegCop | scripts/travis/remove-key.sh | Shell | mit | 135 |
#!/usr/bin/env bash
#!/bin/bash
#PBS -m ae
#PBS -l walltime=24:00:00
#PBS -V
#PBS -l mem=60gb
#PBS -j oe
#PBS -p 0
cd "$PBS_O_WORKDIR"
echo $h
~/miniconda2/bin/python ./Run.py --shutstd 1 --overdominance $h >> out 2>> out | airanmehr/bio | Scripts/TimeSeriesPaper/RealData/qsubScan.sh | Shell | mit | 226 |
curl -X "POST" "http://localhost:5050/api/" \
-d $'<?xml version="1.0" encoding="utf-8" ?>
<CsRequest>
<ApiAuthKey>a01234567890z</ApiAuthKey>
<ApiRequestType>GetReportsByAddress</ApiRequestType>
<ApiRequestVersion>1</ApiRequestVersion>
<Address>200 E. Santa Clara St., San Jose, CA</Address>
<Radius>10000</Radius>... | codeforsanjose/citysourced-api-simulator | _Test/cURL/GetAddress_10000MetersAroundSJCityHall .sh | Shell | mit | 497 |
#!/bin/bash
#NODE_ENV=development DB_URI="mongodb://localhost/geosense" nodemon --use_strict app.js
NODE_ENV=development DB_URI="mongodb://localhost/geosense" nodemon app.js
| Safecast/GeoSense | scripts/run-node.sh | Shell | mit | 177 |
#!/bin/bash
cat words.txt | tr " " "\n" | grep -v "^\s*$" | sort | uniq -c | sort -r | awk '{print $2 " " $1}'
| BizShuk/code_sandbox | bash/word_count.sh | Shell | mit | 115 |
#!/bin/bash
cp /var/log/kern.log ./mylogs.log
cat mylogs.log | awk '{print $8}' > ./mylogs_clean.log
python inversion_counter.py
#./algo array_input
| sarsanaee/CFS-Monitor | utility/inversion_calculator/inversion_count.bash | Shell | mit | 153 |
#!/bin/bash
export ANDROIDAPI=16
cd ../../dist/gnuradio
./build.py --package org.dl1ksv.dialtone --name Dialtone \
--private ../../gnuradio-examples/dialtone \
--icon ../../gnuradio-examples/dialtone/gnuradio_logo.png \
--minsdk 16 \
--window --version 1.0 debug
| dl1ksv/python-for-android | gnuradio-examples/scripts/build_dialtone.sh | Shell | mit | 289 |
#!/bin/bash
# How to use this script?
#
# It's a template which needs further setup. Duplicate the file,
# remove `.template.` from the filename and set the date you want.
# Optionally, adjust the raycast.title and raycast.icon according to your needs.
# You may need to install coreutils via homebrew to make this scr... | zenjoy/dotfiles | raycast/countdown-to-date.template.sh | Shell | mit | 1,498 |
#!/bin/sh
USER=`whoami`
# Save audio status (per user)
which alsactl && alsactl -f .asound.conf store &
# Stop some services
pkill -TERM -u $USER emacs
| jpablobr/mp | dotfiles/.x-autostop.sh | Shell | mit | 155 |
#!/bin/sh
echo -e "Welcome to Bastion Host" | tee /home/ec2-user/bast.txt
yum update -y
| grosscol/hydra-bones | scripts/aws/bast_usr.sh | Shell | mit | 89 |
#!/bin/bash
set -o errexit
if [ $# -lt 4 ]
then
echo "Usage: $0 <wave file> <structure start time> <structure end time> <output_figure_name>"
exit 1
fi
echo ./pymir3-cl.py tool wav2spectrogram $1 /tmp/$$.spec
./pymir3-cl.py tool wav2spectrogram $1 /tmp/$$.spec
echo ./pymir3-cl.py info any /tmp/$$.spec
./pymir3-c... | pymir3/pymir3 | scripts/structure/euclydean.sh | Shell | mit | 843 |
#!/bin/bash -xue
cabal update
| NicolasT/reedsolomon | ci/travisci/check-sdist/before-install.sh | Shell | mit | 31 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:2019
#
# Security announcement date: 2015-11-10 13:43:57 UTC
# Script generation date: 2017-01-01 21:16:43 UTC
#
# Operating System: Red Hat 6
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libipa_hbac.i686:1.12.4-47.el6_7.4
# - ... | Cyberwatch/cbw-security-fixes | Red_Hat_6/i386/2015/RHSA-2015:2019.sh | Shell | mit | 3,725 |
#!/bin/bash
./server :1908
| txthinking/mail-checker | server/run.sh | Shell | mit | 28 |
#!/bin/bash
# show help if needed
if [[ $# -lt 1 ]]; then
echo "Usage: genkey.sh SECRET_KEY"
exit 1
fi
# generate picryptor_key.swift
echo $1 | awk '{ s = "// this is an auto generated file\n\n \
import Foundation\n \
// for openssl you use: -K "$1" \
let PICryptorSecretKey = Data(bytes: [0x"; for (i=1;i<leng... | KovtunOleg/PICryptor | Scripts/genkey.sh | Shell | mit | 571 |
#!/bin/bash
set -e
rm -rf scraper
make
sudo docker build -t eogren/scraper .
| echalkpad/link_checker | scraper/build_clean.sh | Shell | mit | 77 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3498-1
#
# Security announcement date: 2016-02-28 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:52 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - drupal7:7.14-2+deb7u12
#
# Last versi... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2016/DSA-3498-1.sh | Shell | mit | 712 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2857-1
#
# Security announcement date: 2014-02-08 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:49 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libspring-java:3.0.6.RELEASE-6+deb7... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2014/DSA-2857-1.sh | Shell | mit | 679 |
cd /vagrant/private
thrift --gen erl udp_thrift.thrift
mkdir -p ../include
# make the generated code available for the program:
mv gen-erl/udp_thrift_types.erl ../src/udp_thrift_types.erl
mv gen-erl/udp_thrift_constants.hrl ../include/udp_thrift_constants.hrl
mv gen-erl/udp_thrift_types.hrl ../include/udp_thrift_types.... | radekg/apache-thrift-udp-erlang | .setup/generate-thrift.sh | Shell | mit | 338 |
#!/bin/bash
[ -z $(which ipython) ] || {
cd ..
find tests -type f \( -iname "*.py" -and ! -iname "__*__.py" \) -exec ipython "{}" \;
} | pymber/algorithms | scripts/run-test-suite.sh | Shell | mit | 139 |
#!/usr/bin/env bash
npm install @angular/cli
npm install
npx ng build --prod
#npm run test
#npm run lint
cd dist
zip -r ../dashboard.zip *
| ing-bank/baker | bakery/dashboard/npm-build.sh | Shell | mit | 139 |
# Nginx/PHP-FPM
function installNginx
{
scriptLocation
source conf/basebuntu.conf
if [ "$hasInstallNginxRun" = true ]
then
die "installNginx has already been run, if run again conflicts will be created"
fi
# Create user
adduser $WWWUSER
# PHP-FPM
# https://www.digitalocean.... | marshallford/basebuntu | modules/nginx.sh | Shell | mit | 3,791 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3033-1
#
# Security announcement date: 2014-09-25 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:03 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - nss:2:3.14.5-1+deb7u2
#
# Last versio... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2014/DSA-3033-1.sh | Shell | mit | 607 |
#!/bin/bash
echo -e '>> Initiating install.'
echo -e '>> Checking for Docker install and pulling image.'
if [ $(command -v docker) ]; then
docker pull prinsmike/govide
else
echo -e 'ERROR: Docker is not installed in your path.'
exit 1
fi
echo -e '>> Setting up govide command, will require elevated privileges.'
c... | prinsmike/GoViDE | install.sh | Shell | mit | 672 |
echo tutorial/c -------------------------------------------
cd tutorial/c
. clean.sh
cd ../..
echo tutorial/java -------------------------------------------
cd tutorial/java
. clean.sh
cd ../..
echo tutorial/python -------------------------------------------
cd tutorial/python
. clean.sh
cd ../..
| stryder199/RyarkAssignments | Assignment2/ttt/code_activator/clean.sh | Shell | mit | 300 |
VERSION=0.0.1
ITERATION=1
wget -O dot.shell_integration.bash https://iterm2.com/misc/bash_startup.in
echo "-s file
-t deb
-f
-v $VERSION
--iteration $ITERATION
--license 'Mozilla Public License'
--vendor iTerm2
-m 'Jeff Hubbard <lord2800@gmail.com>'
--url 'https://iterm2.com/shell_integration.html'
--deb-user root
--d... | lord2800/iterm2-package | build-package.sh | Shell | mit | 559 |
#! /bin/bash
function get_gcc_version {
local gcc_version_match='[[:digit:]]\.[[:digit:]]\.[[:digit:]]'
local gcc_version=`$CC --version 2>/dev/null | grep -o "$gcc_version_match" | head -1`
echo $gcc_version | grep -o '[[:digit:]]' | head -1
}
if [ "$SUITE" = "integration" ]; then
echo " --- installing integ... | leeran88/ghost-blog | node_modules/newrelic/bin/travis-setup.sh | Shell | mit | 963 |
#!/bin/bash
set -e
echo "**************** Finishing up the Setup Process ****************"
# Installing vagrant keys
mkdir ~/.ssh
chmod 700 ~/.ssh
cd ~/.ssh
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
chmod 600 ~/.ssh/authorized_keys
chown -R vagr... | medullan/vagrant-ansible-jenkins | provisioners/scripts/setup.sh | Shell | mit | 588 |
#!/bin/bash
# Installs php oAuth
# /////////////////////////////////////////////////////////////////////////////
sudo apt-get install -y libpcre3-dev
sudo pecl install oauth
PHPINI=/etc/php5/fpm/php.ini
PHPINICLI=/etc/php5/cli/php.ini
# Looks for extension=oauth.so in php.ini and adds it if not present
if grep -Fxq ... | madewithlove/vaprobash-scripts | php-oauth.sh | Shell | mit | 739 |
# NOTE! Do not execute this file! We need to add the env variables to the current
# shell, so do 'source apply-heroku-env.sh' or '. apply-heroku-env.sh'
# Apply current Heroku environment to current shell
set -o allexport
source .env
set +o allexport
| MarkProvanP/racetrack | apply-heroku-env.sh | Shell | mit | 253 |
#!/usr/bin/env bash
# fail on error
set -e
# remove babel core
yarn remove @babel/core
# install babel6
yarn add -D babel-cli@^6.26.0 babel-core@^6.26.0 babel-plugin-transform-object-rest-spread@^6.26.0 babel-preset-env@^1.6.1 babel-register@^6.26.0
| michalkvasnicak/babel-plugin-css-modules-transform | install-babel-6.sh | Shell | mit | 253 |
#!/bin/bash
# The MIT License (MIT)
#
# Copyright (c) 2015 Southern Nazarene University Computer Science/Network Engineering Department
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software wi... | snucsne/CSNE-Course-Source-Code | CSNE3673-Net-Admin-I/video-examples/the-shell.sh | Shell | mit | 3,403 |
#!/bin/bash
source `dirname $0`/../common.sh
docker run -v $OUTPUT_DIR:/tmp/output -v $CACHE_DIR:/tmp/cache -e VERSION=2.1.4 -e STACK=cedar-14 hone/ruby-builder:cedar-14
| hone/docker-heroku-ruby-builder | rubies/cedar-14/ruby-2.1.4.sh | Shell | mit | 172 |
#!/bin/sh
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new co... | panosmdma/SlackOnly-SlackBuilds | network/ddclient/doinst.sh | Shell | mit | 909 |
cp ./code_of_conduct.md.template $1/code_of_conduct.md
cp ./CONTRIBUTING.md.template $1/CONTRIBUTING.md
cp ./LICENSE.template $1/LICENSE
cp ./README.md.template $1/README.md
| multunus/git-template | initialize-templates.sh | Shell | mit | 174 |
#!/bin/bash
sudo apt-get update
sudo apt-get install awscli jq python --assume-yes
printf "'${1}'\n'${2}'\n'${3}'\n\n" | /usr/bin/aws configure
git clone git@github.com:kosticlab/aether.git
cd aether
cd bin
sudo chmod +x *.sh;cd ..
./bin/replica_node_init.sh '${4}' '${5}' '${6}' '${7}' '${8}' '${9}' 2> error.log &'
| kosticlab/aether | bin/local.sh | Shell | mit | 318 |
#!/usr/bin/env bash
test_ltemplify() {
cd tests/
cp -r ../examples/file_conversion_examples/convert_LAMMPS_to_LT_examples/cnad-cnt .
# test for basic ltemplify.py functionality
cd cnad-cnt
bash README_step1_run_ltemplify.sh
assertTrue "cnt.lt file not created" "[ -s cnt.lt ]"
assertTrue ... | jewettaij/moltemplate | tests/test_ltemplify.sh | Shell | mit | 8,899 |
#!/bin/sh
echo "Generating root gRPC server protos"
PROTOS="rpc.proto walletunlocker.proto **/*.proto"
# For each of the sub-servers, we then generate their protos, but a restricted
# set as they don't yet require REST proxies, or swagger docs.
for file in $PROTOS; do
DIRECTORY=$(dirname "${file}")
echo "Generat... | LightningNetwork/lnd | lnrpc/gen_protos.sh | Shell | mit | 911 |
#!/bin/bash
exit_code=0
echo "*** Running app component engine specs FOR RAILS 5"
RAILS_5_UPDATE=true bundle exec rake db:create db:migrate
RAILS_5_UPDATE=true RAILS_ENV=test bundle exec rake db:create db:migrate
RAILS_5_UPDATE=true bundle exec rspec spec
exit_code+=$?
exit $exit_code
| shageman/cbra_book_code | c2s11/sportsball/components/app_component/test.sh | Shell | mit | 289 |
#!/usr/bin/env bash
rm -rf public/build public/css public/js build.zip
yarn
npm run prod
git clean -e public -e vendor -e '.env' -e '.idea' -dxf
zip -q -r build.zip . -x ".git/*" -x build.zip -x ".idea/*" -x ".env"
| leo108/php_cas_server | pack.sh | Shell | mit | 216 |
#!/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... | TheMrugraj/MVMaterialToggleButton | Example/Pods/Target Support Files/Pods-MVMaterialToggleButton_Example/Pods-MVMaterialToggleButton_Example-frameworks.sh | Shell | mit | 3,763 |
for topic_folder ($DOTFILES/*) if [ -d $topic_folder ]; then fpath=($topic_folder $fpath); fi;
| scottgc/dotfiles | zsh/fpath.zsh | Shell | mit | 96 |
mvn install
cd nicefish-web
echo mvn spring-boot:run
mvn spring-boot:run
| nicefishcn/nicefish-backend | run.sh | Shell | mit | 74 |
#!/bin/bash
#
# Argon2 source code package
#
# This work is licensed under a Creative Commons CC0 1.0 License/Waiver.
#
# You should have received a copy of the CC0 Public Domain Dedication along with
# this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
#
# Get current dir
initial_dir=$... | khovratovich/Argon2 | Scripts/check_test_vectors.sh | Shell | cc0-1.0 | 2,344 |
#!/usr/bin/env bash
if [ ! -d ../vagov-content ]; then
git clone --single-branch --depth 1 https://github.com/department-of-veterans-affairs/vagov-content.git ../vagov-content
else
echo "Repo vagov-content already cloned."
fi
if [ ! -d ../content-build ]; then
git clone --single-branch --depth 1 https://github.c... | department-of-veterans-affairs/vets-website | script/install-repos.sh | Shell | cc0-1.0 | 1,005 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the ad... | conraid/SlackBuilds | php-imagick/doinst.sh | Shell | gpl-2.0 | 376 |
#!/bin/zsh
# For backwards compatability.
export MINIONPATH="$HOME/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-edthedev-SLASH-minion.git"
export PYTHONPATH=$PYTHONPATH:$MINIONPATH
alias minion="python $MINIONPATH/bin/minion.py"
# Create default config if missing.
if [ ! -f ~/.minion ]; then
minion make... | edthedev/minion | profiles/alias.sh | Shell | gpl-2.0 | 890 |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/ec2-access.log"
# Grab all Security Groups IDs for ALLOW action and export the IDs to a text file
sudo aws ec2 describe-security-groups --filters Name=tag:open-https-time,Values=01-00 Nam... | STARTSPACE/aws-access-to-ec2-by-timetable | https-443/allow-wd/https-allow-wd-01.sh | Shell | gpl-2.0 | 804 |
#!/usr/bin/env bash
#
# Env variables:
# - SMALL_TESTS
# - COVER_ENABLED
# - STOP_NODES (default false)
set -o pipefail
IFS=$'\n\t'
DEFAULT_PRESET=internal_mnesia
PRESET="${PRESET-$DEFAULT_PRESET}"
SMALL_TESTS="${SMALL_TESTS:-true}"
COVER_ENABLED="${COVER_ENABLED:-true}"
while getopts ":p::s::e::c:" opt; do
case $o... | fenek/MongooseIM | tools/travis-test.sh | Shell | gpl-2.0 | 5,705 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.