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/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-472-2
#
# Security announcement date: 2016-05-18 00:00:00 UTC
# Script generation date: 2017-02-07 21:09:50 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - icedove:31.8.0-1~deb7u1.1
#
# Last v... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2016/DLA-472-2.sh | Shell | mit | 598 |
#!/bin/bash
#
# The MIT License (MIT)
#
# Copyright (c) 2016 Piero Dalle Pezze
#
# 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... | pdp10/clst | bin/clst_stop_openlava.sh | Shell | mit | 3,047 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3153-1
#
# Security announcement date: 2016-12-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:53 UTC
#
# Operating System: Ubuntu 16.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - liboxideqtcore0:1.19.4-0ubuntu0.16.0... | Cyberwatch/cbw-security-fixes | Ubuntu_16.04_LTS/x86_64/2016/USN-3153-1.sh | Shell | mit | 2,034 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3260-1
#
# Security announcement date: 2015-05-13 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:23 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - iceweasel:31.7.0esr-1~deb7u1
#
# La... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2015/DSA-3260-1.sh | Shell | mit | 732 |
org="openfin"
# set variable repo to current directory name (without path)
repo=${PWD##*/}
# make sure the docs are built
gulp doc >/dev/null
# remove temp directory in case it already exists, remake it, switch to it
rm -rf ../temp >/dev/null
mkdir ../temp
pushd ../temp >/dev/null
# clone it so it will be a branch ... | stevewirts/sparse-boolean-array | gh-pages.sh | Shell | mit | 1,206 |
#!/bin/bash
export SHARELATEX_CONFIG=/etc/sharelatex/settings.coffee
exec /sbin/setuser sharelatex /usr/bin/node /var/www/sharelatex/track-changes/app.js >> /var/log/sharelatex/track-changes.log 2>&1 | zz/docker-sharelatex | runit/track-changes-sharelatex.sh | Shell | mit | 199 |
#!/bin/bash
set -xv
## Zw2089 lensing vars:
cluster=Zw2089
filter=W-J-V
ending=OCFSI
config="10_3"
#./adam_make_autosuppression_ims.py ~/my_data/SUBARU/${cluster}/${filter}/SCIENCE/ ${ending} ${config}
#./adam_make_backmask_ims.py ~/my_data/SUBARU/${cluster}/${filter}/SCIENCE/ ${ending}
cluster=RXJ2129
filter=W-C-R... | deapplegate/wtgpipeline | april_coadd_masks.sh | Shell | mit | 536 |
#!/usr/bin/env bash
# installer for bwa
target=${TARGET-/usr/local}
if [[ $# -ne 0 ]] ; then
target=$1
shift
fi
apt-get update
apt-get install -y build-essential
apt-get install -y git
apt-get install -y libncurses5-dev
apt-get install -y libncurses5
apt-get install -y dh-autoreconf
apt-get install... | brettin/vagrant_builds | vagrant_bowtie/bootstrap.sh | Shell | mit | 449 |
#!/bin/bash
KEYWORDS_ACRONYMS="acronym|initialism|What does [A-Z]{2,} stand(|s) for|What do the initials [A-Z]{2,} stand(|s) for"
if [ "$1" == "" ]; #Normal operation
then
debug_start "Acronyms"
ACRONYMS=$(egrep -i "$KEYWORDS_ACRONYMS" "$NEWPAGES")
categorize "ACRONYMS" "Acronyms"
debug_end "Acronyms"
fi | MW-autocat-script/MW-autocat-script | catscripts/Language/Acronyms/Acronyms.sh | Shell | mit | 320 |
#!/bin/bash
echo "$0"
basename "$0"
| ryuichiueda/GihyoShellBookSamples | chapter3/hoge.bash | Shell | mit | 37 |
#!/usr/bin/env bash
DB=$1;
mysql -uhomestead -psecret -e "CREATE DATABASE IF NOT EXISTS \`$DB\` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci";
curl -sS https://raw.githubusercontent.com/grrnikos/pma/master/pma.sh | sh
| eranshmil/homestead | scripts/create-mysql.sh | Shell | mit | 235 |
#!/usr/bin/env bash
#### halt script on error
set -e
#### Build the Docker Images
if [ -n "${PHP_VERSION}" ]; then
cp env-example .env
sed -i -- 's/=false/=true/g' .env
cat .env
docker-compose build
docker images
fi
#### Generate the Laradock Documentation site using Hugo
if [ -n "${HUGO_VERSION}... | olin2011/laradock | travis-build.sh | Shell | mit | 723 |
#!/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... | ushisantoasobu/Piojo | Example/Pods/Target Support Files/Pods-Piojo_Tests/Pods-Piojo_Tests-frameworks.sh | Shell | mit | 2,592 |
#!/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... | zhuzhiwen0527/ALXcommercialCollege | Pods/Target Support Files/Pods-ALXcommercialCollege/Pods-ALXcommercialCollege-frameworks.sh | Shell | mit | 4,649 |
# Timestamp a git/npm project in node JS
echo "export default {"
date -u '+buildTime: "%Y-%m-%dT%H:%M:%SZ",'
git log | grep commit | head -1 | sed -e 's/ /: "/' | sed -e 's/$/",/'
echo npmInfo:
npm version
echo "};"
| linkeddata/mashlib | timestamp.sh | Shell | mit | 216 |
#!/usr/bin/env bash
o=$(isort -rc -cs --diff opengraph)
echo "${o}"
size=${#o}
if [ "${size}" != 0 ]; then
exit 1
fi
| HenrikOssipoff/python-opengraph | bin/isort.sh | Shell | mit | 122 |
#!/usr/bin/env bash
###############################################################################
# Mail #
###############################################################################
# Disable send and reply animations in Mail.app
defaults w... | semenovDL/dotfiles | apps/mail.sh | Shell | mit | 2,549 |
#!/usr/bin/env bash
# Copyright (c) 2014 The Bitcoin Core developers
# Copyright (c) 2014-2015 The Gamblr developers
# Distributed under the MIT/X11 software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Test wallet backup / dump / restore functionality
# Test c... | knolza/gamblr | qa/rpc-tests/walletbackup.sh | Shell | mit | 7,278 |
#! /bin/sh
# /etc/init.d/skyAerosol_service.sh
### BEGIN INIT INFO
# Provides: skyAerosol_API
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: sky aerosol analyzer API
# Description:
#
### END INIT INFO
# The following pa... | davidgt/SkyAerosolAnalyzer | scripts/skyAerosol_service.sh | Shell | mit | 1,109 |
#!/usr/bin/env zsh
#
set -euo pipefail
trap "echo 'error: Script failed: see failed command above'" ERR
#### ffmpeg CRF param:
#
# See https://unix.stackexchange.com/questions/28803/how-can-i-reduce-a-videos-size-with-ffmpeg
# http://www.mpabo.com/2014/12/14/ffmpeg-and-x264-encoding-guide/
#
# Unless you're looki... | Jackysonglanlan/devops | config_files/zsh/ffmpeg/ffmpeg.plugin.zsh | Shell | mit | 828 |
#!/bin/bash
# Install a custom MySQL 8.0 version - https://www.mysql.com
#
# To run this script on Codeship, add the following
# command to your project's setup commands:
# \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mysql-8.0.sh | bash -s
#
# Add the following environment variables to... | codeship/scripts | packages/mysql-8.0.sh | Shell | mit | 2,593 |
#!/usr/bin/env sh
# # A GitHub API client library written in POSIX sh
#
# ## Requirements
#
# * A POSIX environment (tested against Busybox v1.19.4)
# * curl (tested against 7.32.0)
#
# ## Optional requirements
#
# * jq <http://stedolan.github.io/jq/> (tested against 1.3)
# If jq is not installed commands will output... | luigiberrettini/Kiln-to-GitHub | ok.sh | Shell | mit | 39,658 |
#!/bin/sh
set -e
docprefix=/packages/${PKG_NAME}-doc/${PKG_VERSION}
mkdir build && cd build
../${PKG_NAME}-*/configure --prefix="${PKG_DIR}" \
--oldincludedir=${PKG_DIR}/include --localedir=${PKG_DIR}/locale \
--infodir=${docprefix}/info --mandir=${docprefix}/man \
--docdir=${docprefix}/doc \
--build=$A... | FreakyPenguin/static-distro | packages/make/4.2.1/build.sh | Shell | mit | 580 |
#!/bin/bash
diskName='';
netName='';
hostName='';
kbdName='';
userName='';
fsType='ext4';
installType=1;
myShell=1;
packStuff=1;
if [ "$#" -eq 0 ]; then
echo "$0": usage: ALIS.sh setup
exit 1
fi
myName=$(basename "$0");
myDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ "$1" == *"setup"* ]]; the... | pastapojken/ALIS.sh | ALIS.sh | Shell | mit | 8,043 |
#!/bin/sh
NAME=$1;
echo $NAME;
DATE=$2;
echo $DATE;
wget https://phar.phpunit.de/phpunit-old.phar
mv phpunit-old.phar lol.phar
chmod +x lol.phar
composer install;
chmod +x test.sh;
./test.sh $NAME $DATE;
| robinduval/hackathon-2 | admintests.sh | Shell | mit | 207 |
#!/bin/bash
. ./function.inc
if [ $# -ne 2 ]
then
{
echo "Need the user name and process parameters"
exit 0;
}
fi
PID=`GetPID $1 $2`
if [ "-$PID" == "-" ]
then
{
echo "The process is not found"
}
else
{
mem=`GetMem $PID`
echo "The usage of memory is $mem M"
if [ $mem -gt 1600 ]
then
{
... | lgh8820/ansible-test | OperationsShell/sysinfo/GetProcMem.sh | Shell | mit | 458 |
#!/usr/bin/env bash
OUTPUT_DIR=pullreq-txts
mkdir -p $OUTPUT_DIR
cat pr-data.csv |
while read line; do
owner=`echo $line|cut -f2 -d','|tr -d '"'|cut -f1 -d'/'`;
repo=`echo $line|cut -f2 -d','|tr -d '"'|cut -f2 -d'/'`;
num=`echo $line|cut -f4 -d','`;
fname="$owner@$repo@$num.txt"
echo "Processing $fname"
... | gousiosg/pullreqs-dnn | get_pr_txts.sh | Shell | mit | 665 |
#!/bin/sh
cd Tyreworld
GENERATOR_32bit/tyreworld -n $1 > tyreworld-$1.pddl
cd ..
FF-X/ff -p Tyreworld/ -f tyreworld-$1.pddl -o domain.pddl
| Zolomon/planning | run-tyre.sh | Shell | mit | 144 |
#!/bin/bash
# This script performs post treatments after flash
# global variable set to 1 if output is systemd journal
fi_journal_out=0
export PATH="$PATH:/usr/sbin/"
# handle argument, if post-install is called from systemd service
# arg1 is "systemd-service"
if [ "$1" == "systemd-service" ]; then fi_journal_out=1;... | htot/meta-intel-edison | meta-intel-edison-distro/recipes-core/post-install/files/post-install.sh | Shell | mit | 2,819 |
#!/bin/bash
# Get the full directory name of the script no matter where it is being called from.
# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-which-directory-it-is-stored-in/246128#246128
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
python $DIR/../../yl_sam_tools.py -s input.sam
| yunhailuo/yl-omics-toolkit | test/yl_sam_tools/test_sam_tools.sh | Shell | mit | 314 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:1218
#
# Security announcement date: 2015-07-09 18:56:12 UTC
# Script generation date: 2017-01-01 21:16:23 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - php.x86_64:5.3.3-46.el6_6
# - php-bcm... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2015/RHSA-2015:1218.sh | Shell | mit | 4,283 |
#!/bin/bash
source ~/.bashrc
cd /home/ubuntu/myapp
npm run stop_all | vimal1083/travis-deployment | scripts/app_stop.sh | Shell | mit | 67 |
#! /bin/bash
set -u
set -e
PROG="./tsp"
GRAPH="$1"
GRAPH_NAME="${GRAPH##*/}"
ALPHAS=(0.1 0.2 0.4 0.7 0.8 0.9 1.0 1.2 1.3 1.4 1.5 1.6 1.7 2 2.5 3)
NB_ITERATIONS=(5 8 9 10 11 12 15 20 30 50 100)
BORNE_INIT=5000
BEST_ALPHA=${ALPHAS[0]}
BEST_NBIT=10
BEST_TIME=9999999999.0
function compute() {
alpha="$1"
nb_it="$2"
... | B-C/tiny-programs | relaxation_lagrangienne/test.sh | Shell | mit | 2,087 |
#!/bin/sh
set -e
cd `dirname $0`
export PYTHONPATH=..
pyver=$(python -c 'import sys; print(sys.version_info.major)')
tmp=$(mktemp --tmpdir -d flameprof-test-prof-XXXX)
python -m flameprof sample.prof$pyver > $tmp/stdout.svg
python -m flameprof -o $tmp/s-out.svg sample.prof$pyver
python -m flameprof -o $tmp/s2-out.sv... | baverman/flameprof | tests/test_prof.sh | Shell | mit | 437 |
#!/bin/bash
set -euo pipefail
function HELP {
echo "Build a lbrycrd"
echo "-----"
echo "When run without any arguments, this script expects the current directory"
echo "to be the lbrycrd repo and it builds what is in that directory"
echo
echo "Optional arguments:"
echo
echo "-c: clone ... | jimmykiselak/lbrycrd | reproducible_build.sh | Shell | mit | 3,127 |
#!/usr/bin/env sh
set -e
set -o verbose
test_app=dummy
rm -rf ${test_app}
bundle exec rails new ${test_app} \
--template=$(dirname "$0")/integration-template.rb \
--skip-spring \
--skip-turbolinks
cd ${test_app} && export BUNDLE_GEMFILE=Gemfile
bundle exec rake test
| ryanfox1985/formtastic | script/integration.sh | Shell | mit | 279 |
#!/bin/sh
# Grid Engine options (lines prefixed with #$)
#$ -cwd
# These options are:
# job name: -N
# use the current working directory: -cwd
# Initialise the environment modules
. /etc/profile.d/modules.sh
# Load modules
module load igmm/apps/python/2.7.10
module load igmm/apps/R/3.3.3
SCRAT... | gibberwocky/LBC-BASH | GTF-modify.sh | Shell | mit | 847 |
#!/bin/bash
# TODO accept arguments for verbosity, splitting files among dirs and not
# tokens to match (last char)
dir_count=0
file_count=0
for f in $(\ls -F); do
file_type="${f: -1}"
if [[ $file_type == '/' ]]; then
(( dir_count++ ))
else
(( file_count++ ))
fi
done
echo "dirs: $... | jm-janzen/scripts | ls-sum.sh | Shell | mit | 357 |
if [[ $TEST_TARGET == 'DOWNLOAD' ]]; then
make -c test out/Makefile
else if [[ $TEST_TARGET == 'ANALYSIS' ]]; then
make -c test out/test/test.json
else if [[ $TEST_TARGET == 'ALL' ]]; then
make -c test
else
exit 1
fi
| sauloal/cnidaria | .travis.sh | Shell | mit | 243 |
#!/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... | yishuiliunian/DZLayoutTable | Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-frameworks.sh | Shell | mit | 3,896 |
#!/bin/bash
first_line=`head -n 1 /tmp/guard_result`
if [ $first_line == "success" ]; then
blink1-tool --green
elif [ $first_line == "failed" ]; then
blink1-tool --red
elif [ $first_line == "pending" ]; then
blink1-tool --rgb 0xff,0xcc,0x00
else
blink1-tool --white
fi
| integrum/blinky | blinky.sh | Shell | mit | 278 |
#!/usr/bin/env bash
input=/data/rawd/wikidump/articles/part-00000
output=/tmp/chimpmark/sort-articles-java
hadoop fs -mkdir $output
hadoop jar /usr/lib/hadoop/hadoop-*-examples.jar sort \
-D io.sort.record.percent=0.25 \
-D io.sort.mb=350 ... | mrflip/chimpmark | challenges/cat_wrangling/sort/java/hadoop_sort_example.sh | Shell | mit | 531 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2780-1
#
# Security announcement date: 2015-10-20 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:51 UTC
#
# Operating System: Ubuntu 15.04
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libminiupnpc10:1.9.20140610-2ubuntu1.1
#... | Cyberwatch/cbw-security-fixes | Ubuntu_15.04/x86_64/2015/USN-2780-1.sh | Shell | mit | 657 |
#!/bin/sh
# Compiles the Asm.JS engine backend and symlinks it into the static code directory
cd engine && ./emscripten.sh
cd ..
echo "Symlinking \`./engine/target/asmjs-unknown-emscripten/release/noise-backend.js\` to \`./public/compiled.js\`"
ln -sf $(pwd)/engine/target/asmjs-unknown-emscripten/release/noise-backend... | Ameobea/noise-asmjs | build.sh | Shell | mit | 417 |
#!/bin/bash
python3 setup.py install && python3 -m pytest -v
| Bestoa/py-brainfuck | test.sh | Shell | mit | 62 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2012:1264
#
# Security announcement date: 2012-09-13 17:25:05 UTC
# Script generation date: 2017-01-01 21:14:12 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - postgresql-debuginfo.i386:8.1.23-6.el5_... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2012/RHSA-2012:1264.sh | Shell | mit | 2,479 |
#!/bin/bash
# example usage: ./plot2.sh pascal benchmarks/opt.ben "$(seq 6)"
out=out
ben=$2
function join_by { local IFS="$1"; shift; echo "$*"; };
for gpu in $1;
do
args=''
for line in $3;
do
files=$(ls $out | grep $gpu | grep -v repeat | grep -v sub)
domain=$(sed "${line}q;d" $ben)
domain=$(join_by x $dom... | Dwii/Master-Thesis | implementation/Cuda/lbm_simple_lbmcuda/plot2.sh | Shell | mit | 664 |
#!/bin/bash
DDIR="hm"
URL="http://www.THE SITE.net"
useragent="Mozilla/5.0"
referer="$URL"
cook1="cook1"
cook2="cook2"
die()
{
echo >&2 $@
exit 1
}
download()
{
if [ ! -e "$2" ]; then
if [ -e "$cook1" ]; then
curl -L -A $useragent -b $cook1 -c $cook2 -e $referer $1 -o $2 >/dev/null 2>/dev/null
m... | shintakezou/miscellanea | diggers/adultonly/gethjhm/script/gethm.sh | Shell | cc0-1.0 | 1,498 |
export BREW_PATH=`which brew`
if [ "$BREW_PATH" == ""]; then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew bundle ~/dotfiles/setup/softwares/Brewfile
| GopinathMR/dotfiles | setup/softwares/setup-brew.sh | Shell | cc0-1.0 | 206 |
#! /bin/bash
if [[ "$#" < 3 ]]
then
echo -e "USAGE: HTS-count_pipeline_single.sh <gff_file> <bam_file1> [<bam_file2> <bam_file3>...]"
exit 1
fi
GFF=$1
shift
for i in $@
do
echo -e "Counting reads per gene in $i"
bsub -q research-rh6 -M 20000 -R 'rusage[mem=20000] select[mem>20000]' -n 1 -e log.stderr... | a-slide/BASH_NGS_Tools | hts-count_pipeline_single.sh | Shell | gpl-2.0 | 423 |
#!/bin/bash
# $Id$
#
# Authors:
# Jeff Buchbinder <jeff@freemedsoftware.org>
#
# FreeMED Electronic Medical Record and Practice Management System
# Copyright (C) 1999-2012 FreeMED Software Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Pu... | freemed/freemed | data/source/icd-9-cm/convert.sh | Shell | gpl-2.0 | 2,431 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
# Korbinian Riedhammer
# Apache 2.0.
# This is a vanilla tandem system where the first stream is just extended with
# delta+deltadeltas, in contrast to the train_lda_mllt.sh script, where the
# temoporal context of the first... | michellemorales/OpenMM | kaldi/egs/wsj/s5/steps/tandem/train_mllt.sh | Shell | gpl-2.0 | 9,285 |
sudo apt update && sudo apt dist-upgrade
| ichbestimmtnicht/NOOBS | install/rasbian/jessie/must_have.sh | Shell | gpl-2.0 | 41 |
#! /bin/bash
#str='battery.charge: 90 battery.charge.low: 30 battery.runtime: 3690 battery.voltage: 230.0 device.mfr: MGE UPS SYSTEMS device.model: Pulsar Evolution 500'
str='name:legacy username:postgres password:root host:localhost drivers:pgsql'
IFS=" " read -a fields <<< "$str"
s='$databases['
d=''
e='),);'
a=''... | CreativeOutbreak/ni-drupal-vagrant | chef/shell/strtoarray.sh | Shell | gpl-2.0 | 676 |
#!/bin/bash
for account in `zmprov -l gaa`; do
zmprov ga $account zimbraPrefClientType
done
| Zimbra-Community/zimbra-patches | tk_barrydegraaff_force_advanced/bin/force-ajax.sh | Shell | gpl-2.0 | 95 |
#!/bin/sh
#
#==========================================================
# Recebe uma qtd de dias como parametro, e o transforma em
# uma data, que significa 1/1/1980 + parametro recebido.
# Obs. Para executar este programa sob o sh, trocar por
# $((..)) por expr
#========================================================... | atcasanova/ADonLinux | sep/ntod.sh | Shell | gpl-2.0 | 852 |
sudo ln -s ~/.dotfiles/quicklook/qlimagesize/build/Release/qlImageSize.qlgenerator
sudo ln -s ~/.dotfiles/quicklook/qlmarkdown/build/Release/QLMarkdown.qlgenerator
sudo ln -s ~/.dotfiles/quicklook/qlscript/ScriptQL.qlgenerator
sudo ln -s ~/.dotfiles/quicklook/qlstephen/QuickLookStephenProject/build/Release/QLStephen.q... | conao/dot_emacs | quicklook/depoy.sh | Shell | gpl-2.0 | 601 |
#!/bin/bash
source /etc/default/rclocalvars
for IFACE in $WLAN $INET $LAN; do
$TC qdisc show dev $IFACE | grep -q "qdisc pfifo_fast 0"
[ "$?" -gt "0" ] && $TC qdisc del dev $IFACE root; sleep 1
#$TC qdisc del root dev $IFACE
done
if [ "$1" == "limit" ]; then
# Por defecto todo mundo cae en la catego... | markuz/scripts | tclimit.sh | Shell | gpl-2.0 | 3,374 |
echo "Running unit tests:"
for i in tests/*_tests
do
if test -f $i
then
if $VALGRIND ./$i 2>> tests/tests.log
then
echo $i PASS
else
echo "ERROR in test $i: here's tests/tests.log"
echo "-------"
tail tests/tests.log
exit 1
... | zzeroo/c-skeleton | tests/runtests.sh | Shell | gpl-2.0 | 349 |
#!/bin/bash
if [ -f "./scripts/myfuncs.sh" ]; then
source ./scripts/myfuncs.sh
elif [ -f "./myfuncs.sh" ]; then
source ./myfuncs.sh
fi
# References:
# - https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository
# - https://docs.docker.com/install/linux/linux-postinstall/
# debian
if osCon... | GeekMasher/MyLittleBoxOfLinuxTricks | scripts/lazy_docker.sh | Shell | gpl-2.0 | 2,153 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t4155-skip-same-outputs2.sh | Shell | gpl-2.0 | 1,368 |
#!/bin/sh
DOCKER_IS_AVAILABLE="$(docker -v 2>&1 >/dev/null)"
if [[ ${DOCKER_IS_AVAILABLE} == '' ]]; then
echo -e "${bakgrn}[installed][Docker]${txtrst} already installed ;)" ;
else
echo -e "${bakcyn}[Docker] Start Install ${txtrst}";
wget -qO- https://get.docker.com/ | sh;
service docker start ;
user... | rtancman/dotfiles | sh/debian/scripts/docker.sh | Shell | gpl-2.0 | 443 |
while true; do
echo "Feed dog"
sleep 5
done | tee /dev/watchdog
| elegabriel/myzju | junior1/ES/report/任务23:看门狗/1233120104892_李昊_watchdog/feedDog.sh | Shell | gpl-2.0 | 85 |
#!/bin/bash
#FFMPEG installation script
# Copyright (C) 2007-2014 Sherin.co.in. All rights reserved.
#
# 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
# ... | ravensnowbird/ffmpeg-ubuntu-14-04 | lame.sh | Shell | gpl-2.0 | 1,504 |
#! /bin/sh
# RTEMS Build script.
#
# This script builds the RPM files then the Windows executables.
#
# Note: This file should be placed in crossrpms.
#
command_line="$0 $*"
terminate()
{
echo "error: $*" >&2
exit 1
echo "after"
}
check()
{
if [ $? -ne 0 ]; then
terminate $*
fi
}
debug=
hosts=
prefix=
no... | yangxi/omap4m3 | contrib/mingw/build.sh | Shell | gpl-2.0 | 1,515 |
#! /bin/bash
./ft_postgresql.sh --provider-version=9.5 $*
| severalnines/s9s-tools | tests/ft_postgresql_9.5.sh | Shell | gpl-2.0 | 59 |
#!/bin/bash
# Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0.
# begin configuration section.
cmd=run.pl
stage=0
min_lmwt=5
max_lmwt=17
#end configuration section.
[ -f ./path.sh ] && . ./path.sh
. parse_options.sh || exit 1;
if [ $# -ne 3 ]; then
echo "Usage: local/score_sclite.sh [--c... | michellemorales/OpenMM | kaldi/egs/swbd/s5b/local/score_sclite.sh | Shell | gpl-2.0 | 3,848 |
#!/bin/sh
#
# Copyright 2001-2002 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software... | TheTypoMaster/Scaper | openjdk/jdk/test/java/net/URLConnection/UNCTest.sh | Shell | gpl-2.0 | 1,510 |
#!/usr/bin/env bash
#
# This file is part of Pearl (https://github.com/fsquillace/pearl-ssh).
#
# Copyright (c) 2008-2015
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published
# by the Free Software Foundation; either version... | laur89/pearl-ssh | lib/ssh_pearl.sh | Shell | gpl-2.0 | 4,311 |
#!/bin/bash
for i in `seq 801 801`;
do
./makePNG 1024 1024 -0.80050000054739 -0.17073749999872 0.001 50000 $i 17 1 8 &
done
| rhennigan/code | c/png/run.sh | Shell | gpl-2.0 | 127 |
#! /bin/sh
export MKSQUASHFS_OPTIONS="-e boot initrd.img vmlinuz"
lh_build
| fr34k8/xenlivecd | arch-common/20-run-lh_build.sh | Shell | gpl-2.0 | 76 |
#!/bin/sh
# $Id: vboxconfig.sh $
## @file
# VirtualBox Configuration Script, Solaris host.
#
#
# Copyright (C) 2009-2015 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify i... | miguelinux/vbox | src/VBox/Installer/solaris/vboxconfig.sh | Shell | gpl-2.0 | 47,985 |
#! /bin/bash
if [ "x$1" == "x" ]; then
echo "Usage: computeCoverageFromBam.sh bamfilename"
exit 1
fi
if [ ! -e $1 ]; then
echo "File $1 does not exist."
exit 2
fi
inbam=$1
base=$(basename $1 .L.Dalen_14_wolf.scf.realigned.bam)
samtools stats -c 1,2000,1 $inbam > $base.stats
| shyamsg/SantasHelpers | computeCoverageFromBam.sh | Shell | gpl-2.0 | 297 |
#!/bin/bash
curDir=$(pwd)
#source $(code)/build/envsetup.sh
#here need sue system mm env
function debug() {
echo CurrentDir:${curDir}
}
debug
for dir in $(ls)
do
if [ -d $dir ]
then
echo $dir
cd $dir
mm
cd $curDir
fi
done
| kindsword/learning | shell/autoMM.sh | Shell | gpl-2.0 | 277 |
#!/bin/bash
echo 1: $1
echo 2: $2
echo 3: $3
echo 4: $4
| mekolat/ManaPlus | tools/ci/scripts/test.sh | Shell | gpl-2.0 | 57 |
#!/bin/sh
#
# Copyright (c) 2002 Network Associates Technology, Inc.
# Copyright (c) International Business Machines Corp., 2005
#
# 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... | rogerq/ltp-ddt | testcases/kernel/security/selinux-testsuite/tests/rxdir/selinux_rxdir.sh | Shell | gpl-2.0 | 2,587 |
#!/bin/bash
# TRL = 4
#set -x
base_dir=$PWD
# Parámetros comunes
CABECERA_H1=9040
CABECERA_H2=4528
CABECERA_H3=2272
CABECERA_H4=1144
CABECERA_L=1144
PICTURES=129
# Parámetros video
parametrosCIFx30 () {
X_DIM=352
Y_DIM=288
FPS=30
BLOCK_SIZE=152064
DURATION=`echo "$PICTURES/$FPS" | bc -l` #segundos
}
paramet... | vicente-gonzalez-ruiz/QSVC | trunk/tests/Control_BR_slopes/A_coastguard/slopesTRL_10.sh | Shell | gpl-2.0 | 14,994 |
#!/bin/bash
ENV_NAME='asetyaev-env-80'
VIRTUAL_ENV='/home/asetyaev/80-venv'
export JOB_NAME='system_test'
export WORKSTATION_USERNAME='vmware'
export WORKSTATION_PASSWORD='VMware01'
export VCENTER_PASSWORD='Qwer!1234'
export WORKSTATION_SNAPSHOT='nsxv_6.2'
export NSXV_PLUGIN_PATH=`ls ~/plugin/nsxv-2*`
export NSXV_PAS... | asetyaev/nsxv_plugin | launcher.sh | Shell | gpl-2.0 | 1,418 |
source ../paths.py
echo
echo "-----Stopping Neo4j-----"
echo
"$NEO4J_PATH/bin/neo4j" stop
echo
echo "-----Deleting old graph.db-----"
echo
rm -r "$NEO4J_PATH/data/graph.db"
echo
echo "-----Importing new dataset-----"
echo
"$NEO4J_PATH/bin/neo4j-import" --into "$NEO4J_PATH/data/graph.db" --nodes:Movie csv/movies.csv ... | Anmol-Singh-Jaggi/Recommend | with-DB/graphDB/setup_dataset/import_dataset.sh | Shell | gpl-2.0 | 694 |
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
# This file is a part of the Armbian build script
# https://github.com/ar... | multi-io/armbox | lib/distributions.sh | Shell | gpl-2.0 | 8,299 |
apt-get install liblz4-dev python-posix-ipc libturbojpeg1-dev
| picamera/picamera-grabber | setup.sh | Shell | gpl-2.0 | 62 |
#!/bin/bash
#
# Copyright(C) 2008, 2009, 2010 Jason Fleming
#
# This file is part of the ADCIRC Surge Guidance System (ASGS).
#
# The ASGS 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 th... | jasonfleming/asgs | output/notify.sh | Shell | gpl-3.0 | 3,655 |
#!/bin/bash
# Copyright (c) 2017 Nicola Fiori (JD342)
#
# This file is part of the Arc Integration for Thunderbird, licensed under
# the terms of the GNU General Public License 3.0.
main() {
case $1 in
--help) run_help;;
--export) run_export;;
*) run_default_build;;
esac
exit ... | JD342/arc-thunderbird-integration | tools/build/script.sh | Shell | gpl-3.0 | 2,696 |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
#
if [ -z "$PATH" ]; then
PATH=/opt/Xilinx/SDK/2016.1/bin:/opt/Xilinx/Vivado/2016.1/ids_lite/ISE/bin/lin64:/opt/Xilinx/Vivado/2016.1/bin
else
PATH=/opt/Xilinx/SDK/2016.1/bin:/opt/... | Darkin47/Zynq-TX-UTT | Vivado/image_conv_2D/image_conv_2D.runs/impl_1/runme.sh | Shell | gpl-3.0 | 1,073 |
#!/bin/sh
basedir=/root/server_manager/package/lvs
base_config_dir=/root/server_manager/puppet/all_config
install_tmp=/root/Tmp
ln -s /usr/src/kernels/2.6.18-164.el5-x86_64 /usr/src/linux
cd $basedir
tar zxf ipvsadm-1.24.tar.gz -C $install_tmp
cd $install_tmp/ipvsadm-1.24
make && make install
cd $basedir
tar zxf kee... | sunbenxin/python-script | monitor_scripts/server_manager/server_manager/puppet/all_sh/lvs_master_install.sh | Shell | gpl-3.0 | 622 |
#!/usr/bin/env bash
#
# This file is part of Emender.
#
# Emender 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; version 3 of the License.
#
# Emender is distributed in the hope that it will be useful,
# but... | emender/emender | examples/tagC_tagAtagB.sh | Shell | gpl-3.0 | 674 |
#!/bin/sh
#
# @file uninstall-libsbml-pkg.sh
# @brief This shell script uninstalls the libSBML package for MacOSX.
# @author Akiya Jouraku
#
# $Id: uninstall-libsbml-pkg.sh 12784 2011-02-08 07:37:42Z mhucka $
# $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/branches/libsbml-5/macosx/uninstall-libsbml-pkg.sh... | alexholehouse/SBMLIntegrator | libsbml-5.0.0/macosx/uninstall-libsbml-pkg.sh | Shell | gpl-3.0 | 3,093 |
#!/bin/sh
#/Applications/MAMP/Library/bin/mysqldump -u "root" -p"root" wikidbTest1 > dump.sql
mysql -u "root" -p"momo44" < createDBTest.sql
mysql -u "root" -p"momo44" wikidbTest1 < dump.sql
mysql -u "root" -p"momo44" wikidbTest2 < dump.sql
mysql -u "root" -p"momo44" wikidbTest3 < dump.sql
| momo54/DSMW | tests/initWikiTest.sh | Shell | gpl-3.0 | 292 |
#!/bin/bash
#Cygwin
#Stack trace of a stack dump file.
#Thanks google, people on internet.
awk '/^[0-9]/{print $2}' $1.exe.stackdump | addr2line -f -e $1.exe
| Manawyrm/slirpNG | src/stacktrace.sh | Shell | gpl-3.0 | 163 |
#!/bin/bash -e
cabal configure --enable-executable-profiling
cabal build > build.out
echo "Running profiled program..."
time `dist/build/blokus/blokus +RTS -hd -p -sblokus.summary >&2`
| djudd/blokus | profile.sh | Shell | gpl-3.0 | 185 |
julia testNN.jl ../output.txt ../wdbc.test ../results.txt
| RatanRSur/ai-project2 | src/testTest.sh | Shell | gpl-3.0 | 58 |
docker run -d --link my-rabbit:rabbit -e PATAVI_BROKER_HOST=rabbit \
--name patavi-gemtc-worker addis/patavi-gemtc-worker
| DanielReid/gemtc-web | run-worker.sh | Shell | gpl-3.0 | 124 |
#!/bin/bash
# dotfiles: collection of my personal dotfiles
# Copyright (C) 2012-2019 Aleksa Sarai <cyphar@cyphar.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 Li... | cyphar/dotfiles | dist/opensuse/53-wireguard.sh | Shell | gpl-3.0 | 879 |
#!/bin/sh
set -eu
# Start in FastCGI mode for serving over TLS via Nginx.
/opt/seafile/seafile-server-latest/seahub.sh start-fastcgi >> /var/log/service-seahub.log
| raghon1/seafile | seafile-s3ql-docker/service-seahub-run.sh | Shell | gpl-3.0 | 166 |
#!/bin/bash
#########################################
# List creation of packages to compile #
# Author: Daniel Olivera #
# #
# Modified: Diego Calbo #
# Date: 01/28/2015 #
# #
# Devel Team - UTUTO Project #
#########################################
#################################
# V... | PROYECTO-UTUTO/kit | 00-compile-list.sh | Shell | gpl-3.0 | 10,394 |
#!/bin/bash
echo "RUNNING TEST script1ASN_TCP.sh"
echo
PORT=2135
PROJECT_NAME=Exam2
DBDIR="../bin/testscripts/database"
mkdir -p ${DBDIR}
echo "java -cp ../bin/externals/*:../bin server.Handler -p ${PORT} -d ${DBDIR}/script1ASN_TCP.db &"
java -cp ../bin/externals/*:../bin server.Handler -p ${PORT} -d ${DBDIR}/scrip... | wnyffenegger/Project-Tracking-Server | testscripts/script1ASN_TCP.sh | Shell | gpl-3.0 | 981 |
#! /bin/sh
### Command-line validation
#
#
SRCDIR=$( dirname "$0" )
test -d "$SRCDIR" || { echo "! Can't find source directory." ; exit 1 ; }
MODULE="$1"
test -n "$MODULE" || { echo "! Usage: $0 <module>" ; exit 1 ; }
### Run-time validation
#
# .. switch SRCDIR to the module that has been found
BINDIR="$SRCDIR" # ... | stikonas/calamares | src/modules/testpythonrun.sh | Shell | gpl-3.0 | 1,497 |
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
until [ -z "$1" ]; do
type -t $1 >/dev/null 2>/dev/null
if (( $? != 0 )); then
... | lithqube/sedesgroup | IT/PATCH_SUPEE-6285_CE_1.9.1.1_v1-2015-07-10-08-10-09.sh | Shell | gpl-3.0 | 56,350 |
echo "*** config network ***"
cd /etc/netctl
cp examples/ethernet-dhcp .
sed -i -e "s/\(Interface=\).*/\1enp0s3/" ethernet-dhcp
netctl enable ethernet-dhcp
netctl start ethernet-dhcp
| bboortz/archlinux-scripts | build_os/post_scripts/100_network_config.sh | Shell | gpl-3.0 | 186 |
#!/usr/bin/env bash
basedir=$( dirname $( readlink -f ${BASH_SOURCE[0]} ) )
php -dphar.readonly=0 ${basedir}/continuum.php $*
| paragonie/airship | src/CommandLine/continuum.sh | Shell | gpl-3.0 | 128 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.