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/sh # Copyright (C) 2006 OpenWrt.org # DEBUG="echo" find_config() { local iftype device iface ifaces ifn for ifn in $interfaces; do config_get iftype "$ifn" type config_get iface "$ifn" ifname case "$iftype" in bridge) config_get ifaces "$ifn" ifnames;; esac config_get device "$ifn" device for ...
houzhenggang/MaRa-a1a0a5aNaL
package/base-files/files/lib/network/config.sh
Shell
gpl-2.0
8,040
#!/bin/bash #This script installs mysql server apt-get update debconf-set-selections <<< "mysql-server mysql-server/root_password password $db_root_password" debconf-set-selections <<< "mysql-server mysql-server/root_password_again password $db_root_password" apt-get -y install --fix-missing mysql-server
openstack/heat-translator
translator/tests/data/artifacts/mysql/mysql_dbms_install.sh
Shell
apache-2.0
308
#!/bin/bash cloudmonkey set table default TEMPOSID=$(cloudmonkey list ostypes keyword="Other PV (64-bit)" filter=id | grep ^id | awk {'print $3'}) # XenServer cloudmonkey register template displayText=Tiny format=VHD hypervisor=XenServer isextractable=true isfeatured=true ispublic=true isrouting=false name=Tiny osType...
MissionCriticalCloud/cosmic-bubble
helper_scripts/cosmic/add_os_templates.sh
Shell
apache-2.0
758
#!/bin/bash export PATH=$PATH:/sbin rmmod g_file_storage rmmod net2272 if [ $1 = "nand" ]; then mount /mnt/nand || mount -o remount,rw /mnt/nand elif [ $1 = "root" ]; then mount -o remount,rw / else mount /mnt/sd || mount -o remount,rw /mnt/sd fi
uli/gmenu2x
pandora/scripts/usboff.sh
Shell
gpl-2.0
250
#!/usr/bin/env bash set -e ############################################################################### # # all-tests.sh # # Execute tests for edx-platform. This script is designed to be the # entry point for various CI systems. # ###############################################################################...
analyseuc3m/ANALYSE-v1
scripts/all-tests.sh
Shell
agpl-3.0
962
#!/bin/sh _do_mdmon_takeover() { local ret mdmon --takeover --all ret=$? [ $ret -eq 0 ] && info "Taking over mdmon processes." return $ret } if command -v mdmon >/dev/null; then _do_mdmon_takeover $1 fi
Calrama/dracut
modules.d/90mdraid/mdmon-pre-shutdown.sh
Shell
gpl-2.0
229
#!/bin/bash # # This script assumes a linux environment echo "*** uBlock.firefox: Copying files" DES=dist/build/uBlock.firefox rm -rf $DES mkdir -p $DES cp -R assets $DES/ rm $DES/assets/*.sh cp -R src/css $DES/ cp -R src/img $DES/ cp -R src/js $DES/ cp -R src/lib $DES/ cp -R src/_locales $DES/ cp src/*.html $DES/ m...
chrisaljoudi/uBlock
tools/make-firefox.sh
Shell
gpl-3.0
940
#!/bin/bash # Copyright 2015 The Kubernetes Authors 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 require...
rajdeepd/kubernetes
hack/jenkins/gotest-dockerized.sh
Shell
apache-2.0
1,891
#!/bin/sh # # Copyright (C) 2014 OpenWrt.org # KIRKWOOD_BOARD_NAME= KIRKWOOD_MODEL= kirkwood_board_detect() { local machine local name machine=$(cat /proc/device-tree/model) case "$machine" in "Seagate FreeAgent Dockstar") name="dockstar" ;; "Seagate GoFlex Net") name="goflexnet" ;; "Iomega Iconnec...
morgenroth/openwrt
target/linux/kirkwood/base-files/lib/kirkwood.sh
Shell
gpl-2.0
1,301
#!/bin/sh -e SRC_BASE=configure SRC="$(dirname $0)/../${SRC_BASE}" DST="$(pwd)/test/tmp/${SRC_BASE}.bz2" mkdir -p test/tmp rm -f "$DST" bzip2 -c "$SRC" >"$DST" ./test/run_input "$DST/${SRC_BASE}" |diff "$SRC" -
SimonKagstrom/mpd-streamium
test/test_archive_bzip2.sh
Shell
gpl-2.0
213
# This hook compresses info(1) files. hook() { local f j dirat lnkat newlnk local fpattern="s|${PKGDESTDIR}||g;s|^\./$||g;/^$/d" # # Find out if this package contains info files and compress # all them with gzip. # if [ ! -f ${PKGDESTDIR}/usr/share/info/dir ]; then return 0 fi # Always remove this file if c...
kulinacs/void-packages
common/hooks/post-install/00-compress-info-files.sh
Shell
bsd-2-clause
1,148
#!/bin/bash getRnaPred 2> /dev/null || [[ "$?" == 255 ]]
JenCabral/bioconda-recipes
recipes/ucsc-getrnapred/run_test.sh
Shell
mit
57
#!/bin/bash # A little bit of scripting magic so that whatever directory this script is # run from, we always find the python scripts and data we need. cd "$(dirname "$0")" cwd=`pwd`/.. cd ${cwd} # Activate python virtual environment source ../../../../virtualenv/bin/activate # Now do some work mkdir -p ../../../out...
dcf21/4most-4gp-scripts
src/scripts/test_cannon/examples/examples_galah_20180830.sh
Shell
mit
1,753
install_yarn() { local dir="$build_dir/.heroku/yarn" # Look in package.json's engines.yarn field for a semver range local version=$($bp_dir/vendor/jq -r .engines.yarn $build_dir/package.json) if needs_resolution "$version"; then echo "Resolving yarn version ${version:-(latest)} via semver.io..." local ...
tonycoco/heroku-buildpack-ember-cli
bin/yarn.sh
Shell
mit
1,193
rm ~/Downloads/K0057_soma_annotation/out/K0057-D31-somas_dsx12y12z4-clean-cut-fit-ellipses.h5 rm ~/Downloads/K0057_soma_annotation/out/K0057-D31-somas_dsx12y12z4-clean-cut-fit-ellipses.0.mesh.h5 python soma_axes_anal.py dpWriteh5.py --srcfile ~/Downloads/K0057_soma_annotation/out/K0057-D31-somas_dsx12y12z4-clean-cu...
elhuhdron/emdrp
pipeline/K0057_D31_dsx3y3z1-run5-somas/cut_iter_ellipses.sh
Shell
mit
1,073
# ansible local - if only ansible could be used without # a local client when run by packer. # More recent version of ansible is needed than version # in ubuntu universe so install from PPA here. PACKAGES=" software-properties-common " apt-get -y install $PACKAGES apt-add-repository ppa:ansible/ansible apt-get -y updat...
caffeinate/vap
stage2/scripts/packages.sh
Shell
mit
349
APT_PACKAGES=(nodejs npm) # ----------------------------------------------------------------------- header "Installing nodejs..." install_packages "APT"
mifix/dotfiles
bundles/node.sh
Shell
mit
157
#!/bin/bash echo "This script is deprecated. Use migrate.sh instead" set -e #let's configure environment confd -onetime -backend env cd /var/www su-exec www-data php app/console doctrine:migrations:status-check su-exec www-data php app/console doctrine:migrations:migrate --no-interaction -vvv su-exec www-data php app/...
ministryofjustice/opg-digi-deps-api
api/scripts/database.sh
Shell
mit
368
#!bin/sh if [ -z "$host" ]; then echo "host is empty" else echo "host is $host" fi if [ -z "$port" ]; then echo "port is empty" else echo "port is $port" fi cd ./selenium-phpunit-test ./phpunit-selenium/vendor/bin/phpunit --log-json ./report/report.json ./test.php --host_ip_user $host...
gosick/selenium-phpunit-test
run.sh
Shell
mit
490
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-3139-1 # # Security announcement date: 2016-11-28 00:00:00 UTC # Script generation date: 2017-01-01 21:05:46 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - vim-common:2:7.4.052-1ubuntu3.1 # ...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2016/USN-3139-1.sh
Shell
mit
1,636
#!/bin/bash # # Get RAW YUV frames from Camera, encode it, decode it and display it # # Copyright (C) 2019 Xilinx # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, includ...
Xilinx/meta-petalinux
recipes-multimedia/gstreamer/gstreamer-vcu-examples/vcu-demo-camera-encode-decode-display.sh
Shell
mit
7,314
#!/bin/bash # This scripts starts ROS messages log viewer. rqt_console
bdjukic/selfdriving-robot-car
scripts/start_log_viewer.sh
Shell
mit
73
#!/bin/bash # Define colors GREEN="\033[0;32m" RED="\033[1;31m" RESET="\033[0m" check_dependencies() { local notfound=0 local deps=( grep awk sed ) for dep in ${deps[*]} do if [ -z $(which $dep) ]; then echo -e "${dep}: \t${RED}not found${RESET}" notfound=1 else echo -e "${dep}: \t${GREEN}found${RES...
bytespider/pi_factory
sdflash.sh
Shell
mit
3,263
#!/bin/bash set -e cleanup() { pkill send-events.py || true rm -rf cavalieri-rules || true sudo sh -c "cat > /var/mail/ubuntu" } git clone https://github.com/juruen/cavalieri-rules.git cp rules-mail.cpp cavalieri-rules/rules.cpp cd cavalieri-rules && mkdir build && cd build && cmake .. && make export LD_LI...
juruen/cavalieri
ci/email-test/run-memory-check.sh
Shell
mit
1,108
#!/bin/bash #Set these variables PROJECT_NAME="project_name" PROJECT_URL="$PROJECT_NAME.com" # Define a timestamp function timestamp() { date +"%c" } # Set up Drupal SOLR WRITE_FILE="/home/vagrant/.solr_setup" SOLR="/var/solr/collection1" MODULE_CONF="/var/www/$PROJECT_URL/htdocs/sites/all/modules/contrib/search_a...
vml-jbartlett/JB-DrupalVM
dvm/scripts/post/provision/solr_setup.sh
Shell
mit
695
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
liushuorepo/BaseFoundation
Example/Pods/Target Support Files/Pods-BaseFoundation_Example/Pods-BaseFoundation_Example-frameworks.sh
Shell
mit
3,867
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2919-1 # # Security announcement date: 2016-03-03 00:00:00 UTC # Script generation date: 2017-01-01 21:05:14 UTC # # Operating System: Ubuntu 15.10 # Architecture: x86_64 # # Vulnerable packages fix on version: # - libjasper1:1.900.1-debian1-2.4ubuntu0.15...
Cyberwatch/cbw-security-fixes
Ubuntu_15.10/x86_64/2016/USN-2919-1.sh
Shell
mit
698
export TIMEOUT_SCALE_FACTOR=15 export TEST_PACKAGES_EXCLUDE="less" export SELF_TEST_EXCLUDE="^can't publish package with colons|^old cli tests|^logs - logged (in|out)|^mongo - logged (in|out)|^minifiers can't register non-js|^minifiers: apps can't use|^compiler plugins - addAssets" # Don't print as many progress indic...
chasertech/meteor
scripts/ci.sh
Shell
mit
2,243
alias fw="sudo firewall-cmd" alias fwp="sudo firewall-cmd --permanent" alias fwr="sudo firewall-cmd --reload" alias fwrp="sudo firewall-cmd --runtime-to-permanent"
ahmadassaf/oh-my-zsh
_aliases/firewalld.alias.zsh
Shell
mit
163
#!/bin/bash curl -k \ -o bin/js/phaser.js https://raw.githubusercontent.com/photonstorm/phaser-ce/master/build/phaser.js \ -o bin/js/phaser.map https://raw.githubusercontent.com/photonstorm/phaser-ce/master/build/phaser.map \ -o bin/js/phaser.min.js https://raw.githubusercontent.com/photonstorm/phaser-ce/master/build/p...
djfdat/phaser-typescript-vscode-boilerplate
update_phaser.sh
Shell
mit
1,111
error() { echo " ! $*" >&2 exit 1 } status() { echo "-----> $*" } # sed -l basically makes sed replace and buffer through stdin to stdout # so you get updates while the command runs and dont wait for the end # e.g. npm install | indent indent() { c='s/^/ /' case $(uname) in Darwin) sed -l "$c"...
willian/heroku-buildpack-static
bin/common.sh
Shell
mit
801
USER=${USER:-super} PASS=${PASS:-$(pwgen -s -1 16)} pre_start_action() { # Echo out info to later obtain by running `docker logs container_name` echo "MARIADB_USER=$USER" echo "MARIADB_PASS=$PASS" echo "MARIADB_DATA_DIR=$DATA_DIR" # test if DATA_DIR has content if [[ ! "$(ls -A $DATA_DIR)" ]]; then ...
chris-rock/docker-piwik
scripts/first_run.sh
Shell
mit
1,941
#!/bin/bash echo -e "\033[1;36mServer started.[1;0m" gunicorn manage:app -c gunicorn.conf
pastgift/seed-website-py
run-deploy.sh
Shell
mit
90
#!/bin/sh # Load RVM into a shell session *as a function* if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then # First try to load from a user install source "$HOME/.rvm/scripts/rvm" elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then # Then try to load from a root install source "/usr/local/rvm/scripts/rvm" else ...
kindlinglabs/bullring
lib/scripts/server_console.sh
Shell
mit
459
# My awesome bash prompt # # Copyright (c) 2012 "Cowboy" Ben Alman # Licensed under the MIT license. # http://benalman.com/about/license/ # # Example: # [master:!?][cowboy@CowBook:~/.dotfiles] # [11:14:45] $ # # Read more (and see a screenshot) in the "Prompt" section of # https://github.com/cowboy/dotfiles # ANSI COD...
SteVwonder/dotfiles
source/50_prompt.sh
Shell
mit
4,466
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3423-1 # # Security announcement date: 2015-12-16 00:00:00 UTC # Script generation date: 2017-01-01 21:07:41 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: i386 # # Vulnerable packages fix on version: # - cacti:0.8.8a+dfsg-5+deb7u7 # # Last v...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/i386/2015/DSA-3423-1.sh
Shell
mit
626
security delete-keychain ios-build.keychain
nikburnt/easeqs-objc
Scripts/travis/remove-key.sh
Shell
mit
43
#!/usr/bin/env bash xkbcomp -I. keymap.xkb $DISPLAY 2>/dev/null
jdudy/dot-files
unix-like/linux/xkb/install.sh
Shell
mit
65
#!/bin/bash INFOFILE="$2" FROM=`pwd` cd "$1" COUNTER=0 for i in *.wav; do if [ -e "$i" ]; then COUNTER=$[$COUNTER+1] FILE=`basename "$i" .wav` ROW=$[COUNTER+4] ARTIST=`sed -n 1p $INFOFILE` ALBUM=`sed -n 2p $INFOFILE` RELEASEYEAR=`sed -n 3p $INFOFILE` GENRE=`sed -n 4p $INFOFILE` SONG=`sed -n ${ROW}p $IN...
dirtylabcoat/sillytilities
wav2mp3.sh
Shell
mit
613
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy # resources to, so e...
twobitlabs/AnalyticsKit
AnalyticsKit/Pods/Target Support Files/Pods-AnalyticsKit/Pods-AnalyticsKit-resources.sh
Shell
mit
6,992
#!/bin/sh set -e # TODO: Implement this in terraform https://www.terraform.io/docs/providers/postgresql/index.html # Check environment variables export PGPASSWORD=${TF_VAR_secrets_cf_db_master_password:?} api_pass=${TF_VAR_external_cc_database_password:?} uaa_pass=${TF_VAR_external_uaa_database_password:?} bbs_pass=$...
alphagov/paas-cf
manifests/cf-manifest/scripts/create-cf-dbs.sh
Shell
mit
3,051
#!/bin/bash # run the application with maven because a known bug: https://github.com/spring-projects/spring-boot/issues/6709 RUN="mvn spring-boot:run" NAME=goeuro-routes-check-service LOG="spring-neo4j.log" ACTION=$1 FILE=$2 $RUN -Drun.arguments=$ACTION,$FILE
vezzoni/spring-neo4j
service.sh
Shell
mit
263
#!/usr/bin/env bash set -Eeuo pipefail epoch="$(TZ=UTC date --date "$TIMESTAMP" +%s)" serial="$(TZ=UTC date --date "@$epoch" +%Y%m%d)" buildArgs=() if [ "$SUITE" = 'eol' ]; then buildArgs+=( '--eol' ) SUITE="$CODENAME" elif [ -n "${CODENAME:-}" ]; then buildArgs+=( '--codename-copy' ) fi if [ -n "${ARCH:-}" ]; the...
debuerreotype/debuerreotype
.validate-debian.sh
Shell
mit
798
#!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_in_purple "\n Browsers\n" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - printf "\n" brew_install "Chrome" "g...
b-boogaard/dotfiles
src/os/install/macos/browsers.sh
Shell
mit
1,647
#!/bin/sh # this file installs a bunch of useful stuff on ubuntu 14.04 # to install run from your "~" directory "sudo <location of this file>" # variable used to store actions to take after install script is done remindVar="reminders:" apt-get update # To get the latest package lists # install trash-cli to allow re...
1dose/devTools
install_scripts/ubuntu1404devSetup.sh
Shell
mit
4,674
#!/bin/bash tests=( "test-get-remote-ip-sh.sh" ) testcount=${#tests[@]} testcount=$(echo $testcount - 1 | bc) for i in `seq 0 $testcount`; do ret=$(tests/${tests[$i]}) result=$? echo "result = $result" done exit $result
patinthehat/get-remote-ip
tests/run-tests.sh
Shell
mit
232
#!/bin/bash source configuration adb uninstall org.tribler.at3.${APPNAME} adb install app/AT3${APPNAME}-1.0-debug.apk
rjagerman/AT3
install.sh
Shell
mit
118
. /opt/homebrew/opt/asdf/libexec/asdf.sh
bolek/dotfiles
asdf/init.zsh
Shell
mit
40
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3351-1 # # Security announcement date: 2015-09-03 00:00:00 UTC # Script generation date: 2017-01-01 21:07:32 UTC # # Operating System: Debian 8 (Jessie) # Architecture: i386 # # Vulnerable packages fix on version: # - chromium-browser:45.0.2454.85-1~deb8u...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/i386/2015/DSA-3351-1.sh
Shell
mit
860
#!/bin/bash set -e cd frontend npm run build cd .. ./start_postgres_local.sh cd backend python app.py
liufuyang/lifeinweeks
start_backend_local.sh
Shell
mit
106
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2438-1 # # Security announcement date: 2014-12-10 00:00:00 UTC # Script generation date: 2017-01-01 21:04:08 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - nvidia-331-updates:331.113-0ubuntu0....
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2014/USN-2438-1.sh
Shell
mit
1,193
#! /usr/bin/bash # # Author: Bert Van Vreckem <bert.vanvreckem@gmail.com> # # "Unvagrantify" a VM and export to OVA. set -u # abort on unbound variable #{{{ Variables #}}} #{{{ Functions usage() { cat << _EOF_ Usage: ${0} VM_NAME with VM_NAME the name of a VirtualBox VM _EOF_ } #}}} # {{{ Command line parsin...
bertvv/fedora-testbox
unvagrantify.sh
Shell
mit
849
#!/bin/bash #SBATCH --partition=mono #SBATCH --ntasks=1 #SBATCH --time=4-0:00 #SBATCH --mem-per-cpu=8000 #SBATCH -J Deep-RBM_DBM_4_inc_bin_CD1_base #SBATCH -e Deep-RBM_DBM_4_inc_bin_CD1_base.err.txt #SBATCH -o Deep-RBM_DBM_4_inc_bin_CD1_base.out.txt source /etc/profile.modules module load gcc module load matlab cd ~...
aciditeam/matlab-ts
jobs/deepJobs_RBM_DBM_4_inc_bin_CD1_base.sh
Shell
mit
611
#!/bin/bash echo 'Installing bower' npmInstall 'bower' echo 'Done...'
bnewt/machine-setup
node-module-installers/install-bower.sh
Shell
mit
70
#!/bin/sh -e sudo mysqltuner
FunTimeCoding/mysql-tools
bin/tuner.sh
Shell
mit
30
for req in $(cat requirements/linux-deb-pkgs.txt); do apt install $req; done for req in $(cat requirements/python-pkgs.txt); do pip install $req; done
worldbank/cv4ag
requirements/install_linux.sh
Shell
mit
151
#!/bin/sh cd .. rm -rf build/npm mkdir build/npm git archive master -o build/npm/ng-annotate.tar --prefix=ng-annotate/ cd build/npm tar xf ng-annotate.tar && rm ng-annotate.tar cd ng-annotate/build ./build.sh # delete build scripts rm *.sh *.js defs-config.json ng-annotate # delete large test artifacts rm ../tests/angu...
Smarp/ng-annotate
build/prepare.sh
Shell
mit
424
#!/bin/bash usage () { echo "usage: $0 [-i <#>] [-e <#>] [-a <assembly>] [-o <output>] [-c <name>] [-x <#>] <pfx1> <pfx2> <pfx3> ... <pfxn> " echo "Required parameters:" echo "-i The number of the most represented sites to ignore" echo "-e The number of randomly distributed pseudo-datasets to generate"...
spleonard1/Tn-seq
TnSeqEssential.sh
Shell
mit
2,712
#!/bin/bash # Copyright 2014 The Kubernetes Authors 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 require...
hyperbolic2346/coreos
dockerfiles/flower/run_flower.sh
Shell
mit
734
#!/bin/sh # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e DIR="$( cd "$( dirname "$0" )" && pwd )" if [ "$(uname -s)" = "Darwin" ]; then if [ "$(whoami)" = "root" ]; then TARGET_DIR="/Library...
cpacia/ens-chrome-extension
install.sh
Shell
mit
1,136
#!/bin/sh function start() { echo "Starting the TypeScript watcher" tsc --watch >"$(filename tsc.out log)" 2>"$(filename tsc.err log)" & echo $! > "$(filename tsc pid)" echo "Starting the Middleman server" bundle exec middleman serve >"$(filename mid.out log)" 2>"$(filename mid.err log)" & echo $! > "$(filename ...
myrrlyn/myrrlyn.net
serve.sh
Shell
mit
740
mono paket.bootstrapper.exe mono paket.exe install chmod +x packages/FsLexYacc/bin/fslex.exe chmod +x packages/FsLexYacc/bin/fsyacc.exe
PeteProgrammer/JsonFSharp
bootstrap.sh
Shell
mit
136
#!/bin/bash # This script executes "npm install" on the current, active, # project (which is assumed to be located at /project) echo "" echo "[Provision-Script] Installing Project Dependencies" echo "" cd /project npm install
vmadman/linux-scripts
vagrant/centos7/dev/v1/npm-install-deps.sh
Shell
mit
229
#!/bin/bash # finding files with locate and updatedb LC_ALL=C sudo /Users/paulirish/.homebrew/bin/gupdatedb --prunepaths="/tmp /var/tmp /.Spotlight-V100 /.fseventsd /Volumes/MobileBackups /Volumes/Volume /.MobileBackups" which glocate > /dev/null && alias locate=glocate locate navbar # listing all useragent from ...
victormiranda/dotfiles
docs/common-things.sh
Shell
mit
2,508
#!/bin/bash #ubuntu echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list wget -O - http://deb.goaccess.io/gnugpg.key | sudo apt-key add - sudo apt-get update sudo apt-get install -y goaccess #Mac brew install goaccess
lgh8820/ansible-test
OperationsShell/GoAccess/install_goaccess.sh
Shell
mit
278
#!/usr/bin/env bash #============================================================= # Initialization work_dir="$(pwd)" tools_dir="$(cd "$(dirname "$0")" && pwd)" tweet_sh="$tools_dir/tweet.sh/tweet.sh" detect_client_key_file() { local loaded_key='' while read path do if [ -f "$path" ] then loaded_...
piroor/tweetbot.sh
common.sh
Shell
mit
19,333
make clean && make && ./out
j-rock/jr
examples/simple_game/run.sh
Shell
mit
28
#!/bin/sh for i in *.mp4; do o=`basename "$i" .mp4`.mkv; mkvmerge -o "$o" --no-chapters "$i" || echo "Error in $i" >>error.log; done
pkunk/animutils
mp4mkv.sh
Shell
mit
134
#! /bin/bash LLVM_ROOT=${1:-/src/llvm-build} export PATH=$LLVM_ROOT/bin:$PATH export LD_LIBRARY_PATH=$LLVM_ROOT/lib:$LD_LIBRARY_PATH export INCLUDE=$LLVM_ROOT/include:$INCLUDE cmake -G Xcode ..
jdemeule/tidy-tools
configure.sh
Shell
mit
194
#!/bin/bash #SBATCH --job-name=UF.1k.np20 #SBATCH -p RM #SBATCH --time=12:00:00 #SBATCH --nodes 1 #SBATCH --ntasks-per-node 20 export OMP_NUM_THREADS=1 OUTDIR=$2 MATDIR=~/pylon2/UF_Collection_Matrix-Market EXEDIR=~/pylon2/trilinos-prediction/tpetra_solvers INPUT=$1 mkdir -p $OUTDIR set -x IFS=, [ ! -f $INPUT ] && ...
patemotter/trilinos-prediction
tpetra_solvers/batch_scripts/bridges/bridges_np20.sh
Shell
mit
480
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/client for process in {"dojo","dijit","dojox","util"}; do if [ ! -d $process ]; then git clone https://github.com/dojo/$process.git $process else echo $process already installed fi done # Local variables: # codin...
tbaud0n/dojoBuilder
example/initExample.sh
Shell
mit
336
#!/bin/bash # this script will setup custom database configuration # will be skipped by default if [ "${DATABASE_DRIVER}" = "postgres" ]; then apt-get install -y php5-pgsql sed -i -e "s/'DB_DRIVER', 'sqlite'/'DB_DRIVER', '${DATABASE_DRIVER}'/g" config.default.php sed -i -e "s/'DB_USERNAME', 'root'/'DB_USERNA...
mko-x/docker-kanban
bootstrap/db_handler.sh
Shell
mit
642
#!/bin/bash DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # PIMMIT DR + FAIRFAX TOWERS "$DIR"/nextBus.sh -s 5001507 -t 1 -d Mclean -r 3T "$@"
happylance/NextBus
3TP1.sh
Shell
mit
152
#!/usr/bin/env bash source /vagrant/vagrant/bashurator/init.sh # Setup the environment. configure_apt_get() { apt-get update # Required for add-apt-repository apt-get install -y software-properties-common build-essential zip unzip # Required for nodejs curl -sL https://deb.nodesource.com/setup_...
linzjs/linz-development
vagrant/apt-get.sh
Shell
mit
882
#!/bin/bash # # This is an example of how to use _ftw to enumerate a set of plugin files. # The techniques avoids subshells (forking) and pipelines, using shell builtins # instead of stuff like the following: # # for file in *.plug ; do # echo "about to process $file" # source $file # done source "../.....
bluemarble/bau
investigate/main.sh
Shell
mit
789
#!/bin/bash gem install sass
TeaMeow/Avane
test/sass.sh
Shell
mit
29
#!/bin/bash DIR=$(cd $(dirname $0); pwd) cd ${DIR} # ๅฎฟไธปๆœบๆ‰ง่กŒ ๅฝ“ๅ‰ๆ–‡ไปถ mkdir -p /Volumes/work/php mkdir -p /Volumes/work/logs mkdir -p ${DIR}/mysql/data mkdir -p ${DIR}/elasticsearch/data mkdir -p ${DIR}/elasticsearch/logs mkdir -p ${DIR}/logstash/data mkdir -p ${DIR}/logstash/pipeline/tmp chmod -R 777 ${DIR}/mysql/data...
foxiswho/docker-compose-nginx-php-mysql
mac-php73-swoole/start.sh
Shell
mit
545
#! /bin/bash # ./record_projector my_recording_name 1024x768 if [[ "x$2" == "x" ]] ; then res="1440x900" else res=$2 fi ffmpeg -f alsa -i pulse -f x11grab -r 25 -s $res -i :0.0+1440,0 -vcodec libx264 -pre:0 ultrafast -threads 4 $1.mkv
codedsk/qs
recording/record_projector.sh
Shell
mit
246
#!/bin/bash # Slow method to finds whether a given number is prime or not echo -n "Enter a number: " read num i=2 while [ $i -lt $num ] do if [ `expr $num % $i` -eq 0 ] then echo "$num is not a prime number" echo "Since it is divisible by $i" exit fi i=`expr $i + 1` done echo "$num is a pri...
pinam45/PFC_LaTeX
listings/exemple_code_files/prime_test.sh
Shell
mit
332
#!/usr/bin/env sh # # Delete the given feed. # # Author: Alastair Hughes # Contact: hobbitalastair at yandex dot com set -e [ -z "${FEED_DIR}" ] && FEED_DIR="${XDG_CONFIG_DIR:-${HOME}/.config}/feeds/" export PATH="${PATH}:$(dirname "$0")" if [ ! -d "${FEED_DIR}" ]; then printf "%s: feed dir '%s' does not exis...
hobbitalastair/feedutils
feed-delete.sh
Shell
mit
590
# !/bin/bash #PBS -l nodes=1:ppn=24 #PBS -N abc_narrSFS_noabias #PBS -m bea #PBS -M changhoonhahn@lbl.gov cd $PBS_O_WORKDIR export NPROCS=`wc -l $PBS_NODEFILE |gawk '//{print $1}'` export PATH="/home/users/hahn/anaconda2/bin:$PATH" export CENTRALMS_DIR="/mount/sirocco1/hahn/centralms/" export CENTRALMS_CODEDIR="/home/...
changhoonhahn/centralMS
run/siro_narrow_noabias.sh
Shell
mit
567
#!/usr/bin/env bash ## # common functions ## title () { echo -e "๐Ÿ“ $1" } info () { echo -e "๐Ÿ“ $1" } warn () { echo -e "๐Ÿšจ $1" } user () { echo -e "โ“ $1" } success () { echo -e "โœ… $1" } fail () { echo -e "๐Ÿšซ \"$1\"" echo "" exit 1 } link_files () { ln -s $1 $2 success "Linked $1 to $2" } s...
atosatto/dotfiles
scripts/functions.sh
Shell
mit
1,615
ffmpeg -i /vagrant/HoneyBees.mp4 \ -c:v libx265 -preset medium -crf 28 \ -c:a libfdk_aac -b:a 128k \ /vagrant/HoneyBees_hvec24.mp4 ffmpeg -i /vagrant/HoneyBees.mp4 \ -c:v libx265 -preset medium -crf 20 \ -c:a libfdk_aac -b:a 128k \ /vagrant/HoneyBees_hvec20.mp4
abejenaru/vagrant-boxes
experiments/hevc/encode.sh
Shell
mit
275
#!/bin/bash # Put this in a folder ABOVE the app/ folder, which contains the extension files (this repo) # run to make a bundle. rm -rf bundle cp -R app bundle rm bundle/lib/lodash.js rm -rf bundle/scratch rm bundle/*.scss rm bundle/*.map rm bundle/.gitignore rm -rf bundle/.git rm -rf bundle/.idea zip -r bundle_$(...
MightyPork/pokevision-filter
scratch/bundle.sh
Shell
mit
358
#!/bin/bash set -e pip3 install clint pyserial setuptools adafruit-nrfutil sudo apt-get update sudo apt-get install -y libllvm8 -V sudo apt install -fy cppcheck clang-format-8 if [ ! -f /usr/bin/clang-format ]; then sudo ln -s /usr/bin/clang-format-8 /usr/bin/clang-format fi # make all our directories we need fo...
adafruit/travis-ci-arduino
actions_install.sh
Shell
mit
699
#!/bin/bash sudo docker run -ti --device /dev/nvidia0:/dev/nvidia0 --device \ /dev/nvidiactl:/dev/nvidiactl --device /dev/nvidia-uvm:/dev/nvidia-uvm \ --net=host djpetti/tensorflow /run_tests.sh
djpetti/rpinets
tensorflow/run_tensorflow_tests.sh
Shell
mit
200
#!/bin/sh -e # Copyright (c) 2008-2013 LG Electronics, Inc. # # 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 l...
openwebos/deprecated-build-webos
scripts/prerequisites.sh
Shell
mit
3,466
export PATH="./bin:/usr/local/bin:/usr/local/sbin:$PATH" export MANPATH="/usr/local/man:$MANPATH"
scottgc/dotfiles
osx/path.zsh
Shell
mit
98
# -*- sh -*- list_command() { local plugin_name=$1 local query=$2 if [ -z "$plugin_name" ]; then local plugins_path plugins_path=$(get_plugin_path) if find "$plugins_path" -mindepth 1 -type d &>/dev/null; then for plugin_path in "$plugins_path"/*; do plugin_name=$(basename "$plugin_pa...
asdf-vm/asdf
lib/commands/command-list.bash
Shell
mit
1,159
#! /bin/bash -e # $Id$ # ----------------------------------------------------------------------------- # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell # # CppAD is distributed under multiple licenses. This distribution is under # the terms of the # Eclipse Public Lice...
utke1/cppad
bin/check_op_code.sh
Shell
epl-1.0
2,902
#!/bin/bash ####################################################################### # # Copyright (c) 2014 Eclipse Foundation and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, an...
zxiiro/lamp
scripts/apache/supervisord-start.sh
Shell
epl-1.0
838
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 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 distributed i...
jonatanolofsson/tup
test/t4207-full-deps8.sh
Shell
gpl-2.0
1,673
#!/bin/bash THIS=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd) cd $THIS export PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin export PATH=$PATH:$(pwd)/casperjs/bin:$(pwd)/phantomjs/bin ./makemaps.py
necrolyte2/commutetime
cron.sh
Shell
gpl-2.0
201
convert images/OCS-520-A.png -crop 1549x4598+107+327 +repage images/OCS-520-A.png # # #/OCS-520.png convert images/OCS-520-B.png -crop 1539x4602+56+329 +repage images/OCS-520-B.png # # #/OCS-520.png
jonnymwalker/Staroslavjanskij-Slovar
scripts/cropedges.OCS-520.sh
Shell
gpl-2.0
199
# Copyright (c) 2009-2011 Emanuele Tomasi # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without # restriction, including without limitation the rights to use, # copy, modify, merge, publis...
Scorpio92/linux_kernel_3.18.5
drv/packages/Slackware/make_module.sh
Shell
gpl-2.0
1,985
#!/bin/bash featType=$1 featdim=$2 ubmsize=$3 wavlist=$4 trainset='train' cd ubm mkdir -p cfg/ models/ out/ feature_list/ cfgfile='ubm.'${ubmsize}'.'${featType}'.'${trainset}'.cfg' featlist=`basename $wavlist` featlist=${featlist%.*}.txt echo $featlist cp -f $wavlist feature_list/$featlist sed -i 's/\.wav/\.'$feat...
mvansegbroeck/ivectool
ivec/train_ubm.bash
Shell
gpl-2.0
1,148
#!/bin/bash set -x ## if [[ 1 == 0 ]] ; then ## compute the union and intersection of the L_DLPFC from the between-group results ## cd ../data/Group.results # 3dcalc -a clorder.fwhm4.2.mddAndCtrl.L_BLA.weight.3mm+tlrc.HEAD -expr "equals(a, 2)" -prefix L_DLPFC.fwhm4.2.mddAndCtrl.L_BLA.weight.3mm # 3dcalc -a clor...
colmconn/rsfcGraphAnalysis
makeDlpfcMasks-reversed.sh
Shell
gpl-2.0
5,591
#!/bin/bash # Copyright 1999-2010 Gentoo Foundation # revdep-rebuild: Reverse dependency rebuilder. # Original Author: Stanislav Brabec # Rewrite Author: Michael A. Smith # Current Maintainer: Paul Varner <fuzzyray@gentoo.org> # TODO: # - Use more /etc/init.d/functions.sh # - Try to reduce the number of global vars ...
zmedico/gentoolkit
bin/revdep-rebuild.sh
Shell
gpl-2.0
42,169
#!/bin/bash DEST="../lib/"; CLONEDIR="/tmp/jquery.webfonts"; HERE=`pwd`; UPSTREAM="https://github.com/wikimedia/jquery.webfonts.git"; echo -e "Getting latest jquery.webfonts from $UPSTREAM\n"; if cd $CLONEDIR; then git pull; else git clone $UPSTREAM $CLONEDIR; fi cd $HERE; cp -rf $CLONEDIR/src/* $DEST
Niharika29/UniversalLanguageSelector
scripts/update-jquery-webfonts.sh
Shell
gpl-2.0
303
# # project-local sharness code for Flux # # # Extra functions for Flux testsuite # run_timeout() { perl -e 'alarm shift @ARGV; exec @ARGV' "$@" } # # Echo on stdout a reasonable size for a large test session, # controllable test-wide via env vars FLUX_TEST_SIZE_MIN and # FLUX_TEST_SIZE_MAX. # test_size_l...
lipari/flux-core
t/sharness.d/flux-sharness.sh
Shell
gpl-2.0
3,098