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
# Set the profile
eselect profile set ${clst_target_profile}
# Trap these signals and kill ourselves if recieved
# Force ourselves to die if any of these signals are recieved
# most likely our controlling terminal is gone
trap "echo SIGTERM signal recieved killing $0 with pid $$;kill -9 $$" SIGTERM
trap "... | benkohler/catalyst | targets/support/chroot-functions.sh | Shell | gpl-2.0 | 12,363 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: finish.sh
# Required-Start: $remote_fs rmnologin
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Finish system start
# Description:
### END INIT INFO
if ! test -e /etc/.configured; then
> /etc/.configured
fi
| pli3/pli3-openpli3 | openembedded-core/meta/recipes-core/initscripts/initscripts-1.0/finish.sh | Shell | gpl-2.0 | 306 |
#!/bin/sh
# Use multiple user behavior
#python train.py -Retrain True -Init gaussian -Csampling uniform -Cbehavior triple -topk 4
#python train.py -Retrain False -Init gaussian -Csampling uniform -Cbehavior triple -topk 2
# Use single user behavior
#python train.py -Retrain True -Init gaussian -Csampling uniform -Cbe... | anthonylife/TaobaoCompetition2014 | src/bpr-1.0/run.sh | Shell | gpl-2.0 | 558 |
#!/usr/bin/bash
DATE=`date +%Y%m%d`
TMPFILE=tmp/$0.tmp
CLIENTSTEXFILE=output/Clients_$(hostname)_$DATE.tex
cat conf/encabezado_latex.tex > $CLIENTSTEXFILE
bpplclients -allunique -U > $TMPFILE
echo "\newline" >> $CLIENTSTEXFILE
echo "* Listado de Clientes del servidor $(hostname)" >> $CLIENTSTEXFILE
echo "\ne... | aledec/varios | netbackup_inventory/list_all_clients.sh | Shell | gpl-2.0 | 564 |
convert images/OCS-352-A.png -crop 1558x4520+145+297 +repage images/OCS-352-A.png
#
#
#/OCS-352.png
convert images/OCS-352-B.png -crop 1515x4524+91+295 +repage images/OCS-352-B.png
#
#
#/OCS-352.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-352.sh | Shell | gpl-2.0 | 199 |
#!/bin/bash
cppcheck_path=cppcheck_github/
cppcheck_bin="${cppcheck_path}cppcheck"
cppcheck_misra="${cppcheck_path}addons/misra.py"
#Uncomment below to use the Brew installation of cppcheck on Mac
#cppcheck_path_brew=/usr/local/Cellar/cppcheck/2.1/share/cppcheck/
#cppcheck_misra="${cppcheck_path_brew}addons/misra.py"... | Autohome2/speeduino | misra/check_misra_github.sh | Shell | gpl-2.0 | 995 |
#!/bin/sh
NAME=artoolkitplus-2.1.0
make clean > /dev/null 2> /dev/null
rm -f ../$NAME
ln -s `pwd` ../$NAME
pushd .. > /dev/null
tar cfjh $NAME.tar.bz2 \
--exclude Makefile \
--exclude ".svn" \
--exclude "*.dll" \
--exclude "*.vcproj" \
--exclude "*~" \
--exclude "*.o" \
--exclude "*.so*" \
--exclude .sconf_temp \
--e... | kaukeb/ARToolkitPlus | makedist.sh | Shell | gpl-2.0 | 445 |
#!/sbin/sh
# Cl3Kener's Build.prop Tweak Injector
# Heavily organized/modified by gruntparty
busybox echo " " >> /system/build.prop
busybox echo " " >> /system/build.prop
if [ `grep -c '# AWESOME BUILD.PROP TWEAKS v2.1' /system/build.prop` -eq 0 ] ;
then busybox echo "# AWESOME BUILD.PROP TWEAKS v2.1" >> /system/buil... | BlownFuze/Koding | Cl3Kener/scripts/add_to_buildprop.sh | Shell | gpl-2.0 | 10,828 |
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
... | Zeverin/libvlc | tests/runtests.sh | Shell | gpl-2.0 | 351 |
#!/bin/bash
/bin/su luis -c "cd /Apps/docker/servicio-log && /usr/local/bin/fig up -d"
| LuisPalacios/servicio-log | start-fig.sh | Shell | gpl-2.0 | 87 |
#!/sbin/busybox sh
rm -rf /tmp/packing
rm -rf /tmp/extracted
rm -rf /tmp/workboot
rm -rf /tmp/bootimg
rm -rf /tmp/oldboot
rm -f /tmp/mkbootimg
rm -f /tmp/unpack_bootimg
rm -f /tmp/bootimgtools
rm -f /tmp/PSN_AGNi_builder.sh
rm -f /tmp/reseter.sh
| wisniew/Harfix3 | Harfix3/ZIP_FILES/tools/cleanup.sh | Shell | gpl-2.0 | 248 |
export CXXFLAGS="-O0 -Wall"
rm CMakeCache.txt -fr && rm CMakeFiles -fr
cmake -DCMAKE_BUILD_TYPE=Debug ./
time make
| lyonjuniper/critterding | compile-debug.sh | Shell | gpl-2.0 | 270 |
#!/bin/sh
#
# RNA-seq data analysis pipeline
# Author: XuLong Wang (xulong.wang@jax.org)
# Quality control with FASTX toolkit
# Compute quality statistics
echo $0
begin=`date +%h`
module load fastx/0.13
dir_sou="/hpcdata/xwang/AD/howell_2014/retina"
dir_des="/hpcdata/xwang/AD/FASTX/retina"
#
files=`find $dir_sou -... | xulong82/Ad | Shell/myfastx.sh | Shell | gpl-2.0 | 868 |
#!/bin/sh
# to build the bkr-client-improved rpm and update.
# autor: jiyin@redhat.com
OPWD=$PWD
cd $(dirname ${0})
fspec=$1
[ -z "$fspec" ] && fspec=$(ls *.spec|head -n1)
[ ! -r $fspec ] && {
echo "[Err] Can't find the spec file" >&2
exit 1
}
pkgName=$(awk -F'[: ]+' '$1=="Name"{print $2}' $fspec)
version=$(awk -F'[... | ceyes/bkr-client-improved | build_rpm.sh | Shell | gpl-2.0 | 1,059 |
#!/bin/bash
PATH=$PATH:..:../../deps/shunit2-2.1.6/src
export PATH
export PGDATABASE=testdb
. ./test_common.sh
function setUp()
{
# echo "PATH=$PATH"
# echo "PGHOME=$PGHOME"
# echo "PGDATA=$PGDATA"
ps auxx > setUp.log
pgbench -i -n >> setUp.log 2>&1
}
function testShowLocks001()
{
OUT=${_SHUN... | uptimejp/postgres-toolkit | tests_cli/test-pt-show-locks.sh | Shell | gpl-2.0 | 2,824 |
#! /bin/sh
# Copyright (C) 2012-2017 Free Software Foundation, Inc.
#
# 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, or (at your option)
# any later version.
#
# This program ... | pylam/automake | t/vala-mix.sh | Shell | gpl-2.0 | 2,545 |
#!/bin/sh
cd "`dirname $0`"
if [ ! -x "`which inkscape`" ]; then
echo "Could not find inkscape"
exit 1
fi
convert() {
in=$1
w=$2
h=$3
out=${w}x${h}/xfburn.png
echo "Converting $in to $out"
inkscape -z -f $in -e $out -w $w -h $h
}
convert xfburn-16.svg 16 16
convert xfburn-48.svg 22 22
... | xfce-mirror/xfburn | icons/bitmap.sh | Shell | gpl-2.0 | 442 |
convert images/OCS-333-A.png -crop 1517x4518+101+293 +repage images/OCS-333-A.png
#
#
#/OCS-333.png
convert images/OCS-333-B.png -crop 1553x4518+11+287 +repage images/OCS-333-B.png
#
#
#/OCS-333.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-333.sh | Shell | gpl-2.0 | 199 |
convert images/OCS-75-A.png -crop 1535x4532+95+307 +repage images/OCS-75-A.png
#
#
#/OCS-75.png
convert images/OCS-75-B.png -crop 1591x4534+0+303 +repage images/OCS-75-B.png
#
#
#/OCS-75.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-75.sh | Shell | gpl-2.0 | 191 |
#!/bin/bash
clear
if [ -x "$(command -v curl)" ]; then
:
else
apt-get install curl
fi
clear
echo "Starting install..."
echo -n "Do you already have the Re4son kernel installed on your Pi? Y/N "
read choice
if [[ $choice =~ ^[Nn]$ ]]; then
echo "Installing Re4son"
echo "NOTE: You will have to reboot and run t... | kforney/kalipi-menu | install.sh | Shell | gpl-2.0 | 3,967 |
rm main.elf main.hex
avr-gcc -mmcu=attiny85 -Os -o main.elf *.c
avr-objcopy -O ihex -j .text -j .data main.elf main.hex
avr-size --mcu=atmega8 -C main.elf
avrdude -c avrisp2 -p t85 -U flash:w:main.hex:a
| HcDevel/Lagerfeuer | source_code/upload_code.sh | Shell | gpl-2.0 | 203 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-2018 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... | jonatanolofsson/tup | test/t3048-group6.sh | Shell | gpl-2.0 | 1,056 |
#!/bin/bash
#
# Converts QEMU raws images to Virtual Box's vdi format
#
# Copyright (C) 2012 Mario Sanchez Prada.
# Authors: Mario Sanchez Prada <mario@mariospr.org>
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 (or later)
# as ... | mariospr/scripts | qemu2vbox.sh | Shell | gpl-2.0 | 2,297 |
#!/bin/sh
test_description='apply empty'
. ./test-lib.sh
test_expect_success setup '
>empty &&
git add empty &&
test_tick &&
git commit -m initial &&
for i in a b c d e
do
echo $i
done >empty &&
cat empty >expect &&
git diff |
sed -e "/^diff --git/d" \
-e "/^index /d" \
-e "s... | haglerchristopher/automation | src/3rd_party/git/t/t4126-apply-empty.sh | Shell | gpl-2.0 | 1,093 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/exercici14... | pdavila13/Programacion_C | Modular/Exercici14_Modular/nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,507 |
# Main message loop
function messageLoop
{
freq=0
echo -e "\e[93mRefresh every $sleep seconds\e[0m"
echo -e "\e[92m$(date '+%Y-%m-%d %H:%M:%S') Entered message loop.\e[0m"
while :; do
lastdata="$data"
data=$(getData "$refresh" "$cookies")
if [ "$(getFieldArg "$data" card id)" == "forward" ]; then
#echo -e... | ljkgpxs/BashQQ-Mod | functions/loop.sh | Shell | gpl-2.0 | 2,575 |
#!/bin/sh
# This script removes all your files in HDFS. It's convenient when
# doing testing.
source ${HAMSTER_SCRIPTS_HOME}/lib/hamster-lib-hadoop-helper
FILES=`${HADOOP_HOME}/bin/hadoop fs -ls 2> /dev/null | grep -v Found | awk '{print $8}'`
local version=$(Hamster_hadoop_version)
if [ $version == "1" ]
then
... | DwyaneShi/Hamster | scripts/job/examples/hadoop-remove-all-files-script.sh | Shell | gpl-2.0 | 556 |
#! /bin/bash
##
## detect and enable the compudata / adafruit gps cape - raspberry Pi version
## or allow for a USB GPS.
##
## Depending on whether the cape is detected, different configuration files
## are set up for use by gpsd and chrony, and these are started here.
##
## The GPS cape device presents as ttyAMA0, wit... | jbrzusto/sensorgnome | scripts/gpscape_rpi.sh | Shell | gpl-2.0 | 2,629 |
#!/bin/sh
#
# Copyright (C) 2016 GNS3 Technologies Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This progr... | adosztal/gns3-registry | docker/dhcp/boot.sh | Shell | gpl-3.0 | 1,670 |
#!/bin/sh
docker stop nginx-test
docker rm nginx-test
| jianyingdeshitou/docker-debian8 | nginx-d8/test/rm.sh | Shell | gpl-3.0 | 54 |
#!/bin/sh
# android shell
if [ -n "$1" ]; then
NDK_ARCH="$1"
shift
fi
case "${NDK_ARCH}" in
mips64)
AR=mips64el-linux-android-ar
RANLIB=mips64el-linux-android-ranlib
;;
mips)
AR=mipsel-linux-android-ar
RANLIB=mipsel-linux-android-ranlib
;;
x86)
export NDK_ARCH
;;
aarch64)
export NDK_ARCH
AR=aarch64-linux-a... | sigma-random/radare2 | sys/android-shell.sh | Shell | gpl-3.0 | 2,654 |
#!/bin/bash
echo "-------------------------------"
echo "USERNAME EXP DATE "
echo "-------------------------------"
while read expired
do
AKUN="$(echo $expired | cut -d: -f1)"
ID="$(echo $expired | grep -v nobody | cut -d: -f3)"
exp="$(chage -l $AKUN | grep "Account expires" | awk -... | micky24/debian7os | expire.sh | Shell | gpl-3.0 | 688 |
#!/usr/bin/env bash
gcc -O3 -I/usr/local/include -L/usr/local/lib -lm -logg -ltheora -ltheoraenc -ltheoradec -lpcre -ljpeg -o jpeg2theora main.c load.c encode.c
| troydm/jpeg2theora | build.sh | Shell | gpl-3.0 | 164 |
#!/bin/bash
ls -L cpp/ycm/*.cpp cpp/ycm/*.h cpp/ycm/ClangCompleter/*.cpp cpp/ycm/ClangCompleter/*.h | xargs ./utils/check_format.sh
| Chilledheart/ycmd | style_format.sh | Shell | gpl-3.0 | 133 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=MinGW-Windows
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=dll
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/helloworl... | luizguilherme5/ypbot | helloworld/nbproject/Package-Release.bash | Shell | gpl-3.0 | 1,472 |
#!/usr/bin/env bash
if [ -f "/var/vagrant_provision" ]; then
exit 0
fi
_hostname='wordpress'
_wordpress_downloaded_file='wordpress.tar.gz'
_mysql_root_password='wordpress-root'
_mysql_wordpress_database='wordpress'
_mysql_wordpress_user='wordpress'
_mysql_wordpress_password='wordpress'
echo $_hostname > /etc/hostna... | guilhermemar/vagrantfiles | wordpress/vagrant.sh | Shell | gpl-3.0 | 2,007 |
coverage html -d pulp --include="/usr/lib/python2.6/site-packages/pulp/*,/usr/bin/pulp-*,/srv/pulp*"
coverage html -d rhui-tools --include="/usr/lib/python2.6/site-packages/rhui/*,/usr/bin/rhui*"
coverage html -d grinder --include="/usr/lib/python2.6/site-packages/grinder/*"
coverage html -d gofer --include="/usr/lib/p... | RedHatQE/rhui-testing-tools | misc/create_html_coverage_report.sh | Shell | gpl-3.0 | 385 |
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP addres... | TightSquad/HABIP | pi/daqcs/rc.local.sh | Shell | gpl-3.0 | 771 |
#!/bin/bash -e
set -o nounset
[[ -z "${WSI_DATADIR+x}" ]] && {
echo "[ERROR] \"bin/command/iptables.sh\" should not be called directly"
echo "[HELP ] Run \"bin/webStatusCron.sh\" instead."
exit 1
}
#*** MAIN ***#
ifstat -a -T 2 1
| landrok/webstatus | bin/command/ifstat.sh | Shell | gpl-3.0 | 297 |
#!/bin/bash
java -jar plantuml.1.2017.18.jar -o ../_static/uml/ ./*
| colinsheppard/beam | docs/uml/puml2png.sh | Shell | gpl-3.0 | 70 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YER131W --paralog2 YGL189C --simnum 37 > YER131W_YGL189C_MG94_nonclock_Sim37_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YER131W_YGL189C_sim37.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash
# James Bettke
# Dell SecureWorks 2016
# A bash script that runs the DCEPT Docker container.
# It is assumed that you have already built the Docker
# container by running the docker_build.sh script
# Set working directory to script directory
cd "$(dirname "$(readlink -f "$0")")"
./launcher.sh -d
| secureworks/dcept | server/daemon.sh | Shell | gpl-3.0 | 315 |
# Cleanup script for cleaning up <yourapp>.app
#
#
if [ 'x$1' == 'x' ]; then
echo "Usage: cleanup_app.py <app_name.app>"
exit 1
fi
APPPATH=$1
PYPATH="$APPPATH/Contents/Frameworks/python"
rm -rf "$APPPATH/"Contents/Resources/kivy/{doc,build,examples}
rm -rf "$APPPATH/"Contents/Resources/kivy/kivy/{tools,tests... | autosportlabs/RaceCapture_App | install/osx/cleanup_app.sh | Shell | gpl-3.0 | 1,400 |
!#/bin/bash
scp Antares03:/home/antares/nfs_share/tzaidi/HonorsThesisTZ/ThesisCode/gen_lightcurves/gp_smoothed/* ../gen_lightcurves/gp_smoothed/
| tayebzaidi/HonorsThesisTZ | ThesisCode/setup_env/receive_sne.sh | Shell | gpl-3.0 | 146 |
#!/bin/bash
# -*- Mode: Shell-script -*-
#
# install.sh --- Dot files installer.
#
# Copyright (c) 2016 Paul Ward <asmodai@gmail.com>
#
# Author: Paul Ward <asmodai@gmail.com>
# Maintainer: Paul Ward <asmodai@gmail.com>
# Created: 16 Aug 2016 21:31:24
# Keywords:
# URL: not distributed yet
#
# {{{ Lice... | Asmodai/dotfiles | install.sh | Shell | gpl-3.0 | 5,411 |
#!/bin/sh
FILES=""
FILES=$FILES" ../lib/leaflet/leaflet.css"
FILES=$FILES" ../lib/bootstrap/css/bootstrap.css"
FILES=$FILES" ../lib/rendro-easy-pie/jquery.easy-pie-chart.css"
cat $FILES > tmp.css
java -jar yuicompressor.jar tmp.css > ../minify/libs.min.css
rm tmp.css | OlivierB/Network-Display-On-Pi | www/tools/minify-css-libs.sh | Shell | gpl-3.0 | 273 |
#!/bin/sh
for account in icloud gmail cern ccsubatech; do
launchctl unload ~/Library/LaunchAgents/fr.aphecetche.mbsync.$account.plist > /dev/null 2>&1
done
| aphecetche/dotfiles | install/mail-mbsync-stop.sh | Shell | gpl-3.0 | 164 |
export SYMBOL=NFLX
export FILE_NAME=netflix-2016.csv
export INDEX_SUFFIX=all
./../filebeat -e -c ../filebeat.yml -d "publish"
| logmonster/blog | wordpress/filebeatSeries_3/scripts/01_ingest_netflix_all.sh | Shell | gpl-3.0 | 127 |
#! /bin/sh
${installer:sys.installationDir}/jre/bin/java \
-Xms512M -Xmx${installer:maxHeapSize} \
-Xverify:none -XX:+AggressiveOpts -XX:+UseFastAccessorMethods \
-XX:+UseParallelGC -XX:+UseNUMA -XX:+UseLoopPredicate \
-Dceres.context=${installer:context} \
"-D${installer:context}.mainClass=org.esa.be... | kristotammeoja/ks | s1tbx-config/main/bin/linux64/gpt.sh | Shell | gpl-3.0 | 709 |
#!/bin/bash
# Just automates the build of the program.
g++ -o ../bin/math main.cpp math.cpp
| dandreas/math | src/compile.sh | Shell | gpl-3.0 | 93 |
BASEDIR=$PWD/$(dirname "$0")
rm -r $BASEDIR/debug
rm -r $BASEDIR/release
mkdir -p $BASEDIR/debug
mkdir -p $BASEDIR/release
cd $BASEDIR/debug
cmake .. -DCMAKE_BUILD_TYPE=Debug
cd $BASEDIR/release
cmake .. -DCMAKE_BUILD_TYPE=Release | WhileTrueDoSex/sparse-matrix | generate.sh | Shell | gpl-3.0 | 232 |
#!/bin/bash
docdir=$(pwd)
function finish {
cd $docdir
}
trap finish EXIT
doxygen
cd src
git add -u .
git commit -m
| kitizz/nutmeg | doc/publishDocs.sh | Shell | gpl-3.0 | 121 |
#!/bin/bash
if ! [ $(id -u) = 0 ]; then
echo "You need to run this script as root user or via sudo!"
exit 1
fi
# Stop phpnsta-client after upgrading from V3 to V4
if systemctl is-active phpnsta.service; then
systemctl stop phpnsta.service
fi
APPDIR="/opt/openitc/frontend"
OLDINIFILE=/etc/openitcockpit/... | it-novum/openITCOCKPIT | bin/scripts/UPGRADE.sh | Shell | gpl-3.0 | 24,271 |
#!/bin/bash
# Author: Anoop P Alias
# SetEnvIf X-Forwarded-Proto patch provided by https://github.com/mdpuma
function enable {
echo -e '\e[93m Modifying apache http and https port in cpanel \e[0m'
sed -i "s/apache_port.*/apache_port=0.0.0.0:9999/" /var/cpanel/cpanel.config
sed -i "s/apache_ssl_port.*/apache_ssl_port=0... | brianjking/nDeploy | scripts/cpanel-nDeploy-setup.sh | Shell | gpl-3.0 | 3,075 |
#!/bin/sh
#Testing exit command
./bin/rshell/ < exit_a
./bin/rshell/ < exit_b
| victormedel/rshell | tests/exit.sh | Shell | gpl-3.0 | 78 |
#!/bin/bash
#tested zesty
#setup
echo "# Setting Up..."
#key
echo "# Installing Keys..."
apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv 379CE192D401AB61
#repo
echo "# Setting up Repo..."
echo 'deb https://dl.bintray.com/resin-io/debian stable etcher' | tee /etc/apt/sources.list.d/etcher.list
apt-get update
#i... | erikssource/beaglescripts | scripts/etcher.sh | Shell | gpl-3.0 | 491 |
#!/bin/bash
############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commerc... | B2Qt/b2qt | scripts/update-qt5-modules.sh | Shell | gpl-3.0 | 2,900 |
#!/bin/bash
pushd ${COMMON_BUILD_ROOT}
# 1. Get sources
#https://dl.crystax.net/builds/902/linux/crystax-ndk-10.3.2-b902-linux-x86_64.tar.xz
#NDK_DAYNO=908
#NDK_PAGE=https://dl.crystax.net/builds/${NDK_DAYNO}/linux
#NDK_SRC=crystax-ndk-10.3.2-b${NDK_DAYNO}-linux-x86_64
#https://www.crystax.net/download/crystax-ndk-10... | shatilov-diman/pisk | externals/get-android-ndk.sh | Shell | gpl-3.0 | 784 |
#!/bin/sh
# jenkins build helper script for osmo-bts-trx
# shellcheck source=contrib/jenkins_common.sh
. $(dirname "$0")/jenkins_common.sh
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$inst/lib"
osmo-build-dep.sh libosmocore "" --disable-doxygen
osmo-build-dep.sh libosmo-abi... | osmocom/osmo-bts | contrib/jenkins_bts_trx.sh | Shell | agpl-3.0 | 515 |
#!/bin/bash
mkdir ${HOME}/db_backups
sudo -u postgres pg_dump ${DJANGO_PROJECT_SLUG} > ${HOME}/db_backups/`date +"%Y-%m-%d-%s"`.db_backup
| classam/threepanel | configuration/template.backup_postgres.sh | Shell | agpl-3.0 | 139 |
#!/usr/bin/env bash
SRC=$(cd $(dirname "$0"); pwd)
source "${SRC}/include.sh"
cd $file_path
$pm2 unset all
spec "Should unset all variables"
ls ~/.pm2/module_conf.json
spec "Should file exists"
$pm2 set key1 val1
cat ~/.pm2/module_conf.json | grep "key1"
spec "Should key exists"
$pm2 unset key1
cat ~/.pm2/module_... | PaulGuo/PM25 | PM25-Cli/test/bash/get-set.sh | Shell | agpl-3.0 | 374 |
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
ADDITIONAL_FLAGS='--exclude rsync-sentinal --exclude "*.html" --delete' $DIR/awss3.sh
| sjtug/mirror-docker | lug/worker-script/mongodb.sh | Shell | agpl-3.0 | 179 |
#!/usr/bin/env bash
#
# Do not move above code and follow function to avoid crash
# after this script is updated when running!
pull_n_run() {
# pull_n_run($1=path $2="$0" $3="$1")
local l m1 m2 o opts x
m1=$(stat -c %Y $2)
cd $1 && git pull
m2=$(stat -c %Y $2)
o="$3"; opts=""; l=${#o}
while ... | antoniov/tools | install_tools.sh | Shell | agpl-3.0 | 18,888 |
#!/usr/bin/env bash
# Use the yes command if you would like to include java, postgis and node by default
# Example:
# yes | sudo ./ubuntu_xenial_setup.sh
function install_postgres {
sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main"
wget --quiet -O - https://www.postgresq... | cvast/arches | arches/install/ubuntu_xenial_setup.sh | Shell | agpl-3.0 | 3,782 |
#!/bin/bash
# This file is part of the LinBox library.
# It is distributed under the terms of the LGPL licence version 2.1 or later
# (see COPYING)
# Created by AB - 2014/12/03
# Modified by AC - 2016/06/20
# Modified by CP - 2016/06/22
# Some influential environment variables:
# CXX C++ compiler command
# CXXFLAGS... | linbox-team/linbox | tests/jenkins-maker.sh | Shell | lgpl-2.1 | 3,279 |
rem set in CLASSPATH the JPA persistence library, e.g.
export CLASSPATH=../JPA/javaee.jar
java -cp $CLASSPATH:.:../build/itext-1.4.8.jar:../build/itext-2.1.7.jar:../build/iText-rtf-2.1.7.jar:../build/commonos.jar:../build/clientos.jar:../build/jnlp.jar:../build/jcalendar.jar:../build/log4j-1.2.7.jar:../build/poi-2.0-... | mcarniel/oswing | classes/runDemo35.sh | Shell | lgpl-2.1 | 449 |
#!/bin/bash -l
# Submission for allegro with a full node and 4 GPUs using a single process
#SBATCH -p gpu
#SBATCH --ntasks=1
#SBATCH -t 00:20:00
#SBATCH -J 4gpu_adaptivemd
#SBATCH -N 1
#SBATCH --gres=gpu:4
#SBATCH --workdir /home/jprinz/NO_BACKUP
PROJECT_NAME=example-worker
DB_PATH=sheep
# run 4 workers which will ... | thempel/adaptivemd | submission/submit_worker_4gpu.sh | Shell | lgpl-2.1 | 781 |
#!/bin/sh
# Type './build.sh' to generate C# classes.
if [ ! -f ../vgcore/win/vc2010.sln ] ; then
git clone https://github.com/rhcad/vgcore ../vgcore
fi
if [ ! -f ../vgwpf/Test_cs10.sln ] ; then
git clone https://github.com/rhcad/vgwpf ../vgwpf
fi
if [ ! -f ../DemoCmds/wpf/vs2010.sln ] ; then
git clone htt... | rhcad/vgwpf-demo | build.sh | Shell | lgpl-2.1 | 468 |
# Author: Daniel Ortiz Mart\'inez
# *- bash -*
# Filters a translation table given a test corpus and an integer value
# that sets the maximum number of translation options for each target
# phrase that are considered during a translation process. The utility
# can be executed in a PBS cluster.
# INCLUDE BASH LIBRARIE... | daormar/thot | utils/incr_models/thot_pbs_ilm_perp.sh | Shell | lgpl-3.0 | 7,382 |
#!/bin/bash
sudo true
sudo touch /etc/apt/sources.list.d/virtualbox.list
echo deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib | sudo tee /etc/apt/sources.list.d/virtualbox.list
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-ge... | katoken-0215/cheat-tools | ubuntu/virtualbox.sh | Shell | unlicense | 435 |
#!/bin/bash
if [ ! -f /var/www/wp-config.php ]; then
#mysql has to be started this way as it doesn't work to call from /etc/init.d
echo "starting mysqld_safe..."
/usr/bin/mysqld_safe &
sleep 10s
# Here we generate random passwords (thank you pwgen!). The first two are for mysql users, the last batch... | Afrozaar/docker-wordpress | scripts/wp-config.sh | Shell | unlicense | 2,188 |
#!/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}"
# This protects against multiple targets copying the same framework dependency at the same time.... | NijiDigital/NetworkStack | Example/MoyaComparison/Pods/Target Support Files/Pods-MoyaComparison/Pods-MoyaComparison-frameworks.sh | Shell | apache-2.0 | 6,926 |
#!/bin/bash
VERSION=$(cat VERSION)
vagrant destroy -f
vagrant up
vagrant package --output opscode-centos-66-v${VERSION}.box
| ashwanthkumar/kitchen-bento-setup | build.sh | Shell | apache-2.0 | 126 |
#!/bin/bash
set -e
REPO=${REPO:-"rancher"}
TAG=${TAG:="dev"}
echo "Beginning kubernetes build using repo [$REPO] and tag [$TAG]"
echo Cleaning up build artifacts from last build
rm -rf ../_output build
mkdir build && cd build
cp -r ../k8s .
echo Building kubernetes
#../../build/release.sh
# Skip tests faster for d... | we87/kubernetes | rancher-k8s-images/build.sh | Shell | apache-2.0 | 1,145 |
#!/usr/bin/env bash
# This must be the same C++ compiler used to build the LLVM source.
if [[ -z "$CLANG" ]]; then
if [[ -z "$(which clang)" ]]; then
echo 'You need to have clang installed to build squim.'
echo 'Note: Some vendors install clang with a versioned name'
echo '(like /usr/bin/clang-3.5). You ... | baranov1ch/squim | setup_bazel.sh | Shell | apache-2.0 | 1,692 |
#!/bin/bash
VERSION=$(cat package.json | grep version | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
sed -i '' "s/^Version.*$/Version $VERSION/" README.md
sed -i '' "s/version: ".*",$/version: \"$VERSION\",/" streaming-dot.js
npm run build
git add README.md streaming-dot.js streaming-dot.min.js
| surma/streaming-dot | update-version.sh | Shell | apache-2.0 | 288 |
#!/bin/bash
#
# Test if rustler_mix can be used to create a working example from the template.
#
# Note: This creates a temporary directory for the mix project. The directory is only cleaned up
# if the test works. This is done in order to allow investigating the error.
#
set -e
rustler_mix=$PWD
rustler=$(realpath $P... | hansihe/Rustler | rustler_mix/test.sh | Shell | apache-2.0 | 1,984 |
#!/bin/bash
TEMPLATE="results/template.csv"
# COMMANDS
if [ "$1" = "all" ]
then
for file in results/*/*.csv
do
name=${file#*/}
cp -fr $TEMPLATE results/${name%}
echo
echo "Cleaned results from ${name%}"
done
elif [[ "$1" -... | xeho91/http-benchmarking | clean.sh | Shell | apache-2.0 | 1,314 |
#! /usr/bin/env bash
#set -x
echo "Generating documentation..."
./node_modules/.bin/jsdoc -c .jsdoc.json
echo "New documentation is in docs"
#
#echo "Hello, Travis! You there?"
#if [[ -z "${TRAVIS}" ]]; then
# echo "No Travis here. I'm done here."
# exit;
#else
# echo "Travis: Yup, here."
# cd docs || exit... | APTrust/easy-store | jsdoc.sh | Shell | apache-2.0 | 642 |
#!/bin/bash
# {{ pillar['file_header'] }}
# Company: {{ pillar['company'] }}
# sysadmin: {{ pillar['sysadmin'] }} <{{ pillar['sysadmin_email'] }}>
#
## CIS 1.4.6 Check for Unconfined Daemons (Scored)
# Notes: added salt-minion to the exclude list:
RESPONSE=$(ps -eZ | egrep "initrc" | egrep -vw "tr|ps|egrep|ba... | chekolyn/cis-saltstack | cis/scripts/1.4.6.check.for.unconfined.daemons.sh | Shell | apache-2.0 | 735 |
sudo apt-get install build-essential gfortran libatlas-base-dev python-pip python-dev
sudo apt-get install python-opencv
sudo pip install --upgrade pip
sudo pip install -r ./requirements.txt
| bijilap/ColorRecognition | install.sh | Shell | apache-2.0 | 191 |
#!/bin/bash
FILE=/tmp/firstrun.log
if [ ! -e $FILE ]
then
touch $FILE
nohup $0 0<&- &>/dev/null &
exit
fi
function checkStatus() {
count=1
sleep 10;
STATUS=`cat /var/prompt/ps1`;
while [[ ${STATUS}x != 'Active'x ]]; do
echo -n '.';
sleep 5;
count=$(($count+1));
STATUS=`cat /var/prompt/ps1`;
... | mcgonagle/terraform_f5 | userdata.sh | Shell | apache-2.0 | 1,822 |
#!/bin/bash
echo "Setting now ltb specific settings, getting the libraries (vendor) ready and populating our database"
if [ $# -lt 7 ]; then
echo "you are sending not enough arguments";
echo "Usage: sh install.sh <LTB_MYSQL_HOST> <LTB_MYSQL_DB> <LTB_MYSQL_USER> <LTB_MYSQL_PASSWORD> <LTB_API_URI> <LTB_TS_URI> <L... | learning-layers/LTB-API | docker/learningtoolbox/api/install.sh | Shell | apache-2.0 | 2,573 |
#!/bin/bash
# Copyright (c) 2017 OpenStack Foundation.
#
# 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... | mozhuli/stackube | install/openstack/deploy_openstack_neutron_lbaas_agent.sh | Shell | apache-2.0 | 2,589 |
#!/bin/bash
# Copyright (c) 2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | enableiot/iotanalytics-gearpump-rule-engine | cf-deploy.sh | Shell | apache-2.0 | 727 |
#!/bin/bash
# Provision a Vagrant box (VirtualBox VM) for testing and development:
# Install MySQL client and set up database
. /vagrant/assets/functions.sh
#
# Config
#
if ! $(grep -q OXI_TEST_DB_MYSQL_NAME /etc/environment); then
echo "OXI_TEST_DB_MYSQL_NAME=openxpki" >> /etc/environment
echo "OXI_TEST_... | openxpki/openxpki | vagrant/develop/assets/mysql/provision.sh | Shell | apache-2.0 | 1,324 |
#!/bin/bash
MY_HOME=/Users/measter/src/github/codetojoy/gists/docker_teamcity_mar_2020
mkdir -p $MY_HOME/data
docker run -it --name teamcity-server-instance \
-v $MY_HOME/data:/data/teamcity_server/datadir \
-v $MY_HOME/data:/opt/teamcity/logs \
-p 8111:8111 \
jetbrains/teamcity-server
| codetojoy/gists | docker_teamcity_mar_2020/run.sh | Shell | apache-2.0 | 308 |
# -----------------------------------------------------------------------------
#
# Package : abstract-logging
# Version : 2.0.1
# Source repo : https://github.com/jsumners/abstract-logging
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.... | ppc64le/build-scripts | a/abstract-logging/abstract-logging_rhel_8.3.sh | Shell | apache-2.0 | 3,084 |
#!/bin/bash
find /var/lib/mysql -type f -exec touch {} \; && /usr/bin/pidproxy /var/run/mysqld/mysqld.pid /usr/bin/mysqld_safe --bind-address=0.0.0.0 | dkhwangbo/druid | integration-tests/docker/run-mysql.sh | Shell | apache-2.0 | 150 |
#!/bin/sh
# The following executes the HelloWorld using load time weaving (ltw). The aspectj javaagent is required.
# ltw is the most flexible way of using aspectj and is controled by passing an aspectj xml config line into the program.
# The example monitors a class using Metrics (CodaHale/Yammer) as opposed to syso... | stevensouza/automon | examples/hello-world-metrics-ltw.sh | Shell | apache-2.0 | 1,623 |
#!/bin/sh
BASE_DIR=$(dirname $(dirname $(readlink -f $0 ) ) )
CLASSPATH="-classpath $BASE_DIR/conf:$BASE_DIR/resources:$BASE_DIR/lib/*"
MAINCLASS="dk.statsbiblioteket.doms.transformers.fileenricher.FileEnricher"
java $CLASSPATH $MAINCLASS $*
| statsbiblioteket/doms-transformers | fileenricher/src/main/scripts/fileenricher.sh | Shell | apache-2.0 | 244 |
#!/bin/bash
echo "just plain old GitHub Pages."
echo "You can build and host docs locally using Jekyll."
| apetro/angularjs-portal | build-docs-local.sh | Shell | apache-2.0 | 106 |
#!/bin/bash
ln -f -s /opt/nifi/data/lib/kylo-nifi-core-service-nar-*.nar /opt/nifi/current/lib/kylo-nifi-core-service-nar.nar
ln -f -s /opt/nifi/data/lib/kylo-nifi-standard-services-nar-*.nar /opt/nifi/current/lib/kylo-nifi-standard-services-nar.nar
ln -f -s /opt/nifi/data/lib/kylo-nifi-core-v1-nar-*.nar /opt/nifi/cu... | rashidaligee/kylo | install/setup/nifi/create-symbolic-links.sh | Shell | apache-2.0 | 2,351 |
#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT=$SCRIPT_DIR
$PROJECT_ROOT/vendor/bin/phpcs $PROJECT_ROOT/src/ --standard=PSR2 | PyYoshi/google-api-php-client | check_psr.sh | Shell | apache-2.0 | 166 |
#!/bin/bash
: ${KEY?'missing github private key do deploy docker run -e KEY=XXXX'}
[ -n "$DEBUG" ] && echo debug on ... && set -x
: ${COMMIT_NAME:=jenkins}
: ${COMMIT_EMAIL:=jenkins@sequenceiq.com}
: ${PROJECT:=cloudbreak}
# private github key comes from env variable KEY
# docker run -e KEY=XXXX
mkdir -p /root/.ssh... | sequenceiq/docker-mkdocs | deploy-doc.sh | Shell | apache-2.0 | 1,408 |
#!/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... | iweiss/activemq-artemis | scripts/new-down.sh | Shell | apache-2.0 | 1,184 |
#!/bin/bash
# NOTE: Use `uuidgen` to create new `uid`
iglu_server_super_uid="980ae3ab-3aba-4ffe-a3c2-3b2e24e2ffce"
# DO NOT ALTER BELOW #
export PGPASSWORD=snowplow
iglu_server_setup="INSERT INTO apikeys (uid, vendor_prefix, permission, createdat) VALUES ('${iglu_server_super_uid}','*','super',current_timestamp);"
p... | mrosack/snowplow-mini | resources/scripts/user_data.sh | Shell | apache-2.0 | 413 |
# ----------------------------------------------------------------------------
#
# Package : FRRouting/frr
# Version : FRR 5.0 release
# Source repo : https://github.com/FRRouting/frr
# Tested on : ubuntu_16.04
# Script License: Apache License, Version 2 or later
# Maintainer : Priya Seth <sethp@us.ibm.com>
#
# Disclai... | ppc64le/build-scripts | f/FRRouting/frr_ubuntu_16.04.sh | Shell | apache-2.0 | 1,112 |
#!/bin/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
# "License");... | cbaenziger/oozie | distro/src/main/bin/addtowar.sh | Shell | apache-2.0 | 8,611 |
#!/bin/sh
JAVA_HOME=/usr/lib/jvm/jdk1.7.0 mvn -Pcloudera assembly:single
| duyvk/HadoopInPracticeCode | run_assemble.sh | Shell | apache-2.0 | 73 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.