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
#!/usr/bin/php <?php /** * Drupal hash script - to generate a hash from a plaintext password * * Check for your PHP interpreter - on Windows you'll probably have to * replace line 1 with * #!c:/program files/php/php.exe * * @param password1 [password2 [password3 ...]] * Plain-text passwords in qu...
broekhuisgavin/jewel-nu
scripts/password-hash.sh
Shell
gpl-2.0
2,453
#!/bin/bash make mkdir -p $PREFIX/bin cp fastq-join $PREFIX/bin
guowei-he/bioconda-recipes
recipes/fastq-join/build.sh
Shell
mit
66
#!/bin/sh # # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. # # Use of this source code is governed by a BSD-style license # that can be found in the LICENSE file in the root of the source # tree. An additional intellectual property rights grant can be found # in the file PATENTS. All contributin...
golden1232004/webrtc_new
webrtc/tools/loopback_test/record-test.sh
Shell
gpl-3.0
2,426
#!/bin/bash -e # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. SCRIPTDIR="$(dirname "$(readlink -f "$0")")" PACKAGE="chrome-remote-desktop" ARCHITECTURE=$(dpkg-architecture | awk -F '=' '/DEB_BUILD_AR...
7kbird/chrome
remoting/host/installer/linux/build-deb.sh
Shell
bsd-3-clause
4,470
#!/bin/sh # test_description='git web--browse basic tests This test checks that git web--browse can handle various valid URLs.' . ./test-lib.sh test_web_browse () { # browser=$1 url=$2 git web--browse --browser="$1" "$2" >actual && tr -d '\015' <actual >text && test_cmp expect text } test_expect_success \ 'UR...
overtherain/scriptfile
tool-kit/git-2.1.2/t/t9901-git-web--browse.sh
Shell
mit
1,449
#!/usr/bin/env bash # Copyright 2016 The TensorFlow 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...
npuichigo/ttsflow
third_party/tensorflow/tensorflow/tools/ci_build/linux/libtensorflow_cpu.sh
Shell
apache-2.0
915
#!/bin/sh # This script does the following: # zram start: # * zram doesn't natively support multiple CPU cores, so one zram device # is created for every CPU core minus one) # * Space is assigned to each zram device, then swap is initialized on # there # Some defaults: ALLOCATION=100 # ZRAM Swap you want assig...
bmwiedemann/zram-tools
zramswap-start.sh
Shell
isc
1,435
PATH=$PWD/sources/oe-core/scripts:$PWD/sources/bitbake/bin:$PATH export PATH # Used by poky-qemu, scripts/bitbake export BUILDDIR=$PWD if [ -e setup.sh.$HOSTNAME ]; then . ./setup.sh.$HOSTNAME fi
kergoth/oe-repo-build
setup.sh
Shell
mit
202
if [ $# -eq 0 ]; then echo Usage: $0 testdir [fort_source_file] exit fi testdir=$1 if [ $# -eq 1 ]; then fortfile=$1 else fortfile=$2 fi cd tests mkdir $testdir cd $testdir # Add Makefile cp ../orphans/Makefile . git add Makefile # Set up Fortran source file echo -e "MODULE $fortfile\n\n IMPLICIT NO...
mcfarljm/fortwrap
add_test.sh
Shell
mit
529
#!/bin/bash set -euo pipefail REQUEST_URI="/dev/build" TAG=${TAG:-7.4-apache-buster} # Options while getopts "d" opt; do case $opt in d) DEBUG=d ;; *) ;; esac done # Retries a command on failure. # $1 - the max number of attempts # $2... - the command to run error() { MESSAGE=${1:-...
brettt89/silverstripe-web
tests/files/test.sh
Shell
mit
3,120
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-3012-1 # # Security announcement date: 2016-06-20 00:00:00 UTC # Script generation date: 2017-01-01 21:05:31 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: i386 # # Vulnerable packages fix on version: # - wget:1.13.4-2ubuntu1.4 # # Last versio...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/i386/2016/USN-3012-1.sh
Shell
mit
611
#!/bin/bash set -e name=$(dpkg-parsechangelog --show-field=Source) echo "Building ${name} in $(pwd)..." cp -v ../orig/${name}_* ../ export LANG=C export DEBIAN_FRONTEND=noninteractive apt-get update echo "Installing build dependencies..." cd .. mk-build-deps --install --remove \ --tool \ 'apt-get -yqq --no-install-...
sillsdev/ci-builder-scripts
docker/build.sh
Shell
mit
580
#!/bin/sh address="172.16.1.0/24" sudo /usr/sbin/iptables -A INPUT -s $address -p icmp -j DROP sudo /usr/sbin/iptables -A OUTPUT -d $address -p icmp -j ALLOW sudo /usr/sbin/iptables -A FORWARD -d $address -p icmp -j ALLOW
kumpelblase2/rn
Aufgabe4/part_d.sh
Shell
mit
223
#!/bin/bash /usr/bin/tmux new-session -s bb-server -d 'cd /vagrant && /home/vagrant/env/bin/python run.py -v' \; attach
mattstibbs/blockbuster-server
provision/start_server.sh
Shell
mit
120
#!/bin/bash set -eu -o pipefail echo "Installing awslogs..." sudo yum update -y -q sudo yum install -y awslogs echo "Adding awslogs config..." sudo mkdir -p /var/awslogs/state sudo cp /tmp/conf/awslogs/awslogs.conf /etc/awslogs/awslogs.conf echo "Adding rsyslogd configs..." sudo cp /tmp/conf/awslogs/rsyslog.d/* /et...
holmesjr/elastic-ci-stack-for-aws
packer/linux/scripts/install-awslogs.sh
Shell
mit
333
#!/bin/sh -e DIRECTORY=$(dirname "${0}") SCRIPT_DIRECTORY=$( cd "${DIRECTORY}" || exit 1 pwd ) # shellcheck source=/dev/null . "${SCRIPT_DIRECTORY}/../../configuration/project.sh" NAME=$(echo "${1}" | grep --extended-regexp '^([A-Z]+[a-z0-9]*){1,}$') || NAME='' if [ "${NAME}" = '' ]; then echo "Usage: ${0...
FunTimeCoding/shell-skeleton
script/skeleton/initialize.sh
Shell
mit
1,407
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2009:1451 # # Security announcement date: 2009-10-30 14:43:49 UTC # Script generation date: 2017-01-01 21:10:01 UTC # # Operating System: CentOS 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - freeradius.x86_64:1.1.3-1.5.el5_4 # - ...
Cyberwatch/cbw-security-fixes
CentOS_5/x86_64/2009/CESA-2009:1451.sh
Shell
mit
1,087
#!/bin/bash # # Install Development Environments # Git sudo apt-get install git-core # perl sudo apt-get install perl #python sudo apt-get install python #ruby sudo apt-get install ruby #Apache Web Server sudo apt-get install apache2 # Activate mod_rewrite sudo a2enmod rewrite # PHP sudo apt-get install php5 libapac...
saratonite/shelldon
dev.sh
Shell
mit
666
"$CLOUD_REBUILD" FastNumber 32 dll debug same
xylsxyls/xueyelingshuang
src/FastNumber/version_debug.sh
Shell
mit
45
#!/bin/bash set -eu pushd $(dirname ${BASH_SOURCE:-$0}) source ../env COMMAND=sed OS_NAME=`uname -s` if [ $OS_NAME = 'Darwin' ]; then if hash gsed 2>/dev/null; then COMMAND=gsed else echo 'gsed command not found. exec `brew install gnu-sed`' exit fi fi CLIENT_CERT_DEF="\ # クライアント認証設定\n ssl_veri...
cxpqwvtj/dev-env-docker-compose
admin-tools/setup/enable-client-cert.sh
Shell
mit
853
aws --profile be-istvan --region eu-central-1 lambda create-function \ --function-name dbmgmt-clojre \ --runtime java8 \ --role arn:aws:iam::812087793187:role/lambda-dbmgmt \ --handler dbmgmt::handler \ --description "Simple Lambda for RDS changes" \ --timeout 10 \ --memory 256 \ --vpc-config "SubnetIds...
StreamBright/lambda
clojure/dbmgmt/create_lambda.sh
Shell
mit
1,475
#!/bin/bash # For loop for i in $( ls ); do echo item: $i done # While Loop COUNTER=0 while [ $COUNTER -lt 10 ]; do echo "The counter is $COUNTER" let COUNTER=COUNTER+1 done # Until Loop COUNTER=20 until [ $COUNTER -lt 10 ]; do echo COUNTER $COUNTER let COUNTER-=1 done
hollowaykeanho/learning
bash/0002-loop.sh
Shell
mit
278
#!/usr/bin/env bash test_resolve_Resolves_existing_available_module_using_scheme() { helper_validResolve "${DEFAULT_SCHEME}" "${VALID_MODULE_NAME}" "${VALID_MODULE_CONTENT}" } test_resolve_Resolves_existing_available_module_without_scheme() { helper_validResolve "${DEFAULT_SCHEME}" "${VALID_MODULE_NAME_WITHOUT_SC...
jtrefke/shell_require
tests/require_resolvers/curl_resolver_test.sh
Shell
mit
5,883
#!/bin/bash sudo apt-get update -y sudo apt-get install git -y sudo apt-get install apache2 -y sudo apt-get install libapache2-mod-wsgi -y wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python sudo easy_install pip sudo pip install virtualenv sudo pip install virtualenvwrapper echo "export WORKON_HOME=$HOME...
isuraed/insight
server/setup.sh
Shell
mit
766
# 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 may not u...
fujimakishouten/docker
cassandra/cassandra-env.sh
Shell
mit
11,859
#This script will overlay version, git, and build configuration information over the icon for non-app store builds #Inspiration: http://www.merowing.info/2013/03/overlaying-application-version-on-top-of-your-icon/ export PATH=$PATH:/usr/local/bin #Don't run if imagemagick is not installed if ! convert -version > /dev...
iOSTestApps/apps-ios-wikipedia
scripts/process-icons.sh
Shell
mit
2,522
#!/bin/bash # Exit on failed commands set -e # build binary distributions for linux/amd64 and darwin/amd64 DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" mkdir -p $DIR/dist mkdir -p $DIR/.godeps export GOPATH=$DIR/.godeps:$GOPATH gpm install os=$(go env GOOS) arch=$(go env GOARCH) version=$(awk '/const BINARY...
19hz/nsq
dist.sh
Shell
mit
828
#!/bin/bash set -o errexit set -o nounset IMG="$REGISTRY/$REPOSITORY:$TAG" echo "Unit Tests..." docker run -it --rm --entrypoint "bash" "$IMG" \ -c "apt-install curl >/dev/null && bats /tmp/test" echo echo "Restart Test..." ./test-restart.sh "$IMG" echo echo "Replication Test..." ./test-replication.sh "$IMG" ech...
aptible/docker-mongodb
test.sh
Shell
mit
454
# # Copyright (c) 2014 Science Automation, Inc. http://www.scivm.com. All rights reserved. # # email: contact@scivm.com # support: http://support.scivm.com # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files...
leoncamel/docker-brew-datacanvas-base
sci-python/2.7/scripts/deps.sh
Shell
mit
2,543
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2961-1 # # Security announcement date: 2016-05-04 00:00:00 UTC # Script generation date: 2017-01-01 21:05:23 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: i686 # # Vulnerable packages fix on version: # - liblcms2-2:2.5-0ubuntu4.1 # # Last ver...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/i686/2016/USN-2961-1.sh
Shell
mit
620
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux CND_CONF=Tests 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}/iotools OUTPUT_B...
marcinbor85/iotools
nbproject/Package-Tests.bash
Shell
mit
1,439
docker run \ -d \ --name mxpostfix \ --hostname mxpostfix \ --dns 172.17.42.1 \ --dns-search docker \ --volumes-from mpide_spool_1 \ mxpostfix \ ./startpostfix.sh # debug with #docker run \ # --rm \ # -it \ # --name mxpostfix \ # --hostname mxpostfix \ # --dns 172.17.42.1 \ # --dns-search docker \ # --volumes...
sendgrid/docker-postfix
start.sh
Shell
mit
363
#!/bin/bash # CSL schema validation # Always run from the directory in which the script is located. cd $(dirname $0) # Die upon error. set -e # Create temporary directory, and provide for its deletion # on exit. TMP_DIR=$(mktemp -d -t './') function finish () { rm -rf ${TMP_DIR}/* rmdir ${TMP_DIR} #reset #e...
citation-style-language/utilities
style-qc.sh
Shell
mit
1,448
CFG_FILE=$1 DB=$2 SCHEMA=$3 SQL_FOLDER=$4 mysql --defaults-file=$CFG_FILE -e"DROP DATABASE IF EXISTS $DB; CREATE DATABASE IF NOT EXISTS $DB;" mysql --defaults-file=$CFG_FILE --database=$DB --max_allowed_packet=32M -f < $SCHEMA static_files=$(find $SQL_FOLDER -type f -name '*.sql' -not -name 'static_perlbench_r_*' -no...
ithemal/Ithemal
data_export/scripts/create_and_populate_db.sh
Shell
mit
784
#!/bin/bash -x set -x dest=s7.wservices.ch ##git push rsync -avz -e ssh src/protocoller/db/main $dest:devel/protocoller/src/protocoller/db/main ssh $dest "cd devel/protocoller && ~/init/protocoller restart"
quoter/protocoller
distribute.sh
Shell
mit
215
#!/bin/bash sbcl --no-userinit --load build.lisp
leosongwei/game_of_life
build.sh
Shell
mit
50
#!/bin/bash HOME=`dirname "$0"` HOME=`cd "$HOME"; pwd -P` LIB=$HOME/lib CP=$LIB/kernal64.jar:$LIB/jinput.jar:$LIB/scala-library.jar:$LIB/scala-parser-combinators_2.13-1.1.2.jar:$LIB/commons-net-3.3.jar:$LIB/jsoup-1.13.1.jar:$LIB/rsyntaxtextarea-3.1.1.jar if [ ! -x $JAVA_HOME/bin/java ]; then JAVA=java else ...
abbruzze/kernal64
Kernal64/build/k64.sh
Shell
mit
440
#!/bin/bash clear echo echo "################################################################################" echo "# RoboPi v.1.1.1 #" echo "# @author Joshua Richard <www.joshrichard.net> #" echo "# @license MIT ...
spmedia/robopi
install.sh
Shell
mit
1,524
#! /bin/sh PATH=/usr/local/java/jdk-current/bin/:/usr/local/ant/bin:$PATH if [ -e $PWD/build-crawlersPP.xml ]; then OS=$PWD elif [ -e $PWD/../build-crawlersPP.xml ]; then OS=$PWD/.. elif [ -e /usr/local/tomcat/violet/OS/build-crawlersPP.xml ]; then OS=/usr/local/tomcat/violet/OS fi CRAWLER="$1" PORT_OPTION="" if [...
sebastienhouzet/nabaztag-source-code
server/OS/scripts/startPPDaemon.sh
Shell
mit
640
cp sub00001_ses014_task002_run001_bold.json /home/vagrant/data/ds031/sub00001/ses014/functional
poldrack/fmri-analysis-vm
analysis/firstlevel/copy_json.sh
Shell
mit
96
#!/usr/bin/env sh ProjectDir="../../../../../" cd $ProjectDir export LD_LIBRARY_PATH=../tool/cuddn/v2/lib/:$LD_LIBRARY_PATH CaffeRootDir="caffe/" # build/tools/ Tools="build/tools/" Tools=$CaffeRootDir$Tools # models/Pose/FLIC/black/lecun-8x-2b-sd5_5-tmarks_output/ ProtosDir="models/Pose/" SubProtosDir="FLIC/black/" ...
zimenglan-sysu-512/pose_action_caffe
models/Pose/FLIC/black/lecun-8x-2b-sd5_5-tmarks_output/s1_train.sh
Shell
mit
1,942
export EDITOR='atom'
craignist/.dotfiles
system/env.zsh
Shell
mit
22
# Exit if Homebrew is not installed. [[ ! "$(type -P brew)" ]] && e_error "Brew casks need Homebrew to install." && return 1 # Ensure the cask keg and recipe are installed. kegs=(caskroom/cask) brew_tap_kegs recipes=(brew-cask) brew_install_recipes # Exit if, for some reason, cask is not installed. [[ ! "$(brew ls --...
thuai/dotfiles
init/22_osx_homebrew_casks.sh
Shell
mit
1,832
#!/bin/bash # you should put all your servers here export SERVER_ADDR="" mkdir -p ~/certs cp *.json ~/certs cd ~/certs # generate server ca files export NAME=server mkdir -p $NAME echo '{"CN":"'$NAME'","hosts":[""],"key":{"algo":"ecdsa","size":256}}' | cfssl gencert -ca=ca/ca.pem -ca-key=ca/ca-key.pem -config=ca-con...
EagleChen/infrastructures
certs/generate_server.sh
Shell
mit
467
rsync -aP --exclude="*.fasta" --exclude=DTASelect.txt --exclude="*.ms2*" --exclude="*.sqt" --exclude="*.RAW" garibaldi.scripps.edu:/gpfs/home/cmoon/proteomics/CM1_unenriched/2015_11_CM1E2d56col_unenr1_2_rawEx/* . rsync -aP --exclude="*.fasta" --exclude=DTASelect.txt --exclude="*.ms2*" --exclude="*.sqt" --exclude="*.RA...
stuppie/CM7_CM1E2d56col_unenr123_rawextract_2017
scripts/copy_from_gb.sh
Shell
mit
425
############################################################################### # nvm # # Node Version Manager - Simple bash script to manage multiple active node.js # versions. # # https://github.com/creationix/nvm # # Configuration for homebrew-installed nvm ###########################################################...
alphabetum/dotfiles
home/.shared_env.d/nvm.sh
Shell
mit
2,098
#!/bin/bash set -e # # Install: # curl -L https://raw.github.com/jojow/docker-api-proxy/master/install.sh | bash # wget -qO- https://raw.github.com/jojow/docker-api-proxy/master/install.sh | bash # APP_NAME="docker-api-proxy" if [ -z "$APP_DIR" ]; then APP_DIR="$HOME/$APP_NAME" fi NVM_DIR="$APP_DIR/.nvm" NVM...
jojow/docker-api-proxy
install.sh
Shell
mit
788
#!/bin/bash ARCH=x86_64 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" git clone https://github.com/openssl/openssl.git # Add the standalone toolchain to the search path. export ANDROID_NDK=${DIR}/../build-toolchain export PATH=${ANDROID_NDK}/bin:$PATH # Tell configure what tools to use. export AS=clang e...
lboss75/vds
externals/build_openssl.sh
Shell
mit
492
# The following lines were added by veto_pkg veto_pkg() { sh /usr/bin/veto_packages $1 }; _veto_pkg() { words[1]=(pacman -Qi); (( CURRENT ++ )); service=pacman; _pacman }; compdef _veto_pkg veto_pkg # End of lines added by veto_pkg
liviu-/veto_pkg
src/completions.sh
Shell
mit
253
ls -l | awk '{print $9}' | awk -F "." '{print $2}' | sort -u
albertocubeddu/serverUtility
listExtensions.sh
Shell
mit
61
#!/bin/bash export KB_DEPLOYMENT_CONFIG=/kb/dev_container/modules/msa_muscle/deploy.cfg export PYTHONPATH=/kb/dev_container/modules/msa_muscle/lib:$PATH:$PYTHONPATH uwsgi --master --processes 5 --threads 5 --http :5000 --wsgi-file /kb/dev_container/modules/msa_muscle/lib/msa_muscle/msa_muscleServer.py
psnovichkov/kbase_msa_muscle
scripts/start_server.sh
Shell
mit
303
#! /bin/sh -e while read v; do for t in STATIC SHARED BOTH; do ( echo ================================ $v-$t ============ b=geogbuild-$v-$t inst=geoginst-$v-$t/GeographicLib-1.34 rm -rf /tmp/$b /tmp/$inst mkdir /tmp/$b cd /tmp/$b cmake=/tmp/cmake-$v-win32-x86/bin/cmake $cma...
Sciumo/GeographicLib
tests/cmake/build-geographiclib.sh
Shell
mit
968
tail -f ./logs/pang.log
pang-apps/redis-monitor
log.sh
Shell
mit
24
#!/bin/zsh ## history HISTFILE=~/.config/zsh/history HISTSIZE=100000 SAVEHIST=100000 setopt INC_APPEND_HISTORY # append command to history file once executed setopt HIST_IGNORE_ALL_DUPS # Ignore duplicates in history setopt HIST_IGNORE_SPACE # Prevent record in history entry if preceding them with at least one s...
ajaybhatia/archlinux-dotfiles
home/.config/zsh/options.zsh
Shell
mit
1,345
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" INSTALL_FOLDER="/Applications/Kubik-Proxy" sudo rm -rf $INSTALL_FOLDER sudo mkdir $INSTALL_FOLDER sudo cp "$DIR/distrib/kubik-proxy.jar" "$INSTALL_FOLDER/kubik-proxy.jar" sudo cp "$DIR/distrib/application.properties" "$INSTALL_FOLDER/application.pr...
daniellavoie/Kubik
kubik/kubik-proxy/src/assembly/osx-install.sh
Shell
mit
329
#! /bin/bash # run (and re-run and re-run) in a console for debug output # MacOSX specific # get a reference to the correct folder DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # ensure we're running from the correct folder cd $DIR # symbolic link the required paths into place for love ln -sf ../game . ln -s...
samuelwbaird/letter
example/build/debug.sh
Shell
mit
774
#!/usr/bin/env bash set -uo pipefail source $(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/generic_functions.sh sleep 60 DEST="dist-cl-testing7-kernel" TAG=`koji latest-build $DEST kernel | tail -1 | awk '{print $1}' | sed "s/kernel-//"` function module_update_and_build() { local mod="$1" cd $WORKSPACE git cl...
Korulag/yamos
scripts/ext_modules_rebuild.sh
Shell
mit
1,250
# ===== History HISTFILE=~/.history HISTSIZE=4096 SAVEHIST=$HISTSIZE setopt extended_history # save timestamp of command and duration setopt hist_find_no_dups # When searching history don't display results already cycled through twice setopt append_history # If this is set, zsh sessions will append their history list ...
AaronFoley/dotfiles
zsh/setopt.zsh
Shell
mit
2,386
if [[ "$1" == "static_checks" ]]; then echo "Running static checks..." pycodestyle --statistics "`pwd`" isort -rc -c -q elif [[ "$1" == "models_demo" ]]; then echo "Running models..." echo "Running K-Nearest Neighbors with k=3 and distance=L1..." python -m mlfs.supervised.knn run_simple --k 3 --...
se7entyse7en/mlfs
test.sh
Shell
mit
648
# completion for grunt function grunt_tasks { reply=(`grunt --no-color list`) } compctl -K grunt_tasks grunt
g-k/grunt-shell-completion
tasks/shell-completion.sh
Shell
mit
113
#!/bin/bash wget -O- get.pharo.org/20+vm | bash echo -e "LOADING VM MAKER SOURCES INTO IMAGE" echo -e "./pharo Pharo.image ../codegen-scripts/LoadCodeJam.st" ./pharo Pharo.image scripts/LoadCodeJam.st
LucFabresse/CJSolver
newImage.sh
Shell
mit
204
#!/bin/zsh UserSyncVersion="1.18" INSTALL_DIR=##INSTALL_DIR## ############################################################################## ## Chargement de la configuration. ############################################################################## # Config par defaut . ${INSTALL_DIR}/etc/UserSync.conf.default ...
jpiel/UserSync
scripts/UserSync.sh
Shell
mit
12,197
#!/bin/bash set -e INSTRUCTIONS="You can probably run this with no options, on OSX. Options: -n Set the machine nickname. Defaults to 'local'. -d Set the users' directory location. Defaults to '/Users' for OSX. DO NOT include your actual user directory at the end. See '-u'. -s Set the source directory (th...
chadoh/dotfiles
setup.sh
Shell
mit
2,950
#!/bin/bash # # ConoHaのCentOS 7.1にLogwatchをインストールするシェルスクリプト # if [ `id -u` -ne 0 ] then echo "Re-run this program as the super user." >&2 exit 1 fi # レポートの宛先 (例: admin@example.com) ADMIN_CONTACT=$1 # ---------------------------------------------------------------------- # 1. Logwatchのインストール # ---------------------...
tchikaraishi/osinit
lwinst.sh
Shell
mit
747
#!/bin/bash if [ -d "$1" ]; then cd "$1" else echo "Usage: $0 <datadir>" >&2 echo "Removes obsolete Adn database files" >&2 exit 1 fi LEVEL=0 if [ -f wallet.dat -a -f addr.dat -a -f blkindex.dat -a -f blk0001.dat ]; then LEVEL=1; fi if [ -f wallet.dat -a -f peers.dat -a -f blkindex.dat -a -f blk0001.dat ]; th...
AdnCoin/AdnCoin
contrib/tidy_datadir.sh
Shell
mit
1,359
#!/usr/bin/env bash # The expected output is a new conda env file merging all conda packages for production pipelines # Global variables SCRIPT_NAME="$0" SCRIPT_OPTS="$@" SCRIPT_FOLDER=$(dirname $0) REPO_FOLDER=$(dirname ${SCRIPT_FOLDER}) TMP_GENESETS=$(mktemp) TMP_CHIPTOOLS=$(mktemp) TMP_BAMSTATS=$(mktemp) TMP_ENRI...
CGATOxford/CGATPipelines
scripts/merge_conda_deps.sh
Shell
mit
2,890
#!/bin/bash set -eo pipefail -o nounset if [[ -z $(conda info --envs | grep "*" | grep -o "\/.*") ]]; then export CONDA_ROOT=$(conda info --root) env_dir=$CONDA_ROOT export RECIPE_DIR=$CONDA_ROOT/share/ggd/Homo_sapiens/hg19/hg19-reference-genome-gencode-v1/1 elif [[ $(conda info --envs | grep "*" | grep -o...
gogetdata/ggd-recipes
recipes/genomics/Homo_sapiens/hg19/hg19-reference-genome-gencode-v1/post-link.sh
Shell
mit
2,980
#!/usr/bin/env sh # -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2015-2018 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # Quit on errors set -o errexit # Quit on unbound symbols set -o n...
inveniosoftware/invenio-jsonschemas
run-tests.sh
Shell
mit
530
#!/bin/bash while true; do ./bin/solace-metrics.py -e prod --clients & ./bin/solace-metrics.py -e prod --vpns ./bin/solace-metrics.py -e prod --spool ./bin/solace-metrics.py -e prod --client-spools #./bin/solace-list-vpns.py -e prod | xargs -i{} ./bin/solace-metrics.py -e prod --spool --filter {} echo "sleeping" slee...
unixunion/python-libsolace
bin/monitor.sh
Shell
mit
332
test_styles_normal_equals_normal() { expect_equal $LINENO "$NORMAL" "\e[21m" }
mygorillacode/kali-build
tests/lib/cli/styles/test_styles_normal_equals_normal.sh
Shell
mit
80
#!/bin/sh dd if="$1" bs=1024 count=100 2>/dev/null | /usr/bin/md5sum | \ cut -f 1 -d ' '
tietokilta-saato/tikplay
legacy/tikradio/util/hasher.sh
Shell
mit
89
#!/bin/bash # File: vim-env.bash # Author: lmcallme <l.m.zhongguo@gmial.com> # Date: 28.07.2017 # Last Modified Date: 28.07.2017 # Last Modified By: lmcallme <l.m.zhongguo@gmial.com> vim_env_p=$(pwd ) cd $(dirname "$0") || exit 1 export NAME=lmcallme export EMAIL=l.m.zhongguo@gmial.com # amix-vimrc's pathogen path...
LMCallMe/tools
vim/vim-env.bash
Shell
mit
464
#!/bin/bash # # node temperature monitor for NEC Express5800/E120f-M # warn if WARN is reached by syslog, # message and power off in case of ALARM # WARN=38 ALARM=40 DELAY=30 # delay is the delay before ipmi power off # check if module is loaded, load it if not loaded if [ ! -c /dev/ipmi0 ] then /usr/sbin/modprobe i...
c1t4r/Plurality
rootfs/usr/local/sbin/temp_mon.sh
Shell
mit
1,527
#!/bin/bash cd "$(dirname "$BASH_SOURCE")" \ && source '../utils.sh' # TODO # - xcape to caps lock to esc/ctrl # - http://www.economyofeffort.com/2014/08/11/beyond-ctrl-remap-make-that-caps-lock-key-useful/ # - adjust mouse scrolling speed # - https://github.com/pwr/Solaar/issues/158 # - xinput set-prop "Logitech P...
tonilaukka/dotfiles
bin/ubuntu/install.sh
Shell
mit
429
#!/bin/sh if [ `id -u` -eq 0 ] then systemctl stop log2ram systemctl disable log2ram rm /etc/systemd/system/log2ram.service rm /usr/local/bin/log2ram rm /etc/cron.daily/log2ram echo "Removed log2ram" else echo "You need to be ROOT (sudo can be used)" fi
jreben/log2ram
uninstall.sh
Shell
mit
269
#!/bin/sh os=$1 echo '' if [ X"$os" = X"u" ]; then echo 'Installing lemonbar (with xft) for Ubuntu-like systems' echo '' sudo rm .tmp -r mkdir .tmp git clone https://github.com/krypt-n/bar .tmp cd .tmp sudo apt-get -qq install libxft-dev libx11-xcb-dev fonts-font-awesome dzen2 gcc make ...
phuhl/.dotfiles
lemonbar/install.sh
Shell
mit
722
certificates.create_self_signed() { ## Creates a new self-signed certificate CA and certififcate. # $1 - Output dir. # $2 - Service host name. local _out_dir=$1 local _site=$2 local _root_ca_key="${_out_dir}/root_ca.key" local _root_ca_csr="${_out_dir}/root_ca.csr" local _root_ca_crt="${_out_dir}/root...
dcarastan/concourse-docker
lib/certificates.sh
Shell
mit
5,158
#!/bin/sh # node & npm installation into user local directory, from binaries # if a global directory is needed, then consider using apt-get with # updated repositories (i.e. one that has node v0.10.15) version=0.10.15 tarfile=node-v$version-linux-x64.tar.gz echo 'Installing version ' $version wget http://nodejs.org/...
aeratek/kinisi-main
resources/install_node.sh
Shell
mit
706
#!/bin/bash set -e source common/ui.sh source common/utils.sh info 'Installing extra packages and upgrading' debug 'Bringing container up' utils.lxc.start utils.lxc.wait4net || true utils.lxc.attach apt-get update utils.lxc.attach apt-get upgrade -y --force-yes # TODO: Support for appending to this list from outs...
dragoscirjan/vagrant-lxc-base-boxes
debian/install-extras.sh
Shell
mit
3,873
#!/bin/bash # install.sh - Set up user environment for a XML/XSLT distribution # This is as an interactive installer for updating your # environment to use an XML/XSLT distribution such as the DocBook # XSL Stylesheets. Its main purpose is to configure your # environment with XML catalog data and schema "locating rul...
ValeLint/vale
fixtures/XSL/docbook-xsl-snapshot/install.sh
Shell
mit
28,635
#!/bin/bash dir=$(dirname $0) for svg in $dir/../add-on/icons/*.svg; do for size in 19 38 128; do png=$dir/../add-on/icons/png/$(basename -s .svg ${svg})_${size}.png inkscape -z -e $png -w $size -h $size $svg optipng -o7 -i0 $png done done
lidel/ipfs-firefox-addon
scripts/generate-png-icons.sh
Shell
cc0-1.0
272
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_CONF=default CND_DISTDIR=dist TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/20182_contadorbcd7s_tblptr.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} OUTPUT_BASENAME=20182_contadorbcd7s_tb...
tocache/picomones
UPC Microcontroladores 2018-2/Semana 03/20182_contadorbcd7s_tblptr.X/nbproject/Package-default.bash
Shell
cc0-1.0
1,475
#!/bin/bash if [[ $# -ne 1 ]]; then echo "Usage: install.sh <hq-server-home>" exit 1; fi SCRIPT_DIR=`cd \`dirname ${0}\` ; pwd -P` SERVER_HOME="$1" echo "Uninstalling tc Server HQ Plugin from '$SERVER_HOME'" CANDIDATES=" \ ROOT/hqu/tcserverclient/ \ ROOT/hqu/tomcatappmgmt/ \ ROOT/hqu/tomcatserverconfig/ \ ROO...
pivotal/tcs-hq-management-plugin
build-tcserver-plugin/resources/bin/install.sh
Shell
gpl-2.0
998
#!/usr/bin/ksh93 ################################################################ #### #### -R RITM0000000 #### -L Location #### -D Domainname #### ################################################################ B="${WHOAMI:-$( whoami )}" H="${HSTNAME:-$( hostname )}" B="dlf" H="localhost" H="" R="${CHGREQNUMB:-RIT...
AndDeluiz/Shell-Scripts
Common/checklist/runthis.sh
Shell
gpl-2.0
583
#!/bin/bash community=MYCOMMUNITY while IFS='' read -r line || [[ -n "$line" ]]; do hostname=$(snmpwalk -v 2c -c $community -O v -L n $line 1.3.6.1.4.1.9.2.1.3 | sed 's/^.*://g' | sed 's/"//g') model=$(snmpwalk -v 2c -c $community -O v -L n $line 1.3.6.1.2.1.47.1.1.1.1.13.1001 | sed 's/^.*://g' | sed 's/"//g') se...
routetonull/snmp_scan
snmpinventory.sh
Shell
gpl-2.0
491
go build -o ./oascent src/main.go gdb -tui ./oascent -ex "break main.go:1" -ex run
blamarche/officeascent
debug-run.sh
Shell
gpl-2.0
83
#!/bin/bash #$1 = TOUCHSCREEN, $2 = TOUCHPAD xrandr -o left xinput set-prop "$1" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 xinput set-prop "$2" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 conf write /org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode 1 onboard & echo "NOTEPAD" exit...
RobbieNor/indicator-acertouchscreen
modes/Notepad.sh
Shell
gpl-2.0
321
#!/bin/bash for wfc in $(seq 20 5 200) do cd wfc_$wfc energy=`grep ! pw.relax.out | awk '{print $5}'` deltaE=`echo "scale=8; ($energy+22.82196563)*13.60569253*1000/2" | bc` echo $wfc $deltaE cd .. done
leseixas/quantum_espresso-benchmark
Graphene/basis/Troullier-Martins/get_energies.sh
Shell
gpl-2.0
213
#!/bin/bash NAME="scroll" CCOPTS="-I. -I/usr/local/include -I../include -fPIC" FILES="scroll" OBJECTS="" for FILE in $FILES; do gcc -c $FILE.c $CCOPTS -o $FILE.o OBJECTS+="$FILE.o " done gcc $OBJECTS -shared -o ../../bin/${NAME}.so -L/usr/local/lib -lSDL rm $OBJECTS
vroman/edivc
dlls/src/scroll/build.sh
Shell
gpl-2.0
274
#!/usr/bin/env bash # copy these scripts to bin # adjust values as needed # top-level directory where the ASM Metrics files are located homeDir=/mnt/zips/tmp/presentations/asm-metrics # where the scripts are located binDir=/mnt/zips/tmp/presentations/asm-metrics cd $homeDir export PATH="$binDir":"$PATH" # set thi...
jkstill/asm-metrics
runall-cluster.sh
Shell
gpl-2.0
1,286
# Copyright (C) 2012-2015 Codership Oy # # 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; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHO...
fromdualjb/mysql-wsrep
scripts/wsrep_sst_common.sh
Shell
gpl-2.0
4,753
#!/bin/bash /usr/share/qa/tools/install.pl -o "addon=$2 console=ttyS0,115200n8 ssh=1 sshpassword=${password}" -p "$1" sed -i 's/auto.*\.xml //g' /boot/grub2/grub.cfg
wjn740/jtools
deployment/installer.sh
Shell
gpl-2.0
168
#!/bin/bash set -e # Exit immediately if a command exits with a non-zero status. set -u # Treat unset variables as an error when substituting. set -x # Print commands and their arguments as they are executed. if [ $# != 3 ]; then echo "Usage: $0 <absolute path to NatronRenderer binary> <ffmpeg binary> <idiff bina...
MrKepzie/Natron-Tests
TestCMD/script.sh
Shell
gpl-2.0
3,843
#!/bin/sh -e # This is an example master script using the tools created # It expects HSAP-*.tar.gz to be in the same directory export TMPDIR=/trak/iscbuild/tmp export SITE=schl export ENV=TRAIN export VER=2016 export TYPE=DB MONITORIP=10.111.3.166 # # Various overrides exist to allow customisation of behaviour # This s...
casep/isc_coding
trakautomation/oldMasters/MasterSCHLTrain2016DB.sh
Shell
gpl-2.0
4,014
#! /bin/sh # Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
pylam/automake
t/parallel-tests-unreadable.sh
Shell
gpl-2.0
1,705
#!/bin/sh REMOTE_HOST=$1 SCENE_FILE=$2 REMOTE_DIR=remote-tracer REMOTE_BIN_DIR=bin REMOTE_PNG=remote.png echo $REMOTE_HOST echo Copying binary and scene files to $REMOTE_HOST ssh $REMOTE_HOST mkdir -p $REMOTE_DIR rsync -avz --delete src/tracer scenes $REMOTE_HOST:$REMOTE_DIR ssh $REMOTE_HOST ./$REMOTE_BIN_DIR/tracer...
thabz/RayGay
remote-render.sh
Shell
gpl-2.0
433
#!/bin/sh #pyrcc4 -o src/faigaresource_rc.py ui/faigaresource.qrc which pyuic4>/dev/null if [ $? != 0 ]; then echo >&2 "This script requires pyuic4 installed." exit 255 fi pyuic4 -o ui_login.py login.ui pyuic4 -o ui_contactlist.py contactlist.ui pyuic4 -o ui_chatWindow.py chatWindow.ui
kakaroto/amsn2
amsn2/ui/front_ends/qt4/generateFiles.sh
Shell
gpl-2.0
292
#!/bin/sh # Copyright (C) 1999-2005 ImageMagick Studio LLC # # This program is covered by multiple licenses, which are described in # LICENSE. You should have received a copy of LICENSE with this # package; otherwise see http://www.imagemagick.org/script/license.php. . ${srcdir}/tests/common.shi ${RUNENV} ${MEMCHECK} ...
atmark-techno/atmark-dist
user/imagemagick/tests/rwfile_FITS_pallette.sh
Shell
gpl-2.0
364
#!/bin/bash if [ -e phpcopy.lock ]; then echo "PHPCopy wurde bereits durchgefuehrt" else ############################################################## # # $Author: ostoffel $ # $Revision: 222 $ # $LastChangedDate: 2014-03-01 16:20:58 +0100 (Sa, 01 Mrz 2014) $ # $URL: https://svn.isp-controle.de/svn/trunk/isp-control...
ispcontrole/isp-controle
isp-controle_scripts/installscripte/phpcopy.sh
Shell
gpl-2.0
3,837
#!/bin/sh sed -r -i 's/AC_INIT\(\[kbdd\],\ \[([0-9]|\.)+], \[qnikst@gentoo.ru\]\)/AC_INIT\(\[kbdd\],\ \['$1'],\ \[qnikst\@gentoo.ru\]\)/g' configure.ac echo -e "$(date +%F)\tv$1 vesion bump\n$(cat ChangeLog)" > ChangeLog git tag -s "v$1" -m "$1 version bump"
qnikst/kbdd
bump.sh
Shell
gpl-2.0
260