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/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...
lukmajercak/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-secure-dns.sh
Shell
apache-2.0
1,793
#!/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 "License...
lukmajercak/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/test/scripts/run-bats.sh
Shell
apache-2.0
1,416
#!/bin/bash ./scripts/build.sh watchify -t hbsfy -x opening_hours -x moment -x moment/locale/sv src/index.js -o site.js & http-server
perliedman/cykelbanor
scripts/run.sh
Shell
isc
135
#!/bin/bash set -e git push origin $(git tag -l v\* | sort -V | tail -1) ssh -t deploy@$1 " cd /home/deploy/Observatory git checkout master git pull origin git fetch --tags git checkout $(git tag -l v\* | sort -V | tail -1) sudo /home/deploy/Observatory/production/run_puppet.sh "
rcos/Observatory
production/update.sh
Shell
isc
283
#!/bin/bash # python2.6 to python2.7.x # github : https://github.com/apzkr/python26_to_python27x # If you change PYTHON_VERSION, please use 2.7.x version. PYTHON_VERSION=2.7.10 yum update -y yum install -y epel-release yum groupinstall -y "Development Tools" yum install -y zlib-devel openssl-devel sqlite-devel bzip2-...
apzkr/python26_to_python27x
python_update.sh
Shell
mit
1,002
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-330-1 # # Security announcement date: 2015-10-22 00:00:00 UTC # Script generation date: 2017-01-01 21:09:03 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - unzip:6.0-4+deb6u3 # # Last version...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2015/DLA-330-1.sh
Shell
mit
622
#!/bin/bash ### 1 - BUILD WEB FRONT-END ./build-web.sh ### 2 - BUILD API ./build-api.sh ### 3 - START BABBAGE export JAVA_OPTS="-Xdebug -Xmx256m -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" # Restolino configuration export RESTOLINO_STATIC="src/main/web" export RESTOLINO_CLASSES="target/classes"...
ONSdigital/babbage
run-publishing.sh
Shell
mit
891
#!/bin/sh echo "$CODE" | base64 -d > /run/code.java javac /run/code.java cd /run java Solution
rlods/CodingChallenge
launchers/launcher-java.sh
Shell
mit
95
#!/bin/bash # # Please see the LICENSE file for details. # set -e if [[ "$(composekit-env)" == "Linux" ]]; then sudo service docker stop else dinghy off fi
jaequery/composekit
scripts/off.sh
Shell
mit
163
echo 'before running specify the fiji executable and macro (located in this dir):' echo 'export FIJI=path/fiji' echo 'export MACRO=ThisDir/resizeNRRDtoJFRC2.ijm' echo 'run in the directory above the volume.nrrd files' echo '-f forces recreation' echo '-h runs in headless mode using xvfb-run' for file in $(pwd)/*/*.nrrd...
Robbie1977/NRRDtools
resizeNRRDtoJFRC2.sh
Shell
mit
771
#!/bin/bash #$ -S /bin/bash #$ -q abaqus.q #$ -l qname=abaqus.q #$ -cwd #$ -V #$ -l mf=192G #$ -j y #$ -o /home/hpc2862/repos/pRs/sub_log.txt #!/bin/bash cd /home/hpc2862/repos/pRs/inst/analysis/optimal_comorbid make cmb.txt
Chris1221/pRs
inst/analysis/optimal_comorbid/sub.sh
Shell
mit
228
# Installs gems in parallel export BUNDLE_JOBS=4
benhanzl/dotfiles
ruby/bundler.bash
Shell
mit
49
#!/bin/bash target_host=`bash ~/.tmux/remote_hostname.sh` # echo "tty: $pane_tty , host: $target_host" ping -c 1 $target_host | tail -1 | cut -d "/" -f5 # (ping -c 1 #(ps -af | grep "`tmux display -p \"#{pane_tty}\" | cut -d \"/\" -f3,4` " | grep -v grep | grep -oP "ssh [a-zA-Z0-9.@\-]+" | cut -d " " -f2 | grep -oP...
finaldie/final_dev_env
tmux/nw_ttl.sh
Shell
mit
379
#!/bin/bash #adam-BL# . BonnLogger.sh #adam-BL# . log_start # script to estimate absolute photometric # calibration on a night basis. It substitutes # the old create_photoinfo.sh script. # $1 main dir # $2 standard dir # $3 science dir # $4 image extension # $5 filter # $6 filter name in standardstar catalog # $7 co...
deapplegate/wtgpipeline
create_abs_photo_3SEC.sh
Shell
mit
9,266
#!/bin/bash # https://gist.github.com/domenic/ec8b0fc8ab45f39403dd set -e # exit with nonzero exit code if anything fails # go to the out directory and create a *new* Git repo cd dist git init # add CNAME record echo "phimhd.pw" > CNAME # hack GitHub Pages so browserhistory would work cp index.html 404.html # insid...
longseespace/quickflix
deploy.sh
Shell
mit
1,006
#! /bin/sh ### BEGIN INIT INFO # Provides: power_switch # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Set the blinking led to show raspi activity # Description: This file should be used to co...
ice3/raspi_NAS_deploy
backup_config/services/power_switch.sh
Shell
mit
4,451
# Replace this with hostname of remote unless testing locally HOST=localhost PORT=8089 # This will connect to the socket listener at which point you can issue commands telnet $HOST $PORT
m2ware/ControlSocket
scripts/connect.sh
Shell
mit
188
# reset all the clients pkill fbs_traffic.sh echo "" > /root/rolling_code ssh root@10.1.1.2 pkill fbs_traffic.sh ssh root@10.1.1.2 'echo "" > /root/rolling_code' ssh root@10.1.1.3 pkill fbs_traffic.sh ssh root@10.1.1.3 'echo "" > /root/rolling_code' ssh root@10.1.1.4 pkill fbs_traffic.sh ssh root@10.1.1.4 'echo "" > /r...
mhammerly/fbs
end.sh
Shell
mit
479
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2357-1 # # Security announcement date: 2014-09-23 00:00:00 UTC # Script generation date: 2017-01-01 21:03:59 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - linux-image-3.2.0-1453-omap4:3.2.0-1...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2014/USN-2357-1.sh
Shell
mit
713
qr () { qrencode -l L -v 1 -o output.png -r "$1" && open output.png }
patbeagan1/libbeagan
scripts/util/qrencoder.sh
Shell
mit
74
#!/bin/bash # # Determines exact buildpack details for CloudFoundry app # # Supporting blog: https://fabianlee.org/2020/10/20/cloudfoundry-determining-buildpack-used-by-application/ # app="$1" if [ -z "$app" ]; then echo "ERROR You must provide a valid cf app name" exit 1 fi cf apps | awk {'print $1'} | grep $app...
fabianlee/blogcode
CF/which-cf-buildpack.sh
Shell
mit
864
sudo pkg install -y autoconf automake bison gdb git libtool m4 pkgconf valgrind sudo pkg install -y openjdk8 gnutls libdbi libesmtp libgcrypt glib hiredis openldap-sasl-client libltdl libmemcached libmodbus mosquitto mysql56-client libnotify openipmi liboping libpcap postgresql94-client protobuf protobuf-c rabbitmq-c...
rubenk/collectd-ci
packer/scripts/freebsd10.sh
Shell
mit
872
# Sets reasonable OS X defaults. # # Or, in other words, set shit how I like in OS X. # # The original idea (and a couple settings) were grabbed from: # https://github.com/mathiasbynens/dotfiles/blob/master/.osx # # Run ./set-defaults.sh and you'll be good to go. # Use AirDrop over every interface. srsly this should...
joseramonc/dotfiles
osx/set-defaults.sh
Shell
mit
9,509
#!/bin/bash # copy data to _docker directory # read the config settings and define functions source ${0%/*}/configtemplate.sh source ${0%/*}/doconfig.sh source ${0%/*}/functions.sh dest="$DOCKER_DIR" ensureDir "$dest" for file in configtemplate.sh doconfig.sh functions.sh localize.sh provision.sh do cp "$SCRIPT...
ETCBC/shebanq
scripts/docker/localize.sh
Shell
mit
540
#!/bin/bash awk '/^S/{print ">"$2"\n"$3}' $1 | fold
yunfeiguo/bioinfo_toolbox
utilities/seq_related/gfa2fa.sh
Shell
mit
52
#!/bin/bash APPNAME=landing SRCDIR=/var/deploy/landing SRCFILE=landing.tar.gz OUTDIR=/var/www/landing CWD=$(pwd) INFRASTRUCTURE=/var/www/infrastructure LOGFILE=/var/log/apicatus/deploy.landing.log echo "building: "$APPNAME # test if fd 1 (STDOUT) is NOT associated with a terminal if [ ! -t 1 ] ; then # redirect ...
apicatus/infrastructure
deploy.landing.sh
Shell
mit
992
#!/bin/bash # TODO: the script should give an error if less than two args is given. CODEBOOKNAME=$1 # the file from which the codebook is read. See makecodebook.sh. DATASET=$2 # a file that contains a list of filenames, one per # line. Each filename contains the sequence of feature # vectors for...
ybayle/ReproducibleResearchIEEE2017
src/vqmm/scripts/trainclassmodels.sh
Shell
mit
704
#!/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-ncbi-refseq-genes-ucsc-v1/1 elif [[ $(conda info --envs | grep "*" | grep -o "...
gogetdata/ggd-recipes
recipes/genomics/Homo_sapiens/hg19/hg19-ncbi-refseq-genes-ucsc-v1/post-link.sh
Shell
mit
2,964
#!/bin/bash if [ $# -eq 0 ] then echo "Usage: dumpCoverage.sh <outdir> <dynodroid_dir> <apk>" exit fi #for i in `seq 1 12`; i=0 while true do i=$((i+1)) sleep 300 #sleep for 5 minutes echo $1/$i adb shell am broadcast -a edu.gatech.m3.emma.COLLECT_COVERAGE adb pull /mnt/sdcard/coverage.ec $1/cover...
open-nata/xdroid
myscripts/dumpCoverageAndDynodroidLogs.sh
Shell
mit
462
#!/bin/bash # T. Carman, Spring 2016 # Simple example script for generating a bunch of static plots # using the calibration-viewer.py program. Intended to be modified # as needed. # # # Command line argument processing # function usage () { echo "usage: " echo " $ ./bulk-plot [--numpfts N] [--sparse] [--parall...
tobeycarman/dvm-dos-tem
scripts/bulk-plot.sh
Shell
mit
4,670
#!/bin/bash set -e if [ `id -u` = 0 ] ; then echo 'Starting setup...' else echo 'Root privilegies are required, exit.' exit 1 fi apt-get update apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg2 \ software-properties-common curl -fsSL https://download.doc...
ColossusCoinXT/ColossusCoinXT
contrib/docker/setup_docker_debian.sh
Shell
mit
648
### # check if the dotfiles must be recreated ### # Check both ~/.dotfiles and ~/.bash_profile as we # don't want to run if the user has “old style” dotfiles. if [ -d ~/.dotfiles ] || [ -f ~/.bash_profile ]; then return fi ### # pre-clone ### # Prepare GnuPG homedir export GNUPGHOME=$(mktemp -d --tmpdir gpg.XXXX...
hashbang/shell-etc
profile.d/dotfiles.sh
Shell
mit
1,418
#!/usr/bin/env bash echo "This is on the standard OUTPUT" echo "This is on the standard ERROR" >&2 echo "This is on the standard OUTPUT too" echo "This is on the standard ERROR too" >&2
lbriais/easy_app_helper
test/process/test.sh
Shell
mit
188
#! /bin/bash cwd=`pwd` if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi chmod +x *.sh read -p "Would you like to add always-on monitoring (y/N)? " monitor_axela case ${monitor_axela} in [yY] ) echo "monitoring WILL be installed." ;; * ) echo "monitoring will NO...
artiya4u/Axela
setup.sh
Shell
mit
1,505
#!/bin/bash -e pip freeze | grep -q Sphinx || pip install Sphinx pushd docs make clean make html popd rm -rf docs/linux mv docs/_build/html docs/linux echo 'Done!'
Fewbytes/rubber-docker
mkdocs.sh
Shell
mit
168
#!/bin/bash for f in *.dot do dot -Tpng $f -o ../images/${f/dot/png} done
drBenway/siteResearch
dot files/dotfiles.sh
Shell
mit
79
#!/usr/bin/env bash print_stderr "Running installation for sudo." apt-get -y install sudo readonly INSTALLATION_STATUS=$? program_exists "sudo" if [[ $? -eq 0 ]]; then print_stderr "Adding [${SCRIPT_INVOKER_USERNAME}] to the sudoer's group." usermod -a -G sudo "${SCRIPT_INVOKER_USERNAME}" else print_stderr "Unable...
nexocentric/dotfiles
installers/sudo.sh
Shell
mit
528
#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export PATH=$PATH:$DIR/java-$(uname -i)/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR/java-$(uname -i)/lib $DIR/java-$(uname -i)/bin/java -Xms128m -Xmx128m -jar $DIR/devicehive-server/devicehive-boot.jar \ -Dspring.datasource.url=jdbc:po...
Nikolay-Kha/devicehive-portable-server
scripts/devicehive.sh
Shell
mit
575
#!/bin/bash # Import all users listed in the IAM UsersGroup and assign each sudo privileges. UsersGroup="" aws iam get-group --group-name "${UsersGroup}" --query "Users[].[UserName]" --output text | while read User; do UserName="$User" # Replace any illegal characters UserName=${UserName//"+"/".plus."} UserN...
ehalpern/aws-ec2-ssh
import_users.sh
Shell
mit
793
#! /usr/bin/bash # 2018年の麻布中学校の入試問題(算数 問4)の解答例です。 # 問題は以下のサイトにあります。 # https://www.inter-edu.com/nyushi/azabu/ ruby -e "r=->(a){['+','*','=='].repeated_permutation(a.size-1).map{|x|a.zip(x).join}.select{|s|s.count('=')==2&&eval(s)}};p r[[1,4,5,6,7,8]];p r[[2,3,5,7,11,13,17]]"
zettsu-t/examQuestions
2018math.sh
Shell
mit
355
#!/usr/bin/env bash echo "Attempting to process data..." echo "\n(1/7) Removing unnecessary columns from accidents data..." python3 1_remove_accidents_columns.py echo "\n(2/7) Renaming streets, dropping uncertain road-addresses..." python3 2_modify_road_usages_names.py echo "\n(3/7) Dropping somewhat duplicate road...
IntroDS2017/TrafficAccidents
process_data.sh
Shell
mit
1,044
#!/bin/bash # Set up to Git er goin! # Git er goin if ! [[ -f $DOT_ROOT/git/gitconfig.symlink ]]; then question 'First, what is your github user name?' read -e git_user_name question 'Thanks! Now, what is your github user email?' read -e git_user_email sed -e "s/USER_NAME/$git_user_name/g" -e "s/USER_EMAIL/...
dsgrant/dotfiles
git/init.sh
Shell
mit
972
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2012:0144 # # Security announcement date: 2012-02-17 11:51:47 UTC # Script generation date: 2017-01-11 21:23:59 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - flash-plugin.i686:10.3.183.15-1.el6 # #...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2012/RHSA-2012:0144.sh
Shell
mit
725
#!/bin/bash ~/Android/Sdk/emulator/emulator -avd PhoneAPI23 > /dev/null 2>&1htop adb reverse tcp:7007 tcp:7007 npm run storybook xdg-open http://localhost:7007/
timLoewel/sites
runStorybook.sh
Shell
mit
162
#!/bin/sh # # Note runlevel 2345, 86 is the Start order and 85 is the Stop order # # chkconfig: 2345 86 85 # description: phpsock library server daemon export PHPSOCK_HOME=/home/phpsock export PHPSOCK_LOGS=/var/log/phpsock-broker export PHPSOCK_USER=nginx export PHPSOCK_GROUP=nginx export PATH=$PATH:/usr/local/bin ex...
dvorakjan/phpsock-broker
bin/initScript.sh
Shell
mit
1,323
#!/bin/bash WGET=$(which wget) CURL=$(which curl) SUDO=$(which sudo) CHMOD=$(which chmod) TEE=$(which tee) CP=$(which cp) SERVICE=$(which service) CERTS_URL="https://raw.githubusercontent.com/kennedyj/nagios-check-apache-certs/master/check_apache_certs.sh" BALANCER_URL="https://raw.githubusercontent.com/kennedyj/nagi...
kennedyj/nagios-apache-checks
bin/install.sh
Shell
mit
1,584
#!/usr/bin/env bash function _exists () { local thefile=${1} if [ -z ${thefile} ]; then echo "Expected a path as first parameter, got none" >&2 return 1 fi if [ ! -f ${thefile} ] && [ ! -d ${thefile} ]; then echo "Invalid path: ${thefile}" >&2 return 2 fi if [ !...
aphran/vscripts
vm-manage.sh
Shell
mit
3,819
#!/bin/bash # # Creates CoreOS cluster on GCE. # PROJECT_NAME=henrik-jonsson # GCE project, with billing enabled ZONE=europe-west1-b # GCE zone MACHINE_TYPE=f1-micro # GCE machine type #MACHINE_TYPE=n1-standard-1 # All valid images can be shown with: # gcloud compute images list --project coreos-cloud gcl...
hkjn/junk
coreos/gce/create_cluster.sh
Shell
mit
605
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2782-1 # # Security announcement date: 2015-10-27 00:00:00 UTC # Script generation date: 2017-01-01 21:04:51 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - apport:2.0.1-0ubuntu17.13 # # Last v...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2015/USN-2782-1.sh
Shell
mit
622
#!/bin/bash # when we get tags, make it possible to get a cleaner output, like the # current release (tag) printf "%q\n" "$( git log \ --pretty="format:%ci, author: \"%aN\" <%aE>, commit: %h" -1 "${1}" || \ echo no git \ )"
fofoni/openwar
get-git-version.sh
Shell
mit
234
#!/usr/bin/env bash python3 anagrams.py rats | diff ../test/rats_heap_expected - && \ python3 anagrams_itertools.py rats && \ python3 animals.py && \ python3 basic_iterables.py && \ python3 custom_iterable.py && \ python3 custom_type.py && \ python3 early_declaration_error.py && \ python3 -m py_compile genexp.py && \ p...
rtoal/polyglot
python/test.sh
Shell
mit
1,117
#!/bin/sh # # # originally contributed by @rbuffat to Toblerity/Fiona set -e GDALOPTS=" --with-ogr \ --with-geos \ --with-expat \ --with-pg \ --without-libtool \ --with-libtiff=internal \ --with-geotiff=internal \ --without-gif \ ...
smnorris/pgdb
scripts/travis_gdal_install.sh
Shell
mit
2,074
#!/bin/bash hash 'pico2wave' 2>/dev/null || { dialog_yesno "SVOX Pico doesn't seem to be installed.\nDo you want to install it?" true >/dev/null && { if [[ "$platform" == "linux" ]]; then echo -e "Updating..." sudo apt-get -qq update || exit 1 echo -e "Upgrading..." ...
alexylem/jarvis
tts_engines/svox_pico/main.sh
Shell
mit
918
#!/bin/sh node-debug code1.js
hansrwindhoff/NodeJsDebugging
2 and for node/runnodeinspector.sh
Shell
mit
30
#!/usr/bin/env bash DOMAIN=$1 WWW=$2 DOCKER_MACHINE_VERSION=`docker-machine --version` LETSENCRYPT_MACHINE="letsencrypt.hw.dnt.no" CERTS_DIR=`pwd`/ssl-certs CERT_FILE=${CERTS_DIR}/${DOMAIN}.pem USAGE="""Usage: $0 <domain name> [www]\n\nInclude the [www] argument to add www.<domain name> to the certificate""" if [ -z...
Turistforeningen/sherpa-prod
haproxy/issue-certificate.sh
Shell
mit
2,444
echo "${YELLOW}Checking air updates...${TXTRESET}" cd $HOME git clone https://github.com/digitoimistodude/air cd $STARTER_THEME_PATH_TEMP git stash git pull echo "${YELLOW}Copying starter theme to project folder ${PROJECTS_HOME}/${PROJECT_NAME}/content/themes/${THEME_NAME}${TXTRESET}" cp -R ${STARTER_THEME_PATH_TEMP} $...
digitoimistodude/air
bin/tasks/get-theme.sh
Shell
mit
429
#!/bin/bash while : do echo "Press [CTRL+C] to stop.." sleep 10 done
zmarkan/breaking_bash
waldo.sh
Shell
mit
71
#!/bin/bash export JAVA_OPTS="${JAVA_OPTS} -javaagent:${AGENT_PATH}" /entrypoint.py
mritd/dockerfile
jira/hijack.sh
Shell
mit
86
#!/bin/bash echo "YeAPF 0.8.53 shipping js parts"; echo "Copyright (C) 2004-2017 Esteban Daniel Dortta - dortta@yahoo.com"; tmp=`mktemp` echo "Generating 7 years license..." license=`php tools/ylicenseExpiration.php +2555 | grep x58e1` cat skel/webApp/yeapf.db.ini | sed "s/x58e1d9ca63ef85abef352d3306a6fac3=.*/$license...
EDortta/YeAPF
0.8.53/tools/ship-js.sh
Shell
mit
1,093
#!/usr/bin/env sh # generated from catkin/cmake/template/setup.sh.in # Sets various environment variables and sources additional environment hooks. # It tries it's best to undo changes from a previously sourced setup file before. # Supported command line options: # --extend: skips the undoing of changes from a previou...
wxue/sddr_ws
devel/setup.sh
Shell
mit
2,533
#!/bin/sh prog=lowpass2ndOrderCascade_socp_test.m depends="lowpass2ndOrderCascade_socp_test.m \ test_common.m stability2ndOrderCascade.m print_polynomial.m print_pole_zero.m \ lowpass2ndOrderCascade_socp.m x2tf.m casc2tf.m tf2casc.m qroots.m qzsolve.oct" tmp=/tmp/$$ here=`pwd` if [ $? -ne 0 ]; then echo "Failed pwd"...
robertgj/DesignOfIIRFilters
test/00/t0030a.sh
Shell
mit
1,811
#!/bin/bash #SBATCH --partition=mono #SBATCH --ntasks=1 #SBATCH --time=4-0:00 #SBATCH --mem-per-cpu=8000 #SBATCH -J Deep-DAE_SDAE_4_inc_bin_CAE_tanh #SBATCH -e Deep-DAE_SDAE_4_inc_bin_CAE_tanh.err.txt #SBATCH -o Deep-DAE_SDAE_4_inc_bin_CAE_tanh.out.txt source /etc/profile.modules module load gcc module load matlab c...
aciditeam/matlab-ts
jobs/deepJobs_DAE_SDAE_4_inc_bin_CAE_tanh.sh
Shell
mit
605
python select_top_decoded.py $1 $2 #python select_top_decoded.py /mnt/vol/gfsai-east/ai-group/users/jiwei/Generation/conversation/data/decode/dialogue_BS_four_iter1_Bsize1.txt top_response_four_index_iter1.txt #python NumToString.py movie_25000 top_response_four_index_iter1.txt top_response_four_word_iter1.txt #pyth...
jiweil/Neural-Dialogue-Generation
Distill/extract_top/select_top_decoded.sh
Shell
mit
1,178
virt-clone -o w7-base -n w7-off2007 -f /home/vmiklos/virt/w7-off2007/w7-off2007.img --connect=qemu:///system
vmiklos/vmexam
virt/clone-w7-off2007.sh
Shell
mit
109
#!/bin/bash SCRIPT_NAME=$(basename $BASH_SOURCE) SCRIPT_LOGFILE="./logs/"$(basename -s .sh $BASH_SOURCE)".log" SCRIPT_ENVFILE="./logs/"$(basename -s .sh $BASH_SOURCE)".env" mkdir -p ./logs && chmod 755 ./logs echo "running "$SCRIPT_NAME # tested: works on ubuntu 14.04.3 gnome # checking nodejs if hash apm 2>/dev/n...
dchapkine/ubuntu-desktop-post-install
install_nuclide.sh
Shell
mit
495
docker start damianmacgithubio_web_1
DamianMac/damianmac.github.io
start.sh
Shell
mit
36
#!/bin/bash # A small script to automate installation of dependencies DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$DIR/../.." catkin_make || true sudo apt-get update source ./devel/setup.sh rosdep update rosdep -y install igvc sudo apt-get -y install qt5-default wget expect wget https://files.gitte...
nareddyt/igvc-software
util/indigo-setup.sh
Shell
mit
1,021
#!/bin/bash set -e # Upgrade the Package Manager Sources sudo apt-get -y upgrade # Update the Package Manger Sources sudo apt-get -y update # Install Common Packages sudo apt-get -y install software-properties-common zip unzip libssl-dev openssl wget build-essential cmake # Removing any pre-installed ffmpeg and x26...
chaosmail/sh-install
dist/opencv.sh
Shell
mit
1,924
# npm install --save-dev electron-rebuild # Every time you run "npm install", run this: ./node_modules/.bin/electron-rebuild
ShahNewazKhan/ai8
npm-prerun.sh
Shell
cc0-1.0
125
#!/bin/bash base="graphviz-web" git_repo=${base}-static OUT=output_$git_repo >$OUT cd /home/gviz rm ${git_repo}.tgz >> $OUT 2>&1 rm doc.tgz >> $OUT 2>&1 #Set timestamps, create compressed file bin/git_archive_static.sh $git_repo >> $OUT 2>&1 if [ ! -s $OUT ] then rm $OUT fi
ellson/graphviz-build
hg/bin/git_get_static_tgz.sh
Shell
epl-1.0
280
#/bin/sh menu() { echo ' ============================================================ | Utility Menu | | 1. kodi (xbmc media center) | | 2. links (browser with gui) | | 3. w3m (browser w/o gui) ...
samuelchen/code-snippets
raspbian/menu.sh
Shell
gpl-2.0
1,989
# Prints the bitcoin price in dollars # Requires curl cli installed (you can change curl to wget with similar results). # Originally based on the wan_ip checker, so it only checks once a minute. # Uses the Coinbase.com api. There are plenty of other API's available. # By: Steve Cook <booyahmedia@gmail.com> # Github: R...
RevBooyah/tmux-powerline-bitcoin
bitcoin.sh
Shell
gpl-2.0
1,931
#!/bin/sh # # To add new binary into initrd, you need to update the command in # make_initrd() function # usage="usage: update_img.sh [option] -h print this help message -f update floppy disk -d update hard disk -a update both floppy and hard disk" tool_path="tools/make_initrd" image_dir="images" mnt...
Ted-Chang/matrix
update_img.sh
Shell
gpl-2.0
2,638
# (c) 2014-2015 Sam Nazarko # email@samnazarko.co.uk #!/bin/bash . ../common.sh # Build in native environment if [ $1 == "rbp1" ]; then pull_source "https://github.com/bavison/arm-mem/archive/cd2c8f9202137c79f7afb77ecb87e713a0800d3c.zip" "$(pwd)/src"; fi if [ $1 == "rbp2" ]; then pull_source "https://github.com/bavis...
ojengwa/osmc
package/rbp-armmem-osmc/build.sh
Shell
gpl-2.0
970
#!/bin/sh function repo_clean { REPO_DIR=/etc/zypp/repos.d/ TMP_DIR=${REPO_DIR}/old/ mkdir -p ${TMP_DIR} for REPO_FILE in `ls -1 ${REPO_DIR}/*.repo`; do rpm -qf ${REPO_FILE} &> /dev/null if [ $? -eq 1 ]; then echo "Moving ${REPO_FILE} to ${TMP_DIR}." mv ${REPO_FILE} ${TMP_DIR} fi do...
giucam/ssu
tools/ssu-repos.sh
Shell
gpl-2.0
417
#!/system/bin/sh # # Copyright (c) 2015 Javier Sayago <admin@lonasdigital.com> # Contact: javilonas@esp-desarrolladores.com # # 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.a...
javilonas/Lonas_KL-SM-G901F
ramdisk/init.post-modules.sh
Shell
gpl-2.0
1,765
#!/bin/bash BINPATH=`dirname $0` python "$BINPATH/../ginn/main.py" $@
pacoqueen/ginn
bin/ginn.sh
Shell
gpl-2.0
71
#!/bin/bash # funcoeszz # vim: noet noai tw=78 # # INFORMAÇÕES: http://aurelio.net/zz # NASCIMENTO : 22 fevereiro 2000 # AUTORES : Aurélio Marinho Jargas <verde (a) aurelio net> # Thobias Salazar Trevisan <thobias (a) lcp coppe ufrj br> # DESCRIÇÃO : Funções de uso geral para bash[12], que buscam infor...
edersg/website
download/funcoeszz-4.0219.sh
Shell
gpl-2.0
67,720
#!/bin/bash -e # # Script to upload tarball of assembly build to static.druid.io for serving # s3cmd put services/target/druid-services-*-bin.tar.gz s3://static.druid.io/artifacts/releases/
guod08/druid
upload.sh
Shell
gpl-2.0
191
#!/bin/sh # # Copyright (C) 2010-2012 Internet Systems Consortium, Inc. ("ISC") # # 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 notice and this permission notice appear in all copies. # # THE SOFTWARE IS P...
phra/802_21
myODTONE/app/dhcp_usr/libs/bind/bind-9.8.4-P1/bin/tests/system/dlz/tests.sh
Shell
gpl-2.0
1,580
#!/bin/bash # this file is to install SAT-Assembler in the current folder. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR chmod 755 hmmer3_pipeline.sh chmod 755 parse_hmm_files.py chmod 755 metadomain.py chmod 755 check_python_packages.py chmod 755 analyze_hmmscore_file.py chmod 755 HMMSCORE/hmmscore ...
zhangy72/SALT
chmod_scripts.sh
Shell
gpl-2.0
321
#! /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 ...
Starlink/automake
t/tap-planskip-and-logging.sh
Shell
gpl-2.0
1,778
#!/bin/bash # # Copyright (C) 2020 Google LLC # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is dist...
wdebruij/kerneltools
tests/csum.sh
Shell
gpl-2.0
2,416
#!/bin/bash # # permfix.sh # # Copyright 2015 Antônio Sérgio Garcia Ferreira <serginho@serginho-desktop> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, o...
antoniosergius/sh
permfix.sh
Shell
gpl-2.0
2,790
#! /bin/sh # # autogen.sh - GNU build system preparation for Lightning. # Copyright (C) 2003 - 2004 Tuomo Venäläinen # # See the file COPYING for information about using this software. # # This module uses the following GNU tools: Automake, Autoconf, gettext, # intltool, and libtool. # # <WARNING> # - do NOT use the -C...
vendu/Resurrection
sh/autogen.sh
Shell
gpl-2.0
32,471
#!/bin/bash # $Id: sfdisk_lvm_vg.sh 633 2013-01-19 19:50:41Z tbr $ # # (c) Thorsten Bruhns (tbruhns@gmx.de) # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or #...
Rendanic/oracleToolbox
Linux/fdisk/sfdisk_lvm_vg.sh
Shell
gpl-2.0
4,207
#!/bin/sh ############################################################################### # HARDENED RHEL DVD CREATOR # # This script was written by Frank Caviggia, Red Hat Consulting # Last update was 23 July 2015 # This script is NOT SUPPORTED by Red Hat Global Support Services. # Please contact Josh Waldman for more...
stephenwb/ssg-el7-kickstart
createiso.sh
Shell
gpl-2.0
3,658
##!=======================>> FUNCTiONS <<=======================!## base_install() { # install dependencies COMMON="apache2-utils autoconf automake binutils bzip2 ca-certificates cpp curl fail2ban file gamin gcc git-core gzip htop iptables libexpat1 libtool libxml2 m4 make openssl patch perl pkg-config python python-g...
mcipovic/Fangspitzen
includes/functions.sh
Shell
gpl-2.0
12,207
#!/bin/sh [ -f CImg.h ] && rm CImg.h wget -c https://raw.githubusercontent.com/dtschump/CImg/master/CImg.h -O - | gunzip - > CImg.h
BoboTiG/docolav
src/maj-cimg.sh
Shell
gpl-2.0
132
source lab.conf # download all needed config files wget http://tfindelkind.com/wp-content/uploads/2015/09/sndk-ifos-1.1.0.03.tar.gz #change file permission which git does not preserver chmod 0400 $STUDENT.pem # change hostname sudo /bin/su -c "echo ceph-admin > /etc/hostname" sudo hostname ceph-admin # enable passw...
Tfindelkind/ceph-on-AWS
setup_ceph-admin.sh
Shell
gpl-2.0
3,411
#!/bin/bash # # @ guy maurel # 28. 11. 2016 # # It is not enought to test how uncrustify is running with lot of examples. # It is necessary to test if uncrustify can run properly. # The last changes of code (November 2016) show some more problems. # So it is necessary to test some more. # It might be usefull to complet...
MeteorAdminz/uncrustify
scripts/Test_more_Options.sh
Shell
gpl-2.0
5,467
rm -f arch/trimedia/bsp/intfs/Itmosal rm -f arch/trimedia/bsp/intfs/ItmbslPhy rm -f arch/trimedia/bsp/tmBootInfo/tmBootInfo.c rm -f arch/trimedia/bsp/tmBootInfo/tmBootInfoCommon.h rm -f arch/trimedia/bsp/tmBootInfo/tmMemUncached.c rm -f arch/trimedia/bsp/tmBootInfo/tmBootInfoUtil.c rm -f arch/trimedia/bsp/tmBootIn...
camelguo/linux-2.6-trimedia
scripts/cleanup_ndk.sh
Shell
gpl-2.0
2,777
#/bin/sh echo "Creating Filesystem..." ./scripts/make_ev3_os_EDU.sh echo "Creating Image..." ./scripts/make_image.pl
EAVR/EV3.14
ev3sources/lms2012/open_first/make_image_EDU.sh
Shell
gpl-2.0
119
#!/bin/bash ########################################################################################### ## Copyright 2003, 2015 IBM Corp ## ## ## ## Redistribution and use in s...
PoornimaNayak/autotest-client-tests
linux-tools/libcroco/libcroco.sh
Shell
gpl-2.0
4,509
#!/bin/bash if [ ! -f /.run-rabbitmq-server-firstrun ]; then # TBD #PASS=`pwgen -s 12 1` PASS="guest" cat >/etc/rabbitmq/rabbitmq.config <<EOF [ {rabbit, [{default_user, <<"admin">>}, {default_pass, <<"$PASS">>}]} ]. EOF echo "set default user = admin and default password = $PASS" # add the vhost (sleep 10 &...
RHEMS-Japan/LogSystem
run-rabbitmq-server.sh
Shell
gpl-2.0
512
#!/bin/bash echo ">> Dropping caches" sudo sh -c 'echo 3 >/proc/sys/vm/drop_caches' echo ">> Running program" SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" # allow running from other dirs $SCRIPTPATH/rpcf
davidag/systems-performance
run_rpcf.sh
Shell
gpl-2.0
210
#!/bin/sh #################################################################### # QJ1520265 project - source code and support files for OGC WMS and # WPS implementation http://rain.fsv.cvut.cz # # Purpose: install software requirements # Author: Martin Landa <martin.landa fsv.cvut.cz> # Licence: see LICENCE file for de...
ctu-osgeorel/subdayprecip-design
install.sh
Shell
gpl-2.0
1,245
#!/bin/bash set -e cat << EndOfMessage _ __ __ __ __ | | / /____ _____ / /__ / /_ ____ ____/ / | | / // __ \ / ___// //_// __ \ / __ \ / __ / | |/ // /_/ /(__ )/ ,< / / / // /_/ // /_/ / |___/ \____//____//_/|_|/_/ /_/ \____/ \__,_/ ¤ De novo assembly / Trinity wrapper ...
egeeamu/voskhod
03_denovo_assembly.sh
Shell
gpl-3.0
11,386
#!/bin/sh # Show that mv doesn't preserve links to files the user has declined to move. # Copyright (C) 2002-2018 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,...
pexip/os-coreutils
tests/mv/i-link-no.sh
Shell
gpl-3.0
1,302
#!/usr/bin/env bash cd ../bin ./TravellerProblem_Evolutive_Computing ./arguments/distancias_ce_10_2016.txt ./arguments/aleatorios_ce_10_2016.txt > ./ultimaTraza.txt cat ./ultimaTraza.txt echo "---------FIN DE LA SALIDA DEL PROGRAMA---------" echo "Ejecutando diff entre la traza generada y la del campus virtual: " diff...
Jazzzy/TravellerProblem
EC/evolutiveComputing/scripts/run.sh
Shell
gpl-3.0
413