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
config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy for ...
panosmdma/SlackOnly-SlackBuilds
games/typespeed/doinst.sh
Shell
mit
375
#!/bin/bash set -x set -e set -u if [ $UID != "0" ]; then echo "This script must be run as root" >&2 exit 1 fi packages=`grep ^Package: /var/lib/apt/lists/developer.download.nvidia.com_compute_cuda_repos_ubuntu1404_*_Packages | cut -f 2 -d ' '` apt-get -y remove $packages cuda-repo-ubuntu1404 rm -f /etc/apt/sources....
dnuffer/setup
remove_cuda.sh
Shell
mit
781
#!/bin/sh # complimentary script for Telegram Desktop build: # upgrade GCC to version 6.x # (c) 2017 Dmitry Veltishchev <dm.velt@ya.ru> (github:vdmit) # See LICENSE.md for legal info # WARNING: this script changes your default GCC compiler. set -e inst() { sudo apt install -y "$@" } log() { echo "`date +...
vdmit/autogram
install-gcc-6.x.sh
Shell
mit
659
# Sets reasonable OS X defaults. # # Or, in other words, set shit how I like in OS X. # # The original idea (and a couple settings) were grabbed from: # https://github.com/mathiasbynens/dotfiles/blob/master/.osx # COMPUTER_NAME="rafaelrozon" osascript -e 'tell application "System Preferences" to quit' # Ask for the...
rafaelrozon/dotfiles
roles/osx/files/set-defaults.sh
Shell
mit
21,591
#!/bin/sh ######################################## ### ### ### DON'T EDIT THIS FILE AFTER BUILD ### ### ### ### USE ENVIRONMENT VARIABLES ### ### INSTEAD ### ### ### ######################...
Adam-/inspircd-docker
conf/services.sh
Shell
mit
1,745
#!/bin/sh -e # Edit the following to change the name of the database user that will be created: APP_DB_USER=admin APP_APIW_USER=clerk # Edit the following to change the name of the database that is created (defaults to the user name) APP_DB_NAME=airline # Edit the following to change the version of PostgreSQL that i...
finessed/airline
VirtualMachines/pg-airline/Vagrant-setup/bootstrap.sh
Shell
epl-1.0
3,459
#!/bin/bash yum install -y vim wget lrzsz groupadd -rf serv echo -e "Setting path ... \c" touch "/usr/local/etc/path" echo ' #import path for path in `cat /usr/local/etc/path`; do export PATH=$PATH:$path done ' > /etc/profile.d/path.sh echo "[down]"; cp tools.sh /etc/profile.d/ echo -e "Setting vimrc ... \c" ec...
LyonWong/CentUp
base.sh
Shell
gpl-2.0
504
#!/bin/bash for h in {30,} do for i in {uni,rl} do for j in {1,2,3} do cd Gar${h}-2fl-${j}${i} mv emoeats/emoeats.cfg emoeats/emoeatpts.cfg mv emoeats/emoeats.out emoeats/emoeatpts.out mv emoeatpts/emoeatpts.cfg emoeatpts/emoeats.cfg m...
vira-lytvyn/labsAndOthersNiceThings
DataMining/I_A_D/GA_C++/deong-sls-f104071/deong-sls-f104071/src/scripts/fixnames.sh
Shell
gpl-2.0
502
#! /bin/sh # Copyright (C) 2002-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/fort1.sh
Shell
gpl-2.0
942
#!/bin/bash echo "****Start building****" echo "****Cleaning****" rm output/marvelc/boot.img-kernel rm output/marvelc/out/ramdisk-new.gz rm output/marvelcfiles/system/lib/modules/bcm4329.ko rm output/marvelcfiles/system/lib/modules/kineto_gan.ko rm output/marvelcfiles/boot.img rm output/marvelc/boot_new.img make clea...
jmztaylor/kernel_gb_marvelc
build.sh
Shell
gpl-2.0
1,291
#!/bin/sh system="$1" start="$2" end="$3" field="$4" echo "SELECT UNIX_TIMESTAMP(creation) AS time, data_$field FROM memory WHERE system='$system' AND UNIX_TIMESTAMP(creation) > '$start' AND UNIX_TIMESTAMP(creation) <= '$end' ORDER BY row_id;" \ |mysql --batch --delimiter=: --skip-column-names sdc \ |awk '{print $1 ...
jheusala/sdc
rrdtool/db-query-memory.sh
Shell
gpl-2.0
329
#!/bin/bash java -cp de.bitctrl.dav.toolset.archivcheck-runtime.jar \ -Xmx768m \ de.bitctrl.dav.toolset.archivcheck.ArchivSizer \ -datenverteiler=192.168.1.219:8083 \ -benutzer=vrz \ -authentifizierung=../../bin/dos/passwd \ -baseDir=Hier_muss_das_Basedir_her \ -outputFile=archivsize.txt \ -debugLevelStdErrTex...
bitctrl/dav-toolset
de.bitctrl.dav.toolset.archivcheck/src/main/dist/archivsize.sh
Shell
gpl-2.0
359
#!/bin/bash . cmd.sh stage=1 train_stage=-10 use_gpu=true dir=exp/nnet2_online/nnet_a . cmd.sh . ./path.sh . ./utils/parse_options.sh if $use_gpu; then if ! cuda-compiled; then cat <<EOF && exit 1 This script is intended to be used with GPUs but you have not compiled Kaldi with CUDA If you want to use GPUs ...
michellemorales/OpenMM
kaldi/egs/rm/s5/local/online/run_nnet2.sh
Shell
gpl-2.0
5,863
# Script to process files with HAN data (HAN-Marc) with an xslt-transformation to get MARC21 records basedir=$1 inputdir=$1/raw.hanmarc outputdir=$1/out.swissbib-MARC xslt=$basedir/xslt/HAN.Bestand.xslt output=HAN.marc21.nr cp=$1/libs/saxon9.jar #institutioncode=$2 nr=1 echo "start HAN-Marc -> Marc21 transformation...
swissbib/HANTransformations
transform.han2sbmarc.sh
Shell
gpl-2.0
531
#!/bin/bash # ************************************************** # catpure IO and MEMORY/CPU information # ************************************************** RUN_TIME_SECONDS=1000000 IOSTAT_INTERVAL=10 IOSTAT_ROUNDS=$[RUN_TIME_SECONDS/IOSTAT_INTERVAL+1] CAPTURE_MEMORY_INTERVAL=5 LOG_NAME_IOSTAT=mongodb.iostat LOG_NA...
Percona-QA/toku-qa
tokudb/software/mongodb/sysbench-mongodb/doit-monitors.bash
Shell
gpl-2.0
555
#!/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}/exercici_5...
pdavila13/Programacion_C
Modular/Exercici 5 - Modular/nbproject/Package-Release.bash
Shell
gpl-2.0
1,511
#!/usr/bin/env bash QUERY=${1:-"\"term2\""} INDEX_NAME=${2:-index_getjenny_english_0} PORT=${3:-8888} curl -v -H "Authorization: Basic $(echo -n 'admin:adminp4ssw0rd' | base64)" \ -H "Content-Type: application/json" -X POST http://localhost:${PORT}/${INDEX_NAME}/term/get -d "{ \"ids\": [${QUERY}] }"
GetJenny/starchat
scripts/api_test/getTerms.sh
Shell
gpl-2.0
306
#!/bin/bash # This script prepares the CI build for running echo "Configuring backend" sed -i -e "s|my \$hostname = .*$|my \$hostname = 'localhost';|" \ -e "s|our \$bsuser = 'obsrun';|our \$bsuser = 'jenkins';|" \ -e "s|our \$bsgroup = 'obsrun';|our \$bsgroup = 'jenkins';|" src/backend/BSConfig.pm.templa...
leemgs/open-build-service
dist/ci/travis_before_script.sh
Shell
gpl-2.0
1,146
#!/bin/sh # # Copyright (C) 2004, 2007, 2012 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 2001 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this pe...
phra/802_21
myODTONE/app/dhcp_usr/libs/bind/bind-9.8.4-P1/bin/tests/system/ixfr/clean.sh
Shell
gpl-2.0
913
## # SCRIPT COMMANDS ## # system-install # # This is meant to setup the server on Travis-CI so that it can run the tests. # system_install() { # Add the Google Chrome packages. header Setting up APT wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb ht...
energycircle/ecdpanopoly-drops-7
profiles/ecdpanopoly/scripts/travis-ci copy.sh
Shell
gpl-2.0
7,562
#!/bin/bash readonly GATEWAY="192.168.1.1" readonly SECONDS_INTERVAL=300 readonly MAX_FAILS=3; fail_counter=0; logger "${0} started {GATEWAY=${GATEWAY}, SECONDS_INTERVAL=${SECONDS_INTERVAL}, MAX_FAILS=${MAX_FAILS}}"; while true do sleep $SECONDS_INTERVAL; ping -c 1 $GATEWAY > /dev/null 2>&1; if [ $? = ...
yu55/scripts
pi/net-watch/pi_network_watchdog.bash
Shell
gpl-2.0
674
#!/bin/bash export KERNELDIR=`readlink -f .` export RAMFS_SOURCE=`readlink -f $KERNELDIR/recovery` export USE_SEC_FIPS_MODE=true echo "kerneldir = $KERNELDIR" echo "ramfs_source = $RAMFS_SOURCE" RAMFS_TMP="/tmp/arter97-ks01lte-recovery" echo "ramfs_tmp = $RAMFS_TMP" cd $KERNELDIR if [ "${1}" = "skip" ] ; then echo...
1N4148/android_kernel_samsung_msm8974
build_recovery.sh
Shell
gpl-2.0
2,556
#!/bin/sh # Test definition of the newly introduced nonstandard 'B 1 21/m 1' # space group setting: #BEGIN DEPEND------------------------------------------------------------------ INPUT_SCRIPT=scripts/symop_build_spacegroup #END DEPEND-------------------------------------------------------------------- set -ue ${...
sauliusg/cod-tools
tests/shtests/check_spacegroups_005.sh
Shell
gpl-2.0
379
#!/bin/bash git pull git init git add . git commit -a -m 'data version' git remote add origin git@github.com:username/reponame.git git push -u origin master
zigfrid2356/world_of_sand
run.sh
Shell
gpl-2.0
159
#!/bin/bash debug=true pkg=com.maimairen.app.jinchuhuo avdDbDir=`pwd | sed "s/.*\/databases/\/data\/data\/$pkg\/databases/g"` if [ debug ]; then echo packname: $pkg; echo target dir: $avdDbDir; fi if [ $1 ]; then dbFileName=$1; else dbFileName=jinchuhuobook.bdb fi adb push ./$dbFileName $avdDbDir/$dbFileName own...
JeremyHe-cn/work-every-where
.bin/push_file_to_avd.sh
Shell
gpl-2.0
552
#! /bin/sh ### BEGIN INIT INFO # Provides: LCDinit # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start PiLCD on boot # Description: Start PiLCD IP display for WebMSO28 ### END INIT INFO #. /l...
tkrmnz/PiLCD
LCDinit.sh
Shell
gpl-2.0
560
#!/bin/bash ########################################################################################### ## Copyright 2003, 2015 IBM Corp ## ## ## ## Redistribution and use in s...
PoornimaNayak/autotest-client-tests
linux-tools/perl_Font_AFM/perl-Font-AFM.sh
Shell
gpl-2.0
3,806
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2009-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/t2114-node-var-generated-file.sh
Shell
gpl-2.0
1,023
#!/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}/word_count_-...
akibis/school
415/415 - Homework 4 - Word Count/Word Count - POSIX/nbproject/Package-Debug.bash
Shell
gpl-2.0
1,497
#!/bin/bash DIR=$(cd $(dirname $0); pwd) SENSORD_DIR=$(cd $DIR/..; pwd) . $SENSORD_DIR/../scripts/common.sh NODE_PATH=$(which node) ( cd $SENSORD_DIR npm install --unsafe-perm --production if [ -f /lib/lsb/init-functions ] then echo generating init.d script /etc/init.d/sensord $DIR/gen_init_d.sh fi ) |...
premisense/premisense
sensord/scripts/install.sh
Shell
gpl-2.0
339
#!/bin/sh echo "FluxGeo Installation" read -p "Would you like to install this script? [y/n]" response case $response in [yY]) echo "Stopping xflux daemon" killall xflux echo "Installing xflux" if [ "$(uname -m | grep '64')" != "" ]; then echo "Detected 64 bit arch" sudo ...
isaaclo123/fluxgeo
setup.sh
Shell
gpl-2.0
1,130
#!/usr/bin/env bash # Installation Script for Local Development if [ -e /etc/os-release ]; then . /etc/os-release else . /usr/lib/os-release fi if [ "$ID" = "opensuse-leap" ]; then echo "Add wiki repository for openSUSE Leap $VERSION" sudo zypper addrepo https://download.opensuse.org/repositories/openSU...
openSUSE/wiki
install_devel.sh
Shell
gpl-2.0
2,770
#!/usr/bin/env bash export LC_ALL="C" function set_path_vars() { if [ -n "$OSXCROSS_VERSION" ]; then export VERSION=$OSXCROSS_VERSION export OSX_VERSION_MIN=$OSXCROSS_OSX_VERSION_MIN export TARGET=$OSXCROSS_TARGET export BASE_DIR=$OSXCROSS_BASE_DIR export TARBALL_DIR=$OSXCROSS_TARBALL_DIR ex...
tpoechtrager/osxcross
tools/tools.sh
Shell
gpl-2.0
10,152
#!/bin/sh # SPDX-License-Identifier: LGPL-2.1-or-later set -eu git shortlog -s `git describe --abbrev=0 --match 'v[0-9][0-9][0-9]'`.. | \ awk '{ $1=""; print $0 "," }' | \ sort -u
phomes/systemd
tools/git-contrib.sh
Shell
gpl-2.0
189
#!/bin/sh export KMP_AFFINITY=compact for SEED in `seq 0 15` do export CONFIG_OPTS="--with-cuda --seed $SEED" export OUTPUT_SUFFIX="gpu-$SEED" ./run.sh done
lawmurray/Resampling
run_gpu.sh
Shell
gpl-2.0
166
#!/bin/bash # I need to rewrite the code later echo "Hello World" parent=./Writing a=24 #newfolder=/newfolder #mkdir "$newfolder" for folder in "$parent"/*; do if [[ -d $folder ]]; then foldername="${folder##*/}" for file in "$parent"/"$foldername"/*; do filename="${file##*/}" newfilename="$a"_"$foldername"_"$filename"...
tahmid-tanzim/bash-scripting
file-process.sh
Shell
gpl-2.0
435
# Puropose: Verify existing BWBASIC behavior # Author: Howard Wulf # Date: 2014-03-28 # Usage: implementatino defined # Example: # cd /sdcard/Download/BASIC/bwbasic3/bwskytel # ash ./00test.sh # rm *.80 rm *.OUT rm *.dif # ---------------------------------------------- # Re...
yantrabuddhi/bwbasic3
SKYTEL/00test.sh
Shell
gpl-2.0
2,223
#!/bin/sh # Use revcontrol.sh <text file with list of files/directories to check> # Change here mailreports="yourname@example.com" backupdir="/my/config/backup/archives" startprocess=`date +%Y%m%d%H%M` if [! -f "$1" ]; then echo "missing/invalid parameter" exit 1 else param="$1" fi filename=`basename "$param"`...
gmuslera/revcontrol
revcontrol.sh
Shell
gpl-2.0
817
for centos: yum install sysstat bcc-tools bpftrace perf htop iproute msr-tools for ubuntu: sudo apt-get install sysstat bcc-tools bpftrace linux-tools-common \ linux-tools-$(uname -r) iproute2 msr-tools git clone https://github.com/brendangregg/msr-cloud-tools git clone https://github.com/brendangregg/bpf-perf-to...
heromsl/Memomis
obs_tool.sh
Shell
gpl-3.0
329
#!/usr/bin/env bash # # Utility script for running the Vagrantfile.remotetest against a Streisand host # # Set errexit option to exit immediately on any non-zero status return set -e echo -e "\n\033[38;5;255m\033[48;5;234m\033[1m S T R E I S A N D R E M O T E T E S T\033[0m\n" SCRIPT_DIR="$(cd "$(dirname "$0")" &...
ipat8/Streisand-VPN-GUI
tests/remote_test.sh
Shell
gpl-3.0
1,392
#!/usr/bin/env sh # REQUIRES: shell # RUN: cd %T; %{bear} --verbose --output %t.json -- %{shell} %s # RUN: assert_compilation %t.json count -eq 4 # RUN: assert_compilation %t.json contains -file %T/parallel_build_1.c -directory %T -arguments %{c_compiler} -c -o parallel_build_1.o parallel_build_1.c # RUN: assert_compi...
rizsotto/Bear
test/cases/compilation/output/parallel_build.sh
Shell
gpl-3.0
1,060
#!/bin/sh # this script is to be run as root on the remote server machine, usually via ssh # this assumes all of the necessary files such as distrib.conf, setupssl2.sh, etc. have already # been copied to the machine . ./libperftest.sh DSLOGDIR=${DSLOGDIR:-$PREFIX/var/log/dirsrv/slapd-$INST} LOGCONV=${LOGCONV:-logcon...
richm/389-perf-test
servercleanup.sh
Shell
gpl-3.0
848
# This file must be sourced inside (ba)sh using: . # # filesystem.sh. Generated from filesystem.sh.in by configure. # # Sets up the GNUstep filesystem paths for shell scripts # # Copyright (C) 2007 Free Software Foundation, Inc. # # Author: Nicola Pero <nicola.pero@meta-innovation.com>, # # Da...
dwestfall/gnustep-make
filesystem.sh
Shell
gpl-3.0
9,107
#/bin/bash # This programs fixes the ugly tooltip in Eclipse using GTK3 # running on Ubuntu with Ambiance Theme. # # Copyright (C) 2016 Kiran Mohan #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, ...
KiranMohan/eclipse-gtk3-ubuntu
fix-eclipse-ubuntu-16.04-laf.sh
Shell
gpl-3.0
3,606
export lang=uk_UA;
a1ive/grub2-filemanager
lang/uk_UA/lang.sh
Shell
gpl-3.0
19
#!/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_0_workflow_full_10files_primary_3sh_3rs_noannot_with_proj_3s_hash/dags/ubuntu/pegasus/example_workflow/20161107T191002+0000/00/00/taskevent_8_ID0000014.sh
Shell
gpl-3.0
1,237
#!/bin/bash #Script to push current repo on the repository gh-pages branch. # we should be in /home/travis/build/ivmartel/dcmbench echo -e "Starting to update gh-pages\n" # go to home and setup git cd $HOME git config --global user.email "travis@travis-ci.org" git config --global user.name "Travis" # using token, clo...
ivmartel/dcmbench
resources/scripts/update-gh-pages.sh
Shell
gpl-3.0
830
#!/bin/bash #git clone git clone https://github.com/ysycloud/paraGSEA.git cd paraGSEA #make make all #install make install #Test quick_search_serial
ysycloud/paraGSEA
install.sh
Shell
gpl-3.0
149
#!/bin/bash python sender.py& LD_PRELOAD=$HOME/opt/MUSIC.install/lib/libmusic.so.1 env PATH=$HOME/opt/music-adapters.build/:$PATH mpirun -np 2 --oversubscribe ~/opt/MUSIC.install/bin/music test.music& python receiver.py
incf-music/music-adapters
test/test_zmq_adapter/test.sh
Shell
gpl-3.0
220
cd /usr/local/src wget https://nodejs.org/dist/v10.10.0/node-v10.10.0-linux-x64.tar.xz tar xf node-v10.10.0-linux-x64.tar.xz mv node-v10.10.0-linux-x64 /srv/node-v10.10.0 rm -f /srv/node ln -s /srv/node-v10.10.0 /srv/node
oscm/shell
lang/node.js/binrary/node-v10.10.0.sh
Shell
gpl-3.0
221
#!/bin/sh cd "$(dirname "$0")" must() { status=$1 shift "$@" if [ $? = $status ] then echo "Test OK!" else echo "Failed test!" fi } echo "Regression tests for issue #2" must 0 ../codegrep "print" 2.0.lua must 1 ../codegrep "print" 2.1.lua must 0 ../codegrep "print" 2.2.lua must 1 ../...
hishamhm/codegrep
tests/run_tests.sh
Shell
gpl-3.0
450
#!/bin/sh do_tests() { rm *.$2 || true ( cd .. && echo '(compile-file "asdf")' |$1 ) for i in *.script; do rm *.$2 || true if $1 < $i ;then echo "Using $1, $i passed" >&2 else echo "Using $1, $i failed" >&2 exit 1 fi done echo "Using $1, all tests apparently successful" >&2 } # do_tests {lisp i...
bjc/moxie
Lisp/asdf/test/run-tests.sh
Shell
gpl-3.0
779
#!/bin/bash SCRIPT_ROOT=$(readlink -f $(dirname $0)) SRC_ROOT=$(readlink -f $(dirname $0)/..) ID=$(id -u) ARG=$1 . $SCRIPT_ROOT/config [ -e "$SCRIPT_ROOT/config_local" ] && . $SCRIPT_ROOT/config_local if [ $ID -eq 0 -a -d $CHROOT ]; then # chroot and su to the specific normal user grep $CHROOT/dev /proc/mounts > /d...
rogers0/debian-kernel-cross
archived/jessie/chroot_shell.sh
Shell
gpl-3.0
1,621
#!/bin/sh # # monthly mean # echo "########## $0 start ##########" set -x CNFID=$1 # CNFID (e.g. "def") START_YMD=$2 # YYYYMMDD (start day of analysis period) ENDPP_YMD=$3 # YYYYMMDD (end+1 day of analysis period) INPUT_DIR=$4 # input dir OUTPUT_DIR=$5 # output dir OVERWRITE=$6 # overwrite option (option...
kodamail/data_conv
monthly_mean.sh
Shell
gpl-3.0
8,071
#!/usr/bin/env bash sudo apt-get update sudo apt-get install -y python-software-properties software-properties-common sudo add-apt-repository -y ppa:pi-rho/dev sudo apt-get update sudo apt-get install -y tmux=2.0-1~ppa1~t sudo apt-get -y install libreadline6 libreadline-dev libreadline-dev libreadline6-dev libconfig-de...
SayedSadat/Tab
install.sh
Shell
gpl-3.0
994
#!/bin/bash set -ev cmake --build build (cd build ; cpack --verbose -G DragNDrop)
mariokonrad/vhf-sim
.travis/osx/script.sh
Shell
gpl-3.0
84
#!/bin/bash #------------------ # File: run-tests.sh # Author: Wolfger Schramm <wolfger@spearwolf.de> # Created: 19.04.2011 15:23:56 CEST ./utils/build_all.rb mm-build phantomjs test/testrunner.js file://`pwd`/test/offline.html
spearwolf/kiwoticum
old-stuff/App/run-tests-offline.sh
Shell
gpl-3.0
229
#!/usr/bin/env bash # # This script assumes a linux environment echo "*** AdNauseam.firefox: Creating web store package" BLDIR=dist/build DES="$BLDIR"/adnauseam.firefox rm -rf $DES mkdir -p $DES/webextension VERSION=`jq .version manifest.json` # top-level adnauseam manifest echo "*** AdNauseam.firefox: Copying commo...
cqx931/AdNauseam
tools/make-firefox.sh
Shell
gpl-3.0
1,194
#!/bin/sh # # See the openvpn man page for details on `--up` # /sbin/iptables -A FORWARD -o "${dev}" -i eth0 -s 192.168.2.0/24 -m conntrack --ctstate NEW -j ACCEPT
nharward/openvpn-gateway
on-up.sh
Shell
gpl-3.0
165
# download toolchain from: # https://sourcery.mentor.com/GNUToolchain/subscription3053?lite=arm&lite=ARM&signature=4-1330864567-0-e3ad3089427f58b2a4a8bdf30f5fb0fb4ae5e79f # Sourcery CodeBench Lite 2013.11-24 # https://sourcery.mentor.com/GNUToolchain/release2635 # https://sourcery.mentor.com/GNUToolchain/package...
Ma3X/boot-talker
docs/toolchains/armenv.sh
Shell
gpl-3.0
920
#!/bin/bash mkdir deps cd deps #---------------------------------------------------- echo "mustache.go ..." #git clone git://github.com/hoisie/mustache.go.git git clone git://github.com/jsz/mustache.go.git cd mustache.go && gomake && gomake install && cd .. #---------------------------------------------------- echo "...
kybernetyk/fettemama
getdeps.sh
Shell
gpl-3.0
635
#!/bin/bash # modules/kerberos/run.sh # Copyright Vince Mulhollon 2014 # GPLv3 license pkg install --no-repo-update --yes krb5 pam_krb5-rh | $NIHLOG cp $NIH/krb5.conf /etc/krb5.conf exit 0
vincemulhollon/nihconfig
modules/kerberos/run.sh
Shell
gpl-3.0
193
#!/bin/bash # pwd is the git repo. set -e echo "Install peep" pip install bin/peep-2.5.0.tar.gz echo "Install Python dependencies" peep install -r requirements.txt # less important requirements pip install -r dev-requirements.txt echo "Creating a test database" mysql -e 'create database peekaboo;' # psql -c 'create ...
mozilla/peekaboo
bin/travis/install.sh
Shell
mpl-2.0
354
#!/bin/bash # # This file is part of SerialPundit. # # Copyright (C) 2014-2020, Rishi Gupta. All rights reserved. # # The SerialPundit is DUAL LICENSED. It is made available under the terms of the GNU Affero # General Public License (AGPL) v3.0 for non-commercial use and under the terms of a commercial # license for...
RishiGupta12/serial-communication-manager
tools-and-utilities/play-sound.sh
Shell
agpl-3.0
1,358
#!/bin/sh # local config section CATALINA_HOME=/path/to/tomcat JAVA_HOME=/path/to/java TOMCAT_USER=tomcat # end of local config section # 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 reg...
WASP-System/central
wasp-doc/src/scripts/tomcat7-init.d.sh
Shell
agpl-3.0
6,767
#!/usr/bin/env bash set -e . ../build_config.sh rm -rf tmp mkdir tmp cd tmp echo "Building zlib $ZLIB_VERSION" curl -SLO https://zlib.net/$ZLIB_VERSION.tar.gz tar -xf $ZLIB_VERSION.tar.gz cd $ZLIB_VERSION/ CC=$HOST-gcc AR="$HOST-ar" RANLIB=$HOST-ranlib ./configure \ --prefix=$PREFIX \ --static make make i...
MTG/essentia
packaging/win32_3rdparty/build_zlib.sh
Shell
agpl-3.0
348
#!/bin/sh set -e GEOIPDB=http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip . ${0%/*}/db_auth.sh usage() { echo Usage: ${0##*/} [options] echo echo Options: echo " " -h display this help message echo " " -s be more silent \(show only warnings\) } # getopt SILENT="" args=`ge...
niavok/syj
scripts/updategeoip.sh
Shell
agpl-3.0
2,121
#!/usr/bin/env bash : ${OS?} : ${ARCH?} : ${TAG:=} : ${BRANCH?} set -eux BASE_DIR=$(cd $(dirname $0)/.. && pwd) TMP_BUILD_DIR=$BASE_DIR/$(mktemp -d build.XXXXXXXX) trap 'rm -rf $TMP_BUILD_DIR' EXIT cd $TMP_BUILD_DIR curl -s -L "https://github.com/acoustid/ffmpeg-build/releases/download/v4.2.2-3/ffmpeg-4.2.2-audio...
lalinsky/chromaprint
package/build.sh
Shell
lgpl-2.1
2,751
main_file=/home/reemahs/EclipseProjects/Final_Year_Project/NESTCameraSimulator/json file_name=NEST_Camera_One.json hub_url=http://localhost:8081 java -cp nestcamerasimulator.jar:lib/jackson-annotations-2.8.7.jar:lib/jackson-core-2.8.7.jar:lib/jackson-databind-2.8.7.jar:../../IoTCommon/deploy/iotcommon.jar:../../IoTComm...
Reemahs/Cloud-Based-Internet-of-Things-Data-Interoperability-Repository
NESTCameraSimulator/deploy/run.sh
Shell
lgpl-2.1
634
# Run with ./run-tests.sh test_that_stbt_lint_passes_existing_images() { cat > test.py <<-EOF && import stbt stbt.wait_for_match('$testdir/videotestsrc-redblue.png') EOF stbt lint --errors-only test.py } test_that_stbt_lint_fails_nonexistent_image() { cat > test.py <<-EOF && import stbt stbt.wait_for...
LewisHaley/stb-tester
tests/test-stbt-lint.sh
Shell
lgpl-2.1
7,252
#!/bin/sh # Copyright (C) 2007-2014 CEA/DEN, EDF R&D # # 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 your option) any later version. # # Thi...
FedoraScientific/salome-med
src/MEDOP/doc/sphinx/images/convert.sh
Shell
lgpl-2.1
1,182
#!/bin/sh VER=0.40.4-0 cd data rm -f ../AndroidData/openttd-data-*.zip.xz ../AndroidData/openttd-data-*.zip zip -0 -r ../AndroidData/openttd-data-$VER.zip . && xz -8 ../AndroidData/openttd-data-$VER.zip
pelya/commandergenius
project/jni/application/openttd-jgrpp/pack-data.sh
Shell
lgpl-2.1
205
#!/bin/sh echo 0.3.0
berndhs/qxmpp
version.sh
Shell
lgpl-2.1
21
# Make.sh = update Makefile.lib, Makefile.shlib, Makefile.list # or style_*.h files # Syntax: sh Make.sh style # sh Make.sh Makefile.lib # sh Make.sh Makefile.shlib # sh Make.sh Makefile.list # function to create one style_*.h file # must whack *.d files that depend on style_*.h file...
CFDEMproject/C3PO-PUBLIC
core/Make.sh
Shell
lgpl-3.0
2,661
#!/bin/bash #Your task is to use for loops to display only odd natural numbers from 1 #to 99 for i in {1..99..2} do echo ${i} done
heticor915/ProgrammingContest
HackerRank/LinuxShell/Bash/Looping_Skipping.sh
Shell
lgpl-3.0
142
#!/bin/bash free=`free -mt | grep Total | awk '{print $4}'` echo $free if [ $free > 256 ]; then ps -eo %mem,pid,user,args >/tmp/processes.txt echo 'Warning, free memory is '$free'mb' | notify-send fi
SenchoPens/dotfiles
bin/check_ram.sh
Shell
unlicense
217
eval $(ssh-agent -s) ssh-add gitkey
TheDenys/Scripts
sh/setkey.sh
Shell
unlicense
36
#!/bin/bash group="$1" sudo chgrp --recursive $group /var/lib/jenkins && sudo chmod --recursive g+w /var/lib/jenkins
gnawhleinad/wendy
test/util/permission.sh
Shell
unlicense
118
#this shellscript combines your images into a gif #in order to get the software you need to run this script on Raspbian, run: #1.) sudo apt-get install imagemagick #2.) make sure this script is in the same folder as capture.sh and the "timelapse" folder #you can run this script manually or do it as a cronjob if you w...
TroyCitizenScience/timelapse
combine.sh
Shell
unlicense
512
#!/bin/bash # this script copies the required dynamic lib (libtensorflow_cc.so) to desired folder if [[ $(/usr/bin/id -u) -ne 0 ]]; then echo "*** You need to run this script as root (try with sudo) ***" echo echo "This script": echo " 1. copies libtensorflow_cc.so" echo " from src path (ofxMSATensor...
memo/ofxMSATensorFlow
scripts/ubuntu/update_lib.sh
Shell
apache-2.0
1,101
#!/usr/bin/env bash # from extended_B.1.sh ID=$(basename "$0" | sed "s/.sh$//g") ABS_PATH=$(readlink -f $0) cd $(dirname $(dirname $(dirname ${ABS_PATH}))) MYDIR=logs/${ID} mkdir -p ${MYDIR} cp ${ABS_PATH} ${MYDIR} CUDA_VISIBLE_DEVICES=5 \ python -u main.py \ --experiment_id ${ID} \ --data_name scan \ --train_file S...
yli1/CGPS
experiments/length_main/length_main_B.sh
Shell
apache-2.0
1,004
#!/bin/bash if [ -z "$ROOT" ] then ROOT=$(while ! test -e env.sh.sample; do cd ..; done; pwd) export ROOT fi . $ROOT/env.sh START_FOLDER=$PWD mkdir -p $IDS_FOLDER mkdir -p $TMPDIR echo echo "*********************************" echo servIoTicy final demo tester echo Listing SOs and DPPs echo "**************...
servioticy/servioticy-demo
delete_all_so.sh
Shell
apache-2.0
494
#################### # functions #################### # print available colors and their numbers function colours() { for i in {0..255}; do printf "\x1b[38;5;${i}m colour${i}" if (( $i % 5 == 0 )); then printf "\n" else printf "\t" fi done } # Create a n...
omalsa04/dotfiles
zsh/functions.zsh
Shell
apache-2.0
1,666
#!/bin/sh # logit "\n" # info "4 - Container Images and Build Files" # 4.1 check_4_1="4.1 - Create a user for the container" check=$(echo $check_4_1 | cut -d "-" -f 1) check_description=$(echo $check_4_1 | cut -d "-" -f 2,3 | sed -e 's/^[ \t]*//') # If container_users is empty, there are no running containers if ...
ehsanmostajeran/docker-bench-security-logging
tests/4_container_images.sh
Shell
apache-2.0
1,587
#!/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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
googleapis/google-resumable-media-python
.kokoro/build.sh
Shell
apache-2.0
1,772
## \cond #HEADSTART############################################################## # #PROJECT: UnifiedTraceAndLogManager #AUTHOR: Arno-Can Uestuensoez - acue.opensource@gmail.com #MAINTAINER: Arno-Can Uestuensoez - acue.opensource@gmail.com #SHORT: utalm-bash #LICENSE: Apache-2.0 + CCL-BY-SA-3.0...
ArnoCan/utalm
src/utalm-bash/src/conf/versinfo.gen.sh
Shell
apache-2.0
1,354
#!/bin/bash -e OPTS=`getopt -o op: --long os,publish,help: -n 'parse-options' -- "$@"` BASE_DIR=$(dirname $(dirname $(dirname $(realpath ${0})))) echo "Base ${BASE_DIR}" OS="" TASK="build" while true; do case "$1" in -o | --os) OS="${2}"; shift;shift ;; -p | --publish) TASK="publish"; shift;; -- ) shift...
densebrain/epictask
etc/scripts/build-other-os.sh
Shell
apache-2.0
1,703
#!/bin/sh # Copyright 2019 Google Inc. All Rights Reserved. # # 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 applicabl...
googleapis/google-api-swift-client
Examples/Google/Compute/GENERATE.sh
Shell
apache-2.0
809
tests_dir="$(athena.arg 1)" php_exit_code=0 pushd "$tests_dir" 1>/dev/null if ! athena.argument.argument_exists '--exclude'; then find . -name "*.php" | SHELL=$SHELL parallel php -l >/dev/null else list_arg=$(athena.argument.arg --exclude) list=$(echo $list_arg | sed "s#,#\|#g") # the 'SHELL=$SHELL' is necessary t...
athena-oss/plugin-php
bin/cmd/lint.sh
Shell
apache-2.0
692
#! /bin/bash ### ---- parameters expected ---- # see readme for additional details # # 1. service identifier for the process being monitored (optional) ### ----------------------------- if command -v realpath >/dev/null 2>&1; then SCRIPTPATH=`dirname $(realpath $0)` else SCRIPTPATH=$( cd "$(dirname "$0")" ; p...
Nastel/tnt4j-stream-jmx
bin/stream-jmx.sh
Shell
apache-2.0
1,803
#!/bin/bash for ffmpegdir in `find ffmpeg* -maxdepth 0 -type d | sort -rV` do rm -rf $ffmpegdir done for tarfile in `find releases/ffmpeg* | sort -rV` do tar -xf $tarfile done RELEASE_TIMESTAMP=`date +%Y%m%d%H%M` for ffmpegdir in `find ffmpeg* -maxdepth 0 -type d | sort -rV` do mv $ffmpegdir $ffmpegdir....
zhangkom/ffmpeg4android-code
create-ffmpeg4android.sh
Shell
apache-2.0
952
#!/usr/bin/env bash # Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
GoogleCloudPlatform/oss-test-infra
prow/pj-on-kind.sh
Shell
apache-2.0
1,107
#!/bin/bash # Copyright 2012-2014 Brno University of Technology (Author: Karel Vesely) # Apache 2.0 # This example script creates a multilingual nnet. The training is done in 3 stages: # 1. FMLLR features: It generates fmllr features from the multilingual training data. # 2. DBN Pre-training: To initialize the nnet,...
irrawaddy28/SBS-mul
run_dnn_adapt_to_multi_dt.sh
Shell
apache-2.0
9,024
#!/bin/bash # # -- Run as: ./run_target_range_test_evenness_scaling.sh 1> test_output/stdout.txt 2> test_output/stderr.txt # errecho(){ >&2 echo $@; } # Declare test ranges: declare -a range_targets=("../models/ico_sphere/ico_sphere.obj" "../models/dome/dome_c.obj" "../models/dome/ico_2.obj") #("1.25") #$(seq 3 90) ...
LightStage-Aber/LightStage-Repo
exp/Evenness_Scaling/run_target_range_test_evenness_scaling.sh
Shell
apache-2.0
2,178
#!/usr/bin/env bash DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd ) PATH=$DIR/../../dist/bin:$DIR/../../bin:$PATH if [ x$TARGET == x ]; then case "$OSTYPE" in darwin*) TARGET=macbook ;; linux*) TARGET=linux ;; *) echo "unknown: $OSTYPE" && exit 1;; esac fi var=CFLAGS_${TARGET} CFLAGS=${!var} var=...
jiaminglu/kotlin-native
samples/socket/build.sh
Shell
apache-2.0
812
#!/bin/bash # A container based OpenWRT image builder. # # https://github.com/jandelgado/lede-dockerbuilder # # (c) Jan Delgado 2017-2021 set -euo pipefail # base Tag to use for docker imag IMAGE_TAG=openwrt-imagebuilder SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # may be overridden in the config fil...
jandelgado/lede-dockerbuilder
builder.sh
Shell
apache-2.0
5,964
mosmlc -c Mips.sml mosmlc -c RegAlloc.sig RegAlloc.sml mosmlc -c S100.sml mosmlyac -v Parser.grm mosmlc -c Parser.sig Parser.sml mosmllex Lexer.lex mosmlc -c Lexer.sml mosmlc -c Type.sig Type.sml mosmlc -c Compiler.sig Compiler.sml mosmlc -o C100 C100.sml
martinnj/100Compiler
CODE/compile.sh
Shell
apache-2.0
256
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lice...
dhuang/incubator-airflow
scripts/ci/images/ci_prepare_ci_image_on_ci.sh
Shell
apache-2.0
2,315
#!/bin/bash # Copyright 2015 Backstop Solutions Group, 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 la...
BillWeiss/2015PuppetCampMaterials
precommit/00_stash-things.sh
Shell
apache-2.0
1,848
#!/usr/bin/env bash $SPARK_HOME/bin/spark-submit \ --class gloving.Evaluate \ --name "gloving-evaluate" \ --master "local[*]" \ --driver-memory ${DRIVER_MEMORY:-8G} \ ./target/scala-2.10/gloving-assembly-0.1.0-SNAPSHOT.jar \ "$@"
anelson/gloving
bin/evaluate.sh
Shell
apache-2.0
237