code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
#!/bin/bash # Set up sudo echo %ubuntu ALL=NOPASSWD:ALL > /etc/sudoers.d/ubuntu chmod 0440 /etc/sudoers.d/ubuntu # Setup sudo to allow no-password sudo for "sudo" usermod -a -G sudo ubuntu # Installing ubuntu keys mkdir /home/ubuntu/.ssh chmod 700 /home/ubuntu/.ssh cd /home/ubuntu/.ssh wget --no-check-certificate 'h...
reoring/packer-ubuntu-13.04-docker
scripts/vagrant.sh
Shell
mit
554
#!/bin/bash # Copyright (c) 2016 Joji Doi # This script is only for development deploy bubble3/tmp/20160723_220500.tgz to /var/www/html/bubble3 # Run this script in bubble3/bin/ BIN_DIR=$(pwd) WORK_DIR=$(dirname "${BIN_DIR}") LATEST_BUILD=$(ls -t ${WORK_DIR}/tmp | head -1) DESTINATION=/var/www/html/bubble3 cd ${DESTIN...
do-i/bubble3
bin/dev-deploy.sh
Shell
mit
615
#!/bin/bash # # Description : Install Webdav for Apache # Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com) # Version : 0.7 (14/May/14) # # Thks to : https://www.alvaroreig.com/como-configurar-unservidor-webdav-en-la-raspberry-pi/ # https://www.instructables.com/id/Apache-SSL-WebDav-Se...
jmcerrejon/PiKISS
scripts/server/webdav.sh
Shell
mit
4,445
#!/usr/bin/env bash #!/usr/bin/env bash set -e mkimg="$(basename "$0")" usage() { echo >&2 "usage: $mkimg [-d dir] [-t tag] [--compression algo| --no-compression] mkimage-arch repo_date" echo >&2 " ie: $mkimg mkimage-arch 2016/04/05" exit 1 } scriptDir="$(dirname "$(readlink -f "$BASH_SOURCE")")/mkimage" optTe...
imriss/rarchlinux
runimage.sh
Shell
mit
2,877
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2010:0861 # # Security announcement date: 2010-11-10 19:31:57 UTC # Script generation date: 2017-01-25 21:19:53 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - xulrunner.i686:1.9.2.12-1.el6_0 # - x...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2010/RHSA-2010:0861.sh
Shell
mit
1,738
#!/usr/local/bin/bash python manage.py celery events --camera=djcelery.snapshot.Camera
oca159/cookiecutter-django
{{cookiecutter.project_slug}}/camera.sh
Shell
mit
86
#!/bin/bash th model-1_layer.lua -data '../toy/variable_width_2-4-200k.t7' -hidden 16 \ -batch 16 -rate 0.15 -iter 5 -trained 'trained_model-1_layer-200k' \ -grid 'grid_predictions-1_layer-200k' \ | tee model-1_layer-200k.out
kbullaughey/lstm-play
toys/lstm/model-1_layer-200k.sh
Shell
mit
237
#!/bin/bash # The MIT License (MIT) # # Copyright (c) 2016 Robert Painsi # # 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 us...
robertpainsi/promptig
test/tests/testcase.sh
Shell
mit
1,286
#!/bin/sh echo "Deploy demos and docs to github pages."; mkdir gh_pages; cp -r demo gh_pages/; cp -r dist gh_pages/; cp -r docs gh_pages/; mkdir -p gh_pages/plugins/webrtc; cp -r plugins/webrtc/dist gh_pages/plugins/webrtc/; cp -r plugins/webrtc/docs gh_pages/plugins/webrtc/; mkdir -p gh_pages/plugins/groupchat-receipt...
leancloud/js-realtime-sdk
script/deploy.sh
Shell
mit
1,101
#!/usr/bin/env zsh setopt shwordsplit SHUNIT_PARENT=$0 source ../zit.zsh oneTimeSetUp() { ZIT_MODULES_PATH=$(mktemp -d) } oneTimeTearDown() { rm -rf "${ZIT_MODULES_PATH}" } test_zit_in_zit_lo() { assertTrue "zit-in 'https://github.com/junegunn/fzf' 'fzf'" assertTrue "zit-lo 'fzf' 'shell/completion.zsh'" ...
m45t3r/zit
tests/test_zit_integration.zsh
Shell
mit
2,063
# The MIT License (MIT) # # Copyright (c) 2015 dinowernli # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify...
dinowernli/raytracer
example.sh
Shell
mit
1,304
if [ -d $HOME/Applications ]; then export VIM_APP_DIR=$HOME/Applications fi
cunningham/dotfiles
archive/osx/env.zsh
Shell
mit
79
# Functions for zsh # ######### # Some example functions # function settitle() { echo -ne "\e]2;$@\a\e]1;$@\a"; } function build() { flex -Cf scanner.l; gcc -Wall -O -mno-cygwin -o $1 scanner.c; } function debugflex() { flex -d scanner.l; gcc -mno-cygwin -o $1 scanner.c; } function debugc() { flex scanner.l; gcc -g -W...
srathbun/oh-my-zsh
custom/functions.zsh
Shell
mit
1,204
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3520-1 # # Security announcement date: 2016-03-18 00:00:00 UTC # Script generation date: 2017-01-01 21:07:54 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: armv7l # # Vulnerable packages fix on version: # - icedove:38.7.0-1~deb7u1 # # Last ve...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/armv7l/2016/DSA-3520-1.sh
Shell
mit
1,057
#!/bin/sh # # Copyright (c) 2009 Andreas Liebschner # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, m...
lbsnrs/m4atomp3
m4atomp3.sh
Shell
mit
1,818
#!/usr/bin/env bash if [ -f ./README.md ] && [ -f ./LICENSE ]; then echo "Removing old gem.." gem uninstall -x barnyard2waldo echo "Building gem.." gem build barnyard2waldo.gemspec echo "Installing gem.." gem install barnyard2waldo-`bump current |grep -o [0-9].*`.gem git status echo "Validating gem.." gem li...
shadowbq/barnyard2-waldo
build-gem.sh
Shell
mit
405
#!/bin/bash # This is a pipeline for mapping exons onto transcripts and taking intersection of overlapping exons n_threads=6 best_alignment=True e_val=1e-10 word_size=9 match_score=1 mismatch_score=-1 gapopen=2 gapextend=1 data_path='../sample' echo 'FORMATTING DATABASE' # Format database, i.e. file with gene models...
molecol/targeted-resequencing-with-mips
exon_boundaries_on_transcript/find_exons.sh
Shell
mit
1,329
#!/usr/bin/sh sudo app/console cache:clear sudo chown apache:apache -R app/cache sudo chown apache:apache -R app/logs sudo chmod -R 771 app/cache sudo chmod -R 771 app/logs
Raffaello/symfony2-example
cache.sh
Shell
mit
173
# shellcheck shell=bash function __dotfiles_exports_gnu_utils() { if ! is-command brew; then return fi local -r coreutils_base_path="$(get-brew-prefix-path coreutils)/libexec" local -r sed_base_path="$(get-brew-prefix-path gnu-sed)/libexec" # Update `$PATH`. prepend-to-path "$sed_base_path/gnubin" ...
wesm87/dotfiles
exports/gnu-utils.sh
Shell
mit
517
#!/usr/bin/env bash # # Copyright (c) .NET Foundation and contributors. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. # set -e SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR...
piotrpMSFT/cli-old
scripts/test/smoke-test.sh
Shell
mit
1,325
#!/bin/bash apt-get update --yes apt-get install --yes \ bmon \ build-essential \ colordiff \ colorgcc \ colormake \ colortail \ curl \ fish \ git-all \ git-cola \ git-extras \ git-gui \ git2cl \ gitk \ gitstats \ mercurial \ screen \ subversion \ svn2cl \ tcpdump \ tcpstat \ tmux \ tshark \ w...
peter4strom/devbox
install_base.sh
Shell
mit
324
gcc -c -fpic -O2 ring_libcurl.c -I $PWD/../../language/include gcc -shared -o $PWD/../../lib/libring_libcurl.so ring_libcurl.o -L $PWD/../../lib -lring -L /usr/lib/i386-linux-gnu -lcurl -lssl -lcrypto
ring-lang/ring
extensions/ringcurl/buildgcc.sh
Shell
mit
206
#!/usr/bin/env bash set -e distro=$(uname) function msg_status () { echo -e "\x1B[01;34m[*]\x1B[0m $1" } function msg_good () { echo -e "\x1B[01;32m[*]\x1B[0m $1" } function msg_error () { echo -e "\x1B[01;31m[*]\x1B[0m $1" } function msg_notification () { echo -e "\x1B[01;33m[*]\x1B[0m $1" } msg_st...
philcryer/basejump
src/no-git.sh
Shell
mit
2,085
#!/bin/sh set -e . ./common.sh sudo date > /dev/null sec "Configuring disk image for the cloud" msg "Checking that we have Arch's install scripts" pacman -Qi arch-install-scripts >/dev/null || sudo pacman -S arch-install-scripts # for genfstab and arch-chroot cp bootstrapped.raw archlinux.raw.tmp tmp=$(mktemp -d -...
tchajed/cloud-arch
build.sh
Shell
mit
4,715
#!/bin/sh # # exclude annoying dirs and files on grep # # Author: Yanan Zhao # Date : 2017-01-07 17:18:48 grep -R --color=always --exclude=tags --exclude-dir=tests \ --exclude-dir=datapath-windows \ --exclude-dir=ovn \ --exclude-dir=xenserver \ "$@"
ArthurChiao/code-snippets
shell/utils/grep.sh
Shell
mit
268
#!/usr/bin/env bash ./../rancher-compose --project-name blinkbox \ --url http://192.168.99.100:8080/v1/projects/1a5 \ --access-key FFBB37C775D24D87565E \ --secret-key XBXMKyKwa7FE9ugmJg1nN2WBV39M3awtRQ5M8o2T \ -f docker-compose.yml \ --verbose up \ -d --force-upgrade \ --confirm-upgrade
UNArqui17i-B/deployment
general/deploy.sh
Shell
mit
317
#!/bin/bash rm -fr deploy mkdir -p deploy/mac_os_scripts cp -frv run_*.sh deploy/ cp -frv include.sh deploy/ cp -frv mac_os_scripts/*.py deploy/mac_os_scripts cp -frv mac_os_scripts/external deploy/mac_os_scripts/
initialed85/mac_os_scripts
build.sh
Shell
mit
219
#!/usr/bin/env bash # ~/.macos — https://mths.be/macos # Close any open System Preferences panes, to prevent them from overriding # settings we’re about to change osascript -e 'tell application "System Preferences" to quit' # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` ti...
cyrusstoller/dotfiles
preferences/macos-preferences.sh
Shell
mit
43,921
#!/usr/bin/zsh alias zfrtags='ctags -R --extra=+f .' alias zfrbuild='date; zfrtags; rm -f clean.txt; rm -f build.txt; ./MakeAndTestAll.bat &> build.txt; grep --color=always -in -E "fatal|error|warning|critical|failure" clean.txt build.txt; date;' alias zfrclean='date; rm -f build.txt; ./CleanAll.bat &> clean.txt; date...
therealjumbo/setup_win
dotfiles/work_aliases.sh
Shell
mit
427
#!/bin/bash source variable.sh #################### # # # setup iptables # # # #################### # setup network core configure echo "1" > /proc/sys/net/ipv4/tcp_syncookies echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts for i in /proc/sys/net/ipv4/conf/*/{rp_filter...
herb123456/CentOS-autobuild-script
iptables.sh
Shell
mit
3,467
pkill node
katiewsimon/coffeefilte.red
stop_server.sh
Shell
mit
11
#!/bin/bash # default mode "PROD" CW_MODE=${CW_MODE:-'PROD'} # Valid modes: PROD, WORKER, FAST, DEV if [[ $CW_MODE == 'PROD' || $CW_MODE == 'FAST' ]]; then rm -f /clinwiki/tmp/pids/server.pid fi bundle install echo MODE=$CW_MODE flock -x ./entrypoint.lock bundle exec rake db:create flock -x ./entrypoint.lock bu...
clinwiki-org/clinwiki
compose/entrypoint.sh
Shell
mit
801
set -ex if ! grep --quiet "deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free" /etc/apt/sources.list.d/virtualbox.list; then sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list" wg...
c0state/python-skeleton-for-ci-cd
provisioning/install_virtualbox.sh
Shell
mit
509
#!/bin/bash -le source .rvmrc # install bundler if necessary set -e gem install bundler --no-ri --no-rdoc && bundle install # debugging info echo USER=$USER && ruby --version && which ruby && which bundle bundle exec rspec spec
pivotal/lobot
lib/lobot/templates/default_rails_build_script.sh
Shell
mit
233
#!/bin/bash # #SBATCH --job-name=us_rnn_4 #SBATCH --mem=10000 #SBATCH --partition=titanx-long #SBATCH --output=us_experiment_%A.out #SBATCH --error=us_experiment_%A.err # Log what we're running and where. echo $SLURM_JOBID - `hostname` >> ~/slurm-lstm-jobs.txt module purge module load tensorflow/1.0.0 cd /home/usaxen...
uditsaxena/690N-final-project
slurm_sh/slurm_4.sh
Shell
mit
368
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" # This protects against multiple targets copying the same framework dependency at the same time....
allgamesallfree/ScreenType
Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-frameworks.sh
Shell
mit
4,670
#! /bin/bash export KINDLEGEN=/usr/local/bin/kindlegen echo "Cleaning up..." rm -rf ./build echo "Building API docs..." lein codox echo "Building the Guides..." pushd docs/guides bundle install bundle exec rake compile ls popd mkdir -p ./build/ mv -v docs/guides/_build ./build/ mv -v ./build/_build ./build/guides cp ...
Codamic/hellhound
scripts/deploy_docs.sh
Shell
mit
695
#!/bin/bash ##################################################################### # File: install_registry.sh # Author: Rahul Sharma <rahuls@ccs.neu.edu> # Desc: automates the task of generating self-signed certificates # and placing them in specified locations. The script uses # docker-compose to pull and ...
BU-NU-CLOUD-SP16/Container-Safety-Determination
registry/install_registry.sh
Shell
mit
4,118
#!/bin/bash # -------------------------------------------------------------------------------------------------- # Killing all active agents to start clean. # # Ch.Paus: Version 0.0 (Apr 27, 2015) # ----------------------------------------------------------...
cpausmit/Kraken
agents/killAgents.sh
Shell
mit
1,604
# swap disk, create addition swap space on host # Notes: # https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s2-swap-creating-file.html print_with_head creating swap - run as root swapDestination="/data/swapfile" swapoff $swapDestination ; \rm -rf $swapDestination swapIn...
csap-platform/csap-core
csap-core-service/src/main/resources/csap-templates/shell-scripts/memory-swap.sh
Shell
mit
499
#!/usr/bin/env bash # Provides json.sh # Description Este archivo contiene valores por defecto de variables utilizadas en la instalacion # Repositorio GitHub: https://github.com/dominictarr/JSON.sh # License https://github.com/dominictarr/JSON.sh/blob/master/LICENSE.APACHE2 # h...
diegoangel/people-counter
INSTALL/include/json.sh
Shell
mit
4,825
#!/bin/bash # File: converter_beta.sh # Date: March 20th, 2017 # Time: 22:05:12 +0800 # Author: kn007 <kn007@126.com> # Blog: https://kn007.net # Link: https://github.com/kn007/silk-v3-decoder # Usage: sh converter.sh silk_v3_file/input_folder output_format/output_folder flag(format) # Flag: not define ---- not defi...
kn007/silk-v3-decoder
converter_beta.sh
Shell
mit
4,131
for d in {repository,logic,rest,cassandra,hazelcast,rabbit} do echo "LOGS for $d" docker logs $d echo "" echo "" done
gang-tetris/test-services-integration-test
show_logs.sh
Shell
mit
135
#!/bin/sh # MIT License # # Copyright (c) 2016 Radio Revolt, the Student Radio of Trondheim # # 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 limitat...
RadioRevolt/slack-systemctl
confirm_is_run_as.sh
Shell
mit
1,280
#!/usr/bin/env bash # Grab QR codes from webcam # Grab and save the path to this script # http://stackoverflow.com/a/246128 SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)" SOURCE="$(readlink "$SOURCE")" [[ ...
chrisl8/ArloBot
scripts/getQRcodes.sh
Shell
mit
1,112
#!/usr/bin/env bash # http://askubuntu.com/questions/179628/how-can-i-open-irc-links-in-pidgin-from-chromium sudo cp /usr/share/applications/psi.desktop /usr/share/applications/psi.desktop.orig sudo sed -i 's/Exec=.*/Exec=psi --uri=%U/g' /usr/share/applications/psi.desktop xdg-mime default psi.desktop x-scheme-handler/...
renfeng/xmpp-message
xmpp.sh
Shell
mit
325
#!/bin/sh -e DIR=$PWD check_config_value () { unset test_config test_config=$(grep "${config}=" ${DIR}/patches/defconfig || true) if [ "x${test_config}" = "x" ] ; then echo "echo ${config}=${value} >> ./KERNEL/.config" else if [ ! "x${test_config}" = "x${config}=${value}" ] ; then echo "sed -i -e 's:${test...
datatranslation/linux-dev
tools/config-checker.sh
Shell
mit
59,420
#! mv apply_application_category.php.closed apply_application_category.php mv apply_basetechnology_category.php.closed apply_basetechnology_category.php mv apply_dataset_category.php.closed apply_dataset_category.php mv apply_idea_category.php.closed apply_idea_category.php mv apply_visualization_category.php.closed ap...
LinkedOpenData/challenge2015
docs/previous/challenge2014/open.application.sh
Shell
mit
997
#!/bin/bash # echo "This is a test script" env exit
jkbuster/CI_Test
test_script.sh
Shell
mit
53
#!/bin/sh vows --spec
CyberCRI/KnowNodes
bundledModules/nodemw/run-tests.sh
Shell
cc0-1.0
22
#!/bin/sh export PYTHONPATH=../ python -m doctest ./tests.doctest python -m doctest ../Readme.md
sureshsundriyal/rcu-cache
tests/runtests.sh
Shell
cc0-1.0
99
script/run-test-start-in-docker.sh onyx-jepsen.onyx-basic-test
onyx-platform/onyx-jepsen
script/basic-test.sh
Shell
epl-1.0
63
#!/bin/bash ## # Copyright (C) 2008 by Simon Schönfeld # # 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 progr...
lynxed/ifstatfake
ifstatfake.sh
Shell
gpl-2.0
6,405
#!/bin/bash # # #********************************************************************* # renomme_client_linux_v2.sh # Ce script permet de renommer un client linux # Correction de l'uuid de la partition swap après clonage en fin de script #********************************************************************* # Section ...
jcmousse/clinux
clinuxwin/alancer/renomme_client_linux_v2.sh
Shell
gpl-2.0
3,444
#! /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/remake-deleted-am-subdir.sh
Shell
gpl-2.0
2,061
#!/bin/bash export ARCH=arm export CROSS_COMPILE=/opt/toolchains/arm-eabi-4.4.3/bin/arm-eabi- make countdev_defconfig make -j16 echo Galaxy Grand Kernel OpenSoure by Count
tyler6389/android_kernel_samsung_baffinlte
build.sh
Shell
gpl-2.0
174
#! /bin/bash if [[ $UID -ne 0 ]]; then sudo "$0"; exit 0; fi echo 'Now going to server setup, here we go...' echo '------------------------------------' read -p "THIS SCRIPT WAS MADE AND TESTED FOR *FEDORA 20*!! Are you sure you want to continue? [yn]" answer if [[ $answer = y ]] ; then echo "Okay..." ; fi read -p...
Drybones5/Server-Setup-Scripts
Fedora 20/fedora20setup.sh
Shell
gpl-2.0
7,072
wcl386 makeobj.c ./makeobj c AUDIODCT.KDR ../KDRADICT.OBJ _audiodict ./makeobj f AUDIOHHD.KDR ../KDRAHEAD.OBJ _AudioHeader _audiohead ./makeobj c CGADICT.KDR ../KDRCDICT.OBJ _CGAdict ./makeobj f CGAHEAD.KDR ../KDRCHEAD.OBJ CGA_grafixheader _CGAhead ./makeobj f CONTEXT.KDR ../CONTEXT.OBJ ./makeobj c EGADICT.KDR ../KDRED...
sparky4/owkeen
static/make.sh
Shell
gpl-2.0
624
#!/bin/bash DUMP=$1 DIRJACKRABBIT=/usr/local/jackrabbit/develop if [ -f $DUMP ]; then echo "start import Jackrabbit database" sudo rm -rf $DIRJACKRABBIT/jackrabbit/* sudo tar -zxf $DUMP -C $DIRJACKRABBIT sudo chmod -R 777 $DIRJACKRABBIT/jackrabbit echo "Jackrabbit database imp...
gvandencruche/project_symfony
provisioners/shell/plateform/importJR.sh
Shell
gpl-2.0
406
#!/usr/bin/env sh if command -v rst2html.py >/dev/null 2>&1 then rst2html.py \ '--input-encoding=UTF-8:strict' \ '--embed-stylesheet' \ '--stylesheet-path=stylesheet.css' \ -- "${1}" "${2}" exit fi if test -r "${2}" then echo "warning: using existing ${2} since rst2html.py is not available" >&2 touch "${2}" |...
BackupTheBerlios/eix
doc/call_rst2html.sh
Shell
gpl-2.0
426
#!/bin/sh ../../spidir \ -p ../data/flies.nt.param \ -S ../data/flies.smap \ -s ../data/flies.stree \ -a ../data/0.nt.align \ -o ../output/fly \ --search climb \ -D 0.2 \ -L 0.19 \ -V 2 \ -i 100 \ --correct ../data/0.nt.tree $*
mdrasmus/spimap
test/scripts/old/fly_test.sh
Shell
gpl-2.0
274
#! /bin/sh # Copyright (C) 2012-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; either version 2, or (at your option) # any later version. # # This program ...
komh/automake-os2
contrib/t/parallel-tests-html-recursive.sh
Shell
gpl-2.0
3,497
#!/bin/bash # Useage: qsub parallel_mpich2_smpd.sh # Output: <JOB_NAME>.o<JOB_ID> # Lines begin with "#$" are to set qsub parameters. # Lines begin with "#" except "#!" and "#$" are comments. #$ -S /bin/bash #$ -cwd #$ -m beas #$ -j y ###$ -v PATH,LD_LIBRARY_PATH,MPIEXEC_RSH=/usr/bin/rsh,MPI_HOME #$ -v PATH,LD_LIBRAR...
IFDYS/IO_MPI
parallel_mpich2_smpd.sh
Shell
gpl-2.0
1,352
#!/bin/sh # add printer to cups printer_name="" printer_fname="" printer_loc="" loop="y" creatsvcfile="" while [ $loop == "y" ] || [ $loop == "Y" ] do echo "Printer Display Name: (This should be human-readable)" read printer_name echo "Printer filename: (This cannot have spaces)" read printer_fname echo "Printer...
alexvirital/osx-scripts
add_cups_printer.sh
Shell
gpl-2.0
2,270
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2010-2022 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
gittup/tup
test/t7035-move-dir-out2.sh
Shell
gpl-2.0
1,262
VFD=../mtximage # change VFD to YOUR virtual fd echo "--------------------- make $1 -----------------------" as86 -o user.o user.s bcc -c -ansi $1.c ucode.c ld86 -o $1 user.o $1.o ucode.o ../mtxlib /usr/lib/bcc/libc.a if [ -f $1 ]; then echo "*** Copy to disk ************************************" sudo mou...
fossum/wsu_cs460
lab6/USER/make.sh
Shell
gpl-2.0
489
#!/bin/sh ################################################################################ ## ## ## Copyright (c) International Business Machines Corp., 2009 ## ## ...
anthony-kolesov/arc_ltp
testcases/kernel/security/p9auth/p9unpriv.sh
Shell
gpl-2.0
2,036
#!/bin/bash git status | head -n 1 | grep "branch master" > /dev/null; if [ "$?" != "0" ];then echo "not allowed for non master branch"; exit 0; fi cwd=`pwd` ./utils/importTemplatesOnlyNew.sh spanish; /usr/sbin/unxsRAD ProcessJobQueue; cd /var/local/unxsRAD/apps/unxsAK; export CGIDIR=/var/www/cgi-bin; export unxs...
unxs0/unxsVZ
unxsRAD/InstallInterfaceSpanish.sh
Shell
gpl-2.0
420
#!/bin/bash #Generate a list of all of the pictures for the lock screen. PICT=$(for i in `ls /home/dwalton/background/`; do echo /home/dwalton/background/$i; done | sort -R | head -1); #now to lock the screen. feh --bg-scale $PICT;
plainenough/linux_tools
bg.sh
Shell
gpl-2.0
238
#! /bin/bash #echo begining # set as=$#argv filename="http://m.cricbuzz.com/interview/playerlist" wget --quiet -O relative $filename while : do echo "Menu" echo "1. Players name" echo "2. Country" echo "3. Role" echo "4. Players having no.of matches greater than given number in ODIs " echo "5. Pl...
DushyantSahoo/playerinfo-extractor
ass2.bash
Shell
gpl-2.0
6,262
#!/bin/sh # Copyright (C) 2011 OpenWrt.org UCIDEF_LEDS_CHANGED=0 ucidef_set_led_netdev() { local cfg="led_$1" local name=$2 local sysfs=$3 local dev=$4 uci -q get system.$cfg && return 0 uci batch <<EOF set system.$cfg='led' set system.$cfg.name='$name' set system.$cfg.sysfs='$sysfs' set system.$cfg.trigger='...
zoyi/openwrt-ar71xx
package/base-files/files/lib/functions/uci-defaults.sh
Shell
gpl-2.0
4,444
#!/bin/sh # # Copyright (c) 2007 Johannes Schindelin # test_description='Test shared repository initialization' . ./test-lib.sh # User must have read permissions to the repo -> failure on --shared=0400 test_expect_success 'shared = 0400 (faulty permission u-w)' ' mkdir sub && ( cd sub && git init --shared=0400 )...
vmiklos/gsoc2008
t/t1301-shared-repo.sh
Shell
gpl-2.0
2,320
#!/bin/sh B2G_HOME=$(pwd) DBG_CMD="" if [ x"$DBG" != x"" ]; then DBG_CMD="gdb -args" fi TAIL_ARGS="" if [ x"$GDBSERVER" != x"" ]; then TAIL_ARGS="$TAIL_ARGS -s -S" fi ${DBG_CMD} $B2G_HOME/glue/gonk/out/host/linux-x86/bin/emulator \ -kernel $B2G_HOME/boot/kernel-android-qemu/arch/arm/boot/zImage \ -sysdir ...
prajitdatta/OS-Testphas
emu.sh
Shell
gpl-2.0
620
############# ### This file defines functions required for printing text in color ############# # Color code constants # NOTE: These colors may not appear as their descriptions here under different terminals and terminal themes. # For example, on gnome-terminal LIGHTGREEN actually appears same as green with bold font....
Kshitiz-Sharma/BashFramework
scripts/system/echo.sh
Shell
gpl-2.0
3,156
# Modify the variables below to match your project. # This specifies the main site name in provisioning. site_name='WordPress Multisite Subfolder - Not built yet (stable)' # This sets up the name of the DB and the user and password for the DB. database='wordpress_mupre' dbuser='wp' dbpass='wp' # The site details for...
wpsmith/vagrant
wordpress-mupre/site-vars.sh
Shell
gpl-2.0
446
#!/bin/sh # Certain parts of this could be a lot better. # The header doc parser -> db script will actually check modification # date/times of the header file vs. whats in the database, which # was added to do make style only update on change. But the whole # thing, from db creation, parsing, to generating the html ...
beinstein/baseten
Contrib/RegexKit/RegexKit-0.6.0-source/Source/Documentation/Scripts/buildDocSet.sh
Shell
gpl-2.0
9,045
convert images/OCS-584-A.png -crop 1556x4620+119+281 +repage images/OCS-584-A.png # # #/OCS-584.png convert images/OCS-584-B.png -crop 1543x4602+91+277 +repage images/OCS-584-B.png # # #/OCS-584.png
jonnymwalker/Staroslavjanskij-Slovar
scripts/cropedges.OCS-584.sh
Shell
gpl-2.0
199
# 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 ALLOW action and export the IDs to a text file sudo aws ec2 describe-security-groups --filters Name=tag:open-ssh-time,Values=05-00 Name=...
STARTSPACE/aws-access-to-ec2-by-timetable
ssh-22/allow-ad/ssh-allow-ad-05.sh
Shell
gpl-2.0
797
#!/bin/bash F_SOURCE=$1 D_TARGET=$2 if [ ! ${NAME} -o ! ${D_TARGET} ]; then echo 'usage: "main.sh <logFile> <targetDir>"' exit fi if [ -a ${D_TARGET} ]; then echo 'target directory is existing, exiting.' exit fi mkdir -p ${D_TARGET} F_LOG=${D_TARGET}/benchmark.log F_DATA=${D_TARGET}/requests.dat F_ERR=${D_TA...
sebschlicht/bachelor-thesis
plotting/extract-log.sh
Shell
gpl-2.0
1,742
#!/bin/bash # # Run select tests by setting ONLY, or as arguments to the script. # Skip specific tests by setting EXCEPT. # # Run test by setting NOSETUP=true when ltest has setup env for us set -e #kernel 2.4.x doesn't support quota K_VER=`uname --kernel-release | cut -b 1-3` if [ $K_VER = "2.4" ]; then echo "Ker...
hpc/lustre
lustre/tests/sanity-quota.sh
Shell
gpl-2.0
76,131
#!/bin/bash ##################################################################### # # The intent here is to kick off a series of events based on the # exit code provided by uTorrent. # # The first script removes the completed torrent from uTorrent. # # The second script will process the files that uTorrent just # fin...
slamdf150xc/Media_Center_Automated_Install
post_uTorrent.sh
Shell
gpl-2.0
2,053
#!/bin/bash # 1H - hawk_install.sh Copyright(c) 2010 1H Ltd. # All rights Reserved. # copyright@1h.com http://1h.com # This code is subject to the 1H license. Unauthorized copying is prohibited. ...
hackman/Hawk-IDS-IPS
bin/hawk_install.sh
Shell
gpl-2.0
6,061
#!/bin/bash # # Copyright (C) 2013 AlfaWolf s.r.o. # Lumir Jasiok # lumir.jasiok@alfawolf.eu # http://www.alfawolf.eu # # # Where are located our scripts? HOME='/usr/local/share/graphs' # This command will create RRD database /usr/bin/rrdtool create $HOME/rrds/thermometer-sf-temperature.rrd --start N --step 300 \...
jas02/thermometer
graphs/bin/create_db.sh
Shell
gpl-2.0
474
#! /usr/bin/tcsh -f #InitializeData.sh test 0 otest #otest xxx Operate test 0 Read /usr/local/Software/Interface/data/initialize/StandardAlgorithmsClass.inp\ # /usr/local/Software/Interface/data/initialize/StandardAlgorithms.inp 0 #otest xxx Operate test 1 Read /usr/local/Software/Interfac...
blurock/REACTION
Flame/examples/Flame/Test.sh
Shell
gpl-3.0
2,348
mvn cobertura:cobertura -Dcobertura.report.format=xml -DwithHistory org.pitest:pitest-maven:mutationCoverage sonar:sonar -Dsonar.pitest.mode=reuseReport -Dsonar.scm.provider=git
psachdev6375/devcapsule
services/publish-stats.sh
Shell
gpl-3.0
179
#!/bin/sh # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of GNUHAWK. # # GNUHAWK is free software: you can redistribute it and/or modify is under the # terms of the GNU General Public License as published by the Free Sof...
RedhawkSDR/integration-gnuhawk
components/vector_source_i/build.sh
Shell
gpl-3.0
1,566
#!/bin/bash pushd "$(dirname $0)" > /dev/null DIR="$(pwd)" popd > /dev/null ln -s "$DIR/pre-commit.sh" "$DIR/../.git/hooks/pre-commit"
CobaltCake/ground-up
hooks/setup.sh
Shell
gpl-3.0
136
#!/bin/bash set -e BIN=$(readlink -f $(dirname $0)/../..) function die() { echo "$1" exit 1 } function check_variable() { eval val='$'$1 [ "$val" != "" ] || die "$1 not defined" } check_variable VERSION echo Packing binaries echo $BIN cd $BIN RESULT_DIR=$BIN/dist #mkdir -p $RESULT_DIR #cp -r linux-bin/ $RESU...
redsoftbiz/executequery
ci/package-bin.sh
Shell
gpl-3.0
567
#!/bin/bash [ -n "$DEBUG" ] && set -o xtrace set -o nounset set -o errexit shopt -s nullglob cd $(dirname "$0") if [ -z "${1}" ]; then echo "Usage: ${0} <instance_path>" exit 1 fi target=${1} if [ -d ${target} ]; then echo "\"${target}\" already exists, aborting..." exit 1 fi cp -r skeleton "${target}" "$...
andybondar/cf-installer
warden/warden/root/insecure/create.sh
Shell
gpl-3.0
354
R --slave <<EOF source("http://bioconductor.org/biocLite.R") biocLite("mzR") biocLite("xcms") biocLite("Rgraphviz") biocLite("brew") biocLite("RCurl") biocLite("grid") biocLite("bitops") biocLite("graph") EOF
NetherlandsMetabolomicsCentre/metitree
R/install.sh
Shell
gpl-3.0
209
#!/bin/bash #1i . /opt/ownsec/ITSEC-Install-Scripts-ORIG/001.functions/all-scripts.sh GITREPO=https://github.com/v3n0m-scanner/V3n0M-Scanner.git BRANCH=master GITREPOROOT=/opt/ITSEC/2.Vulnerability-Scanner/v3n0m-scanner/v3n0m-scanner/V3n0M-Scanner BINDIRLCL=/opt/ITSEC/2.Vulnerability-Scanner/v3n0m-scanner/v3n0m-scann...
alphaaurigae/ITSEC-Install-Scripts
ITSEC-Install-Scripts-ORIG/2.Vulnerability-Scanner/v3n0m-scanner/v3n0m-scanner-install.sh
Shell
gpl-3.0
1,408
#!/bin/sh printid() { cat <<"ID" V-51369 ID } printseverity() { cat <<"SEVERITY" low SEVERITY } printfix() { cat <<"FIX" The SELinux "targeted" policy is appropriate for general-purpose desktops and servers, as well as systems in many other roles. To configure the system to use this policy, add or correct...
Taywee/dod-stig-scripts
linux/V-51369/vars.sh
Shell
gpl-3.0
944
#!/bin/bash # Author: pblaas (patrick@kite4fun.nl) # This script is used to generate a kubernetes user certificate files for RBAC enabled cluster. if [ ! -f set/ca.pem ]; then echo set/ca.pem not found. echo Create a cluster certificate set first. exit 1 fi if [ ! $1 ]; then echo Use following syntax: e...
pblaas/cloudinit_generator
create_user.sh
Shell
gpl-3.0
1,365
#/bin/bash #TODO RELATIVE_PATH_TO_ROOT needs to be computed automagically or it will not work on all path depths RELATIVE_PATH_TO_ROOT="../.." DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$RELATIVE_PATH_TO_ROOT/src:$RELATIVE_PATH_TO_ROOT/inetmanet/src" nedPath="$REL...
des-testbed/libara
simulations/run.sh
Shell
gpl-3.0
2,747
#!/bin/bash # SSAFD verification test V (van der Veen) regression test PISM_PATH=$1 MPIEXEC=$2 MPIEXEC_COMMAND="$MPIEXEC -n 1" PISM_SOURCE_DIR=$3 EXT="" if [ $# -ge 4 ] && [ "$4" == "-python" ] then PYTHONEXEC=$5 MPIEXEC_COMMAND="$MPIEXEC_COMMAND $PYTHONEXEC" PYTHONPATH=${PISM_PATH}/site-packages:${PYTHONPATH} ...
talbrecht/pism_pik
test/regression/ssa/ssa_test_cfbc_fd.sh
Shell
gpl-3.0
1,341
#!/usr/bin/env bash # # Run the top level aggregation of language features. # # Input # A file take place on HDFS /join directory (such as result*-language.csv) # This file should be the output of record-level language measurement # Output # languages.csv INPUT=$1 if [[ ("$#" -ne 1) || ("$INPUT" == "") ]]; then...
pkiraly/europeana-qa-spark
scala/saturation.sh
Shell
gpl-3.0
695
#!/bin/sh DOCKER_REPO=barakci DOCKER_NAME=$DOCKER_USERNAME/$DOCKER_REPO if [ "$TRAVIS_BRANCH" = "master" ]; then TAG="latest" else TAG="$TRAVIS_BRANCH" fi CONTAINER_ID=$DOCKER_NAME:$TAG docker build -t $CONTAINER_ID . docker run -d -p 8080:8080 $CONTAINER_ID docker ps docker login -u="$DOCKER_USERNAME" -p...
barrackHa/node_docker_ci
.travis/dockerizer.sh
Shell
gpl-3.0
368
#!/bin/bash # Script for style checking # # This file is part of PhrasIt. # # PhrasIt 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 3 of the License, or # (at your option) any late...
stg7/phrasit
test_convention.sh
Shell
gpl-3.0
1,009
#!/bin/bash date=$(date -d "3 minutes ago" +"%s") tail -100 /var/log/nginx/access.log | ( while read line; do [ `date -d"$(echo $line | cut -d' ' -f4 | sed -e 's/.*\[//;s/\// /g;s/:/ /;')" +"%s"` -ge $date ] && echo $line done) | grep update.html
ablava/AWS-S3-image-proxy
check_update_requests.sh
Shell
gpl-3.0
249
#!/bin/bash . /start-utils if [[ $( ps -a -o stat,comm | grep 'java' | awk '{ print $1 }') =~ ^S.*$ ]] ; then # save world rcon-cli save-all >/dev/null # wait until mc-monitor is no longer connected to the server while : do if [[ -z "$(netstat -nt | grep "127.0.0.1:$SERVER_PORT" | grep 'ESTABLISHED')" ...
MediaKraken/MediaKraken_Deployment
docker/game_server/ComposeMediaKrakenMinecraft/files/autopause/pause.sh
Shell
gpl-3.0
466