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
VIM=vim
FAKEVIM=${FAKEVIM:-test/test}
diff=meld
cmdfile=fakevim_test_cmd.log
INDENT=${INDENT:-' '}
options="set smartindent|set autoindent|set nocindent"
print_help() {
echo "USAGE: $0 FILE CMD..."
echo " Run input in both Vim and FakeVim and compare result."
echo " Results are ... | vovkasm/liteide | liteidex/src/3rdparty/fakevim/tests/vim-test.sh | Shell | lgpl-2.1 | 2,543 |
#!/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"); you ... | cemsbr/HiBench | workloads/streamingbench/spark/bin/run.sh | Shell | apache-2.0 | 1,303 |
#!/bin/bash
set -e -u
# Prevent python from generating compiled *.pyc files
export PYTHONDONTWRITEBYTECODE=1
DEBUG="${1:-empty}"
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
source "$MY_PATH/../autobuild/ndk_helper.sh"
export NDK_ROOT=$(GetN... | rokuz/omim | tools/unix/generate_vulkan_shaders.sh | Shell | apache-2.0 | 768 |
#!/bin/sh
set -e
function fail {
printf "FAILURE: $1\n"
FAILED=1
}
echo "starting kernel config sanity test with ${1:-/proc/config.gz}"
if [ -n "$1" ]; then
UNZIPPED_CONFIG=$(cat "$1")
else
# decompress /proc/config.gz from the host
UNZIPPED_CONFIG=$(zcat /proc/config.gz)
fi
if [ -n "$2" ]; then
kernel... | deitch/linuxkit | test/pkg/kernel-config/check-kernel-config.sh | Shell | apache-2.0 | 7,411 |
NAMESPACE=default hack/cluster-monitoring/deploy
| BrentDorsey/pipeline | metrics.ml/kube-prometheus/deploy.sh | Shell | apache-2.0 | 49 |
#!/bin/bash
usage() {
echo ""
echo "Usage: $0 -u <psql_user> -d <database_name> -h <host> -p <port> -s <chado prebuilt schema> [ -r ]"
echo ""
echo "Options:"
echo " -u : PostgreSQL username"
echo " -d : Name of the database to which the chado schema and ontologies are to be... | erasche/Apollo | scripts/load_chado_schema.sh | Shell | bsd-3-clause | 4,356 |
gem install bundler
bundle exec rake spec
if [-z "$SURF_BUILD_NAME" ]; then
## Posting to GitHub
bundle exec danger
else
## Local clean build, just print to console
bundle exec danger local
fi
| danger/danger | build.sh | Shell | mit | 198 |
#!/bin/bash
FN="JASPAR2014_1.26.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/experiment/src/contrib/JASPAR2014_1.26.0.tar.gz"
"https://bioarchive.galaxyproject.org/JASPAR2014_1.26.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-jaspar2014/bioconductor-jaspar2014_1.26.0_src_all.ta... | bebatut/bioconda-recipes | recipes/bioconductor-jaspar2014/post-link.sh | Shell | mit | 1,302 |
# This script is an improvement over the default grub-install '(hd0)'
#
# However the following issues still exist:
#
# * We don't know what the first disk will be, so we cannot be sure the MBR
# is written to the correct disk(s). That's why we make all disks bootable.
#
# * There is no guarantee that GRUB was the... | krissi/rear | usr/share/rear/finalize/Linux-i386/21_install_grub.sh | Shell | gpl-2.0 | 3,695 |
#!/bin/sh
PORT=$1
time bin/hadoop jar build/hadoop-0.20.1-dev-examples.jar wordcount -jt localhost:$PORT randtext2 out-$RANDOM
| pwendell/mesos | frameworks/hadoop-0.20.2/experiment-scripts/wc.sh | Shell | apache-2.0 | 127 |
#!/bin/bash
VERSION=0.13.1
URL=http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/$VERSION/sbt.zip
function usage {
echo ""
echo " Usage: $0 [-f]"
echo ""
echo " Attempts to retrieve SBT $VERSION from $URL."
echo " If sbt.dir already exists, this will be skipped, unless the -f flag... | ddf-project/ddf-jdbc | bin/get-sbt.sh | Shell | apache-2.0 | 680 |
#!/usr/bin/env bash
STARTTIME=$(date +%s)
# shellcheck source=openshift-hack/lib/init.sh
source "$(dirname "${BASH_SOURCE[0]}")/lib/init.sh"
pushd "${OS_ROOT}" > /dev/null || exit 1
make all WHAT='cmd/kube-apiserver cmd/kube-controller-manager cmd/kube-scheduler cmd/kubelet'
popd > /dev/null || exit 1
os::build::... | openshift/kubernetes | openshift-hack/build-go.sh | Shell | apache-2.0 | 725 |
#!/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... | discordianfish/kubernetes | hack/e2e-test.sh | Shell | apache-2.0 | 2,689 |
# publishUserGadget.sh {gadgetName}
TEMP_ENTITY_FILE=$0___temp-entity.xml
read -s -p password: password
./getUserEntry.sh PrivateGadgetSpec $1 -password $password | sed 's/.*<id>.*<\/id>.*//' > $TEMP_ENTITY_FILE && ./deleteEntry.sh PrivateGadgetSpec $1 -password $password && ./insertEntry.sh PrivateGadgetSpec $TEMP_... | fbpatel/google-feedserver | resources/clientTool/publishUserGadget.sh | Shell | apache-2.0 | 421 |
#!/bin/bash -e
declare -a dockerfiles
dockerfiles=(
["heywill/will:python2.7$CTAG"]="/will/will-py2/"
["heywill/will:python3.7$CTAG"]="/will/will-py3/")
build_containers() {
for tag in "${!dockerfiles[@]}";
do
echo "building $tag with context ${dockerfiles[$tag]}";
docke... | skoczen/will | docker/buildwillcontainers.sh | Shell | mit | 1,254 |
#!/bin/sh
[ -d ./tmp ] && rm -rf ./tmp
DEVKIT_ROOT=/mnt/devel/workspace/openee_build/dm800se/build/tmp
CROSS=${DEVKIT_ROOT}/cross/mipsel/bin/mipsel-oe-linux-
export CFLAGS+="-I${DEVKIT_ROOT}/staging/mipsel-oe-linux/usr/include \
-I${DEVKIT_ROOT}/staging/mipsel-oe-linux/usr/include/libxml2 \
-I${DEVKIT_ROOT}/stagin... | tension9000/e2openplugin-CrossEPG | make_e2_oe1.6.sh | Shell | lgpl-2.1 | 1,054 |
#!/bin/bash
# strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'
function lint(){
eslint --no-eslintrc --config .eslintrc ${@-.}
}
function git_require_clean_work_tree(){
git diff --exit-code
}
function find_changelog_file(){
# find the changelog file
local C... | joeybaker/jscs-minimal | scripts.sh | Shell | artistic-2.0 | 2,570 |
#!/bin/sh
##
## Copyright (c) 2014 The WebM project authors. All Rights Reserved.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All c... | mxOBS/deb-pkg_trusty_chromium-browser | third_party/libvpx/source/libvpx/test/tools_common.sh | Shell | bsd-3-clause | 13,545 |
#### This script is meant to be sourced by ltconfig.
# ltcf-cxx.sh - Create a C++ compiler specific configuration
#
# Copyright (C) 1996-1999, 2000, 2001, 2003 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Original C++ support by:Gary V. Vaughan <gvv@techie.com>
# ... | ipwndev/DSLinux-Mirror | user/gdb/ltcf-cxx.sh | Shell | gpl-2.0 | 37,122 |
#!/bin/sh
: ==== start ====
TESTNAME=nat-pluto-01
source /testing/pluto/bin/eastlocal.sh
arp -s 192.0.2.1 10:00:00:dc:bc:01
ipsec setup start
/testing/pluto/bin/wait-until-pluto-started
ipsec auto --add northnet--eastnet-nat
: ==== cut ====
ipsec klipsdebug --set rcv
ipsec klipsdebug --set verbose
: ==== tuc ====
ec... | y-trudeau/openswan-patch-meraki | testing/pluto/nat-pluto-01/eastinit.sh | Shell | gpl-2.0 | 330 |
#!/bin/sh
# assumes that
# ROOTDIR= set to root of source code.
# OBJDIRTOP= set to location of object files
#
exe=${OBJDIRTOP}/programs/readwriteconf/readwriteconf
conf=testing/pluto/multinet-01/west.conf
args="--rootdir=${ROOTDIR}/testing/baseconfigs/all --config ${ROOTDIR}/$conf --verbose --... | y-trudeau/openswan-patch-meraki | testing/scripts/conf-multinet-01/runit.sh | Shell | gpl-2.0 | 419 |
#!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance w... | ilenghel/lis-test | WS2012R2/lisa/remote-scripts/ica/netperf_server.sh | Shell | apache-2.0 | 9,509 |
#!/usr/bin/env bash
# Copyright ©2015 The Gonum Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
WARNINGF32='//\
// Float32 implementations are autogenerated and not directly tested.\
'
WARNINGC64='//\
// Complex64 implementations are ... | SpectoLabs/hoverfly | vendor/gonum.org/v1/gonum/blas/gonum/single_precision.bash | Shell | apache-2.0 | 8,954 |
#!/bin/sh
clear
export BOOST_ROOT=~/boost
GCC_ROOT=/usr/local/gcc-433
export PATH=${GCC_ROOT}/bin:${PATH}
export LD_LIBRARY_PATH=${GCC_ROOT}/lib:${LD_LIBRARY_PATH}
./build.sh -b 64 \
--clean \
-x 'g++' \
-z '-std=c++0x -Wall -pedantic' \
-l '-L${BOOST_ROOT}/bin/hpux1123-ia64' \
--with-boost ${BOOST_ROOT} \
--with-ma... | Rapotkinnik/libcds | build/sample/build-hpux1123.sh | Shell | bsd-2-clause | 394 |
#!/bin/bash
# configs/qemu-i486/nsh/setenv.sh
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributio... | IUTInfoAix/terrarium_2015 | nuttx/configs/qemu-i486/nsh/setenv.sh | Shell | bsd-2-clause | 2,070 |
#! /usr/bin/env sh
# This file is part of Mbed TLS (https://tls.mbed.org)
#
# Copyright (c) 2018, Arm Limited, All Rights Reserved
#
# Purpose:
#
# Run 'pylint' on Python files for programming errors and helps enforcing
# PEP8 coding standards.
if `hash pylint > /dev/null 2>&1`; then
pylint -j 2 tests/scripts/gen... | bukepo/openthread | third_party/mbedtls/repo/tests/scripts/check-python-files.sh | Shell | bsd-3-clause | 578 |
#!/bin/sh
TERM="$1"
AS="$2"
HEAD=/tmp/textmate_Rhelper_head.html
DATA=/tmp/textmate_Rhelper_data.html
SEARCH=/tmp/textmate_Rhelper_search.html
RhelperAnswer=/tmp/textmate_Rhelper_out
"$TM_BUNDLE_SUPPORT"/bin/askRhelperDaemon.sh "cat(getRversion()>='2.10.0',sep='')"
sleep 0.05
IS_HELPSERVER=$(cat "$RhelperAnswer")
"$T... | Nikpolik/apm | spec/fixtures/r.tmbundle/Support/bin/Rsearch.sh | Shell | mit | 3,581 |
find . -name "Makefile" -exec sed -i '1,/CXX_FLAGS/a CXX_FLAGS+=-DPROFLING' "{}" \;
| kolewu/sirius | sirius-suite/scripts/add-profiling.sh | Shell | bsd-3-clause | 84 |
#!/bin/sh -e
./scripts/disable_log_statements.sh
python setup.py sdist upload -r pypi
./scripts/enable_log_statements.sh
| zchee/python-client | scripts/publish.sh | Shell | apache-2.0 | 122 |
#!/bin/sh
# SUMMARY: Namespace stress with 10 concurrent short TCP/IPv4 connections over a veth pair
# LABELS:
# REPEAT:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
NAME=test-ns
clean_up() {
rm -rf ${NAME}-*
}
trap clean_up EXIT
moby build -format ke... | davefreitag/linuxkit | test/cases/020_kernel/110_namespace/005_kernel-4.13.x/010_veth/011_echo-tcp-ipv4-short-10con-single/test.sh | Shell | apache-2.0 | 463 |
source_sh ${srcdir}/emulparams/armelf.sh
OUTPUT_FORMAT="elf32-bigarm"
| mattstock/binutils-bexkat1 | ld/emulparams/armelfb.sh | Shell | gpl-2.0 | 70 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
if [ "$(uname)" == "Darwin" ]; then
cp faCount "$PREFIX/bin"
else
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(... | dmaticzka/bioconda-recipes | recipes/ucsc-facount/build.sh | Shell | mit | 422 |
#!/bin/bash
# Set up the Puppet Master
vagrant ssh puppet -c "sudo service iptables stop; \
sudo apt-get install -y puppetmaster; \
sudo rmdir /etc/puppet/modules || sudo unlink /etc/puppet/modules; \
sudo ln -s /vagrant/modules /etc/puppet/modules; \
sudo ln -s /vagrant/site.pp /etc/puppet/manifests/site.pp; \
sudo s... | guessi/puppetlabs-openstack | examples/allinone/10_setup_master.sh | Shell | apache-2.0 | 371 |
/*
* Copyright 2021 elven cache. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#ifndef PARAMETERS_SH
#define PARAMETERS_SH
// struct PassUniforms
uniform vec4 u_params[13];
#define u_depthUnpackConsts (u_params[0].xy)
#define u_frameIdx (u_params[0].z)
#define u_lobe... | emoon/bgfx | examples/45-bokeh/parameters.sh | Shell | bsd-2-clause | 834 |
#!/bin/sh
#
# A simple RTP receiver
#
VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998"
#DEST=192.168.1.126
DEST=localhost
VIDEO_DEC="rtph263pdepay ! ffdec_h263"
VIDEO_SINK="ffmpegcolorspace ! autovideosink"
LATENCY=100
gst-launch -v gstrtpbin name=rtpbin la... | ahmedammar/platform_external_gst_plugins_good | tests/examples/rtp/client-H263p.sh | Shell | lgpl-2.1 | 723 |
#!/bin/sh
#
# Copyright (c) 2009 Eric Wong
#
test_description='git svn initial master branch is "trunk" if possible'
. ./lib-git-svn.sh
test_expect_success 'setup test repository' '
mkdir i &&
> i/a &&
svn_cmd import -m trunk i "$svnrepo/trunk" &&
svn_cmd import -m b/a i "$svnrepo/branches/a" &&
svn_cmd import -m... | overtherain/scriptfile | tool-kit/git-2.1.2/t/t9145-git-svn-master-branch.sh | Shell | mit | 607 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ MeSH.Pfa.3D7.eg.db
| joachimwolff/bioconda-recipes | recipes/bioconductor-mesh.pfa.3d7.eg.db/pre-unlink.sh | Shell | mit | 65 |
#!/bin/bash
# Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditio... | arkmaxim/grpc | src/objective-c/tests/build_tests.sh | Shell | bsd-3-clause | 2,083 |
#!/bin/bash
which ragel >/dev/null
if [ $? -ne 0 ] ; then
echo "ERROR. Ragel not installed, cannot compile the Ragel grammar." >&2
exit 1
else
ragel -v
echo
fi
set -e
RAGEL_FILE=rfc1918_parser
echo ">>> Compiling Ragel grammar $RAGEL_FILE.rl ..."
ragel -G2 -C $RAGEL_FILE.rl
echo
echo "<<< OK: $RAGEL_FILE.c... | MayamaTakeshi/kamailio | modules/ipops/compile_rfc1918_parser.rl.sh | Shell | gpl-2.0 | 337 |
#!/bin/sh
##
## Copyright (c) 2014 The WebM project authors. All Rights Reserved.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All c... | Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/third_party/libvpx/source/libvpx/build/make/iosbuild.sh | Shell | mit | 7,228 |
#!/usr/bin/env bash
# Copyright 2019 The TensorFlow 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... | chromium/chromium | third_party/tflite_support/src/tensorflow_lite_support/tools/pip_package/rpi/update_sources.sh | Shell | bsd-3-clause | 1,178 |
#!/bin/bash
echo "start - cleanup"
rm -rf /tmp/*
rm -f /var/log/wtmp
rm -f /var/log/btmp
yum clean all
history -c
echo "end - cleanup" | garandam/packer-vagrant-puppet | scripts/cleanup.sh | Shell | mit | 135 |
#!/bin/sh
ipa build --scheme "HP Printers Staging" --config Release | kongcao7/aurasma_hp | learningcenter/Scripts/create_build.sh | Shell | mit | 68 |
#!/usr/bin/env bash
# Via https://github.com/elithrar <matt@eatsleeprepeat.net>
# Sets up a Linux and/or WSL (Windows Subsystem for Linux) based dev-environment.
# Inspired by https://github.com/minamarkham/formation (great!)
# Configuration
DOTFILES_REPO="https://github.com/elithrar/dotfiles"
BREW_PACKAGES=(asciinem... | elithrar/dotfiles | install.sh | Shell | mit | 6,767 |
./gradlew cleanCache && ./gradlew setupDecompWorkspace
| talandar/ProgressiveDifficulty | switchToWorkspace.sh | Shell | mit | 55 |
#!/bin/sh
set -xe
npm install
./node_modules/.bin/pancake
pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install -r requirements_for_test.txt
npm run frontend-build:production
git log --pretty=format:'%h' -n 1 > version_label
| AusDTO/dto-digitalmarketplace-buyer-frontend | scripts/ci_build.sh | Shell | mit | 252 |
#!/usr/bin/env bash
# Linux version (should work, not tested):
_BASEPATH=$PWD
TARGETDIR=$_BASEPATH/../www/mmirf
EXCLUDEDIRS="-E=3rdParty|input_manager_state_chart|DialogDescription.js|grammar.js|gen|.json"
OUTPUTDIR=$_BASEPATH/api_doc
JSDOCDIR=./node_modules/jsdoc-toolkit
TEMPLATEDIR=$JSDOCDIR/templates
TEMPL... | patbit/mmir-starter-kit | doc/create_doc2.sh | Shell | mit | 439 |
#!/bin/bash -ev
#
# Installation Script
# Written by: Tommy Lincoln <pajamapants3000@gmail.com>
# Github: https://github.com/pajamapants3000
# Legal: See LICENSE in parent directory
#
#
# Dependencies
#**************
# Begin Required
#gobject_introspection-1.44.0
#pycairo-1.10.0
# End Required
# Begin Recommended
# End... | pajamapants3000/BLFS_scripts_etc | scripts/pygobject-3.16.2-python3.sh | Shell | mit | 1,566 |
#!/usr/bin/env bash
cd $(dirname $0)
curl -O http://dl.yf.io/dilation/models/dilation7_kitti.caffemodel
| fyu/dilation | pretrained/download_kitti.sh | Shell | mit | 105 |
cd mct-core && git pull && npm update
cd ../generator-m && git pull && npm update
cd ../generator-mcap && git pull && npm update
cd ../generator-m-server && git pull && npm update
cd ../mcap-cli && git pull && npm update
cd ../mcap-deploy && git pull && npm update
cd ../mcap-log && git pull && npm update
cd ../mcap-app... | mwaylabs/mcap-developer-utils | pull.sh | Shell | mit | 365 |
#!/bin/bash
set -o errexit
parse_url()
{
unset errexit
local prefix=DOCKER_LINK
[ -n "$2" ] && prefix=$2
# extract the protocol
local proto="`echo $1 | grep '://' | sed -e's,^\(.*\)://.*,\1,g'`"
# remove the protocol
local url=`echo $1 | sed -e s,$proto://,,g`
# extract the host -- updated
local hos... | griff/sonatype-nexus-docker | crowd-plugin/start_crowd_nexus.sh | Shell | mit | 1,270 |
#!/bin/bash
set -e
# Create NFS and SMB configuration
echo "Configure NFS share"
echo "/usr/share/openitcockpit 172.28.128.0/24(rw,no_subtree_check,no_root_squash,all_squash,anonuid=33,anongid=33)" >> /etc/exports
echo "Configure SMB share"
cp smb.conf /etc/samba/smb.conf
echo -e 'vagrant\nvagrant' | smbpasswd ... | it-novum/vagrantboxes | openITCOCKPIT_V3-dev/install.sh | Shell | mit | 623 |
#!/bin/bash
# Adaptation of https://docs.docker.com/engine/admin/multi-service_container/
# Start the first process
/discover-process.sh &
status=$?
if [ $status -ne 0 ]; then
echo "Failed to start discover-process: $status"
exit $status
fi
# Start the base process
/base-process.sh &
status=$?
if [ $status -ne 0... | redgeoff/docker-discover-tasks | examples/couchdb/wrapper.sh | Shell | mit | 1,015 |
#!/usr/bin/env bash
vendor/bin/phpspec run | openh2labs/elastic-erga | src/laravel/spec.sh | Shell | mit | 43 |
#!/bin/bash
#
# environmental_variables.sh
#
# Copyright (C) 2015 Mitchell C Kuppinger, MD
#
# Source functions
. "/vagrant/setup/functions.sh"
echo "++ setting environmental variables ++" | tee -a /var/log/vagrant_setup.log
# Clean PATH
# http://unix.stackexchange.com/questions/40749/remove-duplicate-path-entries-w... | dpneumo/Vagrant_Rails_PG | setup/environmental_variables.sh | Shell | mit | 1,105 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2084-1
#
# Security announcement date: 2014-01-21 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:33 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - devscripts:2.11.6ubuntu1.6
#
# Last ve... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2014/USN-2084-1.sh | Shell | mit | 623 |
#!/bin/sh
set -eo pipefail -o nounset
wget --quiet -O blekhman_ar.tsv https://raw.githubusercontent.com/macarthur-lab/gene_lists/master/lists/blekhman_ar.tsv
genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/GRCh38/GRCh38.genome
## Get the .genome file
genome2=https://raw.gi... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/hg38/hg38-autosomal-recessive-genes-blekhman-v1/recipe.sh | Shell | mit | 4,821 |
mkdir -p reports
diff-quality --violations=pep8 --html-report reports/diff_quality_pep8.html
bash ./post_worker.sh
| muhammad-ammar/alpha | run_quality.sh | Shell | mit | 117 |
#!/bin/sh
# Name:pgsql_yum_install.sh
# Info:A Script For Setup PostgreSQL Use Yum Repo
# Author:Jason_z
# Create:2013-05-15
# Mail:ccnuzxg@gmail.com
# CopyRight @ AnAn Studio,http://www.anan-studio.com
# Define Variables
version="9.2"
# default postgres data dir,so don't modify this !!
defaultDir=/var/lib/pgsql/$v... | jasonz1987/postgresql-install | pgsql_yum_install.sh | Shell | mit | 1,673 |
#!/bin/bash -vx
set -e
dirmngr < /dev/null
{% for package in packages.system.aur %}
echo 'Building {{package}}'
mkdir build
cd build
git clone {{ package }} .
chmod -R 777 .
sudo -u nobody makepkg
pacman --noconfirm -U `ls *pkg.tar.xz`
cd ../
rm -rf build
{% endfor %}
sed -i -e $'/\tissue_discards = 0/ s/= 0/= 1/' ... | kaylynb/arch-iso | generate-iso/tpl/isofiles/root/chroot-install.sh | Shell | mit | 1,986 |
#!/bin/bash
#
# Find OV movies at the cinestar chemnitz
set -e -u
url='http://www.cinestar.de/de/kino/chemnitz-cinestar-am-roten-turm/kinoprogramm/?version=OV'
baseurl="http://www.cinestar.de"
text=$(curl -s "$url")
moviecolumn=$(echo -ne "$text" | sed -e 's/</\n</g' | sed -e '/<script/,/<\/script>/d' -e '/class="c... | elor/eltools | src/interactive/cinestarov.sh | Shell | mit | 993 |
#!/bin/bash
cd $( dirname $BASH_SOURCE[0] )
mkdir repo
cd repo
git init > /dev/null
cat > example.txt << EOF
first
second
third
fourth
fifth
EOF
git add example.txt
git commit -m 'First commit' > /dev/null
cat > example.txt << EOF
first
fourth
fifth
EOF
git commit -am 'Second commit' > /dev/null
cat > example.tx... | georgebrock/git-browse | tests/createrepo.sh | Shell | mit | 643 |
#!/bin/sh
# Origin: http://blogs.wcode.org/2013/09/howto-boot-your-raspberry-pi-into-a-fullscreen-browser-kiosk/
#while true; do
/etc/init.d/lightdm stop &
# Clean up previously running apps, gracefully at first then harshly
killall -TERM chromium 2>/dev/null;
killall -TERM matchbox-window-manager 2>/dev/null;
sleep ... | M3kH/momo | utils/stopx.sh | Shell | mit | 517 |
#!/bin/sh
# Ruby-on-Rails setup for Ubuntu-14.04
RED='\033[0;31m'
NC='\033[0m' # No Color
echo "${RED} Refreshing packages ${NC}"
dpkg -l > default_packages
# Add Mongodb to default_packages source list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/u... | nitinstp23/dotfiles | ubuntu-setup.sh | Shell | mit | 2,034 |
#!/usr/bin/env bash
puppet apply --modulepath=/src/backer/clean/modules /src/backer/clean/clean.pp
| dockerizedrupal/backer | src/backer/clean.sh | Shell | mit | 100 |
#!/bin/sh
set -ex
pg_short_version=pg"`pg_config --version | cut -d' ' -f2 | tr -d . | cut -c-2`"
echo $pg_short_version | durch/google-bigtable-postgres-fdw | utils/get_version.sh | Shell | mit | 120 |
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Make sure we’re using the latest Hom... | bezhermoso/matiasbynens-dotfiles | brew.sh | Shell | mit | 2,779 |
python -Bm SimpleHTTPServer | carlcalderon/science.js | tests/start.sh | Shell | mit | 27 |
#!/usr/bin/env bash
set -e
if [ -z "$(ls -A /data/mysql)" -a "${1%_safe}" = 'mysqld' ]; then
if [ -z "$MYSQL_ROOT_PASSWORD" ]; then
echo >&2 'error: database is uninitialized and MYSQL_ROOT_PASSWORD not set'
echo >&2 ' Did you forget to add -e MYSQL_ROOT_PASSWORD=... ?'
exit 1
fi
mysql_install_db --datadir=... | un-zero-un/Veilleur | docker/mysql/entrypoint.sh | Shell | mit | 953 |
#!/usr/bin/env bash
set -e
cd $BUILD_STAGINGDIRECTORY
mkdir extraction
cd extraction
git clone --depth 1 https://github.com/Microsoft/vscode-extension-telemetry.git
git clone --depth 1 https://github.com/Microsoft/vscode-chrome-debug-core.git
git clone --depth 1 https://github.com/Microsoft/vscode-node-debug2.git
git ... | hoovercj/vscode | build/azure-pipelines/common/extract-telemetry.sh | Shell | mit | 1,170 |
if [ $# -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage : test/tools/shell/get-average-time.sh log-path [capture_pattern] [replace_to]"
echo "Example : test/tools/shell/get-average-time.sh mobius-stream.log \"^.*func process time: (\d+).*$\" '\$1' "
... | qualiu/testMobius | scripts/log/get-worker-average-time.sh | Shell | mit | 961 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2014:0382
#
# Security announcement date: 2014-04-09 18:55:27 UTC
# Script generation date: 2016-05-12 18:11:55 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - python-keystoneclient.noarch:0.7.1-2.el... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2014/RHSA-2014:0382.sh | Shell | mit | 931 |
#!/bin/csh -f
#
# svn $Id: job_r4dvar_sen.sh 2328 2014-01-23 20:16:18Z arango $
#######################################################################
# Copyright (c) 2002-2014 The ROMS/TOMS Group #
# Licensed under a MIT/X style license #
# See License_ROMS.txt... | mcflugen/roms-lite | src/roms/ROMS/Bin/job_r4dvar_sen.sh | Shell | mit | 4,621 |
#!/bin/bash
GRAV_INSTANCE_NAME=${1:-"default"}
ENV_FILE=./config/$GRAV_INSTANCE_NAME.env
if [[ ! -f "$ENV_FILE" ]]; then
echo "Environment file $ENV_FILE not found"
echo "Please provide a valid env file name"
echo "For instance : "
echo " install.sh grav : will use the file config/grav.env"
echo ... | Ynn/dkgr | install.sh | Shell | mit | 8,962 |
#!/bin/bash
set -ex
REPOSITORY_NAME="voskobovich/yii2-php"
MAJOR_TAG="7.1.7-fpm-alpine"
MINOR_TAGS="7.1-fpm-alpine 7-fpm-alpine fpm-alpine"
docker build -t "${REPOSITORY_NAME}:${MAJOR_TAG}" .
docker push "${REPOSITORY_NAME}:${MAJOR_TAG}"
# Tag and push image for each additional tag
for TAG in ${MINOR_TAGS}; do
... | voskobovich/yii2-docker | php/7.1/fpm/alpine/bin/build.sh | Shell | mit | 442 |
#!/bin/bash
node ~/scripts/resourceLoading $1
rsync -rtv -e "ssh -l $2 -o StrictHostkeyChecking=no" ~/repos/$1 $3
| jostylr/write-web | old/build/fileuser/rsync-ssh.sh | Shell | mit | 116 |
#! /bin/bash
. ./func.sh
echo "Setting up X configuration:"
linkOrWarn x11/Xresources ~/.Xresources;
| melloc/dotfiles | x11/init.sh | Shell | mit | 104 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2302-1
#
# Security announcement date: 2014-07-30 00:00:00 UTC
# Script generation date: 2017-02-02 21:02:31 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libtomcat6-java:6.0.35-1ubuntu3.5
#
# ... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2014/USN-2302-1.sh | Shell | mit | 686 |
GIT=https://github.com/jackpot51/pixelcannon.git
BINDIR=/ui/bin
DEPENDS="orbital"
function recipe_stage {
mkdir -pv "$1/apps/pixelcannon"
cp -Rv assets "$1/apps/pixelcannon"
mkdir -pv "$1/ui/apps"
cp -v manifest "$1/ui/apps/pixelcannon"
}
| redox-os/cookbook | recipes/pixelcannon/recipe.sh | Shell | mit | 256 |
#!/bin/bash -e
function clean_up {
rm -f update-modules.lock
exit
}
if [ "$(id -u)" != "52" ]; then
echo "This script must be run as user Puppet" 1>&2
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd ${DIR} > /dev/null
cd <%= @root_directory %>/puppet/environments
lockfile -r0 upd... | TomiTakussaari/bower_puppet_server | templates/opt/puppet/scripts/update-modules.sh | Shell | mit | 628 |
#!/bin/bash
printf "\nCalling service to list all notifications...\n\n"
printf "Reponse: \n\n"
curl http://localhost:4567/notifications/find
printf "\n\n"
printf "\nCalling service to create a new notification...\n\n"
printf "Reponse: \n\n"
curl -H "Content-Type: application/json" -d '{"title":"blah","message":"blah"... | hasbrettn/flaming-cyril | notifications/test_web.sh | Shell | mit | 1,026 |
#!/usr/bin/env bash
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Install RVM stable with ruby and rails
gpg --keyserver hkp://pool.sks-keyservers.n... | neutraltone/dotfiles | ruby.sh | Shell | mit | 471 |
#!/bin/bash
set -e
RESULTS_FOLDER="results"
#Work in temporal directory
if [ -a $RESULTS_FOLDER ]; then
echo "cannot create directory named \""$RESULTS_FOLDER"\": file already exists"
exit 1
fi
mkdir $RESULTS_FOLDER
cd $RESULTS_FOLDER
#Load image for this project
wget -O - guillep.github.io/files/get/OzVmLatest... | guillep/PharoCandle | build/runtests.sh | Shell | mit | 856 |
echo "Converting the municipio centroids to GeoJSON"
if [ -f municipios-centroids.json ]
then
rm municipios-centroids.json
fi
ogr2ogr -f "GeoJSON" municipios-centroids.json municipios-centroids.vrt
| diegovalle/new.crimenmexico | R/interactive-map/convert.sh | Shell | mit | 202 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | zzBelieve/BaiSi | 百思不得姐/Pods/Target Support Files/Pods/Pods-resources.sh | Shell | mit | 4,984 |
#!/bin/bash
# http://ltp.sourceforge.net/coverage/lcov/readme.php
# paragraph 4
mkdir -p test_results/
lcov -d . -c -o test_results/profile_test.info -q --no-external
lcov -d . --zerocounters
genhtml -o test_results/ test_results/profile_test.info -q
see test_results/index.html | Kamilcuk/Anthill | generateTestReport.sh | Shell | mit | 282 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:0253
#
# Security announcement date: 2015-02-23 19:49:37 UTC
# Script generation date: 2017-01-01 21:15:56 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - samba3x-debuginfo.i386:3.5.4-0.70.el5_6... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2015/RHSA-2015:0253.sh | Shell | mit | 3,934 |
cd "$(dirname $0)"
# Download source distribution
curl -L http://www.winimage.com/zLibDll/unzip101h.zip | tar zx
# Generate Lua project
cd ../../
python yap.py --source examples/unzip-1.0.1/ --output examples/projects/unzip.mac --name unzip --platform MacOS | dmsovetov/pygling | examples/unzip-1.0.1/osx.command | Shell | mit | 259 |
#!/usr/bin/env bash
vagrant plugin install vagrant-reload
printf "\033[0;33mDone.${NC}\n"
| ytake/gardening-builder | setup.sh | Shell | mit | 92 |
#!/bin/bash
cp ./x-runner.sh $GOPATH/bin
cp ./x-monitor.sh $GOPATH/bin
cp ./day_watch.sh.desktop $HOME/.config/autostart
cp ./busy_beaver.png $HOME/Documents
exec x-runner.sh
| n4lik/day_watch | install.sh | Shell | mit | 177 |
#!/bin/bash
node=${1}
if [ -z ${node} ]; then
node="er-dev"
fi
erl -sname ${node} -pa deps/*/ebin ebin -s er
| maximvl/er | start-dev.sh | Shell | mit | 115 |
#!/bin/bash
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
echo "Usage: $0 <osx64 url> <win32 url> <win64 url>"
exit 1
fi
OSX64_URL="$1"
WIN32_URL="$2"
WIN64_URL="$3"
if [[ "$(uname)" == "Darwin" ]]; then
# First, clean everything out
rm -rf juno*
hdiutil detach /Volumes/Juno 2>/dev/null
# Next, download ... | yuyichao/julia-buildbot | commands/sign_juno.sh | Shell | mit | 1,924 |
#!/bin/bash
###############################################################################
# This checks that all variables that need to be set by the user actually are
###############################################################################
function check_user_vars {
# the user file is called user.sh
... | DeonPoncini/scripts | user/user-check.sh | Shell | mit | 923 |
#!/bin/sh
set -e
if [ ! -d "venv" ]; then
./setup.sh
fi
venv/bin/python manage.py runserver
| nihn/map-points | run.sh | Shell | mit | 99 |
#!/bin/bash
set -e
if [ "`basename $PWD`" != "tiny" ]; then
echo 'You must run "$0" from the tiny/ directory.'
exit 1
fi
if [ -z "$SHU_CASE" ]; then
echo '$SHU_CASE not defined'
exit 1
fi
source ../steps/path.sh
_case_dir="test/tmp/case-$SHU_CASE/"
connlm-init --log-file="${_case_dir}/exp/log/complex.ini... | wantee/connLM | egs/tiny/test/test_rnn_topo.sh | Shell | mit | 658 |
#!/bin/bash -e
export BRANCH=master
export IMAGE_NAME=drydock/u14nod
export RES_DOCKER_CREDS=docker-creds
export RES_REPO=u14nod-repo
export RES_IMAGE=u14nod-img
export UP_IMAGE=u14-img
findUpstreamBaseVersion() {
echo "Find Latest Version for" $UP_IMAGE
export versionName=$(cat ./IN/$UP_IMAGE/version.json | jq -... | dry-dock/u14nod | build.sh | Shell | mit | 2,519 |
#!/bin/bash
set -ueo pipefail
DIRBASE=$1
DIROUT=$2
SAMPLE=NewFQ_Test_Hsa-51
# Compare with expression outcome file
cmp --silent $DIRBASE/$SAMPLE/expr_out/$SAMPLE.cRPKM $DIROUT/expr_out/$SAMPLE.cRPKM || exit 1
cmp --silent $DIRBASE/$SAMPLE/to_combine/$SAMPLE.MULTI3X $DIROUT/to_combine/$SAMPLE.MULTI3X || exit 1
exit ... | vastgroup/vast-tools | tests/tests.sh | Shell | mit | 322 |
#! /bin/bash
# Act as a wrapper for query-jellyfish-counts.py
#
TOP_DIR=$(pwd)
KMERS=$1
SIMULATIONS=$2
OUTPUT_DIR=$3
JELLYFISH=$4
# Assume SIMULATION_DIR is as follows SIMULATION_DIR/${coverage}/${iteration}/jellyfish-counts.jf
mkdir -p ${OUTPUT_DIR}
for i in `find ${SIMULATIONS} -mindepth 1 -maxdepth 1 ! -path "*.txt... | Read-Lab-Confederation/nyc-subway-anthrax-study | data/05-custom-bcg-assay/bin/query-jellyfish-counts.sh | Shell | mit | 688 |
#! /bin/bash
SWEETROOT="/home/hpc/pr63so/di69fol/workspace/sweet/benchmarks_plane/polvani/script_swe_plane_polvani_N_bpolvani_g9.81_h10000_f7.2921e-05_p0_a6371220_u2e-05_U8_rob1_fsph0_tsm_ln_erk_tso4_tsob1_C000.0025_PR0.4_PF0.1_M0200_MPI_space01_time001/../../../"
cd "$SWEETROOT"
scons --mode=release --compiler=gnu ... | schreiberx/sweet | benchmarks_plane/polvani/compile_mac-login-intel.sh | Shell | mit | 888 |
set -x
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ] || [ "$TRAVIS_PHP_VERSION" = 'hhvm-nightly' ]; then
curl -sS https://getcomposer.org/installer > composer-installer.php
hhvm composer-installer.php
hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 composer.phar install
else
compo... | adlawson/php-veval | .travis.install.sh | Shell | mit | 360 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.