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-2870-1 # # Security announcement date: 2016-01-19 00:00:00 UTC # Script generation date: 2017-01-01 21:05:07 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - linux-image-3.13.0-76-generic-lpae:3...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2016/USN-2870-1.sh
Shell
mit
2,065
#!/bin/sh ENVIRONMENT=$(cat $ROOT/config/main.json | jq -r ".environment") COLOUR=$(cat $ROOT/config/main.json | jq -r ".colour") KEY_NAME=$(cat $ROOT/config/misc.json | jq -r ".key_name") KEYFILE=$ROOT/${ENVIRONMENT}-${COLOUR}-${KEY_NAME}.pem if [ ! -f "$KEYFILE" ]; then ssh-keygen -b 2048 -t rsa -N "" -f $KEYFI...
nextbreakpoint/infrastructure-as-code
scripts/generate_keys.sh
Shell
mit
404
./allie -s 7 -c 4 -w0 0.1 -w1 0.9 -B 10 -n 10 03_fea_PCA.train
alliedel/anomalyframework_python
anomalyframework/cpp/multicore-liblinear/samplerun.sh
Shell
mit
63
#!/bin/bash sudo apt-get install vim terminator curl keepass2 htop multitail p7zip-rar clamav vlc poedit gdebi gsmartcontrol fonts-powerline filezilla echo "Adjusting default editor to vim:" sudo update-alternatives --config editor echo "Copying terminator config:" [ -d ~/.config/terminator ] || mkdir -p ~/.config/term...
dArignac/debian-setup
scripts/initial.sh
Shell
mit
569
for fileFullPath in ~/Downloads/*.ofx; do echo $fileFullPath export file=$(basename $fileFullPath) mv $fileFullPath ./files/. ls ./files/$file node persist-ofx.js ./files/$file done
rogeriotadim/contas-do-casal
persisteDownloaded.sh
Shell
mit
189
#!/bin/bash # # MIT License # # Copyright(c) 2018-2018 Peter Kirmeier # # Permission Is hereby granted, free Of charge, to any person obtaining a copy # of this software And associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, ...
topeterk/HitCounterManager
PostBuild.sh
Shell
mit
1,895
PGUSER=myapp PGPASSWORD=dbpass psql -h localhost myapp -c 'CREATE TABLE events ( id serial PRIMARY KEY, createdby text NOT NULL, datecreated date NOT NULL, style text NOT NULL, eventname text NOT NULL, eventtype text, eventhost text, eventtel text, eventemail text, eventurl text, eventguests text, eventloca...
MichelML/gen
Vagrant-setup/tables.sh
Shell
mit
824
#!/bin/sh FILE="/home/marcus/Dropbox/Public/marcusolsson/index2.html" cat <<EOT > $FILE <!DOCTYPE html> <html lang="sv"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8;"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="marcu...
benjarn/dotfiles
scripts/hardware_dropbox.sh
Shell
mit
3,790
#!/usr/bin/env bash apt-get -qq install php-pear php5-dev re2c libpcre3-dev > /dev/null if [[ ! -f /etc/php5/mods-available/quickhash.ini ]]; then echo "" > /etc/php5/mods-available/quickhash.ini pear config-set php_ini /etc/php5/mods-available/quickhash.ini > /dev/null && yes "" | pecl -q install -f quickha...
alixaxel/halBox
packages/ubuntu/trusty/php5/php5-quickhash.sh
Shell
mit
641
#/bin/sh # run coverage if necessary if [ $TRAVIS_JDK_VERSION == $DIALEKT_PUBLISH_VERSION ]; then mvn test jacoco:report coveralls:jacoco --errors --batch-mode else mvn test --errors --batch-mode fi
IcecaveStudios/dialekt-java
travis/build.sh
Shell
mit
208
#!/bin/bash source ci/common.sh call_gradlew assembleAlpha -PdisablePreDex tar jcvf ci/artifacts/crashlytics_alpha_artifacts.tbz mobile/build/outputs/mappings/alpha/* mobile/build/intermediates/manifests/full/alpha/*
merrillogic/flow
ci/building/build_alpha.sh
Shell
mit
220
#!/bin/bash # Example form # for i in $(); do # $i # done for user in $( cat /etc/passwd | awk -F ":" '{print $1}' ); do echo "There is a user called $user" echo "2nd line for $user" done ~ ~
Hoangdinh85/ITC-136
example_for_loop.sh
Shell
mit
307
#!/bin/sh # Update and upgrade pre-installed packages sudo apt-get update sudo apt-get upgrade -y # Install midori sudo apt-get install midori -y # Install apache and php with curl sudo apt-get install apache2 -y sudo apt-get install php5 libapache2-mod-php5 php5-curl -y sudo service apache2 restart # Install unclu...
kokarn/pi-display
scripts/setup.sh
Shell
mit
810
#!/bin/bash sudo rm -r godockertest docker rm -v $(docker ps -a -q -f status=exited) docker rmi $(docker images -f "dangling=true" -q) git clone https://github.com/josephspurrier/godockertest docker build -t godockertest ./godockertest docker run -i -t -p 80:80 godockertest
josephspurrier/godockertest
scripts/build.sh
Shell
mit
275
http://yui.yahooapis.com/pure/0.6.0/pure-min.css http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
lpantano/seqclusterViz
code.sh
Shell
mit
118
#!/usr/bin/env bash set -e if [ -n "$TRAVIS_TAG" ]; then echo "Deploying..." else echo "Skipping deploy" exit 0 fi git config --global user.email "$TRAEFIKER_EMAIL" git config --global user.name "Traefiker" # load ssh key echo "Loading key..." openssl aes-256-cbc -K $encrypted_83c521e11abe_key -iv $encrypted_8...
SantoDE/traefik
script/deploy.sh
Shell
mit
896
#!/bin/bash # # Copyright (c) 2014 Alexandre Magno <alexandre.mbm@gmail.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 rights # t...
OSMBrasil/csv-to-the-openstreetmap-community
convert-and-analize.sh
Shell
mit
3,683
#!/bin/bash gnuplot z03_zipf.gnuplot
agh-glk/pyconpl2013-nlp
z03_zipf.sh
Shell
mit
37
#!/usr/bin/env zsh # vim: set foldmethod=marker : # Enable {linux,home}brew __zshrc_brew() { local cache_dir="${XDG_CACHE_HOME:-$HOME/.cache}/zsh" local fp="$cache_dir/brew-shellenv-cache.zsh" local -U candidates local brew_root if [ ! -f "$fp" ]; then candidates=( /home/linuxbrew/.linuxbrew/ ...
abravalheri/dotfiles
brew/.config/zshrc.d/brew.zsh
Shell
mit
813
yuidoc -c ./settings.json cp ./images/jc_logo.png ../docs_api/ node node_remove_View_Model.js
openjavascript/NewJC
tools/generate_api_docs.sh
Shell
mit
94
#!/bin/bash rm ./emojione.json ls ./src/emoji-menu/emoji.js curl https://raw.githubusercontent.com/emojione/emojione/master/emoji.json > emojione.json node parse-emoji.js > src/emoji-menu/emoji.js node_modules/.bin/prettier src/emoji-menu/emoji.js --write --single-quote echo Downloaded and parsed emojione.json!
anchorchat/anchor-ui
emoji.sh
Shell
mit
314
rm -rf /usr/local/go1.15.x rm -rf /usr/local/go1.14.x rm -rf /usr/local/go1.13.x rm -rf /usr/local/go1.12.x rm -rf /usr/local/go1.11.x rm -rf /usr/local/go1.10.x rm -rf /usr/local/go1.9.x rm -rf /usr/local/pkg_config
mattn/go-oci8
test_cleanup.sh
Shell
mit
217
#!/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...
SemperIdem/SwiftMarkdownParser
Example/Pods/Target Support Files/Pods-MarkdownParseKit_Example/Pods-MarkdownParseKit_Example-frameworks.sh
Shell
mit
3,584
npm install -g serverless serverless deploy --stage $env --region us-east-1 --verbose
maingi4/Serverless_Getting_Started
promotion.sh
Shell
mit
86
./node_modules/mocha/bin/mocha ./spec/indoArabicoRomano.spec.js -r ./js/indoArabicoRomano.js
linkedrh/dojos
mocha.sh
Shell
mit
92
#!/usr/bin/env bash # # TODO: add more options # set -e SELF=${0%/*} BIN=$(ls -t /usr/bin/clang-format* | head -1) CONFIG=${1:-"$SELF/bc.clang-format"} SRCDIR=${2:-"$(readlink -f "$SELF/../src")"} find $SRCDIR -type f | \ fgrep -vf <(\ echo src/third_party echo src/benchmark ) | \ xargs ...
azat/boostcache
utils/format_sources.sh
Shell
mit
445
err=0 # Generate number time ./test/check_output.sh -n 5 # one figure number is the base case for all the remaining if (( $? != 0 )); then err=1; fi; time ./test/check_output.sh -n 2017 # multiple figures numbers can be generated in various ways, it must remains a number if (( $? != 0 )); then err=1; fi; time ./...
dubzzz/js6chars
test/check_all.sh
Shell
mit
3,080
#!/bin/bash # # Provisioning script for the Vagrant server. # # 1) Install Node.js from binaries using n. # # -------------------------------------------------------------------------- # Install build tools. # -------------------------------------------------------------------------- apt-get update apt-get install -y...
exratione/selenium-service-example
provision.sh
Shell
mit
934
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2015:0857 # # Security announcement date: 2015-04-20 14:43:21 UTC # Script generation date: 2017-01-19 21:26:19 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - java-1.7.0-oracle.x86_64:1.7.0.79-1jpp....
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2015/RHSA-2015:0857.sh
Shell
mit
1,775
#!/bin/bash # Download the installer generator, and execute it git clone https://github.com/invernizzi/quick-deploy.git quick-deploy quick-deploy/create_installer.sh src/ install.sh quick-deploy/create_installer.sh src-desktop/ install_desktop.sh rm -Rf quick-deploy
invernizzi/personalize
generate_installers.sh
Shell
mit
269
#!/usr/bin/bash # USAGE: paperbackup-verify.sh backup.pdf # where backup.pdf should be the pdf created with paperbackup.py RESTOREPROG=$(dirname $0)/paperrestore.sh bPDF=$( $RESTOREPROG $1 | sha256sum | cut -d ' ' -f 1) bEmbedded=$(pdftotext $1 - | grep sha256sum -A1 | tail -1 | tr -d '\n') if [ "x$bPDF" == "x$bE...
intra2net/paperbackup
paperbackup-verify.sh
Shell
mit
906
./makescript.sh okular pdf/spec.pdf &
oskopek/TransportEditor
transport-docs/spec/reopen.sh
Shell
mit
38
#!/bin/bash PROJECT_TARGET="xpbot" PROJECT_FILES="`cd src && ls *.c* sha1/*.c sqlite/*.c* expat/*.c*`" CXXFLAGS="-Os -pipe -march=native -mtune=native -g -fpermissive" COMPILER="clang++" INCLUDE="-Isrc/expat -Isrc/sha1 -Isrc/sqlite" LIBS="-lsqlite3 -lexpat -lpcre -lstdc++" DEFINE="-DUNIX" for i in ${PROJECT_FILES}; d...
WST/xpbot
build.sh
Shell
mit
772
#!/bin/sh -e # # Copyright (c) 2013 Robert Nelson <robertcnelson@gmail.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 rights # to...
mhaberler/omap-image-builder
RootStock-NG.sh
Shell
mit
4,132
#outfmt="6 qseqid sseqid qlen qstart qend slen sstart send evalue bitscore score length pident nident gaps" #qsub_create "blastp -db tair10_aa -query maize_v3/maize_v3.longest.aa.fa -max_target_seqs 20 -out blast_out/mz-ara-aa.txt -outfmt '$outfmt' -num_threads 16" "mz-ara-aa" 1 16 8 24 #qsub_create "blastn -db tair10...
Dill-PICL/maize-GAMER
uniprot/run_formatter.sh
Shell
mit
2,491
#!/bin/bash function node_is_installed { # set to 1 initially local return_=1 # set to 0 if not found type node >/dev/null 2>&1 || { local return_=0; } # return value echo "$return_" } function echo_fail { echo "Node.js is not installed or not in the PATH." echo "" echo "Next steps:" echo "1. Inst...
vladpazych/Gentitas
Scripts/sh/CheckSystem.sh
Shell
mit
799
#!/bin/vbash # http://stackoverflow.com/a/21128172 ignore_version_err='' test='' while getopts ':it' flag; do case "${flag}" in i) ignore_version_err='true' ;; t) ;; # Will be passed through to renew.sh *) echo "Unexpected option -$OPTARG" && exit 1 ;; esac done # Make sure we're root...
mgbowen/letsencrypt-edgemax
install.sh
Shell
mit
2,701
OPENRESTY_VERSION="1.13.6.2" rm -fR openresty-${OPENRESTY_VERSION}* ngx_* nginx_* openssl-* git clone https://github.com/yaoweibin/nginx_upstream_check_module.git cd nginx_upstream_check_module git checkout 9aecf15 cd $BUILD_DIR #git clone https://github.com/zebrafishlabs/nginx-statsd.git # dead repo git clone http...
Apptimize/ve
pkgs/available/openresty.sh
Shell
mit
2,053
#!/bin/bash # name = "" # supported_versions = "" # description = "" _run_default() { $DEBUG cd ~/Downloads $DEBUG wget https://github.com/atom/atom/releases/download/v1.17.0/atom-amd64.deb $DEBUG sudo dpkg -i atom-amd64.deb $DEBUG sudo apt-get -f -y install } _run_() { _run_default } # TODO if ...
codfoo/linux-desktop-bootstrap
modules/atom.sh
Shell
mit
415
#!/bin/bash echo "go to porject folder" cd /home/pi/example/ echo "run python" sudo python ./main.py & sudo python ./counter.py & if pgrep omxplayer; then echo "Stopping" pkill omxplayer pkill videoloop pkill python exit; fi # Variables # SAVEIFS=$IFS # IFS=$(echo -en "\n\b") # MEDIA_PATH=/media/usb AUDIO_...
fishkingsin/CollarPlayground
loopAudio.sh
Shell
mit
1,093
#!/bin/bash # shellcheck source=/dev/null cd "$DOTFILES_PATH" \ && source "$DOTFILES_PATH/src/os/helpers.sh" #------------------------------------------------------------------------------# printf "\n" print_title "Finder" execute "defaults write com.apple.finder _FXShowPosixPathInTitle -bool true" \ "Use full ...
petemcw/dotfiles
src/os/preferences/macos/finder.sh
Shell
mit
5,073
#!/bin/bash cd /$HOSTNAME clear echo "" toilet " crashlog " -f pagga.tlf --filter border --filter gay toilet -f wideterm.tlf " crashlog's toolbox" echo "" cat /build-info.txt echo "" fish
FlyingPie/docker-services
images/toolbox/image/toolbox.sh
Shell
mit
196
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy # frameworks to, so exit 0 (signalling the...
kenny2006cen/GYXMPP
HMModules/HomeMateModule/Example/Pods/Target Support Files/Pods-HomeMateModule_Example/Pods-HomeMateModule_Example-frameworks.sh
Shell
mit
9,551
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3249-2 # # Security announcement date: 2015-06-02 00:00:00 UTC # Script generation date: 2017-01-01 21:07:26 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - jqueryui:1.8.ooops.21+dfsg-2+deb7u2...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2015/DSA-3249-2.sh
Shell
mit
1,008
#!/bin/bash set -e IMAGE_NAME=pocci-account-center DOCKER_FILE=`dirname $0`/src.tmp/Dockerfile UPDATED_PACKAGES=`get_newest_version_of_apk_package ${IMAGE_NAME} "nodejs:NODEJS_VERSION"` FROM_VERSION=`get_from_version ${IMAGE_NAME}` replace_version_env "${DOCKER_FILE}" "${UPDATED_PACKAGES}" replace_from_version "${DOC...
xpfriend/pocci-updater
bin/images/pocci-account-center/update.sh
Shell
mit
521
aws iam add-user-to-group --group-name deploy --user-name deploy
dmitrinesterenko/sample_phoenix_ecs
scripts/aws/iam/elasticbeanstalk/add-user-to-group_deploy_deploy.sh
Shell
mit
65
#!/bin/bash set -eux touch empty-file mkdir empty-directory mkdir -p a/deeply/nested/directory mkdir -p a/multiple/entry/directory mkdir -p home/faux echo 'Hello, world!' > home/faux/hello.txt chown 1000:1000 home/faux/hello.txt truncate -s 10M sparse-file mkfifo fifo-file python3 -c 'import socket as s; sock = s.sock...
FauxFaux/ext4-rs
scripts/generate-images/img-all-types.sh
Shell
mit
888
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2251-1 # # Security announcement date: 2011-06-02 00:00:00 UTC # Script generation date: 2017-01-01 21:06:15 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - subversion:1.6.12dfsg-6 # # Last ver...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2011/DSA-2251-1.sh
Shell
mit
670
#!/bin/bash # Post questions/issues to: # https://github.com/Topani/JumpStartOS/issues ##********************** ## Change Log ## ## Date Agent ## ---- ----- ## 01/27/2016 Topani ##********************** # Summary: # this script is a collection of commands to add the handbrake # ppa and install handbra...
Topani/JumpStartOS
ubuntu/install_handbrake.sh
Shell
mit
802
set -e ./build.sh docker run --rm -it -v `pwd`:/home/jovyan liar python3 liar.py "$@"
DouglasOrr/Snippets
liar/liar.sh
Shell
mit
86
#! /usr/bin/env bash which brew > /dev/null 2> /dev/null if (( $? != 0 )); then /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi # Install command-line tools using Homebrew. # Make sure we’re using the latest Homebrew. brew update # Upgrade any already-instal...
jammycakes/dotfiles
osx/brew.sh
Shell
mit
1,992
#! /bin/bash -eux echo "Running in $HOME" exec "$@"
oleg-nenashev/fusesoc-docker
icarus-quartus/entrypoint.sh
Shell
mit
51
#!/usr/bin/env bash export VAGRANT_HOME='/home/vagrant' export KIWIX_FILE='kiwix-0.9-rc2-linux-i686.tar.bz2' export KIWIX_DOWNLOAD='http://sourceforge.net/projects/kiwix/files/0.9_rc2/'\ $KIWIX_FILE'/download'
CristianCantoro/kiwix-live
provision/globals.sh
Shell
mit
212
#!/bin/sh # Standalone installer for Unixs # Original version is created by shoma2da # https://github.com/shoma2da/neobundle_installer # Installation directory BUNDLE_DIR=~/.nvim_runtime/plugins INSTALL_DIR=$BUNDLE_DIR/neobundle.vim # check git command if type git; then : # You have git command. No Problem. else ...
BontaVlad/.nvim_runtime
neobundle_install.sh
Shell
mit
588
git branch # show current brannch git show-branch -a # list all branches # create and switch to a branch git branch iss53 git checkout iss531 git checkout -b iss53 # in one step # Merging into master git checkout master git merge iss53 git checkout -b api_auth git checkout api_auth
iwxfer/wikitten
library/git/branchs.sh
Shell
mit
293
#!/bin/bash # Adapted from Erik Westrup's https://github.com/erikw/tmux-powerline _formatted_time() { echo $(date +"$tmux_conf_date_format") return 0 } _formatted_time
58bits/dotfiles
tmux/time.sh
Shell
mit
171
EC_PATH=/d/eclipse EC_UPDATES=http://download.eclipse.org/releases/kepler
kutschkem/Eclipse-Autoinstall
EclipsePath.sh
Shell
mit
74
#!/bin/bash # test.sh script to crack rsa # see README for details DIR=$(cd $(dirname $0) && pwd) OPENSSL=$DIR/openssl MSIEVE=$DIR/msieve bits=200 [ $# -eq 0 ] || bits=$1 # generate the private key (p,q) $OPENSSL genrsa -out private.pem $bits # generate the public key with private (e,n) $OPENSSL rsa -in private.pe...
sganis/rsa
test.sh
Shell
mit
1,198
#!/bin/bash #Script initializes first compute node if no compute node is there MASTER_IP=$(cat /etc/resolv.conf |grep nameserver|head -n1|awk '{print $2}') function set_key { VAL=${2} echo "curl -s -o /dev/null -4 -XPUT http://${MASTER_IP}:4001/v2/keys${1} -d value=${2}" curl -s -o /dev/null -4 -XPUT http://...
ChristianKniep/docker-haproxy
root/bin/start_haproxy.sh
Shell
mit
1,358
#!/bin/bash -e ################################################################################ ## File: homebrew.sh ## Desc: Installs the Homebrew on Linux ## Caveat: Brew MUST NOT be used to install any tool during the image build to avoid dependencies, which may come along with the tool ########################...
mattgwagner/New-Machine
.github-actions/images/linux/scripts/installers/homebrew.sh
Shell
mit
1,660
#!/usr/bin/env bash set -ex sudo apt-get -y update sudo apt-get -y install \ ansible \ audispd-plugins \ auditd \ bridge-utils \ bundler \ cgroup-bin \ git \ jq \ libcurl3 \ libffi-dev \ libssl-dev \ ruby \ unzip \ wget \ zsh sudo DEBIAN_FRONTEND=noninteractive apt-get -y upgrade sudo D...
cgswong/pakman
scripts/ubuntu/apt.sh
Shell
mit
463
#! /bin/bash source "$(dirname "$0")/../test-utils" source "$(dirname "$0")/../../completion-jruby" _TEST_FN=__jruby _TEST_BINARIES=(jruby) begin-test 'should provide (limited) funcitonality when completion-ruby is not present' ( test-completion jruby - expect -J --server ) end-test source "$(dirname "$0")/....
mernen/completion-ruby
tests/completion-jruby/test.sh
Shell
mit
729
#!/bin/bash #=============================================================================================== # System Required: Debian or Ubuntu (32bit/64bit) # Description: Install PPTP VPN for Debian or Ubuntu # Author: mikangchan <i@ovo.so> # More Info: http://ovo.so #======================================...
mikaoras/debian_ubuntu_pptp_vpn
debian_ubuntu_openvz_pptp.sh
Shell
mit
2,752
#!/usr/bin/env bash . etc/config.py nohup ./httpd.py > $web_logfile &
samuelpulfer/fit
webpy/bin/start.sh
Shell
mit
71
# # Java workspace setup # echo "Installing Maven" sudo apt-get install maven2 echo "Installing JDK 7" sudo sh jdk7.sh while true; do read -p "> Install Play Framework 1.2.5 ? (Yes/No): " yn case $yn in [Yy]* ) sudo sh play1.2.5.sh; return 0;; [Nn]* ) echo "> Skipping...."; return 1;; ...
kirang89/charizard
java/java_workspace.sh
Shell
mit
392
#! /bin/sh mkdir kafka02 cd kafka02 #the 0.9.0.0 release and un-tar it. wget http://mirrors.hust.edu.cn/apache/kafka/0.9.0.1/kafka_2.10-0.9.0.1.tgz tar -xzf kafka_2.10-0.9.0.1.tgz cd kafka_2.11-0.9.0.0 #Start the server bin/zookeeper-server-start.sh config/zookeeper.properties #Now start the Kafka server: bin/kafka-se...
futantan/HelloStorm
sh/kafka-install-V0.0.1/kafka_script.sh
Shell
mit
597
# 'Grep' - B # # https://www.hackerrank.com/challenges/text-processing-in-linux-the-grep-command-5/problem # # 0utput only those credit card numbers which have two or more consecutive # occurences of the same digit # grep -E '([0-9]) *\1'
codefury/psets
hackerrank/Linux-Shell/grep/06-grep-B.sh
Shell
mit
243
#!/bin/bash module=gl.py temp=.gl-symbols rm -f $module $temp echo "from pyglet.gl import (" > $module ack -ho "gl[A-Z]\w+" | sort | uniq | sed "s/gl\(.*\)/gl\1 as \1/" >> $temp ack -ho "GL[a-z]+" | sort | uniq >> $temp ack -ho "GL_[A-Z_0-9]+" | sort | uniq >> $temp echo "Total symbols: " $(cat .gl-symbols |...
AllTheWayDown/turgles
turgles/tools/count_gl.sh
Shell
mit
407
#! /bin/bash ## 全局变量 # 1. 需要配置部分--begin APP_NAME=spp APP_PATH=. APP_ARGS="--cs2 sample/demo/hulu/start.js" #APP_ARGS="--cs2 --debug --verbose sample/demo/hulu/start.js" # 动态库寻找路径配置,动态库寻找目前靠CS->靠系统解决,插件寻找过程是用代码解决的。 export LD_LIBRARY_PATH=$spp_dep_libs/release/lib:$spp_dep_libs/V8:$spp_dep_libs/boost_V1.49.0/stage/lib...
xxd3vin/spp-sdk
bin/lunch.sh
Shell
mit
1,145
#!/bin/sh # . ./cdb1.env # echo "" echo " NOTE:" echo " To break out of this batch" echo " job, please issue CTL-C " echo "" echo "...sleeping 5 seconds" echo "" sleep 5 sqlplus -S /nolog << EOF @truncate_sale_orders.sql EOF c=1 while [ $c -le 1000 ] do sqlplus -S /nolog << EOF @batch-orders.sql commit...
bigdatalyn/bigdatalyn.github.io
12cR2MultitenantHOLCookbook/HOL/provisioning/02-write-load.sh
Shell
mit
392
#!/bin/bash KEYWORDS_KOTOR="Knights(| )of(| )the(| )Old(| )Republic|KOTOR" KEYWORDS_KOTOR_EXCLUDE="The(| )Old(| )Republic(| )(2|II)|KOTOR(| )(2|II)" if [ "$1" == "" ]; then debug_start "Star Wars: Knights of the Old Republic" KOTOR=$(egrep -i "$KEYWORDS_KOTOR" "$NEWPAGES" | egrep -iv "$KEYWORDS_KOTOR_EXCLUDE") ...
MW-autocat-script/MW-autocat-script
catscripts/Entertainment/Video_games/Role-playing_video_games/Star_Wars_Knights_of_the_Old_Republic/KOTOR.sh
Shell
mit
440
#!/usr/bin/env bash ############################################################################### # Timing 2 # ############################################################################### # Sync history rm -rf $HOME/Library/Application\ Support/i...
semenovDL/dotfiles
apps/timing.sh
Shell
mit
466
#!/bin/bash if [ "$(whoami)" != "root" ]; then echo "This must be run as root or using sudo." exit 1 fi if [ $# -lt 1 ]; then echo "Usage: setup-ubuntu18.sh <postgresql password>" exit fi set -eux cd $(dirname "${BASH_SOURCE[0]}")/../ apt-get install libcrypto++-dev libpqxx-dev libssl1.1 libssl1.0.0 clang liba...
bwackwat/libjaypea
scripts/setup-ubuntu18.sh
Shell
mit
1,003
#!/usr/bin/env bash apt-get install libnss3-tools jq xsel > /dev/null 2>&1 # Install PHP 7.0 if [[ ! $(apt-cache search php[5-7].[0-9]-cli) ]] then add-apt-repository -y ppa:ondrej/php && apt-get update fi $VERSION='7.0' # Install PHP $VERSION apt-get install -y "php$VERSION-cli php$VERSION-common php$VERSION-cu...
cpriego/valet-linux
cli/scripts/install.sh
Shell
mit
2,000
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2851-1 # # Security announcement date: 2015-12-19 00:00:00 UTC # Script generation date: 2017-01-01 21:05:04 UTC # # Operating System: Ubuntu 15.10 # Architecture: x86_64 # # Vulnerable packages fix on version: # - linux-image-4.2.0-22-powerpc64-smp:4.2.0...
Cyberwatch/cbw-security-fixes
Ubuntu_15.10/x86_64/2015/USN-2851-1.sh
Shell
mit
1,860
. $PROFILE/${1}_profile cd ${run_dir} #################################################################################################### if [ ! -e ${subrunmod}_bucket.nii ]; then #################################################################################################### echo "-------------------------------...
KrbAlmryde/Utilities
Tap/deconvolve_tap.sh
Shell
mit
2,231
#!/usr/bin/env bash # Header logging e_info() { printf "$(tput setaf 38)→ %s$(tput sgr0)\n" "$@" } # Success logging e_success() { printf "$(tput setaf 76)✔ %s$(tput sgr0)\n" "$@" } # Error logging e_error() { printf "$(tput setaf 1)✖ %s$(tput sgr0)\n" "$@" } # Warning logging e_warning() { printf "...
chchmlml/chchmlml.github.io
build.sh
Shell
mit
1,316
main () { echo "One for ${1-you}, one for me." } main "$@"
CajetanP/coding-exercises
Exercism/bash/two-fer/two_fer.sh
Shell
mit
65
#!/bin/sh # cleans up temporary files function cleanup () { rm -rf ${DIRNAME} ${TARBALL} cd ${PREVDIR} } PREVDIR="$(pwd)" DIRNAME="avarice" CODEDIR="${PREVDIR}/avarice-code" OUTDIR="${PREVDIR}/${DIRNAME}" SVNLOG="/tmp/svn.log" CONFIGLOG="/tmp/configure.log" MAKELOG="/tmp/make.log" # don't make a mess in a direct...
DavidDiPaola/buildtools
buildtool-avarice.sh
Shell
cc0-1.0
1,353
#!/bin/bash # # Cleans up (removes) the unix socket used by gcp-cups-connector if somehow the program # didn't have a chance to do so itself on orderly shutdown, such as after a power outage. # # Accepts the location of the config file and the full path to the gcp-cups-connector # executable as first and second argumen...
hlapp/gcp-cups-x
cleanup-socket.sh
Shell
cc0-1.0
934
#!/bin/sh DATE=`date "+%Y%m%d%H%M"` COMMIT=`git rev-parse HEAD` SHORTCOMMIT=`git rev-parse --short=8 HEAD` cp na2-exec-plugin.spec.tmpl na2-exec-plugin.spec sed -i -e "s;@@DATE@@;${DATE};" na2-exec-plugin.spec sed -i -e "s;@@COMMIT@@;${COMMIT};" na2-exec-plugin.spec sed -i -e "s;@@SHORTCOMMIT@@;${SHORTCOMMIT};" na2-e...
RENCI-NRIG/na2-exec-plugin
redhat/create_spec_from_tmpl.sh
Shell
epl-1.0
336
#!/bin/bash SERVERS=('gerolde' 'sigurd') ARCHES=('i686' 'x86_64' 'any') # ensure needed directories are present mkdir -p /srv/abs/{checkout,rsync,tree} # clear any "broken" entries from previous ABS tree generation for server in ${SERVERS[@]}; do [ -d /srv/abs/tree/$server ] && rm -rf /srv/abs/tree/$server/* done...
Alexpux/MSYS2-abs
scripts/update-abs.sh
Shell
gpl-2.0
1,322
/bin/sh /var/www/scripts/strongtube_convert_ogv.sh /bin/sh /var/www/scripts/strongtube_convert_mp4.sh /bin/sh /var/www/scripts/strongtube_convert_webm.sh
OzuYatamutsu/strongtube
strongtube_convert_all_codec.sh
Shell
gpl-2.0
154
#!/usr/bin/env bash mkdir -p dist/ mkdir -p dist/parts/ mkdir -p dist/parts/tgm/ mkdir -p dist/parts/czr/ mkdir -p dist/page-templates/ mkdir -p dist/languages/ mkdir -p dist/assets/css/ mkdir -p dist/assets/fonts/ mkdir -p dist/assets/img/ mkdir -p dist/assets/html/ mkdir -p dist/assets/js/ mkdir -p dist/assets/js/min...
Mirucon/coldbox
bin/copy.sh
Shell
gpl-2.0
990
#!/bin/bash cd ~/Documents/git/simp_le/ || exit 2 # setup virtualenv virtualenv --no-site-packages venv export PATH=./venv/bin:$PATH PATH=$PWD/venv/bin:$PATH echo "PATH=$PATH" # install packages for pkg in setuptools pip wheel do pip install -U "${pkg?}" done pip install -e . # try to renew cd /etc/httpd/certs/se...
fini-net/fini-web-manager
bin/renew-cert.sh
Shell
gpl-2.0
574
#!/bin/sh incdir=`dirname $0` . $incdir/test_functions.sh plantest "RPC-ECHO against member server with local creds" member $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME\\\\\$USERNAME"%"\$PASSWORD" RPC-ECHO "$*" plantest "RPC-ECHO against member server with domain creds" member $...
technosaurus/samba4-GPL2
source4/selftest/test_member.sh
Shell
gpl-2.0
446
#!/bin/bash if [[ "$1" == "profile" ]] ; then echo "profiling code" perl -d:NYTProf ./tests/test.pl rm -rf nytprof.old || echo "no old to remove" mv nytprof nytprof.old nytprofhtml --open elif [[ "$1" == "full" ]] ;then echo "full test, coverage and profiling" perl -d:NYTProf ./tests/t...
morgajel/ziggybot
runtests.sh
Shell
gpl-2.0
902
#!/bin/sh # # Copyright (c) 2009 Red Hat, Inc. # test_description='Test updating submodules This test verifies that "git submodule update" detaches the HEAD of the submodule and "git submodule update --rebase/--merge" does not detach the HEAD. ' . ./test-lib.sh compare_head() { sha_master=$(git...
haglerchristopher/automation
src/3rd_party/git/t/t7406-submodule-update.sh
Shell
gpl-2.0
19,842
sudo chmod 777 -R ./modules/mod_image_show_gk4/cache/ sudo chmod 777 -R ./images/
kiennd146/haiwatersport.vn
deploy.sh
Shell
gpl-2.0
82
#!/bin/bash # Description: Initializes the detector (data contained is flushed) and stores the images from the UPCReplica dataset ############################################################## ################# Default parameters ######################### ##############################################################...
DaniUPC/near-image-replica-detection
scripts/initialize_and_index_dataset.sh
Shell
gpl-2.0
3,723
#!/bin/sh # # This file is part of the OpenLink Software Virtuoso Open-Source (VOS) # project. # # Copyright (C) 1998-2014 OpenLink Software # # This project 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 Found...
v7fasttrack/virtuoso-opensource
binsrc/tests/suite/tclstop.sh
Shell
gpl-2.0
965
#!/bin/bash DPATH="/sys/kernel/debug/tracing" PID=$$ ## Quick basic checks [ `id -u` -ne 0 ] && { echo "Needs to be root"; exit 1; } # check for root permissions mount | grep -i debugfs &> /dev/null [ $? -ne 0 ] && { echo "debugfs not mounted, mount it first"; exit 1; } # check for debugfs mount [ -z $1 ] && { e...
sysplay/bbb
Apps/DebuggingTools/traceprocess.sh
Shell
gpl-2.0
687
#!/bin/bash # Copyright 2013 The Shenzhen Key Laboratory of Intelligent Media and Speech, # PKU-HKUST Shenzhen Hong Kong Institution (Author: Wei Shi) # Apache 2.0 # Combine PLP and pitch features together # Note: This file is based on make_plp.sh and make_pitch_kaldi.sh # Begin configuration section...
StevenLOL/Research_speech_speaker_verification_nist_sre2010
SRE2010/steps/make_plp_pitch.sh
Shell
gpl-2.0
4,708
#!/bin/bash set -ex # validate install function validate() { ( set +e # shellcheck source=/dev/null source "${CACHEDIR}/qt.env" if [ "$(cygpath -u "$(qmake -query QT_INSTALL_BINS)")" != "${QTDIR}/bin" ]; then echo "ERROR: unexpected Qt location." >&2 exit 1 fi if [ "$(qmake -query...
tsteven4/gpsbabel
tools/ci_install_windows.sh
Shell
gpl-2.0
2,296
#!/bin/sh export JAVA_HOME=/usr/java/default export PATH=$JAVA_HOME/bin:$PATH ~/trinityrnaseq/Trinity --seqType fq --max_memory 32G --CPU 6 --left $1 --right $2
carnegie-dpb/biotools
trinity.sh
Shell
gpl-2.0
162
#!/bin/sh GNOSTIC=./gnostic TEST_FILES=`ls -1 ./testdata/*.gns` STATUS=0 check() { $GNOSTIC $1 STATUS=$[$STATUS + $?] } for f in $TEST_FILES; do check $f done if [ $STATUS -ne `echo $TEST_FILES | wc -w` ]; then exit 1 fi exit 0 # vim: ts=4 sw=4 et filetype=sh
jmbr/gnostic
test-gnostic.sh
Shell
gpl-2.0
285
gcc -Wall -O0 -g *.c testSuites/*.c -o run -lm -lSDL2
mboerwinkle/Voronoi-Infill
debugBuild.sh
Shell
gpl-2.0
54
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/ex3_numqua...
pdavila13/Program_C
Arrays/Ex3_numQuadratCub/nbproject/Package-Release.bash
Shell
gpl-2.0
1,501
#!/bin/bash # wait between checks WAIT_TIME_SECONDS=$1 tempFile=/tmp/mysql-track-cachetable.txt headerLineEvery=20 headerLineLast=25 while true ; do #currentInfo=`$DB_DIR/bin/mysqladmin --user=${MYSQL_USER} --socket=${MYSQL_SOCKET} --password=${MYSQL_PASSWORD} ext` $DB_DIR/bin/mysql --user=$MYSQL_USER --pas...
Percona-QA/toku-qa
bin/mysql-track-cachetable.bash
Shell
gpl-2.0
3,487
# # Customize and fix errors # # Load utility functions . ./functions.sh # Fix - Error missing symbolic link in python 2.7 if [ -d "${R}/usr/lib/python2.7/" ]; then chroot_exec << EOT ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/ EOT fi if [ -n "$(search_deb perftune)" ]; then install_deb...
Cyr-ius/rpi23-gen-image
bootstrap.d/98-customize.sh
Shell
gpl-2.0
333