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
## Settings # Filename of the dotenv file to look for : ${ZSH_DOTENV_FILE:=.env} # Path to the file containing allowed paths : ${ZSH_DOTENV_ALLOWED_LIST:="${ZSH_CACHE_DIR:-$ZSH/cache}/dotenv-allowed.list"} ## Functions source_env() { if [[ -f $ZSH_DOTENV_FILE ]]; then if [[ "$ZSH_DOTENV_PROMPT" != false ]]; ...
mzgol/oh-my-zsh
plugins/dotenv/dotenv.plugin.zsh
Shell
mit
1,330
#!/bin/sh [ -b /dev/mapper/$2 ] && exit 0 echo -n test >/keyfile /sbin/cryptsetup luksOpen $1 $2 </keyfile
zfsonlinux/dracut
test/old.TEST-14-IMSM/cryptroot-ask.sh
Shell
gpl-2.0
109
#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "master node, static routes, custom gateway, config change" setup_ctdb export CTDB_NATGW_STATIC_ROUTES="10.1.1.0/24 10.1.2.0/24@10.1.1.253" echo "##################################################" echo "Static routes..." setup_ctdb_natgw <<EOF 192.168.1.21 ma...
SVoxel/R7800
git_home/samba.git/ctdb/tests/eventscripts/11.natgw.031.sh
Shell
gpl-2.0
1,359
#! /bin/sh # # Copyright (c) International Business Machines Corp., 2005 # # 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, or # (at your option) any later vers...
liaoqingwei/ltp
testcases/commands/tpm-tools/tpm/tpm_getpubek/tpm_getpubek_tests.sh
Shell
gpl-2.0
2,247
#!/bin/bash # Copyright 2015 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
anguslees/kubernetes
cluster/openstack-heat/util.sh
Shell
apache-2.0
8,385
#!/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...
spacexnice/kube-deploy
kube_addon_manager/kube-addons.sh
Shell
apache-2.0
8,150
#!/bin/sh port=22123 socatopt="-t 1 -T 1 -b 65537" val=`echo 6^6^6 | bc` val=`printf "%s\r\n" "${val}"` vallen=`printf "%s" "${val}" | wc -c` set_command="" # build for i in `seq 1 512`; do if [ `expr $i % 2` -eq "0" ]; then key="foo" else key="bar" fi key=`printf "%s%d" "${key}" "${i...
tvpavan/twemproxy
scripts/populate_memcached.sh
Shell
apache-2.0
495
# # Copyright (c) 2012, Red Hat, Inc. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. # # This code is dis...
benbenolson/hotspot_9_mc
test/serviceability/7170638/SDTProbesGNULinuxTest.sh
Shell
gpl-2.0
2,262
#!/bin/bash # Adam Lathers # alathers@gmail.com #
alathers/projecteuler
99/99.sh
Shell
gpl-2.0
52
#!/usr/bin/env bash set -e source lib.sh bot "Installing Visual Studio code extensions and config." code -v > /dev/null if [[ $? -eq 0 ]];then read -r -p "Do you want to install VSC extensions? [y|N] " configresponse if [[ $configresponse =~ ^(y|yes|Y) ]];then ok "Installing extensions please wait......
ThibWeb/dotfiles
config/visual-studio-code/install.sh
Shell
isc
3,909
#!/bin/sh echo $(umask)
wolfbox/run-parts
tests/check_umask.sh
Shell
mit
24
#!/bin/bash ################################################################################################################################################################ # FLIMerge.sh - this script does something awful. # By Inge Seim # 10/2013 v3 # # this script parses files and batches a dodgy Perl script # ###...
drwasho/FLIM-Merge
v2.0/FLIMerge.sh
Shell
mit
2,768
#run this bad boy on an instance of ami-b1fe19d8 #remember to copy your keys to /mnt cd /mnt echo 'deb http://ppa.launchpad.net/handbrake-ubuntu/ppa/ubuntu hardy main' > /etc/apt/sources.list.d/handbrake.list echo 'deb-src http://ppa.launchpad.net/handbrake-ubuntu/ppa/ubuntu hardy main' >> /etc/apt/sources.list.d/han...
staugaard/transcoding_machine
server/build_server.sh
Shell
mit
1,845
#!/bin/bash # START OF GET ARDUINO PORT FUNCTION get_arduino_port () { for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do ( syspath="${sysdevpath%/dev}" devname="$(udevadm info -q name -p $syspath)" [[ "$devname" == "bus/"* ]] && continue eval "$(udevadm info -q prope...
BCLab-UNM/SwarmBaseCode-ROS
misc/get_arduino_port.sh
Shell
mit
545
#!/bin/sh PORT=13711 LOG=/var/log/mosecom-air/mosecom-air.log DESC='Mosecom air web service' NAME=mosecom-air RUNDIR=/var/run/mosecom-air PIDFILE=${RUNDIR}/${NAME}.pid DAEMON=/usr/bin/python MANAGE=/usr/bin/mosecom-air-manage DAEMON_ARGS="${MANAGE} runfcgi method=prefork host=127.0.0.1 port=${PORT} \ pidfile=${PID...
elsid/mosecom-air
etc/init.sh
Shell
mit
1,969
#!/bin/bash chown -R rabbitmq:rabbitmq /storage
Hewlett-Packard-ESS/docker-rabbitmq
preboot/10rabbitmq.sh
Shell
mit
48
test_colors_green_equals_green() { expect_equal $LINENO "${GREEN}" "\e[92m" }
mygorillacode/kali-build
tests/lib/cli/colors/test_colors_green_equals_green.sh
Shell
mit
79
#!/bin/bash # Usage: ./import-db.sh { ARCHIVE_NAME } set -e if test -z "$1" then echo "You must supply an archive name as an argument" exit 1 fi ARCHIVE_NAME=$1 if test -z "$MONGOHQ_URL" then echo "This script restores an archive from MONGOHQ_URL so it must be set!" exit 1 fi if test -z "$APP_NAME" then ...
artsy/docker-images
mongo-data-sync/import-db.sh
Shell
mit
858
#!/bin/bash set -e <<EOF debconf-set-selections openitcockpit-mysql openitcockpit/app-password-confirm vagrant openitcockpit-mysql openitcockpit/password-confirm password openitcockpit-mysql openitcockpit/mysql/admin-pass password vagrant # MySQL-Anwendungspasswort für openitcockpit-mysql: openitcockpit-mysql openitco...
it-novum/vagrantboxes
openITCOCKPIT_V3-nightly/install.sh
Shell
mit
5,105
#!/bin/bash dotfiles=" xsession Xdefaults vimrc zshrc dir_colors gitconfig " for dotfile in $dotfiles; do # Backup dotfile if it already exists [ -f ~/.$dotfile ] && mkdir -p ~/dotfiles_old && mv ~/.$dotfile ~/dotfiles_old # Symlink new dotfile ln -s dotfiles/$dotfile ~/.$dotfile echo .$dotfile ...
epsiro/dotfiles
symlink_dotfiles.sh
Shell
mit
393
#!/bin/bash DELAY_SECONDS=$1 sleep ${DELAY_SECONDS}; java -jar build/libs/banometer-1.0.jar
lillesand/banometer
scripts/start.sh
Shell
mit
94
# vim:ft=sh if [ -z "$NODEBREW_ROOT" ]; then export PATH=$HOME/.npm-packages/bin:$PATH export PATH=$HOME/.nodebrew/current/bin:$PATH export NODEBREW_ROOT=/usr/local/var/nodebrew export NODE_ENV="development" fi
BrianAker/.dot
profile.d/node.sh
Shell
mit
221
#!/usr/bin/env bash set -e # try and use the correct MD5 lib (depending on user OS darwin/linux) MD5=$(which md5 || which md5sum ) # for versioning getCurrCommit() { echo `git rev-parse --short HEAD| tr -d "[ \r\n\']"` } # for versioning getCurrTag() { echo `git describe --always --tags --abbrev=0 | tr -d "[v\r\...
nanopack/hoarder
scripts/build.sh
Shell
mit
1,148
#!/bin/bash IMAGE_NAME=senescence-in-field cp ../requirements.txt $IMAGE_NAME cd $IMAGE_NAME docker build -t $IMAGE_NAME . cd ../
JIC-Image-Analysis/senescence-in-field
docker/build_docker_image.sh
Shell
mit
132
#!/usr/bin/env sh make all time python3 nebula.py --verbose nebula.json assets/progress time build/bin/simulate_c assets/progress/000.nebula.txt assets/octave/octave.png assets/final/000.nebula.c.png time build/bin/simulate assets/progress/000.nebula.txt assets/octave/octave.png assets/final/000.nebula.cpp.png
jamesaustin/nebula-generator
nebula.sh
Shell
mit
312
source aws_dockerized.sh delete_instances() { local instances=$(run_aws ec2 describe-tags --filters \ "Name=key,Values=orchestration" \ "Name=value,Values=terraform" \ "Name=resource-type,Values=instance" \ ...
hkjn/junk
terraform/delete_resources.sh
Shell
mit
3,884
#!/bin/bash system_profiler SPUSBDataType | awk '/Product ID:/{p=$3}/Vendor ID:/{v=$3; printf("%s:%s\n",v,p)};'
PeachyPrinter/peachy-firmware-flash
src/firmware/dependancies/mac/check_usb.sh
Shell
mit
113
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2795-1 # # Security announcement date: 2015-11-05 00:00:00 UTC # Script generation date: 2017-01-01 21:04:53 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - linux-image-3.13.0-67-generic-lpae:3...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2015/USN-2795-1.sh
Shell
mit
948
#!/bin/bash set -e DIR=$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd) ####################################################################### # automated build script # # usage: # ./build.sh # ./build.sh node postgres ######################################################################## NAMESPACE="dylanfoste...
dylanfoster/dockerfiles
build.sh
Shell
mit
1,463
# opam configuration test -r ~/.opam/opam-init/init.zsh && . ~/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true # converts ocaml code into reason alias mlre="pbpaste | refmt --parse ml --print re --interface false | pbcopy"
ijcd/dotfiles
modules/ocaml/init.zsh
Shell
mit
234
#!/bin/sh npm install bower install # clean and prepare public directory rm -rf public cp -r src public # compile jade to html ./node_modules/.bin/nodemon -e jade --watch src --exec " ./node_modules/.bin/jade src -o public -PH rm -rf src/*.html public/_partials" & # compile sass to css ./node_modules/.bin/node-...
NoahYarian/moviez
watch.sh
Shell
mit
1,285
#!/bin/bash # This script uses Homebrew to install a variety of software packages. # Install Hombrew. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # Update and check the installation. brew update brew doctor # Tap the scientific repository. brew tap homebrew/science # ...
btjones16/scripts
install_scripts/brew.sh
Shell
mit
520
#!/bin/sh output="$(cat ./ScummVM.lpl.bak)" echo -n "$output" > ../../playlists/ScummVM.lpl
scobo/esper
ROMs/ScummVM/fixscummvm.sh
Shell
mit
92
#!/usr/bin/env bash rake gems:vendorize && rake release
keith/marooned
release.sh
Shell
mit
57
#!/bin/bash CONTAINER=ts_via_nodejs VERSION=0.0.10 IMAGE='yopgflanbr-node-ts' NODEJS_SHELL_COMMAND='id' PORT=8282 main() { set -ex [[ ! -d tmp41 ]] || rm -rf tmp41 mkdir tmp41 cd tmp41 && { init; local already_image=$(docker images -f=reference="$IMAGE:$VERSION" --format '{{.ID}}') [[ $already_ima...
FlanBr-yopG/fedora-ansible-kubernetes
troubleshoot_with_node.sh
Shell
mit
3,208
#!/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...
erberger22/neighborhood_watch
neighborhood watch/Pods/Target Support Files/Pods-neighborhood watch/Pods-neighborhood watch-frameworks.sh
Shell
mit
4,067
#!/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...
lsirbu/BelerLibrary
Example/Pods/Target Support Files/Pods-BelerLibrary_Example/Pods-BelerLibrary_Example-frameworks.sh
Shell
mit
3,568
#! /bin/sh report_cp() { mkdir "$CIRCLE_ARTIFACTS/app" mkdir "$CIRCLE_TEST_REPORTS/junit/" mkdir "$CIRCLE_TEST_REPORTS/junit/googleplayDebug" cp -r ./app/build/reports "$CIRCLE_ARTIFACTS/app" find . -type f -regex ".*/build/test-results/googleplayDebug/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/googleplayDebug/ \...
eaglesakura/andriders-central-engine-v3
script/circleci-build-testing.sh
Shell
mit
827
#!/bin/bash PORT=${1:-4555} google-chrome "http://localhost:$PORT" & sbcl --load package.lisp #--eval "( pretty-lisp:up :port $PORT)" exit 0
nrox/pretty-lisp
start.sh
Shell
mit
141
#/bin/bash #usage: ./tools/size.sh SRC=$1-debug.js MIN=$1.js SIZE_SRC=$(cat dist/$SRC | wc -c) SIZE_MIN=$(cat dist/$MIN | wc -c) SIZE_GZIP=$(gzip -nfc --best dist/$MIN | wc -c) echo echo "\t`echo "scale=3;$SIZE_SRC/1024" | bc -l` KB $SRC" echo "\t`echo "scale=3;$SIZE_MIN/1024" | bc -l` KB $MIN" echo "\t`echo "scale=...
hankewins/hankeblog
public/seajs-2.1.1/tools/size.sh
Shell
mit
414
#!/bin/bash if [ -z "$1" ]; then echo "private key not specified"; exit fi if [ ! -e "$1" ]; then echo "private key missing";exit fi APP="build/Release/PBNotify.app" VER=`grep 'CFBundleVersion' -A 1 pbgrowl/PBNotify-Info.plist|tail -n 1|ruby -e '(STDIN.read =~ /([\d\.]+)/);print $1'` echo "new version is ${VER}. e...
yushi/PBNotify
release.sh
Shell
mit
723
#!/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...
nielstj/DTScalePicker
Example/Pods/Target Support Files/Pods-DTScalePicker_Tests/Pods-DTScalePicker_Tests-frameworks.sh
Shell
mit
3,568
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2411-1 # # Security announcement date: 2014-11-18 00:00:00 UTC # Script generation date: 2017-01-01 21:04:04 UTC # # Operating System: Ubuntu 14.10 # Architecture: i686 # # Vulnerable packages fix on version: # - mountall:2.54ubuntu0.14.10.1 # # Last vers...
Cyberwatch/cbw-security-fixes
Ubuntu_14.10/i686/2014/USN-2411-1.sh
Shell
mit
625
#!/bin/bash # Run a test set -e pushd cabal/cabal-install cabal test --show-details always --test-option --color $@ popd
sheyll/develop-cabal
local/Test.sh
Shell
mit
125
#! /bin/sh # ------------------------------------------------------------------------------ # Copyright (c) 2014 Dan Stroot # All rights reserved. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANT...
dstroot/.osx-installer
installers/09-autofs.sh
Shell
mit
1,894
#!/bin/bash source /vagrant/script/dev-env-functions source_app_environment "registry" init_virtual_env "registry" python manage.py delete-object-type deactivate
sausages-of-the-future/registry
scripts/delete-object-type.sh
Shell
mit
162
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3303-1 # # Security announcement date: 2015-07-07 00:00:00 UTC # Script generation date: 2017-01-01 21:07:28 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: armv7l # # Vulnerable packages fix on version: # - cups-filters:1.0.18-2.1+deb7u2 # ...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/armv7l/2015/DSA-3303-1.sh
Shell
mit
973
#!/bin/bash TEMP=$1 TEMP2=`echo $TEMP | cut -d '.' -f 1` # Takes off the '.txt' DIRNAME=${TEMP2}Output gfortran -O3 -fdefault-real-8 PDE-ODEsolver.f90 CGdiag.f90 init_random_seed.f90 echo $1 | ./a.out ./seperateOutput2D.py # The 2> /dev/null ignores error messages # (since it complains if the directory already ex...
ericmjalbert/PDE-ODEsolver
twoDimension_runall.sh
Shell
mit
1,516
#!/usr/bin/env bash echo "Installing GCC..." if [ -z ${PROJ_ROOT} ] ; then echo "Env. variable PROJ_ROOT must be set!" ; exit 1; fi source ${PROJ_ROOT}/install/common.sh # dependencies apt-get install -y libgmp3-dev libmpfr-dev libmpfr-doc libmpfr4 libmpfr4-dbg libmpc-dev build-essential libc6-dev-i386 zlib1g-dev lib...
tudinfse/fex
install/compilers/gcc.sh
Shell
mit
1,244
#!/bin/bash docker run -it -e DISPLAY --net=host --volume="$HOME/.Xauthority:/root/.Xauthority:rw" spf13 $@
gvatn/dockvimx
spf13/run-docker.sh
Shell
mit
109
#!/bin/bash export HOST=localhost # for Vagrant or local installs # export HOST=192.168.99.100 # for Docker curl -XPUT "http://$HOST:9200/us/user/1?pretty=1" -d ' { "email" : "john@smith.com", "name" : "John Smith", "username" : "@john" }' curl -XPUT "http://$HOST:9200/gb/user/2?pretty=1" -d ' { "email...
felipead/elasticsearch-workshop
part-2/load-tweet-data.sh
Shell
mit
2,700
sudo docker run \ -e SECRET_KEY_CHECKER_MONGO_URL=mongodb://key-checker:way%20shape%20park%20visit@ds055865.mongolab.com:55865/waverbase-prod \ eu.gcr.io/api-project-1075799951054/prod-key-checker
avoid3d/waverbase
key-checker-service/ops/run.sh
Shell
mit
201
#!/bin/bash # Configuration variables TWRPCICD_NAME="twrp-cicd" USER_NAME="John Doe" USER_MAIL="john.doe@awesome.email" DEVICE_LIST="hammerhead" # See https://github.com/julianxhokaxhiu/docker-twrp-cicd/blob/master/Dockerfile#L35 BRANCH_NAME="twrp-14.1" # See https://github.com/minimal-manifest-twrp/platform_manifest_...
julianxhokaxhiu/vps-powered-by-docker
modules/extra/twrp-cicd.sh
Shell
mit
1,873
#!/bin/bash set -e set -o pipefail set -x source /root/cloudenv set -u USERVARFILE=/opt/ansible-lxc-rpc/rpc_deployment/vars/user_variables.yml # Set up Repo rm -rf /opt/ansible-lxc-rpc mkdir -p /opt git clone $GIT_URL -b $GIT_BRANCH /opt/ansible-lxc-rpc # Set up config cp -R /opt/ansible-lxc-rpc/etc/rpc_deploy /e...
johnmarkschofield/rpc-cluster-maker
install_openstack.bash
Shell
mit
1,079
#!/bin/sh #install dependencies npm install bower install # clean and prepare public directory rm -rf public cp -r src public # compile jade to html ./node_modules/.bin/nodemon -e jade --watch src --exec " ./node_modules/.bin/jade src -o public -PH rm -rf src/*.html public/_partials" & # compile sass to css ./node_...
BeaueRogers/authrepo
watch.sh
Shell
mit
815
#!/bin/bash EXPECTED_SIGNATURE=$(wget https://composer.github.io/installer.sig -O - -q) php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');") if [ "$EXPECTED_SIGNATURE" = "$ACTUAL_SIGNATURE" ] then php composer-setup....
courtney-miles/gentoo-web-provision
70-install-composer.sh
Shell
mit
533
#!/usr/bin/bash case $2 in DEINSTALL) ;; POST-DEINSTALL) echo "Please beware that database and logfiles have not been" echo "deleted! Neither have the dalmatiner user or gorup." echo "If you don't need them any more remove the directories:" echo " /var/log/dalmatinerdb" echo " /var/db/dalmatinerdb" ;; e...
dalmatinerdb/dalmatinerdb
rel/pkg/deinstall.sh
Shell
mit
324
forever stop index.js
zhuyong/ghost_blog
stop.sh
Shell
mit
23
#!/usr/bin/env bash koopa::move_files_in_batch() { # {{{1 # Batch move a limited number of files. # @note Updated 2021-05-24. # """ local find head mv n sort source_dir target_dir xargs koopa::assert_has_args_eq "$#" 3 find="$(koopa::locate_find)" head="$(koopa::locate_head)" mv="$(koop...
steinbaugh/seqcloud
lang/shell/bash/functions/common/fs/move.sh
Shell
mit
2,308
#!/usr/bin/env bash set -e echo "listening on port 4000" if test -n "$(sudo docker container ls -a | grep dokuwiki)"; then sudo docker stop mindmaps sudo docker start mindmaps exit 0 fi sudo docker run \ -p 4000:80 \ -v "$(pwd):/project:ro" \ -it \ --name dokuwiki \ dokuwiki \ /bin/bash
igncp/vagrant-personal-cookbook
docker/dokuwiki/run.sh
Shell
mit
310
export EDITOR=nvim export VISUAL="$EDITOR"
partounian/dotfiles
roles/zsh/_env.zsh
Shell
mit
43
#!/bin/sh if [ "$#" -ne 1 ]; then echo "Usage: new_snippet.sh NAME" exit 2 fi if [ -f $1.sublime-snippet ] ; then echo "file already exists: $1.sublime-snippet" exit 3 fi cat <<EOT >> $1.sublime-snippet <snippet> <content><![CDATA[ // add content here ]]></content> <tabTrigger>$1</tabTrigger> ...
cohadar/my-sublime3-settings
new_snippet.sh
Shell
mit
418
#!/bin/bash java -jar -Xmx2048m alloy-mod.jar $*
septract/stellite-tool
alloy.sh
Shell
mit
50
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-293-1 # # Security announcement date: 2015-08-16 00:00:00 UTC # Script generation date: 2017-01-01 21:08:59 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - subversion:1.6.12dfsg-7+deb6u3 # # La...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2015/DLA-293-1.sh
Shell
mit
636
#!/bin/bash -ev # # *** Installation script *** # Written by: Tommy Lincoln <pajamapants3000@gmail.com> # License : See LICENSE in parent folder # Updated : 02/12/2016 # # TODO: Override or pass options via command line # TODO: Clean it up! Make configuration more obvious # TODO: Separate executable scrip...
pajamapants3000/BLFS_scripts_etc
scripts/rsync-3.1.2.sh
Shell
mit
15,707
#!/bin/bash -eux OS_USER="$SUDO_USER" mkdir /tmp/vbox VER=$(cat /home/$OS_USER/.vbox_version) mount -o loop /home/$OS_USER/VBoxGuestAdditions_$VER.iso /tmp/vbox sh /tmp/vbox/VBoxLinuxAdditions.run umount /tmp/vbox rmdir /tmp/vbox rm /home/$OS_USER/*.iso
innvent/parcelles
scripts/common/vboxga.sh
Shell
mit
256
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3700-1 # # Security announcement date: 2016-10-25 00:00:00 UTC # Script generation date: 2017-01-01 21:08:25 UTC # # Operating System: Debian 8 (Jessie) # Architecture: i386 # # Vulnerable packages fix on version: # - asterisk:1:11.13.1~dfsg-2+deb8u1 # ...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/i386/2016/DSA-3700-1.sh
Shell
mit
3,147
alias u='node xbmc.js zurawina.local:8080 up' alias d='node xbmc.js zurawina.local:8080 down' alias e='node xbmc.js zurawina.local:8080 enter' alias m='node xbmc.js zurawina.local:8080 menu'
jirsis/xbmc-client
shortcuts.sh
Shell
mit
192
#!/bin/bash NAME=cdelaitre TAG=redmine LOG=/tmp/build-${TAG}.log docker build --rm=true -t "${NAME}/${TAG}" . |& tee ${LOG}
cdelaitre/ci
dockerimages/redmine/build.sh
Shell
mit
124
#!/usr/bin/env bash #DOTFILES_ROOT="$(cd "$(dirname "${BASH_SOURCE}")" && pwd)" DOTFILES_ROOT="$HOME/.dotfiles" if [ -z $PLATFORM ]; then platformName=$(uname) PLATFORM=${platformName:0:6} if [ $PLATFORM = 'CYGWIN' ]; then PLATFORM='Cygwin' fi unset platformName fi info () { printf " [ \033[00;34m....
jondong/dotfiles
bootstrap.sh
Shell
mit
4,866
#!/bin/sh -x NPOI=15000 FEATDIR=../../data FEATDIR=. DRYRUN=--dry-run CODEBOOK=codebook_kmeans_cart_15000_12_512__0.4.csv # only training set is cloned #./vq.py -i ../../data/training.csv \ # -c ${CODEBOOK} \ # -o KMeans_cart_15000_12_512__0.4_3x_${NPOI}_train_inv_features_x3.csv \ # -N $(( 3 * ${NPOI} )) \ # --...
WojciechMigda/TCO-PCFStupskiPrize1
src/sub17_bad_param.sh
Shell
mit
1,112
#!/bin/bash # $* = individual array of fasta files cat $* | awk '/^>/ {printf("%s%s\n",(N>0?"\n":""),$0);N++;next;} {printf("%s",$0);} END {printf("\n");}' | \ grep -v "^>" | grep -v [^ACGTacgt] | sort -d | uniq -c | \ while read abundance sequence ; do hash=$(printf "${sequence}" | sha1sum);\ hash=${hash:0:40};prin...
h3abionet/h3abionet16S
helpers/uparse_derep_workaround.sh
Shell
mit
403
#! /usr/bin/env bash cd /tmp/ set -e wget -O fix-spotify-icon.sh https://raw.githubusercontent.com/rhoconlinux/fix-spotify-icon-elementary/master/src/fix-spotify-icon.sh chmod +x fix-spotify-icon.sh sh fix-spotify-icon.sh cd clear
rhoconlinux/fix-spotify-icon-elementary
install.sh
Shell
mit
237
is_arguments() { local basefile="$(basename $0)" local baseline="$1" local actual_arguments="$2" local expected_arguments="$3" if ! [ "${actual_arguments}" == "${expected_arguments}" ]; then echo -e "${basefile}: line ${baseline}: Expected ${expected_arguments} and got ${actual_arguments} arguments" exit...
mygorillacode/kali-build
lib/queries/is_arguments.sh
Shell
mit
353
#!/bin/bash #=============================================================================== # FILE: app.sh # USAGE: ./helper.sh -h # DESCRIPTION: SugarCRM bash helper library for Linux # AUTHORS: Nicolae V. CRISTEA; # LICENSE: MIT #===================================================...
svnvcristea/sugarBash
app/app.sh
Shell
mit
27,448
#!/bin/bash while true do bash atrack.sh sleep 1 done
avertly/atrack
run.sh
Shell
mit
70
#!/bin/sh set -eux ./build.sh PACKAGE=xcp-networkd REPO=xcp-networkd git clone git://github.com/xapi-project/$REPO /tmp/$REPO cp \ run.py \ utils/travis-build-repo.sh \ utils/travis-build-repo-internal.sh \ /tmp/$REPO cd /tmp/$REPO REPO_PACKAGE_NAME=$PACKAGE \ REPO_CONFIGURE_CMD=true \ RE...
robhoes/xenserver-build-env
test/travis-test.sh
Shell
mit
402
java\ -agentpath:../../libaparapi_x86_64.so\ -Djava.library.path=../..\ -Dcom.amd.aparapi.useAgent=true\ -Dcom.amd.aparapi.executionMode=$1\ -classpath ../../aparapi.jar:mandel.jar\ com.amd.aparapi.sample.mandel.Main
sadikovi/spark-gpu
aparapi/samples/mandel/mandel-agent.sh
Shell
mit
223
#!/bin/bash -ev set +h # Linux From Scratch - 7.7 # Chapter 6: Installing Basic System Software # Section 49: gettext-0.19.5.1 ##################################################################### source ../lfs_profile tar -xvf gettext-0.19.5.1.tar.xz cd gettext-0.19.5.1 ./configure --prefix=/usr --disable-static \ ...
pajamapants3000/LFS_scripts
scripts/6.490_gettext.sh
Shell
mit
945
#!/bin/sh echo "== Ensure serverspec is installed" ( sudo gem list --local | grep -q serverspec ) || { sudo gem install rake -v '10.4.0' --no-rdoc --no-ri sudo gem install rspec -v '3.1.0' --no-rdoc --no-ri sudo gem install specinfra -v '2.10.2' --no-rdoc --no-ri sudo gem install server...
de-wiring/ix
000_workshop_images/bin/20_serverspec.sh
Shell
mit
356
# run the modeling cd modeling python train_random_subset_models.py f12_xgb python train_random_subset_models.py f12_lstm python hillclimb.py
alex-bauer/kelvin-power-challenge
src/build_ensemble.sh
Shell
mit
145
#!/bin/bash #$ -j y #$ -N seq_rct_matching_power_simulations ####The final task number must be MANUALLY changed based on the number of rows in the parameter matrix #$ -t 1-1998 #$ -q all.q echo "starting R for seq_rct_matching power simulation #$SGE_TASK_ID" R --no-save --args iter_num=$SGE_TASK_ID < all_match_sims.R
kapelner/sequential_matching_simulations_2
simulation_code_and_results/run_sim_on_grid.sh
Shell
mit
320
#!/bin/bash URL=https://github.com PATTERN="Contact GitHub" echo "checking url: $URL containing '$PATTERN'" curl -s -XPOST http://localhost:8080/check -d '{"url": "'$URL'", "pattern": "Terms & Conditions", "insecure": false, "timeout": 20}' | jq '.'
otsuarez/beeping_exporter
files/do_check.sh
Shell
mit
251
#!/bin/bash npm install cd public && npm install && bower install && grunt build cd ..
lenglead/angular-express-stack
setup.sh
Shell
mit
88
#------------------------------------------------------------------------------- # # install/install-brew-formulae.sh # Repeatable script which installs command-line tools through Homebrew (http://brew.sh) # #------------------------------------------------------------------------------- echo echo ">>> install-brew-fo...
phatblat/dotfiles
.dotfiles/install/install-brew-formulae.sh
Shell
mit
1,199
#!/usr/bin/env bash set -e export GRADLE_OPTS=-Dorg.gradle.native=false cd sources gradle -v gradle test
rossdrew/emuRox
ci/tasks/runUnitTests.sh
Shell
mit
105
CQChartsTest -tcl -exec ellipse_annotation.tcl #CQChartsTest -ceil -exec ellipse_annotation.cl
colinw7/CQCharts
data/ceil/ellipse_annotation.sh
Shell
mit
96
export SPARK_HOME=/opt/spark export PATH=$SPARK_HOME/bin:$PATH # export PYSPARK_DRIVER_PYTHON=jupyter # export PYSPARK_DRIVER_PYTHON_OPTS='notebook'
jperl/dotfiles
spark/spark.zsh
Shell
mit
150
#!/bin/sh $BROWSER "http://localhost:8888"
jmagrippis/yogo-frozen-fullstack
rethinkdb_dev/interface.sh
Shell
mit
44
#!/bin/sh # Copyright (c) 2014-2016 The Bitcoin Core developers # Copyright (c) 2018-2020 The Ion Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. INPUT=$(cat /dev/stdin) VALID=false REVSIG=false IFS=' ' if [ "$BITC...
ionomy/ion
contrib/verify-commits/gpg.sh
Shell
mit
2,444
# Returns 1 for no and 0 for yes. yesNo() { while :; do printf "[YES or NO]: " read answer case $answer in [yY] | [yY][eE][sS] ) return 0;; [nN]* ) return 1;; * ) echo 'Please type YES or NO.';; esac done } fold -s -w `tput cols` NOTICE.txt y...
MicrosemiVoiceProcessing/ZLK38AVS
lic.sh
Shell
mit
324
#!/usr/bin/env bash # Initialise notes for a given PDF paper _inputfile="$1" [[ $# -ne 1 ]] && { echo "Filename required."; exit 1; } _filename=$(basename "$_inputfile") _filename="${_filename%.*}" echo "Generating notes file for" $_filename"..." _date=$(date +%Y-%m-%d) cat > $_filename.md <<_EOF_ % Title % Autho...
BenClegg/dotfiles
.scripts/notes-init.sh
Shell
cc0-1.0
394
#!/usr/bin/env bash module load bu-webproxy module load automake module load autoconf module load libtool module load gcc URL="http://ftp.gnu.org/gnu/make/make-4.1.tar.gz" TGZ=$(basename "$URL") DIR="$(echo $TGZ | sed 's/\.tar\.gz$//')" if [[ ! -e "$TGZ" ]] then wget "$URL" fi if [[ ! -e "$DIR" ]] then tar xzvf "$T...
eng-it/linux-builds
make/build.sh
Shell
cc0-1.0
437
#******************************************************************************* # Copyright (c) 2010-present Sonatype, Inc. # 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, and is available ...
mcculls/sisu.inject
bin/prepare_milestone.sh
Shell
epl-1.0
1,144
#!/bin/bash . p2.sh function usage() { echo "Usage: create-repo-from-maven -a p2agent [OPTION] path" echo "Create a P2 repository from a list of maven dependencies." echo "" echo "Arguments:" echo " -a p2agent : path to an eclipse (or a p2 agent) directory." echo " path : path to a directory con...
glefur/osgitools
scripts/create-repo-from-maven.sh
Shell
epl-1.0
1,938
#!/bin/bash cd /Users/michaellawrence/Desktop/sing/ #open . source venv/bin/activate python PyWorld.py pypal # TO auto run your pypal change the path and name and chmod +x this file # the click cmd+i to get info and change open with to terminal # now when double click it runs. drag to your doc # NOTE - you can also ...
byteface/sing
docs/run/run.sh
Shell
gpl-2.0
365
ABBSTBLPOS=/var/lib/abbs/tarballs ABBSENVPOS=/var/lib/abbs/build
AOSC-Dev/abbs
etc/abbs/dirs.sh
Shell
gpl-2.0
65
# USE same source as dopecoin PKG=blackcoin gitsrc $PKG https://github.com/rat4/blackcoin common_coinqt $PKG
sensorii/mymkr
mymkr/pkgs/old/blackcoin-qt.sh
Shell
gpl-2.0
109
#!/bin/bash #By Adam Hallgat (https://github.com/hallgat89/) getwid2 () { a=`xdotool getactivewindow` &>/dev/null || : printf 0x%x $a #convert to wmctrl format } set -e function cleanup { #restore original title on exit (or crash) wmctrl -ir "$WID" -T "$WIT" &>/dev/null || : } trap cleanup EXIT WI...
hallgat89/Titlebar-scripts-showcase
timeinfo.sh
Shell
gpl-2.0
1,047
#!/bin/bash # Yes, I know, the line above shouldn't need to be there as this can only be sourced, # it's there to allow some editors to render the colours correctly. ################################################################################ # File: tests-base.inc.sh ##############################################...
BuildReleaseBeFree/DiamondLang
tests-base.inc.sh
Shell
gpl-2.0
6,674