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 # --------------------------------------------------------------------- trap onexit 1 2 3 15 function onexit() { local exit_status=${1:-$?} pkill -f hstore.tag exit $exit_status } # --------------------------------------------------------------------- ENABLE_ANTICACHE=true SITE_HOST="localh...
huanchenz/STX-h-store
scripts/anticache/articles.sh
Shell
gpl-3.0
5,696
#!/bin/bash set -ex npm run addon:locales cd addon/ # only sign when on master branch or a tag if [[ $CIRCLE_PROJECT_USERNAME == 'mozilla' && ($CIRCLE_BRANCH == 'master' || $CIRCLE_TAG != '') ]]; then npm run sign; else npm run package; fi
clouserw/testpilot
bin/circleci/build-addon.sh
Shell
mpl-2.0
248
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you...
mlaz/mynewt-core
hw/bsp/stm32f7discovery/stm32f7discovery_debug.sh
Shell
apache-2.0
1,570
#!/usr/bin/env bash platform="$(uname -sm)" [[ "$platform" == "Darwin x86_64" ]] && platform="Darwin i386" ruby_archive="MagLev-$ruby_version.tar.gz" ruby_src_dir="MagLev-$ruby_version" ruby_mirror="${ruby_mirror:-http://glass-downloads.gemstone.com/maglev}" ruby_url="${ruby_url:-$ruby_mirror/$ruby_archive}" # # Con...
rstacruz/ruby-install
share/ruby-install/maglev/functions.sh
Shell
mit
1,238
#!/bin/bash cores=$1; shift; source scripts/lock_exec; source scripts/config; prog1="$1"; shift; prog2="$1"; shift; prog3="$1"; shift; prog4="$1"; shift; prog5="$1"; shift; prog6="$1"; shift; prog7="$1"; shift; params="$@"; echo "# #Cores: $cores / Params: $params"; printf "#%-30s%-30s%-30s%-30s%-30s%-30s%-30s\n" ...
LPD-EPFL/ASCYLIB
scripts/latency_raw7.sh
Shell
gpl-2.0
3,599
#!/bin/bash # # 2017-02-27 # script_dir="$(dirname "$(readlink -f "$0")")" # SRC="${script_dir}/../src" BUILD="${script_dir}/../build" # where=`pwd` # # build the lists cd ${SRC} list_of_C=`ls *.cpp` list_of_H=`ls *.h` list_of_files="${list_of_C} ${list_of_H}" cd ${where} # RESULTS="${script_dir}/../results" # rm -rf ...
dirk-thomas/uncrustify
scripts/Run_clang-tidy.sh
Shell
gpl-2.0
6,260
#!/bin/sh # # Copyright (c) 2009 Jens Lehmann, based on t7401 by Ping Yin # Copyright (c) 2011 Alexey Shumkin (+ non-UTF-8 commit encoding tests) # test_description='Support for verbose submodule differences in git diff This test tries to verify the sanity of the --submodule option of git diff. ' . ./test-lib.sh # ...
brunosantiagovazquez/git
t/t4041-diff-submodule-option.sh
Shell
gpl-2.0
14,057
#!/bin/sh # Copyright: 2016 Masatake YAMATO # License: GPL-2 . ./keywords.sh gen_struct_tags () { i=0 for k in $keywords; do cat<<EOF $k input.h /^struct $k {int x;} v$i;\$/;" s EOF i=$(( i + 1 )) done } gen_member_tags () { i=0 for k in $keywords; do cat<<EOF $k input.h /^struct s$i {int $k;...
masatake/ctags
Units/parser-cxx.r/cxx-keywords-as-c-identifiers.b/gen-expected-tags.sh
Shell
gpl-2.0
943
# # cleanup # rm -f -r aclocal.m4 rm -f -r autom4te.cache/ rm -f -r compile* rm -f -r config.h rm -f -r config.h.in rm -f -r config.log rm -f -r config.status rm -f -r configure rm -f -r depcomp rm -f -r .deps/ rm -f -r sdriq-server* rm -f -r sdriq-test rm -f -r *.o rm -f -r install-sh* rm -f -r Makefile rm -f -r Makef...
alexlee188/ghpsdr3-alex
trunk/src/sdriq/cleanup.sh
Shell
gpl-3.0
362
#!/bin/bash set -e set -x BLD_DIR=`pwd` SRC_DIR=$RECIPE_DIR/.. pushd $SRC_DIR version=`$PYTHON scripts/get_bump_version.py` if [ -e "__travis_build_number__.txt" ]; then travis_build_number=$(cat __travis_build_number__.txt) if [[ "$travis_build_number" == "release" || "$travis_build_number" == "devel" ]];...
srinathv/bokeh
conda.recipe/build.sh
Shell
bsd-3-clause
972
#!/bin/bash FN="pd.drogene.1.1.st_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/pd.drogene.1.1.st_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.drogene.1.1.st_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.drogene.1.1.st/bioconductor-...
cokelaer/bioconda-recipes
recipes/bioconductor-pd.drogene.1.1.st/post-link.sh
Shell
mit
1,337
#!/bin/sh ./Recipe retroshare.yml
sehraf/RetroShare
build_scripts/AppImage/makeAppImage.sh
Shell
gpl-2.0
35
#!/bin/bash _m2_make_goals() { plugin=$1 mojos=$2 for mojo in $mojos do export goals="$goals $plugin:$mojo" done } _m2_complete() { local cur goals COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} goals='clean compile test install package deploy site' goals=$goals _m2_make_goals "eclipse" "eclipse"...
spf13/profile
scripts/mvn-completion.sh
Shell
mit
670
#!/bin/bash # -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*- # vim:shiftwidth=4:softtabstop=4:tabstop=4: LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)} . $LUSTRE/tests/test-framework.sh init_test_env $@ . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} init_logging # ALWAYS_EXCEPT="$ALWAYS_EXCEPT $LNET_SELFTEST_EX...
HPCStack/lustre-release
lustre/tests/lnet-selftest.sh
Shell
gpl-2.0
4,156
#!/bin/bash -ex # satellite6-builder.sh - Build Satellite 6 packages # # This script should be run from the root of the package's git repo # # Requirements: # - tito # - koji # - brewkoji # - mock (Please ensure the user running the script is in the 'mock' group) # #TODO: Set a parameter for this DIST='.el7' OUTPUTDI...
kbidarkar/robottelo-ci
scripts/satellite6-builder.sh
Shell
gpl-3.0
993
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # The syscall package provides access to the raw system call # interface of the underlying operating system. Porting Go to # a new architectur...
adamluo159/go
src/syscall/mkall.sh
Shell
bsd-3-clause
9,783
#!/bin/sh mount $1 /mnt -o loop || exit 1 mount /mnt/LiveOS/squashfs.img /media -o loop || exit 1 mount -o loop /media/LiveOS/ext3fs.img /srv || exit 1
rprevette/clip
support/mount-live-ext3.img.sh
Shell
apache-2.0
152
#!/bin/bash # This script trains a Multimodal DBN using deepnet. # Before running this script download and extract data from # http://www.cs.toronto.edu/~nitish/multimodal # Location of deepnet. EDIT this for your setup. deepnet=$HOME/deepnet/deepnet # Location of the downloaded data. This is also the place where lea...
hendrikTpl/deepnet
deepnet/examples/multimodal_dbn/runall_dbn.sh
Shell
bsd-3-clause
6,626
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you ma...
sbyoun/i-mapreduce
src/contrib/chukwa/bin/buildDailyArchive.sh
Shell
apache-2.0
1,160
#! /bin/sh # # Copyright 2011 Couchbase, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
signmotion/libcouchbase
tests/start_mock.sh
Shell
apache-2.0
1,239
#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License");...
sjaco002/vxquery
vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql_scripts/yarn_and_flink/run_group_test.sh
Shell
apache-2.0
2,721
#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # Copyright (c) 2014 Mozilla Corporation # # Contributors: # Jeff Bryner jbryner@mozilla.com source...
jvehent/MozDef
cron/cloudTrailAlerts.sh
Shell
mpl-2.0
411
#!/usr/bin/env bash # SPDX-License-Identifier: LGPL-2.1-or-later set -eux set -o pipefail P=/run/systemd/system.conf.d mkdir $P cat >$P/rlimits.conf <<EOF [Manager] DefaultLimitNOFILE=10000:16384 EOF systemctl daemon-reload [[ "$(systemctl show -P DefaultLimitNOFILESoft)" = "10000" ]] [[ "$(systemctl show -P Defaul...
tblume/systemd-upstream
test/units/testsuite-05.sh
Shell
gpl-2.0
701
#!/bin/sh OBAPI_VERSION="1.1.0" TMP_DIR=libobapi.tmp.$$ mkdir $TMP_DIR cp oceanbase.h $TMP_DIR cp -P .libs/libobapi.so* $TMP_DIR cd $TMP_DIR tar czf libobapi-$OBAPI_VERSION.tar.gz * mv libobapi-$OBAPI_VERSION.tar.gz .. cd .. rm -r $TMP_DIR
wenshao/oceanbase
src/client/cpp/build_tar.sh
Shell
gpl-2.0
245
#!/bin/bash #Usage: ./convert-formes.sh folder #Converts all files in the folder and subfolders #from veekun names to PO names (basically replacing #the forme text id to its numerical id) #Use this script on the packages located here: http://veekun.com/dex/downloads! folder=$1 function convert() { num=$1 fo...
VeteranPadgett/pokemon-online
scripts/convert-formes.sh
Shell
gpl-3.0
1,889
#!/bin/bash # Copyright 2015 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
BugRoger/kubernetes
hack/jenkins/gotest-dockerized.sh
Shell
apache-2.0
1,704
#!/bin/bash -ex # Copyright 2016 go-dockerclient authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. if ! [[ $TRAVIS_GO_VERSION =~ ^1\.[34] ]]; then make lint vet fi make fmtcheck gotest if [[ $TRAVIS_OS_NAME == "linux" ]]; then DOCKE...
rawlingsj/gofabric8
vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash
Shell
apache-2.0
368
#!/bin/sh # # options: # rmmof.sh <MOF_PATH> <NAMESPACE> <FILES> # # - or - # # options: # loadmof.sh -n <NAMESPACE> <FILES> [...] # # The former is preserved for compatibility with Pegasus and # sblim providers. The latter is preferred. If $1 is "-n", # the latter code path is executed. Otherwise the former is #...
allela-roy/meta-oe
recipes-support/openwbem/openwbem/rmmof.sh
Shell
mit
1,028
#!/bin/bash # Usage: # # in practice, you probably want # `./build-support/bin/publish_docs.sh` # ...which invokes this. # # sh publish_via_git.sh git@github.com:pantsbuild/pantsbuild.github.io.git # # or, to publish to a subdir under there: # # sh publish_via_git.sh git@github.com:pantsbuild/pantsbuil...
dturner-tw/pants
src/python/pants/docs/publish_via_git.sh
Shell
apache-2.0
1,074
#! /bin/sh val=1 if [ -f /bin/uname -o -f /usr/bin/uname ]; then set `uname -a | tr '[A-Z]' '[a-z]'` case "$1" in hp-ux) case "$3" in *.10.*) val=1 ;; *.09.03 | *.09.10) case "$5" in 9000/3*) val=1 ;; *) val=0 ;; esac ;; *) val=0 ;; esac ;; *) esac fi exit $val
kidmaple/CoolWall
user/ntp/scripts/hpadjtime.sh
Shell
gpl-2.0
302
#!/bin/bash # Copyright 2014 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 ...
mdshuai/service-catalog
vendor/k8s.io/kubernetes/hack/lib/util.sh
Shell
apache-2.0
25,124
#!/bin/sh # Copyright (c) 2002, Intel Corporation. All rights reserved. # Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com # This file is licensed under the GPL license. For the full content # of this license, see the COPYING file at the top level of this # source tree. # Test that clock_getres() supports...
liaoqingwei/ltp
testcases/open_posix_testsuite/conformance/interfaces/clock_getres/2-1.sh
Shell
gpl-2.0
472
#!/bin/bash -e # Copyright 2017 VMware, Inc. 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 required by app...
childsb/origin
vendor/github.com/vmware/govmomi/toolbox/toolbox-test.sh
Shell
apache-2.0
8,111
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licens...
gndpig/hadoop
src/packages/hadoop-validate-setup.sh
Shell
apache-2.0
4,852
# bash/zsh git prompt support # # Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> # Distributed under the GNU General Public License, version 2.0. # # This script allows you to see repository status in your prompt. # # To enable: # # 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). # 2) Add t...
jggrandi/SettingsAndScripts
systemsettings/git/.git-prompt.sh
Shell
mit
16,075
#!/bin/sh # # Copyright (C) 2012 # Charles Roussel <charles.roussel@ensimag.imag.fr> # Simon Cathebras <simon.cathebras@ensimag.imag.fr> # Julien Khayat <julien.khayat@ensimag.imag.fr> # Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr> # Simon Perrat <simon.perrat@ensimag.imag.fr> # # License: GPL ...
overtherain/scriptfile
tool-kit/git-2.1.2/contrib/mw-to-git/t/t9362-mw-to-git-utf8.sh
Shell
mit
9,883
#!/bin/bash # # Deploy a jar, source jar, and javadoc jar to Sonatype's snapshot repo. # # Adapted from https://coderwall.com/p/9b_lfq and # http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ SLUG="square/okhttp" JDK="oraclejdk8" BRANCH="master" set -e if [ "$TRAVIS_REPO_SLUG" ...
cdut007/PMS_TASK
third_party/okhttp-master/.buildscript/deploy_snapshot.sh
Shell
mit
1,006
#!/bin/bash # # Run this script once every time you boot the IFC6410. This script will: # # * Disable *mpdecision* # * Disable *thermald* # * Activate all 4 cores # * Set CPU core governors to *userspace* # * Enable all thermal sensors # * Set system time to current time # # # stop mpdecision (multiprocessor managemen...
BU-PCM-Testbed/ThermalProfiler-Tools
shell_scripts/android_setup.sh
Shell
mit
1,573
#!/bin/bash cat <&0 >&2 & stuff="1" while true ; do echo hi sleep .25 # >&2 echo lo # sleep .25 done
firelizzard18/Tea-Service
test.sh
Shell
mit
107
#!/bin/bash sudo mkdir -p /opt/<%= name %>/ sudo mkdir -p /opt/<%= name %>/config sudo mkdir -p /opt/<%= name %>/tmp sudo chown ${USER} /opt/<%= name %> -R
amalg989/runmeteor
src/modules/meteor/assets/meteor-setup.sh
Shell
mit
156
alias knf='bundle exec knife' alias knfr='bundle exec knife rackspace' alias krsl='bundle exec knife rackspace server list'
bbttxu/dotfiles
chef/aliases.zsh
Shell
mit
124
#!/bin/sh git push origin master bundle exec relish push philou/cucumber-tricks
philou/cucumber_tricks
push.sh
Shell
mit
80
#!/bin/bash set -ex echo "run-tests.sh | Running /usr/share/devshop/bin/devshop devmaster:test" # Pause the task queue. drush @hostmaster vset hosting_queued_paused 1 # Run the test suite. /usr/share/devshop/bin/devshop devmaster:test # Unpause the task queue. drush @hostmaster vset hosting_queued_paused 0
opendevshop/dockerfiles
run-tests.sh
Shell
mit
313
#!/usr/bin/env bash export IS_CI_BOX=true bundle install rake selenium:ci
pivotal/saucelabs-canary
cruise_build_command.sh
Shell
mit
74
#!/usr/bin/env bash for p in $(seq 0 1); do for j1 in $(seq 1 2); do for j2 in $(seq 1 2); do for r in $(seq 0 1); do for a in $(seq 0 1); do echo "$p $j1 $j2 $r $a" done done done done done
deniscostadsc/playground
solutions/beecrowd/2059/generate_in.sh
Shell
mit
291
#!/bin/sh DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR git pull
leopoldkot/webui-seed
git_pull.sh
Shell
mit
85
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2015:2671 # # Security announcement date: 2015-12-21 06:13:45 UTC # Script generation date: 2016-05-12 18:13:34 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - jakarta-commons-collections-debuginfo.x...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2015/RHSA-2015:2671.sh
Shell
mit
1,660
#!/bin/sh # `/sbin/setuser memcache` runs the given command as the user `memcache`. # If you omit that part, the command will be run as root. exec nginx >>/var/log/nginx/screen_output.log 2>&1
butlerpeter/nzedb-docker
nginx.sh
Shell
mit
194
#!/bin/sh git filter-branch --env-filter ' OLD_EMAIL="nacho@Macbook.lan" CORRECT_NAME="enchf" CORRECT_EMAIL="e.ernesto.espinosa@gmail.com" if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] then export GIT_COMMITTER_NAME="$CORRECT_NAME" export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" fi if [ "$GIT_AUTHOR_EMAIL" = "$OL...
enchf/logback
git-author-rewrite.sh
Shell
mit
472
#!/usr/bin/env bash # Continuum Script v1.1.0 # # Report issues/suggestions on the repository # # https://github.com/FlibioWeb/Continuum # # Configuration # # The Continuum URL to target. Must include a trailing slash. # TARGET="http://continuum.flibio.net/api/" # The Continuum project to target. Must be lowercase an...
Flibio/WinterWonderland
continuum.sh
Shell
mit
1,783
#!/bin/bash # Create munkireportlib directory mkdir -p ${MUNKIPATH}munkireportlib # servermetrics controller CTL="${BASEURL}index.php?/module/servermetrics/" # Get the scripts in the proper directories "${CURL[@]}" "${CTL}get_script/servermetrics.py" -o "${MUNKIPATH}preflight.d/servermetrics.py" && "${CURL[@]}" "${...
matt-cahill/munkireport-php
app/modules/servermetrics/scripts/install.sh
Shell
mit
793
dir=$1 head -n1000 $1/tpr_filenames.txt | tail | grep " 0 " > $1/borderline_negatives.txt head -n1000 $1/tpr_filenames.txt | tail | grep " 1 " > $1/borderline_positives.txt head -n700 $1/tpr_filenames.txt | grep " 0 " | head > $1/false_positives.txt tail -n700 $1/tpr_filenames.txt | grep " 1 " | tail > $1/false_neg...
cavestruz/StrongCNN
models/print_high_border_low_scoring_filenames.sh
Shell
mit
457
#compdef _keep keep function _keep { local -a commands _arguments -C \ "-v[Enables verbose mode]:" \ "--verbose[Enables verbose mode]:" \ "--help[Show the help message and exit]:" \ "1: :->cmnds" \ "*::arg:->args" case $state in cmnds) commands=( "edit:Edit a saved command." ...
OrkoHunter/keep
completions/keep.zsh
Shell
mit
1,141
#!/usr/bin/env bash # browsers brew cask install google-chrome # media brew cask install spotify # other brew cask install 1password brew cask install google-backup-and-sync # for non-G Suite accounts brew cask install the-unarchiver brew cask install iterm2 # @HOME brew cask install plex-media-server brew cask ins...
JeroenVdb/dotfiles
brew-software.sh
Shell
mit
428
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3726-1 # # Security announcement date: 2016-11-26 00:00:00 UTC # Script generation date: 2017-01-23 21:09:28 UTC # # Operating System: Debian 8 (Jessie) # Architecture: x86_64 # # Vulnerable packages fix on version: # - imagemagick:8:6.8.9.9-5+deb8u6 # ...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/x86_64/2016/DSA-3726-1.sh
Shell
mit
4,530
#!/bin/bash # Use "bash update-sitemap.sh" set -eu npx babel-node sitemap.js > sitemap.xml d=`date +"%Y/%m/%d %k:%M:%S %z"` git add sitemap.xml git diff --cached --exit-code --quiet || git commit -m "Sitemap update at $d"
Hiroto-K/Hiroto-K.github.io
update-sitemap.sh
Shell
mit
224
#!/usr/bin/env bash # Functions update_repo() { cd "$(dirname "${BASH_SOURCE}")" git pull origin master } install_repo() { cd "$(dirname "${BASH_SOURCE}")" rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \ --exclude "README.md" --exclude "LICENSE" \ -av --no-perms . ~ } resou...
pjan/osx-dotfiles
bootstrap.sh
Shell
mit
725
#!/bin/bash set -ou pipefail set -o xtrace # # Make MUMMER dot plot # Requires: mummer (nucmer, mummerplot), gnuplot, dnacat, ghostscript (ps2pdf) # # Clean up: # rm -rf links plain truthref LINKCONTIGS=k31_links/klebPneu.rmdup.fa PLAINCONTIGS=k31_plain/klebPneu.rmdup.fa TRUTH=../truth/CAV1016.fa REF=../ref/GCF_00...
mcveanlab/mccortex
results/klebsiella/kleb_pneumoniae/assembly/make-dot-plots.sh
Shell
mit
2,399
docker pull ubuntu:latest
nathanhicks/bash-scripting-101
hello-world/courseBase.sh
Shell
mit
26
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-1765-1 # # Security announcement date: 2013-03-18 00:00:00 UTC # Script generation date: 2017-01-01 21:03:12 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - apache2.2-common:2.2.22-1ubuntu1.3 #...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2013/USN-1765-1.sh
Shell
mit
711
#!/bin/zsh --extended-glob typeset fromdir="$1" # $1 -> Current mail directory typeset destdir="$2" # $2 -> Archive directory lotate() { folder="$1" # path of current processing MH folder. # processing mails. if [[ -n "$folder" ]] then if ruby -e 'Dir.glob(ARGV[0]) {|i| File.basename(i) =~ /^\./ ? nex...
reasonset/maildeliver
lotate.zsh
Shell
mit
1,544
# Initialize rbenv. source $DOTFILES/source/60_ruby.sh rb2=$(rbenv install --list | grep -ve "[a-zA-Z]" | grep -E "\s+2\.\d+\." | tail -1) echo rb2 is $rb2 (rbenv versions | grep $rb2 > /dev/null 2>&1) || rbenv install $rb2 rbenv rehash rbenv global $rb2
c17r/dotfiles
init/60_ruby.sh
Shell
mit
259
#!/bin/sh SOURCE=$(dd if=/dev/urandom count=1 2>/dev/null | openssl dgst -md5) MACADDR="$(echo ${SOURCE} | \ sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4:\5:\6/')" for i in $(ifconfig -s | sed 1d - | cut -d ' ' -f 1); do echo "Downing interface '$i'... " ifconfig $i down echo "Changing MAC ...
fmaguire/scripts
general_utilities/MAC_switcheroo.sh
Shell
mit
444
#!/usr/bin/env bash set -e # halt script on error bundle exec jekyll build # bundle exec travis-lint # bundle exec htmlproof ${HTML_FOLDER} --disable-external HTML_FOLDER=$(pwd)/_site/ echo "\${HTML_FOLDER}: [${HTML_FOLDER}]" if [ -n ${HTML_FOLDER} ] && [[ ${HTML_FOLDER} =~ ^(/[^/ ]*)+/?$ ]]; then cd ${HTML_FOLD...
IncidentNormal/incidentnormal.github.io
deploy.sh
Shell
mit
776
#!/bin/bash #============================================================= # Name: create_GO-mapping_files.sh # # Purpose: This is a pipeline script to take HMMER2GO # output and generate a GO term association file # for each gene. Also, a population and study set # of gene IDs is created fo...
UBCBio525/Bio525D
Topic08/exercises/create_GO-mapping_files.sh
Shell
mit
4,235
#!/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}" # This protects against multiple targets copying the same framework dependency at the same time....
pkl728/ZombieInjection
Pods/Target Support Files/Pods-ZombieInjection/Pods-ZombieInjection-frameworks.sh
Shell
mit
5,662
#!/bin/bash teststrings=( "ROMEO" "JULIET" #Test +*| "ROMEO|JULIET" "R+" "R*" "R" "R+R*" "R*R+" "RR+" "RR*" "R+|J+" "(R|J)ULIET" "R*" #Test for the . wildcard "R..EO" "R..EO|...IET" "R..*" #Test for ranges "[a-b]" "[q-s]" "[0-9]" #Test for the \ sequence "\?" "\|" "\+" "\*" "\." "\.\?\|\+\*" #Random tests ".*\?" "t*...
bkase/CUDA-grep
testbench/runtests.sh
Shell
mit
1,005
#!/usr/bin/env bash # Copyright (c) 2018-2020 The Fujicoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C # Be aware that fujicoind and fujicoin-qt differ in terms of localization: Qt # opts in to...
fujicoin/fujicoin
test/lint/lint-locale-dependence.sh
Shell
mit
7,588
#!/bin/bash # Copyright (c) 2016 The Presidentielcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. set -e INPUTFILE="Xcode_7.3.1.dmg" HFSFILENAME="5.hfs" SDKDIR="Xcode.app/Contents/Developer/Platforms/MacOSX.pl...
presidentielcoin/presidentielcoin
contrib/macdeploy/extract-osx-sdk.sh
Shell
mit
1,212
#!/bin/sh # # Copyright (C) 2004, 2007, 2012, 2013 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 2000, 2001, 2003 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright ...
juneman/server-perf
isc-config.sh
Shell
mit
3,222
#! /bin/bash TOPIC_IMAGE=$1 OUTPUT=$2 OVERLAY_IMAGE="overlay.png" WINDOW_SIZE="258x169" # {w}x{h} WINDOW_OFFSET="+7+23" # +{x}+{y} if [ "$OUTPUT" = "" ]; then echo "Usage: $0 IMAGE OUTPUT" exit fi convert_cmd=" convert $TOPIC_IMAGE -resize $WINDOW_SIZE^ -gravity center -crop ...
pyvec/header-image-maker
overlay.sh
Shell
mit
546
#!/bin/bash # rgeomod # land-change prediction #TODO # user must specify whether spatially constrained - send this to a gis #NB: #1) very important! "outdir" permanently removes directory with this name #2) the extent and number of rows and columns must be identical between all input maps #3) the input to the minN...
albert-decatur/gis-utils
grass_modules/rgeomod.sh
Shell
mit
12,227
#!/bin/sh -evx cd /run/shm/ exec 2> ./init.log ### set the driver ### insmod /home/pi/RaspberryPiMouse/lib/Pi?B+/`uname -r`/rtmouse.ko sleep 1 chmod 666 /dev/rt* ### run the main script ### chmod a+x /home/pi/RPiM/201510/core/main.bash sudo -u pi /home/pi/RPiM/201510/core/main.bash > /dev/null 2> /dev/null &
ryuichiueda/RPiM
201510/robot.sh
Shell
mit
313
for i in $(seq 1 14); do cd $(printf C%02d ${i}); pdflatex $(printf C%02d.handout.tex ${i}); pdflatex $(printf C%02d.slides.tex ${i}); cd ..; done
spalladino/algoritmos-gcba
teoricas/compile.sh
Shell
mit
156
source $DOTFILES/functions/pathmunge export PATH="./bin:/usr/local/bin:/usr/local/sbin:$DOTFILES/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" pathmunge $HOME/.cask/bin after export PATH
nealerickson/dotfiles
system/_path.zsh
Shell
mit
235
#!/bin/bash export NODE_AUTH_TOKEN="${NPMJS_TOKEN}" make deps generate-primary rm -f ~/.npmrc && touch ~/.npmrc echo "Provisioning npm config..." echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc echo "registry=https://registry.npmjs.org/" >> ~/.npmrc echo "always-auth=true" >> ~/.npmrc make --env...
cliffano/swaggy-jenkins
.github/actions/publish-javascript-action/entrypoint.sh
Shell
mit
358
#!/bin/sh set -e cd Basic-Video-Chat/ pod install xcodebuild -workspace Basic-Video-Chat.xcworkspace -scheme Basic-Video-Chat -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -UseModernBuildSystem=NO cd ../Custom-Video-Driver/ pod install xcodebuild -workspace Custom-Video-Driver.xcworkspace -scheme Custom-Video-Driver -s...
opentok/opentok-ios-sdk-samples-swift
travis_build.sh
Shell
mit
1,329
#!/bin/bash export maintainer="Marcus Vinicius Ferreira <ferreira.mv@gmail.com>" export vendor="mv (http://about.me/ferreira.mv)" gem="chef" release='1.mv' ./fpm-install.sh $gem $release # vim:ft=sh:
mv/build-pkg
ruby-gems/chef.sh
Shell
mit
214
#/usr/bin/env bash # Compile lesscss into CSS and compress it lessc -x assets/screen.less assets/all.css rm -r assets/*.less
hepochen/misaka
docs/scripts/process_assets.sh
Shell
mit
126
#!/bin/bash -e # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # # This runs a simple integration test / scheduler benchmark. # D=$(dirname `readlink -f "$0"`) CONFIG_FILE="$1" FLAG="" i...
facebook/bistro
bistro/scripts/run_local_test.sh
Shell
mit
1,436
#!/bin/bash set -e mvn clean install || { echo "Build failed"; exit 1; } version=$( mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout ) echo Copying module analysis-model version ${version} to analysis-model-api-plugin Jenkins plugin cd ../analysis-model-ap...
jenkinsci/analysis-model
bin/go.sh
Shell
mit
391
# Sets reasonable macOS defaults. # # Or, in other words, set shit how I like in macOS. # # The original idea (and a couple settings) were grabbed from: # https://github.com/mathiasbynens/dotfiles/blob/master/.macos # # Run ./set-defaults.sh and you'll be good to go. # Skip if not on maxOS if test "$(uname)" != "Dar...
blacklab/dotfiles
macos/set-defaults.sh
Shell
mit
2,370
docker build -t webssh . docker run -p 80:80 -t -i webssh
Saberlion/docker-webssh
start.sh
Shell
mit
57
# bash/zsh Completion GIT support for PS1. if type -P tput &>/dev/null && tput setaf 1 &>/dev/null; then color_prompt=yes else color_prompt= fi # git status with a dirty flag function __git_status_flag { local git_status="$(git status 2> /dev/null)" local remote_pattern="^# Your branch is (.*) of" local...
comodinx/bash-utilities
scripts/git/ps1.bash
Shell
mit
1,826
#!/bin/bash echo "Waiting while php starts" while ! echo exit | nc -z php 9000; do echo "."; sleep 3; done echo "Starting cron" crontab /var/www/.mcloud/cron/crontab.txt @me ready in 3s cron -f
cravler/mcloud-packagist
.mcloud/cron/run.sh
Shell
mit
204
#!/bin/bash javac Main.java java Main $1 $2 $3
matheus-lima/trabalhosAPA
trabalho_01/src/script.sh
Shell
mit
47
sudo mongod --fork --logpath /var/log/mongod.log sudo redis-server /home/site/firstbytes/conf/redis.conf
firstbytes/firstbytes
scripts/bin/startup.sh
Shell
mit
105
#!/bin/bash gawk -F= '/^ID=/{print $2}' /etc/os-release > /home/id.txt serverbuild=$(cat /home/id.txt) #Certs need to .cer pem files which will be converted to .crt pem files for var in "$@" do curl -O $var done echo "Downloaded Certs" >> /home/test unzip '*.zip' echo "Unziped Certs" >> /home/test for f in *.cer do ...
manhof/common_scripts
cas.sh
Shell
mit
1,047
#!/bin/sh cd /home/tasks && celery worker -A tasks --config celeryconfig
SandStormHoldings/ScratchDocs
docker/py/celery.sh
Shell
mit
73
cd $(dirname $0)/../ kill -QUIT `cat tmp/pids/unicorn.pid` sleep 3 && ps aux | grep unicorn
atri-konami/gpm-sinatra
scripts/kill.sh
Shell
mit
93
run_lint(){ PYLINT_RC_PATH="../.pylintrc" LINT_FILE='lint-output.txt' LINT_LIMIT=7.5 echo "Running lint check using pylintrc ${PYLINT_RC_PATH}" git-pylint-commit-hook \ --pylintrc "${PYLINT_RC_PATH}" \ >"${LINT_FILE}" 2>&1 success=$? if [ $success -ne 0 ] then ec...
tesera/pygypsy
bin/pre-commit-functions.sh
Shell
mit
1,531
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH echo nvcc nvcc -O4 -c parallel.cu -o parallel.o echo g++ g++ -o parallel -L/usr/local/cuda/lib64 -lcuda -lcudart parallel.o echo running the program ./parallel resources/train-images.idx3-ubyte resources/train-labels.idx1-ubyte
MichaelPerdika/digitRecognitionNN
CUDA/start.sh
Shell
mit
283
#!/bin/sh xrandr --output LVDS-0 --mode 1920x1200 --output DVI-D-0 --mode 1920x1080 --right-of LVDS-0
DarkStarSword/junk
config/home/.i3/local/xps/sbs.sh
Shell
mit
103
#!/usr/bin/env bash rm -f contigs.log rm -rf out ../multiple_alignment.sh -d out -s RNA -- contigs.fa
AgriLifeGenomicsANDBioinformatics/Testing-SEQC
src/methods/multiple_alignment/main/main.sh
Shell
mit
103
#!/bin/bash protoc_path=$(which protoc) if [ ! -x "$protoc_path" ]; then echo "ERROR: Protobuf Compiler not found" exit 1 fi if [ ! -d "schema" ]; then echo "ERROR: Protobuf Schema not found" exit 1 fi mkdir -p py-sportsbook protoc --proto_path=schema --python_out=py-sportsbook schema/*.proto touch...
Cloudbet/schema
gen-python.sh
Shell
mit
348
#! ./testshell echo "You should be able to end this script by SIGQUIT, but not by SIGINT" trap : 2 trap 'echo SIGQUIT ; exit 1' 3 ./hardguy
redox-os/ion
sh-interrupt/test27.sh
Shell
mit
141
#!/bin/bash # switch to a new branch or tag, if no parameter given we switch to master # script needs to be executed in the root of a Nextcloud installation branch="master" fast_forward=true for i in "$@" do case $i in -u|--update) fast_forward=false ;; -h|--help) echo "" echo "Usage:...
schiessle/nextcloud-scripts
switchBranch/switchBranch.sh
Shell
mit
1,404
./browser.sh & node server.js # old # # restart the server # forever stop 0 # # rm ~/.forever/logfile.log # forever start -m 1 -l logfile.log server.js # # forever start -m 1 server.js # # forever logs 0 # # show the output # # tail -f ~/.forever/logfile.log
DomNomNom/ScriptCard
run.sh
Shell
mit
261
#!/bin/sh docker run -d --privileged --name openvpn-docker -p 1194:1194/udp -p 443:443/tcp vayan/dockvpn docker run -d -p 8080:8080 --name serve-config --volumes-from openvpn-docker vayan/dockvpn serveconfig
beeworking/voyant
scripts/setup-openvpn.sh
Shell
mit
209
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2015:0831 # # Security announcement date: 2015-04-16 18:54:40 UTC # Script generation date: 2016-05-12 18:12:55 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - openstack-packstack.noarch:2014.1.1-0.4...
Cyberwatch/cbw-security-fixes
Red_Hat_7/x86_64/2015/RHSA-2015:0831.sh
Shell
mit
1,240