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 |
|---|---|---|---|---|---|
docker run --rm -i -v /home/orian/workspace/olsztyn_analiza_pdf/src/get_all_bip_reports:/src:ro -v /home/orian/workspace/olsztyn_analiza_pdf/data/dk:/data orian/scrapy:v0 crawl find_reports -a start=http://www.bip.olsztyn.eu/bip/dokument/311514/xi_sesja_rady_miasta_24_czerwca_2015_r_/ -o /data/items.json -t json
| orian/umo | src/run.sh | Shell | mit | 314 |
#!/bin/sh
SCRIPT_DIR="$(dirname $0 | xargs readlink -f)"
ENV_CONF_DIR="$SCRIPT_DIR"
fileList="\
.bashrc \
.vim \
.profile \
.config/terminator \
.config/i3 \
.config/i3status"
cd $HOME && echo "Directory was changed to $HOME."
for file in $fileList; do
echo -n working with $file...
mv $... | Sild/environments_configuration | apply_config.sh | Shell | mit | 386 |
#!/bin/sh
docker-compose run pg psql -U postgres -h pg postgres -c "DROP DATABASE IF EXISTS cityhallmonitor"
docker-compose run pg psql -U postgres -h pg postgres -c "CREATE DATABASE cityhallmonitor"
docker-compose run pg psql -U postgres -h pg postgres -c "DROP USER IF EXISTS cityhallmonitor"
docker-compose run pg psq... | NUKnightLab/cityhallmonitor | initdb.sh | Shell | mit | 657 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2009:1337
#
# Security announcement date: 2009-09-02 07:46:11 UTC
# Script generation date: 2017-01-01 21:12:32 UTC
#
# Operating System: Red Hat 5
# Architecture: i386
#
# Vulnerable packages fix on version:
# - gfs2-utils.i386:0.1.62-1.el5
# - gfs2-u... | Cyberwatch/cbw-security-fixes | Red_Hat_5/i386/2009/RHSA-2009:1337.sh | Shell | mit | 746 |
#!/bin/sh
# Update code and restart server (run from app server)
set -e
cd /home/feross/www/mars && git pull
cd /home/feross/www/mars && rm -rf node_modules
cd /home/feross/www/mars && npm install --quiet
cd /home/feross/www/mars && npm run build
sudo supervisorctl reload && sleep 3 && sudo supervisorctl restart mars
| feross/mars | bin/deploy.sh | Shell | mit | 319 |
#!/bin/bash
/bin/bash /etc/sphinxsearch/sphinx.conf
indexer --all
searchd -c /root/sphinx/tmp/config --nodetach "$@" | tsari/sphinxsearch | searchd.sh | Shell | mit | 116 |
#!/usr/bin/env bash
###############################################################################
# Users & Groups #
###############################################################################
# Display login window as: Name and password
sudo defaults... | semenovDL/dotfiles | system/users_and_groups.sh | Shell | mit | 1,042 |
#!/bin/sh
exec chown -R postgres:postgres /var/lib/postgresql | griff/dokdb-postgresql93 | own-volume.sh | Shell | mit | 61 |
#!/bin/bash
# ################### #
# Run all test suites #
# ################### #
for dir in $(ls -d */); do
dirFile=${dir%%/*} # Remove end slash from dir
echo '==============================='
echo "*** Testing: $dirFile ***"
echo '==============================='
cd $dirFile && make tests && cd ..
done... | karysto/java-datastructures | makeTests.sh | Shell | mit | 321 |
#! /usr/bin/env bash
set -euf -o pipefail
cd "$(dirname "$0")"
eval FA="humanmito.fa"
CURESIM="curesim"
$CURESIM \
-n 100 \
-f $FA \
-o curesim.fq \
2> /dev/null
rnftools curesim2rnf \
--faidx ${FA}.fai \
--curesim-fastq curesim.fq \
--rnf-fastq _curesim_rnf_se.fq \
| karel-brinda/rnftools | tests/command_line/rnftools_curesim2rnf.sh | Shell | mit | 278 |
#!/bin/bash
(. /templates/default.sh) > /etc/nginx/sites-available/default
cd /etc/nginx
exec nginx
| ninjasphere/influxproxy | wrapper.sh | Shell | mit | 100 |
#!/bin/sh -eux
# Delete all Linux headers
dpkg --list \
| awk '{ print $2 }' \
| grep 'linux-headers' \
| xargs apt-get -y purge;
# Remove specific Linux kernels, such as linux-image-3.11.0-15-generic but
# keeps the current kernel and does not touch the virtual packages,
# e.g. 'linux-image-generic', etc.
dpkg... | pasangsherpa/vagrant-go-webkitgtk | scripts/cleanup.sh | Shell | mit | 803 |
#!/bin/sh
# change hostname for security
echo change hostname - start
old_hostnm=ubuntupreseed
new_hostnm=ubuntupreseed
#sudo cp /etc/hostname /etc/hostname.org
#sudo chmod 666 /etc/hostname
#sudo echo ${new_hostnm}>/etc/hostname
#sudo chmod 644 /etc/hostname
sudo sed -i.org 's/${old_hostnm}/${new_hostnm}/g' /etc/... | kotaro-dev/ubuntu-installer | github/hostnm.sh | Shell | mit | 420 |
curl -X GET http://localhost:49191/appservers/balance_members
curl -X POST http://localhost:49191/appservers/balance_members -d '["http://www.google.com", "http://yahoo.com"]'
curl -X GET http://localhost:49191/appservers/balance_members
curl -X POST http://localhost:49191/appservers/commit -d ''
| chrchr/hello_infrastructure | proxy/add_server.sh | Shell | mit | 298 |
#!/bin/bash
podman stop maw-postgres
podman create \
--pod maw-pod \
--name maw-postgres \
--volume maw-postgres.13.2:/var/lib/postgresql/data:rw,z \
docker.io/postgres:13.3
podman auto-update
| AerisG222/mikeandwan.us | podman-update-pod.sh | Shell | mit | 212 |
#!/bin/bash
##############################################################################
# Step 1:
# Subset full prediction file into 0.5%
# Splits DNM data into per-chromosome files
##############################################################################
chr=$1
# cut -f 2-3 /net/bipolar/jedidiah/m... | carjed/smaug-genetics | sandbox/process_dnms_deprecated/process_dnms.sh | Shell | mit | 1,221 |
function cprint() {
numRegex='[0-9]+$'
usrFile=$1
usrTime=$2
defLen=15
defTime=3
# Command line argument processing
if [[ $usrTime =~ $numRegex ]]; then
# A valid number of lines and refresh rate were passed in
else
# Invalid or no lines and refresh rate were provided
# so instead, using defaults instead... | obstschale/dotfiles | zsh/functions.zsh | Shell | mit | 2,198 |
# protect from modified PATH that may contain virtualenv bin path
if [ -f ~/.local/bin/virtualenvwrapper.sh ]; then
export PATH=${PATH/$PREPEND_PATH:/}
source ~/.local/bin/virtualenvwrapper.sh
export PATH=$PREPEND_PATH:$PATH
fi
| bbinet/dotfiles | dot/virtualenvwrapper.sh | Shell | mit | 240 |
# subshell it real good -- install graphite in its own virtualenv, it requires
# some specific versions of some packages that might be considered old...
GRAPHITE_VERSION="GITHUB_HEAD"
(
$VENV/bin/virtualenv $VENV/opt/graphite
source $VENV/opt/graphite/bin/activate
# hmm, why is this hack needed for twisted??
export... | Apptimize/ve | pkgs/available/graphite.sh | Shell | mit | 1,718 |
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
DOTFILES=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
function make:clean (){
find "${HOME}" -type l -print0 |
while IFS= read -r -d $'\0' file; do
if [[ $(readlink -f "${file}") == ${DOTFILES}* ]]; then
rm -f "${file}"
f... | infotim/dotfiles | install.sh | Shell | mit | 1,758 |
#!/bin/bash
IPOP_HOME="/home/ubuntu/ipop"
IPOP_TINCAN="$IPOP_HOME/ipop-tincan"
IPOP_CONTROLLER="controller.Controller"
HELP_FILE="./auto_config_scale.txt"
TINCAN="./ipop-tincan"
CONTROLLER="./Controllers"
DEFAULT_LXC_PACKAGES='python psmisc iperf iperf3'
DEFAULT_LXC_CONFIG='/var/lib/lxc/default/config'
DEFAULT_TINCAN_... | cstapler/ipop-scale-test | scale_test.sh | Shell | mit | 22,438 |
# using ruby-build to install ruby's
#source /usr/local/share/chruby/chruby.sh
#source /usr/local/share/chruby/auto.sh
#chruby ruby-2.5.1
# if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
| chuckbergeron/dotfiles | ruby/ruby_config.zsh | Shell | mit | 203 |
set -e
export PROJECT_PLATFORM=win32
export PROJECT_ROOT=$(cd ../../src; pwd)
export PROJECT_GENERATE_TARGET="Visual Studio 11 2012"
export PROJECT_CONFIG=Release
IDE_VER=vs2012
export PROJECT_IDE_ROOT=${PROJECT_ROOT}/intermediate/project/${PROJECT_PLATFORM}/${IDE_VER}
export PROJECT_LIB_PATH=${PROJECT_ROOT}/../li... | dorgonman/HorizonProject | thirdparty/libsoci/project_generator/win32/generate_vs2012.sh | Shell | mit | 1,044 |
#!/bin/bash
ACTION=${*}
if [[ $ACTION == 'goodbye' ]] ; then
cowsay -f tux "$(cat /magic/goodbye.txt)" | lolcat
elif [[ $ACTION == 'radek-coding' ]]; then
cmatrix
elif [[ $ACTION == 'goat-radek' ]]; then
cacaview /magic/goat.jpeg
elif [[ $ACTION == 'pug-radek' ]]; then
cacaview /magic/pug.jpg
elif [[ $ACTION =... | elliotmoore/TimeInc-Radeks-LeavingCard | paulmacey/magic/entrypoint.sh | Shell | mit | 585 |
#! /bin/zsh
cd /Users/zhenya/ZT_Lab/Ruby/Gems/zt_admin
ZT_ADMIN_VERSION=`grep VERSION lib/zt_admin/version.rb |awk '{print $3}' |sed 's/"//g'`
echo "current version: ${ZT_ADMIN_VERSION}"
git add .; gem build zt_admin.gemspec; gem install --local zt_admin-$ZT_ADMIN_VERSION.gem; rm *.gem | zhenyat/zt_admin | bin/zt_build.sh | Shell | mit | 286 |
#!/bin/bash
set -e # Any subsequent commands which fail will cause the shell script to exit immediately.
SRC='/home/alek/Pictures/Japan/'
DEST='/media/alek/UbuntuData/Japan'
if [ ! -w "$DEST" ]; then # Check if the destination folder is writable.
zenity --error --text="Tried to copy from:\n $SRC \nto:\n $DEST\nbut t... | AleksanderLidtke/MyBashScripts | backupJapanPhotos.sh | Shell | mit | 1,640 |
#!/bin/bash
##########################################################################
#
# Copyright 2011 Jose Fonseca
# All Rights Reserved.
#
# 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... | xranby/apitrace | scripts/tracediff.sh | Shell | mit | 1,779 |
git pull
npm run dev | Nutchawat/photography2js | npm_dev.sh | Shell | mit | 20 |
#!/bin/bash
gulp
firebase deploy
| mojosoeun/SoundVisualizer | deploy.sh | Shell | mit | 33 |
#!/bin/bash
git pull
xbuild /p:Configuration=Release core.sln
| lache/RacingKingLee | server/core/build.sh | Shell | mit | 63 |
#!/bin/bash
SUBS_PAT="KERNEL_BASENAME"
error() { echo "$@" 1>&2; }
fail() { [ $# -eq 0 ] || error "$@"; exit 2; }
usage() {
cat <<EOF
Usage: ${0##*/} output_file target_kernel grub_conf
Build a grub disk image at output_file that will boot target_kernel
using menu grub_conf.
Will substitute '$S... | Magical-Chicken/simple-x86-kernel | tools/build_grub_img.sh | Shell | mit | 1,035 |
#!/bin/sh
if [ -z "$LISTEN" ]; then
LISTEN="0.0.0.0"
fi
if [ -z "$DB" ]; then
DB="bolt"
fi
if [ -z "$FILE" ]; then
FILE="/var/lib/rbaskets/baskets.db"
fi
args="-l $LISTEN -db $DB -file $FILE"
if [ -n "$CONN" ]; then
args="$args -conn $CONN"
fi
if [ -n "$PORT" ]; then
args="$args -p $PORT"
fi
... | darklynx/request-baskets | docker/entrypoint.sh | Shell | mit | 682 |
load lib/assertions
export BASHER_TEST_DIR="${BATS_TMPDIR}/basher"
export BASHER_ORIGIN_DIR="${BASHER_TEST_DIR}/origin"
export BASHER_CWD="${BASHER_TEST_DIR}/cwd"
export BASHER_TMP_BIN="${BASHER_TEST_DIR}/bin"
export BASHER_ROOT="${BASHER_TEST_DIR}/root"
export BASHER_PACKAGES_PATH="$BASHER_ROOT/cellar/packages"
exp... | jvortmann/basher | tests/test_helper.bash | Shell | mit | 1,003 |
#!/bin/bash
echo "Continually compiling less files in dir server"
PATH=$PATH:node_modules/less/bin
node_modules/less-watcher/bin/less-watcher -p "" -d resources/public | jrosti/ontrail | lessw.sh | Shell | mit | 167 |
#!/bin/bash
export COMPRESSION="gz"
export HBASE_HOME=/opt/hbase
cd /usr/share/opentsdb
./tools/create_table.sh
touch /opt/opentsdb_tables_created.txt
| fdns/TSDB-benchmarks | dockerfiles/opentsdb/opentsdb/app/create_tsdb_tables.sh | Shell | mit | 154 |
#!/usr/bin/env bash
DEPLOYMENT_PATH=/tmp/bus-router
mvn clean compile dependency:copy-dependencies package
if [ ! -d "$DEPLOYMENT_PATH" ]; then
mkdir "$DEPLOYMENT_PATH"
fi
rm -rf $DEPLOYMENT_PATH/target
cp -R target $DEPLOYMENT_PATH/target
| giubueno/bus-router | build.sh | Shell | mit | 244 |
#!/bin/bash -ev
IMAGE_TAG=build_$INFRABOX_BUILD_NUMBER
_prepareKubectl() {
echo "## Prepare kubectl"
SERVICE_NAME="e2e-cluster"
CA_CRT="/var/run/infrabox.net/services/$SERVICE_NAME/ca.crt"
CLIENT_CRT="/var/run/infrabox.net/services/$SERVICE_NAME/client.crt"
CLIENT_KEY="/var/run/infrabox.net/services/$SERVIC... | InfraBox/infrabox | infrabox/test/e2e/entrypoint.sh | Shell | mit | 6,310 |
#!/bin/sh
export model="\
B341\
B342\
B351\
B352\
B361\
B362"
export model_shell="\
B731\
B741"
export analysis="s"
../conv_sub.sh ${1}
| FrontISTR/FrontISTR | fistr1/tools/neu2fstr/example/B/conv_B.sh | Shell | mit | 149 |
#!/bin/bash
../bin/parsingtable_creater myc_grammar.txt
| dongchangzhang/zcc | res/create_table_on_linux.sh | Shell | mit | 56 |
#!/bin/sh
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
INPUT=$(cat /dev/stdin)
VALID=false
REVSIG=false
IFS='
'
if [ "$STATUSQUO_VERIFY_COMMITS_ALLOW_SHA1" = 1 ]; then
GPG_... | Exgibichi/statusquo | contrib/verify-commits/gpg.sh | Shell | mit | 2,248 |
#!/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}"
# Used as a return value for each invocation of `strip_invalid_archs` function.
STRIP_BINARY_RET... | biohazardlover/NintendoEverything | Pods/Target Support Files/Pods-NintendoEverything/Pods-NintendoEverything-frameworks.sh | Shell | mit | 8,676 |
#!/bin/env bash
curl -X GET "localhost:3000/api/waives/"
echo
| emender/emender-jenkins | test/api/get_waives_wrong1.sh | Shell | epl-1.0 | 63 |
#!/bin/sh
######################################################################
#
# @file netcdf_fortran_aux.sh
#
# @brief Trigger vars and find information for netcdf_fortran.
#
# @version $Rev$ $Date$
#
# Copyright © 2012-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for co... | Tech-XCorp/bilder | packages/netcdf_fortran_aux.sh | Shell | epl-1.0 | 1,774 |
#!/bin/bash
NAMESPACE=$1
set -e
RELEASE_NAME=webapi-$NAMESPACE
DEFAULT_ZONE=us-east1-b
KUBERNETES_CLUSTER_NAME=ovation
codeship_google authenticate
export GOOGLE_APPLICATION_CREDENTIALS=/keyconfig.json
gcloud container clusters get-credentials $KUBERNETES_CLUSTER_NAME \
--project $GOOGLE_PROJECT_ID \
--zone $D... | physion/ovation-webapi | deploy/deploy.sh | Shell | epl-1.0 | 1,288 |
#!/bin/bash
# Copyright (c) 2012-2016 Codenvy, S.A.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Tyle... | cdietrich/che | dockerfiles/base/scripts/base/commands/cmd_network.sh | Shell | epl-1.0 | 3,255 |
#!/bin/sh
set -ex
TAR=tar-1.14.tar.bz2
for d in build install/target
do
if [ ! -d "$d" ]; then
mkdir -p "$d"
fi
done
cd build
tar jxvf "$SRCDIR/$TAR"
cd ..
INSTALLDIR="`/bin/pwd`/install/target"
export CC="$TARGET_CC"
export LD="$TARGET_LD"
export AR="$TARGET_AR"
export STRIP="$TARGET_STRIP"
export RANLIB... | davidar/fsimage | guest/tar/build.sh | Shell | gpl-2.0 | 445 |
#!/bin/sh
#(c) Copyright Barry Kauler 2009, puppylinux.com
#2009 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html).
#called from pkg_chooser.sh
#package to be previewed prior to installation is TREE1 -- inherited from parent.
#/tmp/petget/current-repo-triad has the repository that installing from.... | dimkr/woof-CE-libre | woof-code/rootfs-skeleton/usr/local/petget/installpreview.sh | Shell | gpl-2.0 | 23,784 |
#!/bin/sh
if [ -z "$1" -o -z "$2" ] ; then
echo
echo "Usage: ./deb-src-create.sh MAJOR MINOR"
echo
echo "MAJOR is the desired major version number"
echo "MINOR is the desired minor version number"
echo
echo "This script expects a barry-\$MAJOR.\$MINOR directory"
echo "to exist in the directory it is run in."
... | adetaylor/barry-usbrelay | maintainer/deb-src-create.sh | Shell | gpl-2.0 | 913 |
OK=0
BAD=0
NONVOLUNTARY=1
NONVOLUNTARYCHECK=0
VOLUNTARY=1
VOLUNTARYCHECK=0
I=1
BOT=DeV_m1 # You can put here other bots. Also you can change it to run more than one bot in the same server.
RELOADTIME=5 # Time between checking cpu calls of the cli process. Set the value high if your bot does not receive lots of message... | devm11/DEV_M1 | DEv_m1.sh | Shell | gpl-2.0 | 16,459 |
echo This is from the script.
cat lorem | num | cat
echo These are my file descriptors.
echo This is the end of the script.
| Zhang626/fuckOS | fs/script.sh | Shell | gpl-2.0 | 124 |
#!/bin/sh
$XGETTEXT ../*.cpp *.cpp *.h -o $podir/kres-migrator.pot
| kolab-groupware/kdepim-runtime | migration/kres/Messages.sh | Shell | gpl-2.0 | 67 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
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}/area_triangl... | pdavila13/Programacion_C | Pseudocodi/Area_Triangle/nbproject/Package-Debug.bash | Shell | gpl-2.0 | 1,475 |
#!/bin/sh
#
# Copyright (c) 2007 Jakub Narebski
#
test_description='gitweb as standalone script (basic tests).
This test runs gitweb (git web interface) as CGI script from
commandline, and checks that it would not write any errors
or warnings to log.'
gitweb_init () {
safe_pwd="$(perl -MPOSIX=getcwd -e 'print quote... | certik/git | t/t9500-gitweb-standalone-no-errors.sh | Shell | gpl-2.0 | 18,782 |
#!/bin/bash
cd ${OPENSHIFT_REPO_DIR}
php artisan data-checker
php artisan make-history
# > ${OPENSHIFT_PHP_LOG_DIR}/"log-`date '+%Y-%m-%d-%H-%M-%S'`.txt"
| palamago/shared-links-ranking | .openshift/cron/hourly/process.sh | Shell | gpl-2.0 | 155 |
#!/bin/bash
#####################################################################################
# Sample Nagios plugin to check if file(s) exists in specific folder #
# Author: Fulvio Capone #
##################################################... | fulviocapone/check_file_exists_glob_changed | check_file_exists_glob_changed.sh | Shell | gpl-2.0 | 5,960 |
#!/bin/bash
echo "running example: `date`"
currentdir=`pwd`
echo
echo "(will take about 15 minutes)"
echo
# sets up directory structure in current example directory
echo
echo " setting up example..."
echo
rm -f -r OUTPUT_FILES
mkdir -p bin
mkdir -p OUTPUT_FILES
mkdir -p OUTPUT_FILES/DATABASES_MPI
# stores setup... | carenelarmat/Conejo | run_this_example.sh | Shell | gpl-2.0 | 1,082 |
# Copyright (C) 2011, 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 PROVIDED "AS... | phra/802_21 | myODTONE/app/dhcp_usr/libs/bind/bind-9.8.4-P1/bin/tests/system/builtin/tests.sh | Shell | gpl-2.0 | 1,907 |
#!/bin/bash
set +x
set -e
PARENT_SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" && SCRIPT_FOLDER=$(dirname "${PARENT_SCRIPT_PATH}")
# shellcheck source=./log_start.sh
cd "${SCRIPT_FOLDER}" && cd .. && export IONIC_PATH="$PWD" && source "$IONIC_PATH"/scripts/log_start.sh "${B... | QuantiModo/quantimodo-android-chrome-ios-web-app | scripts/ghost-inspector.sh | Shell | gpl-2.0 | 464 |
#!/bin/sh
TMPDIR=/tmp/AmarokReader
TARGET=/tmp/AmarokReader.amarokscript.tar.gz
rm -rfv $TMPDIR $TARGET
mkdir $TMPDIR
cp -rv . $TMPDIR
cd $TMPDIR
rm -rfv .idea/ *~ conTEXT/*pyc conTEXT/lib/*pyc conTEXT/filetypes/*pyc conTEXT/filetypes/legacy/*pyc conTEXT/.data conTEXT/.*py~
cd ..
tar czvf $TARGET AmarokReader/
echo
e... | camico/AmarokReader | release.sh | Shell | gpl-2.0 | 378 |
#!/bin/sh
# Copyright (c) 2007, Nanako Shiraishi
dashless=$(basename "$0" | sed -e 's/-/ /')
USAGE="list [<options>]
or: $dashless show [<stash>]
or: $dashless drop [-q|--quiet] [<stash>]
or: $dashless ( pop | apply ) [--index] [-q|--quiet] [<stash>]
or: $dashless branch <branchname> [<stash>]
or: $dash... | kevingessner/git | git-stash.sh | Shell | gpl-2.0 | 12,859 |
#/bin/sh
ghc -rtsopts -threaded -O2 -static -optl-pthread -optl-static -XStandaloneDeriving -O2 blockchain.hs simulation.hs launcher.hs | ConsensusResearch/ForgingSimulation | compile.sh | Shell | gpl-2.0 | 135 |
#!/bin/bash
#########################
#
# Check all files for their file permission.
# An array of files to be excluded is in place.
#
# It expects to be run from the core root.
#
##########################
# Array of files to ignore the file permission check
IGNORE=(
"typo3/sysext/core/bin/typo3"
)
COUNTER=0
# g... | stweil/TYPO3.CMS | Build/Scripts/checkFilePermissions.sh | Shell | gpl-2.0 | 706 |
if [ `uname` = "Darwin" ]; then
LIBSUFFIX="dylib"
JDKINC="/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers"
else
LIBSUFFIX="so"
JDKINC="/usr/lib/jvm/java-6-openjdk-amd64/include"
fi
gcc -c -DJNI -Iinclude -I$JDKINC -O0 -Wall -g3 -fPIC src/*.c
gcc *.o -shared -L/usr/local/lib -laspell -o li... | discoverygarden/calliope | calliope-0.2.2/rebuildll.sh | Shell | gpl-2.0 | 397 |
#!/bin/bash
# A little script to run tshark on a capture file that failed fuzz testing.
# Useful because it sets up ulimits for you. (I'm writing this after having
# my machine hang up for like 15 minutes because I wasn't paying attention
# while tshark was running on a fuzzed capture and it used all my RAM +
# swap-... | sstjohn/wireshark | tools/test-fuzzed-cap.sh | Shell | gpl-2.0 | 3,896 |
#! /bin/bash
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# main config
PLUGINSLUG="everypay-payment-gateway-for-woocommerce"
CURRENTDIR=`p... | UnifiedPaymentSolutions/woocommerce-payment-gateway-everypay | deploy.sh | Shell | gpl-2.0 | 3,255 |
#!/bin/bash
size=$(flux getattr size)
NJOBS=$1
echo FLUX_URI=$FLUX_URI
for i in `seq 1 $NJOBS`; do
flux wreckrun --ntasks $size /bin/true
done
| lipari/flux-core | t/valgrind/valgrind-workload.sh | Shell | gpl-2.0 | 149 |
<?php
// $Id: run-tests.sh,v 1.39 2010/01/09 23:03:22 webchick Exp $
/**
* @file
* This script runs Drupal tests from command line.
*/
define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green.
define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red.
define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown.
// Set defaults... | sdboyer/drupal-c2g | scripts/run-tests.sh | Shell | gpl-2.0 | 17,500 |
SEED=`date +%N`
GSL_RNG_SEED=$SEED /home/velezj/projects/gits/p2l-system/build/bin/p2l-rawseeds-experiments-runner --world=$1 --model=$2 --planner=$3 --add-empty-regions=0 --centered-window=0 --initial-window-fraction=$4 --goal-fraction-found=$5 --experiment-id=$6 --seed=$SEED
#echo "SEED $SEED $1 $2 $3 $4 $5 $6"
| velezj/ptp-object-search | experiments/cpp/ruler-point-process/density-trial-noncentered.sh | Shell | gpl-2.0 | 317 |
#!/bin/sh
install_error()
{
echo
echo $1
echo
echo "Simics was NOT installed"
echo
exit 1
}
query_user2()
{
def=$1
shift 1
reps="["$def"]"
for rep in $@ ; do
reps="$reps / $rep"
done
printf "$reps : " >&2
read ans
if [ "x$ans" = "x" ] ; then
ans=... | iniverno/RnR-LLC | simics-3.0-install/simics-3.0.31/scripts/user-install.sh | Shell | gpl-2.0 | 7,256 |
#!/bin/sh
#masterdevice='/dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-scsi-0:0:0:'
masterdevice='7'
bmapfile=/images/FitPC-master-image-20150316.sparse.gz
bmaptool=$(which bmaptool)
ssdwipe()
{
password=Password1
hdparm --user-master u --security-set-pass $password $1
hdparm --user-master u --security-erase $passw... | TimJDFletcher/personal-scripts | bin/FitPC-clone.sh | Shell | gpl-2.0 | 863 |
#!/bin/sh
#
# Libs Auto-Building Script
# Created by Keripo
# For Project ZeroSlackr
# Last updated: Aug 9, 2008
#
# Build in logical order to prevent rebuilding due to dependencies
#for script in src/*.sh
#do
# ./$script
#done
LIBS="hotdog ttk TinyGL ncurses bzip2 tar zlib libjpeg libpng libtiff libmad freetype SDL SD... | ProjectZeroSlackr/ProjectZeroSlackr-SVN | libs/build.sh | Shell | gpl-2.0 | 387 |
#!/bin/sh
# just an empty file to trick github into thinking these are shell scripts!!!
| bobnet/Workaday-Shell-Scripts | blank.sh | Shell | gpl-2.0 | 88 |
#!/bin/bash
# Script to build the gcc compiler required for Miosix.
# Usage: ./install-script -j2
# The first parameter is used to speed up compiling for multicore processors,
# use -j2 for a dual core, -j4 for a quad core, ...
#
# Building Miosix is officially supported only through the gcc compiler built
# with this... | YeRuFi/PasswordManager | miosix/_tools/compiler/install-script.sh | Shell | gpl-3.0 | 17,633 |
#!/bin/bash
python RunBootstrap.py --paralog1 YER131W --paralog2 YGL189C --bootnum 63 > YER131W_YGL189C_Boot63_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YER131W_YGL189C_Boot63.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
set -e
for i in $*; do
case $i in
--pycbc-container=*) PYCBC_CONTAINER="`echo $i|sed 's/^--pycbc-container=//'`";;
--pull-request=*) TRAVIS_PULL_REQUEST="`echo $i|sed 's/^--pull-request=//'`";;
--commit=*) TRAVIS_COMMIT="`echo $i|sed 's/^--commit=//'`";;
--secure=*) TRAVIS_SECURE_ENV_VAR... | ahnitz/pycbc | tools/docker_build_dist.sh | Shell | gpl-3.0 | 5,717 |
#!/bin/bash
DTB=`pwd`
echo '=== Installing prerequisites ==='
sudo apt-get update
sudo apt-get -y install i2c-tools python-smbus python-gtk2
sudo easy_install pygame
echo '=== Removing I2C devices from the blacklisting ==='
sudo cp /etc/modprobe.d/raspi-blacklist.conf /etc/modprobe.d/raspi-blacklist.conf.old
sudo se... | sniperpon/Jobe | jobe/thunderborg/install.sh | Shell | gpl-3.0 | 2,434 |
tmux new-session -d "./tmuxAlerts2.sh $1"
tmux attach
| endlisnis/weather-records | tmuxAlertStart.sh | Shell | gpl-3.0 | 54 |
#!/bin/sh
$FirstCleanup[0] = "Cleanup"
$FirstCleanup[1] = "Clean up unused packages??
(autoremove autoclean)
"
$FirstCleanup[2] = "autoremove autoclean"
CLEANUP_ALL_UNNECESSARY_APPS(){
echo "Setting up User Cron File"
crontab -l > ~/.usercron
# echo "
#
# " >> ~/,usercron
crontab -u ~/.usercron
echo "Cleaning up... | dkoksal/postinstall-scripts | scripts/security/baseline-cleanup.sh | Shell | gpl-3.0 | 512 |
cd /usr/local
find . -name *ITK*
sudo /bin/rm -rf /usr/local/share/ITK-4.5
sudo /bin/rm -rf /usr/local/share/doc/ITK-4.5
sudo /bin/rm -rf /usr/local/include/ITK-4.5/
sudo /bin/rm /usr/local/lib/libITK*-4.5.a
| Erotemic/local | scripts/old/remove_itk.sh | Shell | gpl-3.0 | 209 |
sudo figlet LyriS | marto-nieto-g16/Lyris | banner.sh | Shell | gpl-3.0 | 17 |
#!/bin/bash -
EXT_SCREEN="None"
EXT_SCREEN=`xrandr | grep -q " connected" | awk '{print $1}' | grep -v "VGA1"`
DISPLAY_LAPTOP="eDP1"
if [ $EXT_SCREEN != 'None' ]; then
for w in 1 2 3 4 5 6 7 8; do
i3-msg "move workspace ${w}; to output ${EXT_SCREEN}"
done
for wk in {10..20}; do
i3-msg ... | strider/strider-dotconf | bin/vga1-switch.sh | Shell | gpl-3.0 | 385 |
#!/bin/bash
BLOCK_CLIENT_PATH=[STUFF GOES HERE]
LISTENER_PATH=[STUFF GOES HERE]
# Run dogecoind if its not already running.
if [[ `dogecoin-cli getinfo 2>&1 | grep "couldn't connect to server"` != '' ]]; then
dogecoind -regtest -daemon -port=18555 -acceptnonstdtxn=0 -txindex -blocknotify="python3 $BLOCK_CLIENT_PATH... | jtesta/bitclamp | unittests/doge_run_dogecoind_writer.sh | Shell | gpl-3.0 | 340 |
#!/usr/bin/env bash
set -e
# cd in this files directory for relative paths to work
cd "$( dirname "${BASH_SOURCE[0]}" )" || exit 1
FACTUSER=$(whoami)
CODENAME=$(lsb_release -cs)
if [ "${CODENAME}" = "ulyana" ]; then
CODENAME=focal
elif [ "${CODENAME}" = "tara" ] || [ "${CODENAME}" = "tessa" ] || [ "${CODENAME}"... | fkie-cad/FACT_core | src/install/pre_install.sh | Shell | gpl-3.0 | 2,675 |
#!/bin/bash
python RunBootstrap.py --paralog1 YDR418W --paralog2 YEL054C --bootnum 69 > YDR418W_YEL054C_Boot69_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YDR418W_YEL054C_Boot69.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
## tests use the first swarm binary in $PATH by default, use ${1} to
## point to another binary
## Launch all tests
for s in ./scripts/*.sh ; do
bash "${s}" "${1}" || exit 1
echo
done
exit 0
| frederic-mahe/swarm-tests | run_all_tests.sh | Shell | gpl-3.0 | 214 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-08-B/20170110T094728+0000/00/00/taskevent_2_ID0000008.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/bash
#
# Get list of AWS Relational Database Services (RDS) and free
# storage space for earch instance.
#
# Author: Martin 'BruXy' Bruchanov (bruchy at gmail)
#
###########
# Globals #
###########
REGIONS=(eu-west-1 eu-west-2 us-east-1)
declare -A RDS_INSTANCES
START="$(date -u -d '5 minutes ago' '+%Y-%m-%dT%... | BruXy/bash-utils | aws/rds_df.sh | Shell | gpl-3.0 | 3,952 |
#!/bin/sh
valgrind --leak-check=full -v --show-reachable=yes --log-file=memcheck.txt ../ProjectGtst-build-desktop/./gtst
| richelbilderbeek/GTST | memcheck.sh | Shell | gpl-3.0 | 121 |
#!/usr/bin/env bash
sh ../gradlew clean installDebug -b build.gradle --info | WFC-LinkedME/LinkedME-Android-Deep-Linking-Demo | LinkedME-Demo/install.sh | Shell | gpl-3.0 | 75 |
#!/bin/bash
DEV_ROOT=$PWD
echo "The current working directory: $PWD"
read -p "Project Name: " PROJ_NAME
read -p "MySQL admin username: " MYSQL_ROOT_USER
read -s -p "MySQL admin password: " MYSQL_ROOT_PW
echo -e "\n"
#create database & user
mysql -u$MYSQL_ROOT_USER -p$MYSQL_ROOT_PW -e 'CREATE DATABASE IF NOT EXISTS ... | DigitalCampus/django-maf-oppia | oppia/utils/setup/oppia-dev-env.sh | Shell | gpl-3.0 | 2,611 |
#!/bin/sh
# this version uses makefile 1.6 which uses quadtrim rather than flexbar
function get_opts() {
DRY_RUN=no
DEBUG=no
R1_FILE_PATTERN="*_L*_R1*.fastq.gz"
HPCTYPE=local
THREADS=8
INPUT_METHOD=link_files
p1=""
p2=""
prestr=""
midstr=""
poststr=""
quadtrim_option_set=sheep_set
tardis_chunksize=1000000
make_target... | AgResearch/Resequencing-workflows | ResequencingWF1.6.sh | Shell | gpl-3.0 | 12,555 |
#!/bin/sh
help_message() {
echo -e "Usage:\n\t$(basename $0) HOST PORT PROXY_HOST PROXY_PORT"
}
if [ "$1" = "--help" -o "$1" = "-h" ]; then
help_message
exit 0
fi
if [ -z "$4" -o -n "$5" ]; then
echo "Error usage!"
help_message
exit 1
fi
if [ -z "$JAVA_HOME" ]; then
export JAVA_HOME="/u... | jmanoel7/my_shell_scripts | bin/x11vnc-viewer.sh | Shell | gpl-3.0 | 760 |
#!/bin/bash
#PBS -l nodes=3:ppn=32:typej
#PBS -l walltime=24:00:00
#
#PBS -j oe
#PBS -N r_mlmc_l3
#PBS -M J.Nie@tudelft.nl
#PBS -m bae
export HWLOC_HIDE_ERRORS=1
### pre-processing using embarrassing parallel
if [ $# == 2 ]; then
pbsdsh bash -l -c "$PBS_O_WORKDIR/mlmc_main_pbsdsh.sh $1 $2"
elif [ $# == 3 ]; then... | henrynj/PMLMC | mlmc_main3.sh | Shell | gpl-3.0 | 673 |
#!/bin/bash
cd $MOTHOME/bin
echo "*** Starting MyOpenTrader Simulator ***"
echo "*** Starting MyOpenTrader Simulator ***" >> ../logs/simulator.log
date >> ../logs/simulator.log
nohup ./runSimulator.sh >> ../logs/simulator.log 2>&1 & echo $! > simulator.pid
| sgrotz/myopentrader | MyOpenTraderBin/bin/startSimulator.sh | Shell | gpl-3.0 | 265 |
#!/bin/bash -f
# Vivado (TM) v2016.4 (64-bit)
#
# Filename : blk_mem_gen_arb.sh
# Simulator : Xilinx Vivado Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-directories in the... | iamllama/EE2020 | ee2020.ip_user_files/sim_scripts/blk_mem_gen_arb/xsim/blk_mem_gen_arb.sh | Shell | gpl-3.0 | 6,161 |
#!/bin/sh
iridir="../iri"
for i in $iridir/*.dat $iridir/*.asc; do
f=$(basename $i)
ln -sf $i $f
done
| pa345/lib | iri/linkiri.sh | Shell | gpl-3.0 | 108 |
# 10_configure_commands.sh
count=${#command[@]}
i=0
while (( i < count ))
do
[[ -z "${command[i]}" ]] && continue # command seems to be empty
case "${command[i]}" in
"uncomment_cfg2html_in_crontab" ) touch "$TMP_DIR/uncomment_cfg2html_in_crontab" ;;
* ) ${command[i]} ${options[i]} >&2 ;;
esac
... | gdha/upgrade-ux | opt/upgrade-ux/scripts/configure/default/10_configure_commands.sh | Shell | gpl-3.0 | 340 |
#!/bin/bash
theservice=`service $1 status`
if [ $(echo ${theservice} | grep "is running" | wc -l) -gt 0 ];
then
echo "OK - $1 is running."
exit 0
else
echo "CRITICAL - $1 is not running."
exit 2
fi
| TJM/NagiosScripts | check_service.sh | Shell | gpl-3.0 | 208 |
#!/bin/bash
if [[ $ZDS_VENV == "" ]]; then
ZDS_VENV="zdsenv"
fi
ZDS_NODE_VERSION=$(cat $ZDSSITE_DIR/.nvmrc)
if [[ $ZDS_NVM_VERSION == "" ]]; then
ZDS_NVM_VERSION="0.33.11"
fi
if [[ $ZDS_ELASTIC_VERSION == "" ]]; then
ZDS_ELASTIC_VERSION="5.5.2"
fi
if [[ $ZDS_LATEX_REPO == "" ]]; then
ZDS_LATEX_REPO... | ChantyTaguan/zds-site | scripts/define_variable.sh | Shell | gpl-3.0 | 574 |
#!/bin/bash
DIR=/docker-entrypoint.d
if [[ -d "$DIR" ]]
then
/bin/run-parts -v --regex '\.(sh|rb)$' "$DIR"
fi
exec "$@"
| GFDRR/geonode | package/docker/docker-entrypoint.sh | Shell | gpl-3.0 | 125 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.