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 # CYBERWATCH SAS - 2017 # # Security fix for USN-2820-1 # # Security announcement date: 2015-11-26 00:00:00 UTC # Script generation date: 2017-01-01 21:04:58 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - dpkg:1.17.5ubuntu5.5 # # Last versio...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2015/USN-2820-1.sh
Shell
mit
607
#!/usr/bin/env bash # find and replace text in a file, on OS X # LC setting needed to overcome 'illegal byte sequence' error with default UTF-8 find . "(" -name "*.sql" ")" -print0 | LC_ALL=C xargs -0 sed -i '.bak' 's/find/replace/g'
milamd/sh
replaceTextInAFile.sh
Shell
mit
235
#!/bin/bash -x # Push the updated entries.csv and README.md file to GitHub if [ -n "$GITHUB_API_KEY" ]; then cd $TRAVIS_BUILD_DIR cp entries.csv tmp/ cp README.md tmp/ cd tmp/ git add entries.csv git add README.md git -c user.name="referee" -c user.email="referee" commit -m "Updating scoreboard [ci skip]...
GOTO-OBS/goto-vegas
.ci/update.sh
Shell
mit
417
#!/bin/sh # hw_config.sh. # Used to set special parameters. # Proximity sensor configuration dev=/sys/bus/i2c/devices/12-0054/ val_cycle=0 val_nburst=2 val_freq=2 val_threshold=0 val_filter=0 #===>tempory solution hwid0=12 hwid1=13 hwid2=14 hwid3=15 echo $hwid0 > /sys/class/gpio/export echo $hwid1 > /sys/class/gpio/e...
moonlightly/android_device_sony_huashan
rootdir/system/etc/hw_config.sh
Shell
mit
1,799
#!/bin/bash if [ $# -lt 1 ]; then echo "请携带输出文件的名称, 如: abc.epub" exit 1 fi fileNames="" dir=$(eval pwd) for file in $(ls $dir | grep "\.md") do name=$(ls $file) fileNames=$fileNames" "$name done pandoc -S -t epub3 -o $1 title.txt $fileNames
BillZong/SomeUsefulShellScripts
shell/generateMD2Epub.sh
Shell
mit
282
# shellcheck disable=SC2148 ################### # Source all ################### autoload bashcompinit bashcompinit # Load exports include "$HOME/.zsh/master/exports.zsh" # Check for update include "$HOME/.zsh/master/update.zsh" # Autocompletion files fpath=($HOME/.zsh/autocompletion $fpath) # Load more configurat...
niklas-heer/dotfiles
zsh/master/main.zsh
Shell
mit
1,203
echo "" > /usr/src/app/list-beacons/kdawg/allbeacons.txt echo "" > /usr/src/app/list-beacons/kdawg/coming.txt echo "" > /usr/src/app/list-beacons/kdawg/found.txt echo "" > /usr/src/app/list-beacons/kdawg/going.txt echo "" > /usr/src/app/list-beacons/kdawg/previous.txt echo "" > /usr/src/app/list-beacons/kdawg/intemp.tx...
brownlegion/list-beacons
clear.sh
Shell
mit
397
#!/bin/bash ## Patstract Pattern-Based File Extraction Script ## This script will extract any files matching the pattern to the destination, preserving file structure and permissions ## Created by Michael Varian https://github.com/mvarian ############### BEGIN CONFIGURATION ############### ## Set to 1 to dry run a...
mvarian/patstract
patstract.sh
Shell
mit
1,312
#!/bin/bash # Example setting to use at command line for testing: # export TRAVIS_SCALA_VERSION=2.10.5;export TRAVIS_PULL_REQUEST="false";export TRAVIS_BRANCH="master" SBT="sbt ++${TRAVIS_SCALA_VERSION}" GPG_DIR=deploy if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${TRAVIS_BRANCH}" == "master" && ! $(cat...
leachbj/akka-http-newrelic
scripts/travis-publish.sh
Shell
mit
657
#!/bin/zsh # <bitbar.title>Yabai-Spaces</bitbar.title> # <bitbar.version>v1.0</bitbar.version> # <bitbar.author>Shrey Choudhary</bitbar.author> # <bitbar.author.github>SxC97</bitbar.author.github> # <bitbar.desc>Plugin that displays total number of spaces and highlights the current space.</bitbar.desc> # <bitbar.depen...
doot/dotfiles
bitbar/yabai.1d.sh
Shell
mit
12,787
#!/bin/bash #DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SO...
kbase/assembly
tools/start.kb.worker.sh
Shell
mit
562
#!/bin/bash # Fixes the dylib install names and dependencies when creating a distribution for MacOS # that will be installed in the standard Python 2.7 location /Library/Python/2.7/site-packages # # Note: this script expects... # 1. existence of $NCL_DYLIB_DIR/lib/ncl/libncl-2.1.18.dylib # 2. existence of $PYTHON_DYLI...
plewis/phycas
scripts/fixit.sh
Shell
mit
9,255
#!/bin/bash set -e # vars export JAVA_HOME=/usr/java/latest ALF_HOME=/alfresco ALF_BIN=alfresco-community-5.0.b-installer-linux-x64.bin # satisfy dependencies yum install -y http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm yum install -y fontconfig libSM libICE libXrender libXext host...
vartana/docker-alfresco
assets/install_alfresco.sh
Shell
mit
1,006
# Make sure that all the symlinks that are expected to be in place are actually be in place. # This ensures that if the dotfiles repository has been updated and introduced new symlinks that these # are created before any other scripts are run. for DOTFILES_PROFILE in "${DOTFILES_PROFILES[@]}"; do if [[ -n "${DOTFILES...
perdian/dotfiles
zsh/bootstrap/ensure_symlinks.zsh
Shell
mit
1,522
#!/bin/bash END=100 for i in $(seq 1 $END); do curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: b4b8b361-ab6d-b232-124a-7e007cb2d49e" -d '{ "hits":60, "wristband_uuid":"b71242c2-e2a4-439f-b208-f7c07b888a96", "wristband_timestamp":"12312" }' "http://127.0...
emmamm05/ftw-backend
scripts/seed_pulse_sensor.sh
Shell
mit
361
#!/bin/bash # init configs echo "initializing Androlyze ..." docker_init.sh echo "initializing Androlyze [done]" # init ssl config echo "configuring X.509 for Androlyze ..." worker_ssl_init.sh echo "configuring X.509 for Androlyze [done]" # only init necessary submodules to save a bit traffic echo "getting androguar...
nachtmaar/androlyze
docker/worker/start_worker.sh
Shell
mit
553
#!/usr/bin/env bash ########################### ### BOOTSTRAP FUNCTIONS ### ########################### if [[ -n "${__INTERNAL_LOGGING__:-}" ]] then alias DEBUG=":; " else alias DEBUG=":; #" fi System::SourceHTTP() { local URL="$1" local -i RETRIES=3 shift if hash curl 2>/dev/null then builtin sou...
niieani/bash-oo-framework
lib/oo-bootstrap.sh
Shell
mit
5,422
#!/bin/bash # Combines needed JS files into a single file for MementoDB cat sax.js > ../TgdbAutofill.js cat xmldoc.js >> ../TgdbAutofill.js cat thegamesdb.js >> ../TgdbAutofill.js cat memento.js >> ../TgdbAutofill.js
sduensin/MementoDB
TgdbAutofill/createBundle.sh
Shell
mit
234
#!/usr/bin/env bash set -e # https://github.com/google/shaka-packager/blob/master/docs/source/docker_instructions.md#run-the-container # https://hub.docker.com/r/google/shaka-packager/tags/ # - `packager --help | less` # - https://google.github.io/shaka-packager/html/ # - https://google.github.io/shaka-packager/html...
igncp/vagrant-personal-cookbook
docker/shaka-packager/run.sh
Shell
mit
558
for f in *.DAT; do filename=$(basename "$f") dn="${filename%.*}" for dir in $dn/; do cp "$dn"/"$dn""trackline.kml" ./ done done
iannesbitt/sidescantools
kmlextract.sh
Shell
mit
140
#!/bin/bash -l PROJECT_DIR=$1 SKETCH_PATH=$2 ASSETS_PATH=$3 ICONS_DIR="PROJECT_DIR"/"Icons" function exportAppIcon() { # import artboard "AppIcon" as images.appiconset sketchtool export artboards "$SKETCH_PATH" \ --output="$ASSETS_PATH"/AppIcon.appiconset \ --formats="png" \ --item="AppIcon" cd "$ASSETS_PATH"/AppIco...
gliyao/SketchExporter
SketchExporter/SketchExporter/do_sketch_app_icon.sh
Shell
mit
3,168
#!/usr/bin/env zsh # Copy me into any mix project directory as `.tmux.zsh` and `cd2project <that dir>` Will Just Work ™ export session_home_dir="$(dirname $0)" export session_name="Lab42Streams" export local_session_file=.local/init.zsh source $Lab42MyZsh/tools/tmux.zsh function init_new_session { new_window ma...
RobertDober/lab42_streams
.tmux.zsh
Shell
mit
712
#!/bin/sh # ideas used from https://gist.github.com/motemen/8595451 # abort the script if there is a non-zero error set -e # show where we are on the machine pwd remote=$(git config remote.origin.url) siteSource="$1" if [ ! -d "$siteSource" ] then echo "Usage: $0 <site source dir>" exit 1 fi # make a dire...
eldarlabs/ghpages-deploy-script
scripts/deploy-ghpages.sh
Shell
mit
1,479
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2279-1 # # Security announcement date: 2014-07-16 00:00:00 UTC # Script generation date: 2017-01-01 21:03:52 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - transmission-common:2.51-0ubuntu1.4 ...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2014/USN-2279-1.sh
Shell
mit
652
export NPM_PACKAGES="$HOME/.npm-packages" export PATH="$PATH:/.npm-packages/bin" if [ -d "/opt/node/bin" ]; then export PATH="/opt/node/bin:$PATH" fi
dctrud/dotfiles
source/50_npm.sh
Shell
mit
155
# file: simulate_isim.sh # # (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. # # This file contains confidential and proprietary information # of Xilinx, Inc. and is protected under U.S. and # international copyright and other intellectual property # laws. # # DISCLAIMER # This disclaimer is not a licens...
aj-michael/Digital-Systems
Lab4-Part2-RAMwithHyperTerminalDisplay/ipcore_dir/Clock70HMz/simulation/functional/simulate_isim.sh
Shell
mit
2,597
#!/bin/bash npm run install:bower npm run build docker build -t marsui/chusrodriguez:latest . cd infra/db-data docker build -t psql-loader:latest . docker images
marsui/chusrodriguez
scripts/build.sh
Shell
mit
166
#!/bin/bash # every TCGA FMP script should start with these lines: : ${TCGAFMP_ROOT_DIR:?" environment variable must be set and non-empty; defines the path to the TCGA FMP scripts directory"} source ${TCGAFMP_ROOT_DIR}/../../gidget/util/env.sh curDir=`pwd` cd $TCGAFMP_DCC_REPOSITORIES/dcc-mirror/public/tumor ## no...
cancerregulome/gidget
commands/feature_matrix_construction/shscript/untar.mirror_date.sh
Shell
mit
2,946
#!/bin/sh DIRS="\ dynamic\ dynamic/exW\ dynamic/exX" for i in ${DIRS} do echo "clean up ${i}" rm -f $i/*.dat rm -f $i/*.log rm -f $i/*.msg rm -f $i/*.sta rm -f $i/*.bmp rm -f $i/*.res.* rm -f $i/*.dbg.* rm -f $i/*.neu rm -f $i/*.out rm -f $i/*.ini rm -f $i/*.inp rm -f $i/*.txt done
FrontISTR/FrontISTR
examples/clean_dynamic.sh
Shell
mit
305
cloc . --exclude-dir=build,data,libs,.git,reference,w32,w64
Christof-Sigel/TA_SDL
cloc.sh
Shell
mit
60
#!/bin/bash # Download decision files curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o config/decisions.yml curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/common-js.yml >> config/decisions.yml curl https://raw.githubuserc...
bugsnag/bugsnag-js
scripts/license_finder.sh
Shell
mit
590
#!/bin/bash set -xv export INSTRUMENT=SUBARU export SUBARUDIR=/gpfs/slac/kipac/fs1/u/awright/SUBARU export run="2010-11-04" export cluster=MACS0416-24 export ending="OCFR" export filter=W-C-RC echo "adam-STARTING: ${cluster} ${filter} 'all exposure good' 'none' ${ending} " >> coadd_many_logger_${cluster}.log ./do_coad...
deapplegate/wtgpipeline
adam_coadd_MACS0416-24.sh
Shell
mit
2,406
apt-get -qqy update apt-get -qqy install postgresql python-psycopg2 apt-get -qqy install python-flask python-sqlalchemy apt-get -qqy install python-pip apt-get -qqy install python-dev apt-get -qqy install libmagickwand-dev npm git nodejs-legacy pip install oauth2client pip install requests pip install httplib2 pip inst...
davcs86/fullstack-nanodegree-flask-item-catalog
vagrant/pg_config.sh
Shell
mit
920
#!/bin/bash -lv export PYTHONIOENCODING function cleanup() { echo "Deleting ${IMAGE_NAME}*.d folders" find . -maxdepth 5 -name "${IMAGE_NAME}*.d" -type d -exec rm -rf {} + echo "Deleting ${IMAGE_NAME}*.qcow2 files" find . -maxdepth 5 -name "${IMAGE_NAME}*.qcow2" -type f -exec rm -f {} + # delete an...
CSC-IT-Center-for-Science/diskimage-builder-csc-automation
scripts/image_functions.sh
Shell
mit
3,662
#!/usr/bin/env bash # This script is written to install and update without any user interaction on # USER level. set -e echo '=====================================' echo 'Firefox Nightly Install/Update Script' echo '=====================================' echo #################### Script variables #################### ...
truboxl/post-auto
linux-apps-firefox-nightly-setup.sh
Shell
mit
3,624
#!/bin/bash # gce-instance-resource unit-test.sh set -e -x # The code is located in /gce-instance-resource # /coverage-results already created becasue of yml file echo "List whats in the current directory" ls -lat # Setup the gopath based on current directory. export GOPATH=$PWD # Now we must move our code from th...
JeffDeCola/gce-instance-resource
ci/scripts/unit-tests.sh
Shell
mit
988
#!/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...
benbahrenburg/SwiftDately
Example/Pods/Target Support Files/Pods-SwiftDately_Example/Pods-SwiftDately_Example-frameworks.sh
Shell
mit
3,564
#!/usr/bin/env sh # generated from catkin/cmake/template/setup.sh.in # Sets various environment variables and sources additional environment hooks. # It tries it's best to undo changes from a previously sourced setup file before. # Supported command line options: # --extend: skips the undoing of changes from a previou...
eokeeffe/ros-arduino-gameshield
build/devel/setup.sh
Shell
mit
2,070
#!/bin/bash # Fruit-FiScan.sh # Made by Mr-Protocol # 2013-12-12 # Updated by Tolsi in 2014 scan_result=/tmp/ScannedAPs_Parsed.MP . connect_to_ap.sh #### Scan area for networks and parse into a file in the format: BSS SSID CHAN #### function scan () { local interface="$1" if [ -e /tmp/ScannedAPs_Parsed.MP ]; ...
Tolsi/wman
wman/scan.sh
Shell
mit
1,480
#!/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...
mobisaily/coco
Example/Pods/Target Support Files/Pods-testPod_Example/Pods-testPod_Example-frameworks.sh
Shell
mit
3,605
# General bash utilities I use # create env vars based on 'key=value' env file load_env () { if [ -z $1 ]; then echo "Provide path to env file..." else export $(cat $1 | grep -v ^# | xargs) fi } timestamp() { date +"%Y%m%d%H%M%S" } # Mac OS X timer with desktop notification timer () { if [ -z $1 ];...
adampats/dotfilez
general.sh
Shell
mit
2,822
#!/bin/bash # The MIT License (MIT) # Copyright (c) 2016 Slither Sessions. All rights reserved. # # 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 limi...
SlitherSessions/ss-mods
tools/build.sh
Shell
mit
2,280
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2016:0070 # # Security announcement date: 2016-01-26 19:14:20 UTC # Script generation date: 2017-01-01 21:16:56 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - atomic-openshift-utils.noarch:3.0.35-1....
Cyberwatch/cbw-security-fixes
Red_Hat_7/x86_64/2016/RHSA-2016:0070.sh
Shell
mit
22,028
#!/bin/bash # convert $1 -level 75%,100% -type bilevel $1_bw.png convert $1 -negate -level 75%,100% -type bilevel $1_bw.png
d2r2/go-max7219
extract_fonts/1_img2bwimg.sh
Shell
mit
124
#!/usr/bin/env bash set -o pipefail # trace ERR through pipes set -o errtrace # trace ERR through 'time command' and other functions set -o nounset ## set -u : exit the script if you try to use an uninitialised variable set -o errexit ## set -e : exit the script if any statement returns a non-true return value ...
ipf/TYPO3-docker-boilerplate
bin/create-project.sh
Shell
mit
1,681
echo @"hi"
fishlamp-released/FishLamp2
Deprecated/Experimental/Posty/Posty/get-fishlamp.sh
Shell
mit
10
#!/bin/bash python3 -m unittest discover -s test
letuananh/lelesk
test.sh
Shell
mit
51
#!/usr/bin/env bash EXIT_CODE=0 pushd extras/integration_tests find . -type d -name .dart_tool -exec rm -rf {} \; popd pushd extras/integration_tests/vm echo "Running integration tests with moor_ffi & VM" dart pub upgrade dart test || EXIT_CODE=$? popd pushd extras/integration_tests/postgres echo "Running integrati...
simolus3/moor
tool/misc_integration_test.sh
Shell
mit
696
#!/bin/bash CHECKOUT="checkout -b" if [ -z $1 ] then $SOURCE_CONTROL $CHECKOUT master else $SOURCE_CONTROL $CHECKOUT $1 fi
hoylemd/scripts
bin/branch.sh
Shell
mit
128
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2009:0261 # # Security announcement date: 2009-02-11 17:08:26 UTC # Script generation date: 2017-01-01 21:12:25 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - vnc.x86_64:4.0-0.beta4.1.8 # - vnc-de...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2009/RHSA-2009:0261.sh
Shell
mit
1,225
#!/bin/sh # Copyright (c) 2021 Pedro Falcato # This file is part of Onyx, and is released under the terms of the MIT License # check LICENSE at the root directory for more information # # SPDX-License-Identifier: MIT # grub-mkimage -p /boot/grub -O "${ONYX_ARCH}-efi" -c scripts/grub/grub-early.cfg \ -o bootx64.efi at_...
heatd/Onyx
scripts/build_grub_efi_image.sh
Shell
mit
489
#!/bin/sh DEST=~/ PLATFORM=$(uname) # Copy config files cp bash/.bash_profile ${DEST} cp bash/.bash_prompt ${DEST} cp bash/.aliases ${DEST} cp zsh/.zshrc ${DEST} cp git/.gitconfig ${DEST} cp git/.gitignore_global ${DEST} cp tmux/.tmux.conf ${DEST} # Make platform specific changes if [[ ${PLATFORM} == "Linux" && -e /...
paulchiu/dotfiles
scripts/config-copy.sh
Shell
mit
433
#!/bin/bash #!/bin/bash set -e SERVER_ID=${SERVER_ID:-0} mkdir -p -m 777 /var/lib/mysql chown -R mysql:mysql /var/lib/mysql # # the default password for the debian-sys-maint user is randomly generated # during the installation of the mysql-server package. # # Due to the nature of docker we blank out the password...
siddontang/mariadb-docker
start.sh
Shell
mit
1,708
#!/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...
songzeyao/RYXKit
RYXUIKitDemo/Pods/Target Support Files/Pods-RYXUIKit_Example/Pods-RYXUIKit_Example-frameworks.sh
Shell
mit
3,851
source ./library-symlinks.sh symlink_lib 'settings'
obsidian-btc/settings
symlink-lib.sh
Shell
mit
53
#!/bin/bash s3cmd sync -c s3config .s3ignore --acl-public --guess-mime-type --no-progress build/* s3://regenesis.pudo.org
pudo/regenesis
sync.sh
Shell
mit
123
#!/bin/sh (nohup /usr/local/bin/dockerd-entrypoint.sh --experimental &) 2> /dev/null timeout=30 while [ ! -f /var/run/docker.pid ]; do if [ "$timeout" == 0 ]; then echo "ERROR: docker failed to start within timeout" exit 1 fi sleep 1 timeout=$(($timeout - 1)) done $@
ohsu-comp-bio/funnel
deployments/kubernetes/dind-rootless/entrypoint.sh
Shell
mit
304
#!/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...
gigihiski/GIGalleryPicker
Example/Pods/Target Support Files/Pods-GIGalleryPicker_Example/Pods-GIGalleryPicker_Example-frameworks.sh
Shell
mit
2,636
readelf -Ws $2 | grep " $1\(@.*\)*$" | sed -n "s/^.*: \([0-9a-f]*\).*/#define SYMBOL_OFFSET_$3_$1 0x\1ull/p"
Granary/granary2
clients/user/find_symbol_offset.sh
Shell
mit
109
export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home" export CHROME_BIN=/opt/homebrew-cask/Caskroom/google-chrome/latest/Google\ Chrome.app/Contents/MacOS/Google\ Chrome # React Native export ANDROID_HOME=$HOME/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$AN...
azevedo-252/zsh-files
path/paths.zsh
Shell
mit
634
#! /usr/bin/env bash gunicorn -w1 -b 0.0.0.0:80 app:app
xuwang/microservices-dev
apps/blue-green/application/server.sh
Shell
mit
56
#!/bin/bash $1 $2 aarch64-linux-gnu-gcc -O0 -static main.S
silverneko/HWs
compiler-hw-master/hw5/run.sh
Shell
mit
61
#!/bin/bash set -o errexit rm -rf site mkdir site git clone https://ccamel:$GH_TOKEN@github.com/ccamel/playground-binding.scala.git -b gh-pages --depth 1 site cd site git config user.email "$USER_EMAIL" git config user.name "$USER_NAME" git config push.default simple # add changes cp -R ../dist/* . # deploy if [...
ccamel/playground-binding.scala
scripts/deploy-to-gh-pages.sh
Shell
mit
495
#!/bin/bash # Copyright (c) 2015-2022 Agalmic Ventures LLC (www.agalmicventures.com) # # 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 r...
AgalmicVentures/Environment
scripts/ssh_tunnel.sh
Shell
mit
1,372
#!/usr/bin/env bash export PGDATA=$1/db pg_ctl initdb -s -o -Atrust echo "unix_socket_directories = '$PGDATA'" >> $PGDATA/postgresql.conf echo "listen_addresses = ''" >> $PGDATA/postgresql.conf echo "synchronous_commit = off" >> $PGDATA/postgresql.conf echo "fsync = off" >> $PGDATA/postgresql.conf echo "wal_level = min...
maurer/tiamat
tools/pg.bash
Shell
mit
486
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_CONF=default CND_DISTDIR=dist TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/jaladaso.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} OUTPUT_BASENAME=jaladaso.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX...
tocache/picomones
UPC Microcontroladores 2019-1/Semana 12/jaladaso.X/nbproject/Package-default.bash
Shell
cc0-1.0
1,375
#!/bin/bash # ------------------------------------------------- # # Package: Malscan # Author: Josh Grancell <josh@malscan.com> # Description: Linux malware scanner for web servers # Copyright: 2015-2020 Josh Grancell # License: MIT License # # ------------------------------------------------- VERSION="$1" if [[ "$VE...
jgrancell/Malscan
build/build.sh
Shell
gpl-2.0
3,457
#!/bin/bash build_compile() { cd source ./configure --prefix=/usr make } build_test_level=4 build_test() { make check } build_pack() { make DESTDIR=$BUILD_PACK install }
phyglos/phyglos
bundles/phyglos-deck.dir/icu.sh
Shell
gpl-2.0
197
#! /bin/sh # Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
Starlink/automake
t/tap-msg0-result.sh
Shell
gpl-2.0
1,380
#!/usr/bin/env bash ### ================================================================================================ ### 프로그램 명 : testMNIST.bash, Version 0.00.001 ### 프로그램 설명 : MNITEST를 진행 한다. ### 작성자 : 산사랑 (pnuskgh@gmail.com, www.jopenbusiness.com) ### 작성일 : 2017.04.12 ~ 201...
pnuskgh/service
service_sw/TensorFlow/bin/testMNIST.bash
Shell
gpl-2.0
2,967
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_CONF=default CND_DISTDIR=dist TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Receiver_nd_transmission_with_pierin.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} OUTPUT_BASENAME=Receiver_nd_...
gabrielebe/ROVER
firmware/PIC/rover/rover ver0.4/nbproject/Package-default.bash
Shell
gpl-2.0
1,527
#!/bin/bash cd "/Users/diogocardoso/Desktop/ICO3D/Test Mac #1/Project Folder 1" exec "/Users/diogocardoso/Desktop/ICO3D/Test Mac #1/Project Folder 1/ICO3D.f90"
CK08/ICO
ICO3D/ICO3D-(Diogo_Testes_anteriores)/Test Mac #1/Project Folder 1 Backup/absoft_run_env.sh
Shell
gpl-2.0
161
#!/bin/sh /usr/bin/ruby setup.rb \ all \ --siterubyver=`pwd`/../rb-chm \ --siterubyverarch=`pwd`/../rb-chm \ -- --with-chm-dir=`pwd`/../chmlib \ | tee setup.log
niw/chemr
rb-chm/setup.sh
Shell
gpl-2.0
166
stty -F /dev/ttyAMA0 cs8 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts
bunedoggle/river-monster
Arduino_Driver/serial_port_settings.sh
Shell
gpl-2.0
159
#!/bin/sh set -e source testlib.sh # verbose="true" # warnings="true" source confs/base.conf # taken verbatim from file attached to bug #4 that previously lived at # http://bugzilla.backup-manager.org/cgi-bin/attachment.cgi?id=1&action=view export BM_REPOSITORY_ROOT="$PWD/repository" export BM_ARCHIVE_METHOD="pipe"...
sukria/Backup-Manager
t/t11.2-pipe-encrypted.sh
Shell
gpl-2.0
1,490
#!/bin/sh # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # turn off debugging set +x QUIET=$1 printf -- "$$" > /run/initramfs/loginit.pid [ -e /dev/kmsg ] && exec 5>/dev/kmsg || exec 5>/dev/null exec 6>/run/initramfs/init.log while read line; do if...
zfsonlinux/dracut
modules.d/99base/loginit.sh
Shell
gpl-2.0
584
find_cmd_val() { if [ -n "$QUERY_STRING" ] then query1=$(echo "$QUERY_STRING" | cut -d"&" -f1) cmd=$(echo "$query1" | cut -d"=" -f1) if [ "$cmd" = "cmd" ] then echo "$(echo "$query1" | cut -d"=" -f2)" else echo "Unknown cmd" fi else echo "No query string" fi } print_footer()...
ReinhardProbst/WBM
htdocs/OL91/cgi-bin/restart.sh
Shell
gpl-2.0
1,437
# Name this scripts args.sh # Run this script from u-pl23.ms.mff.cuni.cz machine set -- /usr/* echo $@ echo $# shift 3 echo $@ echo $#
oplatek/oplatek.github.io
downloads/args.sh
Shell
gpl-2.0
137
#!/bin/bash DATE=$(date +%Y%m%d) # DOCKER_ANSIBLE cd /mnt/xyliss/git/docker-ansible/ sed -i "s/^ENV\s*DOCKER_ANSIBLE_UPDATED\(.*\)$/ENV\ DOCKER_ANSIBLE_UPDATED\ $DATE/" Dockerfile git commit -am "Automatically Refreshed on $DATE" git push # grep -P '^ENV\s*DOCKER_ANSIBLE_UPDATED\s*\d*$' Dockerfile # DOCKER_REDMINE cd ...
joshuacox/animated-ninja
wednesday.sh
Shell
gpl-2.0
550
width=$(tput cols) height=$(tput lines) bottomprompt() { tput sc # top right # tput cup 0 $((width - 25)) # bottom right # tput cup $((height -1)) $((width - 25)) # printf "%s" "Zulu: "$( date -u +%Y-%m-%d" "%H:%M:%S) : <<'END' # read into var line=$(sqlite3 aa0na.db -cmd ".width 4 4...
wulvyrn/huskylog
prompt.sh
Shell
gpl-2.0
1,142
#!/bin/bash #main_stage.sh if [[ `id -u` -ne 0 ]]; then echo "This script must be run as root, exiting." exit 1 fi chmod +x chkconfig.sh chmod +x config chmod +x chroot_stage.sh # Change variables in below files to fit your needs! source ./config source ./chkconfig.sh cat <<EOT WARNING!!! If write2usb is ...
vch86/debiwood-rootfs-builder
main_stage.sh
Shell
gpl-2.0
6,566
#!/bin/bash currPath="${BASH_SOURCE%/*}" if [ -z "$1" ] then echo "No Java agent specified" echo "Usage: ./extract_all.sh <jar_file>" echo "Example: ./extract_all.sh ALEAgent" exit 1; fi # Extract average rewards folder="$currPath/results/$1" for a in $folder/*.out do grep -iq 'average' $a if [ $? -eq 0 ]...
CyCraig/AtariRL
run/extract_all.sh
Shell
gpl-2.0
572
#!/bin/sh # # Copyright (c) 2007 Shawn Pearce # test_description='test git fast-import utility' . ./test-lib.sh . "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash # Print $1 bytes from stdin to stdout. # # This could be written as "head -c $1", but IRIX "head" does not # support the -c option. head_c () {...
bboyfeiyu/git
t/t9300-fast-import.sh
Shell
gpl-2.0
67,153
#!/bin/bash # Are we in the correct working directory? if [ ! -f ./htp/htp.c ] then echo "ERROR: Please invoke this script from the main directory (of libhtp)" exit fi # Test for the presence of svnversion if [ -z `which svnversion` ] then echo "ERROR: Unable to retrieve the revision number because 'svnve...
pilcrow/suricata
libhtp/update_version.sh
Shell
gpl-2.0
606
file=$1 if [[ -z $file ]] then file="test/test_suite.rb" fi ruby -I"lib:test:.:../alloy_ruby/lib:../arby/lib:../method_source/lib:../sdg_utils/lib" $file $2 $3 $4 $5 $6 $7 $8 $9 # bundle exec ruby -I"lib:test:.:../arby/lib:../method_source/lib:../sdg_utils/lib" $file $2 $3 $4 $5 $6 $7 $8 $9
kyessenov/poirot
run_tests.sh
Shell
gpl-2.0
298
#!/bin/bash set -ex apt-get update && \ DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y \ cmake \ g++-8 \ libsdl2-dev \ libsdl2-mixer-dev \ make
lethal-guitar/RigelEngine
docker/ubuntu-deps.sh
Shell
gpl-2.0
195
#!/bin/bash . ../lib.sh init_test touch test_modules/* lnst-ctl -c lnst-ctl.conf -d run recipe.xml | tee test.log rv=${PIPESTATUS[0]} log=`cat test.log` print_separator assert_status "pass" "$rv" rm -f test.log end_test
jiriprochazka/lnst
regression-tests/tests/23/run.sh
Shell
gpl-2.0
228
#!/bin/bash # # ** W I P ** # # # Author: Jamie McGowan # Description: Post installation script for Ubuntu. Performs common trivial tasks. tabs 4 # set tab width clear # clear the screen shopt -s nocasematch #case insensitive echo "#------------------------------------#" echo " Ubuntu Post Install Script " ech...
jamiemcg/ubuntu-post-install
ubuntu-post-install.sh
Shell
gpl-2.0
4,625
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-MacOSX CND_CONF=Debug__MacOs_ CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=dylib NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/back-off-language-mo...
ivan-zapreev/Back-Off-Language-Model-SMT
nbproject/Package-Debug__MacOs_.bash
Shell
gpl-2.0
1,555
#!/bin/bash set -e -u -x sudo apt-get update -qq
dkj/baton
scripts/travis_before_install.sh
Shell
gpl-2.0
51
#!/bin/bash NUM_CPU_CORES=`/usr/bin/nproc` if [ "$1" = "raspi1" ]; then KERNEL=kernel DEFCONFIG=bcmrpi_defconfig MODULE_SYMVERS=Module.symvers elif [ "$1" = "raspi2" ]; then KERNEL=kernel7 DEFCONFIG=bcm2709_defconfig MODULE_SYMVERS=Module7.symvers else echo "Usage: " echo " To buil...
christianeisendle/linux
build_bal.sh
Shell
gpl-2.0
1,670
#!/bin/bash # ------------------------------------------------------------ # This is a sample script to show how to submit TurboMole 6.2 # job to SGE queueing system for parallel run. # ------------------------------------------------------------ # After modyfying the program call procedure submit the script # using ...
PHOTOX/fuase
example_scripts/submit/run.sh
Shell
gpl-2.0
1,902
#!/bin/bash #======================================================================= # K_driver.sh # To run the WRF-LETKF in the K computer. # This scripts prepares all the data needed to run the letkf cycle # then submmits the job to the K computer. # Based on the script developed by Shigenori Otsuka # Dife...
gustfrontar/LETKF_WRF
wrf/run/K_run_cycle_radar.sh
Shell
gpl-3.0
5,319
#!/bin/bash # init parameters for ((i=1;i<=$#;i++)); do if [[ ${!i} = "-n" ]] then ((i++)) N=${!i} elif [[ ${!i} = "-h" ]] then echo -e " -n start first N available emulators from alphabetically order -h print help " exit fi done if [[ -z ${N} ]] then N=1 fi err() { echo "$@" ...
leapcode/bitmask_android
scripts/startEmulators.sh
Shell
gpl-3.0
1,250
#!/bin/bash echo 'Press <enter> to generate new maze and input "end" to exit.' t=0 while read r ; do [ "$r" == "end" ] && break clear echo -e "text 20,30\"\n$(echo '' | mono ../precompiled/MazeGenerator.exe -s 0,5 \ | tail -n +4)\n\"" | tee maze.txt | tail -n +2 | head -n -1 t=$((t+1)) ec...
brico-labs/OshwdemMazes
contest-generator/contest-generator.sh
Shell
gpl-3.0
562
#!/bin/bash # # Copyright (c) 2015 Javier Sayago <admin@lonasdigital.com> # Contact: javilonas@esp-desarrolladores.com # # 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.apach...
javilonas/NewBox
Make_ARM.sh
Shell
gpl-3.0
3,624
ayear="/asl/data/airs/L1C/2016" for f1 in `ls -d $ayear/???` do echo -n `basename $f1` " " ls $f1/AIRS*L1C.AIRS_Rad*.hdf | wc -l done
motteler/obs_stats
source/count_airs.sh
Shell
gpl-3.0
145
#!/bin/bash rm -f speedtest.c cat speedtest.tmp|while read l do ttt=`echo "$l"|grep "#add:"`; if [ -z "$ttt" ]; then echo "$l" >> speedtest.c else f=`echo "$l"|cut -d: -f2` cat "$f" >> speedtest.c fi done
sjurajpuchky/asmspeedtesttools
prepare-test.sh
Shell
gpl-3.0
214
#!/bin/bash python RunBootstrap.py --paralog1 YLR406C --paralog2 YDL075W --bootnum 69 > YLR406C_YDL075W_Boot69_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YLR406C_YDL075W_Boot69.sh
Shell
gpl-3.0
128
raspi-config --expand-rootfs sudo apt-get -y update sudo apt-get -y upgrade
VeggieVampire/OctoPrintAuto
PreSetup.sh
Shell
gpl-3.0
76