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 |
|---|---|---|---|---|---|
#!/usr/bin/env sh
sqlite3 mebious.db < models/schema/posts.sql
sqlite3 mebious.db < models/schema/bans.sql
sqlite3 mebious.db < models/schema/api.sql
sqlite3 mebious.db < models/schema/images.sql
sqlite3 mebious.db < models/schema/filters.sql
mkdir -p public/images
| mebio-us/mebio.us | install.sh | Shell | mit | 266 |
#!/usr/bin/env bash
rm -rfv build
mkdir -pv build/content
cp -v content/*.md build/content
mkdir -pv build/content/news
for language in $(grep '^\[languages\..*\]$' config.toml | cut -d '.' -f2 | cut -d ']' -f1)
do
cp -v "content/rsoc.md" "build/content/rsoc.$language.md"
cp -v "content/talks.md" "build/conten... | redox-os/website | hugo.sh | Shell | mit | 517 |
if is_osx ; then
# solution from http://superuser.com/questions/490425/how-do-i-switch-between-java-7-and-java-6-on-os-x-10-8-2
# format:
## setjdk 1.6
## setjdk 1.7
## setjdk 1.8
setjdk() {
if [ $# -ne 0 ]; then
remove_from_path '/System/Library/Frameworks/JavaVM.framework/Home/bin'
if [ -n... | dcapwell/dotfiles | jdk/050-functions.bash | Shell | mit | 811 |
#!/usr/bin/env bash
echo "Setting up .git related symlinks"
ln -sf "$DOT_FILES_ROOT/.gitconfig" ~/.gitconfig
| mtoader/.files | setup/25 git.sh | Shell | mit | 111 |
#/bin/bash
### Volatility semi-automated memory image processing, for Windows images
### bsk for dfirnotes.org, Copyleft MIT License : https://github.com/DFIRnotes/rules/blob/master/LICENSE
### Requirements: SIFT 3 or volatility 2.5.x ; pictures needs PIL and dot available
### Run volatility framework anlaysis plugins ... | DFIRnotes/rules | vol-xp.sh | Shell | mit | 4,853 |
#!/bin/bash
# This script must reside in the "tests" directory of the project
# Make sure the "dice" executable is in the "Compiler" directory
diceExecPath=./dice
testOption=$1 #stores the test flag since functions can't see the $1
vFlag=$2 #stores the -v flag since functions can't see it with $2
pass=0
fail=0
RED='\0... | DavidWatkins/Dice | tests/tester.sh | Shell | mit | 6,480 |
#!/bin/sh
echo "window._env_['ENDPOINT'] = '$ENDPOINT';" >> /usr/share/nginx/html/env-config.js
echo "window._env_['DEPLOY_MESSAGE'] = '$DEPLOY_MESSAGE';" >> /usr/share/nginx/html/env-config.js
exec "$@" | UNECE/Classification-Explorer | entrypoint.sh | Shell | mit | 203 |
#!/bin/bash
read letter
if [[ ("$letter" == "y") || ( "$letter" == "Y" ) ]]; then
echo "YES"
elif [[ ("$letter" == "n") || ( "$letter" == "N" ) ]]; then
echo "NO"
fi
| PaulNoth/hackerrank | practice/linux_shell/bash/getting_started_with_conditionals/getting_started_with_conditionals.sh | Shell | mit | 177 |
#!/bin/bash
DEV=$(ip r get 10.73.20.1|awk '/dev/{ print $3 }')
modprobe lnet
lnetctl lnet configure
lnetctl net add --net tcp0 --if $DEV
lnetctl net show --net tcp > /etc/lnet.conf
systemctl enable lnet.service
| intel-hpdd/intel-manager-for-lustre | vagrant/scripts/configure_lustre_network.sh | Shell | mit | 213 |
#!/bin/sh
echo "*********************************************"
echo "* cloning repository "
echo "*********************************************"
git clone https://github.com/guillep/Scale /tmp/scale
cd /tmp/scale
echo "*********************************************"
echo "* building scale image "
echo "************... | guillep/Scale | setupScaleDev.sh | Shell | mit | 906 |
#!/bin/bash
version=$(cat .release-version)
retry_limit=10
while [ true ]; do
status=$(curl -sI https://trellis.getto.systems/git/post/$version/setup.sh | head -1)
if [ -n "$(echo $status | grep 200)" ]; then
echo $status
exit 0
fi
if [ $retry_limit -gt 0 ]; then
retry_limit=$((retry_limit - 1))... | sanzen-sekai/git-post | scripts/check_version.sh | Shell | mit | 378 |
handlebars notebook.handlebars -f notebook.js
handlebars note.handlebars -f note.js
| rstacruz/springseed | app/views/compile.sh | Shell | mit | 84 |
#!/bin/bash
if [[ ! -d /.provision ]]; then
mkdir /.provision
fi
if [[ -f /tmp/vagrant-shell ]]; then
# VAGRANT ONLY!
#ln -fs /vagrant/conf /tmp/conf
mkdir -p /tmp/conf/
cp -rv /vagrant/conf/* /tmp/conf/
fi
if [[ ! -f /.provision/initial ]]; then
apt-get update >/dev/null
apt-get upgrade >/dev/null
ho... | ZHAW-Context/phpmysql1415 | v01/provision.sh | Shell | mit | 3,402 |
#!/bin/sh
echo_cat() {
echo '-- THIS IS A GENERATED FILE. DO NOT EDIT!'
echo "-- Generated from $1"
cat $1
}
cat << _EOF_
-- THIS IS A GENERATED FILE. DO NOT EDIT!
SET client_min_messages = WARNING;
CREATE SCHEMA cat_snap;
CREATE SCHEMA _cat_snap;
SET search_path = _cat_snap, cat_snap;
_EOF_
echo_cat genera... | decibel/cat_snap | build/cat_snap.sh | Shell | mit | 640 |
#!/usr/bin/env bash
printErr()
{
printf "%s\n" "$*" >&2;
}
stringContains()
{
[ -z "${2##*$1*}" ] && [ -z "$1" -o -n "$2" ]
}
isAbsPath()
{
local path="$1"
local pathStart=${path:0:1}
if [ "$pathStart" = '/' ]; then
return 0
else
return 1
fi
}
diffDb()
{
# NOTE: sqld... | cannadayr/git-sqlite | src/util.sh | Shell | mit | 1,237 |
#!/bin/bash -
#
# Build `elvis` and install it in ~/bin/
#
# Usage ./elvis.sh
# Unoffical Bash "strict mode"
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
#ORIGINAL_IFS=$IFS
IFS=$'\t\n' # Stricter IFS settings
# Variables
BIN_DIR=$HOME/bin/
ELVIS_REPO='https://github.com/inaka/elvis.g... | Stratus3D/dotfiles | scripts/install/elvis.sh | Shell | mit | 800 |
#!/bin/bash
sourcer__build_CONFLICT_EXCEPTION='enable'
sourcer__build_funcvar_exception_categorize(){ return 1; }
source ./config_test_sh/sourcer/base/sourcer.build.source.sh ./config_test_sh/sourcer ./config_test_sh
test_config__vendor_banner_detected(){
assert_true "echo '#<vendor.config:v1.0>' | config__vendor_ba... | WhisperingChaos/config.sh | test/config_test.sh | Shell | mit | 27,167 |
#!/bin/bash
old=$(< lastcount.txt)
new_count=$(curl --user admin:tweetpinna http://127.0.0.1:8080/ajax/get/docs-in-collection 2>&1 | grep -oP ',([0-9]{1,})' | cut -d, -f2)
if [ "$old" == "" ] && [ "$new_count" == "" ]
then
old=0
new_count=0
fi
echo $new_count > lastcount.txt
echo "Old Count: $old"
echo "New Coun... | IngoKl/TweetPinna | restart.sh | Shell | mit | 961 |
#!/bin/bash -e
# Bastion Bootstrapping
# authors: tonynv@amazon.com, sancard@amazon.com, ianhill@amazon.com
# NOTE: This requires GNU getopt. On Mac OS X and FreeBSD you must install GNU getopt and mod the checkos function so that it's supported
# Configuration
PROGRAM='Linux Bastion'
###############################... | froststars/aws-cfn-templates | solutions/QuickstartBastion/scripts/bastion_bootstrap.sh | Shell | mit | 19,455 |
#!/bin/sh
#
# Name: docker_lair.sh
# Auth: Frank Cass
# Date: 20151217
# Desc: Automaitcally install docker and lair on a clean Ubuntu 14.04 64-bit with a single script as root to the /root directory
# May have to run dos2unix on the file before executing if pulled from pastebin
# apt-get install -y dos2unix; dos2un... | routeback/bashscripts | development/docker_lair.sh | Shell | mit | 4,180 |
# === {{CMD}} "func-name" "name-of-spec"
# === {{CMD}} "func-name" "name-of-spec" input output
new-spec-dir () {
local +x FUNC_DIR="$1"; shift
local +x SPEC_NAME="$1"; shift
local +x IFS=$'\n'
for DIR in $(echo "bin/public/$FUNC_DIR"; echo "bin/$FUNC_DIR"; echo "$FUNC_DIR"); do
if [[ -d "$DIR" ]]; th... | da99/sh_specs | bin/public/new-spec-dir/_.sh | Shell | mit | 934 |
#!/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... | Beaconmaker/BMBatteryManager | Example/Pods/Target Support Files/Pods-BMBatteryManager_Tests/Pods-BMBatteryManager_Tests-frameworks.sh | Shell | mit | 3,580 |
#!/bin/bash -ex
set -o pipefail
###################################################################################################
BASE="$(dirname ${BASH_SOURCE[0]})"
###################################################################################################
[[ -z "${CERT_MANAGER_VERSION}" ]] && CERT_MANAG... | katherinealbany/incubator | work/support/cert-manager/install.sh | Shell | mit | 1,003 |
#!/bin/bash
docker build -t webelement/website .
| newPOPE/webelement.sk | docker-build.sh | Shell | mit | 50 |
#!/bin/bash
set -e # exit on error
# replace all imports of instantsearch.js with /cjs
find dist/cjs -type f -exec sed -i.bak 's|instantsearch.js/es|instantsearch.js/cjs|g' {} +
# clean up the .bak files, as the set -i'' can not be enabled on BSD/Mac and Linux with the same syntax
find dist/cjs -name '*.bak' -type f... | algolia/react-instantsearch | scripts/prepare-cjs.sh | Shell | mit | 499 |
#!/bin/bash
#https://docs.openclinica.com/3.1/installation/installation-linux
#colors
bldred='\e[1;31m' # Red
bldgrn='\e[1;32m' # Green
bldylw='\e[1;33m' # Yellow
bldblu='\e[1;34m' # Blue
bldpur='\e[1;35m' # Purple
bldcyn='\e[1;36m' # Cyan
bldwht='\e[1;37m' # White
txtrst='\e[0m'
#dirs
OC_HOME="/usr/local/oc/instal... | storytime/scripts | open_clinica/installer.sh | Shell | mit | 6,442 |
#!/bin/sh
# Get all submodules, get and compile all supported solvers,
# compile tests and run them
SOLVERS="CRYPTOMINISAT LINGELING MINISAT PICOSAT"
CMAKE_SOLVERS="$(for solver in $SOLVERS ; do echo -n " -DUSE_$solver=ON" ; done)"
git submodule update --init --recursive &&
make -C solvers &&
cmake $CMAKE_SOLVERS . &... | sbeyer/commonsat | util/quickstart.sh | Shell | mit | 346 |
#!/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... | dietcoke27/TableVector | Example/Pods/Target Support Files/Pods-TableVector_Example/Pods-TableVector_Example-frameworks.sh | Shell | mit | 3,621 |
# Install PhantomJS
set -e
apt-get -y install libfreetype6 libfreetype6-dev fontconfig
ARCH=`uname -m`
PHANTOMJS_VERSION=1.9.8
PHANTOMJS_TAR_FILE=phantomjs-${PHANTOMJS_VERSION}-linux-${ARCH}.tar.bz2
cp $METEORD_DIR/lib/phantomjs-1.9.8-linux-x86_64.tar.bz2 /usr/local/share/
cd /usr/local/share/
#curl -L -O https://bitb... | meteor-works/meteord | base/scripts/lib/install_phantomjs.sh | Shell | mit | 787 |
#!/bin/sh
# kill (possibly) running servers
killall -9 jackd
## Set the CPU scaling governor to performance
echo -n performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
## Shutdown wifi if its not needed
sudo ifconfig wlan0 down
## Onboard Sound:
# jackd -dalsa -r44100 -p2048 -n3 &
## Focus... | iCorv/vectorSynth-RPi3 | vectorSynth/jack_startup.sh | Shell | mit | 473 |
#!/bin/bash
# Let's see if there's a docker-machine present
DOCKER_MACHINE=$(which docker-machine)
COUCHDB_HOST=localhost
if [ $? -eq 1 ]; then
echo "No docker-machine; assume we're not on OSX";
else
echo "Found docker-machine; assume we're on OSX"
COUCHDB_HOST=$(DEBUG=false docker-machine ip default)
fi
... | dermidgen/honeybadger | honeybadger-container.sh | Shell | mit | 478 |
[[ -d ~/.local/bin ]] && PATH=$PATH:~/.local/bin/
| geekosphere-net/dotfiles | aws/path.zsh | Shell | mit | 51 |
#!/bin/bash
set -o errexit
if [ ${EUID} != 0 ]; then
echo "This setup script is expecting to run as root."
exit 1
fi
# I also need the following to handle CR3 raw files from my camera into
# something darktable can handle.
#
# * https://github.com/dnglab/dnglab.git
#
# cargo build --release
# ## -- mount sd card... | sstelfox/dotfiles | setup-scripts/photography.sh | Shell | mit | 536 |
#!/bin/bash
# ----------------------
# KUDU Deployment Script
# Version: 0.1.11
# ----------------------
echo "*** starting the KUDU depolyment script ***"
# Helpers
# -------
exitWithMessageOnError () {
if [ ! $? -eq 0 ]; then
echo "An error has occurred during web site deployment."
echo $1
exit 1
f... | amazingBastard/ng-appointments | deploy.sh | Shell | mit | 4,166 |
#!/usr/bin/env zsh
#
# Time
#
# Current time
# ------------------------------------------------------------------------------
# Configuration
# ------------------------------------------------------------------------------
GAUDI_TIME_SHOW="${GAUDI_TIME_SHOW=true}"
GAUDI_TIME_PREFIX="${GAUDI_TIME_PREFIX=""}"
GAUDI_TIM... | ahmadassaf/oh-my-zsh | themes/gaudi/segments/time.zsh | Shell | mit | 1,001 |
#!/bin/bash
# Print help on usage.
print_usage () {
echo "usage: $0 -c config | -o output [ options ]"
echo ""
echo "Generate GPG signing keyring for our flatpak/OSTree repository and"
echo "export the generated public and secret keys from the keyring."
echo ""
echo "The possible options are:"
... | klihub/meta-flatpak | scripts/gpg-keygen.sh | Shell | mit | 5,424 |
#!/bin/sh
"${SRCROOT}/Pods/Target Support Files/Pods-ZWIdcardKeyboard_Tests/Pods-ZWIdcardKeyboard_Tests-resources.sh"
| zhenweicui/ZWIdcardKeyboard | Example/DerivedData/ZWIdcardKeyboard/Build/Intermediates/ZWIdcardKeyboard.build/Debug-iphonesimulator/ZWIdcardKeyboard_Tests.build/Script-54DCB88252419330FF200F9E.sh | Shell | mit | 119 |
#!/bin/bash
set -euox pipefail
IFS=$'\n\t'
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Link into brew repos
cat taps.txt | xargs brew tap
# Install brews
brew cask install java
brew install $(cat brews.txt)
# Install casks
brew cask install $(cat ca... | abhayvatsa/bootstrap-osx | bootstrap.sh | Shell | mit | 407 |
#!/bin/bash
set -e
./node_modules/jshint/bin/jshint lib
./node_modules/istanbul/lib/cli.js cover _mocha test/tests/
./node_modules/istanbul/lib/cli.js check-coverage
| spmurrayzzz/sacrosanct | test/run-tests.sh | Shell | mit | 166 |
#!/usr/bin/env bash
#
# Copyright (c) 2008-2019 the Urho3D project.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, co... | PredatorMF/Urho3D | script/cmake_codeblocks.sh | Shell | mit | 1,229 |
#
# Helper script used by run_tests.sh, not intended to be run directly
#
set -eu
run_cmd() {
echo "$WRAPPER $@"
$WRAPPER "$@" > /dev/null
}
run_cmd ./test_checksums
for format in '' '-g' '-z'; do
for ref_impl in '' '-Y' '-Z'; do
run_cmd ./benchmark $format $ref_impl $SMOKEDATA
done
done
for level in 1 3 7 9;... | gharveymn/getmatvar | src/extlib/libdeflate/unix/tools/exec_tests.sh | Shell | mit | 600 |
#!/bin/sh
# If you update this from Windows, using Notepad ++, do the following:
# sudo apt-get -y install dos2unix
# dos2unix <FILE>
# chmod u+x <FILE>
#
clear
echo "
_____ _ _ _ _
| |___ ___ ___| |_ ___ _| | | |_ _ ... | c2theg/srvBuilds | install_nmap-git.sh | Shell | mit | 2,328 |
#!/bin/bash
base=$(pwd)
echo "" > out.html
for i in Sample*;
do j=${i}/trimmomatic_output;
cd $j;
for zipped_fastqc in *.zip;
do unzip -o -qq $zipped_fastqc;
done;
for folder in *fastqc;
do echo "<h2><a href=\"$PWD/${folder}.html\">$folder</h2>" >> $base/out.htm... | fmaguire/scripts | PhD/transcriptomics/fastqc_summary.sh | Shell | mit | 512 |
#!/usr/bin/env bash
tar -C $HOME -c --exclude-vcs -j -v -f "fvwmcfg.tar.bz2" .fvwm/
| Jerry-SDC/fvwmx | scripts/package.sh | Shell | mit | 85 |
#!/bin/bash -x
cargo clean
cargo build --release && cp target/release/riff /usr/local/bin
ls -lh /usr/local/bin/riff
| walles/riff | install.sh | Shell | mit | 118 |
#!/bin/bash
# By Kees C. Bakker / KeesTalksTech
# Checks for the IP and makes it static by adding it to /etc/dcpcd.conf.
# Tested with RPi1/armv6l and RPi3/armv7l.
# Will remove a previous static ip entry.
# Syntax:
# make-my-ip-static.sh - will make the IP of eth0 static.
# make-my-ip-static.sh {apapter} - will mak... | KeesCBakker/pi-config | make-my-ip-static.sh | Shell | mit | 1,860 |
#!/usr/bin/env bash
sudo apt-get update
sudo apt-get install -y wget
#install mongodb
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo ap... | clhernandez/L2_Nodejs | bootstrap.sh | Shell | mit | 450 |
#!/bin/sh
#
# boot2docker-arm.sh - setup a boot2docker image to use binfmt chroots
#
# Author: Eric Van Hensbergen <ericvh@gmail.com>
#
# NOTE: pass location of where qemu-aarch64-static and qemu-arm-static live
# (it should be someplace boot2docker already has mounted like $HOME)
QEMUPATH=${1:-$HOME/bin}
sudo cp -... | arm-dockerfiles/boot2docker-arm | boot2docker-arm.sh | Shell | mit | 944 |
scp *.txt *.h *.cpp img@cq01-img-rdtest-rank008.cq01:~/lvwenxian/bak.from20130117/cbvss
| qsndwr/vsas | object_mining/back.sh | Shell | gpl-2.0 | 88 |
#!/bin/bash
######################################################################
#
# idFORGE Framework - Manage identity manuals in community
# Copyright © 2015 The CentOS Artwork SIG
#
# idFORGE Framework is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public L... | areguera/idforge | Library/Modules/Qatest/Modules/Run/Modules/Update/Modules/Mime/mime.sh | Shell | gpl-2.0 | 1,269 |
#!/bin/bash
memTotal_b=`free -b |grep Mem |awk '{print $2}'`
memFree_b=`free -b |grep Mem |awk '{print $4}'`
memBuffer_b=`free -b |grep Mem |awk '{print $6}'`
memCache_b=`free -b |grep Mem |awk '{print $7}'`
memTotal_m=`free -m |grep Mem |awk '{print $2}'`
memFree_m=`free -m |grep Mem |awk '{print $4}'`
memBuffer_m... | doroodzan/DragonBot | data/cmd.sh | Shell | gpl-2.0 | 1,209 |
# vim: syntax=sh
# For each index i, _GCC[i] _CLOOG[i] _GMP[i] _MPC[i] _MPFR[i] _PPL[i] all are
# a matched set; which means these are a matched set:
# _GCC[0] _CLOOG[0] _GMP[0] _MPC[0] _MPFR[0] _PPL[0]
# _GCC[1] _CLOOG[1] _GMP[1] _MPC[1] _MPFR[1] _PPL[1]
# and so on.
# ***************************... | hellin/WodeOS | xbuildtool/scripts/gcc/gcc-versions.sh | Shell | gpl-2.0 | 3,092 |
# -*-shell-script-*-
#
# wupdate function definition
#
# Shell script to update timing, detector status, data quality, and
# detector log information of Omega Scans.
#
# usage: wupdate eventDirectory
#
# wupdate calls wcontext, which requires the wget, curl, or lynx
# utility.
# Shourov K. Chatterji <shourov@ligo.calt... | bc-veto/bcv | scripts/wupdate.sh | Shell | gpl-2.0 | 1,735 |
sudo umount /mnt/kernel
| yan97ao/GYHD-hurlex | scripts/umount.sh | Shell | gpl-2.0 | 24 |
#!/bin/bash
if [ $# -lt 2 ]; then
echo "Usage: r-path r-source [args ...]" >&2
exit 1
fi
r="$1"
rsrc="$2"
shift 2
if [ -z `which "$r" 2> /dev/null` ]; then
echo "Unknown R: $r $@" >&2
exit 1
fi
cmd="$r --slave -f $rsrc --args $@"
echo "$cmd" >&2
eval "$cmd"
| losvald/benchmarks-game | scripts/run-r.sh | Shell | gpl-2.0 | 278 |
#!/bin/bash
#
###########################################################
# copie_clepub_italc.sh
# Ce script est à lancer sur les clients italc
# Il recupère la clé publique "teacher" du poste "maitre" italc
# 20151207
##########################################################
DATE1=$(date +%F+%0kh%0M)
#Couleurs
ROUG... | jcmousse/clinux | archives/copie_clepub_italc.sh | Shell | gpl-2.0 | 2,832 |
### This file defines a bash to golang bridge. This allows us to integrate with bash yet write out the implementation of complex functions in golang. For example: string manipulation could be done better with golang than bash which has to rely on hacks and regexes.
| Kshitiz-Sharma/BashFramework | scripts/framework/bridge.sh | Shell | gpl-2.0 | 266 |
#!/bin/bash
# Boeffla Kernel Universal Build Script
#
# Version 1.2, 26.08.2015
#
# (C) Lord Boeffla (aka andip71)
#######################################
# Parameters to be configured manually
#######################################
BOEFFLA_VERSION="4.0.3.0-elite-testing-OC_2.0GHz-CM12.1-i9300-selfmade"
EXTENDED_CM... | Oebbler/elite-boeffla-kernel-cm12.1-i9300 | bbuild.sh | Shell | gpl-2.0 | 19,960 |
# (c) 2014-2015 Sam Nazarko
# email@samnazarko.co.uk
#!/bin/bash
. ../common.sh
pull_source "https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz" "$(pwd)/src"
if [ $? != 0 ]; then echo -e "Error downloading" && exit 1; fi
# Build in native environment
build_in_env "${1}" $(pwd) "rapidjson-osmc"
build_return=... | srmo/osmc | package/rapidjson-osmc/build.sh | Shell | gpl-2.0 | 1,245 |
#!/bin/bash
#
# Test the header code
#
source $REG_DIR/scaffold
cmd setup_repo
function fixup_time_info
{
touch -a -m -t "$TOUCH_DATE" ".git/patches/master/$1"
}
shouldfail guilt-header
cmd guilt-push -a
cmd guilt-new -s -m "blah blah blah" patch-with-some-desc
cmd guilt-pop
fixup_time_info patch-with-some-desc
... | trygvis/guilt | regression/t-028.sh | Shell | gpl-2.0 | 512 |
#!/bin/bash
#
# Example shell script to run post-provisioning.
#
# This script configures the default Apache Solr search core to use one of the
# Drupal Solr module's configurations. This shell script presumes you have
# `solr` in the `installed_extras`, and is currently set up for the D8 versions
# of Search API Solr.... | acquia/bolt | scripts/drupal-vm/configure-solr.sh | Shell | gpl-2.0 | 1,527 |
#!/bin/bash
./waf --run "scratch/dus-line-net --size=5 --time=500 --ns3::dus::RoutingProtocol::TIME_STATS=true --ns3::dus::RoutingProtocol::timeSlotDuration=250ms --ns3::dus::RoutingProtocol::controlInfoExchangeTime=50ms" > output.txt
| srager13/ns3_qoi_symptotics | run_line_net_sims_with_time_stats.sh | Shell | gpl-2.0 | 236 |
#!/bin/bash
#
# (C)2011 Red Hat, Inc., Lukas Czerner <lczerner@redhat.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later vers... | dinhxuanvu/ssm | tests/bashtests/005-lvm-snapshot.sh | Shell | gpl-2.0 | 6,216 |
#!/bin/sh
path=$1
ln -s $path/web /var/www/PS3NetSrv
exit 0
| vansatchen/dlink327 | releases/sources/PS3NetSrv/init.sh | Shell | gpl-2.0 | 63 |
#!/bin/bash
set -x
trap exit SIGINT SIGABRT
ROOT=${MDD_ROOT:-/data/sanDiego/rsfcGraphAnalysis}
MDD_STANDARD=$ROOT/standard
mkdir ../data/seeds/Juelich
cd ../data/seeds/Juelich
3dcalc \
-a $FSLDIR/data/atlases/Juelich/Juelich-maxprob-thr50-1mm.nii.gz \
-expr "a*or(equals(a, 8), equals(a, 10), equals(a, 9)... | colmconn/rsfcGraphAnalysis | makeJuelichAmagdalaeRois.sh | Shell | gpl-2.0 | 2,582 |
#!/bin/bash
export TARGET_CFLAGS="$CFLAGS -O2 -march=armv7-a -mtune=cortex-a9"
export TARGET_CXXFLAGS="$CXXFLAGS -O2 -march=armv7-a -mtune=cortex-a9 -frtti"
PREFIX="/home/mustaavalkosta/pizzabean/prebuilts/gcc/linux-x86/arm"
GCC_VERSION_NUMBER="4.8"
GCC_VERSION="4.8"
BINUTILS_VERSION="2.23.2"
GMP_VERSION="5.1.2"
MPFR_V... | cyandream-exp/toolchain_build | build-toolchains.sh | Shell | gpl-2.0 | 2,542 |
#!/bin/bash
# Safety feature: exit script if error is returned, or if variables not set.
# Exit if a pipeline results in an error.
set -ue
set -o pipefail
#######################################################################
#
## Automatic EBS Volume Snapshot Creation & Clean-Up Script
#
# Originally written by Star... | STARTSPACE/aws-ebs-snapshot-with-tags-by-timetable | days-07/wd/days-07-wd-23.sh | Shell | gpl-2.0 | 4,894 |
PATH=/usr/ccs/bin:/usr/ucb/bin:/usr/bin:/usr/local/bin
export PATH
LOADEDMODULES=t006-1:t009-1:t010-1
export LOADEDMODULES
../cmod sh unload t015-1
| yuhangwang/CMod | src/source/cmod-1.1/testsuite/t027.sh | Shell | gpl-2.0 | 148 |
#!/bin/sh
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# wdb - weather and water data storage
#
# Copyright (C) 2007-2010 met.no
#
# Contact information:
# Norwegian Meteorological Institute
# Box 43 Blindern
# 0313 OSLO
# NORWAY
# E-mail: wdb@met.no
#
# This is free software; you c... | metno/wdb | src/database/wdbUpgrade0001.in.sh | Shell | gpl-2.0 | 981 |
#!/bin/bash
if [ -z "$1" ] ; then
echo use "$0 <id> <offset> <max> <order>"
exit
fi
SOURCE=$(readlink $BASH_SOURCE)
if [[ -z "$SOURCE" ]] ; then
SOURCE=$BASH_SOURCE
fi
source $(dirname ${SOURCE[0]})/creds.sh
source $(dirname ${SOURCE[0]})/functions.sh
offset=$2
max=$3
order=$4
target=$(getUrl group/$1/e... | npo-poms/scripts | bash/episodes.sh | Shell | gpl-2.0 | 672 |
#!/bin/sh
# "update-expect-hacchpsimscm.sh"
# convenient maintainer script for updating expected outputs
args=`getopt "s:" $*`
if test $? != 0
then
echo "Usage: $0 [ -s srcdir ] [files...]"
exit 2
fi
set -- $args
# assumed source directory
srcdir=.
for i
do
case "$i"
in
-s) srcdir="$2" shift; shift;;
--) shif... | fangism/hackt | test/update-expect-hacchpsimscm.sh | Shell | gpl-2.0 | 711 |
#!/bin/bash
is_mpath() {
local _dev=$1
[ -e /sys/dev/block/$_dev/dm/uuid ] || return 1
[[ $(cat /sys/dev/block/$_dev/dm/uuid) =~ mpath- ]] && return 0
return 1
}
# called by dracut
check() {
local _rootdev
# if there's no multipath binary, no go.
require_binaries multipath || return 1
... | lsiudut/dracut | modules.d/90multipath/module-setup.sh | Shell | gpl-2.0 | 2,509 |
#################################################################
# #
# Copyright 2001 Sanchez Computer Associates, Inc. #
# #
# This source code contains the intellectual property #
# of its copyright holder(s), and is made available #
# under a license. If you do not know the terms of #
# the license, ... | h4ck3rm1k3/FIS-GT.M | sr_unix/lowerc_cp.sh | Shell | gpl-2.0 | 718 |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/automation-instances.log"
# Grab all Instance IDs for REBOOT action and export the IDs to a text file
sudo aws ec2 describe-instances --filters Name=tag:reboot-time,Values=07-00 Name=tag:... | STARTSPACE/aws-ec2-start-stop-reboot-by-timetable | reboot/ad/reboot-ad-07.sh | Shell | gpl-2.0 | 785 |
#!/bin/bash
. $RADIVSCRIPTS/funcs/functions_radivity.sh
. $RADIVSCRIPTS/funcs/functions_mod.sh
. $RADIVSCRIPTS/funcs/functions_shadow.sh
runtime_initial=$(date +"%s")
path_to_module=$PWD"/modules/shadow"
root_path=$PWD
lib_path=$HOME/bin/radivity/lib
logfile=$1
fullusername=$2
epw_climate_file=$3
time_run=$(echo... | wolfris/radivity | radivity/scripts/shadow.sh | Shell | gpl-2.0 | 6,456 |
#!/bin/sh
# install.sh -- Install script for computer-stats
# Copyright (C) 2016 SilverNexus
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
#... | SilverNexus/computer-stats | install.sh | Shell | gpl-2.0 | 1,576 |
#!/bin/bash
#
# Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
# Copyright (C) 2019-2020 Michael Jeanson <mjeanson@efficios.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free S... | PSRCode/lttng-ci-1 | scripts/librseq/build.sh | Shell | gpl-2.0 | 6,877 |
#!/bin/sh
SUDO=sudo
BUILD_BINUTILS=true
BUILD_GCC=true
BUILD_CPP=true
if [ -f /proc/cpuinfo ]; then
cpus=`cat /proc/cpuinfo | grep '^processor[[:space:]]*:' | wc -l`
else
cpus=1
fi
MAKE_ARGS="-j$cpus"
usage() {
echo "Usage: $1 (i586|x86_64|eco32|mmix) [--rebuild]" >&2
exit
}
if [ $# -ne 1 ] && [ $# -ne 2 ]; the... | Nils-TUD/Escape | cross/build.sh | Shell | gpl-2.0 | 6,739 |
#!/bin/bash
DATE=`date +"%Y%m%d%H%M%S"`
touch "migrations/${DATE}_${1}.up.sql"
touch "migrations/${DATE}_${1}.down.sql"
| edpaget/strategoi | create_migration.sh | Shell | gpl-2.0 | 120 |
## Script para analizar a frecuencia de aparición dalgúns valores paisaxísticos por unidade de paisaxe
## Eduardo Corbelle, 24 de novembro de 2015
g.mapset -c Valores
## Establecemos o acceso a mapset do mapa de unidades
g.mapsets UdsPaisaxe,GAP
## Establecemos a rexión de cálculo
g.region rast=TiposPaisaxeA
## Imp... | eduardocorbelle/tipos-paisaxe | Scripts/Script7.sh | Shell | gpl-2.0 | 2,964 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=Arduino-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/arduino-... | efDidymos/LightweightCryptography | BlockCiphers/Aes256-sha256/nbproject/Package-Debug.bash | Shell | gpl-3.0 | 1,479 |
#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for i in `find UP_Plus_CZ ! -wholename "*/resource*" ! -wholename "*/materials*" ! -wholename "*/models*"`; do
if [ -d "$i" ]
then
echo "directory : ${i//UP_Plus_CZ/UP_Plus_CZ_1250}"
mkdir "${i//UP_Plus_CZ/UP_Plus_CZ_1250}" 2>/dev/null
else
echo "file : $... | soulcharmer/gog_bloodlines_cz | UP+1250_dump.sh | Shell | gpl-3.0 | 408 |
# to be sourced
# Parentrol: parental control
# Copyright (C) 2013-2016 Cyril Adrian <cyril.adrian@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, ... | cadrian/parentrol | src/tools/_common.sh | Shell | gpl-3.0 | 11,632 |
#!/bin/bash
# Read a composer.json file, parse the dependencies and create correct symlinks in the current project folder
# Obviously, this file needs to be run from a Joomla! project root directory. There MUST be a composer.json file.
# See https://github.com/derjoachim/moyo-git-tools for the most recent version
# V... | derjoachim/moyo-git-tools | jsymlinker.sh | Shell | gpl-3.0 | 11,055 |
#!/bin/bash
sleep 5
qjackctl -s &
cd /home/self/Projects/self_dot/
now=$(date +"%Y_%m_%d_%H_%M_%S")
python -u self_dot.py &> "OUTPUT_$now" &
sleep 10
python communication.py calibrateAudio
sleep 10
python communication.py display2 1
python communication.py fullscreen 1
python communication.py memoryRe... | axeltidemann/self_dot | startup.sh | Shell | gpl-3.0 | 579 |
###########################################################################################
############# waLBerla Bash shortcuts ############################
###########################################################################################
#
# This script sets up your local environme... | lssfau/walberla | utilities/bashhelper/source_me.sh | Shell | gpl-3.0 | 3,461 |
#!/bin/bash
fq1=$1
fq2=$2
ref=$3
gtf=$4
star --runThreadN 8 --genomeDir $ref --genomeLoad NoSharedMemory --readFilesIn $fq1 $fq2 --outFileNamePrefix tmp --outSAMtype BAM Unsorted --outSAMstrandField intronMotif --outSAMattributes NH HI NM MD AS XS --outSAMunmapped Within --outFilterMultimapNmax 10 --sjdbOve... | TravisCG/SI_scripts | rnaseqproto.sh | Shell | gpl-3.0 | 528 |
#! /bin/bash
ocamlbuild -use-ocamlfind main.native
cp main.native ~/bin/getmed
| rand00/getmed | install.sh | Shell | gpl-3.0 | 81 |
#!/bin/bash
# Sets up a debug and a release build outside of the source code with the paths
# that are needed on QBiG. The debug build will automatically set the `-g` flag
# for debugging, the release version will be performance and has `-O2 -DNDEBUG`
# set.
set -e
set -u
set -x
module load Architecture/KNL
module l... | maowerner/sLapH-contractions | utility/make-jurecabooster-build.sh | Shell | gpl-3.0 | 1,044 |
#!/bin/bash
echo "Exporting graph to CSV"
psql -A -F " " -t > /tmp/graph_zh.edges <<EOF
SELECT
zh_gid + (SELECT max(grid_gid) FROM aux.zh_grid_500m_rel),
grid_gid
FROM aux.zh_grid_500m_rel
EOF
echo "Extracting subgraphs"
./subgraphs.py /tmp/graph_zh.edges
echo "Computing cell metrics"
psql <<EOF
DROP TA... | mapkiwiz/ocs | SQL/indicateurs/eco_paysage/conn_v2/conn_zh.sh | Shell | gpl-3.0 | 826 |
makefilesToRun='
src/btstack/ios-armv7.mk
src/libogg/ios-armv7.mk
src/tremor/ios-armv7.mk
src/libsndfile/ios-armv7.mk
src/xz/ios-armv7.mk
src/libarchive/ios-armv7.mk
src/boost/ios-armv7.mk
'
source runMakefiles.sh
runMakefiles $@
| DarkCaster/emu-ex-plus-alpha | imagine/bundle/all/makeAll-ios-armv7.sh | Shell | gpl-3.0 | 251 |
#!/bin/sh
if [ $# -ne 1 ]; then
echo 1>&2 Usage: $0 location
exit -1
fi
# This will create a new key store in the given location and generate a new
# symmetric signing key. This expects Keyczar and GSON to be on the classpath
if [ ! -f $1/meta ]
then
java KeyczarTool create --location=$1 --purpose=crypt
fi
java... | 241180/Oryx | oryx-crypt/scripts/hmac-keygen.sh | Shell | gpl-3.0 | 370 |
#!/bin/bash
python RunBootstrap.py --paralog1 YLR406C --paralog2 YDL075W --bootnum 46 > YLR406C_YDL075W_Boot46_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YLR406C_YDL075W_Boot46.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | jason-callaway/stig-fix | cat3/gen003523.sh | Shell | gpl-3.0 | 3,009 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YER131W --paralog2 YGL189C --simnum 63 > YER131W_YGL189C_MG94_nonclock_Sim63_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YER131W_YGL189C_sim63.sh | Shell | gpl-3.0 | 145 |
# ------------------------------------
# Menu Manager 1.0
# ------------------------------------
VISIBLE="X"
HIDDEN=" "
StartMenuManagerLoadFile()
{
StartMenuManagerLoad $(cat /eTablet/etc/launcher/Config.xml | sed -n -e '/[<-]Ap /p' | sed 's/.*</</g' | sed 's/ /#/g' | sed 's/<!--/<--/g')
}
StartMenuManagerShowPage(... | Hiperblade/HyperNote | HyperNote/HyperNoteMenuManager.sh | Shell | gpl-3.0 | 7,164 |
#!/bin/bash
TOMCAT_VERSION='8.0.22'
# Install prerequisites
#yum install -y wget tar sudo
# Install java 8
cd /opt/
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u... | mjstealey/appstack-setup-tomcat | scripts/setup-tomcat.sh | Shell | gpl-3.0 | 1,835 |
#!/bin/bash
ACV="2.86"
ARC=".tar.bz2"
APN="Sysvinit"
export ACV ARC APN
ACB=$APN-$ACV
export ACB
#
# Sysvinit-2.86
#
##########################################
cd $LSB
$TC $LSR/$ACB$ARC
cd $ACB
sed -i 's@Sending processes@& configured via /etc/inittab@g' \
src/init.c
make -C src
make -C src install
cat > /etc/initt... | buswellj/code | linux-os-build-old/p3-scripts/scripts/Sysvinit-2.86_p3.sh | Shell | gpl-3.0 | 972 |
#!/bin/bash
#
# Author: Jochen Schäfer <jschaef@novell.com>, 2001-2012
#
# copyright (c) Novell Deutschland GmbH, 2012. All rights reserved.
# GNU Public License
#
# customer_lib.sh 16 Nov 2012
############################################################################
###############################################... | jschaef/ncif | autoyast/lib/customer/customer_lib.sh | Shell | gpl-3.0 | 575 |
#!/usr/local/bin/bash
# $1 - Docset dir name. E.g. "GNU_Emacs"
# $2 - Doc id. E.g. "emacs"
# $3 - Doc family ID. Optionally, default to $2 doc_id.
mkdir -p $1.docset/Contents/Resources/Documents/
name=`echo $1 | tr _ ' '`
id=$2
if [ "Z$3" == "Z" ]
then
echo doc family not supplied
family=$2
else
family=$3... | pekingduck/dash-tools | docset_init.sh | Shell | gpl-3.0 | 857 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.