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 build \
-t flask:latest \
.
| spncrlkt/gillard | gillard/bin/build.sh | Shell | gpl-3.0 | 39 |
#!/bin/sh
vtk_base_dir="vtk"
if [ ! -d $vtk_base_dir ]; then
mkdir -p $vtk_base_dir
fi
cd $vtk_base_dir
vtk_dir="VTK-6.2.0"
vtk_zip="VTK-6.2.0.tar.gz"
vtk_url="http://www.vtk.org/files/release/6.2/VTK-6.2.0.tar.gz"
parallel=4
# missing libraries: vtkViewsGeovis, vtkRenderingVolumeAMR
build() {
echo "build v... | Leopardob/dice-dev | thirdparty/build_vtk.sh | Shell | gpl-3.0 | 872 |
#!/bin/sh
PREFIX="%PREFIX%"
PRESETS_FILE="$PREFIX/share/outernet/presets"
PRESETS_URL="https://raw.githubusercontent.com/Outernet-Project/outernet-linux-lband/master/presets.sh"
. "$PRESETS_FILE"
usage() {
cat <<EOF
Usage:
$0 PROFILE
$0 update
parameters:
PROFILE name of the tuner profile
update fe... | Outernet-Project/outernet-linux-lband | bin/demod-presets.sh | Shell | gpl-3.0 | 1,012 |
#!/bin/bash
ver=$(git describe --abbrev=0)
int=$(openssl dgst -sha384 -binary dist/ezra.js | openssl base64 -A)
cat > docs/_data/ezra.yml << EOL
main:
version: ${ver}
integrity: ${int}
EOL | KenHung/Ezra | update_config.sh | Shell | gpl-3.0 | 193 |
#!/bin/bash
# build.sh -- builds JAR and XPI files for mozilla extensions
# by Nickolay Ponomarev <asqueella@gmail.com>
# (original version based on Nathan Yergler's build script)
# Most recent version is at <http://kb.mozillazine.org/Bash_build_script>
# This script assumes the following directory structure:
# ./... | freelawproject/recap-old | build.sh | Shell | gpl-3.0 | 4,266 |
sudo cryptsetup luksOpen /dev/md0 secure
sudo mount /dev/mapper/secure /mnt/Holo
| OpenKerley/dotfiles | openHolo.sh | Shell | gpl-3.0 | 81 |
while pgrep omxplayer &>/dev/null;
do sleep 1;
done
[ "`tty`" = "/dev/tty1" ] && emulationstation
| pancakeykakes/TriPi-Updater | System/emu.sh | Shell | gpl-3.0 | 103 |
#!/bin/bash
sed -E 's/ +\t/\t/g;s/\t +/\t/g;s/ [^\t]+ / /g' | awk -F'\t' '{printf("a%s\t%s\t%s\n", $1, $7, $10)}' | iconv -t "ascii//TRANSLIT"
| fmmb/admin-tigre.iul.lab | fenix2info.sh | Shell | gpl-3.0 | 143 |
#!/bin/bash
HEIGHT=$1
EXTENSION=$2
OUTPUT_FOLDER=$3
INPUT=$4
OUTPUT=`echo $INPUT | sed s/mono_icon_//`
echo ${OUTPUT}.${EXTENSION}
echo inkscape --without-gui --export-plain-svg --force ../icons.svg -i $INPUT -e ${OUTPUT_FOLDER}/${OUTPUT}.${EXTENSION} -h ${HEIGHT}
inkscape --without-gui --export-plain-svg --force ../... | M4rtinK/modrana-graphics | mono_icons/generate_icon.sh | Shell | gpl-3.0 | 396 |
#!/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/stream_to_streams_ss_1o/build.sh | Shell | gpl-3.0 | 1,606 |
##depends:none
# GATK, MIT
curl -s http://$NIC_MIRROR/pub/sci/molbio/chipster/dist/tools_extras/GenomeAnalysisTKLite-latest.tar.bz2 | tar -xj -C ${TOOLS_PATH}/
ln -s GenomeAnalysisTKLite-2.1-11-gfb37f33 ${TOOLS_PATH}/GenomeAnalysisTK2
| ilarischeinin/chipster | src/main/admin/vm/modules/external_tools/GATK.bash | Shell | gpl-3.0 | 240 |
#!/bin/sh
rm -f iris-test.ds
# creates training dataset for nntool
./dstool -create iris-test.ds
./dstool -create:4:input iris-test.ds
./dstool -create:1:output iris-test.ds
./dstool -list iris-test.ds
./dstool -import:0 iris-test.ds iris.in
./dstool -import:1 iris-test.ds iris.out
./dstool -padd:0:meanvar iris-test... | cslr/dinrhiw2 | tools/test_data4_lbfgs.sh | Shell | gpl-3.0 | 993 |
sh allycat77.sh
sh anireal.sh
sh arabellamascari.sh
sh AverageSwingers.sh
sh imutimes.sh
sh kaylorsaurus.sh
sh KinoYoga.sh
sh konmann702.sh
sh LanieLynnXXX.sh
sh sammisacavage.sh
sh StephyScopes.sh
sh TheDabSpot.sh
sh thereallisaann.sh
sh veradevera.sh
| vxbinaca/archive-env-NG | re-rip/periscope-var/execute.sh | Shell | gpl-3.0 | 253 |
#!/bin/sh
cd $TRANSMART_DATA
. ./vars
make -C samples/postgres load_clinical_RanchoGSE20690
make -C samples/postgres load_ref_annotation_RanchoGSE20690
make -C samples/postgres load_expression_RanchoGSE20690
| tranSMART-Foundation/Scripts | data-loading/load_RanchoGSE20690.sh | Shell | gpl-3.0 | 211 |
#!/bin/sh
# shell script to extract subset of boost, that is required for supernova
#
# run from the root of the supercollider repository
# root of the boost source tree
BOOST_ROOT=/home/tim/t/boost_1_45_0/
bcp --boost=${BOOST_ROOT} \
--scan server/supernova/*/*pp \
--scan external_libraries/boost_*/*/*pp \
--scan... | iani/SC_SourceCode_Study | external_libraries/extract_boost.sh | Shell | gpl-3.0 | 642 |
#!/bin/bash
# ---
# PS1
# ---
#Black 0;30 Dark Gray 1;30
#Blue 0;34 Light Blue 1;34
#Green 0;32 Light Green 1;32
#Cyan 0;36 Light Cyan 1;36
#Red 0;31 Light Red 1;31
#Purple 0;35 Light Purple 1;35
#Brown 0;33 Yellow 1;33
... | FATruden/puppet | modules/configs/files/bash_env.sh | Shell | gpl-3.0 | 941 |
#!/bin/bash
AP=**********
KEY=************
IFACE=ath0/wifi0
sudo ifconfig $IFACE up
iwlist $IFACE scanning
sudo iwconfig $IFACE essid $AP key s:$KEY
sudo dhclient
ping www.google.com
| KIAaze/bin_and_dotfiles_public | bins/public_bin/connect_wifi.sh | Shell | gpl-3.0 | 185 |
find ../src/modules -exec grep --color=auto -He "vegas.[_][A-Z][a-zA-Z]\+ = " {} \;
| vegastexteditor/Vegas | tools/private_classes.sh | Shell | gpl-3.0 | 84 |
#!/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 1A/logs/w-08_1/20161025T215001+0000/00/00/averageratioevent_1_ID0000013.sh | Shell | gpl-3.0 | 1,261 |
#!/bin/bash
if [ ! -z $LM_SOURCEPATH ]; then
export CONFIGFILE=$LM_SOURCEPATH/PICCL/webservice/picclservice/piccl.config.yml
fi
python3 setup.py develop
clamservice -d picclservice.picclservice
| LanguageMachines/PICCL | webservice/startserver_development.sh | Shell | gpl-3.0 | 198 |
#!/bin/bash
#must run as root
$CONFIG_FILE = hardpass-config.sh
source $CONFIG_FILE
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/oled_menu "1: type passwords" "2: settings" "3: update (git)" "4: about"
menu_sel=$?
case $menu_sel in
1) echo "pass show ... stuff";; #TODO TODO TODO
2) settings;;
3)... | girst/hardpass-passwordmanager | oled/mainmenu.sh | Shell | gpl-3.0 | 1,143 |
#!/bin/bash -e
. ../lfs.comm
# The Libcap package implements the user-space interfaces to the POSIX 1003.1e
# capabilities available in Linux kernels. These capabilities are a
# partitioning of the all powerful root privilege into a set of distinct
# privileges.
build_src() {
srcfil=libcap-2.24.tar.xz
srcdir=... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-7.6-systemv/2-build-final-system/16-Libcap-2.24.sh | Shell | gpl-3.0 | 620 |
#!/bin/bash
/usr/local/opendomo/services/config/about.sh > tmp.txt
echo "Informacion de instalacion OpenDomo" > about.txt
version=`grep INF tmp.txt | cut -d ":" -f2 -`
echo "version de OpenDomo " $version >> about.txt
kernel=`grep kernel tmp.txt | awk '{ print $5}'`
echo -n "Version del kernel " >> about.txt
echo $ke... | loureiromahia/OpenDomo_VR | usr/local/opendomo/voiceCommands/es/menu/bin/vrabout.sh | Shell | gpl-3.0 | 475 |
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "basic configuration, multiple transitions"
setup
echo "*** Master node..."
setup_ctdb_natgw <<EOF
192.168.1.21 master
192.168.1.22
192.168.1.23
192.168.1.24
EOF
ok_null
simple_test_event "ipreallocated"
ok "default via ${CTDB_NATGW_DEFAULT_GATEWAY} dev ethXX... | sathieu/samba | ctdb/tests/eventscripts/11.natgw.015.sh | Shell | gpl-3.0 | 1,163 |
#!/bin/bash
#Created by Alex Williams
#This script is for educational purposes only. I am not responsible for your ignorance/stupidity.
#This code is simple. If you want to update it, please do. But send me a copy and also reference me as an author.
bannr="Custom MSFVenom Executable Generator"
clear
echo $bannr
checkdi... | blindfuzzy/LHF | Tools/msfpayloadgenerator.sh | Shell | gpl-3.0 | 3,732 |
#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
set -e
# Deletes and recreates S3 bucket used for crash storage
# FIXME(willkg): Pull bucket names from e... | mozilla/socorro | docker/run_recreate_s3_buckets.sh | Shell | mpl-2.0 | 836 |
#!/bin/bash
# See https://github.com/phusion/baseimage-docker#adding_additional_daemons
# https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04
set -e
# TODO: Add to Dockerfile
# ADD xxx /etc/apache2/ssl/apache.pem
# TODO: Should move the preparation to Dockerfi... | gmacario/docker-webproxy | run-apache2.sh | Shell | mpl-2.0 | 2,866 |
psql -t -A -F"," < 10_export_street-cadastre_osm_street.sql > banof-raw-street.csv
psql -t -A -F"," < 10_export_street-cadastre_osm_way.sql >> banof-raw-street.csv
| frodrigo/banof | 50-export/10_export-street.sh | Shell | agpl-3.0 | 164 |
#!/bin/sh
# Default username
PASSWD_DIR=/var/lib/extrausers
create_user() {
USERNAME="$1"
UID="$2"
# Create the user
gid=$(awk -F: '/^databox:/{print $3}' /etc/group)
passwd_row="${USERNAME}:x:${UID}:${gid}::/home:/bin/bash"
shadow_row="${USERNAME}:x:15607:0:99999:7:::"
(
flock -w 10 9 || exit 99
... | scraperwiki/cobalt | code/box_lib.sh | Shell | agpl-3.0 | 1,052 |
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/rey44
array=( "polish" "german" "english" "japanese" "indonesian" "ctb" "taiko" "osumania" "modhelp" "hungarian" "chinese" "korean" "french" "russian" "spanish" "dutch" "videogames" "modreqs" "help" "finnish" "skandinavian" "italian" "f... | Reyuu/irciostats | update_alltime.sh | Shell | agpl-3.0 | 570 |
#!/bin/bash
case "$1" in
start)
if [ "${UID}" = "" ]; then
UID = `id -u`
fi
if [ $UID -ne 0 ]; then
echo "[WARNING] $0 is not running as root but $USER..."
echo "[WARNING] It will not be abble to map all docker container processes and connections
... | echinopsii/net.echinopsii.ariane.community.plugin.docker | misc/adocker.sh | Shell | agpl-3.0 | 1,763 |
#!/bin/sh
# --- storage
if [ -z ${FCREPO_STORAGE} ]; then export FCREPO_STORAGE=/mnt/storage/gdz_be; fi
if [ -z ${RAILS_ENV} ]; then export RAILS_ENV=development; fi
mkdir -p $FCREPO_STORAGE/fcrepo
mkdir -p $FCREPO_STORAGE/solr
mkdir -p $FCREPO_STORAGE/redis
mkdir -p $FCREPO_STORAGE/fuseki
docker-compose build
d... | subugoe/gdz-backend | start.sh | Shell | agpl-3.0 | 340 |
#!/bin/sh
#this script is called by saveRebootSettings in Database.php to populate the shell file called by the cron to reboot #the computer each morning at 4:30 am to free up resources
#echo "Writing the Amazon Reboot Manager"
cat > "$1" << 'EOF'
#!/bin/bash
#this script will be called every 10 minutes to check the a... | omnibond/acilos | src/cron/createAmazonRebootScript.sh | Shell | lgpl-2.1 | 780 |
#!/bin/bash
# grp.sh: Ò»¸ö·Ç³£´Ö²ÚµÄ'grep'ÃüÁîµÄʵÏÖ.
E_BADARGS=65
if [ -z "$1" ] # ¼ì²é´«µÝ¸ø½Å±¾µÄ²ÎÊý.
then
echo "Usage: `basename $0` pattern"
exit $E_BADARGS
fi
echo
for file in * # ±éÀú$PWDϵÄËùÓÐÎļþ.
do
output=$(sed -n /"$1"/p $file) # ÃüÁîÌæ»».
if [ ! -z "$output" ] # Èç¹û"$... | liruiqiu/tlpi | sh/sh/grp.sh | Shell | lgpl-3.0 | 603 |
#!/bin/bash
# Copyright (c) 2013 Rafael Vega González <rvega@elsoftwarehamuerto.org>
#
# This file is part of Dancing Bone Machine.
#
# Dancing Bone Machine is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by
# the Free Software Founda... | dancing-bone-machine/dancing-bone-machine | scripts/create-ios-wrapper.sh | Shell | lgpl-3.0 | 1,398 |
#!/bin/bash
#remove existing Cmake cache and directories
# remove existing Cmake cache and directories
rm -fr CMake*
rm -f *.txt
export Fortran_COMPILER_NAME=gfortran
export R_HOME=/usr/bin/R
export PATH=/usr/bin:/usr/local/bin:/usr/local/lib:/usr/bin/cmake:/usr/local/opt:$PATH
# define where 'make copy' will place... | smwesten-usgs/FortranGIS | build/linux/gfortran/run_cmake_gfortran.sh | Shell | lgpl-3.0 | 1,481 |
#! /bin/bash
# put rdf+json from a remote location
# copy it from the default repository to the -write instance
# the request includes the Location header, but no content
initialize_repository --repository "${STORE_REPOSITORY}-write"
echo PUT-rj w/location PUT > $ECHO_OUTPUT
curl_graph_store_update -X PUT -o /dev/nu... | dydra/http-api-tests | sparql-graph-store-http-protocol/location/PUT-rj.sh | Shell | unlicense | 733 |
#!/bin/sh
S=$(date "+%S")
M=$(date "+%M")
D=$(date)
GENERATED_BUNDLE_VERSION=${S}
GENERATED_BUNDLE_SHORTVERSION=${M}.${S}
SRCROOT=${SRCROOT:-.}
echo "// Generated: ${D}" > "${SRCROOT}/Version.xcconfig"
echo "GENERATED_BUNDLE_VERSION = ${GENERATED_BUNDLE_VERSION}" >> "${SRCROOT}/Version.xcconfig"
echo "GENERATED_BUN... | Inferis/WatchVersionThingy | WatchKitVersionDemo/Version.sh | Shell | unlicense | 569 |
#!/bin/sh -e
cd `dirname $0`
dir=`pwd -P`
cd -
# Install files
$dir/install.sh
cp -vf config/bds.config $HOME/.bds/ # Make sure default config file is used
cd $HOME
mkdir -p $dir/../distro/
tar -cvzf $dir/../distro/bds_`uname`.tgz .bds
| leepc12/BigDataScript | scripts/distro.sh | Shell | apache-2.0 | 241 |
#!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors.
#
# 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 applica... | shyamjvs/kubernetes | staging/src/k8s.io/code-generator/generate-internal-groups.sh | Shell | apache-2.0 | 6,065 |
#!/bin/sh
sudo docker build -t vpp_ffmpeg:latest .
| ArthurChiao/videoplusplus | images/ffmpeg/build-image.sh | Shell | apache-2.0 | 52 |
#!/bin/bash
#auto git push before spot instance terminate
seconds=5
status_terminate='"marked-for-termination"'
for i in {1..34560}
do
status=$(aws ec2 describe-spot-instance-requests --filters "Name=spot-instance-request-id,Values=sfr-c8851d21-89b1-437d-b9ef-8be2c6a37bdf"| jq '.SpotInstanceRequests[0].Status.Cod... | namiyao/Kaggle_NCFM | terminate_gitpush.sh | Shell | apache-2.0 | 815 |
set -e
#------------------------------
tar -zxf etc.tgz etc/neutron
tar -zxf etc.tgz etc/nova
#------------------------------
sed -i '/^#/ d' etc/neutron/neutron.conf
sed -i '/^$/ d' etc/neutron/neutron.conf
sed -i '/^#/ d' etc/neutron/plugins/ml2/openvswitch_agent.ini
sed -i '/^$/ d' etc/neutron/plugins/ml2/openv... | jinsenglin/openstack | vagrant-up-3-node-openstack/p/vagrant/archive/os-compute/untar-etc-tarball.sh | Shell | apache-2.0 | 528 |
#!/bin/sh
# MyProxy credential store
creddir=/var/lib/myproxy
# trusted CAs directory
cadir=${X509_CERT_DIR:-/etc/grid-security/certificates}
if [ $# -gt 0 ];then
echo "Usage: $(basename $0)" >&2
echo " Cleans up myproxy credential dir" \
"by removing expired or revoked credentials." >&2
echo " ... | rcauth-eu/aarc-ansible-master-portal | roles/credstore/files/myproxy_purge.sh | Shell | apache-2.0 | 4,136 |
#!/bin/bash
echo "Folder s1 ------------------------------------------------------------------------------------"
matlab -nodesktop -nosplash -r "get_voiced_frames('~/Pruebas/RML_Emotion_Database_audio/s1/f1/');exit"
echo "Folder s2 ------------------------------------------------------------------------------------"
m... | lerker/cupydle | cupydle/test/kml/AudioFeaturesExtraction/extract_voiced_frames.sh | Shell | apache-2.0 | 4,794 |
mkdir $HOME/.bintray/
printf "realm = %s\nhost = %s\nuser = %s\npassword = %s" "$BINTRAY_REALM" "$BINTRAY_HOST" "$BINTRAY_USER" "$BINTRAY_API_KEY" > $HOME/.bintray/.credentials
./sbt -Dtag=${TRAVIS_TAG} ++2.12.4 publish
./sbt -Dtag=${TRAVIS_TAG} ++2.11.11 publish
| rehei/crudible | bintray.sh | Shell | apache-2.0 | 264 |
#启动服务脚本
pm2 start server.js --name shelltest
sleep 12s
isOnline=`pm2 show shelltest | grep online`
status=`pm2 show shelltest | grep status`
echo $status
if [ ${#isOnline} > 0 ]
then echo "start ok"
else echo "start fail"
pm2 restart server.js --name shelltest
fi
#每隔100s,循环检测CPU是否超过80%,超过重启服务
while true;
do
cpu_left=`... | lnluckybamboo/fd_homework | task15/shellpm2/cpud.sh | Shell | apache-2.0 | 553 |
#!/bin/bash
# Copyright 2016 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
. $(dirname $0)/../common.sh
build_lib() {
rm -rf BUILD
cp -rf SRC BUILD
(cd BUILD && ./boot.sh && ./configure && make -j $JOBS)
}
get_git_tag https://github.com/openvswitch/ovs.git v2... | bshastry/fuzzer-test-suite | openvswitch-2.3.2/build.sh | Shell | apache-2.0 | 567 |
#!/bin/bash
DIR=$PWD/nft
rm -rf $DIR
mkdir -p $DIR/share
cd $DIR
cat << EOF > $DIR/share/config.site
CPPFLAGS=-I$DIR/include
LDFLAGS=-L$DIR/lib
EOF
export PKG_CONFIG_PATH=$DIR/lib/pkgconfig
git clone git://git.netfilter.org/libmnl
cd libmnl
./autogen.sh && ./configure --prefix=$DIR
make
make install
cd $DIR
git c... | tgraf/rhashtable | compile-nftables.sh | Shell | apache-2.0 | 554 |
#!/bin/bash -e
DATE=`date`
# log file when the script is executed
OUTFILE="ibm-tbsm-alert.log"
. ./appd_alert.sh "$@"
echo "$SEVERITY"
echo "$APP_NAME"
echo "$HEALTH_RULE_NAME"
echo "$AFFECTED_ENTITY_NAME"
echo "$SUMMARY_MESSAGE"
echo "HRV= $IS_HRV"
echo "POLICY_TYPE= $POLICY_TYPE"
if [ "$IS_HRV" -eq 1 ] && ([[ $P... | Appdynamics/hpopenview-alerting-extension | wrapper.sh | Shell | apache-2.0 | 1,300 |
#!/bin/bash
tightvncserver :1
echo "========================20161115========================"
dpkg --configure -a
apt-get install -f
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install expect sudo net-tools openssh-server pwgen zip unzip python-numpy python3-numpy cron curl gnome-schedul... | x3193/ubt1404 | shell/setup/this/20161115.sh | Shell | apache-2.0 | 6,292 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you ... | larsks/opennebula-lks | install.sh | Shell | apache-2.0 | 37,455 |
# Naming convention for your master image
MASTER_IMAGE_NAME="MASTER-"
# Safety factor value
SAFETY_FACTOR=1.3
# enable threading to limit number of simontaneous copy of vmkfstools
ENABLE_THREADING=0
# number of simontaneous copy of vmkfstools (IO intensive)
MAX_THREAD=2
DEVEL_MODE=0
LC_EXECUTION_DIR=/tmp/linked_clo... | Appdynamics/vsphere-connector-extension | scripts/ESX-Linked-Clone.sh | Shell | apache-2.0 | 19,825 |
#!/bin/bash
# Set constants and defaults
NAME='@fonehomename@'
USERNAME='@fonehomeuser@'
CONFIG_FILE='@fonehomeconf@'
KEY_FILE='@fonehomekey@'
RETRY_DELAY='@fonehomeretry@'
KNOWN_HOSTS_FILE='@fonehomehosts@'
FACILITY_PATTERN='^(auth|authpriv|cron|daemon|ftp|lpr|mail|news|security|user|uucp|local[0-7])$'
SYSLOG_TAG='@f... | archiecobbs/fonehome | src/scripts/fonehome.sh | Shell | apache-2.0 | 5,912 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# 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 ... | googleapis/java-grafeas | .kokoro/release/publish_javadoc11.sh | Shell | apache-2.0 | 1,841 |
#! /bin/bash
echo --- stop hadoop-2.6.0
THOME=/home/ubuntu/tools/
sudo ${THOME}hadoop-2.6.0/sbin/stop-dfs.sh
sudo ${THOME}hadoop-2.6.0/sbin/stop-yarn.sh
| faustineinsun/WiseCrowdRec | deprecated-wisecrowdrec-springmvc/scripts/ec2/stopHadoop-ec2.sh | Shell | apache-2.0 | 157 |
#!/bin/sh
echo This task is successful because it exits with a zero status code
echo it sleeps for 60 seconds to show build animation
sleep 60
exit 0 | robojar/concourse-courses | tasks/successful/run.sh | Shell | apache-2.0 | 153 |
#!/bin/sh
git add .
git commit -m "$1"
git push
| GameJam2016atDal/Game | update.sh | Shell | apache-2.0 | 49 |
#!/bin/sh
set -eo pipefail
[[ "$TRACE" ]] && set -x || :
add() {
echo "= /install/alpine/darkhttpd.sh ============================================"
echo "Parameters:"
echo "RUNIT_SUPPORT=YES to add runit support"
echo "SUPERVISORD_SUPPORT=YES to add supervisord support"
echo "-------------------------... | ownport/docker-env | scripts/install/alpine/darkhttpd.sh | Shell | apache-2.0 | 1,034 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# 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 ... | googleapis/java-bigquery | .kokoro/release/publish_javadoc11.sh | Shell | apache-2.0 | 1,855 |
cd /sivart
git pull
export HOME=/root
/bin/rm -rf node_modules/sivart-*
npm install
export NODE_ENV=production
nodejs server.js 80
echo __ALIVE__
| zzo/sivart-GCE | instances/github_startup.sh | Shell | apache-2.0 | 146 |
#!/usr/bin/env bash
CURRENT_DIR=`pwd`
# Spark version (requires uncompressed tar.gz under $HOME)
SPARK_VERSION="3.1.2"
# Read the version from version.sbt
SPARK_LUCENERDD_VERSION=`cat version.sbt | awk '{print $5}' | xargs`
echo "||==========================================================="
echo "||Loading LuceneR... | zouzias/spark-lucenerdd-examples | spark-submit.sh | Shell | apache-2.0 | 1,618 |
mkdir -p ../../../../../../data/gogs
docker-machine start
#docker-machine regenerate-certs default
eval $(docker-machine env default)
docker-compose pull
docker-compose up
| Jumpscale/play8 | docker/compose_devel/run.sh | Shell | apache-2.0 | 175 |
#!/bin/bash
#
# Copyright Pravega Authors.
#
# 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 t... | pravega/pravega | test/system/aws/master_script.sh | Shell | apache-2.0 | 2,117 |
#! /bin/bash
. ./config.sh
NAME=c1
DOMAIN=weave.local
HOSTNAME=$NAME-hostname.$DOMAIN
# Docker inspect hostname + domainname of container $2 on host $1
docker_inspect_fqdn() {
docker_on $1 inspect --format='{{.Config.Hostname}}.{{.Config.Domainname}}' $2
}
# Start container with args $2.. and assert fqdn of $1
... | 2opremio/weave | test/270_use_name_as_hostname_test.sh | Shell | apache-2.0 | 1,392 |
#!/bin/bash
#host-enum.sh: Retrieve host information from a list or at the cli
if [ -z $1 $2 ]; then
echo "[*] Enter a host:"
read host
fi
if [ $# -ne 2 ]
then
echo "Usage: `basename $0` <ip_list> <output_file>"
exit 85
else
if [ -n "$1" ]
then
echo "Reading IPs from $1...";
ips... | dagorim/mytools | host-enum.sh | Shell | bsd-2-clause | 469 |
#!/usr/bin/env sh
# generated from catkin/cmake/template/setup.sh.in
# Sets various environment variables and sources additional environment hooks.
# It tries it's best to undo changes from a previously sourced setup file before.
# Supported command line options:
# --extend: skips the undoing of changes from a previou... | TheDash/athomesoft | athomesoftware/audio/devel/setup.sh | Shell | bsd-2-clause | 2,048 |
#!/bin/sh
TARGET=target
echo "Create cpptraj trajin input file"
for i in ../modeling/${TARGET}.B9999????.pdb; do
echo "trajin \"$i\"" >> ptraj_trajin
done
echo "Do actual clustering run"
echo "Single cluster with averagelinkage algorithm"
./plot_clustering_metrics.py --prefix c cluster ../modeling/${TARGET}.B999... | runiq/modeling-clustering | find-correct-cluster-number/runall.sh | Shell | bsd-2-clause | 957 |
#!/bin/bash
sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' conf/application.conf
$PLAY1_HOME/play start --%prod | kellabyte/FrameworkBenchmarks | frameworks/Java/play1/setup.sh | Shell | bsd-3-clause | 132 |
#!/bin/sh
#
# Copyright (C) 2010 Thomas Cort <linuxgeek@gmail.com>
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted (subject to the limitations in the
# disclaimer below) provided that the following conditions are met:
#
# * Redistributions o... | tcort/odopoi | posm_extractor/fetch.sh | Shell | bsd-3-clause | 2,071 |
add_ssh_key ()
{
new_key_file=$1
cd $HOME
if [ ! -d .ssh ]
then
mkdir .ssh
fi
cd .ssh
if [ ! -e authorized_keys ]
then
touch authorized_keys
fi
script_name=$1
new_job_file=$2
crontab -l | grep -v $script_name > /tmp/current_crontab
cat $new_job_file >> /tmp/current_crontab
crontab /tmp/current... | guthemberg/tejo | contrib/tejo/misc/add_ssh_key.sh | Shell | bsd-3-clause | 347 |
# exons
awk '$3 == "exon"' ${annotation} | sort -k1,1 -k4,4n | mergeBed -i stdin | awk -v OFS="\t" '$(NF+1)="exon"' > exons
# genes
awk '$3 == "gene"' ${annotation} | sort -k1,1 -k4,4n | mergeBed -i stdin | awk -v OFS="\t" '$(NF+1)="gene"' > genes
# introns
subtractBed -a genes -b exons | awk -v OFS="\t" '$(NF)="intron... | guigolab/bamstats | scripts/bamstats-preprocess.sh | Shell | bsd-3-clause | 540 |
echo $1
find $1 -type d | grep -E "(node_modules){1}" | wc -l | xargs echo "total node_modules: "
find $1/node_modules -type d | grep -E "^($1/node_modules/){1}(.*node_modules/){1,}" | wc -l | xargs echo "total node_modules/**/node_modules/*: "
| tenaciousRas/ledwax-web-ui | scripts/count_node_modules.sh | Shell | bsd-3-clause | 245 |
#!/bin/bash
TEMP="./logs/"
START=`pwd`
export NUMCPUS=`number_of_cpus`
echo Number of physical cpus: $NUMCPUS
export BACKENDS=" c2 "
export WHICHTIME=realtimes
source $REGIMENTD/benchmarks/shared.sh
echo;echo;echo " *** Running parallel benchmarks ***"; echo;
rm -rf $TEMP
mkdir $TEMP
echo "## Time for each benchmar... | rrnewton/WaveScript | apps/vision_ucla/run_par_bench.sh | Shell | bsd-3-clause | 515 |
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
if [ "$CI" == "true" ]; then
REPO=`git config remote.origin.url`;
SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:};
SHA=`git rev-parse --verify HEAD`;
ENCRYPTION_LABEL="$encrypted_a3a89bfc08a4";
COMMIT_AUTHOR_EMAIL="ibinbe... | MC-Notes/backend | travis_login.sh | Shell | bsd-3-clause | 1,121 |
#!/bin/bash
MAKE_JOBS=8
PMIX_BASE="<path-to-dir-with-PMIx>"
PMIX_SRC="$PMIX_BASE/pmix"
BASE_PATH=`pwd`/../
SRC_PATH=$BASE_PATH/src
DISTR_PATH=$BASE_PATH/distr
PREFIX=$BASE_PATH/build
OMPI_CONFIG="--prefix=$INSTPREF/ --enable-debug --disable-oshmem"
M4_URL_BASE="ftp://ftp.gnu.org/gnu/m4"
M4_VER="1.4.17"
M4_NAME=m4-... | artpol84/ompi_trunk_build | scripts/env_pmix.sh | Shell | bsd-3-clause | 1,205 |
#!/bin/bash
apt-get update
# Install rabbit package
apt-get install -y rabbitmq-server | stepanovsh/project_template | {{cookiecutter.repo_name}}/sh/rabbitMQ.sh | Shell | bsd-3-clause | 87 |
echo $PREFIX > $PREFIX/automatic-prefix
echo /opt/anaconda1anaconda2anaconda3 > $PREFIX/has-prefix
echo /opt/anaconda1anaconda2anaconda3 > $PREFIX/has-prefix-not-listed
| tacaswell/conda-build | test-recipes/metadata/has_prefix_files/build.sh | Shell | bsd-3-clause | 169 |
#!/bin/bash
#
# Configures the database server for TFB
#
# Note: This is not used for Travis-CI. See run-ci.py to see
# how databases are configured for Travis.
#
# Note on Compatibility: TFB *only* supports Ubuntu 14.04 64bit
# (e.g. trusty64). However, it's nice to retain 12.04 support
# where possible, as it's stil... | Synchro/FrameworkBenchmarks | toolset/setup/linux/database.sh | Shell | bsd-3-clause | 10,578 |
#!/bin/bash
set -e # exit with nonzero exit code if anything fails
# clear and re-create the out directory
rm -rf _out || exit 0;
mkdir _out;
# copy the needed stuffs
cp -r ./bin/static/bundle.js _out/
cp -r ./bin/static/index.html _out/
# go to the out directory and create a *new* Git repo
cd _out
git init
# insid... | craft-ai/HomeTogether | gh-deploy.sh | Shell | bsd-3-clause | 1,028 |
export TRAIN_NAME='saamiF_8gram_morph'
export TRAIN_DIR="$GROUP_DIR/p/sami/lmmodels/$TRAIN_NAME"
export SOURCE_FILES=$GROUP_DIR/p/sami/uit-sme-F/train.trn:$GROUP_DIR/p/sami/wikipedia.txt
export NGRAM_ORDER=8
export PRUNE_THRESHOLD=5e-9
export LA_NGRAM_ORDER=4
export LA_PRUNE_THRESHOLD=5e-8
export MORPH_TRAIN_OPTION... | phsmit/iwclul2016-scripts | 03_lmtraining/configs/saamiF_8gram_morph.sh | Shell | bsd-3-clause | 325 |
#!/bin/bash
set -e # Exit with nonzero exit code if anything fails
SOURCE_BRANCH="master"
TARGET_BRANCH="gh-pages"
function doCompile {
bundle exec jekyll build
}
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH"... | wenzhixin/bootstrap-group-select | deploy.sh | Shell | mit | 1,942 |
#!/bin/bash
./configure --prefix=$PREFIX
make
make lib
make shlib
make install
| jakirkham/conda-recipes-pyoceans | gridutils/build.sh | Shell | mit | 80 |
echo view in browser at http:localhost:4000
bundle exec jekyll serve
| LambertLeong/LambertLeong.github.io | build.sh | Shell | mit | 69 |
# Query/use custom command for `git`.
zstyle -s ":vcs_info:git:*:-all-" "command" _omz_git_git_cmd
: ${_omz_git_git_cmd:=git}
#
# Functions
#
# The current branch name
# Usage example: git pull origin $(current_branch)
# Using '--quiet' with 'symbolic-ref' will not cause a fatal error (128) if
# it's not a symbolic r... | blaedj/dotfiles | zsh/plugins/git/git.plugin.zsh | Shell | mit | 2,235 |
#!/bin/bash
command -v astyle >/dev/null 2>&1 || { echo >&2 "You need astyle installed to run this script!"; exit 1; }
# first we add brackets in single line statements after if ...
astyle --indent=spaces=4 --break-blocks --max-code-length=140 --suffix=none --break-after-logical --pad-oper --align-pointer=name --styl... | Lasica/RebeliaProgramowalnychZaskroncow | scripts/astyle.sh | Shell | gpl-2.0 | 712 |
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
#
# Invenio 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... | inveniosoftware/invenio-groups | run-tests.sh | Shell | gpl-2.0 | 1,202 |
$ cut -f 1 zzunicode2ascii.in.txt > _tmp1
$ cut -f 2 zzunicode2ascii.in.txt > _tmp2
$ zzunicode2ascii _tmp1 #=> --file _tmp2
$ rm -f _tmp[12]
$
| funcoeszz/funcoeszz | testador/zzunicode2ascii.sh | Shell | gpl-2.0 | 146 |
#!/bin/bash
exe=imsrg++
#exe="valgrind --track-origins=yes imsrg++"
#vnn=/itch/exch/BlockGen/me2j/chi2b_srg0800_eMax12_lMax10_hwHO020.me2j.gz
#v3n=/itch/exch/me3j/chi2b3b400cD-02cE0098_srg0800ho40C_eMax14_EMax14_hwHO020.me3j.gz
#vnn=input/chi2b_srg0800_eMax12_lMax10_hwHO020.me2j.gz
#v3n=input/chi2b3b400cD-02cE0098_s... | ragnarstroberg/ragnar_imsrg | work/scripts/runUniversal.sh | Shell | gpl-2.0 | 2,960 |
curl --silent --request PUT --data '<repository><uri>http://build.sn/SuperNova/trunk/current/repo/</uri></repository>' http://simpsons:8999/repositories/
| karlredgate/api-test-harness | lib/repo.sh | Shell | gpl-2.0 | 154 |
#!/bin/bash
echo "Lua lint:"
$LUAC -p $(find . -name "*.lua") || exit 1
echo "OK"
| dafzor/LibPlayerSpells-1.0 | tests/lualint.sh | Shell | gpl-3.0 | 82 |
# normalize chrom names to those in the reference.
# In particular, modify chrom names in Ensembl84-derived data (genes, exons BED)
# to match the reference.
#
# Procedure is based on mapping here: https://github.com/dpryan79/ChromosomeMappings/blob/master/GRCh38_ensembl2gencode.txt
# (see https://www.biostars.org/p/13... | ding-lab/BreakPointSurveyor | B_ExonGene/x.8_normalize_chrom.sh | Shell | gpl-3.0 | 753 |
# Parameters present in env variables:
# WORKER_INCLUDE_QUEUES - a comma separated names of queues on which worker should listen on
# WORKER_EXCLUDE_QUEUES - a comma separated names of queues on which worker should NOT listen on
# WORKER_ADMINISTRATION_REGION - (required) worker namespace to operate on
#
# Note:
... | miteshvp/fabric8-analytics-worker | hack/worker-queues-env.sh | Shell | gpl-3.0 | 2,215 |
#!/bin/bash
#
# Copyright (c) 2014 ThoughtWorks, Inc.
#
# Pixelated is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pixelate... | pixelated/pixelated-user-agent | install-pixelated.sh | Shell | agpl-3.0 | 3,797 |
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
protocol="${PROTOCOL:-https}"
# serve frontend as https if CBIOPORTAL_URL contains https, use http otherwise
bash ${SCRIPT_DIR}/env_vars.sh || exit 1
eval "$(bash $SCRIPT_DIR/env_vars.sh)"
(echo $CBIOPOR... | cBioPortal/cbioportal-frontend | scripts/serve_dist.sh | Shell | agpl-3.0 | 821 |
#!/bin/bash
# Ensure all dependencies are installed
npm install
# Launch tests
protractor tests/protractor.conf.js | xxing1982/EDU_SYZT | Reference/nourriture-web-app-master/scripts/test-selenium.sh | Shell | unlicense | 116 |
#!/bin/bash
make clean && make && ./slim
| zuocheng-liu/bigdecimal | src/debug.sh | Shell | apache-2.0 | 41 |
#!/bin/bash
#
# Copyright 2016 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 ... | hashashin/src | pagespeed/apache/system_tests/pagespeed_admin.sh | Shell | apache-2.0 | 1,745 |
#!/usr/bin/env bash
BASEDIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]:-$0}")")
export QUIVER_HOME=$BASEDIR/build/quiver
export PATH=$BASEDIR/build/bin:$BASEDIR/scripts:$PATH
export PYTHONPATH=$QUIVER_HOME/python:$BASEDIR/python${PYTHONPATH:+:${PYTHONPATH}}
export NODE_PATH=/usr/lib/node_modules${NODE_PATH:+:${NODE_PAT... | ssorj/quiver | devel.sh | Shell | apache-2.0 | 324 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); ... | TouK/bash-snippets | touk-bash-git.sh | Shell | apache-2.0 | 7,320 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.