code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
#!/bin/bash wdiff -n1 -y'[new]' -z'[old]' $*
helderman/htpataic
tools/wdiff.sh
Shell
mit
45
#!/bin/bash sox ~/media/internet/Look\ Around\ You\ -\ Dark\ Glove\ Remix.mp3 -c1 -r44k -t f32 - | node bin/cmd.js
substack/sillyscope
scope.sh
Shell
mit
115
#!/bin/bash #Settings [[ -f config.sh ]] && . config.sh SERVICE="${FORGE:-server.jar}" OPTIONS='nogui' MCPATH="${SERVER_DIR}" BACKUPPATH='${MCPATH}/backup/mc1.11.backup' INVOCATION="java -server \ -Xms${START_MEMORY}M -Xmx${MAX_MEMORY}M \ -XX:+UseLargePages \ -XX:+UseLargePagesInMetaspace \ -XX:+AggressiveOpts...
sandalle/nst-exploration-unofficial
start.sh
Shell
mit
957
#! /bin/bash # Google Chrome Installer/Uninstaller for CentOS 6 # (C) Richard K. Lloyd 2013 <rklloyd@gmail.com> # See http://chrome.richardlloyd.org.uk/ for further details. # This script is in the public domain and has no warranty. # It needs to be run as root because it installs/uninstalls RPMs. # Minimum system r...
tiagoprn/devops
shellscripts/installers/archives/install_chrome_on_centos_6.sh
Shell
mit
65,979
cdpath=(. ~ ~/Dropbox/Development/vforge ~/Dropbox/Development ~/Software ~/Code ~/Work /usr/wikia /usr/wikia/slot1/current /usr/wikia/source)
vforge/dotfiles
system/cd.zsh
Shell
mit
161
#!/bin/bash set -e /usr/sbin/postfix set-permissions postmap -o /etc/postfix/virtual # ec2 keys postmap hash:/etc/postfix/sasl_passwd postconf -e 'smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt' service syslog-ng start cp /etc/resolv.conf /var/spool/postfix/etc/ /usr/sbin/postfix start tail -f /var/log/mail....
nihildeb/happymoose-docker
postfix/root/start.sh
Shell
mit
324
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:1634 # # Security announcement date: 2014-10-15 03:17:12 UTC # Script generation date: 2017-01-13 21:17:41 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - java-1.6.0-openjdk.x86_64:1.6.0.33-1.13...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2014/RHSA-2014:1634.sh
Shell
mit
1,783
#!/bin/bash source testfuns post /test_async '[ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]'
tsani/apollo
test-async.sh
Shell
mit
79
#! /bin/sh cp -r Iter2-Nsw2.00 Iter2-Nsw2 /home/ippei/src/ManageVasp/bin/repeatVasp.rb -s Iter2-Nsw2
ippei94da/vasputils
test/repeatVasp/test.sh
Shell
mit
101
# rarefy (could normalize instead?) rm otutable-subset-n50000-s10-norm.biom biom normalize-table -i otutable-subset-n50000-s10.biom -o otutable-subset-n50000-s10-norm.biom -r # various subsets and collapsings echo "filtering" filter_samples_from_otu_table.py --sample_id_fp map-subset.txt -i nutrients-norm.biom -o nutr...
danknights/mice5992-2017
tutorials/mct-v2/preprocess.sh
Shell
mit
10,105
#/bin/bash # The MIT License # # Copyright (c) 2008 Dennis Møllegaard Pedersen <dennis@moellegaard.dk> # # 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 witho...
dennis/msync
test/tests.sh
Shell
mit
9,793
# run on blue in ~/gits/emdrp/recon/python fnraw=/Data/datasets/raw/k0725_dsx2y2z1.h5 outraw=/home/watkinspv/Downloads/k0725_dsx2y2z1_cropped_to_labels.h5 dataset=data_mag_x2y2z1 declare -a ctx_offset=(64 64 64) rois=ROIs.txt rm -rf $outraw declare -a sizes=('128 128 128' '128 128 128') declare -a chunks=("5 5 3" "...
elhuhdron/emdrp
pipeline/k0725_dsx2y2z1-run1/data_cropper_to_gt.sh
Shell
mit
1,044
#!/bin/sh #mount USB device # usbmount=/mnt # mkdir -p $usbmount # if [ -z $1 ]; then # echo "no argument, assume the mount device is /dev/sda1 ? Y/N" # read key # if [ "$key" = "y" -o "$key" = "Y" ]; then # sudo mount -t vfat -o uid=1000 /dev/sda1 $usbmount # else # echo "$0 [backup dest device name], e.g. $0...
seawolflin/useful-tools
rpi-backup.sh
Shell
mit
4,551
pip3 install jedi flake8 pylint autopep8 yapf
torywheelwright/.emacs.d
setup.sh
Shell
mit
46
docker build -f deployments/docker/Dockerfile -t sov2ex:2.0.0 .
bynil/sov2ex
build.sh
Shell
mit
63
set -e mkdir -p $OPENRESTY_DIR if [ ! "$(ls -A $OPENRESTY_DIR)" ]; then OPENRESTY_BASE=openresty-$OPENRESTY curl https://openresty.org/download/$OPENRESTY_BASE.tar.gz | tar xz pushd $OPENRESTY_BASE ./configure \ --prefix=$OPENRESTY_DIR \ --with-ipv6 \ --without-http_coolkit_module \ ...
thibaultCha/lua-resty-socket
.ci/setup_openresty.sh
Shell
mit
899
JARS=`ls -mtrdS $(pwd)/lib/* | tr -d ' \n'` spark-submit --jars $JARS --files config.json "$@"
Hold7/DataViz
spark/submit_jar.sh
Shell
mit
96
#!/bin/sh -e # Confluence startup script #chkconfig: 2345 80 05 #description: Confluence # ref http://confluence.atlassian.com/display/DOC/Start+Confluence+automatically+on+Linux+and+UNIX ### BEGIN INIT INFO # Provides: confluence # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: ...
joshpadilla/bash
start-confluence.sh
Shell
mit
2,400
#!/bin/sh -e CC="c++ -std=c++11" CFLAGS="-Wno-c++11-compat-deprecated-writable-strings -Ivendor/SDL2-2.0.3/include" LDFLAGS="-Lvendor/SDL2-2.0.3/lib -lSDL2" lockfile=build/game.so.lock mkdir -p build touch $lockfile $CC game.cpp $CFLAGS $LDFLAGS -g -shared -undefined dynamic_lookup -o build/game.so rm $lockfil...
partkyle/sdl_platform
build-osx.sh
Shell
mit
386
#!/bin/bash packages=$(read_lst "./lst/umake.lst") printf %s "${packages}" | while IFS= read -r package; do read -a args <<< $package packageName="${args[1]}" echo "Installing umake package ${packageName}..." umake ${package} > /dev/null 2>&1 done
xcjs/workstation-provision
ubuntu-14.04/dev-notebook/sequence/5. Install Ubuntu Make Packages.sh
Shell
mit
261
#!/bin/sh # Copyright © 2015 Bart Massey # [This program is licensed under the "MIT License"] # Please see the file COPYING in the source # distribution of this software for license terms. # Mount encrypted backup drive. PATH=/local/bin/drive-manager:/sbin:/usr/sbin:/bin:/usr/bin export PATH PGM="`basename $0`" USAG...
BartMassey/drive-manager
mount-drive.sh
Shell
mit
754
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2743-1 # # Security announcement date: 2015-09-22 00:00:00 UTC # Script generation date: 2017-02-06 21:04:35 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - firefox:41.0+build3-0ubuntu0.12.04.1...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2015/USN-2743-1.sh
Shell
mit
1,059
#!/bin/bash #FILENAME_PREFIX="screen_shot_0_" #FILE_EXT_IN="jpg" FILENAME_PREFIX="capture_0_" FILE_EXT_IN="png" #RESOLUTION="1920x1080" RESOLUTION="512x512" INDEX=0 mkdir tmp # TODO: improve this ugly workaround... for FILE in ${FILENAME_PREFIX}[0-9].${FILE_EXT_IN} ${FILENAME_PREFIX}[0-9][0-9].${FILE_EXT_IN} ${FILE...
jeremiedecock/botsim
utils/img_to_video_with_libav.sh
Shell
mit
650
# install qt5 sudo apt-get install -qq -y qtbase5-dev sudo apt-get install -qq -y libxml2-dev libraw1394-dev libncurses5-dev sudo apt-get install -qq -y qtcreator swig libopenigtlink-dev flite cmake-curses-gui sudo apt-get install -qq -y cmake-qt-gui libopencv-dev git subversion gfortran libcppunit-dev fluid # fig...
biocubed/jhu_cisst_saw_dvrk_light
install_deps.sh
Shell
mit
403
#!/bin/sh # ADD ALIAS FOR FANCY LOG git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
dsager/osx_setup
installers/configure_git.sh
Shell
mit
137
#!/bin/bash cd /CCTV/script python -m http.server 80 >> /var/log/motion_webserver.log 2>&1 exit 64
euankerr/stuff
WebServer.sh
Shell
mit
99
#!/bin/bash # # Slack library for bash scripts. # declare SLACKTOKEN="${SLACKTOKEN:-$(cat /etc/secrets/slack/token.asc)}" declare SLACKURL="https://hooks.slack.com/services" slacksend() { local message message="${1}" if [[ "$#" -ne 1 ]]; then echo "Usage is $0 'Message for slack'" >&2 return 1 fi echo "Se...
hkjn/junk
prototest/slack.sh
Shell
mit
642
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2011:1379 # # Security announcement date: 2011-10-18 23:21:26 UTC # Script generation date: 2017-01-01 21:13:27 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - krb5-debuginfo.i686:1.9-9.el6_1.2 # -...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2011/RHSA-2011:1379.sh
Shell
mit
1,994
#!/bin/sh n_tests=0 failed=0 test_finished() { rm -rf tc.* echo if [ "$failed" = "0" ] then echo "PASS ($n_tests tests) -- `hostname` / `uname -srm`" exit 0 else echo "FAIL ($failed/$n_tests failed) -- `hostname` / `uname -srm`" exit 1 fi } print() { if [ `/...
skatsuta/linux-programming
samples/test-scripts.sh
Shell
mit
8,871
#!/bin/bash # A hacky script to make test-driven iteration much faster. # # Call with the name of a test class defined in test_screenshots.py, and it # will reload the emulator with its config and data on every file change. # # For other options, see: python test/set_config.py -h run () { TEST_DIR="$( cd "$( dirname...
mddub/urchin-cgm
test/live_reload.sh
Shell
mit
853
function pause() { read -n1 -r -p "Press any key to continue..." key } clang -Wall -Wextra -O3 -o bench_sg_mem bench_sg_mem.c scapegoat.c -lm pause ./bench_sg_mem pause clang++ -Wall -Wextra -O3 bench_rb_mem.cpp -o bench_rb_mem pause ./bench_rb_mem pause
Mattia92/AdvancedAlgorithms
src/build_and_run_bench_mem.sh
Shell
mit
257
#!/bin/sh -e dpkg --list | grep linux-image
FunTimeCoding/debian-tools
bin/show-installed-kernels.sh
Shell
mit
45
#!/bin/sh # build-keychain.sh # Speculid # # Created by Leo Dion on 10/26/17. # Copyright © 2017 Bright Digit, LLC. All rights reserved. # Create custom keychain security create-keychain -p $CUSTOM_KEYCHAIN_PASSWORD macos-build.keychain # Make the macos-build.keychain default, so xcodebuild will use it security d...
brightdigit/speculid
scripts/build-keychain.sh
Shell
mit
1,317
#!/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...
Mqhong/IMSingularity_Swift
Example/Pods/Target Support Files/Pods-IMSingularity_Swift_Tests/Pods-IMSingularity_Swift_Tests-frameworks.sh
Shell
mit
3,896
#!/bin/sh rm async_images/*.jpg rm multi_images/*.jpg rm sync_images/*.jpg rm threading_images/*.jpg
50onRed/phillypug-concurrent
io_bound/clean.sh
Shell
mit
101
#!/bin/bash -eu . /etc/os-release if [[ ${NAME,,} =~ ubuntu ]]; then sudo apt-get install -y golang-go else echo "Unknown OS: $NAME" fi
mrundle/mrundle-dev
examples/golang/INSTALL-GO.sh
Shell
mit
146
# FILE: params.sh # PURPOSE: define problem parameters # careful! no spaces around equals signs # all variables must be set (if one is N/A, set it to an empty string) # file lists may contain any number of files, separated by spaces # input files IFILES="tort.in" # expected output files OFILES="tort.out" # files use...
palcu/infooltenia
Evaluator ONI Linux/prob/tort/params.sh
Shell
mit
709
git pull origin master git add * git commit git push origin master
c15zb1/tabby
push.sh
Shell
mit
66
# # Postgres configuration for Postgres.app # if [ -d /Applications/Postgres.app/Contents/Versions/11 ]; then export POSTGRES_BIN=/Applications/Postgres.app/Contents/Versions/11/bin export PATH=$POSTGRES_BIN:${PATH} fi
tomichj/dotfiles
postgres/_path.bash
Shell
mit
223
#!/bin/bash # # First thing's first, we need to start the mysql server # service mysql start # # Auto-generates a load of environment variables and injects them into # the wordpress config file # SetupConfig(){ alias pwgen='pwgen -c -n -1 65' export MYSQL_ROOT_PASSWORD=$(pwgen) export DB_NAME='wordpress' expo...
ice3-software/wp-docker
boot.sh
Shell
mit
4,393
#!/usr/bin/env bash ################################################################################################################# # Find assumed duplicates and remove them if a file with the same prefix exist in its folder with the same sha1 # #######################################################################...
l-vo/scripts
remove-duplicates.sh
Shell
mit
2,692
#!/usr/bin/env bash rm -f screens/compare* # MODE=por # MODENAME=portrait MODE=lan MODENAME=landscape cp screens/hyperknot-$MODENAME.xcfg screens/compare.xcfg gsed -i "s|org.xcontest.XCTrack.widget.w.WCompMap|org.xcontest.XCTrack.widget.w.WXCAssistant|g" screens/compare.xcfg ./process.py screens/compare.xcfg co...
hyperknot/xctrack-config
compare-comp.sh
Shell
mit
754
#!/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() { local source="${BUILT_PRODUCTS_DIR}/Pods-Leaderboard/$1" local destina...
Workpop/meteor-ios
Pods/Target Support Files/Pods-Leaderboard/Pods-Leaderboard-frameworks.sh
Shell
mit
2,457
#!/bin/bash DIR="$(dirname "$0")" APACHE="$DIR/apache2" VHOST="$DIR/example/vhost" SITES="$DIR/example/sites" DEMOCA="$DIR/example/demoCA" GROUPS="$DIR/example/groups" openssl_config(){ echo " # # OpenSSL example configuration file. # This is mostly being used for generation of certificate requests. # # This defini...
Kikobeats/server-sandbox
Services/HTTP/server.sh
Shell
mit
11,821
#!/bin/bash set -e dir=$(cd -P -- "$(dirname -- "$0")" && pwd -P) root=$dir/../.. docker run -v $root/web/www:/www --rm node bash -ce "(cd /www; npm install; npm run typings install; npm run tsc)" docker run -v $root/web/www2:/www2 --rm node bash -ce "(cd /www2; npm clean-install; npm run build)"
ybonjour/test-store
web/scripts/build.sh
Shell
mit
302
module load lastz/1.02.00 module load samtools/1.3 module load ucsc/20140617
huddlej/bac_analysis
rules/genes_by_lastz/config.sh
Shell
mit
77
#!/system/bin/sh ### # # PART OF HIJACK RAMDISK # ### # # Copyright (c) 2016 Izumi Inami (droidfivex) # # 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 # ...
AFLB/hijack_sony_hayabusa
switcher.sh
Shell
mit
2,696
source $stdenv/setup export PLAN9=$out/plan9 export PLAN9_TARGET=$PLAN9 configurePhase() { echo CFLAGS=\"-I${fontconfig_dev}/include -I${xorgproto_exp}/include -I${libX11_dev}/include -I${libXt_dev}/include -I${libXext_dev}/include -I${freetype_dev}/include -I${zlib_dev}/include\" > LOCAL.config echo LDFLAGS=...
SymbiFlow/nixpkgs
pkgs/tools/system/plan9port/builder.sh
Shell
mit
941
#!/bin/bash pkill -f "java -cp $JAC_CP" killall -9 python killall -9 python3 killall -9 mzn2fzn killall -9 fzn killall -9 flatzinc killall -9 fzn-gecode killall -9 fzn-ort killall -9 fzn-choco killall -9 fzn-choco killall -9 solns2out
isse-augsburg/minibrass
evaluation/Constraint-Relationships-Evaluation/killscript.sh
Shell
mit
236
#!/bin/bash #shellcheck disable=SC2086 { : ${AUTH_CREDENTIALS:?"Error: environment variable AUTH_CREDENTIALS should be populated with a comma-separated list of user:password pairs. Example: \"admin:pa55w0rD\"."} : ${DATABASE_URL:?"Error: environment variable DATABASE_URL should be set to the Aptible DATABASE_URL of...
aptible/docker-kibana
bin/run-kibana.sh
Shell
mit
1,459
#!/bin/bash LANG="en_DK" TIMEZONE="Europe/Copenhagen" KEYMAP="dk" MIRROR_LOCATION="DK" arch_setup() { if ! [ $(id -u) = 0 ]; then echo "ERROR: Script requires to be run as sudo or root." exit 1 fi sudo pacman -Syu # Comment or Uncomment each of these functions to your liking echo "...
Zjael/dotfiles
setup.sh
Shell
mit
5,709
#!/bin/bash set -e -x echo "deploy" # remove left over files from previous steps rm -rf build dist mkdir dist python setup.py sdist # On linux we want to build `manylinux1` wheels. See: if [[ "$TRAVIS_OS_NAME" == "linux" && ${BUILD_LINUX_WHEELS} -eq 1 ]]; then docker run --rm -v $(pwd):/io ${WHEELBUILDER_IMAGE} /...
RomanZacharia/pyevmjit
.travis/deploy.sh
Shell
mit
746
#!/bin/bash target=account_names_for_dstc6.txt datetime=`date +"%Y-%m-%d_%H-%M-%S"` collect_twitter_dialogs.py -t $target -o ./stored_data -l ./collect_${datetime}.log
dialogtekgeek/DSTC6-End-to-End-Conversation-Modeling
collect_twitter_dialogs/collect.sh
Shell
mit
170
#!/bin/bash ################################################################### ## Test REGEX for unbound universes errors ## ################################################################### ########################################################## # Various options that must be updated for e...
JasonGross/coq-tools
examples/run-example-43.sh
Shell
mit
3,155
#!/bin/bash -ev # # Installation Script # Written by: Tommy Lincoln <pajamapants3000@gmail.com> # Github: https://github.com/pajamapants3000 # Legal: See LICENSE in parent directory # # # Dependencies #************** # Begin Required #python-2.7.10 # End Required # Begin Recommended #libxslt-1.1.28 #openldap-2.4.42 # E...
pajamapants3000/BLFS_scripts_etc
scripts/samba-4.2.3.sh
Shell
mit
3,740
#!/bin/bash # This is an installer script for MagicMirror2. It works well enough # that it can detect if you have Node installed, run a binary script # and then download and run MagicMirror2. echo -e "\e[0m" echo '$$\ $$\ $$\ $$\ $$\ $$\ ...
heyheyhexi/MagicMirror
installers/raspberry.sh
Shell
mit
10,077
#!/bin/bash ## Cleanup the vendor tree. The main issue here is that civi Civi is ## deployed as a module inside a CMS, so all its source-code gets published. ## Some libraries distribute admin tools and sample files which should not ## be published. ## ## This script should be idempotent -- if you rerun it several tim...
Eaiman/com.eaiman.membershipperiod
tools/scripts/composer/net-smtp-fix.sh
Shell
mit
1,668
#!/bin/bash #Slack user token (JF) TOKEN="$(cat ~/.slack)" #The Slack channel name CHANNEL="@adagios" #The Slack message user USER="bot" #Wrap the message in ``` WRAP="true" #An URL for the Slack message user image #ICON="http://www.itjobs.pt/empresa/reditus-business-solutions/logo/facebook"; while getopts "c:u:w...
adagios/dotfiles
bin/paste-to-slack.sh
Shell
mit
2,008
#!/bin/bash set -x set -e export PYTHONUNBUFFERED="True" export CUDA_VISIBLE_DEVICES=$1 export LD_PRELOAD=/usr/lib/libtcmalloc.so.4 LOG="experiments/logs/rgbd_scene_multi_rgbd.txt.`date +'%Y-%m-%d_%H-%M-%S'`" exec &> >(tee -a "$LOG") echo Logging output to "$LOG" # train FCN for multiple frames time ./tools/train_n...
yuxng/DA-RNN
experiments/scripts/rgbd_scene_multi_rgbd.sh
Shell
mit
1,040
#!/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...
LeoMobileDeveloper/LeoMaskAnimationKit
Example/Pods/Target Support Files/Pods-LeoMaskAnimationKit_Example/Pods-LeoMaskAnimationKit_Example-frameworks.sh
Shell
mit
3,596
#!/bin/bash set -e echo 'formatting less' ./scripts/format-less.sh echo 'linting' ./scripts/lint-code.sh echo 'test' ./scripts/test.sh
idiotwithalaptop/dashinator
precommit.sh
Shell
mit
138
#!/bin/bash redis-cli -n $1 flushall
JFK/spider
www/tools/clear_redis_db.sh
Shell
mit
38
cd dt1 sed -i "s/dtspecial/0\.005/" *.fei sed -i "s/alphaspecial/-0.05/" *.fei cd .. cd dt2 sed -i "s/dtspecial/0\.01/" *.fei sed -i "s/alphaspecial/-0.05/" *.fei cd .. cd dt3 sed -i "s/dtspecial/0\.05/" *.fei sed -i "s/alphaspecial/-0.05/" *.fei cd .. cd dt4 sed -i "s/dtspecial/0\.1/" *.fei sed -i "s/a...
BorisJeremic/Real-ESSI-Examples
dynamic_test/HHT/alpha0.05/cp.sh
Shell
cc0-1.0
353
#!/bin/bash USERID=INSERTHERE USERPASSWORD=INSERTHERE COOKIEFILE=./cookie.txt COOKIEHANDLING="-b $COOKIEFILE -c $COOKIEFILE" USERAGENT="TaHoma/2.6 CFNetwork/672.0.8 Darwin/14.0.0" APIURL=https://www.tahomalink.com/enduser-mobile-web/externalAPI #Constants for testing only. Insert propper values from the generated XML...
moarph/iohomecontrol_openhab
tahoma_pub.sh
Shell
epl-1.0
3,888
#!/bin/sh . ./lib ## I would use the builtin !, but that has the wrong semantics. not () { "$@" && exit 1 || :; } rm -rf temp1 mkdir temp1 cd temp1 darcs init echo first > a darcs add a darcs record -am 'first' echo replace first with something else > a darcs record -am 'mistake' echo first > a echo on second though...
DavidAlphaFox/darcs
tests/issue525_amend_duplicates.sh
Shell
gpl-2.0
446
#!/bin/bash # ## Bash Color green='\033[01;32m' red='\033[01;31m' blink_red='\033[05;31m' restore='\033[0m' clear # Resources THREAD="-j$(grep -c ^processor /proc/cpuinfo)" KERNEL="zImage" DTBIMAGE="dtb" DEFCONFIG="ak_bacon_defconfig" BUILD_HOME="/usr/local/src/opo-ak-kernel" # Kernel Details BASE_AK_VER="AK" VER="....
nvertigo/AK-OnePone
ak-bacon-build.sh
Shell
gpl-2.0
2,913
#!/bin/bash g++ Src/Main.cpp Src/Firework.cpp Src/Particle.cpp Src/Explosion.cpp -lsfml-graphics -lsfml-window -lsfml-system -std=c++0x -o Sf-Fireworks
replaceits/Sf-Fireworks
Compile-Linux.sh
Shell
gpl-2.0
152
#! /bin/sh set -e # Read the Android Wiki http://wiki.videolan.org/AndroidCompile # Setup all that stuff correctly. # Get the latest Android SDK Platform or modify numbers in configure.sh and libvlc/default.properties. while [ $# -gt 0 ]; do case $1 in help|--help|-h) echo "Use -a to set the A...
BinChengfei/vlc-android
compile.sh
Shell
gpl-2.0
5,377
#!/usr/bin/env sh if [ $# -ne 1 ]; then echo "Usage: $0 <lag>" exit 1 fi # Cleanup on unexpected exit. trap "tc qdisc del dev lo root netem; echo; exit" SIGINT SIGTERM # Add an artificial delay to the loopback interface. tc qdisc add dev lo root netem delay $(($1 / 2))ms # Wait until the user has finished t...
kxgames/kingdoms-of-life
scripts/emulate-lagginess.sh
Shell
gpl-2.0
464
#!/bin/bash # Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net> # # 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.1 of the License, or (at your option) any later ...
ClusterLabs/pacemaker-1.0
pengine/regression.sh
Shell
gpl-2.0
18,443
#!/bin/sh # Zajistit spouštìcí práva k tomuto skriptu: # chmod +x install.sh #web echo "Kopiovani webove casti" sudo ln -s ~/mereni-stromu/server/web/ /var/www/mereni-stomu #sudo cp -f -R web/* /var/www/html sudo rm /var/www/html/index.html #db echo "Instalace databaze" # mysql --user=root --password=moje.heslo < ....
mjirik/mereni-stromu
server/install.sh
Shell
gpl-2.0
1,199
#!/bin/bash # # Copyright 2017 Thomas Schoebel-Theuer # Programmed in my spare time on my private computers. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, ...
schoebel/measure-cpupower
bin/capture-cpupower.sh
Shell
gpl-2.0
7,056
#!/usr/bin/env sh # TP-Link Autoflasher for TL-WR841N v9 with firmware 3.14.4 # # only use this if you understand what you are doing # there are no safeguards against flashing bad images # # usage: ./autoflash.sh /full/path/to/firmware-image.bin # # alternatively, set a fixed path below FIRMWARE_PATH=$1 #FIRMWARE_PAT...
ffac/tools
autoflash/tp-wr841n_v9_3.14.4.sh
Shell
gpl-2.0
1,402
#! /bin/sh # Copyright (C) 2011-2013 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 ...
GavinSmith0123/automake-amplain
t/tap-planskip-later-errors.sh
Shell
gpl-2.0
1,086
#!/bin/bash cp settings.php-db settings.php scp settings.php-db root@www2:/home/httpd/corp/sites/default/settings.php scp settings.php-db root@www3:/home/httpd/corp/sites/default/settings.php scp settings.php-db root@www4:/home/httpd/corp/sites/default/settings.php scp settings.php-db root@www5:/home/httpd/corp/sites/...
julioforaccel/accelcorp
sites/default/pushdb.sh
Shell
gpl-2.0
712
#!/bin/bash # # Launch OpenStack Instance # # author: Bean Zhang # email: sjtuzb@gmail.com # cd ~ apt-get update apt-get dist-upgrade -y # Install vim apt-get install -y vim # Install git apt-get install -y git # Config git colorful output git config --global color.ui true mkdir git cd git git clone https://github....
87boy/shell-script
launch_openstack_instance.sh
Shell
gpl-2.0
593
#!/bin/bash function tatt_pkg_error { local eout=${2} echo "${eout}" if [ -n "${USE}" ]; then echo -n "USE='${USE}'" >> "${TATT_REPORTFILE}" fi if [ -n "${FEATURES}" ]; then echo -n " FEATURES='${FEATURES}'" >> "${TATT_REPORTFILE}" fi if [[ "${eout}" =~ REQUIRED_USE ]] ; then echo " : REQU...
tom111/tatt
templates/tatt_functions.sh
Shell
gpl-2.0
2,682
#!/bin/sh if [ "$(uname)" = "OpenBSD" ] ; then if [ -z "${AUTOCONF_VERSION:-}" ] ; then export AUTOCONF_VERSION AUTOCONF_VERSION="$(ls -1 /usr/local/bin/autoreconf-* | sort | tail -n 1)" AUTOCONF_VERSION="${AUTOCONF_VERSION##*-}" fi if [ -z "${AUTOMAKE_VERSION:-}" ] ; then export AUTOMAKE_VERSION AUTOMAKE...
punesemu/puNES
autogen.sh
Shell
gpl-2.0
454
# # Copyright (C) 2010 OpenWrt.org # PART_NAME=firmware platform_check_image() { local board=$(board_name) local magic="$(get_magic_long "$1")" [ "$#" -gt 1 ] && return 1 case "$board" in 3g150b|\ 3g300m|\ a5-v11|\ ai-br100|\ air3gii|\ all0239-3g|\ all0256n-4M|\ all0256n-8M|\ all5002|\ all5003|\ ar72...
WereCatf/source
target/linux/ramips/base-files/lib/upgrade/platform.sh
Shell
gpl-2.0
4,355
#! /bin/bash ########################################################################### # GLUED: GNU/Linux Uniform Environment Distribution # # Copyright (C) 2007-2021 Universidade do Porto - Faculdade de Engenharia # # Laboratório de Sistemas e Tecnologia Subaquática (LSTS) # ###...
LSTS/glued
mkdisk.bash
Shell
gpl-2.0
9,301
#!/bin/sh java -classpath .:classes:../../api/jogre.jar org.jogre.tetris.client.TetrisClientFrame
lsilvestre/Jogre
games/tetris/client.sh
Shell
gpl-2.0
98
#! /bin/sh # Copyright (C) 2010-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/libobj15b.sh
Shell
gpl-2.0
1,217
#!/bin/bash if [ -z $1 ]; then echo "Must provide root of TSTools/src as 1st arg" exit 1 fi if [ -z $2 ]; then out=TSTools_Graph.pdf else out=$2 fi sfood -i $1 | sfood-cluster | sfood-graph > $(basename $out .pdf).dot sfood -i $1 | sfood-cluster | sfood-graph | dot -Tps | ps2pdf - $out
ceholden/TSTools
docs/source/_static/make_sfood.sh
Shell
gpl-2.0
305
#!/bin/sh test_description='test cherry-pick and revert with renames -- + rename2: renames oops to opos + rename1: renames oops to spoo + added: adds extra line to oops ++ initial: has lines in oops ' . ./test-lib.sh test_expect_success setup ' for l in a b c d e f g h i j k l m n o do echo $l$...
robertpfeiffer/git
t/t3501-revert-cherry-pick.sh
Shell
gpl-2.0
2,115
#!/bin/bash if [ "$#" -gt 1 ] || [ "$#" -lt 1 ]; then echo "Illegal number of parameters" echo "Usage: ipAssignDebian.sh 192.168.1.0/24" exit fi IFS='/' read -r -a ip_arry <<< "$1" ip_address="${ip_arry[0]}" cidr="${ip_arry[1]}" sub_size=$((2**(32-cidr))) sub_ittr=$((sub_size-2)) snm=$(( 256 - sub_size...
njregenwether/systools
ipAssignDebian.sh
Shell
gpl-3.0
1,089
#!/bin/bash set -eo pipefail # Ensure there's no missing installed requirements. pip show $(grep -v '^#' installed_requirements.txt) > /dev/null # Ensure we won't re-install any requirements. if sort <<< "$( pip list | tail -n +3 | sed 's/ .*//' grep -vE '^(#|([^ =]+<))' requirements.txt | sed 's/[ =].*//' )...
bayesimpact/bob-emploi
data_analysis/check_requirements.sh
Shell
gpl-3.0
425
#!/bin/bash states=1 einit=0 if test -f $1 && [[ $(grep "Have a nice day." $1) ]] && [[ $(grep "sts_mom" $1) ]] ; then outfile=$(echo $1) if [ $(grep -c "Welcome to Q-Chem" $outfile) -gt 1 ] ; then echo "More than one job, taking the latter one..." if [ $(grep -c "Have a nice day." $outfile) -le 1 ] ; then ech...
drmewes/qchem_tools
get_esa.sh
Shell
gpl-3.0
999
#!/bin/bash python RunBootstrap.py --paralog1 YMR142C --paralog2 YDL082W --bootnum 50 > YMR142C_YDL082W_Boot50_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YMR142C_YDL082W_Boot50.sh
Shell
gpl-3.0
128
#!/bin/bash set -euo pipefail IFS=$'\n\t' source ${ICD_HOME:-$HOME/rprojects/icd}/tools/build.sh # or try --configure-args="CXXFLAGS=-O0" R_MAKEVARS_USER="$HOME/.R/Makevars.quick" \ MAKEFLAGS=-j$(getconf _NPROCESSORS_ONLN) \ R CMD INSTALL -d \ --no-byte-compile \ --no-resave-data \ --no-clean-on-error \...
anobel/icd
tools/install_quick.sh
Shell
gpl-3.0
456
#!/bin/bash # This scripts cannot work without NTP. # TODO set a default for *Warn et *Expire # implement a quiet mode # FIXME use ONCE_UPON_A_MEMCACHE_{LOCK,LOG,FAILED} instead of ONCE_UPON_A_{LOCK,LOG,FAILED}_MEMCACHE # add _TIMEOUT SELF="${BASH_SOURCE[0]##*/}" NAME="${SELF%.sh}" failedDir="/var/tmp/$NAME" lockD...
fraff/once-upon-a-memcache
once-upon-a-memcache.sh
Shell
gpl-3.0
10,043
#!/bin/sh set -e export JAVA_OPTS="-Xms256m -Xmx1g" export JAVA_OPTS="$JAVA_OPTS -Dlogging.appender.console.level=WARN" CLASSPATH=$(find ../lib -name "*.jar" | sort | tr '\n' ':') export JAVA_HOME=../lib/jre echo "JAVA_HOME = ${JAVA_HOME}" export PATH=${JAVA_HOME}/bin:${PATH} echo "PATH = ${PATH}" export JAVA_C...
schwabdidier/GazePlay
gazeplay-dist/src/main/bin/gazeplay-macos.sh
Shell
gpl-3.0
447
#!/bin/bash # force indendation settings # vim: ts=4 shiftwidth=4 expandtab ######################################################################## ######################################################################## ######################################################################## # Copyright (C) 2017 ...
dagon666/napi
libs/libnapi_subs.sh
Shell
gpl-3.0
6,811
#!/bin/bash CONTADOR=0 while [ $CONTADOR -lt 20 ]; do echo Productor: echo $CONTADOR && echo add $CONTADOR > /proc/modlist echo --------- cat /proc/modlist echo ---------- sleep .5 let CONTADOR=CONTADOR+1 done
juanmont/kernel_modules
module_3/src_A/scriptProductor.sh
Shell
gpl-3.0
284
#!/system/bin/bash source $(dirname $(readlink -f $0))/common.sh COPYRIGHT='/** * Copyright (C) 2016 apollo-opensource * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 ...
zt515/c4pkg
tools/add-copyright.sh
Shell
gpl-3.0
1,250
#!/bin/bash -e if [ -n "$(git status --porcelain)" ]; then git status --porcelain echo "there are changes - please commit everything before uploading a release"; exit 1; fi mvn clean deploy -Prelease cd ./parent mvn clean deploy -Prelease #cd ../archetype #mvn clean deploy -Prelease
christian-draeger/page-content-tester
release.sh
Shell
gpl-3.0
292
#!/usr/bin/env bash #set -xv ##################################################################### # # Name: Luke Collins # Date: 19/03/2018 # Script Description: Script to reload postfix # Version: 1.0 # Copyright: Copyri...
LukeCollins-net/Ops-Tools
cloud/generic/scripts/postfix_reload.sh
Shell
gpl-3.0
739
#!/bin/bash # ## 变量说明: ## $$ ## Shell本身的PID(ProcessID) ## $! ## Shell最后运行的后台Process的PID ## $? ## 最后运行的命令的结束代码(返回值) ## $- ## 使用Set命令设定的Flag一览 ## $* ## 所有参数列表。如"$*"用「"」括起来的情况、以"$1 $2 … $n"的形式输出所有参数。 ## $@ ## 所有参数列表。如"$@"用「"」括起来的情况、以"$1" "$2" … "$n" 的形式输出所有参数。 ## $# ## 添加到Shell的参数个数 ## $0 ...
YuxuanLing/trunk
trunk/code/study/shell/printf_special_symb.sh
Shell
gpl-3.0
1,906
pyflakes ./src/
joereynolds/Mr-Figs
build/lint.sh
Shell
gpl-3.0
16
tar -czf ketcher$1.tar.gz LICENSE.GPL base64.js chem/ favicon.ico ketcher.py ketcher.css ketcher.html ketcher.js loading.gif png/ prototype-min.js raphael-min.js raphael.js rnd/ ui/ util/ reaxys/
Ambinter/moleditor
web/ketcher/pack.sh
Shell
gpl-3.0
196
#! /bin/bash # filename: replaceall # Backup files are NOT saved in this script. find . -type f -name $3 -print | while read i do echo $i sed 's|$1|$2|g' $i > $i.tmp && mv $i.tmp $i done # Check if all parameters are present # If no, exit # if [ $# -ne 3 ] # then # echo # ...
KIAaze/bin_and_dotfiles_public
bins/public_bin/misc/search_and_replace.sh
Shell
gpl-3.0
487