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
# begin configuration section.
# TODO Handle LMWT properly
# Verbose
set -x
KALDI_ROOT=/deep/group/speech/zxie/kaldi-stanford/kaldi-trunk
data=$KALDI_ROOT/egs/swbd/s5b/data/eval2000
dir=$1
ctmFile=$2
cmd=/deep/group/speech/zxie/kaldi-stanford/kaldi-trunk/egs/swbd/s5b/utils/run.pl
hubscr=$KALDI_ROOT/tool... | amaas/stanford-ctc | ctc_fast/swbd-utils/score_sclite_oov.sh | Shell | apache-2.0 | 1,986 |
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Lice... | davebarnes97/geode | ci/scripts/repeat-new-tests.sh | Shell | apache-2.0 | 3,765 |
#!/bin/bash
#
# Copyright 2017 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | denilsonm/advance-toolchain | fvtr/fvtr.sh | Shell | apache-2.0 | 7,182 |
#!/usr/bin/env sh
# This scripts downloads the mnist data and unzips it.
echo "Downloading..."
wget -q http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
wget -q http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz
wget -q http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz
wget -q http://yann.... | aravindhm/caffe | data/get_mnist.sh | Shell | bsd-2-clause | 634 |
#!/usr/bin/env bash
function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/$d}"; }
command="instruments"
function setTraceTemplate {
# Finds the default Automation trace template file.
traceTemplate=$(find /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments -type f -name "Au... | exponentjs/exponent | apps/bare-expo/scripts/deep-link.sh | Shell | bsd-3-clause | 1,235 |
#!/bin/bash
echo "Building with args=" $@
cake camio_perf_s.c $@
cake camio_perf_c.c $@
| camsas/qjump-camio-tools | camio_perf/build.sh | Shell | bsd-3-clause | 91 |
#!/bin/sh
# Clean up
apt-get -y remove dkms
apt-get -y autoremove
apt-get -y clean
# Remove temporary files
rm -rf /tmp/*
# Zero out free space
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
| sutch/image-building-sandbox | script/cleanup.sh | Shell | mit | 192 |
#!/usr/bin/env bash
if [ ! -e /etc/vagrant/env ]
then
echo ">>> setting up environment variables"
# make the env-create.sh executable
chmod a+x /vagrant/vagrant/scripts/env
/vagrant/vagrant/scripts/env
# now source them into the current terminal session
. /etc/profile.d/dev.sh
# only run once
touch /etc/va... | smebberson/hsu | vagrant/env.sh | Shell | mit | 394 |
#!/bin/bash
# script control variables
reponame="" # leave this blank for auto-detection
libname="" # leave this blank for auto-detection
packagename="" # leave this blank for auto-selection
debianlog="debian/changelog"
debcontrol="debian/control"
debcopyright="debian/copyright"
debrules="debian/rules"
debreadme="de... | Mutiny-Games/unicorn-hat-hd | packaging/makeall.sh | Shell | mit | 4,175 |
#!/bin/bash
./node_modules/bower/bin/bower install
./node_modules/gulp/bin/gulp.js | bewallyt/Kalendr | scripts/postInstall.sh | Shell | mit | 84 |
#!/bin/sh
# James Budiono 2011, 2013, 2015
# puppy test/compilation sandbox
# this version uses rw image
# version 2 - will ask for SFS, and now we use dialog for rw image file location/creation
# version 3 - change awk/sed script combo to one sed script
# version 4 - replace sed script with awk, make sure it will hand... | rserwin1/woof-CE | woof-code/rootfs-skeleton/usr/bin/sandbox-rw.sh | Shell | gpl-2.0 | 8,060 |
#!/bin/sh
# just use relpath
PREFS="root/.getflash/getflash-prefs"
[ "$(pwd)" = "/" -a ! -f $PREFS ] && cat > $PREFS <<-EOF
## getflash user preferences
## AUTOUPDATECHECK: true = check for updates at startup | false = do not check for updates at startup
AUTOUPDATECHECK="false"
## AUTOUPDATESILENTINSTALL: true... | ninaholic/woof-CE | woof-code/rootfs-packages/getflash/pinstall.sh | Shell | gpl-2.0 | 730 |
#!/usr/bin/env bash
#
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRA... | Alluxio/alluxio | bin/alluxio-masters.sh | Shell | apache-2.0 | 2,750 |
#ssh ros@riptide 'rm -rf ~/osu-uwrt/riptide_software/src'
#rsync -tvrz ~/osu-uwrt/riptide_software/src ros@riptide:~/osu-uwrt/riptide_software
~/osu-uwrt/riptide_software/src/riptide_utilities/xfer-riptide.sh
ssh ros@riptide 'cd ~/osu-uwrt/riptide_software && source /opt/ros/kinetic/setup.bash && catkin_make && source... | JustBenj/riptide_software | riptide_utilities/make-riptide.sh | Shell | bsd-2-clause | 450 |
#!/usr/bin/env bash
STRING_SYMBOL_FILE="func.list"
HEAD_FILE="$PROJECT_DIR/ObfuscateHeader.h"
export LC_CTYPE=C
ramdomString()
{
openssl rand -base64 64 | tr -cd 'a-zA-Z' |head -c 16
}
rm -f $HEAD_FILE
touch $HEAD_FILE
echo '#ifndef ObfuscateHeader_h
#define ObfuscateHeader_h' >> $HEAD_FILE
echo "//confuse string a... | wenbobao/CodeDemo | classdumpDemo/ipa/mix/Payload/classdumpDemo.app/confuse.sh | Shell | mit | 570 |
#!/bin/bash
# Build perl
sh Configure -de -Dprefix=$PREFIX -Duserelocatableinc -Dcc=${PREFIX}/bin/gcc
make
make install
| ThomasWollmann/bioconda-recipes | recipes/perl/build.sh | Shell | mit | 121 |
# First build the OS X framework to get its folder structure.
xcodebuild -configuration Release -target OCMockito -sdk macosx
# We'll copy the OS X framework to a new location, then modify it in place.
OSX_FRAMEWORK="build/Release/OCMockito.framework/"
IOS_FRAMEWORK="build/Release/OCMockitoIOS.framework/"
# Trigger b... | SinnerSchraderMobileMirrors/OCMockito | Source/MakeIOSFramework.sh | Shell | mit | 1,889 |
#!/bin/bash
for var in "$@"
do
make --no-print-directory -C /home/fred/paparazzi -f Makefile.ac AIRCRAFT=bebop2$var clean_ac &> /dev/null
make --no-print-directory -C /home/fred/paparazzi -f Makefile.ac AIRCRAFT=bebop2$var ap.compile 2>/dev/null
echo "Built: bebop 2$var"
done
| elinebakker/paparazzi | sw/tools/autoswarm/clean_build.sh | Shell | gpl-2.0 | 278 |
# Set a version string for this script.
scriptversion=2015-01-20.17; # UTC
# General shell script boiler plate, and helper functions.
# Written by Gary V. Vaughan, 2004
# Copyright (C) 2004-2015 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not... | kuym/openocd | tools/libtool-2.4.6/build-aux/funclib.sh | Shell | gpl-2.0 | 38,121 |
#!/bin/sh
exec autoreconf -f -i -v
| xbmc/atv2 | xbmc/lib/libmms/libmms_win32/autogen.sh | Shell | gpl-2.0 | 35 |
#!/usr/bin/env bash
set -euo pipefail
hostname="$(hostname --all-fqdn | grep openstacklocal | head -n 1)"
# Make sure there is no whitespace around the hostname
hostname="$(echo ${hostname})"
if [ -n "${hostname:-}" ]; then
# Set hostname the systemd way if possible, else fall back to manual way.
if [ "$(which... | elyezer/pulp_packaging | ci/nodepool/scripts/fix_hostname.sh | Shell | gpl-2.0 | 511 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2015 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... | p2rkw/tup | test/t4082-refactor-rename-cmd.sh | Shell | gpl-2.0 | 1,297 |
#!/bin/sh
# Simulationskontroll skript
# !! Some of these paramters have to be set in the actual simulation scripts too! (e.g. skde-href.tcl)
simTime=4100
warmUpTime=500
capacity=4000000;
# voip traffic
for i in 2 3 4 5;
do
lossExp="$i"
# reference bandwidth
mkdir voip-poo-href-$lossExp
cd voip-poo-href-$loss... | tmbohnert/ns2-mbac | ns-2.29/diffserv/ac/tcl/skde/evaluating/mts/sim-4/runSim-4.sh | Shell | gpl-2.0 | 1,422 |
#!/bin/bash
python manage.py test agora_core --settings=agora_site.test_settings
| MareAtlantica/agora-ciudadana | runtests.sh | Shell | agpl-3.0 | 82 |
#!/bin/bash
cat > cities-controller.json <<EOF
{
"kind": "ReplicationController",
"apiVersion": "v1beta3",
"metadata": {
"name": "cities",
"labels": {
"name": "cities"
}
},
"spec": {
"replicas": 3,
"selector": {
"name": "cities"
},
"template": {
"metadata": {
... | wercker/wercker-kubernetes-quay | create_cities-controller.json.sh | Shell | mit | 868 |
#!/bin/bash
fmtcount=`git ls-files | grep '.go$' | xargs gofmt -l 2>&1 | wc -l`
if [ $fmtcount -gt 0 ]; then
echo "run 'go fmt ./...' to format your source code."
exit 1
fi
| jj-tyro/raftmcd | vendor/github.com/rqlite/rqlite/gofmt.sh | Shell | mit | 181 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# This was lifted from the Gimp, and adapted slightly by
# Raph Levien, slightly hacked for xine by Daniel Caujolle-Bert.
DIE=0
PROG=alephone
# Check how echo works in this /bin/sh
case `echo -n` in
-n) _echo_n= _echo_c='\c';;
*) _echo_n=-n _echo_c=... | LidMop/alephone | autogen.sh | Shell | gpl-3.0 | 1,937 |
echo "First, create the new year's post, by executing ./display.py in the new year's directory. When done, copy the URL, and paste it into the top of"
echo "display-final-after-year-is-over.py . Then execute step-2, then step-3, then step-4"
| foobarbazblarg/stayclean | stayclean-2021/after-the-last-day-of-the-year-step-1.sh | Shell | mit | 244 |
# migrate fs_uuid_mapping
# skip if no mappings
test -s "$FS_UUID_MAP" || return 0
# FIXME: What the heck does that "TAG-15-migrate" mean?
Log "TAG-15-migrate: $FS_UUID_MAP"
# create the sed script
local sed_script=""
local old_uuid new_uuid device
while read old_uuid new_uuid device ; do
sed_script="$sed_script... | phracek/rear | usr/share/rear/finalize/GNU/Linux/280_migrate_uuid_tags.sh | Shell | gpl-3.0 | 4,207 |
#!/bin/sh
INDEX=nls_main.shtml
DATADIR="http://itl.nist.gov/div898/strd/nls/data/LINKS/DATA"
# Data file example:
# http://itl.nist.gov/div898/strd/nls/data/LINKS/DATA/Misra1a.dat
for datafile in \
`grep shtml $INDEX | grep data | awk -F'/' '{print $8}' \
| awk -F'>' '{ print $NF }' | awk -F'<' '{ print $1 }'` ; d... | maupatras/gretl_teamC | tests/nist-nls/get_data.sh | Shell | gpl-3.0 | 485 |
#!/bin/sh
test_description='Rebase between trees with a file and a dir with the same name'
. ./test-lib.sh
test_expect_success 'Set up a repo with two branches' '
mkdir x &&
echo "Jag älskar morötter" > x/y &&
git add x/y &&
git commit -m "Commit where x is a directory" &&
git tag x-dir &&
gi... | vincele/stgit | t/t2201-rebase-file-dir.sh | Shell | gpl-2.0 | 646 |
#!/usr/bin/env bash
rm -rf public && hugo server --watch --verbose --buildDrafts
| artesanosDeSoftware/website | site/run.sh | Shell | apache-2.0 | 82 |
#!/bin/bash
set -e -o pipefail
name=$(basename $0 .sh)
tmpdir=$(mktemp -t -d "${name}.XXXXXX")
tpl=${srcdir}/${name}.xml.tpl
input=${tmpdir}/${name}.xml
result=${tmpdir}/${name}.results.xml
echo "Temp dir: $tmpdir"
# prepare the environment
sed "s@%PATH%@${tmpdir}@" $tpl > $input
ln -s /etc/hosts ${tmpdir}/sl1
ln -s... | openprivacy/openscap | tests/probes/textfilecontent54/test_symlinks.sh | Shell | lgpl-2.1 | 1,717 |
#! /bin/bash
. ./config.sh
C1=10.2.0.78
C2=10.2.0.34
NAME=seetwo.weave.local
STATIC1=10.9.9.9
STATIC1_NAME=static1.name
STATIC2=10.10.10.10
STATIC2_NAME=static2.name
STATICS_ARGS="--add-host=$STATIC1_NAME:$STATIC1 --add-host $STATIC2_NAME:$STATIC2"
start_suite "Resolve names on a single host"
weave_on $HOST1 launc... | awh/weave | test/200_dns_test.sh | Shell | apache-2.0 | 992 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following condi... | ibizaman/conffiles | zsh/zsh-syntax-highlighting/highlighters/cursor/cursor-highlighter.zsh | Shell | mit | 2,491 |
#! /bin/sh
#
# Step 1.
# Configure for base system so simulator is covered
#
# Step 2.
# Make for iOS and iOS simulator
#
# Step 3.
# Merge libs into final version for xcode import
export PREFIX="$(pwd)/libsodium-ios"
export IOS32_PREFIX="$PREFIX/tmp/ios32"
export IOS32s_PREFIX="$PREFIX/tmp/ios32s"
export IOS6... | Jigsaw-Code/outline-client | third_party/sodium/dist-build/ios.sh | Shell | apache-2.0 | 4,106 |
#!/bin/bash
# If it has Build.PL use that, otherwise use Makefile.PL
cpanm --installdeps .
if [ -f Build.PL ]; then
perl Build.PL
perl ./Build
perl ./Build test
# Make sure this goes in site
perl ./Build install --installdirs site
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
... | JenCabral/bioconda-recipes | recipes/perl-hpc-runner-command/3.0.1/build.sh | Shell | mit | 675 |
#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "... | WilliamNouet/nifi | nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi-env.sh | Shell | apache-2.0 | 1,110 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/hg/featureBits && make)
cp bin/featureBits "$PREFIX/bin"
chmod +x "$PREFIX/bin/featureBits... | roryk/recipes | recipes/ucsc-featurebits/build.sh | Shell | mit | 322 |
#!/usr/bin/env bash
path=${1}
interface=${2-octave}
module=`echo ${1} | awk -F/ '{print $3}'`
filename=`echo ${1} | awk -F/ '{print $4}' | cut -d '.' -f 1`
if [ "${interface}" == "octave" ]; then
echo "${module}('${filename}')" | octave
else
echo "${module}('${filename}')" | matlab -nojvm -nodisplay
fi
| youssef-emad/shogun | tests/integration/matlab_and_octave/test_one.sh | Shell | gpl-3.0 | 311 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ RRBSdata
| ostrokach/bioconda-recipes | recipes/bioconductor-rrbsdata/pre-unlink.sh | Shell | mit | 55 |
#!/bin/bash
set -e
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/common.sh"
GO_VERSION=($(go version))
echo "Detected go version: $(go version)"
go get golang.org/x/tools/cmd/cover github.com/tools/godep golang.org/x/tools/cmd/vet
| Jandersoft/origin | hack/install-tools.sh | Shell | apache-2.0 | 252 |
#!/bin/bash
short_system=$(uname -s)
sys_vagrant="0"
sys_cygwin="0"
sys_osx="0"
mongo_missing="0"
node_missing="0"
heroku_missing="0"
npm_missing="0"
# set this to the number of the current lab
cur_lab=5
system=$(uname -a | cut -d' ' -f1,2)
if [ "$system" == "Linux precise32" ] || [ "$system" == "Linux vagrant-ubun... | kseligson/lab5 | check-setup.sh | Shell | mit | 4,399 |
pkg_origin=looprock
pkg_name=megaphone
pkg_version=0.2.1
pkg_maintainer="Douglas Land <dsl@looprock.com>"
pkg_license=()
pkg_source=https://github.com/looprock/${pkg_name}/archive/${pkg_version}.tar.gz
pkg_shasum=c967a4bec7d70359ebfc325078097635945bb5c7d8262614762562f0a2c9ac36
pkg_filename=${pkg_name}-${pkg_version}.ta... | looprock/Megaphone | plan.sh | Shell | isc | 1,093 |
#!/bin/bash
mongo ds151927.mlab.com:51927/snippets -u <dbuser> -p <dbpassword>
| nwillc/mysnipserver | mongo.sh | Shell | isc | 79 |
#!/bin/bash
#CONTINENT=$1
COUNTRY=russia
VERSION=`OSMScoutImport --data-version`
BASEDIR=$PWD
CONTOURS=3sec-sparse
##############################################################
#./download.sh $CONTINENT $COUNTRY || exit 1
if [ "$DOWNLOAD" != "skip" ] ; then
wget "http://download.geofabrik.de/$COUNTRY-latest.osm.... | Karry/osmscout-scripts | build-russia.sh | Shell | mit | 2,437 |
#!/usr/bin/env bash
#
# This bootstraps Puppet on Ubuntu 12.04 LTS.
#
set -e
# Load up the release information
. /etc/lsb-release
REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release-${DISTRIB_CODENAME}.deb"
#--------------------------------------------------------------------
# NO TUNABLES BELOW THIS POINT
#-... | shortpgh/one-touch-devenv-starter | shell/install-puppet.sh | Shell | mit | 1,296 |
#!/bin/sh
cmd=`basename $0`
proj=$1
shift
export COMPOSE_OPTIONS="-e COMPOSEROOT=${PWD} -e INTRANETIP=${INTRANETIP}"
docker-compose -f ${proj}/docker-compose.yml ${cmd} $@
| twhtanghk/docker.shell | bin/cmd.sh | Shell | mit | 174 |
#!/bin/bash
VERSION='1.0'
PACKAGE_REVISION='3'
# Make a temperary directory for the debian package
mkdir tttpy_${VERSION}-${PACKAGE_REVISION}
chmod 0755 tttpy_${VERSION}-${PACKAGE_REVISION}
cd tttpy_${VERSION}-${PACKAGE_REVISION}
# Create the DEBIAN/control file
mkdir DEBIAN
cat >> DEBIAN/control << EOM
Package: tttp... | CharmySoft/tic-tac-toe-in-python | build-deb.sh | Shell | mit | 2,337 |
elm make examples/LowLevel/Network/Socket/Main.elm --output=examples/LowLevel/Network/Socket/main.js
echo "Elm.worker(Elm.Main);" >> examples/LowLevel/Network/Socket/main.js
echo "Can we echo?"
node examples/LowLevel/Network/Socket/main.js
# telnet localhost 8080
| Fresheyeball/elm-node | examples/LowLevel/Network/Socket/run.sh | Shell | mit | 264 |
#!/bin/bash
PWD=`readlink -m $( type -p $0 )`
APP=`dirname $PWD`
LOGF="$APP/../app/logs/cronjob"
LOG="$LOGF/process_bill.log"
CMD="$APP/../app/console crm:loadbill --path=$APP/../ --env=prod"
php $CMD
| CaoPhiHung/CRM | cmd/process_bill.sh | Shell | mit | 202 |
#! /bin/bash
#
gfortran -c -Wall hermite_cubic_test.f90
if [ $? -ne 0 ]; then
echo "Compile error."
exit
fi
#
gfortran hermite_cubic_test.o $HOME/lib/hermite_cubic.o
if [ $? -ne 0 ]; then
echo "Load error."
exit
fi
rm hermite_cubic_test.o
#
mv a.out hermite_cubic_test
./hermite_cubic_test > hermite_cubic_test.t... | ndarmage/pppack | src/hermite_cubic/f90/hermite_cubic_test.sh | Shell | mit | 431 |
#!/usr/bin/env bash
set -e
ROOT=$(dirname "$0")
HELM_DIR="$ROOT/../helm_deploy/cla-backend/"
kubectl config use-context docker-for-desktop
docker build -t cla_backend_local "$ROOT/../"
helm upgrade cla-backend \
$HELM_DIR \
--values ${HELM_DIR}/values-dev.yaml \
--set-string pingdomIPs=$PINGDOM_IPS \
--instal... | ministryofjustice/cla_backend | bin/local_deploy.sh | Shell | mit | 346 |
#!/bin/bash
#Generate the JAR files from endpoint service
echo "Building Endpoint and Consumer JAR..."
GENERATE=`./gradlew clean build`
rc=$?; if [[ $rc != 0 ]]; then echo "Could not build the endpoint and consumer JAR"; exit $rc; fi
echo "Endpoint and Consumer JAR built"
#Build codecompiler endpoint service here
ec... | manoharprabhu/CodeCompiler | build_docker_images.sh | Shell | mit | 1,449 |
#!/usr/bin/env bash
#
# Check bash for CVE-2014-6271 (shellshock)
# http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6271
#
# Usage: check_shellshock.sh
# -h, --help Display this screen
#
# (c) 2014, Benjamin Dos Santos <benjamin.dossantos@gmail.com>
# https://github.com/bdossantos/nagios-plugins... | bdossantos/nagios-plugins | check_shellshock.sh | Shell | mit | 925 |
#!/bin/bash
SINK=sink
SINK_DEV=em0
GEN=bsd0
GEN_DEV=em1
DURATION=35
WAIT=10
DURATION=$( expr $DURATION - $WAIT )
GEN_ARGS="-S 00:1b:21:13:db:d4 -D 00:0d:b9:3b:19:c5 -d 2.2.2.20 -s 1.1.1.10"
#GEN_ARGS="-S 00:1b:21:13:db:d4 -D 00:00:24:d1:66:a5 -d 1.1.1.10 -s 2.2.2.20"
#GEN_ARGS="-S 00:1b:21:13:db:d4 -D AC:22:0B:8D:4... | JanSkalny/tools | benchmarks/pps pktgen/run_test_single.sh | Shell | mit | 1,392 |
# Use `hub` as our git wrapper:
# http://defunkt.github.com/hub/
hub_path=$(which hub)
if (( $+commands[hub] ))
then
alias git=$hub_path
fi
# The rest of my fun git aliases
alias ga='git add'
alias gaa='git add -A'
alias gpll='git pull'
alias gpllp='git pull --prune'
alias gl="git log --graph --pretty=format:'%Cre... | JPBetley/dotfiles | git/aliases.zsh | Shell | mit | 852 |
#!/bin/bash
DIR_ROOT=$1
VERSION="0.63"
echo "Installing gnormalize:"
# may need to install libavcodec-extra - but is conflicts with already installed packages
sudo aptitude install mpg321 faac faad lame flac libcdaudio1 libcdaudio-dev libperl-dev musepack-tools cmake vorbis-tools cdparanoia
curl -L -o /tmp/gnormalize.t... | dArignac/debian-setup | scripts/gnormalize.sh | Shell | mit | 538 |
#!/bin/bash
set -e
# Deploy dist file to website
REF=$(echo $GITHUB_REF | cut -d'/' -f 3)
TARGET_REPO="Cecilapp/website"
TARGET_BRANCH="master"
TARGET_RELEASE_DIR="download/$REF"
TARGET_DIST_DIR="static"
DIST_FILE="cecil.phar"
DIST_FILE_SHA1="cecil.phar.sha1"
TARGET_CONTENT_DIR="content"
USER_NAME=$GITHUB_ACTOR
USER_... | Narno/PHPoole | scripts/deploy-dist.sh | Shell | mit | 1,680 |
#!/usr/bin/env bash
git add .
git commit -m"submit"
git pull
git push origin master
| ILoveStudy/NodejsToken | push.sh | Shell | mit | 86 |
#!/bin/bash
protoc --go_out=. pbt.proto
| MarsBighead/garden | marble/pbt/gen.sh | Shell | mit | 45 |
export M2_HOME=/opt/maven
export PATH=${M2_HOME}/bin:${PATH}
| GustavHenning/usefulBash | conf/mavenenv.sh | Shell | mit | 61 |
#!/usr/bin/env bash
erl -pa ebin -pa ../shared/ebin -pa $(find ../deps/mongodb-erlang -name ebin) -pa $(find ../deps/lager -name ebin) \
-name db@127.0.0.1 -detached -s user_default start_db_server
| 2nth0nyj/CardsGame | db_server/run.sh | Shell | mit | 201 |
#!/bin/sh
#builds image from Dockerfile with name: `hadoop-image` and `latest` tag
docker build -t hadoop-image .
| FutureProcessing/what-should-i-learn-next | big-data/hadoop-in-docker/build-hadoop-single-node-image.sh | Shell | mit | 115 |
#!/bin/bash
echo "Working directory: [`pwd`]"
echo "Generating cobertura reports to be submited to coverall service"
mvn cobertura:cobertura coveralls:report -P coveralls
| jeslopalo/sandbox-test-support | src/main/scripts/build/cobertura.sh | Shell | mit | 173 |
# Check for required meteor microservice container image name and port no
if [ "$#" -lt 2 ]; then
echo "Please specify the correct parameters for microservice name and port no"
echo "Correct syntax: $0 <service name> <port no> [<docker host>]"
exit 1
fi
dimage="tradedepot/$1"
dockerhost="http://localhost"
... | c2gconsulting/bp-core | scripts/runserv.sh | Shell | mit | 1,465 |
user1="user1"
echo " [ MAIL ] "
echo " * Creating $user1..."
useradd $user1 -m
passwd $user1
user2="user2"
echo " * Creating $user2..."
useradd $user2 -m
passwd $user2 | Kikobeats/server-sandbox | Services/Mail/account.sh | Shell | mit | 168 |
if [ -z "$1" ]
then
echo "Please supply a subdomain to create a certificate for";
echo "e.g. www.mysite.com"
exit;
fi
DOMAIN=$1
COMMON_NAME=${2:-*.$1}
SUBJECT="/C=BE/ST=Vlaams-Brabant/L=Leuven/O=Zenjoy/OU=IT Department/CN=$COMMON_NAME"
# Starting on September 1st (2020), SSL/TLS certificates cannot be issued for... | zenjoy/dotfiles | bin/create_certificate_for_domain.sh | Shell | mit | 1,381 |
aws iam attach-group-policy --group-name $1 --policy-arn arn:aws:iam::aws:policy/AWSElasticBeanstalkFullAccess
| dmitrinesterenko/sample_phoenix_ecs | scripts/aws/iam/elasticbeanstalk/attach-group-policy_elasticbeanstalk-fullaccess.sh | Shell | mit | 111 |
#!/usr/bin/env bash
if [[ "$TRAVIS_OS_NAME" == "linux" ]]
then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
fi
if [[ "$TRAVIS_TAG" ]]
then
echo "Tag set, do not Build. see https://github.com/electron-userland/electron-builder/issues/429"
else
npm run test && npm run standard && npm run dist... | gamestailer94/quest-editor | script/travis-build.sh | Shell | mit | 323 |
#!/usr/bin/env bash
VERSION=${1:-"dev"}
UNITY_PROJECT_NAME="newbark"
UNITY_BIN="/Applications/Unity/2019.2.8f1/Unity.app/Contents/MacOS/Unity"
unity_build() {
target=$1
alias=$2
ext=$3
dir="$(pwd)/Builds/$UNITY_PROJECT_NAME-$alias-v$VERSION"
binfile="$dir/$UNITY_PROJECT_NAME$ext"
zipfile="$UNITY_PROJECT_NAME-$a... | pokettomonstaa/NewBark | Builders/build.sh | Shell | mit | 872 |
python -m unittest de.staticline.tests.test_all | whiskey/Machine-Learning | testAllPyUnits.sh | Shell | mit | 47 |
unicorn_init_script="/etc/init.d/unicorn-${app_full_name}"
service_unicorn(){
if [ -f "${unicorn_init_script}" ] ; then
echo "Executing ${unicorn_init_script} $1"
$unicorn_init_script $1
fi
}
stop_unicorn(){
service_unicorn stop
}
start_unicorn(){
service_unicorn start
}
restart_unicorn(){
service... | reinteractive/OpsCare | lib/generators/ops_care/templates/deploy_hooks/services/unicorn-service.sh | Shell | mit | 379 |
#!/bin/bash -e
# Copy testing data to their respective directories on an as-needed basis
mkdir -p /var/lib/mysql
cp -rf /container/test/database/* /var/lib/mysql/ || true
| osixia/docker-mariadb | image/service/mariadb/test.sh | Shell | mit | 172 |
#!/bin/bash
## Runs n tests on all multisets, stroing the output in
## performance.out as:
## PROGRAM DATA-FILE-A DATA-FILE-B SEED TIME(Nanosec.) ALG-OUTPUT(Yes/No)
## Usage: bash -f timeit.sh program nRuns
PRG=$1
RUNS=$2
if [ -z $3 ] && [ -z $4 ]; then
for i in data1a,data1b data2a,data2b data3a,data3b data4a,data... | YnkDK/randomF14-project2 | timeit.sh | Shell | mit | 1,229 |
#!/bin/sh
# If a command fails then the deploy stops
set -e
rez-env hugo -- hugo server -w -v --debug --buildDrafts | oktomus/website | watch.sh | Shell | mit | 117 |
# ------------------------------------------------------------------------------
# FILE: composer.plugin.zsh
# DESCRIPTION: oh-my-zsh composer plugin file.
# AUTHOR: Daniel Gomes (me@danielcsgomes.com)
# VERSION: 1.0.0
# -----------------------------------------------------------------------... | zoli/oh-my-zsh | plugins/composer/composer.plugin.zsh | Shell | mit | 1,101 |
#!/bin/bash
echo ""
echo "Start the K3D cluster $K3_CLUSTER_NAME"
echo ""
echo "" + ${K3_CLUSTER_NAME}
echo "" + ${K8S_NAMESPACE}
echo ""
if [ -z "$K3_CLUSTER_NAME" ]
then
echo "environment variable \$K3_CLUSTER_NAME empty"
else
echo "k3d cluster start $K3_CLUSTER_NAME"
k3d cluster start "$K3_CLUSTER_NAME"
fi
| davelip/home | bin/k3cs.sh | Shell | mit | 319 |
#!/bin/sh
pbcopy | lieven/timetracker | TimeTracker/DefaultScripts/Copy To Clipboard.sh | Shell | mit | 17 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2805-1
#
# Security announcement date: 2013-11-27 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:45 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - sup-mail:0.12.1+git20120407.aaa852f... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2013/DSA-2805-1.sh | Shell | mit | 700 |
#!/bin/bash
# subscript for VBBar BitBar plugin
# ENTER EITHER ACCESS ID FOR THE VBB API OR ACCESS TOKEN FOR THE MAPBOX API
LANG=en_US.UTF-8
ACCOUNT=$(who am i | /usr/bin/awk {'print $1'})
PREFS="local.lcars.VBBar"
VBB_LOGO="VBBLogo.png"
if [[ "$1" == "vbb" ]] ; then
API_ID_ENTRY=$(/usr/bin/osascript << EOT
tell ap... | JayBrown/VBBar | VBBar/vbbar-api.sh | Shell | mit | 2,344 |
#!/bin/bash
#Con este script se instalan los paquetes necesarios para realizar los test
#Comprobamos que sea root
if [[ $EUID -ne 0 ]]; then
echo "Debes ser root para ejecutar este script"
else
#Instalación de Mocha
npm install -g mocha
npm install mocha
#Instalación de Chai
npm install chai
#Instalación ... | iblancasa/BackendSI2-IV | test/installTestSuite.sh | Shell | mit | 363 |
#!/bin/bash
# Check presence and versions of outside-of-node dependencies, including the
# version of nodejs, and warn about system issues that would cause problems.
# This is run as a postinstall script from package.json.
echo -n "Checking for node... "
if which node >/dev/null; then
node --version 2>&1
NODE_MAJO... | Discordius/Lesswrong2 | scripts/postinstall.sh | Shell | mit | 2,660 |
#!/usr/bin/env bash
# ####################################
# Copyright © 2012 - 2021 by Renaud Guillard (dev@nore.fr)
# Distributed under the terms of the MIT License, see LICENSE
# ####################################
# Create ns-xml distributions
# ####################################
scriptFilePath="${0}"
cwd="$(pw... | noresources/ns-xml | tools/sh/make-archives.sh | Shell | mit | 2,584 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3021-1
#
# Security announcement date: 2014-09-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:02 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - file:5.11-2+deb7u4
#
# Last version... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2014/DSA-3021-1.sh | Shell | mit | 762 |
#!/usr/bin/env sh
set -e
caffe train --solver=imgo_value_solver.prototxt $@
| imalerich/imgo | value/train.sh | Shell | mit | 77 |
#!/bin/sh
#
# etcetera.sh
# Etc CLI
#
# Etcetera directory is define as ~/.etc by default if not already specified as
# enviromental variable
export ETC_DIR="${ETC_DIR-$HOME/.etc}"
DEPLOYMENT_PATH="$ETC_DIR/deploy/deployment.etc"
MAKE_ARG=""
FORCE=false
#Parse Options
while getopts "hfd:" opt
do
case $opt in
h)
... | MrPudin/Etc | src/etcetera.sh | Shell | mit | 3,562 |
#!/bin/bash
set -e
: ${PG_DOCK_CONF_IMAGE?Need a PG_DOCK_CONF_IMAGE}
echo "Updating config files at host machine"
docker run --rm -t -v /opt/pg-dock/scripts:/etc/scripts ${PG_DOCK_CONF_IMAGE} | xcrezd/pg-dock | update.sh | Shell | mit | 195 |
#!/bin/sh
cd /usr/share/games/Sokoban
python sokoban.py
| panosmdma/SlackOnly-SlackBuilds | games/Sokoban/Sokoban.sh | Shell | mit | 56 |
#!/bin/bash
/usr/bin/xset -dpms
/usr/bin/xset s noblank
/usr/bin/xset s off
/usr/bin/x11vnc \
-dontdisconnect \
-no6 -noipv6 \
-display :0 \
-noxfixes \
-shared \
-forever \
-rfbport 5900 \
-tightfilexfer \
-bg \
-o ~/x11vnc.log \
-rfbauth ~/.vnc/passwd
exit 0
| GuramDuka/customer_terminal | x11vnc_start.sh | Shell | mit | 305 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2008:0814
#
# Security announcement date: 2008-08-11 17:50:37 UTC
# Script generation date: 2017-01-01 21:12:19 UTC
#
# Operating System: Red Hat 5
# Architecture: i386
#
# Vulnerable packages fix on version:
# - condor-test.i386:7.0.4-4.el5
#
# Last ver... | Cyberwatch/cbw-security-fixes | Red_Hat_5/i386/2008/RHSA-2008:0814.sh | Shell | mit | 602 |
#/usr/bin/bash
DestPath="./OAR*.stdout"
for f in $DestPath
do
x=$(sed '$!d' $f)
if [[ $x == LoadDataName* ]]
then
rm $f
fi
#if grep 'error:' $f
#then
# rm $f
#fi
done
| lucaskingjade/FPHMM_ActionRecognition_Project | recognition/activityRecognition/SynthesisExp009/Experiment002/deletescript.sh | Shell | mit | 193 |
#!/bin/sh
exec cat| sed "s/^[In\ file\ included\ from\ ]*\S*\///g" | sed "s/note:/\nnote:/g" | sed "s/error:/\nerror:/g" #| sed 's/\/home\/marius\/cg\/src\///g'
| mjgerdes/cg | filter/myfilter.sh | Shell | mit | 161 |
#!/bin/bash
python RunSimulation.py --Geo 1.0 --sim_num 22
| xji3/IGCCodonSimulation | ShFiles/YDR418W_YEL054C_IGCgeo_1.0_sim_22.sh | Shell | mit | 59 |
docker run -itd --name debian-jessie-dev --hostname debian-jessie-dev --memory-swappiness=99 -m 256M --memory-reservation 8M --oom-kill-disable=true --memory-swap=-1 gestiweb/debian-jessie:latest
| gestiweb/docker-base | dev/debian-jessie/test_swap.sh | Shell | mit | 197 |
# node version manager
echo " Checking nvm installation"
if [ ! -s ~/.nvm/nvm.sh ]
then
info "Installing nvm"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 5.12.0
nvm alias default 5.12.0
fi
| AravinthPanch/dotfiles | node/install-0-nvm.sh | Shell | mit | 275 |
#export EDITOR='subl' | khirakawa/dotfiles | system/env.zsh | Shell | mit | 21 |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you m... | mplaine/xformsdb | tools/tomcat/bin/catalina.sh | Shell | mit | 21,705 |
#!/bin/bash
# Extended globs ("extglob") qualify as regular expressions; they have closure,
# union and grouping operators.
shopt -s extglob
check() {
local -r message=$1
# Commit Message Max Length
if [ ${#message} -gt 100 ]; then
fail "commit message \"${message}\" can not be longer than 100 chars"
s... | Starefossen/wercker-git-commit-check | run.sh | Shell | mit | 1,851 |
#!/usr/bin/env bash
# This is a template for the ebookgen_config.sh file
# The short name of the book (used by the script, and in filenames)
NAME= 'example'
# What formats to build by default (space separated):
FORMATS='epub html'
# The cover image to use
COVER_IMAGE=images/cover.jpg
# The markdown files to includ... | TimPollard/ebookgen | ebookgen_config.template.sh | Shell | mit | 591 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.