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
# Copyright: 2015 Masatake YAMATO # License: GPL-2 . ../utils.sh if ${CTAGS} --quiet --options=NONE --list-features | grep -q afasdfasfasfsa; then echo else skip "example: no such feature" fi
masatake/ctags
Tmain/tmain-skip-example.d/run.sh
Shell
gpl-2.0
202
#/bin/bash # This program should compile paper.tex, a tex file assumed to be in # the current/working directory. And it should tar-gzip the entire # current directory (from the current directory) to a tgz file called # paper.tgz. It should then move the paper.tgz file to /tmp. #compile latex -interaction=batchmode ...
sm88/cs699
bash/work/forupload/Q1-simple/tex2pdf.sh
Shell
gpl-2.0
412
#!/bin/bash # DMTCP settings DMTCP_PATH="/home/research/artpol/sandbox" export PATH="$DMTCP_PATH/bin/:$PATH" export LD_LIBRARY_PATH="$DMTCP_PATH/lib:$LD_LIBRARY_PATH"
jiajuncao/dmtcp
plugin/batch-queue/test-suite/dmtcp_env.sh
Shell
lgpl-3.0
168
#!/usr/bin/env bash # Copyright 2018 gRPC 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 or ...
jtattermusch/grpc
tools/internal_ci/macos/grpc_ios_binary_size.sh
Shell
apache-2.0
1,195
#!/bin/sh # __BEGIN_LICENSE__ # Copyright (c) 2006-2013, United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. All # rights reserved. # # The NASA Vision Workbench is licensed under the Apache License, # Version 2.0 (the "License"); you may not use thi...
DougFirErickson/visionworkbench
scripts/create-test.sh
Shell
apache-2.0
2,574
#!/bin/bash # Copyright 2016 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 ...
pwittrock/reference-docs
vendor/k8s.io/kubernetes/hack/make-rules/test-cmd-util.sh
Shell
apache-2.0
252,672
#!/usr/bin/env sh rootfolder=/nfs/hn46/xiaolonw/cnncode/caffe-3dnormal_local GLOG_logtostderr=1 $rootfolder/build/examples/3dnormal/convert_normal_test.bin /nfs/ladoga_no_backups/users/xiaolonw/seg_cls/sliding_window/images_test/ /nfs/ladoga_no_backups/users/xiaolonw/seg_cls/sliding_window/testLabels_ran.txt /nfs/la...
xiaolonw/caffe-3dnormal_joint_past
scripts/3dnormal_win_cls_denoise_fc2/convert_3dnormal_test_ran.sh
Shell
bsd-2-clause
413
######################################################################## # Tests for xtrabackup --print-param ######################################################################## my_cnf="[mysqld] datadir=/some/data/dir tmpdir=/some/tmp/dir1:/some/tmp/dir2 innodb_data_home_dir=/some/innodb/dir innodb_data_file_path...
tplavcic/percona-xtrabackup
storage/innobase/xtrabackup/test/t/xb_print_param.sh
Shell
gpl-2.0
1,552
#!/bin/bash cat coverage/lcov.info | ./node_modules/.bin/coveralls echo '' # reset exit code -- failure to post coverage shouldn't be an error.
klausw/dygraphs
scripts/post-coverage.sh
Shell
mit
146
#!/bin/bash echo "This script builds docs on Peter's Orocos tree 1a. expects a directory build/orocos-rtt-VERSION and build/orocos-rtt-VERSION/build 1b. OR if version is 'latest' , do fresh check out from trunk 3. make docs in build 4. tar the result 5. copy over all the doc-tar files 6. extract and move files on ser...
smits/rtt
tools/scripts/release-docs.sh
Shell
gpl-2.0
5,075
#!/bin/bash fw_installed ffead-cpp-nginx-postgresql && return 0 fw_depends postgresql fw_depends ffead-cpp-unixodbc fw_depends ffead-cpp-mongocdriver fw_depends ffead-cpp-nginx cd ${IROOT}/ffead-cpp-src/ cp -f web/te-benchmark/sql-src/TeBkWorldsql.h web/te-benchmark/include/TeBkWorld.h cp -f web/te-benchmark/sql-src...
saturday06/FrameworkBenchmarks
toolset/setup/linux/frameworks/ffead-cpp-nginx-postgresql.sh
Shell
bsd-3-clause
951
#! /bin/bash # BuildTarget: images/plus.png set -e cp $GAFFER_ROOT/graphics/plus.png images
andrewkaufman/gaffer
doc/source/WorkingWithTheNodeGraph/TutorialUsingTheOSLCodeNode/generate.sh
Shell
bsd-3-clause
94
docker run --rm --privileged=true -p 9200:9200 -p 9300:9300 -v "$PWD/etc:/usr/share/elasticsearch/config" -e ES_JAVA_OPTS='-Xms1g -Xmx1g' elasticsearch:5.2.1 elasticsearch
devops-israel/delete-aws-es-incidents
vendor/gopkg.in/olivere/elastic.v5/run-es-5.2.1.sh
Shell
mit
172
#!/bin/bash # file=$1 [ -f $file ] || exit 1 root=${file%.rl} # Get the machine name. machine=`sed -n 's/^[\t ]*machine[\t ]*\([a-zA-Z_0-9]*\)[\t ]*;[\t ]*$/\1/p' $file` # Make a temporary version of the test case using the Java language translations. sed -n '/\/\*/,/\*\//d;p' $file | txl -q stdin langtrans_go.txl...
kaostao/ragel
test/langtrans_go.sh
Shell
gpl-2.0
1,867
#!/usr/bin/env bash set_variables () { while true do read -p "Input Email: " EMAIL regex="^[a-z0-9!#\$%&'*+/=?^_\`{|}~-]+(\.[a-z0-9!#$%&'*+/=?^_\`{|}~-]+)*@([a-z0-9]([a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]([a-z0-9-]*[a-z0-9])?\$"; if [[ "$EMAIL" =~ $regex ]] then export BITPAY_EMAIL=$EMAIL break else...
oliverds/openclassifieds2
oc/vendor/bitpay/vendor/bitpay/php-client/integration_tests.sh
Shell
gpl-3.0
2,086
find ./src/main/webapp/js/src -name "*.spec.js" | xargs node_modules/mocha/bin/mocha
zhx828/cbioportal
portal/runSpecJS.sh
Shell
agpl-3.0
85
#!/bin/bash mkdir -p "$PREFIX/bin" export MACHTYPE=x86_64 export BINDIR=$(pwd)/bin export L="${LDFLAGS}" mkdir -p "$BINDIR" (cd kent/src/lib && make) (cd kent/src/htslib && make) (cd kent/src/jkOwnLib && make) (cd kent/src/hg/lib && make) (cd kent/src/hg/utils/bedToPsl && make) cp bin/bedToPsl "$PREFIX/bin" chmod +x "$...
ostrokach/bioconda-recipes
recipes/ucsc-bedtopsl/build.sh
Shell
mit
341
#! /bin/sh # sh tty.sh tty.c # This inserts all the needed #ifdefs for IF{} statements # and generates tty.c # # Stupid cpp on A/UX barfs on ``#if defined(FOO) && FOO < 17'' when # FOO is undefined. Reported by Robert C. Tindall (rtindall@uidaho.edu) # rm -f $1 sed -e '1,26d' \ -e 's%^IF{\([^}]*\)}\(.*\)%#if defined(...
delphinus35/screen
src/tty.sh
Shell
gpl-3.0
39,179
HOSTNAME=`ifconfig eth1|grep 'inet addr'|cut -d ":" -f2|cut -d " " -f1` if [ not $HOSTNAME ] ; then HOSTNAME=`ifconfig eth0|grep 'inet addr'|cut -d ":" -f2|cut -d " " -f1` fi hostname $HOSTNAME chef-server-ctl reconfigure
deasmi/terraform-provider-libvirt
vendor/github.com/mitchellh/packer/examples/alicloud/chef/user_data.sh
Shell
apache-2.0
227
#!/bin/bash # Copyright 2016 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 required...
chiradeep/contrib
micro-demos/services/split1_scale.sh
Shell
apache-2.0
1,396
# # Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. # 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 Softwar...
stain/jdk8u
test/java/lang/instrument/appendToClassLoaderSearch/ClassUnloadTest.sh
Shell
gpl-2.0
2,604
function _rails_command () { if [ -e "bin/rails" ]; then bin/rails $@ elif [ -e "script/rails" ]; then ruby script/rails $@ elif [ -e "script/server" ]; then ruby script/$@ else command rails $@ fi } function _rake_command () { if [ -e "bin/rake" ]; then bin/rake $@ else command r...
Techwolf12/dotfiles
zsh/oh-my-zsh/plugins/rails/rails.plugin.zsh
Shell
gpl-2.0
1,658
#!/bin/sh # # Copyright (c) 2006 Junio C Hamano # test_description='git grep various. ' . ./test-lib.sh cat >hello.c <<EOF #include <stdio.h> int main(int argc, const char **argv) { printf("Hello world.\n"); return 0; /* char ?? */ } EOF test_expect_success setup ' { echo foo mmap bar echo foo_mmap bar ec...
IsCoolEntertainment/debpkg_git
t/t7810-grep.sh
Shell
gpl-2.0
28,036
#!/bin/sh if test $# = 1 ; then ORIGINAL=$1 else echo "Usage: update.sh /path/to/libcharset" 1>&2 exit 1 fi if test -f $ORIGINAL/lib/localcharset.c ; then : ; else echo "Usage: update.sh /path/to/libcharset" 1>&2 exit 1 fi VERSION=`grep VERSION= $ORIGINAL/configure.ac | sed s/VERSION=//` for i in localch...
xbmc/atv2
xbmc/lib/libmms/glib-2.20.4/glib/libcharset/update.sh
Shell
gpl-2.0
646
#!/bin/bash # # This installs OpenVPN plus certificates. # Resulting client config files in CFG_VPN_CONF from config # #set -x cd $(dirname $0) . ../etc/common.sh # # get the IPv4 address of the interface with the default route # function get_external_ipv4 () { # try to get an external address first # "Your IP ...
rschmied/sb-bootstrap
stages/04-openvpn.sh
Shell
isc
6,891
#!/bin/sh xrandr --output VIRTUAL1 --off --output eDP1 --mode 1440x900 --pos 1200x1080 --rotate normal --output DP1 --off --output HDMI2 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP2 --off
markwkm/dotfiles
misc/mbp11,1/xrandr/home-2hdmi.sh
Shell
mit
260
#!bin/bash echo Welcome to Love Shader Converter, echo this file needs to be executed from the same directory as the EXE. echo echo Please enter the shader file: read file_name ./LoveShaderConverter $file_name
tsteinholz/LoveShaderConverter
scripts/LoveShaderConverter.sh
Shell
mit
210
#!/bin/bash # # Example of commands to process multi-parametric data of the spinal cord. # # Please note that this batch script has a lot of redundancy and should not # be used as a pipeline for regular processing. For example, there is no need # to process both t1 and t2 to extract CSA values. # # For information abou...
neuropoly/spinalcordtoolbox
batch_processing.sh
Shell
mit
15,689
#!/bin/bash DWL_USER_DNS_CONF="${conf}"; DWL_USER_DNS_DATA="`echo ${DWL_USER_DNS_CONF} | awk -F '[/]' '{print $5}' | sed "s|\.conf||g"`"; if [[ ! ("${DWL_USER_DNS_DATA}" =~ ^[0-9X]+_[a-z.-]+_[0-9]+) ]]; then continue; fi DWL_USER_DNS="`echo ${DWL_USER_DNS_DATA} | awk -F '[_]' '{print $2}'`"; DWL_USER_DNS_PORT="...
davask/d-apache
build/dwl/vhost-env.sh
Shell
mit
561
#!/usr/bin/env sh webpack -p && for file in spec/es6/*.es6.js do out=spec/build/$(basename $file .es6.js).js ./node_modules/.bin/regenerator $file >$out done && ./node_modules/.bin/jasmine-node spec
AppliedMathematicsANU/plexus-csp
test.sh
Shell
mit
209
#!/bin/bash # 2016 ROBERT WOLTERMAN (xtacocorex) # WITH HELP FROM CHIP-hwtest/battery.sh # MIT LICENSE, SEE LICENSE FILE # LOGGING HAT-TIP TO http://urbanautomaton.com/blog/2014/09/09/redirecting-bash-script-output-to-syslog/ # THIS NEEDS TO BE RUN AS ROOT # PROBABLY SET AS A CRON JOB EVERY 5 OR 10 MINUTES # SIMPL...
xtacocorex/chip_batt_autoshutdown
chip_autoshutdown.sh
Shell
mit
2,301
#!/bin/bash if ! [ -e "/cfg/stunnel.conf" ]; then echo "Error: file /cfg/$file is missing" exit 1 fi if touch /cfg/test.file 2>/dev/null; then echo "Error: /cfg should be mounted read-only" exit 1 fi exec /usr/bin/stunnel4 /cfg/stunnel.conf
shaneoc/dockerfiles
images/stunnel/start.sh
Shell
mit
260
sudo apt-get update sudo apt-get install ubuntu-desktop # JAVA JDK sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt install oracle-java8-set-default # MAVEN sudo apt-get install maven # Netbeans 8.2 s...
krandalf75/linux-utils
dev-install.sh
Shell
mit
516
#!/bin/bash # # [!] Required fix for s3cmd 1.5.0 on OS X # echo " => Creating symlink for python to as 'python2' from 'python2.7'" if [ -x '/usr/bin/python2' ] ; then echo " (i) /usr/bin/python2 already exists and executable - no fix needed" exit 0 fi echo " (i) No /usr/bin/python2 executable found - creating sym...
bazscsa/steps-amazon-s3-deploy
__s3cmd_osx_fix.sh
Shell
mit
387
mkdir -p ~/Library/Application\ Support/XamarinStudio-6.0/LocalInstall/Addins rm ~/Library/Application\ Support/XamarinStudio-6.0/LocalInstall/Addins/unity-mimetypes.dll cp -p bin/Debug/unity-mimetypes.dll ~/Library/Application\ Support/XamarinStudio-6.0/LocalInstall/Addins/ ls -l ~/Library/Application\ Support/Xamarin...
jools-adams/monodevelop-unity-mimetypes
install.sh
Shell
mit
352
#!/usr/bin/env bash # cd /home/gpu/db/Dropbox/dev2/cpp/gpgpu/Data-Science-PyCUDA-GPU/docker nvidia-docker run -it -p 5555:5555 -p 7842:7842 -p 8787:8787 -p 8786:8786 -p 8788:8788 -v ~/dev/:/root/sharedfolder quantscientist/pycuda bash
QuantScientist/Deep-Learning-Boot-Camp
docker/run_docker_gpu.sh
Shell
mit
237
# Usage: # # $ brew update # You should execute this first to update everything locally. # # $ brew-cask.sh [update] # This will list all of your cask packages and rather there is an upgrade # pending with a ✔ checkmark, just like Homebrew does with "brew update". # The update command is optional, as it d...
rm-hull/dotfiles
bin/brew-cask.sh
Shell
mit
1,706
#!/bin/sh whiptail --title "Example Dialog" --msgbox "This is an example of a message box. You must hit OK to continue." 8 78
jeremiedecock/snippets
shell/whiptail/message_box.sh
Shell
mit
127
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-MacOSX CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=dylib NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/passwordma...
DanielWieczorek/PasswordManager
nbproject/Package-Release.bash
Shell
mit
1,493
################################################################################ # https://github.com/relsqui/doily # # (c) 2017 YOUR NAME HERE # You are free to use, copy, modify, etc. this by the terms of the MIT license. # See included LICENSE.txt for details. ########################################################...
relsqui/doily
plugins/word_count.sh
Shell
mit
3,174
#!/bin/bash # Author: Yunkai Cui # License: LICENSE # Description: # This script is used to setup a python development environment in vim # Run the script by: # $: ./vimsetup.sh [options] # options: # -c Compile with llvm to have c family language auto completion support # Get vundle mkdir -p ~/.vim/bundle/ git clone...
princeedward/vim_python_setup
vimsetup.sh
Shell
mit
1,173
#!/bin/bash docker build -t local/meshblu-benchmark . && \ docker run \ --rm \ --publish 80:80 \ --env MESHBLU_SERVER=172.17.8.1 \ --env MESHBLU_PORT=3000 \ local/meshblu-benchmark \ message-webhook \ --host 172.17.8.101 \ --port 80 \ --number-of-times 100
octoblu/meshblu-benchmark
run.sh
Shell
mit
310
#!/usr/bin/env bash set -euo pipefail ./bin/install-phpunit-9.sh ./bin/install-phpcs.sh
exercism/xphp
bin/install.sh
Shell
mit
90
########################### ### BOOTSTRAP FUNCTIONS ### ########################### System.Bootstrap(){ local file local path for file in "$__oo__libPath"/system/*.sh do path="$(File.GetAbsolutePath "$file")" __oo__importedFiles+=( "$path" ) ## note: aliases are visible inside ...
mikelane/bash-oo-framework
lib/oo-framework.sh
Shell
mit
1,740
#!/bin/sh SERVICEFILE=./service-info.txt SRC=$(sed '5q;d' $SERVICEFILE) echo "Setting up project:" echo " * installing local dependencies: (cd $SRC && npm install && bower install)" sudo npm install ember-cli -g (cd $SRC && npm install && bower install --allow-root)
DURAARK/workbench-ui
_devops/setup.sh
Shell
mit
271
#!/usr/bin/env bash IFS=":" read -r previous current < <(git tag --sort 'version:refname' | tail -n2 | paste -sd':' -) ROOT_DIR="$(git rev-parse --show-toplevel)" npx ts-node "${ROOT_DIR}/bin/gen-changelog.ts" --from "${previous}" --to "${current}"
unbounce/iidy
bin/gen-changelog.sh
Shell
mit
249
#!/bin/bash cmd="psql template1 --tuples-only --command \"select count(*) from pg_database where datname = 'rugby';\"" db_exists=`eval $cmd` if [ $db_exists -eq 0 ] ; then cmd="createdb rugby;" eval $cmd fi psql rugby -f schema/create_schema.sql mkdir /tmp/data cp csv/*.csv /tmp/data #dos2unix /tmp/data/* ...
octonion/rugby
pro14/scripts/load.sh
Shell
mit
533
#!/bin/bash set -o pipefail -e config_dir=${1-/etc/nginx/conf.d} mysql_host=${2-localhost} mysql_database=${3-keitaro} echo "Using $config_dir directory for searching configs" cd "$config_dir/" || return # Searching for configs generated by enable-ssl grep -l "enable-ssl" -- *.conf \ | sed 's/.conf//g' \ > doma...
keitarocorp/centos_provision
scripts/prune-ssl.sh
Shell
mit
1,408
#!/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...
eligreg/ExhibitionSwift
Example/Pods/Target Support Files/Pods-ExhibitionSwift_Example/Pods-ExhibitionSwift_Example-frameworks.sh
Shell
mit
3,637
#!/usr/bin/env bash echo "Don't know how to automate this (creds), so here are the instructions:" echo "" echo "cut a github release, checkout that tag locally" echo "" echo "use berkshelf to vendor a clean version of the cookbook, and update to supermarket" echo "" echo "berks vendor cookbooks" echo 'knife cookbook...
nareynolds/vagrant-chef-solo-anaconda3
cookbooks/anaconda/script/release-to-supermarket.sh
Shell
mit
612
# -*- shell-script -*- # "set autolist" debugger command # # Copyright (C) 2010-2011, 2016 Rocky Bernstein <rocky@gnu.org> # # 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 versio...
rogalmic/vscode-bash-debug
bashdb_dir/command/set_sub/autolist.sh
Shell
mit
1,481
# src/bash/pgsql-runner/funcs/print-usage.test.sh # v1.0.9 # --------------------------------------------------------- # todo: add doTestPrintUsage comments ... # --------------------------------------------------------- doTestPrintUsage(){ doLog "DEBUG START doTestPrintUsage" cat doc/txt/pgsql-runner/tests/print...
YordanGeorgiev/pgsql-runner
src/bash/pgsql-runner/tests/print-usage.test.sh
Shell
mit
525
#!/usr/bin/env bash git filter-branch -f --env-filter " GIT_AUTHOR_NAME='David Qu' GIT_AUTHOR_EMAIL='davidqu12345@gmail.com' GIT_COMMITTER_NAME='David Qu' GIT_COMMITTER_EMAIL='davidqu12345@gmail.com' " HEAD
dqu123/RoboTrike
set_all_commit_authors.sh
Shell
mit
225
#!/bin/bash yarn --cwd packages/next/bundles cp packages/next/bundles/node_modules/webpack5/lib/hmr/HotModuleReplacement.runtime.js packages/next/bundles/webpack/packages/ cp packages/next/bundles/node_modules/webpack5/lib/hmr/JavascriptHotModuleReplacement.runtime.js packages/next/bundles/webpack/packages/ yarn --cwd...
flybayer/next.js
check-pre-compiled.sh
Shell
mit
558
#!/usr/bin/env bash # # BespokeView Consulting, Inc. # <ryan@bespokeview.com> # # git@github.com:ryanjohnston/dotfiles.git cd "$(dirname "$0")/.." DOTFILES_ROOT=$(pwd -P) POWERLINE_ROOT="/usr/local/lib/python2.7/site-packages" set -e echo '' source script/common.sh if [ "$(uname -s)" == "Darwin" ] then if [ -d ...
ryanjohnston/dotfiles
script/powerline.sh
Shell
mit
538
#!/bin/bash # LinuxGSM command_dev_detect_deps.sh function # Author: Daniel Gibbs # Website: https://linuxgsm.com # Description: Detects dependencies the server binary requires. commandname="DEV-DETECT-DEPS" commandaction="Developer detect deps" functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_fi...
dgibbs64/linuxgsm
lgsm/functions/command_dev_detect_deps.sh
Shell
mit
9,284
autoload colors && colors # cheers, @ehrenmurdick # http://github.com/ehrenmurdick/config/blob/master/zsh/prompt.zsh git_branch() { echo $(/usr/bin/git symbolic-ref HEAD 2>/dev/null | awk -F/ {'print $NF'}) } git_dirty() { if $(! /usr/bin/git status -s &> /dev/null) then echo "" else if [[ $(/usr/bin/...
Crunch09/dotfiles
zsh/prompt.zsh
Shell
mit
1,832
#!/bin/bash FUNCTIONFILES="/opt/bag-of-bash/bash-template/function-files.list" SCRIPTFOOTER="/opt/bag-of-bash/bash-template/bash.footer" SCRIPT="${1}" if [ -z "${1}" ]; then read -p "Enter new script name:" SCRIPT fi if [ ! -f "${SCRIPT}" ]; then echo "INFO: Creating ${SCRIPT}" 1>&2 cat > "${SCRIPT}" <<HERE #!/bi...
ZLightning/bag-of-bash
bash-template/new-bash-script.sh
Shell
mit
2,794
#!/bin/bash sudo apt-get update sudo apt-get install -f sudo apt-get install python-setuptools python-numpy python-scipy python-matplotlib python-pip -y sudo pip install numpy scipy matplotlib scikit-learn luminol -y
alonecoder1337/Dos-Attack-Detection-using-Machine-Learning
install.sh
Shell
mit
218
OSTYPE=`uname` # Easier navigation: .., ..., ...., ....., ~ and - alias ..2='cd ../..' alias ..3='cd ../../..' alias ..4='cd ../../../..' # One of @janmoesen’s ProTip™s for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do alias "$method"="lwp-request -m '$method'" done # Detect which `ls` flavor is in use # ...
weitingchou/dotfiles
init/oh-my-zsh/custom/aliases.zsh
Shell
mit
2,495
#!/bin/bash python RunSimulation.py --Geo 100.0 --sim_num 41
xji3/IGCCodonSimulation
ShFiles/YDR418W_YEL054C_IGCgeo_100.0_sim_41.sh
Shell
mit
61
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-3060-1 # # Security announcement date: 2016-08-10 00:00:00 UTC # Script generation date: 2017-01-01 21:05:34 UTC # # Operating System: Ubuntu 16.04 LTS # Architecture: i386 # # Vulnerable packages fix on version: # - libgd3:2.1.1-4ubuntu0.16.04.3 # # Last...
Cyberwatch/cbw-security-fixes
Ubuntu_16.04_LTS/i386/2016/USN-3060-1.sh
Shell
mit
672
sudo journalctl -ru status-io
coderaiser/status-io
service/log.sh
Shell
mit
31
# Set other ENV variables export EDITOR=vim export VISUAL=vim export PAGER=less if [[ -z "$LANG" ]]; then export LANG='en_US.UTF-8' fi # Need this to sign things export GPG_TTY=`tty`
openfirmware/dotfiles
user/env.zsh
Shell
mit
187
#!/bin/sh # Copyright (C) 1999-2004 Hallvar Helleseth (hallvar@ii.uib.no) # # 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...
burzumishi/e16
sample-scripts/lcdmover.sh
Shell
mit
2,043
#!/bin/bash usage="Usage: $0 <path-to-binary> <path-to-input-test-dir>" default="\e[0m" green="\e[0;32m" red="\e[0;31m" msg_fail="FAIL" msg_pass="PASS" msg_fail_con=$red$msg_fail$default msg_pass_con=$green$msg_pass$default TEST_STATUS=0 # Check number of parameters if [[ "$#" -ne 2 ]]; then echo $usage exit 1 fi ...
CS4098/GroupProject
test-suite/runner-translator.sh
Shell
mit
3,258
gcc -c *.c ar rc libft.a *.o
ayip001/42
piscine/d06/ex00/libft_creator.sh
Shell
mit
29
#!/bin/bash # The MIT License (MIT) # # Copyright (c) 2015 Southern Nazarene University Computer Science/Network Engineering Department # # 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 wi...
snucsne/CSNE-Course-Source-Code
CSNE3673-Net-Admin-I/video-examples/utilities.sh
Shell
mit
4,947
#!/bin/bash declare -i sum=0 for i in {1..999}; do { echo $i | grep -E "*[05]$" || factor $i | grep -P "\d+:(\s\d)*(\s[35])(\s\d*)*$"; } > /dev/null && sum=$(( $sum + $i )) done echo "$sum"
HackspaceJena/project-euler
e0001/euler0001.bash
Shell
mit
211
script_dir=$(dirname "$(readlink -f "$0")") export KB_DEPLOYMENT_CONFIG=$script_dir/../deploy.cfg WD=/kb/module/work if [ -f $WD/token ]; then cat $WD/token | xargs sh $script_dir/../bin/run_kb_util_dylan_async_job.sh $WD/input.json $WD/output.json else echo "File $WD/token doesn't exist, aborting." exit 1 ...
dcchivian/kb_util_dylan
scripts/run_async.sh
Shell
mit
323
#!/bin/sh #set -x #set -e ifconfig #echo "Enter device name > " #read device export device=$(ls /sys/class/net | grep -E 'enx') # bring the USB virtual Ethernet interface up #sudo /sbin/ip link set usb0 up sudo /sbin/ip link set $device up # set the host IP address #sudo /sbin/ip addr add 10.0.0.2/24 dev usb0 sudo /...
daneflash/badusb
Host-Content/connectionSetup.sh
Shell
mit
679
#!/bin/sh #set -x d=${MOSAIC_BINDIR} # MOSAIC_BINDIR can be set in /etc/launchd.conf when using launch agents. if [ -z "${d}" ] ; then if [ -f ${PWD}/AppGridLeft ] ; then d=${PWD} else d=${PWD}/../ fi fi bindir=${d} # see /etc/launchd.conf and http://www.dowdandassociates.com/blog/content/...
HellicarAndLewis/Mosaic
install/mac-clang-x86_64/bin/scripts/preprocess_right_grid.sh
Shell
mit
2,078
#!/bin/bash # Font Awesome (version 4.7.0, 675 icons, 111 aliases) # Codepoints: F000-F2E0 with holes test -n "$__i_fa_loaded" && return || __i_fa_loaded=1 i='' i_fa_glass=$i i='' i_fa_music=$i i='' i_fa_search=$i i='' i_fa_envelope_o=$i i='' i_fa_heart=$i i='' i_fa_star=$i i='' i_fa_star_o=$i i='' i_fa_user=$i...
goude/runcom
utils/nerd-fonts-scripts/i_fa.sh
Shell
mit
22,018
#!/bin/bash # Encrypts backups and sends them to remote #function usage { # printf "%s\n" "To use:" # printf "%s %s\n" "Setup:" "$0 setup /path/to/private.key" # printf "%s %s\n" "Encrypt a file:" "$0 encrypt key.pub.pem filename" # printf "%s %s\n" "Decrypt a file:" "$0 encrypt key.pem filename" #} f...
denise-lhirondelle/enc-backup.sh
enc-backup.sh
Shell
mit
12,752
#!/bin/sh nohup ./run.sh &
fitGroup/Guide-Rock-server
run-in-bg.sh
Shell
mit
27
#!/bin/bash # # This script will install Travis test dependencies. # function travis_unittest() { # Install general build dependencies cd $CACHED_FOLDER if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source $TRAVIS_BUILD_DIR/tools/linux-install-deps.sh -y -u -x -s else # Does not install...
woutdenolf/spectrocrunch
ci/travis-install-deps.sh
Shell
mit
1,268
#!/bin/sh # # deal.II # http://www.dealii.org/ module load openblas module load lapack module load suitesparse module load trilinos-serial source ./helper.sh $* set_stage_dl https://github.com/dealii/dealii/releases/download/v8.2.1/dealii-8.2.1.tar.gz # Build shared libraries mkdir build_shared cd build_shared cmak...
cornell-cs5220-f15/totient-pkg
configs/dealii.sh
Shell
mit
514
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2010:0839 # # Security announcement date: 2010-11-09 18:11:07 UTC # Script generation date: 2017-01-01 21:12:52 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - kernel-doc.noarch:2.6.18-194.26.1.el5 #...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2010/RHSA-2010:0839.sh
Shell
mit
2,320
sudo docker build -t dckreg:5000/kube-proxy-amd64:v1.5.2 . sudo docker push dckreg:5000/kube-proxy-amd64:v1.5.2
reza-rahim/microservice
ansible/provision/docker/kube-proxy/build.sh
Shell
mit
113
p=`pwd` echo "clone coreos-vagrant via go get..." go get github.com/coreos/coreos-vagrant echo "cp setting files..." cp -f ./config.rb $GOPATH/src/github.com/coreos/coreos-vagrant/ cp -f ./user-data.yml $GOPATH/src/github.com/coreos/coreos-vagrant/user-data echo "up vms..." cd $GOPATH/src/github.com/coreos/coreos-va...
ntk1000/microservice-sandbox
infra/coreos/coreos-vagrant-setup.sh
Shell
mit
482
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2968-1 # # Security announcement date: 2014-06-27 00:00:00 UTC # Script generation date: 2017-01-01 21:06:58 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: i386 # # Vulnerable packages fix on version: # - gnupg2:2.0.19-2+deb7u2 # - gnupg-ag...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/i386/2014/DSA-2968-1.sh
Shell
mit
990
#!/bin/bash pushd .. . setenv.sh popd logs_dir="./logs" mkdir -p "$logs_dir" ts=$(date +%Y%m%d-%H%M%S) gclog_options="-Xloggc:$logs_dir/gc-$ts.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps" heap_options="-Xms1g -Xmx2g" #heap_options="-Xms25m -Xmx50m" # try this if you dare logging_options="-Djava.util.logging.config....
arnauldvm/jpt-exercises
apps/app01/runserver.sh
Shell
mit
664
#/bin/bash ## ## File: i386_qemu_floppy.sh ## ## Author: Schuyler Martin <sam8050@rit.edu> ## ## Description: Wrapper script that starts a QEMU VM that emulates an i386 ## computer and loads SeeGOL via a floppy image ## # -i386 is the closest we can get to a pure 8080 or 8088 emulation # -vga std Defa...
schuylermartin45/seegol
tools/i386_qemu_floppy.sh
Shell
mit
534
#!/bin/bash # # A script to run Drupal VM functional tests. # Set defaults if they're not set upstream. CONFIG="${CONFIG:-tests/config.yml}" MAKEFILE="${MAKEFILE:-example.drupal.make.yml}" COMPOSERFILE="${COMPOSERFILE:-example.drupal.composer.json}" HOSTNAME="${HOSTNAME:-drupalvm.test}" MACHINE_NAME="${MACHINE_NAME:-d...
thom8/drupal-vm
tests/run-tests.sh
Shell
mit
6,142
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3263-1 # # Security announcement date: 2015-05-19 00:00:00 UTC # Script generation date: 2017-01-01 21:07:23 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: i386 # # Vulnerable packages fix on version: # - proftpd-dfsg:1.3.4a-5+deb7u3 # - pr...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/i386/2015/DSA-3263-1.sh
Shell
mit
1,803
#!/bin/bash # A script to build shared and static versions of the Lapack libraries: # 1. Assumes the NETLIB source archive lapack-$LPVER.tar.gz is present # 2. Under directory lapack-$LPVER, make.inc.example, SRC/Makefile and # BLAS/SRC/Makefile are modified with lapack-$LPVER.patch alias cp=cp MAKE_OPTS="-j 6...
robertgj/DesignOfIIRFilters
benchmark/build-lapack.sh
Shell
mit
4,638
#!/bin/bash rm -f *.log *.dump &> /dev/null
Zubax/zubax_chibios
tools/bootloader_stress_test/cleanup.sh
Shell
mit
45
wget -P /tmp http://dev.mysql.com/get/mysql-apt-config_0.5.3-1_all.deb sudo debconf-set-selections <<< 'mysql-apt-config mysql-apt-config/select-router select none' sudo debconf-set-selections <<< 'mysql-apt-config mysql-apt-config/select-connector-python select none' sudo debconf-set-selections <<< 'mysql-apt-config ...
adiachenko/catchy_dev
.provision/1_mysql.sh
Shell
mit
2,417
############################################################################### # Copyright (c) 2000-2017 Ericsson Telecom AB # 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...
BotondBaranyi/titan.core
function_test/Config_Parser/end_script.sh
Shell
epl-1.0
585
#!/bin/bash echo "------------------------------------------" echo "COM.INST.CODECOMMENT" echo "Fichier OK de TU" echo "------------------------------------------" # Ce script fonctionne dans les environnements SunOS, Solaris, HP-UX et Linux (bash ou ksh). # Il réalise la fonction d'affichage de sa propre taille. # ...
dupuisa/i-CodeCNES
shell-rules/src/test/resources/COM/INST/CodeComment/noError.sh
Shell
epl-1.0
748
#!/usr/bin/perl # main.command # AutoExifMover # Created by Pierre Andrews on 01/07/2007. # Copyright 2007-2008 Pierre Andrews. All rights reserved. # 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 Softw...
Mortimerp9/MetaDataMover
main.command
Shell
gpl-2.0
3,669
#!/bin/sh LD_LIBRARY_PATH=. gdb ./OPKManager
theZiz/OPKManager
OPKManager_debug.sh
Shell
gpl-2.0
45
#!/bin/sh . test.definitions.sh echo " Finding matches."; for SPACE in 0 1 do for CORNER_CASE in 0 1 do NUM=`expr $CORNER_CASE \\* 2`; NUM=`expr $NUM + $SPACE`; case $NUM in 0) OUTPUT_ID=$OUTPUT_ID_NT; REF_ID=$OUTPUT_ID; ;; 1) OUTPUT_ID=$OUTPUT_ID_CS; REF_ID=$OUTPUT_ID; ;; 2) OUTPUT...
nh13/BFAST
tests/test.match.sh
Shell
gpl-2.0
982
# export AWS_ACCESS_KEY="Your-Access-Key" # export AWS_SECRET_KEY="Your-Secret-Key" today=`date +"%d-%m-%Y","%T"` logfile="/awslog/ec2-access.log" # Grab all Security Groups IDs for DISALLOW action and export the IDs to a text file sudo aws ec2 describe-security-groups --filters Name=tag:close-allports-time,Values=08...
STARTSPACE/aws-access-to-ec2-by-timetable
all/disallow-ad/all-disallow-ad-08.sh
Shell
gpl-2.0
817
#!/bin/sh # # automatic regression test for ffmpeg # # #set -x # Even in the 21st century some diffs do not support -u. diff -u "$0" "$0" > /dev/null 2>&1 if [ $? -eq 0 ]; then diff_cmd="diff -u" else diff_cmd="diff" fi diff -w "$0" "$0" > /dev/null 2>&1 if [ $? -eq 0 ]; then diff_cmd="$diff_cmd -w" fi set -e ...
paulcbetts/yikes
ext/ffmpeg/tests/regression.sh
Shell
gpl-2.0
17,918
#!/bin/sh xgettext --language=Glade -o po/gnome-modem-manager.pot gnome-modem-manager.ui msgmerge po/gnome-modem-manager-ru_RU.po po/gnome-modem-manager.pot > /tmp/ru_RU.po mv /tmp/ru_RU.po po/gnome-modem-manager-ru_RU.po msgmerge po/gnome-modem-manager-ua_UA.po po/gnome-modem-manager.pot > /tmp/ua_UA.po mv /tmp/ua_UA....
KivApple/Gnome-Modem-Manager
update-locale.sh
Shell
gpl-2.0
355
#!/bin/sh ## ## Mount kernel filesystems and Create initial devices. ## PATH=/usr/bin:/usr/sbin:/bin:/sbin mount -t proc -o nodev,noexec,nosuid proc /proc [ -e /dev/console ] || mknod -m 0600 /dev/console c 5 1 [ -e /dev/null ] || mknod -m 0666 /dev/null c 1 3 . /lib/onie/functions # Set console logging to show K...
ahedlund/onie
rootconf/default/etc/init.d/makedev.sh
Shell
gpl-2.0
2,904
#!/bin/bash # Set package versions SVN_VERSION=1.10.0 APR_VERSION=1.6.3 APR_UTIL_VERSION=1.6.1 SERF_VERSION=1.3.9 SCONS_LOCAL_VERSION=2.3.0 # Set install path PREFIX=/pds/opt/subversion-$SVN_VERSION-testing # Set file/directory names SVN=subversion-$SVN_VERSION APR=apr-$APR_VERSION APR_UTIL=apr-util-$APR_UTIL_VERSIO...
sloede/cobuti
configure/subversion/install.sh
Shell
gpl-2.0
5,671
#!/bin/sh # This script splits out all the frameworks from kdelibs into separate repositories # and puts them into ../frameworks/. # # For each framework, first it creates an empty repository and it imports the # current code, into the original subdirectory. For example, kconfig will be a # repository containing a tie...
TheTypoMaster/kde-dev-scripts
frameworks/split_out_frameworks.sh
Shell
gpl-2.0
2,168
#!/bin/sh # (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved. # # This file contains confidential and proprietary information # of Xilinx, Inc. and is protected under U.S. and # international copyright and other intellectual property # laws. # # DISCLAIMER # This disclaimer is not a license and does not gra...
v3best/R7Lite
R7Lite_PCIE/fpga_code/r7lite_DMA/ipcore_dir/k7_prime_fifo_plain/implement/planAhead_ise.sh
Shell
gpl-2.0
2,536