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
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://linuxeye.com
#
# Notes: OneinStack for CentOS/RedHat 6+ Debian 7+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/oneinstack/oneinstack
Install_pecl_ldap() {
if [ -e "${php_install_dir}/bin/phpize" ]... | lj2007331/lamp | include/pecl_ldap.sh | Shell | apache-2.0 | 1,858 |
#!/bin/sh
# Copyright 2015 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | anupcshan/bazel | scripts/setup-eclipse.sh | Shell | apache-2.0 | 2,183 |
#!/bin/bash
FN="rae230bprobe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/rae230bprobe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/rae230bprobe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rae230bprobe/bioconductor-rae230bprobe_2.18.0_... | blankenberg/bioconda-recipes | recipes/bioconductor-rae230bprobe/post-link.sh | Shell | mit | 1,431 |
#!/bin/sh
i=0
ORIG="`pwd`"
LEN=64
rm $ORIG/input.gro
while ! test $i = $LEN
do
i=$((i+1))
cat $ORIG/reg.gro | sed "1"','"25"'!d' >> input.gro
done | radical-cybertools/ExTASY | examples/grlsd-on-stampede/inp_files/run.sh | Shell | mit | 152 |
# xb_incremental.sh - test for xtrabackup
# Copyright (C) 2009-2011 Percona 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
# of the License, or (at your option) any later... | 0xffea/drizzle | plugin/innobase/xtrabackup/test/t/xb_incremental.sh | Shell | gpl-2.0 | 3,050 |
#!/bin/sh
mkdir -p genconf
cat << 'EOF' | sed '/^$/d' | tee genconf/config.yaml
---
# Auto-generated by Terraform Templates
# Created on date: ${timestamp()}
${bootstrap_private_ip == "" ? "" : "bootstrap_url: http://${bootstrap_private_ip}:${dcos_bootstrap_port}"}
${dcos_cluster_name == "" ? "" : "cluster_name: ${dco... | bernadinm/tf_dcos_core | open/dcos-versions/1.10.5/dcos-bootstrap/templates/upgrade/run.sh | Shell | apache-2.0 | 8,717 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2016, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you ... | hsanjuan/one | src/oca/java/test/test.sh | Shell | apache-2.0 | 2,293 |
#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# shellcheck disable=SC1090
source "$DIR/common.env.sh"
# shellcheck disable=SC1090
source "$DIR/../awsutil.sh"
GIT_SHA=$("$ROOT/../git-version")
# if AWS credentials are not set, then we should not continue
check_aws_creds
#aws_upload_file "$ROO... | estroz/tectonic-installer | installer/scripts/release/upload_installer_bins.sh | Shell | apache-2.0 | 775 |
#!/usr/bin/env bash
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../../../k8s.io/code-generator)}
go install ./${CODEGEN_PKG}/cmd/conversion-gen
function codegen::j... | childsb/origin | hack/update-generated-conversions.sh | Shell | apache-2.0 | 1,833 |
#!/bin/sh
if [ $# -ne 1 ]
then
echo "USAGE: download_ach_sources.sh <download dir>"
exit 1
fi
# Config
DOWNLOAD_DIR=$1
SOURCES="eggNOG FungiDB Greengenes IMG InterPro KEGG MO NR PATRIC Phantome RefSeq RDP SEED SILVA UniProt"
echo Starting Download for ACH `date`
echo Checking destination
for d in ${SOURCES... | teharrison/MG-RAST | src/Babel/bin/download_ach_sources.sh | Shell | bsd-2-clause | 5,027 |
_ipfs_comp()
{
COMPREPLY=( $(compgen -W "$1" -- ${word}) )
}
_ipfs_help_only()
{
_ipfs_comp "--help"
}
_ipfs_add()
{
_ipfs_comp "--recursive --quiet --progress --trickle --only-hash
--wrap-with-directory --hidden --help"
}
_ipfs_bitswap()
{
ipfs_comp "stat wantlist --help"
}
_ipfs_bitswa... | palkeo/go-ipfs | misc/completion/ipfs-completion.bash | Shell | mit | 5,455 |
#!/bin/bash
FN="pd.ovigene.1.0.st_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/pd.ovigene.1.0.st_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.ovigene.1.0.st_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.ovigene.1.0.st/bioconductor-p... | jerowe/bioconda-recipes | recipes/bioconductor-pd.ovigene.1.0.st/post-link.sh | Shell | mit | 1,465 |
#!/bin/sh
cd /home/robert/bartendro/ui
./bartendro_server.py &
| wyolum/bartendro | scripts/start_bartendro.sh | Shell | gpl-2.0 | 64 |
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | dalanlan/kubernetes | hack/ginkgo-e2e.sh | Shell | apache-2.0 | 3,642 |
[ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh
| jcfigueiredo/dotfiles | system/boxen.zsh | Shell | mit | 53 |
#!/bin/bash
set -o errexit
scripts/de-reset-node-modules.sh
| gokmen/koding | .npm-preinstall.sh | Shell | agpl-3.0 | 62 |
#!/bin/bash
# A set of helpers for building hyperstart for tests
hyper::hyperstart::build() {
# build hyperstart
hyper::log::info "clone hyperstart repo"
git clone https://github.com/hyperhq/hyperstart ${HYPER_TEMP}/hyperstart
cd ${HYPER_TEMP}/hyperstart
hyper::log::info "build hyperstart"
./autogen.sh
... | bergwolf/hyperd | hack/lib/hyperstart.sh | Shell | apache-2.0 | 636 |
#!/bin/bash
# stty -echo
./deploy.sh && ./standalone_package.sh | continuoustests/ContinuousTests | release.sh | Shell | lgpl-2.1 | 64 |
#!/bin/sh
CONTRIBUTORS=`grep -h 'login' _tmp/github/contributors-* | sed 's/ *"login": "\([^"]\+\)",\?/\1/' | sort | uniq`
for c in $CONTRIBUTORS; do
echo $c
done
echo $CONTRIBUTORS | wc -w
| arquillian/arquillian.github.com | _bin/contributors.sh | Shell | apache-2.0 | 193 |
#!/bin/bash
set -euvo pipefail
IFS=$'\n\t'
curl -X POST \
-H "X-Update-Token: ${UPDATE_TOKEN}" \
https://releases.rocket.chat/update
| trt15-ssci-organization/Rocket.Chat | .circleci/update-releases.sh | Shell | mit | 134 |
#!/bin/sh
TEST_PURPOSE=regress
TEST_PROB_REPORT=0
TEST_TYPE=umlXhost
TESTNAME=showhostkey-02
EXITONEMPTY=--exitonempty
XHOST_LIST="EAST"
REF_EAST_CONSOLE_OUTPUT=keys-console.txt
REF26_EAST_CONSOLE_OUTPUT=keys-console.txt
REF_CONSOLE_FIXUPS="script-only.sed "
REF_CONSOLE_FIXUPS+="east-prompt-splitline.pl "
EASTHOS... | y-trudeau/openswan-patch-meraki | testing/scripts/showhostkey-03/showhostkey-02/testparams.sh | Shell | gpl-2.0 | 354 |
#!/bin/sh
if [ $# -ne 1 ]
then
echo "Usage: $0 <DATABASE-NAME>"
exit 1
fi
pg_dump --no-privileges --schema-only --no-owner \
--no-tablespaces $1 -U catmaid_user | \
egrep -v '^--' | \
egrep -v '^ *$' | \
sed -e '/CREATE FUNCTION connect/,+2d'
| catmaid/CATMAID | scripts/old/dump-database-schema.sh | Shell | gpl-3.0 | 261 |
#!/bin/bash
CodecFileName=$(ls dist/c-codec*.gz)
VERSION=$(bash ./substr.bash $CodecFileName c-codec- .tar.gz)
FILENAME=rl-glue-c-codec-${VERSION}-1.x86_64.rpm
python filesubstitution.py $VERSION $FILENAME wiki/templates/CandCPP.wiki.rpm64.template wiki/current/CandCPP.wiki.rpm64
| litlpoet/rl-glue-ext | projects/distribution_tools/Glue-and-C-Codec/update-wiki-cpp-partial-rpm64.bash | Shell | apache-2.0 | 283 |
#!/bin/bash
# Switch to the stable-website branch
git checkout stable-website
# Set the tmpdir
if [ -z "$TMPDIR" ]; then
TMPDIR="/tmp"
fi
# Create a temporary build dir and make sure we clean it up. For
# debugging, comment out the trap line.
DEPLOY=`mktemp -d $TMPDIR/terraform-www-XXXXXX`
trap "rm -rf $DEPLOY" IN... | thegedge/terraform | scripts/website_push.sh | Shell | mpl-2.0 | 977 |
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | CyrusBiotechnology/gcloud-python | scripts/custom_pip_install.sh | Shell | apache-2.0 | 786 |
#!/bin/sh
#
# Copyright (c) 2005 Linus Torvalds
#
OPTIONS_KEEPDASHDASH=
OPTIONS_SPEC="\
git repack [options]
--
a pack everything in a single pack
A same as -a, and turn unreachable objects loose
d remove redundant packs, and run git-prune-packed
f pass --no-reus... | 1974kpkpkp/git | contrib/examples/git-repack.sh | Shell | gpl-2.0 | 4,984 |
#!/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 "Licen... | danielvdende/incubator-airflow | dev/sign.sh | Shell | apache-2.0 | 1,188 |
#!/bin/bash
workserver_path=/srv/workserver
mkdir $workserver_path
cp workserver.py $workserver_path
# install python3-bottle
apt-get -y update
apt-get -y install python3-bottle
# create a service
touch /etc/systemd/system/workserver.service
printf '[Unit]\nDescription=workServer Service\nAfter=rc-local.service\n' >... | mukulkgupta/azure-quickstart-templates | 201-vmss-bottle-autoscale/installserver.sh | Shell | mit | 848 |
#!/bin/bash
# ${BASH_SOURCE[0]} is the path to this file
SOURCE="${BASH_SOURCE[0]}"
# Set $BIN to the absolute, symlinkless path to $SOURCE's parent
while [ -h "$SOURCE" ]; do
BIN="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$BIN/$SOURCE"
done
B... | CYPP/titan | titan-dist/src/assembly/static/bin/gremlin-server.sh | Shell | apache-2.0 | 2,227 |
#/bin/sh
# Note: This will drop privileges, and so can't be used for exploiting setuid binaries.
setarch $(uname -m) -R /levels/lecture/misc/uninitialized_data
| ITh4cker/MBE | src/lecture/misc/uninitialized_data_noaslr.sh | Shell | bsd-2-clause | 160 |
# Install Ruby from source in /opt so that users of Vagrant
# can install their own Rubies using packages or however.
# We must install the 1.8.x series since Puppet doesn't support
# Ruby 1.9 yet.
wget http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p334.tar.gz
tar xvzf ruby-1.8.7-p334.tar.gz
cd ruby-1.8.7-p334
./con... | hh/veewee | templates/ubuntu-10.10-server-amd64/ruby.sh | Shell | mit | 753 |
#!/bin/bash
fw_depends rvm java
RETCODE=$(fw_exists ${IROOT}/jruby-${JRUBY_VERSION}.installed)
[ ! "$RETCODE" == 0 ] || { \
# Load environment variables
source $IROOT/jruby-$JRUBY_VERSION.installed
return 0; }
# rvm stable [typically] only provides one version of jruby-1.7
# update this when it changes
JRUBY_V... | grob/FrameworkBenchmarks | toolset/setup/linux/languages/jruby-1.7.sh | Shell | bsd-3-clause | 883 |
#!/bin/sh
set -x -e
export INCLUDE_PATH="${PREFIX}/include"
export LIBRARY_PATH="${PREFIX}/lib"
export LD_LIBRARY_PATH="${PREFIX}/lib"
export BOOST_INCLUDE_DIR=${PREFIX}/include
export BOOST_LIBRARY_DIR=${PREFIX}/lib
export LIBS='-lboost_system -lboost_program_options -lboost_filesystem -lboost_timer'
export CXXFLA... | gvlproject/bioconda-recipes | recipes/kat/2.0.8/build.sh | Shell | mit | 597 |
#!/bin/bash
# TODO: This follows the initial demo pieces and uses a bash script to
# generate the keepalived config - rework this into a template
# similar to how it is done for the haproxy configuration.
# Includes.
source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"
# Constants.
readonly CHECK_SCRIPT... | childsb/origin | images/ipfailover/keepalived/lib/config-generators.sh | Shell | apache-2.0 | 7,068 |
#!/bin/sh
I=1
LIM=6
OUT=MarioAIResult.m
while [ $I -le $LIM ]
do
echo processing iMario${I}.m ...
cat MarioAI${I}.m >> ${OUT}
I=$(( $I + 1 ))
done
echo "results saved to ${OUT}" | lino2014/marioai | target/scripts/catResults.sh | Shell | bsd-3-clause | 191 |
# $OpenBSD: transfer.sh,v 1.1 2002/03/27 00:03:37 markus Exp $
# Placed in the Public Domain.
tid="transfer data"
DATA=/bin/ls${EXEEXT}
COPY=${OBJ}/copy
for p in 1 2; do
verbose "$tid: proto $p"
rm -f ${COPY}
${SSH} -n -q -$p -F $OBJ/ssh_proxy somehost cat ${DATA} > ${COPY}
if [ $? -ne 0 ]; then
fail "ssh cat ... | daleooo/barrelfish | usr/openssh/src/regress/transfer.sh | Shell | mit | 707 |
#!/usr/bin/env sh
# See also https://thrift.apache.org/tutorial/go
thrift -r --gen "go:package_prefix=github.com/go-kit/kit/examples/addsvc/thrift/gen-go/,thrift_import=github.com/apache/thrift/lib/go/thrift" addsvc.thrift
| GolosTools/golos-vote-bot | vendor/github.com/go-kit/kit/examples/addsvc/thrift/compile.sh | Shell | mit | 225 |
lib32disabled=yes
makedepends+=" python"
| oliver-cfc/void-packages | common/environment/build-style/python2-module.sh | Shell | bsd-2-clause | 41 |
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "not managed, check no-op"
setup_httpd "down"
ok_null
simple_test
| rootfs/ctdb | tests/eventscripts/41.httpd.monitor.001.sh | Shell | gpl-3.0 | 125 |
#!/bin/bash
#
# Multiqueue: Using pktgen threads for sending on multiple CPUs
# * adding devices to kernel threads which are in the same NUMA node
# * bound devices queue's irq affinity to the threads, 1:1 mapping
# * notice the naming scheme for keeping device names unique
# * nameing scheme: dev@thread_number
# ... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/samples/pktgen/pktgen_sample06_numa_awared_queue_irq_affinity.sh | Shell | gpl-2.0 | 3,438 |
#!/bin/sh
#
# Copyright 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | tzq668766/googlesitemapgenerator | src/linux_install/apache.sh | Shell | apache-2.0 | 5,530 |
#
# Default Memory Map - for OMAP3530 CE 2.21 examples
#
# Start Addr Size Description
# -------------------------------------------
# 0x80000000 80 MB Linux
# 0x85000000 08 MB CMEM
# 0x86000000 24 MB DDRALGHEAP
# 0x87800000 6 MB DDR2 (BIOS, Codecs, Applications)
# 0x87E00000 1 MB DSPLI... | wwright2/dcim3-angstrom1 | sources/meta-ti/recipes-ti/codec-engine/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh | Shell | mit | 1,117 |
#!/bin/bash
#
# This script will run all test scripts that are in test/extended.
source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh"
test_scripts=`find test/extended -maxdepth 1 -name "*.sh" -not \( -name "all.sh" \)`
OVERALL_RETURN=0
for test_script in $test_scripts; do
STARTTIME=$(date +%s)
echo "${START... | fabric8io/gofabric8 | vendor/github.com/openshift/origin/test/extended/all.sh | Shell | apache-2.0 | 693 |
#!/bin/sh
# -- check for root --
if [ "`id -u`" != "0" ]; then
echo "build_ports.sh: sorry, this must be done as root." 1>&2
exit 1
fi
# target="config"
# target="config-recursive"
target="install clean"
# -- build ports --
cd /usr/ports/ports-mgmt/pkg && make $target || exit 1
cd /usr/ports/ports-mgmt/portmas... | guyyur/configs | chroot-fbsd-build-ports-releng-amd64/FreeBSD/build_ports.sh | Shell | isc | 8,779 |
#!/bin/sh
# -- check for root --
if [ "`id -u`" != "0" ]; then
echo "pkgsrc.sh: sorry, this must be done as root." 1>&2
exit 1
fi
# -- build and install --
cd /usr/pkgsrc/editors/nano && make install clean || exit 1
cd /usr/pkgsrc/shells/zsh && make install clean || exit 1
| guyyur/configs | vm-netbsd/NetBSD/build_pkgsrc_packages.sh | Shell | isc | 281 |
#! /bin/bash
DATASET="GANGLIONS"
ARCH="FCRN-B"
HP="sw_extr_npi"
FILE=${DATASET}_${ARCH}_${HP}
sh ../../../install_dgx1.sh
export PYTHONPATH=${PYTHONPATH}:../../../src/
unbuffer python ../../../src/softwares/fcrn_validation/add_and_run_job.py \
--dataset $DATASET \
--cnn_architecture $ARCH \
--cytomine_working_path tm... | urubens/CellCounting | experiments/fcrn-b/ganglions/cv_sw_extr_npi.sh | Shell | mit | 686 |
set_catikin () {
tmux send-keys "cd $DEMO_PATH" ENTER
}
tmux new-session -d
tmux set -g pane-border-status top
tmux split-window -h
tmux split-window -v
tmux send-keys "printf '\033]2;roscore\033\\'" ENTER
tmux send-keys roscore ENTER
sleep 3
tmux split-window -v
tmux send-keys "printf '\033]2;pos info\033\\'" ENTER
s... | orig74/DroneSimLab | demos/openrov/run_tmux_openrov.sh | Shell | mit | 1,735 |
#!/usr/bin/env bash
target=$(basename $1 .cpp)
shift
if [[ ! -e ${target}.cpp ]]
then
exit
fi
mkdir -p out/${target}
for version in build/Makefile.*
do
tag=$(echo ${version} | cut -f2 -d.)
make -f ${version} ${target}
mv ${target} out/${target}/${tag}
done
| willkill07/gpu-programming-intro | compile.sh | Shell | mit | 275 |
#!/bin/bash
for spec in `ls -1 */*.spec | grep -v minishift.spec`; do
d=$(dirname $spec)
source0=$(spectool --list-files $spec | awk '{print $2}' | head -n1)
sourcebase=$(basename "$source0")
[ ! -h $d/$sourcebase ] || continue
git annex whereis "$d/$sourcebase" 2&> /dev/null | grep -q " web" && continue
g... | marcindulak/minishift-rpm-centos7 | git_annex_br.sh | Shell | mit | 386 |
#!/bin/bash
CURRENT_DIR="$(pwd)"
CURRENT_TIME=$(date +%s)
FILE1=$1
FILE2=$2
./../cmake-build-debug/output/gmi naive_mixed.json $1 solution.sol > $2/naive_mixed.txt
./../cmake-build-debug/output/gmi rounds_mixed.json $1 solution.sol > $2/rounds_mixed.txt
./../cmake-build-debug/output/gmi purging_mixed.json $1 solution... | tasseff/gomory | scripts/RUN_MIXED.sh | Shell | mit | 850 |
java -cp classes:lib/* smartAutocomplete.httpServer.StandaloneHttpServer /home/pokey/experiments/smartAutocomplete/benchmarks
| pokey/smartAutocomplete | webServer.sh | Shell | mit | 126 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3669-1
#
# Security announcement date: 2016-09-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:13 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - tomcat7:7.0.56-3+deb8u4
#
# Last vers... | Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/i386/2016/DSA-3669-1.sh | Shell | mit | 615 |
#!/bin/bash
#
# Helper.
# Author: frekele
#
#Validation General Environment Variables.
validationGeneralEnvs(){
: ${DATA_PATH:?"Environment variable DATA_PATH is required!"}
case $STORAGE_PROVIDER in
"AWS")
echo 'Cloud Provider is Amazon Simple Storage Service (S3)'
: ${AWS_ACCESS_KEY_ID:?"En... | frekele/helicopterizer | scripts/core/helper.sh | Shell | mit | 5,475 |
#!/bin/bash
if [ -f $1 ]
then
exit 0
elif [ -d $1 ]
then
exit 1
else
exit 2
fi
| riccardotommasini/shell-scripting-course | section-three/exe2.sh | Shell | mit | 83 |
#!/usr/bin/env bash
# -e: exit when a command fails
# -o pipefail: set exit status of shell script to last nonzero exit code, if any were nonzero.
set -o pipefail
echo ""
echo "Running Tests in Docker Container"
echo "Swift 5"
echo "================================="
docker build -t aes256cbc -f Dockerfile .
docker... | SwiftyBeaver/AES256CBC | test_in_docker.sh | Shell | mit | 524 |
#!/bin/bash
# testing before publish
npm run lint && npm run build && npm run test
if [ $? = 0 ]; then
# purge dist
rm -fr dist
# babel transform es6 into es5
babel src --out-dir dist/npm/src --copy-files
babel libs --out-dir dist/npm/libs --copy-files
babel build/npm/index.js --out-file dist/npm/index.j... | allanfish/elementui | build/scripts/prepare.sh | Shell | mit | 429 |
#!/bin/bash -e
OFFLINE_TABLE_NAME='postcode_api_postcodegsscode_offline'
PREV_LIVE_TABLE_NAME='postcode_api_postcodegsscode_prev_live'
TEMP_TABLE_NAME='tmp_postcodegsscode_import'
LIVE_TABLE_NAME='postcode_api_postcodegsscode'
HEADER=' HEADER '
#: EPSG projection codes
BRITISH_NATIONAL_GRID=27700
WGS84=4326
# bring ... | ministryofjustice/postcodeinfo | scripts/postcode_gss_code_import.sh | Shell | mit | 2,428 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2012:1483
#
# Security announcement date: 2012-11-20 22:30:26 UTC
# Script generation date: 2017-02-02 21:21:13 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - thunderbird.x86_64:10.0.11-1.el6_3
# ... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2012/RHSA-2012:1483.sh | Shell | mit | 1,056 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2730-1
#
# Security announcement date: 2015-09-03 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:46 UTC
#
# Operating System: Ubuntu 15.04
# Architecture: i686
#
# Vulnerable packages fix on version:
# - libslp1:1.2.1-10ubuntu0.1
#
# Last version... | Cyberwatch/cbw-security-fixes | Ubuntu_15.04/i686/2015/USN-2730-1.sh | Shell | mit | 636 |
#!/bin/zsh
rm -rf ~/Library/Fonts/* || true
cp -Rn $ZSH/fonts/* ~/Library/Fonts
| eexit/dotfiles | fonts/install.sh | Shell | mit | 80 |
#!/bin/bash
echo "git pull && git submodule foreach git checkout master && git submodule foreach git pull"
git pull && git submodule foreach git checkout master && git submodule foreach git pull
echo "(cd ./microservice-base && ./scripts/docker-build.sh)"
(cd ./microservice-base && ./scripts/docker-build.sh)
echo "d... | DURAARK/duraark-system | scripts/deploy-from-local-builds.sh | Shell | mit | 515 |
functions_dir=${HOME}/.zshfunctions
if [[ -d $functions_dir ]]; then
fpath=($functions_dir $fpath)
for function_file in $functions_dir/*
do
autoload -Uz ${function_file##*/} || printf "Autoloading $function_file failed\n"
done
else
echo "no $functions_dir exists"
fi
local os=$(uname)
trysource "${HOME}... | boneskull/dotfiles | functions.zsh | Shell | mit | 345 |
#!/usr/bin/env zsh
# Checkout aliases:
alias gco="git checkout"
alias gcob="git checkout -b";
alias newb="git checkout -b"
# Branch aliases:
alias gb="git branch";
alias gbd="git branch -d";
alias gbD="git branch -D";
# Logging aliases:
alias gl="git log -3";
# Info aliases:
alias gs="git status";
alias groot="git ... | tjtrabue/zsh-dotfiles | zsh/source/aliases_git.zsh | Shell | mit | 762 |
#!/bin/bash
#
# 6. zabbix
#
HOSTNAME=${HOSTNAME:-`hostname`}
ZABBIX=${ZABBIX:-"127.0.0.1"}
# 6.1. zabbix
yum -y install zabbix-agent
find / -group zabbix | xargs chgrp 116
find / -user zabbix | xargs chown 116
groupmod -g 116 zabbix
usermod -u 116 zabbix
# 6.2. zabbix-config
sed -e "s/=127.0.0.1$/=${ZABBIX}/g" -e "s/... | miko2u/centos6-recipe | 6-zabbix.sh | Shell | mit | 473 |
#!/usr/bin/env bash
#
# script to create a debian package
# (c) bytepark GmbH, 2012
function_post_source() {
# exit if we are not on a system capable of creating deb packages
# or no build host is configured
if [ -z ${OSPKG} ] || [ "${OSPKG}" != "deb" ]; then
if [ -z ${BUILD_HOST} ]; then
... | bytepark/release | include/method/deb.sh | Shell | mit | 4,372 |
#!/bin/bash
cd /opt/glassfish/current/glassfish/bin
./startserv
| jacksonicson/paper.IS2015 | control/Control/drones/glassfish_start/main.sh | Shell | mit | 65 |
#!/bin/bash
# TODO: The file naming used here is the default of Motion, will fail if user changed that.
# TODO: The wildcard matching used here may produce bug when same event ID is exists.
set -e
# Set attachment file size limit to 20MB
ATTACHMENT_BYTES_LIMIT=20971520
EVENT=$1
IMAGE_FILE_BYTES=$(find . -name "${EV... | kfei/dockmotion | script/on_event_end.sh | Shell | mit | 1,778 |
#!/bin/bash
echo "I am an analysis script"
sleep 60
echo "I finished"
touch finished.txt
| glennsb/zmq_distributed_worker | test/analyze.sh | Shell | mit | 90 |
nohup ./server.sh > server.log 2>&1 &
tail -f server.log
| mark-lester/Gemini | run.sh | Shell | mit | 57 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2012:0529
#
# Security announcement date: 2012-04-30 18:01:14 UTC
# Script generation date: 2017-01-01 21:14:05 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - condor.x86_64:7.6.5-0.14.el5
# - cond... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2012/RHSA-2012:0529.sh | Shell | mit | 5,186 |
#!/bin/bash -eux
# Add vagrant user to sudoers.
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
# # Install Ansible prereqs
# sudo apt-get -y update
# sudo apt-get -y install software-properties-common
# # Install Ansible.
# sudo apt-add... | ideasonpurpose/basic-wordpress-box | scripts/setup.sh | Shell | mit | 414 |
#!/bin/bash
set -e
heroku git:remote --app stonecutter-client
heroku maintenance:on
heroku buildpacks:clear
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-clojure
heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-nodejs
git push heroku master
heroku maintenance:off
| ThoughtWorksInc/stonecutter-client | deploy_heroku.sh | Shell | mit | 312 |
#!/bin/bash
# LGSM command_start.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
lgsm_version="210516"
# Description: Starts the server.
local modulename="Starting"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_start_teamspeak3(){
if [ ! -e "${servercfgfullpath}"... | zunnu/linuxgsm | lgsm/functions/command_start.sh | Shell | mit | 5,853 |
#!/usr/bin/bash
sudo bash -c 'echo 1 > /proc/sys/kernel/perf_event_paranoid'
sudo bash -c 'echo 0 > /proc/sys/kernel/kptr_restrict'
| goldshtn/linux-tracing-workshop | perros/perf-std-user.sh | Shell | mit | 133 |
#!/bin/bash
sh pg-start.sh
echo '**********************'
echo 'Entering rails console'
bundle exec rails runner "eval(File.read 'admin_create.rb')"
| jhsu802701/rails_neutrino_5 | mod/mod-08-01/mod-08-01-admin_create.sh | Shell | mit | 150 |
#!/bin/bash
#Set the root password as root if not set as an ENV variable
export PASSWD=${PASSWD:=root}
#Set the root password
echo "root:$PASSWD" | chpasswd
#start your application from here...
python main.py
| nchronas/resin-ssh-python | start.sh | Shell | mit | 210 |
go test -i ./... &&
go test -v &&
cd cmd && go test -v && cd .. &&
cd example && go test -v && cd .. &&
cd interpreter && go test -v && cd ..
| roperzh/ogg | Godeps/_workspace/src/github.com/shaoshing/train/test_all.sh | Shell | mit | 142 |
# vim: tw=0:ts=4:sw=4:et:ft=bash
# -*- coding: UTF-8 -*-
#. -={
function boph:timer.init() {
declare -gi BOPH_TIMER_ELAPSED
BOPH_TIMER_ELAPSED=0
}
function boph:timer.preexec() {
declare -gi BOPH_TIMER_SECONDS
BOPH_TIMER_SECONDS=$SECONDS
tput el
}
function boph:timer.postexec() {
((BOPH_TIMER... | nima/bashophilia | modules/timer.sh | Shell | mit | 486 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3337-2
#
# Security announcement date: 2015-12-17 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:42 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - gdk-pixbuf:2.31.1-2+deb8u4
#
# Last v... | Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/i386/2015/DSA-3337-2.sh | Shell | mit | 624 |
#!/bin/sh
# TODO: call other 2 scripts based on the dir of this file?
src_dir="$GOPATH/src"
gogot="$src_dir/.goGot"
if [ "$1" != "" ]
then
gogot="$1"
fi
function check_for_go_files
{
go_files=($1/*.go)
if [ -e ${go_files[0]} ]
then
gettable_src=${1#"$src_dir/"}
echo -e "$gettable_src" >> $gogot
else
f... | azmr/goGetEm | goGetUp.sh | Shell | mit | 640 |
#!/usr/bin/env bash
brew install python2
brew install python3
pip2 install neovim --upgrade
pip3 install neovim --upgrade
| abiosoft/dotfiles | neovim/deps-macos.sh | Shell | mit | 124 |
#!/bin/sh
# push to github repository
echo
git push origin master
if [ $? -eq 0 ]
then
echo
echo '√ Pushed to github repository'
else
echo
echo '✗ Failed to push to github repository'
fi
# push to epitech repository
echo
git push --force git@git.epitech.eu:/da-fon_s/PSU_2016_myirc master:master
if [ $? -eq 0... | Liroo/IRC | sendToProd.sh | Shell | mit | 446 |
cflags=`llvm-config --cflags`
#clinkflags=`llvm-config --libs --cflags --ldflags core analysis native`
clinkflags=`llvm-config --libs --cflags --ldflags core`
echo "CFLAGS is $cflags"
echo "CLINKFLAGS is $clinkflags"
gcc $cflags -c "$1" -o obj.o
g++ obj.o $clinkflags -o hi
| afein/pzcc | tests/LLVM-Test/hi.sh | Shell | mit | 274 |
#!/bin/bash
echo '---------------------------------------------'
echo 'Xdebug status';
echo '---------------------------------------------'
echo '---------------------------------------------'
echo 'PHP:'
echo '---------------------------------------------'
docker exec -it dockerhero_php bash -c 'php -v'
echo '-----... | johanvanhelden/dockerhero | scripts/xdebug/status.sh | Shell | mit | 487 |
#!/usr/bin/env bash
export APK_DIR=$HOME"/moviereel/mojaapp/build/outputs/apks/"
export APK_DIR_RELEASE=${APK_DIR}"release/"
export VERSION_NAME_PREFIX="v"
export VERSION_NAME_RC_SUFFIX="rc${CIRCLE_BUILD_NUM}"
# Creates APK tags and releases to the repo
echo "Creating release for ${CIRCLE_PROJECT_REPONAME} ..."
# ch... | BrianLusina/MovieReel | scripts/circleci_create_tags.sh | Shell | mit | 1,358 |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir $DIR/test
$QUICK_V3_ROOT/quick/bin/create_project.sh -p com.quick-x.samples.towerdefense -o $DIR/test/towerdefense -r landscape -lt
rm -fr $DIR/test/towerdefense/runtime
rm -fr $DIR/test/towerdefense/frameworks/runtime-src/proj.win32
rm -fr $DIR/test/towerd... | tangyiyang/v3quick-classic | quick/samples/towerdefense/create_test_project.sh | Shell | mit | 760 |
#!/usr/bin/env bash
RWHO_DIR="$(dirname "$0")/.."
AGENT="$RWHO_DIR/agent-linux/rwho-agent"
ARGS=""
if [ "$(whoami)" = "root" ]; then
PIDFILE="/run/rwho-agent.pid"
CONFIG="/etc/rwho/agent.conf"
else
PIDFILE="${XDG_CACHE_HOME:-$HOME/.cache}/rwho/rwho-agent.$HOSTNAME.pid"
CONFIG="$RWHO_DIR/agent.conf"
PERL5LIB="$H... | grawity/rwho | agent-linux/rwho-agent.sh | Shell | mit | 1,731 |
#!/bin/bash
#
source $STEAMLINK_HOME/setenv.sh
qmake
make $MAKE_J || exit 2
export DESTDIR="${PWD}/steamlink/apps/steamlink-qml-example"
# Copy the files to the app directory
mkdir -p "${DESTDIR}"
cp -v steamlink-qml-example "${DESTDIR}"
cp -r qml "${DESTDIR}"
# Create the table of contents and icon
cat >"${DESTDI... | eiz/steamlink-qml-example | build_steamlink.sh | Shell | mit | 7,415 |
#!/bin/bash
# Running this script will update the code on the Raspberry Pi and restart
# a server with the updated version.
#
# To use this script, be sure to:
# 1. Generate your ssh keys
# ssh-keygen -t rsa
#
# 2. Add your ssh key to the Raspberry Pi valid authorized_keys
# cat ~/.ssh/id_rsa.pub | ssh pi@raspbe... | Aleksandre/rpid | utils/test_dev.sh | Shell | mit | 753 |
#!/bin/bash
sudo apt-get install python
sudo python get-pip.py
sudo pip install RPi.GPIO
sudo pip install python-twitter
echo Don't forget to create apiKeys.txt with your Twitter API info! | BearAlliance/temp-monitor | install.bash | Shell | mit | 192 |
pecorian_trush_cmd() {
# 2) select target
local target=" " # need dummy space not to abort
# common process
local post_command=""
[ -z "$target" ] && pecorian_abort
# 3) select action
local action_list
action_list=()
action_list=(${action_list[@]} "remove")
action_list=(${action_list[@]} "open wit... | kenji0x02/pecorian | pecorian.d/trush.sh | Shell | mit | 1,074 |
#!/bin/bash
set -e
# Installs java
sudo apt-get update
sudo apt-get --assume-yes install default-jdk
# Installs scala
sudo apt-get --assume-yes install scala
# Installs spark
wget https://s3-us-west-2.amazonaws.com/spark-installer/spark-2.1.1-bin-hadoop2.7.tgz
tar -xvf spark-2.1.1-bin-hadoop2.7.tgz
# Configures s... | koulakis/amazon-review-qa-analysis | provisioning/setup_spark.sh | Shell | mit | 1,495 |
#!/bin/sh
STRIIM_HOME=/opt/striim
rm ${STRIIM_HOME}/conf/log4j.server.properties
sed -e 's/@@rootLogger@@/'${STRIIM_L4J_ROOT_LOGGER}'/g' ${STRIIM_HOME}/conf/log4j.server.tmpl.properties > ${STRIIM_HOME}/conf/log4j.server.bak.properties
sed -i 's/@@MaxFileSize@@/'${STRIIM_L4J_MAX_FILE_SIZE}'/g' ${STRIIM_HOME}/conf/lo... | striim/striim-dockerfiles | dockerfiles/striim-node/createLog4jServerProps.sh | Shell | mit | 553 |
#!/bin/bash
source `dirname $0`/../common.sh
docker run -v $OUTPUT_DIR:/tmp/output \
-v $CACHE_DIR:/tmp/cache \
-e VERSION=2.5.1 \
-e STACK=cedar-14 \
-e PATCH_URL=https://gist.githubusercontent.com/schneems/374157aff12e92babb1c6a3c6b744392/raw/c70aceeb7a97b8d8858234104afad... | hone/docker-heroku-ruby-builder | rubies/cedar-14/ruby-2.5.1.sh | Shell | mit | 406 |
java -cp "packing.jar;jenetics.jar;cc.jar" JeneticExecutor fu-converted-2 100 1 999999 50 60000
java -cp "packing.jar;jenetics.jar;cc.jar" JeneticExecutor fu-converted-2 100 1 999999 50 120000
java -cp "packing.jar;jenetics.jar;cc.jar" JeneticExecutor fu-converted-2 100 1 999999 50 300000
java -cp "packing... | rodra55d/TCC2 | tests/teste9/start.sh | Shell | mit | 13,727 |
#!/usr/bin/env bash
__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
__init_tools_log=$__scriptpath/init-tools.log
__PACKAGES_DIR=$__scriptpath/packages
__TOOLRUNTIME_DIR=$__scriptpath/Tools
__DOTNET_PATH=$__TOOLRUNTIME_DIR/dotnetcli
__DOTNET_CMD=$__DOTNET_PATH/dotnet
if [ -z "$__BUILDTOOLS_SOURCE" ]; then __BUILDTOOLS_SO... | yizhang82/corefx | init-tools.sh | Shell | mit | 6,118 |
#!/usr/bin/env bash
# sudo dnf install -y dnf-plugins-core
# -------------------------------------------------------------------------------------------
# Install Brave
# -------------------------------------------------------------------------------------------
sudo dnf config-manager --add-repo https://brave-browse... | mapaiva/dotfiles | INIT.sh | Shell | mit | 3,978 |
#!/bin/bash
# ember_app.sh
#
# Copyright (C) 2015 Mitchell C Kuppinger, MD
#
starting "Setup My Ember App"
# Based on:
# http://space-pope.github.io/vagrant/ember/ember-cli/2014/06/02/ember-npm-and-vagrant/
# On vagrant based Ubuntu VM:
# ember new <app-name> via ember-cli fails when working in a sync'd folder
# So ... | dpneumo/Vagrant_Rails_PG | setup/project_user/ember_app.sh | Shell | mit | 1,372 |
__apt_get_install_noinput() {
apt-get install -y -o DPkg::Options::=--force-confold $@; return $?
}
install_main_dependencies(){
packages="dpkg
git"
echo "Installing snmpcheck dependency packages"
for PACKAGE in $packages; do
__apt_get_install_noinput $PACKAGE >> $HOME/ECC-install.log 2>&1
ER... | rinnimatthews/ECC-bootstrap | ECCbootstrap.sh | Shell | mit | 6,280 |
#shell path will be passed by $1
cd /home/ackfruit-server/jackfruit-server
git pull origin develop
forever restart server.js
echo 'deploy success!'
| EthanWu/cherry-hook | scripts/deploy-development.sh | Shell | mit | 148 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.