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 |
|---|---|---|---|---|---|
# git number
alias gn='git number'
alias ga='git number add'
| mbruggmann/dotfiles | git/aliases.zsh | Shell | mit | 61 |
#!/bin/sh
FLAGS=-O3
# debugging stuff!
#FLAGS="-g4 -DTIMIDITY_DEBUG"
emcc -o libtimidity.js $FLAGS --memory-init-file 0 libtimidity/src/*.c -s EXPORTED_FUNCTIONS=@exports.json -s MODULARIZE=1 -s EXPORT_NAME="'LibTimidity'" -s EXTRA_EXPORTED_RUNTIME_METHODS="['FS']"
| Treeki/midihackery.js | build_libtimidity.sh | Shell | mit | 269 |
#!/bin/bash
echo "$(basename $0) start!"
echo "$(basename $0) done!"
exit 0
| AtsushiSakai/dotfiles | docker/dev/run.sh | Shell | mit | 78 |
#!/bin/bash
if [ $USER != 'root' ]; then
echo 'You must be root!'
exit 1
fi
if [ ! -d /usr/lib/systemd ]; then
echo 'Systemd must be installed!'
exit 1
fi
if [ ! -d /etc/nagios ]; then
echo 'Nagios not installed!'
exit 1
fi
DIR=/etc/nhra
echo 'Installing dependencies...'
yum install -y pyth... | peterfraedrich/NHRA | INSTALL.sh | Shell | mit | 883 |
#!/bin/bash
order -t interface go.xyz
| ipudu/order | examples/interface/grapheneoxide-water/interface.sh | Shell | mit | 40 |
#!/bin/sh
set -e
for dir in "$NPM_CONFIG_CACHE" "$YARN_CACHE_FOLDER" $(echo "$NODE_PATH" | tr ":" "\n"); do
if [ -n "$dir" ]; then
mkdir -p "$dir"
chmod 777 "$dir"
fi
done
unset -v dir
| microcontainers/microcontainers | node/rootfs/docker-entrypoint.d/10-cache.sh | Shell | mit | 199 |
#!/bin/sh
COLLECTORDEMO_HOME="$(dirname $0)"/..
export COLLECTORDEMO_HOME
. "${COLLECTORDEMO_HOME}"/etc/common
print_usage_and_die()
{
echo "Usage: $(basename $0) [start | stop | restart]"
exit 1
}
OPTION="$1"
case "${OPTION}" in
start)
lighttpd -f "${COLLECTORDEMO_ETC}"/lighttpd.conf
;;
stop... | rentalita/django-collectordemo | bin/lighttpd.sh | Shell | mit | 613 |
#Instalar Webmin
#Si es basado en RPM entonces
MESSAGE="Instalar Webmin para administrar nuestro equipo de manera remota" ; cyan_message
touch /etc/yum.repos.d/webmin.repo
MESSAGE="Generando repositorio para Webmin" ; cyan_message
cat >/etc/yum.repos.d/webmin.repo<<EOF
[Webmin]
name=Webmin Distribution Neutral
#baseurl... | paisdelconocimiento/9R | sistemabase.sh | Shell | cc0-1.0 | 650 |
if [ -z "$1" ]
then
TARG=/mnt/user_storage/bonnie/from-`hostname`
else
TARG=$1/bonnie/from-`hostname`
fi
for subdir in d1 d2 d3
do
echo "creating dir for test at " $TARG/$subdir
mkdir -p $TARG/$subdir
done
chmod -R 777 $TARG
bonnie++ -u nobody -p -1
bonnie++ -u nobody -p 3
for subdir ... | pythonanywhere/stress-filesystem | run-bonnie-tests.sh | Shell | cc0-1.0 | 449 |
#!/bin/bash
## Wraps up the various virtual functions (giving different paths, etc)
DEBUG::off SETTINGS;
ERROR::set_simple_header
# (String path_name)
function SETTINGS::get_sub_path() {
alert SETTINGS 'in SETTINGS::get_sub_path';
local path_name="$1";
local settings_path="$(SETTINGS::setting... | Veruthas/hansel | settings.sh | Shell | gpl-2.0 | 3,155 |
#!/bin/bash
# Taken from https://www.redhat.com/archives/libvirt-users/2012-April/msg00053.html
VM=$1
VDX=$2
DEV=$3
if [ -z "$VDX" ]
then
# try to find out next available vdx device
echo "Usage: $0 <vmname> <vdx> <dev>"
exit 1
fi
XMLFILE=/tmp/virsh-attach-disk.$$.xml
echo "
<disk type='block' device='disk'... | TimJDFletcher/personal-scripts | libvirt/virsh-attach-disk.sh | Shell | gpl-2.0 | 761 |
#!/bin/bash
ROOTFS_PATH="/home/simone/neak-gs3-jb/ramdisk-samsung"
echo "Building SAMMY N.E.A.K. version..."
# Cleanup
./clean.sh
# Making .config
make neak_defconfig
# Compiling
./build.sh $ROOTFS_PATH
| simone201/neak-gs3-jb | build_sammy.sh | Shell | gpl-2.0 | 208 |
#!/usr/bin/env bash
set -e
IFS=''
XEN_ROOT=$1
XEN_OS=$2
XENCOMMONS_INITD=$3
cat $XEN_ROOT/config/${XEN_OS}.modules | (
while read l ; do
if echo $l | egrep -q "^#" ; then
continue
fi
if echo "$l" | egrep -q "\|" ; then
m1=${l%%|*}
m2=${l#*|}
echo " modprobe $m1 2>/dev/null || modprobe $m2... | PennPanda/xenproject | tools/hotplug/Linux/update-modules.sh | Shell | gpl-2.0 | 629 |
#!/bin/sh
OKFILE='autopdf.done'
if [ ! -d $1 ]; then
echo " * Unknow repo. Cloning..."
git clone $2
cd $1
git config user.name "autopdf bot"
else
cd $1
git checkout -b $3
git pull --no-edit origin master
git pull --no-edit origin $3
fi
echo " * Repo pulled"
echo " * Beginning pdf rendering..."
make -Bf Makep... | titouanc/github-hook-pdf | render-repo.sh | Shell | gpl-2.0 | 700 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/ex18_frasesp... | pdavila13/Program_C | Cadenas/Ex18_frasespalindroms/nbproject/Package-Debug.bash | Shell | gpl-2.0 | 1,523 |
#!/usr/bin/env bash
################################################################################
#
# Title : build_base_repos.sh
#
# License:
#
# GPL
# (c) 2016-2021, thorsten.johannvorderbrueggen@t-online.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of t... | tjohann/a20_sdk | scripts/helper/build_base_repos.sh | Shell | gpl-2.0 | 7,852 |
#!/bin/bash
source clk_framework_utils.sh
#Function to obtain the clocks controlled by the PRM, takes the following
#parameters:
# $1: ABE_LP_CLK clock in Hz
# $2: SYS_CLK clock in Hz
# $3: FUNC_SYS_32K clock in Hz
# $4: WKUPAON_ICLK Mux. CM_CLKSEL_WKUPAON[0] CLKSEL
# $5: ABE_SYS_CLK and DSS_SYS_CLK Di... | rogerq/ltp-ddt | testcases/ddt/scripts/clk_fw/omap5_clk_framework_utils.sh | Shell | gpl-2.0 | 21,381 |
#! /bin/sh
# Copyright 2000, 2001 Alexandre Duret-Lutz <duret_g@epita.fr>
#
# This file is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your
# option) any later version... | gcwnow/heroes | tools/cvsboot.sh | Shell | gpl-2.0 | 1,308 |
#! /bin/sh
#
# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.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 version 2.
#
# This program is distributed "as is" WIT... | rogerq/ltp-ddt | testcases/ddt/scripts/video/get_hdmi_audio_devnode.sh | Shell | gpl-2.0 | 3,396 |
#!/bin/bash
# read command line option
SHUTDOWN=false
if [ "$1" == "--shutdown" ]; then
SHUTDOWN=true
fi
# check defaults to see if we are enabled
VM_START=false
if [ -f /etc/default/vm_starter ] ; then
. /etc/default/vm_starter
if ! $VM_START; then
echo "VM_START is false, not starting VMs..."
exit 0
fi
fi
... | mike-teehan/vm_starter | vm_starter.sh | Shell | gpl-2.0 | 1,434 |
#!/bin/bash
rm -vf Makefile
rm -vf src/Makefile
rm -vf src/tmp/*.o
rm -vf src/tmp/*.cpp
make clean
qmake *.pro
qmake
make
| ldsc/lvp | clearAndMake.sh | Shell | gpl-2.0 | 123 |
#! /bin/bash
# User spreads needs to mount usb disks
apt-get -y install dbus udisks
cp $DELIVERY_DIR/files/55-udisks.pkla /etc/polkit-1/localauthority/50-local.d/
| DIYBookScanner/spreadpi | delivery/scripts/08-udisks.sh | Shell | gpl-2.0 | 164 |
#!/bin/sh
echo "Welcome to WebTranslator setup.\n"
echo -n "Would you like to set up the perl or php3 version? "
| erikg/webtranslate | install.sh | Shell | gpl-2.0 | 116 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | atmark-techno/atmark-dist | user/imagemagick/tests/rwfile_EPT_truecolor12.sh | Shell | gpl-2.0 | 365 |
#!/bin/sh
command -v ask_for_password > /dev/null || . /lib/dracut-crypt-lib.sh
# gpg_decrypt mnt_point keypath keydev device
#
# Decrypts symmetrically encrypted (password or OpenPGP smartcard) key to standard output.
#
# mnt_point - mount point where <keydev> is already mounted
# keypath - GPG encrypted key path re... | haraldh/dracut | modules.d/91crypt-gpg/crypt-gpg-lib.sh | Shell | gpl-2.0 | 2,685 |
#!/bin/bash
#Global Variables
TOOLSDIRECTORY=~/Desktop/tools
HIGHLIGHT="#############################################################"
# Check Running as bash
check_running_bash=$(hash)
if [ -z ${check_running_bash} ] &>/dev/null ; then
clear
echo "Not running as bash - Try bash filename.sh not sh filename.sh"
ex... | robinlennox/pentest_scripts | update_work.sh | Shell | gpl-2.0 | 1,052 |
#!/bin/bash
# Author: Seong Bae
# URL: http://www.drumo.net
#
NGINX_ALL_VHOSTS='/etc/nginx/sites-available'
NGINX_ENABLED_VHOSTS='/etc/nginx/sites-enabled'
WEB_DIR='/var/www'
SED=`which sed`
NGINX=`sudo which nginx`
CURRENT_DIR=`dirname $0`
CURRENT_USER=`whoami`
DRUMO_BASE_DIR='/home/seongbae/drumo'
DRUMO_BASE='drumo-... | seongbae/drumo-d7-makefile | create_db.sh | Shell | gpl-2.0 | 894 |
#! /bin/sh
# Copyright (C) 1996-2018 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 ... | komh/automake-os2 | t/canon6.sh | Shell | gpl-2.0 | 1,107 |
./bin/hello
| panopset/panc | run.sh | Shell | gpl-2.0 | 13 |
#!/bin/bash
# The idea is that the user-data of the AutoScalingGroup is something like:
# curl -sL https://raw.githubusercontent.com/jnerin/varnish-4-aws-ec2-autoscalinggroup/master/user-data.sh | bash -s --
APT=$( (lsb_release --id --short |egrep -qi "\b(debian|ubuntu)\b" || apt &>/dev/null ); echo $?)
YUM=$( (lsb_re... | jnerin/varnish-4-aws-ec2-autoscalinggroup | user-data.sh | Shell | gpl-2.0 | 2,550 |
#!/bin/bash
# Created by Ramesh Sivaraman, Percona LLC
# User Configurable Variables
SBENCH="sysbench"
PORT=$[50000 + ( $RANDOM % ( 9999 ) ) ]
WORKDIR=$1
ROOT_FS=$WORKDIR
SCRIPT_PWD=$(cd `dirname $0` && pwd)
LPATH="/usr/share/doc/sysbench/tests/db"
MYSQLD_START_TIMEOUT=200
if [ -z ${BUILD_NUMBER} ]; then
BUILD_NUMB... | Percona-QA/percona-qa | old_files/57_cross_upgrade.sh | Shell | gpl-2.0 | 8,987 |
PROG_TO_TEST='self_reproducing_program.py'
ITERATIONS=10
COUNTER=0
OUT_PREFIX='output'
python $PROG_TO_TEST > $OUT_PREFIX$COUNTER.py
while [[ $COUNTER -lt $ITERATIONS ]]; do
NEW_COUNTER=$(( $COUNTER + 1 ))
python $OUT_PREFIX$COUNTER.py > $OUT_PREFIX$NEW_COUNTER.py
COUNTER=$NEW_COUNTER
done
DIFF_RESULT=`diff $P... | candide-guevara/programming_challenges | self_reproducing/self_reproducing_test_bench.sh | Shell | gpl-2.0 | 399 |
#!/bin/sh
#
# Copyright (c) 2007 Johannes E. Schindelin
#
test_description='git status'
. ./test-lib.sh
test_expect_success 'setup' '
: >tracked &&
: >modified &&
mkdir dir1 &&
: >dir1/tracked &&
: >dir1/modified &&
mkdir dir2 &&
: >dir1/tracked &&
: >dir1/modified &&
git add . &&
git status >output &&
... | schacon/git | t/t7508-status.sh | Shell | gpl-2.0 | 15,894 |
#!/bin/bash
# author: ibarria0
if [ $# -eq 1 ]; then
CONNLIMIT=$1
LOGFILE=/var/log/apache2/*.access.log
ERRORFILE=/var/log/apache2/*.error.log
IGNORE='facebook|google|prensa|\.com\.pa|Googlebot|\:\:1|\=\=\>'
COUNTRIES=/home/ubuntu/evil_countries
BANS=bans.tmp
SLEEP=2
/usr/games/cowsay "starting ... | ibarria0/banhammer | banhammer.sh | Shell | gpl-2.0 | 2,365 |
#!/bin/bash
sleep 60
while true; do
if [ ! -d "/libreperfruntime/sys" ] || [ ! -d "/libreperfruntime/binsync" ] || [ ! -d "/libreperfruntime/bin" ] || [ ! -d "/libreperfruntime/subbin" ] || [ ! -d "/libreperfruntime/plugins" ] || [ ! -d "/zramblock0" ]; then
echo ramdisk kernel integrity failed 0x1
#sudo dtrace -w -n "... | questandachievement/libreperf | watchdog.sh | Shell | gpl-2.0 | 747 |
#!/bin/bash
if [ -z "$MONGO_DIR" ]; then
echo "Need to set MONGO_DIR"
exit 1
fi
if [ -z "$MONGO_TYPE" ]; then
echo "Need to set MONGO_TYPE"
exit 1
fi
if [ -z "$MONGO_COMPRESSION" ]; then
echo "Need to set MONGO_COMPRESSION"
exit 1
fi
if [ -z "$MONGO_BASEMENT" ]; then
echo "Need to set MONGO... | Percona-QA/toku-qa | tokudb/software/mongodb/replication-performance-test/run.load.bash | Shell | gpl-2.0 | 3,729 |
#!/bin/bash
#: script que cambios os permisos de execucion de carpetas e arquivos
#: nunha ruta dada
#################################################
dire=0
arc=0
ruta=""
argc=$#
argv=$*
#################################################
echo "introduce o valor dos permisos a poñer sobre os directorio en octal"
read... | jmlb23/scripts | permisos.sh | Shell | gpl-2.0 | 686 |
#!/bin/bash -
#===============================================================================
#
# FILE: findvar.sh
#
#USAGE="./findvar.sh "
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Tang (Tang), chao.tang.1@gmail.com
# ORG... | CopyChat/RegCM_postProcess | findvar.RCM.sh | Shell | gpl-3.0 | 1,028 |
#! /bin/sh
# This file is part of IVRE.
# Copyright 2011 - 2020 Pierre LALET <pierre@droids-corp.org>
#
# IVRE 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 op... | cea-sec/ivre | .travis/install_elastic.sh | Shell | gpl-3.0 | 1,766 |
#!/bin/sh
# script to build vfplot sources from a github checkout,
# of course you will need a fairly full set of development
# tools to to this (autoconf, gengetopt, xsltproc,..)
autoconf
autoheader
./configure
make all
make spotless
| jjgreen/vfplot | script/setup.sh | Shell | gpl-3.0 | 236 |
#!/bin/sh
echo '#############################################
############欢迎使用SSR便捷安装包############
#########此脚本只在Debian下通过测试##########
###############感谢glzjin!##################'
echo -e "\033[33m 确认安装请按Y: \033[0m"
read con
if [ "$con" == "Y" ] ; then
cd /root
apt-get update
apt-get install -y build-essential
apt-get ... | lion1991/ssrmod-onekey | ssrmod-onekey-debian.sh | Shell | gpl-3.0 | 3,523 |
#!/bin/bash
# ---------------------------------------------
# src_hydrology/post_change_device_addition.sh
# ---------------------------------------------
#
# Freely available software: see Appaserver.org
# ---------------------------------------------
echo "Starting: $0 $*" 1>&2
if [ "$#" -ne 6 ]
then
echo "U... | timhriley/appaserver | src_hydrology/post_change_device_addition.sh | Shell | gpl-3.0 | 765 |
#!/bin/bash
if [ "$#" -ne 1 ]
then
N=1
else
if [ $1 -lt 0 ]
then
N=1
else
N=$1
fi
fi
filename=Testdoc.nogit.moj
filename_all_colors=Testdoc_all_colors.nogit.moj
filename_with_images=Testdoc_with_images.nogit.moj
echo Generating test document with $N pages ...
cat parts/header.part.moj > "$filename... | unruhschuh/MrWriter | test_document/generate_test_document.sh | Shell | gpl-3.0 | 1,191 |
#!/bin/sh
pkg="$1" ; shift
time="$1" ; shift
if [ "x$time" != "x" ] ; then
sleep $time
fi
| gauthier-voron/bench-platform | control-payload/param/path/null-work.sh | Shell | gpl-3.0 | 96 |
#!/bin/bash
# We BLAST a nucleotide sequence against itself to identify repetitive regions. Of course, every region
# matches to itself as well. This script is hence developed to remove such self-matches. It assumes
# the input crunch file follows default columns in the '-fmt 6' output format of BLAST:
# qseqid sseq... | wanyuac/BINF_toolkit | shell/blastShowRepeats.sh | Shell | gpl-3.0 | 1,783 |
#!/bin/bash
## test if guestfish command is present
which guestfish 2>&1 > /dev/null
if [ "$?" != 0 ]; then
echo "[!!!] Command 'guestfish' not found (Install it!). Making changes to VM FAILED."
exit 1
fi
## using direct backend to avoid selinux issues on fedora for now
export LIBGUESTFS_BACKEND=direct
## hostname
VM... | OndrejHome/fast-vm-public-images | ol/hacks/6g_ol-6-hacks.sh | Shell | gpl-3.0 | 1,642 |
#!/bin/bash
cd `dirname $0`
CWD="`pwd`"
box $CWD/run.cfm
exitcode=$(<.exitcode)
rm -f .exitcode
exit $exitcode
| foundeo/cfmlparser | tests/test.sh | Shell | gpl-3.0 | 115 |
#!/bin/bash
if [ !-f /etc/debian_version ]; then
echo "WARNING! This script is designed for debian based systems"
echo "If you know what's up, feel free to bypass this warning"
exit 1
fi
if [ `whoami` != "root" ]; then
echo "Requires root!"
exit 1
fi
apt-get install -y git build-essential cmake
cd... | thefinn93/cjdnsscripts | installcjdns.sh | Shell | gpl-3.0 | 2,315 |
#!/usr/bin/env bash
if [ "`whoami`" != "root" ]; then
echo "Error: Must be root."
exit
fi
if [ -e /lib/libcutest.a ]; then
echo "rm /lib/libcutest.a"
rm /lib/libcutest.a
fi
if [ -e /usr/include/cutest.h ]; then
echo "rm /usr/include/cutest.h"
rm /usr/include/cutest.h
fi
if [ -e /usr/include/cutest_private.... | m-pilia/cUTest | uninstall.sh | Shell | gpl-3.0 | 518 |
tcdown
rm /var/www/sensors.geonovum.nl/webapps/sos/cache.tmp
psql -U sensors sensors < empty-dm-dump.sql
tcup
| Geonovum/sospilot | data/sosdb/reset-db.sh | Shell | gpl-3.0 | 111 |
#!/bin/bash
SCHEMA_PATH="/usr/share/glib-2.0/schemas/50_eos-theme.gschema.override"
APPS_TO_REMOVE="com.endlessm.biology.en com.endlessm.celebrities.en com.endlessm.encyclopedia.en \
com.endlessm.health.en com.endlessm.healthy_teeth.en com.endlessm.howto.en com.endlessm.maternity.en \
com.endlessm.soccer.en com.endle... | rachelproject/eos-justice | eos.sh | Shell | gpl-3.0 | 10,269 |
#!/bin/sh
iconv -f gbk -t utf8 $1 >> $2
| jianyingdeshitou/config | bash/home/bin/gbk2utf8.sh | Shell | gpl-3.0 | 40 |
find Lamdu -type dir -exec mkdir -p lamdu.hsproj/{} ";"
find Lamdu -name "*.hs" -exec ln -f {} lamdu.hsproj/{} ";"
cd bottlelib
find * -type dir -exec mkdir -p ../lamdu.hsproj/{} ";"
find * -name "*.hs" -exec ln -f {} ../lamdu.hsproj/{} ";"
cd ..
| da-x/lamdu | make_hsproj.sh | Shell | gpl-3.0 | 248 |
#!/bin/bash
# Copy the most up-to-date SMS backup as $destination_sms_backup
# to a directory where your web server can access it.
# Delete the rest of the SMS backups which are obsoleted.
# The SMS backup with the largest file size is considered to be the most
# up-to-date which should be safer than taking the lates... | mondalaci/bank-sms-extractor | update-latest-sms-backup.sh | Shell | gpl-3.0 | 983 |
:
if [ $# -ne 1 ]
then
echo "Usage: $0 application" 1>&2
exit 1
fi
application=$1
table_name=`get_table_name $application habitat`
echo " select concat( habitat_code, ' ', habitat ), habitat
from $table_name
order by habitat_code" |
sql.e |
grep "^[0-9]" |
sort -n
exit 0
| timhriley/appaserver | src_alligator/habitat_wizard_list.sh | Shell | gpl-3.0 | 293 |
#!/bin/bash
#
# NOTE: Open "crontab -e" and insert call to this script (with no parameters).
#
# And also put:
# MAILTO=""
# ...at the top of the crontab file.
#
# Look for errors in "command-metrics-$(hostname).log"
#
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$1" == "" ]; then
$SCRIPT_DI... | mo/command-metrics | cron.sh | Shell | gpl-3.0 | 516 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=MinGW_64-Windows
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=dll
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${TESTDIR}/TestFiles/f2
OUTPUT_BASENAME=f2
PACKAGE_... | rimnadze/JavaCom | JavaComDll/nbproject/Package-Debug.bash | Shell | gpl-3.0 | 1,455 |
#!/bin/bash
#
# extra/pkg_dirs.sh
#
# Copyright (c) 2017-2018 Decorum Development Team <p01arst0rm@github.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Lic... | p01arst0rm/decorum-linux | extra/pkg_dirs.sh | Shell | gpl-3.0 | 965 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/instances/11_2_workflow_full_10files_secondary_wmj_3sh_3rs_with_annot_with_proj_3s_hash/dags/ubuntu/pegasus/example_workflow/20161108T042002+0000/00/00/averageratioevent_0_ID0000024.sh | Shell | gpl-3.0 | 1,261 |
#!/usr/bin/env bash
pkill main
source .env
go run app/main.go &
inotifywait -m -r -e close_write adapters app domain engine providers | while read line
do
pkill main && go run app/main.go &
done | alioygur/gocart | devserver.sh | Shell | gpl-3.0 | 197 |
ant && ./packageJar.sh
| rindPHI/F3TextViewerFX | build.sh | Shell | gpl-3.0 | 23 |
#!/bin/bash
[ -f ~/.hosts.erlang ] || touch ~/.hosts.erlang
erl +K true +W w -name erlrtpproxy@powerbook.local -rsh ssh -config /opt/local/etc/erlrtpproxy.config -s rtpproxy_ctl
| lemenkov/erlrtpproxy | priv/erlrtpproxy.sh | Shell | gpl-3.0 | 178 |
#!/bin/bash
# Remove the Test WordpPress instalation. This script remove the WordPress
# directory and drop the database. It isn't executed automatically. It's only
# to make easier the instalation removal.
# Change to tests directory
cd "$(dirname "$0")"
# Define the WP-CLI configuration file
WP_CLI_CONFIG_PATH=wp-... | edpittol/wp-cli-api | tests/uninstall.sh | Shell | gpl-3.0 | 466 |
#!/bin/bash
# Configuration
processName="motion"
# Start motion detection
pid=`pidof $processName`
if [[ -n $pid ]]; then
echo "Motion detection is already running"
else
echo "Starting motion-detection"
nohup motion -n -c /etc/motion.conf > /dev/null 2>&1 &
fi
| drasive/raspi-surveillance | src/resources/scripts/motion-detection-start.sh | Shell | gpl-3.0 | 276 |
#!/bin/bash
###########################################################################
# Copyright (c) 2011-2014 Unixmedia S.r.l. <info@unixmedia.it>
# Copyright (c) 2011-2014 Franco (nextime) Lanza <franco@unixmedia.it>
#
# Domotika System Controller Daemon "domotikad" [http://trac.unixmedia.it]
#
# This file is par... | nexlab/domotikad | asterisk/scripts/extensions.sh | Shell | gpl-3.0 | 1,767 |
#!/usr/bin/env bash
# This script uploads the Darwin builds to artifactory, then triggers the
# circle ci job that signs them.
# ARTIFACTORY_USER="sa-circle-codesign"
# export PRODUCT_NAME="packer"
# export ARTIFACTORY_TOKEN=$ARTIFACTORY_TOKEN
# Get the parent directory of where this script is.
SOURCE="${BASH_SOURC... | dave2/packer | scripts/sign.sh | Shell | mpl-2.0 | 833 |
plink --vcf all.gatk.raw.snp_filtered02.final.vcf --make-bed --allow-extra-chr
cp plink.bim plink.bim.old
| wk8910/bio_tools | 17.gwas/01.plink/01.convert.sh | Shell | mpl-2.0 | 107 |
#! /bin/bash
JUIHOME=$HOME/NetBeansProjects/FreeChatJUI/dist/
JUI=$JUIHOME/FreeChatJUI.jar
PORT1=4000
PORT2=4001
ME1=Isi
ME2=Chandra #Ευανθια
# Start freechat
ruby -r isi/lib main.rb $ME1 $PORT1 $ME2 $PORT2 1 &
ruby -r isi/lib main.rb $ME1 $PORT1 $ME2 $PORT2 2 &
printf '\n'
| HistoricalValue/freechat | test/platform_starter.bash | Shell | agpl-3.0 | 286 |
#!/bin/bash
#
# Copyright 2003-2015 Opmantek Limited (www.opmantek.com)
#
# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM
#
# This file is part of Open-AudIT.
#
# Open-AudIT is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published... | wnoisephx/OpenAuditMT | other/audit_subnet.sh | Shell | agpl-3.0 | 10,679 |
#!/bin/sh
#
# Add an interface to the bridge
# Do not execute this script directly - this is used by QEMU
#
set -x
switch=br0
if [ -n "$1" ];then
tunctl -b -t $1
ifconfig $1 up 0.0.0.0 promisc
sleep 0.5s
brctl addif $switch $1
exit 0
else
echo "Error: no interface specified"
exit 1
fi
| ntop/PF_RING | userland/examples_zc/kvm/host/if-up.sh | Shell | lgpl-2.1 | 296 |
#!/bin/bash
#
# Easy Publish and Consume Library
# Copyright (C) 2007, 2008 Openismus GmbH
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at y... | GNOME/libepc | tests/test-runner.sh | Shell | lgpl-2.1 | 1,411 |
#!/bin/sh
#
# test_ingres.sh - runs libdbi test suite for ingres driver
#
# Copyright (C) 2010 Markus Hoenicka <markus@mhoenicka.de>
#
# This script is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; eithe... | cention-nazri/libdbi-drivers | tests/test_ingres.sh | Shell | lgpl-2.1 | 1,020 |
#!/bin/sh
PATH_USB=/home/wlanp/scripts/tmp/USB_JAVP
PATH_CAPTURES=/home/wlanp/scripts/tmp/USB_JAVP/captures/
DEV_USB=/dev/sdb1
USB=0951:16a2
WLAN_OCB=wlp2s0
MOUNTED=$(df -l | grep -i /dev/sdb1 | cut -d " " -f 15)
STAMP=$(date +"%F-%H-%M-%S")
ID_USB=$(lsusb | grep -i "Kingston Technology" | cut -d " " -f 6)
if [ "$US... | jfpastrana/802.11p | Software/scripts/bin/shutdown_usb.sh | Shell | lgpl-3.0 | 508 |
mvn verify gpg:sign install:install deploy:deploy
| ljug/java-tutorials | CasUtilisation/ljug-quickstart-archetype/src/main/resources/archetype-resources/doDeploy.sh | Shell | lgpl-3.0 | 50 |
export UNKNOWN_PROJECT_ROOT=$(pwd)
alias proot="cd $UNKNOWN_PROJECT_ROOT"
alias setup="$(echo $UNKNOWN_PROJECT_ROOT)/tools/setup/setup.sh"
alias test="$(echo $UNKNOWN_PROJECT_ROOT)/tools/test/test.sh"
alias build="$(echo $UNKNOWN_PROJECT_ROOT)/tools/build/cbuild.py"
alias build_engine="proot && build ECORE-LINUX"
ali... | CUB3D/Unknown-1.0-CPP | tools/env.sh | Shell | lgpl-3.0 | 539 |
#!/bin/bash
# @file getfunc.sh
# @brief utility functions for extracting the start and end addresses of kernel or user functions
# @author Ben Blum
# Copyright (c) 2018, Ben Blum
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that t... | bblum/bochs | pebsim/getfunc.sh | Shell | lgpl-3.0 | 5,060 |
#!/bin/bash
# set up key
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
# add repository
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
# install
apt-get update
apt-get install google-chrome-stable
| dave-r/dotfiles | debian/install-chrome.sh | Shell | unlicense | 296 |
conda install -c https://conda.binstar.org/guyer petsc
| GaZ3ll3/fenics-recipes-osx | petsc/build-osx.sh | Shell | unlicense | 55 |
#!/bin/sh
cd `dirname $0`/..
py=`readlink /usr/bin/python`
rm -rf tests/__pycache__
#PY_COLORS=1 "$py" helpers/colorlog.py -f -llogs/cygtox.html -clogs/cygtox.out -- "$py" -m tox -c cygtox.ini
PY_COLORS=1 "$py" helpers/colorlog.py -t "cygtoxrunner log" -llogs/cygtox.html -clogs/cygtox.out -- "$py" -m tox -c cygtox.in... | pyhedgehog/hook.io-sdk-python | helpers/cygtoxrunner.sh | Shell | unlicense | 438 |
#!/bin/bash
TODAY=`date '+%Y-%m-%d'`
mkdir -p logs
exec >> logs/$TODAY.log 2>&1
rm -f TERMINATED
rm -f PROCESSING
echo "DOWNLOAD FILE LIST"
# ------------------
mkdir -p lists
if [ ! -e lists/file_list-$TODAY.txt ] ; then
echo "file_list.txt" > PROCESSING
wget ftp://ftp.ncbi.nlm.nih.gov/pub/pmc/file_list... | tkuhn/pmcoa-downloader | run.sh | Shell | unlicense | 2,423 |
#!/usr/bin/bash
join() {
local IFS="$1"; shift
echo "$*"
}
apt_get_update() {
# Refresh packages index only when needed.
local update_stamp='/var/lib/apt/periodic/update-success-stamp'
if [[ ! -f $update_stamp ]] || \
(( $(date +%s) - $(date -r $update_stamp +%s) > 900 )); then
apt-... | kwilczynski/packer-templates | scripts/helpers/default.sh | Shell | apache-2.0 | 1,820 |
#!/usr/bin/env zsh
#
# {{{ File header. #############################################################
# #
# File informations: #
# - Name: zsh-external-tools.zsh ... | alem0lars/zsh-external-tools | zsh-external-tools.zsh | Shell | apache-2.0 | 3,613 |
#!/bin/bash
if [[ $EUID -eq 0 ]]
then
if [ -z "$JAVA_HOME" ]
then
echo "Warning: JAVA_HOME is not set. Have you installed already Java 8?"
fi
SETUP="/vagrant/vagrant-setup"
source $SETUP/include.sh
source $SETUP/openssl102.sh
yum -y install epel-release
# Required gcc gcc-c++ must have been already insta... | sergiomt/centorion | vagrant-setup/erlang.sh | Shell | apache-2.0 | 1,130 |
#!/bin/bash
#
# Initial data for Keystone using python-keystoneclient
#
# Tenant User Roles
# ------------------------------------------------------------------
# admin admin admin
# service glance admin
# service nova admin, [ResellerAdmin (swift ... | lichengshuang/createvhost | others/others/OneStack/gen_keystone_data.sh | Shell | apache-2.0 | 5,487 |
#!/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 "Licens... | Shmuma/hadoop | bin/hadoop-daemon.sh | Shell | apache-2.0 | 4,575 |
#!/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
# ... | apache/incubator-systemml | scripts/perftest/runMultiLogReg.sh | Shell | apache-2.0 | 1,823 |
#!/bin/bash -e
INSTANCE_ID="$1"
OPERATION="$2"
PLAN_UUID="$3"
SERVICE_UUID="$4"
validate_param() {
if [ "$1" = "" ]
then
echo "Usage: $0 <instance uuid> <binding uuid> <plan uuid> <service uuid>"
exit
fi
}
validate_param "$INSTANCE_ID"
validate_param "$OPERATION"
validate_param "$PLAN_UUID"
validate_pa... | rthallisey/ansible-service-broker | test/last_operation.sh | Shell | apache-2.0 | 745 |
#!/bin/bash
set -e -x -u
ROOT_DIR_PATH=$(cd $(dirname $0)/.. && pwd)
cd $ROOT_DIR_PATH
ginkgo ./client ./commands ./controller ./shell ./aws/templates
| rosenhouse/proctor | scripts/test.sh | Shell | apache-2.0 | 153 |
#!/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"); y... | tqchen/tvm | tests/scripts/task_python_microtvm.sh | Shell | apache-2.0 | 1,030 |
#!/bin/bash
# Copyright Istio Authors
#
# 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 agreed to in w... | istio/istio | tests/integration/security/fuzz/fuzzers/dotdotpwn/run.sh | Shell | apache-2.0 | 785 |
# Default values used by several dev-scripts.
#
# Current list of platform levels we support
#
# Note: levels 6 and 7 are omitted since they have the same native
# APIs as level 5. Same for levels 10, 11 and 12
#
API_LEVELS="3 4 5 8 9 12 13 14 15 16 17 18 19"
# Default ABIs for the target prebuilt binaries.
PREBUILT_... | efortuna/AndroidSDKClone | ndk_experimental/build/tools/dev-defaults.sh | Shell | apache-2.0 | 9,015 |
#!/bin/sh
# --time_format, --earliest_time, and --latest_time are added by search2.py
# search_interval.py calls search.py with the extra above params
# search.py has been modified to remove the csv header, and the extra newline at the end of each interval
python splunk2csv.py "search sourcetype=snort | convert timef... | spacepacket/vigil-splunk-parser | splunk2csv.sh | Shell | apache-2.0 | 572 |
#!/bin/bash
ipaddr=$(facter ipaddress_eth0)
curl -k -H "Content-Type: application/json" -X POST -d '{"id":1,"hostgroup":{"name":"Openstack","puppet_proxy_id":"1","puppet_ca_proxy_id":"1", "architecture_id":"1","environment_id":"1","domain_id":"1","operatingsystem_id":"1"}}' https://admin:admin@${ipaddr}/api/v2/hostgro... | rekcah78/sido-core | scripts/config_foreman.sh | Shell | apache-2.0 | 1,935 |
#!/bin/sh
set -eu
set -o pipefail
# to script directory
cd "$(dirname "$0")"
# import functions
. ../setup-scripts/common/color-print.sh
#################################################
### ZTS Deploy
#################################################
cat <<'EOF' | colored_cat c
##################################... | yahoo/athenz | docker/deploy-scripts/zts-deploy.sh | Shell | apache-2.0 | 4,354 |
#!/bin/sh
: ${SWIFT_DB_USER:=swift}
: ${SWIFT_DB_NAME:=swift}
: ${KEYSTONE_AUTH_PROTOCOL:=http}
: ${SWIFT_KEYSTONE_USER:=swift}
: ${ADMIN_TENANT_NAME:=admin}
check_required_vars KEYSTONE_ADMIN_TOKEN KEYSTONE_ADMIN_SERVICE_HOST \
SWIFT_ADMIN_PASSWORD
fail_unless_db
fail_unless_os_service_running ke... | bdastur/kolla | docker/swift/swift-container/start.sh | Shell | apache-2.0 | 1,130 |
#!/bin/sh
set -e # exit with nonzero exit code if anything fails
# clear and re-create the out directory
#mkdir out;
# run our compile script, discussed above
#./compile.sh
# go to the out directory and create a *new* Git repo
#cd out
cd "$TRAVIS_BUILD_DIR"
cd plantuml.eclipse.updatesite/target
git init
# inside thi... | Hellmy/plantuml-eclipse-xtext | deploy.sh | Shell | apache-2.0 | 1,039 |
function zsh_recompile() {
autoload -U zrecompile
[[ -f ~/.zshrc ]] && zrecompile -p ~/.zshrc
[[ -f ~/.zshrc.zwc.old ]] && rm -f ~/.zshrc.zwc.old
for f in ~/.zsh/**/*.zsh; do
[[ -f $f ]] && zrecompile -p $f
[[ -f $f.zwc.old ]] && rm -f $f.zwc.old
done
[[ -f ~/.zcompdump ]] && z... | abedra/dotfiles | .zsh/functions.zsh | Shell | apache-2.0 | 1,317 |
#!/bin/bash
#
# (C) Copyright 2013 The CloudDOE Project and others.
#
# 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 ... | moneycat/CloudDOE | workspace/bin/22_restore_hosts.sh | Shell | apache-2.0 | 999 |
#!/bin/bash
: ${DESIGNATE_CONFIG_FILE:="/etc/designate/designate.conf"}
: ${DESIGNATE_MARIADB_SERVICE_PORT:="3315"}
: ${DESIGNATE_MARIADB_SERVICE_HOST_SVC:="${DESIGNATE_API_SERVICE_HOSTNAME}-db.${DESIGNATE_SERVICE_NAMESPACE}.svc.$OS_DOMAIN"}
: ${DESIGNATE_DB_CA:="/run/harbor/auth/user/tls.ca"}
: ${DESIGNATE_DB_KEY:="/... | portdirect/harbor | docker/openstack/openstack-designate/openstack-designate-centos/common-assets/opt/harbor/designate/vars.sh | Shell | apache-2.0 | 1,638 |
#!/bin/bash
usage="Synchronize the files from ftp server to local folder
This program will create two invisible folder in root folder
1. .sync folder for synchronizing files from ftp server
2. .data folder to hold another copy of the files which guarantee the file is still available during syncing.
The file will be a... | parksandwildlife/gokart | ftp_sync/options.sh | Shell | apache-2.0 | 14,023 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.