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 # Copyright 2012 Johns Hopkins University (Author: Daniel Povey). Apache 2.0. # This version of the train_sgmm2 script has several jobs on each machine, and adds the # accumulators up in memory. # SGMM training, with speaker vectors. This script would normally be called on # top of fMLLR features obta...
StevenLOL/Research_speech_speaker_verification_nist_sre2010
SRE2010/steps/train_sgmm2_group.sh
Shell
gpl-2.0
15,651
#!/bin/sh test_description='diff -r -t shows directory additions and deletions' . ./test-lib.sh test_expect_success setup ' mkdir dc dr dt && >dc/1 && >dr/2 && >dt/3 && >fc && >fr && >ft && git add . && test_tick && git commit -m initial && rm -fr dt dr ft fr && mkdir da ft && for p...
haglerchristopher/automation
src/3rd_party/git/t/t4037-diff-r-t-dirs.sh
Shell
gpl-2.0
711
#!/bin/bash ############################################################### # Algoritmica, Practica 3 # Script para generar árboles aleatorios ############################################################### #----------------- VARIABLES -----------------# # Programa y directorio de salida PROGRAMA=arbolaleatorio SALI...
andreshp/Algoritmica
Practica3/Code/Problema4/generaArbolAleatorio.sh
Shell
gpl-2.0
1,058
#@section functions # @private void die__autodie ( *argv ) # # Runs *argv. Dies on non-zero return code. # die__autodie() { if "$@"; then return 0 else die "command '$*' returned $?." fi } #@section functions # void autodie ( *argv, **F_AUTODIE=die__autodie ) # # Runs %F_AUTODIE ( *argv ) whi...
dywisor/shlib
lib/autodie.sh
Shell
gpl-2.0
675
source /etc/messages.sh [ $# -eq 0 ] && echo "Missing prefix" && exit -1 prefix="${1}" drive=$(usb-select-drive) if [ -e ${drive} ]; then driveName=$(basename ${drive}) # partition info sudo fdisk -l ${drive} > ${prefix}_partinfo.txt sudo fdisk -l ${drive} | grep "${drive}[0-9]" | while read -r line; ...
folkien/scripts
drive-make-footprint.sh
Shell
gpl-2.0
4,803
#!/bin/sh ################################################################################ # # # Copyright (c) 2009 FUJITSU LIMITED # # ...
anthony-kolesov/arc_ltp
testcases/kernel/controllers/cpuset/cpuset_inherit_test/cpuset_inherit_testset.sh
Shell
gpl-2.0
5,143
##!/bin/bash echo "rele.sh $*" >> /tmp/rele.log case $1 in "1") gpio -p write 200 1 sleep 2 gpio -p write 200 0 ;; "2") gpio -p write 201 1 sleep 2 gpio -p write 201 0 ;; esac
achmed20/doorberry-piface
asterisk/rele.sh
Shell
gpl-2.0
209
#!/bin/bash # Author: Frank.Agerholm # Subject: query System Update # SERVER=###SERVER### CHECK_USER=###CHECK_USER### NOW=`date +%Y%m%d_%H%M%S` echo SERVER:`hostname` echo DOMAIN:`domainname` echo UPTIME:`uptime` echo UNAME: `uname -a` echo
fager/sshrun
scripts/script_uptime.sh
Shell
gpl-2.0
244
#! /bin/bash branch="cm-11.0" remote="LineageOS" twrpbranch="android-6.0" twrpremote="omnirom" twrpurl="https://github.com/omnirom/android_bootable_recovery.git" urlstart="https://github.com/LineageOS/android_" urlend=".git" gitstart="git@github.com:XperiaGo/android_" #gitstart="https://github.com/XperiaGo/android_" g...
XperiaGo/android_scripts
Fetch.sh
Shell
gpl-2.0
3,501
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=Cygwin_4.x-Windows CND_CONF=Release CND_DISTDIR=dist NBTMPDIR=build/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/neocortex OUTPUT_BASENAME=neocortex PACKAGE_TOP_DI...
dimasalomatine/neocortex
nbproject/Package-Release.bash
Shell
gpl-2.0
1,425
#!/bin/bash # FILES=//Users/user/Desktop/files/* # MONKEY=//Users/user/Desktop/monkey/* echo "Select your from folder (the one with all the stuff in it!)\n" read fromFolder echo "Select your to folder (the one which will have all the stuff in it!)\n" read toFolder echo "Please enter your cheese ingredient to se...
macProSki/grilled-cheese-parser
grilled-cheese.sh
Shell
gpl-2.0
1,310
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free...
mp4h/mp4h
ltmain.sh
Shell
gpl-2.0
142,222
#!/bin/sh # accept an http request (ignoring the details of the request) # and send an mp3 stream in response. # # this is installed in /var/service/mp3stream/mp3stream.sh read a if echo "$a" | grep -q ' HTTP/1.1' then read a while echo -n "$a" | egrep -q : do read a done fi echo "HTTP/1.1 200 OK Content-...
tomclegg/mp3cat
example.mp3stream.sh
Shell
gpl-2.0
374
#!/usr/bin/env bash # # return true, if variable is set; else false isSet() { if [[ ! ${!1} && ${!1-_} ]]; then return 1; else return 0; fi } activateIO() { touch "$1" exec 6>&1 exec > "$1" } removeIO() { exec 1>&6 6>&- } upgrade_config_file () { ( # execute in subshell, so that sourced variables are...
Valien/MySQL-Backup-Script
install.sh
Shell
gpl-2.0
21,188
#! /bin/bash NPVer="3.00" GENOME="hg19" FEATURE="dhs" CORES=4 mkdir -p data wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeAwgDnaseUniform/files.txt cut -f1,1 files.txt > list.txt for BED in `cat list.txt`; do wget http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeAwgDnaseUni...
shenlab-sinai/ngsplotdb
ENCODE_cellline_dhs/genDB_for_DHS_ENCODE.sh
Shell
gpl-2.0
1,958
#!/bin/sh PROG=`basename $0` KEYFILE=src/libdspam.c # Some OS's have multiple versions (autoconf259, etc.) and don't have an # autoconf binary AUTOCONF=`which autoconf` LIBTOOLIZE=`which libtoolize` if test x"${AUTOCONF}" != x -a -f ${AUTOCONF} then AUTOCONF=autoconf AUTOMAKE=automake ACLOCAL=aclocal ...
aleksey200505/dspam
autogen.sh
Shell
gpl-2.0
2,064
#!/bin/bash # Copyright 2016 University of Sheffield (Jon Barker, Ricard Marxer) # Inria (Emmanuel Vincent) # Mitsubishi Electric Research Labs (Shinji Watanabe) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) # This script is made from the kaldi recipe of the 2nd CHiME Chall...
michellemorales/OpenMM
kaldi/egs/chime4/s5_1ch/local/run_dnn.sh
Shell
gpl-2.0
10,406
#!/system/bin/sh nc 192.168.1.123 5678 | tr -d '\15' | while read line ; do echo $line if [[ $line == MAGIQUEST* ]] then echo magic input tap 800 800 sleep 0.25 input swipe 600 1000 600 500 sleep 0.25 input tap 10 10 sleep 0.25 input tap 800 800 sleep 0.25 ...
arpruss/esp8266ir
ir_to_web/android/fireworks.sh
Shell
gpl-2.0
1,030
convert images/OCS-661.png -crop 1659x5010+0+0 +repage images/OCS-661-A.png convert images/OCS-661.png -crop 1659x5010+1659+0 +repage images/OCS-661-B.png #/OCS-661.png # # #
jonnymwalker/Staroslavjanskij-Slovar
scripts/middlesplit.OCS-661.sh
Shell
gpl-2.0
175
gitsrc $1 https://github.com/rat4/blackcoin _COMMON_COIND_LEVELDB_FIX=1 common_coind $1
sensorii/mymkr
mymkr/pkgs/old/blackcoin.sh
Shell
gpl-2.0
88
/Applications/XAMPP/xamppfiles/bin/mysqldump --add-drop-table --default-character-set=utf8 --host=gorgogol.org --user=gorgogol_wor1 -p gorgogol_wor1 --result-file=../.db/remotedb_$(date +%d-%m-%Y).sql
gorgogol/gorgogol-website
scripts/backup-remote.sh
Shell
gpl-2.0
202
#!/bin/bash # # link vmlinux # # vmlinux is linked from the objects selected by $(KBUILD_VMLINUX_INIT) and # $(KBUILD_VMLINUX_MAIN). Most are built-in.o files from top-level directories # in the kernel tree, others are specified in arch/$(ARCH)/Makefile. # Ordering when linking is important, and $(KBUILD_VMLINUX_INIT) ...
tzanussi/linux-yocto-micro-3.14
scripts/link-vmlinux.sh
Shell
gpl-2.0
6,052
#!/usr/bin/env bash # vim: set ft=sh sw=4 sts=4 et : mkdir paludis_ruby_TEST_dir || exit 1 cd paludis_ruby_TEST_dir || exit 1 mkdir -p home/.paludis/repositories cat <<END > home/.paludis/repositories/testrepo.conf location = `pwd`/testrepo format = ebuild names_cache = /var/empty cache = /var/empty profiles = \${lo...
pioto/paludis-pioto
ruby/paludis_ruby_TEST_setup.sh
Shell
gpl-2.0
1,577
#!/bin/bash # Copyright 2014 Ryan Warren # # This file is part of Project Tools for Android. # # Project Tools for Android 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...
ryancwarren/android-scripts
project-build-debug-android.sh
Shell
gpl-3.0
2,248
#!/bin/bash # load environment-dependent definitions for CXXTESTGEN, CPP, etc. . ./define_unittest_vars.sh # Predefine some ANSI color escape codes RED='\033[0;31m' GREEN='\033[0;0;32m' NC='\033[0m' # No Color echo echo "Generating and compiling unit tests for mpfit..." $CXXTESTGEN --error-printer -o test_runner_mpf...
perwin/imfit
run_unittest_mpfit.sh
Shell
gpl-3.0
726
#!/bin/bash ###################################################################### #By Tummy a.k.a Vincent C. Passaro # #Vincent[.]Passaro[@]gmail[.]com # #www.vincentpassaro.com # ###################################################################### #_________________________________...
jason-callaway/stig-fix
cat3/gen001290.sh
Shell
gpl-3.0
2,305
# Plowshare filepup.net module # Copyright (c) 2013-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare 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 # (...
hainn8x/plowshare
src/modules/filepup_net.sh
Shell
gpl-3.0
6,939
#!/usr/bin/env bash # Find en.json messages that are missing descriptions in the qqq.json file set -e builtin hash jq &>/dev/null || { echo "${BASH_SOURCE[0]} requires 'jq'" 1>&2 exit 1 } CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" I18N="$( cd "$CURRENT_DIR/.." && pwd )" EN="${I18N}/i18n/en.j...
wikimedia/wikimedia-wikimania-scholarships
data/maintenance/findMissingQqq.sh
Shell
gpl-3.0
522
######################################################################### # File Name: result.sh # Author: GatieMe # mail: ftcl@163.com # Created Time: Wed 27 Jan 2016 12:44:23 AM CST ######################################################################### #!/bin/bash python result.py -f data.txt python result.py -f...
gatieme/MemoryFaultInjection
script/memory/result/result.sh
Shell
gpl-3.0
331
#!/bin/sh # El Mayor-Cucapah earthquake: multiple-mechanism model combining: # 1) Newtonian viscoelastic relaxation in narrow ductile zone in lower crust aligned with locations of high heat flow and geothermal activity in Salton Trough; top depth 10 km; bottom depth 22.5 km (Moho depth) # 2) power-law (n=3.5) viscoela...
geodynamics/relax
examples/elmayor/Forward modeling/Coupled_models/Coupled_model2/Coupled_model2.sh
Shell
gpl-3.0
4,665
#!/bin/bash # Script to use ettercap to redirect all DNS traffic back to the device # Use with SET (site cloner) #set the prompt to the name of the script PS1=${PS1//@\\h/@dnsspoof} clear . /opt/pwnix/pwnpad-scripts/px_functions.sh if loud_one=1 f_validate_one at0; then f_banner(){ printf "\nEvilAP Ettercap-NG 0.8...
harayz/pwn_pad_sources
scripts/dnsspoof.sh
Shell
gpl-3.0
825
#!/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 1B/logs/w-10-B/20161125T032329+0000/00/00/calculateratio_4_ID0000019.sh
Shell
gpl-3.0
1,252
#!/bin/bash # Map environment variables to flags for Golang linker's -ldflags usage function get_linker_ldflags { [ -n "$BUILD_BRANCH" ] && echo -n "-X 'github.com/mysteriumnetwork/node/metadata.BuildBranch=${BUILD_BRANCH}' " [ -n "$BUILD_COMMIT" ] && echo -n "-X 'github.com/mysteriumnetwork/node/metadata.Buil...
MysteriumNetwork/node
bin/helpers/functions.sh
Shell
gpl-3.0
833
PARENT=index NAME="ROTARACT ROUND-TRIP 2016" NAVIGATION=yes CONTENT=" <div class=\"container\"> <div class=\"about-text\"> <div style=\"float:left;\" class=\"rrt\"><a href=\"roundtrip_info.html\" class=\"rrt-link\">Information</a> </div> <div style=\"float:right;\" class=\"rrt\"><a href=\"round...
debrecenics/rotaract_web
scripts/skeleton/en/roundtrip.sh
Shell
gpl-3.0
513
#!/bin/bash sudo rm /var/www/html/index.html sudo rm /usr/lib/cgi-bin/Gforthmail.cgi sudo rm /usr/lib/cgi-bin/Gforthmailget.cgi sudo rm /usr/lib/cgi-bin/RN171-cgi-get.cgi sudo rm /usr/lib/cgi-bin/last-RN171-data.cgi sudo rm /run/cgitest.tmp sudo rm /run/cgimail.tmp sudo cp index.html /var/www/html/index.html sudo cp ...
harrypower/CHIP-cgi-example
setup.sh
Shell
gpl-3.0
874
#!/bin/bash # Copyright 2007, 2012 Stephen Fisher and Junhyong Kim, University of # Pennsylvania. # # This file is part of Glo-DB. # # Glo-DB 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 ...
safisher/Glo-DB
gloDB.sh
Shell
gpl-3.0
962
#!/bin/bash . `dirname "$0"`/includes.sh setup_backup EXCLUDE="library|new|shared|rip|iTunes" for i in "$ORIG/music/"*/; do backup_exclude $EXCLUDE $i $@ done for i in "$ORIG/music/_new/"*/; do backup_exclude "zz_" $i $@ done backup "music/library/" $@ --exclude "high/" --exclude "new/"
SuperBFG7/scripts
backup/backup_music.sh
Shell
gpl-3.0
295
#!/bin/bash -x docker build -t arthurmilliken/go-dev:latest -t arthurmilliken/go-dev:1.9.1 .
arthurmilliken/docker-dev
go-dev/docker-build.sh
Shell
gpl-3.0
92
#!/bin/bash # link: https://gist.github.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263 # Tom Hale, 2016. MIT Licence. # Print out 256 colours, with each number printed in its corresponding colour # See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163 set -eu # Fail on ...
miernota/LINUX_CFG
LINUX/ARCH/bin/256_print_colours.sh
Shell
gpl-3.0
3,338
#!/bin/bash # tput_menu: a menu driven system information program BG_BLUE="$(tput setab 4)" BG_BLACK="$(tput setab 0)" FG_GREEN="$(tput setaf 2)" FG_WHITE="$(tput setaf 7)" # Save screen tput smcup # Display menu until selection == 0 while [[ $REPLY != 0 ]]; do echo -n ${BG_BLUE}${FG_WHITE} clear cat <<- _EOF...
maassql/bash
prompt_2017/.prompt_includes/tput_clear_demo.sh
Shell
gpl-3.0
1,191
#!/bin/sh source "./hdevtools-options.sh" hdevtools check $HDEVTOOLSOPTS "$@"
exbb2/BlastItWithPiss
hdevtools-check.sh
Shell
gpl-3.0
78
#!/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 1B/logs/w-10-A/20161127T171406+0000/00/00/taskevent_0_ID0000006.sh
Shell
gpl-3.0
1,237
rm cscope.files find -L . -name "*.cpp" >> ./cscope.files find -L . -name "*.cxx" >> ./cscope.files find -L . -name "*.c" >> ./cscope.files find -L . -name "*.h" >> ./cscope.files find -L . -name "*.xml" >> ./cscope.files find -L . -name "*.asm" >> ./cscope.files find -L . -name "*akefil*" >> ./cscope.files find -L . -...
shucommon/little-routine
script/gen_cscope.sh
Shell
gpl-3.0
444
#!/bin/sh # # dependency of other script # *_*_tstep_var.sh # # output # */*/monthly_mean/ # DAYS=$1 INPUT_DIR=$2 OUTPUT_DIR=$3 LONMIN=$4 LONMAX=$5 LATMIN=$6 LATMAX=$7 SW=$8 # optional: all(default), only-land, only-ocean REF_CTL=$9 # optional: veget_mat TARGET_VAR=${10} # optional echo "reg_mean....
kodamail/data_conv
to_be_modified/reg_mean.sh
Shell
gpl-3.0
3,471
#!/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 2/instances/8_2_wikiflow_1sh_1s_annot_sec_wmj/dags/ubuntu/pegasus/example_workflow/20170118T205410+0000/00/00/terminate_0_ID0000009.sh
Shell
gpl-3.0
1,213
#!/bin/bash RED="\033[0;31m" YELLOW="\033[0;33m" GREEN="\033[0;32m" NONE="\033[0m" function _handle_input() { argument_found=0 case $1 in --magentodir=*) magentodir="${1#*=}/" argument_found=1 ;; esac if [ $argument_found -eq 0 ]; then _print_help ...
borasocom-team/deploy-from-modman
deploy_from_modman.sh
Shell
gpl-3.0
3,400
#!/bin/sh : ${LOCALE_FR=fr_FR} : ${LOCALE_FR_UTF8=fr_FR.UTF-8} if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no locale for testing is installed" else echo "Skipping test: no locale for testing is supported" fi exit 77 fi if tes...
komh/coreutils-os2
gnulib-tests/test-strtold1.sh
Shell
gpl-3.0
520
#!/bin/bash mkdir /home/$USER/.config/clyrics if [ "$EUID" -ne 0 ] then echo "Cannot detect root! Re-run as superuser" exit fi git clone https://github.com/trizen/clyrics.git /opt/clyrics apt install cpanminus cpanm WWW::Mechanize cp /opt/clyrics/plugins/*.pl /home/$USER/.config/clyrics ln -s /opt/clyrics/clyrics /...
RebekkaRR/ubuntu-get-started
scripts/clyrics.sh
Shell
gpl-3.0
342
#!/bin/bash # A script that packages Google Disconnect for distribution. # # Copyright 2013 Disconnect, 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...
disconnectme/gdc
build.sh
Shell
gpl-3.0
1,017
#!/bin/bash DIR=$(dirname "$0") DATADIR="../../data" ABSDIR=$(realpath "$DATADIR") OUTLIST="$DIR/list.txt" EXT="*.wav" find "$ABSDIR" -name "$EXT" > "$OUTLIST"
rodarima/instrument-recognition
src/mining/list.sh
Shell
gpl-3.0
165
#!/bin/bash ##### FUNCTIONS ##### function networkup { # Initialize number of attempts reachable=$1 while [ $reachable -gt 0 ]; do # Ping supplied host ping -q -c 1 -W 1 "$2" > /dev/null 2>&1 # Check return code if [ $? -eq 0 ]; then # Success, we can exit with the right return code ...
Photocentric3D/Photonic3D-Dev
host/bin/start.sh
Shell
gpl-3.0
12,805
# Copyright 2015-2016 Gu Zhengxiong <rectigu@gmail.com> # # This file is part of Unish. # # Unish 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 la...
NoviceLive/unish
src/file.sh
Shell
gpl-3.0
4,029
#!/usr/bin/env bash # -*- coding: utf-8 -*- # # This file is part of autosemver. # Copyright (C) 2016 David Caro. # # autosemver 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 # Licens...
david-caro/python-autosemver
run_tests.sh
Shell
gpl-3.0
1,396
#!/usr/bin/env bash if [ $(dpkg-query -W -f='${Status}' ansible 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo "Add APT repositories" export DEBIAN_FRONTEND=noninteractive apt-get install -qq software-properties-common &> /dev/null || exit 1 apt-add-repository ppa:ansible/ansible &> /dev/null...
dergriewatz/htn
provision/ansible.sh
Shell
gpl-3.0
557
#!/bin/bash # Copyright (C) 2018 Robin Černín <cerninr@gmail.com> # Copyright (C) 2018 David Valle Delisle <dvd@redhat.com> # Copyright (C) 2018, 2019, 2020 Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public...
zerodayz/citellus
citellusclient/plugins/metadata/system/system-uuid.sh
Shell
gpl-3.0
1,325
( shar ../src/*.* > testfile.shar && \ ../src/peek testfile.shar && \ rm -f testfile.shar ) >/dev/null 2>&1 || exit 1
znxster/peek
tests/Shar.sh
Shell
gpl-3.0
120
#!/bin/sh ROOTDIR="$PWD" # Remove previous configuration rm -r ./bin BuildConfig() { #$1 build path #$2 CMAKE_BUILD_ARCHITECTURE 32/64 #$3 CMAKE_BUILD_TYPE Debug/Release #$4 CMAKE_LIBRARY_OUTPUT_DIRECTORY mkdir -p $1 #cp -r ../res $1 cd $1 cmake -DCMAKE_BUILD_ARCHITECTURE=$2 -DCMAKE_BUILD_TYPE=$3 -DCMAKE_LI...
AirVPN/airvpn-client
src/UI.GTK.Linux.Tray/build-x64.sh
Shell
gpl-3.0
522
#!/bin/bash source $HOME/.local/share/AppInstall/components/helpers/colors.sh echo -e "$green Downloading installer... $close_color" && cd ~/ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && echo -e "$green Installing... $close_color" && sudo dpkg -i google-chrome-stable_current_a...
Wilfison/AppsInstall
components/chrome.sh
Shell
gpl-3.0
445
#!/system/bin/sh ######### #### CONFIG ######### CHDROIDFOLDER=/sdcard/chdroid #DISTRIB=funtoo #DISTRIB=arch DISTRIB=debian ROOTFSDIR=$CHDROIDFOLDER/rootfs/$DISTRIB IMGDIR=$CHDROIDFOLDER/images IMG=$IMGDIR/$DISTRIB.img SOURCEDIR=$CHDROIDFOLDER/sources SOURCE=$SOURCEDIR/$DISTRIB.source SCRIPTDIR=$CHDROIDFOLDER/script...
sductor/chdroid
scripts/chdroid-conf.sh
Shell
gpl-3.0
1,752
#!/bin/bash # Updates the current smartHome installation via pulling updates from # github.com # Check if the script is run as root if [ "$(id -u)" != "0" ]; then echo echo "You have to run this script as root (sudo) !" echo fi # Save the current path path=$(pwd) # Create folders for backup of config mkdir smarth...
Brootux/easy-knx
tools/update_smartHome.sh
Shell
gpl-3.0
896
#!/bin/sh git push heroku master heroku db:push sqlite://$PWD/octranspo.sqlite3 --confirm octranspo-api
karfai/octranspo-api
update-heroku.sh
Shell
gpl-3.0
104
#!/bin/bash #examples: #lat=26.26152844 #long=-81.51112916 if [ "$#" -lt 2 ] then echo "input error" echo "example usage: $0 26.26152844 -81.51112916" exit 1 fi lat=$1 long=$2 wget -O- -q "http://maps.google.com/maps/api/geocode/xml?latlng=$lat,$long&sensor=false"|\ grep formatted|\ head -n1|\ cut -d\>...
metalx1000/Maps-and-Locations
bash/address.sh
Shell
gpl-3.0
342
#!/sbin/sh # /sbin/mount -a busybox mount -o rw,remount /system rm -rf /system/etc/init.d/96settings rm -rf /system/etc/init.d/97settings busybox mount -o ro,remount /system
coretechsystems/AptOS-G900A
tmp/csctweaks/defaultsettings/etc/tools/runsremove.sh
Shell
gpl-3.0
176
#!/bin/bash # Desktop background if [ -x /usr/bin/feh ] ; then feh --bg-fill /home/latunov/Pictures/wallpapers/mountain.jpg & fi # Start xmobar xmobar & # Set keyboard mappings setxkbmap -layout us,bg -variant ,phonetic -option grp:alt_shift_toggle # Start terminal gnome-terminal -x bash -c "screenfetch; exec $SH...
xswordsx/xmonad-config
start-xmonad.sh
Shell
gpl-3.0
350
#!/bin/bash # # Install scapy+pylibpcap+rfmon patch in Mac OS X # # Make sure only root can run our script if [[ $EUID -ne 0 ]]; then echo "This script must be run as root!" 1>&2 exit 1 fi # Check for MacPorts installed if [ ! -f /opt/local/bin/port ]; then echo "Please install Xcode and MacPorts first!" ...
0x90/scapy-install
osx-macports.sh
Shell
gpl-3.0
855
#!/bin/bash #OPTIONS: # -f Force the recreation of the test repository. This will overwrite the existing repo, if it exists. # -d Destination of repository (default: ~/gangadir_schema_test). # -v Version of Ganga to execute from /afs/cern.ch/sw/ganga/install (e.g. 5.8.9-pre). # -r Location ...
ganga-devs/ganga
ganga/GangaRelease/tools/retro_schema_gen.sh
Shell
gpl-3.0
618
$MEIQUE .. || fail "Failed to build" EXE=`./exe` || fail "Target not compiled!?" if [ $EXE != "Pass" ] then fail "Global addCustomFlags wasn't used on this target!" fi
Meique/Meique
tests/global_flags/script.sh
Shell
gpl-3.0
173
#!/bin/bash PIDLIST=$( cat ./running_tasks.txt ) for i in $PIDLIST do kill -KILL $i done rm ./running_tasks.txt
jjdmol/LOFAR
CEP/LAPS/Messaging/demo/stop_demo.sh
Shell
gpl-3.0
116
mkdir bin g++ -v crc32.cpp -O3 -o ./bin/crc32
DeadSix27/crc32cpp
build_linux.sh
Shell
gpl-3.0
46
#!/bin/bash # # Unattended/SemiAutomatted OpenStack Installer # Reynaldo R. Martinez P. # E-Mail: TigerLinux@Gmail.com # OpenStack KILO for Ubuntu 14.04lts # # PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin if [ -f ./configs/main-config.rc ] then source ./configs/main-config.rc mkdir -p /et...
tigerlinux/openstack-kilo-installer-ubuntu1404lts
modules/keystone-glance.sh
Shell
gpl-3.0
1,729
echo "Some random models" echo curl "http://localhost:55001/predict?C2=1&C6=2" echo curl "http://localhost:55001/predict/GBM_model_python_1473313897851_6?C2=1&C6=1" echo curl -X POST --data '{"C2":"1", "C6":"2"}' http://localhost:55001/predict echo curl -X POST --data '{"C2":"1", "C6":"2"}' http://localhost:550...
h2oai/steam
prediction-service-builder/examples/raw-model/test-example.sh
Shell
agpl-3.0
372
#!/bin/bash (echo $BASHPID; kill -s SIGSTOP $BASHPID; exec $@)
rouvoy/powerapi
powerapi-sampling/src/universal/scripts/start.bash
Shell
agpl-3.0
64
export LD_LIBRARY_PATH=$HOME/orangefs/lib export LIBRARY_PATH=$HOME/orangefs/lib export C_INCLUDE_PATH=$HOME/orangefs/include
achivetta/skyefs
util/opencloud/setup_env.sh
Shell
lgpl-2.1
126
#!/usr/bin/env bash set -e package_name=ECF repo_checkout=trunk url="svn://ecf.zemris.fer.hr/ecf/$repo_checkout" # https://stackoverflow.com/q/579196#comment24641886_579238 # In svn 1.9+ (Xenial or later), use this: # svn info --show-item revision $url # http://subversion.apache.org/docs/release-notes/1.9.html#svn...
roboticslab-uc3m/xgnitive
scripts/travis/cache-ecf.sh
Shell
lgpl-2.1
1,318
#!/bin/bash # # Script to export the Reports repository into a zip file in the current directory. # ./export-repository.sh "public/Alflytics" "OLAP" "Alflytics.OLAP"
fcorti/Alflytics
endpoints/kettle/src/5.2/repository/export-Alflytics.OLAP-repository.sh
Shell
lgpl-2.1
168
#!/bin/bash # Discover workgroup: `smbtree` # sudo mount -t cifs //192.168.1.110/TBHS /run/media/Technician/Expansion/TBHS/Server -o user=felix,rw #workgroup=workgroup # mount -t cifs //SERVER/SHARENAME /mnt/MOUNTPOINT -o user=USERNAME,password=PASSWORD,workgroup=WORKGROUP,ip=SERVERIP #sudo mount -t cifs //benhec...
Technicus/BashScripts
Network/Server/server.sh
Shell
lgpl-3.0
742
#! /bin/sh set -ev # Set parameters for small CSP instances sed -i.bak 's/^\(NQUEENS_RANGE\)=.*/\1=$(seq 10 11)/' experiments.sh sed -i 's/^\(MAGIC_SQUARE_RANGE\)=.*/\1=$(seq 5 6)/' experiments.sh sed -i 's/^\(CREW_SCHEDULING_RANGE\)=.*/\1=OR-Library\/NW41.txt/' experiments.sh sed -i 's/^\(TSP_RANGE\)=.*/\1=$(seq 8 9)/...
bftjoe/naxos
apps/ACvsBC/verification.sh
Shell
lgpl-3.0
556
#!/bin/bash echo "[Pre-Requirement] Makesure install JDK 6.0+ and set the JAVA_HOME." echo "[Pre-Requirement] Makesure install Maven 3.0.3+ and set the PATH." action=$1 if [ -z "$action" ] then echo "No action supplied,should like: build.sh [install|deploy|package]" fi set MAVEN_OPTS=$MAVEN_OPTS -XX:M...
houdejun214/lakeside-java
build.sh
Shell
lgpl-3.0
624
#!/usr/bin/env bash ######################################################## # Setup the database # # Deletes old database and recreates all data. ######################################################## DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # delete old database files & uploads # for postgres #sudo s...
janekg89/flutype_webapp
create_db.sh
Shell
lgpl-3.0
803
#!/bin/sh # # Vivado(TM) # runme.sh: a Vivado-generated Runs Script for UNIX # Copyright 1986-2016 Xilinx, Inc. All Rights Reserved. # echo "This script was generated under a different operating system." echo "Please update the PATH and LD_LIBRARY_PATH variables below, before executing this script" exit ...
The7thPres/CFTP
CFTP_Sat/CFTP_Sat.runs/synth_1/runme.sh
Shell
lgpl-3.0
1,176
#!/bin/sh # base16-shell (https://github.com/chriskempson/base16-shell) # Base16 Shell template by Chris Kempson (http://chriskempson.com) # Humanoid dark scheme by Thomas (tasmo) Friese color00="23/26/29" # Base 00 - Black color01="f1/12/35" # Base 08 - Red color02="02/d8/49" # Base 0B - Green color03="ff/b6/27" # Ba...
wincent/wincent
aspects/dotfiles/files/.zsh/colors/base16-humanoid-dark.sh
Shell
unlicense
3,948
#!/bin/sh # Initial run - create JSON databases and exit if [ "$1" = "init" ]; then for spider in $(scrapy list); do scrapy crawl "$spider" -o "scrapes/${spider}_init.json" done exit 0 fi # Standard run - create JSON database ... timestamp=$(date +%s) for spider in $(scrapy list); do scrapy c...
sairon/motoscrape
run.sh
Shell
unlicense
558
#!/usr/bin/env bash DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cp /etc/ssl/certs/ca-certificates.crt . cd $DIR/src CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o $DIR/xtetcd-proxy . cd $DIR
k2s/dockerfiles
xtetcd-proxy/Dockerfile.before.sh
Shell
unlicense
216
#!/bin/bash base=$(pwd) cd ../ root=$(pwd) inputPath=$root/dataIn/ outputPath=$root/dataOut/0_fiji_mask mkdir -p $outputPath cd $inputPath echo $inputPath ls -aslh for file in $(ls 201[56]_zona[12].tif) do echo "bash $base/run.sh $inputPath $outputPath $file" bash $base/run.sh $inputPath $outputPath $file done
YannChemin/craters
sixthsense/0_fiji_mask/run_bash.sh
Shell
unlicense
318
#!/bin/bash # Yet Another UserAgent Analyzer # Copyright (C) 2013-2017 Niels Basjes # # 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 r...
Innometrics/yauaa
analyzer/src/main/resources/UserAgents/ISOLanguageCode/Generate.sh
Shell
apache-2.0
5,533
#!/usr/bin/env bash set -e set +x # We don't need LOG_DIR because we write no log files, but setting it to a # directory avoids trying to create it (and logging a permission denied error) export LOG_DIR="$KAFKA_EXPORTER_HOME" if [ -n "$KAFKA_EXPORTER_GROUP_REGEX" ]; then # shellcheck disable=SC2027 groupregex...
ppatierno/kaas
docker-images/kafka/exporter-scripts/kafka_exporter_run.sh
Shell
apache-2.0
1,666
#!/bin/bash if [ $# -eq 0 ]; then >&2 echo "No parameters given." echo "This script changes the Scala version used in this project." echo "Usage: $0 <new Scala version (e.g., 2.12.4)>" exit 1 fi basedir="$(cd "$(dirname "$0")/.."; pwd)" # Detect the old versions. old_minor="$(grep -o "<scala.version>.*</scala.ve...
jonasrk/rheem
bin/change-scala-version.sh
Shell
apache-2.0
1,311
aws_region=$(curl -s http://169.254.169.254/latest/dynamic/instance-identity/document|grep region|awk -F\" '{print $4}'); gocdDownloadDir="/gocd-downlaod" mkdir -m 700 -p ${gocdDownloadDir} cd ${gocdDownloadDir} # List of config files to download # Path relative to bucket fileList+=() fileList+=("gocd/conf/sudoers") fi...
stakater/infrastructure-reference
infrastructure-modules/global-admiral/instance-pool/scripts/gocd-additional-user-data-script.sh
Shell
apache-2.0
4,209
echo "Charlie v0.03" echo "Starting camera and websocket servers..." #python2.7 websocket.py & ./cmdserver.py & ./cam.sh & echo "Done!""
sernaleon/charlie
Raspberry/old/server/start.sh
Shell
apache-2.0
138
#! /bin/bash # This script assumes that "spark-submit" is available on $PATH. OUTDIR=${DIG_CRF_HOME}/data/sample/adjudicated_modeled_live_eyehair_100_03-x100-tags.spark # Dangerous! rm -rf ${OUTDIR} time spark-submit \ --master 'local[8]' \ ${DIG_CRF_HOME}/src/applyCrf/applyCrfSparkTest.py --pairs \ --i...
usc-isi-i2/dig-crf
examples/sample/applyCrfPjSparkX100Test.sh
Shell
apache-2.0
617
# python3 md070crosslevenshteinPhon.py ../../../xdata/y2016riga-cog-ukru/pattr-internet-ua-dict07.txt ../../../xdata/y2016riga-cog-ukru/pattr-internet-ru-dict2.txt ua ru >../../../xdata/y2016riga-cog-ukru/pattr-internet-crosslev-ua-ru07.txt # python3 md070crosslevenshteinPhonV02TopCand.py ../../../xdata/y2016riga-cog-u...
bogdanbabych/morphosyntax
src/s010cognatematch/md070crosslevenshteinPhonV09-1001.sh
Shell
apache-2.0
1,127
# ********************************************************************************* # Description: Builds a docker image for this node app # Author: Joe Rice # Created: 10/14/2016 # # Notes: # Uses the Dockerfile in this same git repo # ***********************************************************************...
joericearchitect/site-joe-rice-architect
devops/scripts/jarch-run-web-proxy.sh
Shell
apache-2.0
571
#!/bin/bash # # This script is designed to run within the spark-master container # source /opt/spark/configure_spark.sh env echo "SPARK_MASTER_IP:=$IP" echo "preparing Spark" prepare_spark $IP echo 'export SPARK_JAVA_OPTS="-Dspark.deploy.defaultCores=1"' >> /opt/spark-1.0.0/conf/spark-env.sh echo "starting Spark ...
SavvyMachine/framework
spark/spark-master/files/boot.sh
Shell
apache-2.0
572
#!/bin/bash -e # This script checks that the claiming tool works on index packs. BASE_DIR="$PWD/kythe/cxx/tools/testdata" OUT_DIR="$TEST_TMPDIR" KINDEX_TOOL_BIN="kythe/cxx/tools/kindex_tool" CLAIM_TOOL_BIN="kythe/cxx/tools/static_claim" INDEX_PACK_BIN="kythe/go/platform/tools/indexpack/indexpack" mkdir -p "${OUT_DIR}" ...
legrosbuffle/kythe
kythe/cxx/tools/testdata/test_claim_tool_index_pack.sh
Shell
apache-2.0
1,428
#!/usr/bin/env bash noOfVeths=8 if [ $# -eq 1 ]; then noOfVeths=$1 fi echo "No of veth pairs is $noOfVeths" last=`expr $noOfVeths - 1` veths=`seq 0 1 $last` for i in $veths; do intf0="veth$(($i*2))" intf1="veth$(($i*2+1))" if ! ip link show $intf0 &> /dev/null; then ip link add name $intf0 type...
p4lang/PI
proto/ptf/bmv2/veth_setup.sh
Shell
apache-2.0
868
#!/usr/bin/env bash set -e # Exit with nonzero exit code if anything fails START_TIME=$SECONDS echo -n "Java Version: " && java -version echo -n "Javac Version: " && javac -version if [ "$TRAVIS_REPO_SLUG" == "Educama/Showcase" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then ec...
EduCaMa/Showcase
backend/build.sh
Shell
apache-2.0
993
#!/bin/sh ./hexdump infile.txt #./hexdump /usr/bin/cpp-5 #./hexdump main.s
wbwiltshire/LinuxAssembler
gas/hexdump/testit.sh
Shell
apache-2.0
75
#!/bin/bash docker run -d -t -p 5000 -p 7946 --name proxy nak3/haproxy
nak3/cockroach-local-cluster
haproxy/hack/run.sh
Shell
apache-2.0
72
#!/bin/bash # # Copyright 2018 Google LLC # # 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 t...
GoogleCloudPlatform/marketplace-k8s-app-tools
marketplace/deployer_util/patch_assembly_phase.sh
Shell
apache-2.0
2,084
#!/bin/bash socket="$1" cmd="$2" if [ "$cmd" == "off" ]; then tdtool --off $socket elif [ "$cmd" == "on" ]; then tdtool --on $socket else echo "Error! Unknown command"; fi
Zeukkari/leapgim-legacy
script/tellstick.sh
Shell
apache-2.0
179