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
usage()
{
cat << EOF
usage: $0 [-c] <column index> [-i] <input file location> [-o] <output type> [-s] <separator>
This script converts csv to language files.
OPTIONS:
-i Input file location (tab separated csv), default: lang.csv
-o Output file type (json, php, android, ios)
-c Co... | Paldom/BashLang | lang.sh | Shell | mit | 1,496 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2017:0083
#
# Security announcement date: 2017-01-17 19:18:53 UTC
# Script generation date: 2017-01-19 21:27:38 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - qemu-img.x86_64:1.5.3-126.el7_3.3
# -... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2017/RHSA-2017:0083.sh | Shell | mit | 1,174 |
#!/usr/bin/env bash
case $USER in
rich | barbara)
echo "Welcome $USER";;
testing)
echo "Hello.";;
jessica)
echo "Do not forget to logout when you are done.";;
*)
echo "Sorry, you're not allowed here.";;
esac
| v0lkan/learning-bash | case.sh | Shell | mit | 225 |
#!/bin/bash
function abort(){
echo "An error occurred. Exiting..." 1>&2
exit 1
}
trap 'abort' 0
set -e
if [ ${USE_UBUNTU_MIRROR} == "ON" ]; then
sed -i 's#http://archive\.ubuntu\.com/ubuntu/#mirror://mirrors\.ubuntu\.com/mirrors\.txt#g'\
/etc/apt/sources.list
fi
apt-get update
apt-get install -y cma... | louishp/dockerfiles | paddle/build.sh | Shell | mit | 1,561 |
#! /bin/sh
here=`pwd`
if test $? -ne 0; then exit 2; fi
tmp=/tmp/$$
mkdir $tmp
if test $? -ne 0; then exit 2; fi
cd $tmp
if test $? -ne 0; then exit 2; fi
fail()
{
echo "FAILED" 1>&2
cd $here
chmod -R u+w $tmp
rm -rf $tmp
exit 1
}
pass()
{
echo "PASSED" 1>&2
cd $here
chmod -R u+w $tmp... | highperformancecoder/ecolab | test/00/t0037a.sh | Shell | mit | 765 |
#!/bin/bash
METAFILE="main.yaml"
VERSION=`cat version`
PROJECT="$1"
if [ -z "$1" ]
then
PROJECT="allgames"
fi
# Make release build of selected project
ROOTDIR="/cygdrive/c/Work/mobisvg"
CWD=$(pwd)
# 1. scaffold the app
./scaffold.sh $METAFILE $PROJECT "$ROOTDIR/tools/build/config/$PROJECT"
# 2. generate and ... | mykkro/mobisvg | tools/build/build-android-debug.sh | Shell | mit | 545 |
#!/bin/bash
parse_csv() {
line="${1}"
length="${#line}"
position=0
if [ $length = 0 ]; then
return
fi
token=""
quoted=0
while [ $position -lt $length ]; do
current="${line:$position:1}"
case "${current}" in
\")
if [ $quoted = 0 ]; then
quoted=1
else
quoted=0
fi
prev_pos=$((... | Sitwon/bash_patterns | csv.sh | Shell | mit | 814 |
sudo /usr/local/sbin/rabbitmq-server
| MrTomWhite/literal-dj-sona | py/start-mq.sh | Shell | mit | 37 |
#!/bin/sh
#gateway=`netstat -r | grep ^default | awk '{print $2}'`;
#gateway=`$(perl mygateway.pl)`;
gateway=`netstat -rn | awk '/default/ {print $2}'`;
echo "Gateway:" $gateway
mask=`echo $gateway | cut -d"." -f1-3`
echo "Mask:" $mask
echo "Exclude 1?"
read user1
echo "Exclude 2?"
read user2
echo "Exclude 3?"
read ... | dam3369/my-dark | jailbomb.sh | Shell | mit | 833 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2008:0988
#
# Security announcement date: 2008-11-17 16:34:35 UTC
# Script generation date: 2016-05-12 18:09:26 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libxml2.x86_64:2.5.10-14
# - libxml2-... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2008/RHSA-2008:0988.sh | Shell | mit | 3,034 |
#!/usr/bin/env bash
# Shows ps output for chromedriver.
ps -aux | grep chromedriver
| Dzenly/tia | show-driver-ps-out.sh | Shell | mit | 86 |
SMLT_DIR=../../
export LD_LIBRARY_PATH=${SMLT_DIR}:$LD_LIBRARY_PATH
gcc -O0 -std=c99 -D_GNU_SOURCE -L${SMLT_DIR} -I${SMLT_DIR}/inc -I${SMLT_DIR}/inc/backends/ -I. -o barbench barrier.c mcs.c -lpthread -lnuma -lsmltrt -lm
gcc -O0 -std=c99 -D_GNU_SOURCE -DTHROUGHPUT -L${SMLT_DIR} -I${SMLT_DIR}/inc -I${SMLT_DIR}/inc/back... | libsmelt/libsmelt | bench/diss_bar/compile.sh | Shell | mit | 399 |
#!/bin/sh
# fonts
# export XDG_DATA_HOME=$SNAP/usr/share
export FONTCONFIG_PATH=$SNAP/etc/fonts/config.d
export FONTCONFIG_FILE=$SNAP/etc/fonts/fonts.conf
# cd $SNAP_USER_DATA
exec $SNAP/usr/bin/somafm-qt
| josefbehr/somafm-qt | wrapper.sh | Shell | mit | 208 |
#!/bin/sh
# Copyright © 2012 Bart Massey
# [This program is licensed under the "MIT License"]
# Please see the file COPYING in the source
# distribution of this software for license terms.
TMP="/tmp/i7gh-release.$$"
trap "rm -rf $TMP" 0 1 2 3 15
cp -a *.materials/Release $TMP
[ -d *.materials/Figures ] && cp -a *.mater... | BartMassey/i7gh-release | i7gh-release.sh | Shell | mit | 620 |
GIT=https://gitlab.redox-os.org/redox-os/audiod.git
| redox-os/cookbook | recipes/audiod/recipe.sh | Shell | mit | 52 |
# MONO_GC_PARAMS=soft-heap-limit=256m,bridge-implementation=new,nursery-size=16m,major=marksweep-fixed
# MONO_GC_PARAMS=nursery-size=16m
# MONO_GC_PARAMS=soft-heap-limit=256m
# MONO_GC_PARAMS=evacuation-threshold=90
MONO_GC_PARAMS=bridge-implementation=tarjan
# GC_DONT_GC=1 | MineLib/MineLib.Android | android-environment.sh | Shell | mit | 278 |
#!/usr/bin/env bash
function SuggestBinary() {
command -v $1 --help &>/dev/null || echo "WARN: $1 is missing from the system, you should install it for better bashrc integration"
}
SuggestBinary "colordiff"
SuggestBinary "ack"
SuggestBinary "nvim"
SuggestBinary "astyle"
SuggestBinary "json-diff"
SuggestBinary "np... | orland0m/bashrc | opt/installer.help/suggest_bashrc_binaries.sh | Shell | mit | 323 |
#!/usr/bin/env bash
set -euf -o pipefail
apt-get install -y \
build-essential python-software-properties \
software-properties-common apt-transport-https \
ca-certificates
apt-get install -y htop jq awscli curl wget git
| posquit0/packer-templates | scripts/install-common-tools.sh | Shell | mit | 229 |
#!/bin/bash
for i in `ls -v stack_testcases/input*.txt`; do
echo $i;
./stack < "$i" | md5sum;
done
| khushhallchandra/EE717 | assignment3/runStack.sh | Shell | mit | 109 |
echo "Restart postgresql"
sudo service postgresql restart
echo "Create praxisds user"
psql -c "drop role if exists praxisds"
psql -c "create role praxisds password 'praxisds' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN"
echo "Create acme database and load data"
psql -c 'drop database if exists acme --owner praxisds'
... | christophergutierrez/vagrant_shiny_dashboard | vagrant_init/create_acme.sh | Shell | mit | 830 |
#
# utilities
#
#brew 'ansible'
#brew 'ag'
#brew 'cdrtools'
#brew 'ctags'
brew 'imagemagick'
brew 'jpeg'
#brew 'lnav'
#brew 'pcre'
#brew 'reattach-to-user-namespace'
brew 'terminal-notifier'
#brew 'tmux'
#brew 'tree'
#brew 'watch'
#brew 'wget'
# irc / instant message
#brew 'bitlbee'
#brew 'znc'
| jimmynotjim/brew-it | formulas/10_utilities.bash | Shell | mit | 298 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3367-1
#
# Security announcement date: 2015-09-24 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:34 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - wireshark:1.12.1+g01b65bf-4+deb8u3
#
... | Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/i386/2015/DSA-3367-1.sh | Shell | mit | 810 |
#!/bin/bash
# Exit on first error
set -e
# Install prerequisites
sudo apt-get install gperf bison flex texinfo
# Create a temp dir
install -d ./tmp && cd tmp
# Get the crosstool-ng tarball
VERSION=1.20.0
wget http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-${VERSION}.tar.bz2
tar xjf crosstool-ng-${VERSION}.t... | kaizouman/bakingpi | get-crosstool-ng.sh | Shell | mit | 483 |
#!/bin/sh
here="`dirname \"$0\"`"
echo "cd-ing to $here"
open "$here"/gui/index.html
java -jar "$here"/server/server.jar
| Christoph/tagrefinery-releases | TagRefinery/start_all.command | Shell | mit | 122 |
#!/bin/sh
set -e
set -u
zocker create -n srcbuild scratch
cd /usr/src
jail_path=`zocker inspect srcbuild path`
make -j4 buildworld
make installworld distribution DESTDIR="${jail_path}/z/"
zocker commit srcbuild `freebsd-version`
zocker rm srcbuild
| toddnni/zocker | examples/src.sh | Shell | mit | 253 |
#!/usr/bin/env bash
if ! test -d dist; then
echo "Welcome to Wix Style React!"
echo ""
echo "allow me to build project and prepare storybook for first run..."
echo ""
npm run build
fi
exit 0
| wix/wix-style-react | packages/wix-style-react/scripts/ensure-dist.sh | Shell | mit | 204 |
#!/usr/bin/env bash
# Get path to script folder
DIR="$( cd "$( dirname "$0" )" && pwd )"
# Fix path in case of symlinks
DIR=$(cd "$DIR" && pwd -P)
# Check for .dots file and add symlink
dotfiles="$HOME/.dots"
if [ -L $dotfiles ]; then
echo "Removing existing dotfiles symlink."
rm $dotfiles
fi
if [ -d $dotfile... | smt/dots | install.sh | Shell | mit | 1,375 |
#!/usr/bin/env bash
# Exit immediately on non-zero return codes.
set -e
# Run start command if only options given.
if [ "${1:0:1}" = '-' ]; then
set -- dst-server start "$@"
fi
# Run boot scripts before starting the server.
if [ "$1" = 'dst-server' ]; then
# Prepare the shard directory.
mkdir -p $CLUSTER_PATH/$S... | BraisGabin/dst-server | build/docker-entrypoint.sh | Shell | mit | 500 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
export DOTFILES_PATH=$HOME/perso/dotfiles
export PATH=$DOTFILES_PATH/bin:$PATH
link_file () {
echo "linking $1 to $2"
local src=$1 dst=$2
local overwrite= backup= skip=
local action=
if [ -f "$dst" -o -d "$dst" -o -L "$dst" ]
then
if [ "$overwrite_all" ... | jhchabran/dotfiles | update_symlinks.sh | Shell | mit | 2,125 |
porta=63001
./servidor 1 10 localhost &
sleep 1
./servidor 2 10 localhost &
sleep 1
./servidor 3 10 localhost &
sleep 3
./servidor 4 10 localhost &
sleep 3
./servidor 5 10 localhost &
sleep 3
./servidor 6 10 localhost &
sleep 3
./servidor 7 10 localhost &
sleep 3
./servidor 8 10 localhost &
sleep 3
./servidor 9 10 loc... | cassiopagnoncelli/networks-utils | request-procedure-call/test10m.sh | Shell | mit | 436 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-142-1
#
# Security announcement date: 2015-01-29 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:51 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - privoxy:3.0.16-1+deb6u1
#
# Last ve... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2015/DLA-142-1.sh | Shell | mit | 657 |
docker run -ti --name=devcon \
-v $(pwd):/home/elixir/src/ \
-v ~/.hex/:/home/elixir/.hex/ \
-v ~/.npm/:/home/elixir/.npm/ \
-v ~/.mix/:/home/elixir/.mix/ \
-p 4000:4000 koenighotze/elixir /bin/bash
| koenighotze/talks-elixir-intro | run_docker.sh | Shell | mit | 199 |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
GEM_PATH="${DIR}/darwin_ruby/lib/ruby/gems/2.1.0/:${DIR}/darwin_ruby/lib/ruby/2.1.0/:${DIR}/darwin_ruby/bin/:${DIR}/darwin_ruby/lib/ruby/2.1.0/x86_64-darwin14.0/"
GEM_HOME="${DIR}/darwin_ruby/lib/ruby/gems/2.1.0/"
"${DIR}/darwin_ruby/bin/erb" "$@"
| olevole/ruby_ship | bin/shipyard/darwin_erb.sh | Shell | mit | 304 |
#!/usr/bin/env bash
set -eu
REPO_DIR=$(git rev-parse --show-toplevel)
docker \
run -it \
-v `pwd`:`pwd` \
-w `pwd` \
wala/golang-otto \
./otto_cat.sh | thesolarnomad/ttn-proto-generator | otto.sh | Shell | mit | 171 |
package="tre"
version="2.6.0"
rs_ver_postfix="1"
| Themroc/tre | config.sh | Shell | mit | 49 |
#!/bin/bash
echo $1 | gpg \
--passphrase-fd 0 \
--batch --yes \
--no-default-keyring --armor \
--secret-keyring ./unixvoid.sec --keyring ./unixvoid.pub \
--output nsproxy-latest-linux-amd64.aci.asc \
--detach-sig nsproxy-latest-linux-amd64.aci
| unixvoid/nsproxy | deps/sign.sh | Shell | mit | 252 |
#!/bin/bash
# Program to output a system information page
TITLE="System Information Report For $HOSTNAME"
CURENT_TIME=$(date +"%x %r %Z")
TIME_STAMP="Generated $CURRENT_TIME, by $USER"
cat << _EOF_
<html>
<head>
<title>$TITLE</title>
</head>
<body>
<h1>$TITLE</h1>
<p>$TIME_STAMP</... | dank-developer/shell-scripts | Bash Scripts/functions/system-info.sh | Shell | mit | 433 |
# Net neutrality resources with 40 mbps link between T1 ISPs
ISPA1="pc2.lan.sdn.uky.edu -p 31293"
ISPA2="pc2.lan.sdn.uky.edu -p 31294"
ISPB1="pc2.lan.sdn.uky.edu -p 31295"
ISPB2="pc2.lan.sdn.uky.edu -p 31296"
CA="pc2.lan.sdn.uky.edu -p 31290"
CB="pc2.lan.sdn.uky.edu -p 31291"
CP="pc2.lan.sdn.uky.edu -p 31292"
| SkittlePox/net-neutrality-peering-lab | resource_setup/resources-40.sh | Shell | mit | 312 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2008:0489
#
# Security announcement date: 2008-05-21 20:30:18 UTC
# Script generation date: 2017-01-01 21:09:52 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - gnutls.i386:1.4.1-3.el5_1
# - gnutls-d... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2008/CESA-2008:0489.sh | Shell | mit | 1,472 |
#!/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... | barteljan/RocketChatAdapter | Example/Pods/Target Support Files/Pods-RocketChatAdapter_Tests/Pods-RocketChatAdapter_Tests-frameworks.sh | Shell | mit | 4,322 |
#!/bin/bash
#
# Run it from the directory which contains step.sh
#
# ------------------------
# --- Helper functions ---
function print_and_do_command {
echo "$ $@"
$@
}
function inspect_test_result {
if [ $1 -eq 0 ]; then
test_results_success_count=$[test_results_success_count + 1]
else
test_resul... | bazscsa/steps-hipchat | step_test.sh | Shell | mit | 3,144 |
echo 'command delete Show ' | nc localhost 9999
echo 'feed shift 2 0 0 ' | nc localhost 9999 | dmbb/DeltaShaper | DeltaShaper/Client/SnowmixScripts/deleteOverlay.sh | Shell | mit | 92 |
#!/bin/bash
#
#
# (For security reasons, both the $SSID and $PASS variables must be given
# to this script externally, first to make it general for every network
# and to avoid hardcoding passwords)
#
# So first we check if the variables have been provided
if [[ ! -z $SSID ]] && [[ ! -z $PASS ]]
then
echo -e "Input S... | eiger824/meta-eiger824 | recipes-scripts/wlan-setup/files/wlan-setup.sh | Shell | mit | 1,730 |
#!/bin/bash
set -e
source venv/bin/activate
if [ "$#" -ne 1 ]; then
echo "Usage: ${0} elife-12345-vor-r1"
fi
PYTHONPATH=. AWS_DEFAULT_REGION=us-east-1 python econtools/econ_article_feeder.py --prefix $1 -r 1 ct-elife-production-final ct-workflow-starter-queue InitialArticleZip
| elifesciences/ppp-feeder | feed-continuumtest.sh | Shell | mit | 284 |
#!/bin/bash
#
# script to create a debian package
# (c) bytepark GmbH, 2012
function_post_source() {
# exit if we are not on a system capable of creating deb packages
# or no build host is configured
if [ -z ${OSPKG} ] || [ "${OSPKG}" != "deb" ]; then
if [ -z ${BUILD_HOST} ]; then
fn_d... | dreadwarrior/release | include/method_deb.sh | Shell | mit | 4,352 |
#!/bin/bash
TANODIR=/home/webby/doushio
source ~/.nvm/nvm.sh
nvm use default
cd $TANODIR
/usr/bin/screen -d -m -S boards node builder.js
| vampiricwulf/tanoshiine | _hats.sh | Shell | mit | 138 |
#!/bin/sh
#
# Preparation script for an OS X automated installation for use with VeeWee/Packer/Vagrant
#
# What the script does, in more detail:
#
# 1. Mounts the InstallESD.dmg using a shadow file, so the original DMG is left
# unchanged.
# 2. Modifies the BaseSystem.dmg within in order to add an additional 'rc.c... | ayufan/travis-osx-vm-templates | prepare_iso/prepare_iso.sh | Shell | mit | 10,562 |
#!/bin/bash
set -e
cp -r ${SRCDIR}/* .
export CROSS_COMPILE=
case $HOST in
*eabiv7a*)
export TGT=android-armv7
;;
*eabiv8a*)
export TGT=linux-aarch64
;;
*x86_64*)
export TGT=linux-x86_64
;;
*x86*)
export TGT=android-x86
;;
*mips64*)
... | ericwlange/hemroid | packages/openssl/build_android.sh | Shell | mit | 532 |
# -*-Shell-script-*-
# shellcheck shell=bash
if [ -z "$JUMPSSH_SOCKS" ] ; then
>&2 echo "JUMPSSH_SOCKS not found, behavior undefined"
fi
if [ ! -e "$JUMPSSH_SOCKS" ] ; then
>&2 echo "Config file ${JUMPSSH_SOCKS} not found, behavior undefined"
fi
# shellcheck disable=SC1090
. "${JUMPSSH_SOCKS}"
alias jumpaut... | otakup0pe/jumpssh | init.sh | Shell | mit | 2,652 |
# Temporarily change directory to $HOME to install software
pushd .
cd $HOME
# Install Miniconda
MINICONDA=Miniconda2-latest-Linux-x86_64.sh
MINICONDA_HOME=$HOME/miniconda
MINICONDA_MD5=$(curl -s https://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *<td>\(.*\)<\/td> */\1/p')
wget -q ht... | bmanubay/open-forcefield-tools | devtools/travis-ci/install.sh | Shell | mit | 765 |
#!/bin/bash
# checkout到指定分支并且pull最新代码
# $1 项目路径
# $2 分支名或commit号
if [ $# -lt 2 ];then
exit 10001
fi
if [ ! -d $1 ]; then
exit 10002
fi
cd $1
git checkout $2
git pull origin $2
| wittyLuzhishen/EasyPackage | src/main/webapp/shell/gitCheckoutAndPull.sh | Shell | mit | 222 |
#!/bin/bash
info() {
echo -e "\033[34m$@\033[m" # blue
}
warn() {
echo -e "\033[33m$@\033[m" # yellow
}
error() {
echo -e "\033[31m$@\033[m" # red
}
unset https_proxy
if [[ ! -d ~/.zprezto ]]; then
info "Install zprezto"
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-... | naokazuterada/dotfiles | zsh/install-tools.sh | Shell | mit | 2,545 |
set -e
apt-get update
apt-get install -y lsb-release wget gnupg
echo "deb http://download.rethinkdb.com/apt `lsb_release -cs` main" | tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | apt-key add -
apt-get update
apt-get install -y rethinkdb
rethinkdb --daemon
nimble... | yglukhov/rethinkdb | cibuild.sh | Shell | mit | 351 |
#!/bin/bash
docker-compose build && docker-compose run tox tox -e py35
| yoyonel/2016_ENSG_PYTHON_COURS | launch_local_tests_tox_py35.sh | Shell | mit | 71 |
#!/bin/bash
cd ../../documents
remote=`git config --get remote.origin.url`
git clone --depth=5 -b gh-pages ${remote} html
cd ../temp
make -j8 doxygen
cd ../documents/html
git add -A .
git commit -am "Update generated documentation"
remote="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${remote#https://}"
git push ${remote}
c... | chronoxor/CppBuildScripts | Unix/05-doxygen.sh | Shell | mit | 339 |
ROOT=~/C/CAA-DEV-APPS-SAMPLE-DATA/T/TESTS_2017_FGM
INC_0=$ROOT/header_includes
INC_1=$INC_0/fgm
TEST_FILE=$ROOT/fgm/C1_CP_FGM_5VPS__20130602_192530_20130605_014110_V01.cef.gz
cefmdd_v1 -i $INC_0 -i $INC_1 -f $ROOT/fgm/C1_CP_FGM_5VPS__20130602_192530_20130605_014110_V01.cef.gz $1 $2 $3 $4
| caa-dev-apps/cefmdd_v1 | tests/2017-00-00__v0.0.0/f0.sh | Shell | mit | 294 |
CRON="0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/core/bin/import-cron"
(crontab -l www 2>/dev/null; echo "$CRON" ) | sort | uniq | sudo -u www crontab
| wiedi/mi-core-mailapi | copy/var/zoneinit/includes/30-import-cron.sh | Shell | mit | 162 |
#
# Script to download data for book
#
mkdir ../data
# Get on-time records for all flights in 2015 - 273MB
# wget -P ../data/ http://s3.amazonaws.com/agile_data_science/On_Time_On_Time_Performance_2015.csv.gz
# Get openflights data
wget -P /tmp/ https://raw.githubusercontent.com/jpatokal/openflights/master/data/airpo... | rjurney/Agile_Data_Code_2 | ch04/download.sh | Shell | mit | 1,374 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:0857
#
# Security announcement date: 2015-04-20 14:43:21 UTC
# Script generation date: 2017-01-19 21:26:19 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - java-1.7.0-oracle.x86_64:1.7.0.79-1jpp.... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2015/RHSA-2015:0857.sh | Shell | mit | 1,787 |
#!/bin/sh
#$ -S /bin/bash
#$ -cwd
#$ -soft -l ljob,lmem
#$ -l s_vmem=16G
#$ -l mem_req=16G
##--RAW_data_analysis--
filename=`basename $@ .fastq`
for file in ${filename}
do
mkdir fastqc_"$file"
fastqc -o ./fastqc_"$file" ./"$file".fastq -f fastq
cutadapt -m 10 -a TCGTATGCCGTCTTCTGCTTG ./"$file".f... | Naoto-Imamachi/NGS_data_analysis_pipeline | GSE28859_PAR-CLIP_HuR_HEK293/PAR-CLIP_SE_Q32_Hafner_prep_1_mapping_ver3.sh | Shell | mit | 2,074 |
#!/bin/bash
curl -X POST --data "email=dimitrov.anton@gmail.com&task[name]=new task 1&task[description]=new statement 1&task[task_type]=iofiles" localhost:6543/tasks --header "Authorization: Token token=\"3177bfd8ddbbb6c902886ab2890099fb\""
| antonrd/codemarathon-grader | sample_api_calls/create_task.sh | Shell | mit | 241 |
#/usr/bin/env sh
export DEBIAN_FRONTEND=noninteractive
CACHE_FOLDER=/environment/cache/packages
echo 'Installing RVM'
apt-add-repository -y ppa:rael-gc/rvm >/dev/null
apt-get update
apt-get install -y rvm
echo 'Finished installing RVM'
| DanielOaks/vagrirc | environment/shell/3.rvm.sh | Shell | cc0-1.0 | 239 |
#!/bin/bash
# Nextcloud
##########################
source setup/functions.sh # load our functions
source /etc/mailinabox.conf # load global vars
# ### Installing Nextcloud
echo "Installing Nextcloud (contacts/calendar)..."
# Nextcloud core and app (plugin) versions to install.
# With each version we store a hash to... | mail-in-a-box/mailinabox | setup/nextcloud.sh | Shell | cc0-1.0 | 17,743 |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SHODAN_API_KEY=$(cat $DIR/SHODAN_API_KEY)
curl --silent -H 'Accept: application/json' "https://api.shodan.io/tools/myip?key=$SHODAN_API_KEY" | python -mjson.tool
printf '\n'
| Und3rf10w/security-scripts | enumeration/shodan/shodan_sysinfo_tools-myip.sh | Shell | gpl-2.0 | 231 |
site_ph=all.site
domain_ph=all.domain
split_part() {
fpath=$1
tpath=$2
awk -v tpath=$tpath '{
#print substr($1,1,1) head
len_us = split($1, us, ".");
head = substr(us[len_us-1],1,1) ;
ttpath= tpath "." head;
print $0 >> ttpath
}' $fpath > $tpath
}
output_domain_... | Superjom/bad_source | shell/awk/buff_split.sh | Shell | gpl-2.0 | 4,634 |
#!/usr/bin/env bash
##############################################################################
# Measurement Set Averaging (For Gains calibration and Continuum imaging)
##############################################################################
# Create a directory to hold the output measurement sets
AVGMSDIR=M... | ATNF/askapsdp | Tests/data_challenge_1a/processing/scripts/create-coarse-ms.sh | Shell | gpl-2.0 | 1,876 |
# namelist.nemo.ref.sh writes the reference namelist for NEMO to standard out.
# Note that this namelist will be overwritten by the namelist specific to the
# configuration (namelist.nemo-*.cfg.sh). Hence, only parameters common to all
# configurations shoule be specified here.
if $leg_is_restart
then
nemo_restart... | puotila/KAMON | run_model/ctrl/namelist_ref.sh | Shell | gpl-2.0 | 95,680 |
#!/bin/sh
# Test definition of the newly introduced nonstandard 'B 1 21/m 1'
# space group setting:
#BEGIN DEPEND------------------------------------------------------------------
INPUT_SCRIPT=scripts/symop_build_spacegroup
#END DEPEND--------------------------------------------------------------------
set -ue
${... | sauliusg/cod-tools | tests/shtests/check_spacegroups_003.sh | Shell | gpl-2.0 | 452 |
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
case "$root" in
block:LABEL=*|LABEL=*)
root="${root#block:}"
root="$(echo $root | sed 's,/,\\x2f,g')"
root="block:/dev/disk/by-label/${root#LABEL=}"
rootok=1 ;;
... | congwang/dracut | modules.d/95rootfs-block/parse-block.sh | Shell | gpl-2.0 | 512 |
#!/bin/bash
patch_files () {
pushd $1
if [ ! -f vss_patch_files.done ]; then
for f in `ls pkgconfig/gstreamer*.pc.in`; \
do \
file=`echo $f | sed "s/.*\///"` ; \
pc=`echo $f | sed -r "s/.+\/(.+)\..+/\1/"` ; \
sed -i \
-e "s;pluginsdir=.*;pluginsdir=... | Metrological/buildroot-wpe | package/vss-sdk/gst1/gst1.fix.sh | Shell | gpl-2.0 | 1,924 |
cd Control
rm *.*
cd ../Export
rm *.*
cd ../Flags
rm *.*
cd ../Index
rm *.*
cd ..
rm datos2011
make all
| busiris2014/7506Condor1C2014 | datos2011/trunk/Scripts/initCorridaLimpia.sh | Shell | gpl-2.0 | 105 |
#!/bin/sh
awk 'BEGIN { num = -1; } # Ignore the beginning of the file
/^#/ { next; }
/^[ \t]*$/ { next; }
/^START_TABLE/ { num = 0; next; }
/^END_TABLE/ {
if (num != $2) {
printf "__NR_syscalls (%s) is not one more than the last syscall (%s)\n",
$2, num - 1;
exit(1);
}
num = -1; # Ignore the rest of... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/arch/powerpc/kernel/systbl_chk.sh | Shell | gpl-2.0 | 495 |
../yuv_net_recv/yuv_net_recv | avconv -f rawvideo -pixel_format yuv420p -s:v 320x200 -i - -pix_fmt rgb24 -f rawvideo pipe:1 2> /dev/null | ./imconv c64 6 2> /dev/null | ../c64_video_timed_writer/c64_video_timed_writer
| bitfixer/bitfixer | imconv/yuvcap.sh | Shell | gpl-2.0 | 218 |
#!/bin/bash -e
#
# Copyright 2020 (c) Yousong Zhou
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
. "$PWD/utils-openvswitch.sh"
PKG_VERSION="$PKG_ovn_VERSION"
PKG_SOURCE="$PKG_ovn_SOURCE"
PKG_SOURCE_URL="$PKG_ovn_SOURCE_URL"
PKG_SOURCE_MD5SUM="$PKG_... | yousong/build-scripts | build-ovn.sh | Shell | gpl-2.0 | 1,082 |
#!/bin/sh
#grep -A20 "Summary results of [^ ]*Crush" $@
#grep -A9 "Results of speed test" $@
grep -A30 "Summary results of [^ ]*BigCrush" $@ |
paragrep -e "Generator:| Test p-value|passed" | grep -v "Version:\|statistics:\|following\|means"
#grep -A30 "Summary results of [^ ]*Crush" $@
| jirka-h/aprng | Old_code/analyze-TestU01.sh | Shell | gpl-2.0 | 320 |
#!/bin/ksh
# Copyright (c) 2001-2017 Fernando Nunes - domusonline@gmail.com
# License: This script is licensed as GPL V2 ( http://www.gnu.org/licenses/old-licenses/gpl-2.0.html )
# $Author: Fernando Nunes - domusonline@gmail.com $
# $Revision: 2.0.18 $
# $Date 2017-08-22 00:07:46$
# Disclaimer: This software is provide... | domusonline/InformixScripts | scripts/alarmprogram/alarm.sh | Shell | gpl-2.0 | 26,132 |
#!/bin/bash
# 3.5_Hostname
#
# https://wiki.archlinux.org/index.php/Installation_guide#Hostname
#
# *----------------------------------------------------------------------------*
# generated by archlinux 20/02/2017 00:35:34
# *-----------------------------------------------------------------------... | RC69/RCsite1 | archlinux/installation-guide/contents/3.5_Hostname.bash | Shell | gpl-2.0 | 1,013 |
# Execute: apt-get update
function ee_lib_apt_get_update()
{
ee_lib_echo "Executing apt-get update, please wait..."
apt-get update &>> $EE_COMMAND_LOG || ee_lib_error "Unable to execute apt-get update, exit status = " $?
}
| shitalp/easyengine | src/lib/ee_lib_apt_get_update.sh | Shell | gpl-2.0 | 226 |
#!/bin/sh
sudo apt-get update
# Boost
wget -nv https://boostorg.jfrog.io/artifactory/main/release/1.66.0/source/boost_1_66_0.tar.gz
tar xfz boost_1_66_0.tar.gz
cd boost_1_66_0
./bootstrap.sh --with-libraries=program_options,filesystem,system,thread,locale,date_time
./b2
sudo ./b2 install
# Dependencies
sudo apt-get ... | vcmi/vcmi | CI/linux/before_install.sh | Shell | gpl-2.0 | 528 |
#!/bin/bash
#
# http://symfony.com/doc/current/book/installation.html
#
PROJ_PATH=`dirname $0`/..
HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX ${PROJ_PATH}/app/cache ${PROJ_PATH}/app/logs
sudo se... | tybw/simpleaws | simpleaws/bin/fix-permission.sh | Shell | gpl-2.0 | 427 |
#!/bin/sh
bat_load_module()
{
[ -d "/sys/module/batman_adv/" ] && return
. /lib/functions.sh
load_modules /etc/modules.d/*-crc16 /etc/modules.d/*-crypto* /etc/modules.d/*-lib-crc* /etc/modules.d/*-batman-adv-legacy*
}
bat_config()
{
local mesh="$1"
local aggregated_ogms ap_isolation bonding bridge_loop_avoidanc... | SvenRoederer/packages | net/batman-adv-legacy/files/lib/batman-adv-legacy/config.sh | Shell | gpl-2.0 | 2,533 |
#!/bin/sh
#
# $Id$
#
# MS DTC tests
#
# This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
# project.
#
# Copyright (C) 1998-2012 OpenLink Software
#
# This project is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published... | trueg/virtuoso-opensource | binsrc/tests/suite/msdtc.sh | Shell | gpl-2.0 | 9,212 |
#!/bin/bash
# bonnie++.sh
# by: Prem Karat (pkarat@mvista.com)
# (C) Copyright MontaVista 2015
# Licensed under the GPL
#
# WARNING: THIS WILL LIKELY HARDHANG SYSTEMS AND MAY LOSE DATA
# RUN AT YOUR OWN RISK!
# Cleanup any existing logs
rm -rf logs/bonnie.log > /dev/nul... | premkarat/leapsecondtest | loadgen/bonnie++.sh | Shell | gpl-2.0 | 531 |
#! /bin/bash
MYNAME=$(basename $0)
MYBASENAME=$(basename $0 .sh)
MYDIR=$(dirname $0)
STDOUT_FILE=ft_errors_stdout
VERBOSE=""
VERSION="0.0.3"
LOG_OPTION="--wait"
CLUSTER_NAME="${MYBASENAME}_$$"
CLUSTER_ID=""
PIP_CONTAINER_CREATE=$(which "pip-container-create")
CONTAINER_SERVER=""
cd $MYDIR
source ./include.sh
source ./... | severalnines/s9s-tools | tests/ft_ldap_search.sh | Shell | gpl-2.0 | 8,650 |
#!/bin/bash
echo Getting and building coreutils
FROM=$PWD
mkdir /tmp/build_coreutils_$$
cd /tmp/build_coreutils_$$
wget ftp://ftp.gnu.org/gnu/coreutils/coreutils-8.5.tar.xz
tar xvf coreutils-8.5.tar.xz
cd coreutils-8.5
CFLAGS="-g -fPIC" LDFLAGS=-pie ./configure --enable-no-install-program=arch,hostname,su,libstdbuf.so ... | ShogoFujii/PS-MPTCP | arch/sim/test/buildtop/source/ns-3-dce/utils/build_coreutils.sh | Shell | gpl-2.0 | 525 |
#!/bin/bash
sudo su
cd
git clone git://github.com/joyent/node.git
cd node
./configure
make install
cd
rm -rf node
git clone git://github.com/isaacs/npm.git
cd npm
make install
cd
rm -rf npm
npm install -g yo
npm install -g generator-phalcon
| eristoddle/peregrine | provision/shell/install_nodejs.sh | Shell | gpl-2.0 | 241 |
#!/bin/sh
set -e
if [[ "$1" = "uwsgi" ]]; then
exec su-exec uwsgi "$@"
elif [[ "$1" = "nginx" ]]; then
exec nginx -g "daemon off;"
fi
exec "$@"
| madron/uwsgi | docker/entrypoint.sh | Shell | gpl-2.0 | 154 |
#!/bin/bash
# **********************************************************
# Installation automatisée d'un client stretch
# après installation de base du système.
# Installation de lxde s'il n'est pas installé.
# auteur jc mousseron 12/2017
# Ce script est distribué selon les termes de la licence GPL
# version du 2017122... | jcmousse/clinux | clinuxwin/stretch/installation/install_stretch_etabs.sh | Shell | gpl-2.0 | 13,060 |
mkdir -p win-deps
cd win-deps
### PIDGIN-FETCH
if [ ! -d pidgin-*.*.? ]
then
wget -c http://gaim-extprefs.sf.net/winpidgin-build-fetcher.sh
sh winpidgin-build-fetcher.sh
if [ "$?" -ne 0 ]
then
exit
fi
fi
### OLDER GCC - if needed
if [ "$1" == "win2k" ]
then
cd win32-dev
cd mingw
... | hanzz/spectrum | win-build.sh | Shell | gpl-2.0 | 4,765 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | atmark-techno/atmark-dist | user/imagemagick/tests/rwfile_EPDF_truecolor16.sh | Shell | gpl-2.0 | 366 |
# Homepage: http://code.google.com/p/coderev
# License: GPLv2, see "COPYING"
#
# This library implements cvs operations, see comments in coderev.sh
#
# $Id: libcvs.sh 38 2010-01-12 10:03:08Z mattwyl $
function cvs_get_banner
{
echo "CVS"
return 0
}
function cvs_get_repository
{
cat CVS/Root
}
function cv... | ymattw/coderev | libcvs.sh | Shell | gpl-2.0 | 1,336 |
err() {
ALL_OFF="\e[1;0m"
BOLD="\e[1;1m"
RED="${BOLD}\e[1;31m"
local mesg=$1; shift
printf "${RED}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
}
msg() {
ALL_OFF="\e[1;0m"
BOLD="\e[1;1m"
GREEN="${BOLD}\e[1;32m"
local mesg=$1; shift
printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}... | manjaro/packages-core | manjaro-system/manjaro-update-system.sh | Shell | gpl-2.0 | 30,665 |
#!/bin/sh
echo "tar begin *_*..."
echo "tar connector.tar.gz..."
sleep 1
tar -zcvf connector.tar.gz connector
echo "tar dispatcher.tar.gz..."
sleep 1
tar -zcvf dispatcher.tar.gz dispatcher
echo "tar meeting.tar.gz..."
sleep 1
tar -zcvf meeting.tar.gz meeting
echo "tar rtlive.tar.gz..."
sleep 1
tar -zcvf rtlive.tar... | Teameeting/Teameeting-MsgServer | MsgServer/build_shell/tar.sh | Shell | gpl-2.0 | 709 |
#!/bin/bash
#
# Copyright (c) 2015,2016 Krzysztof Kozlowski
# Author: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
# <krzk@kernel.org>
#
# SPDX-License-Identifier: GPL-2.0
#
# test_cat file expected
test_cat() {
local val="$(cat $1)"
test "$val" = "$2" || echo "ERROR: Wrong $1 ($val)"
}
... | krzk/tools | tests-var/sensorhub.sh | Shell | gpl-2.0 | 2,136 |
#!/bin/bash
# NB Annoyingly pushd/popd are bashisms!
#
# License: CC0
#
# You don't want to do this on a previously configured/built Linux source tree
# as the build system will get confused so make clean and start again...
#
# Ensure a basic Windows compatible system is set up
# Use wget to get wget!
if [ ! -e ~/.wi... | yourealwaysbe/viking-extended-route-finder | win32/generate_install.sh | Shell | gpl-2.0 | 654 |
#!/bin/bash
$branch="$1"
if [ -z "$branch" ]; then
echo 'ERROR: branch name was not given'
exit 1
fi
echo '**** Deleting branch locally'
git branch -d $branch
echo '**** Deleting branch remotely'
git push origin :$branch
| mrrusof/snippets | git/delete-branch.sh | Shell | gpl-2.0 | 233 |
#!/bin/bash
. /etc/profile.d/config
DB_USER=${1-root}
DB_PASS=${2-root}
DB_HOST=${3-localhost}
DB_TABLE_PREFIX=${4-wp_}
WEB_APP_PATH=${5-/var/www/html}
WP_VERSION=${6-latest}
STAGING_DIR=${WEB_APP_PATH}/staging
DB_STAGING_DIR=${STAGING_DIR}/dbs
PLUGIN_STAGING_DIR=${STAGING_DIR}/plugins
GIOSAPI_DB_NAME=${7-gios2_deve... | gios-asu/gios-vagrant | provision_scripts/provision_wordpress.sh | Shell | gpl-2.0 | 10,145 |
#!/bin/bash
sudo mount -t davfs https://elearning.hslu.ch/ilias/webdav.php/hslu/ref_2828117/ ilias
| daniw/ats | mount.sh | Shell | gpl-2.0 | 99 |
#!/bin/bash
# include shared functions
. ../scripts/deploy-s3-functions.sh
# Deploys the latest production release of Mayflower to Amazon S3 and push the NPM package:
# --------------------------------------------------------------
#
# Run from /styleguide, must have a clean working directory.
#
# Usage:
# ../scripts/... | massgov/mayflower | packages/patternlab/scripts/deploy-mayflower.sh | Shell | gpl-2.0 | 3,678 |
#!/bin/bash
#
# ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
# This file is part of rasdaman community.
#
# Rasdaman community 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 ver... | hholzgra/rasdaman | applications/rasgeo/wms-import/utilities/fill_pyramid.sh | Shell | gpl-3.0 | 11,631 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.