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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
# This file is part of RetroPie.
#
# (c) Copyright 2012-2015 Florian Müller (contact@petrockblock.com)
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/petrockblog/RetroPie-Setup/master/LICENSE.md.
#
rp_module_id="lr-mednafe... | free5ty1e/RetroPie-Setup | scriptmodules/libretrocores/lr-mednafen-pce.sh | Shell | gpl-3.0 | 1,046 |
# Copyright (C) 2013 Doubango Telecom <http://www.doubango.org>.
# License: GPLv3 or proprietary (consult us)
# Ragel generator
# For more information about Ragel: http://www.complang.org/ragel/
export OPTIONS="-C -L -T0"
ragel.exe $OPTIONS -o ../source/cfg/OTCfgParser.cc cfg.rl | Fossa/teleprescence | ragel/ragel.sh | Shell | gpl-3.0 | 283 |
# Copyright (c) 2010
#
# This file is part of LTE-Sim
# LTE-Sim is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation;
#
# LTE-Sim is distributed in the hope that it will be useful,
# but WITHOUT ANY WAR... | alongxxx/QFS-algorithm | RUN/do_simulations/cell_compute/cell_center/fairnessIndex_comp2.sh | Shell | gpl-3.0 | 5,428 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-07-A/20161213T121857+0000/00/00/taskevent_0_ID0000006.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/bash
cd /usr/local/src/
wget http://php.net/distributions/php-7.0.1.tar.bz2
if [ -s php-7.0.1.tar.gz ]; then
tar jxf php-7.0.1.tar.bz2
cd php-7.0.1
./configure --prefix=/srv/php-7.0.1 \
--with-config-file-path=/srv/php-7.0.1/etc \
--with-config-file-scan-dir=/srv/php-7.0.1/etc/conf.d \
--enable-fpm \
--enabl... | oscm/shell | lang/php/7.0/php-7.0.1.sh | Shell | gpl-3.0 | 4,430 |
#!/bin/bash
#
# 02_getosmdata.sh: script para descargar datos desde OpenStreetMap.
#
# (C) 2012 - 2016 Martin Andres Gomez Gimenez <mggimenez@ingeniovirtual.com.ar>
# Distributed under the terms of the GNU General Public License v3
#
# Requiere los siguientes paquetes:
# bzip2: http://www.bzip.org/
# wget: http://www.... | humitos/garmin-osm | bin/02_getosmdata.sh | Shell | gpl-3.0 | 3,861 |
#!/bin/bash
if [ "X$1" == "Xsetup" ];then
cd /srv/tftp
./setup.sh
else
/usr/sbin/in.tftpd --foreground --verbose --listen --user tftp --address [::]:69 /srv/tftp
fi
| piffall/pxe-sw | entrypoint.sh | Shell | gpl-3.0 | 177 |
#!/bin/bash
if [ $TRAVIS_PULL_REQUEST = "false" ]
then
yarn global add firebase-tools;
cd functions;
yarn;
cd ..;
cp public/* dist;
firebase deploy --token ${FIREBASE_TOKEN};
fi
| tsauvajon/tutor-app | travis.sh | Shell | gpl-3.0 | 191 |
#! /bin/bash
lessc theme.less ../theme.css | EdSmilovici/edsmilovici.github.io | less/compileless.bash | Shell | mpl-2.0 | 42 |
#!/bin/bash
#
# Copyright 2014-2019 Benjamin Worpitz
#
# This file is part of alpaka.
#
# 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/.
#
source ./script/set.sh
#----... | BenjaminW3/alpaka | script/run_generate.sh | Shell | mpl-2.0 | 3,587 |
#!/bin/bash
# g++ -I/path/to/steam/includes -D_LINUX -o luapassing.so -shared luapassing.cpp adapter.cpp libsteam_api.so -fPIC
g++ -D_LINUX -o luapassing.so -shared luapassing.cpp adapter.cpp -fPIC | Antokolos/NLB | stuff/lua/luapassing/luapassing/build_linux.sh | Shell | agpl-3.0 | 198 |
#!/bin/sh
set -x
set -e
# Fix locale
sudo apt-get update
sudo apt-get install -qq language-pack-en
sudo locale-gen en_US.UTF-8 && \
sudo update-locale LANG=en_US.UTF-8 && \
sudo dpkg-reconfigure locales
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo echo "deb http://archive.ubun... | taktik/odoo-vagrant | vagrant_bootstrap.sh | Shell | agpl-3.0 | 2,761 |
#!/bin/bash
##
## @brief @(#) Test1 Launcher (Benchmark for documentation)
##
## @file run-doc-bench-01.sh
##
## -----------------------------------------------------------------------------
## Enduro/X Middleware Platform for Distributed Transaction Processing
## Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Re... | endurox-dev/endurox | atmitest/test001_basiccall/run-doc-bench-01.sh | Shell | agpl-3.0 | 2,293 |
#!/bin/bash
# start-tanaguru -- startup script for the tanaguru engine service
# Written by Jérôme Kowalczyk <jk@open-s.com>.
set -e
###################################
# Definition of LOCAL_PATH variable
###################################
TANAGURU_PATH=`dirname $0`
TANAGURU_PATH=$TANAGURU_PATH/..
export TANAGURU_P... | medsob/Tanaguru | cli/tanaguru-cli/src/main/resources/bin/tanaguru.sh | Shell | agpl-3.0 | 2,442 |
#!/bin/sh
# setup repositories
apt-get update -q
apt-get install \
curl \
software-properties-common \
-q -y --force-yes
add-apt-repository -y ppa:ondrej/php
_release="$(lsb_release -cs)"
apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 5072E1F5
add-apt-repository "deb http://repo.mysql.com/apt/... | marcostudios/osu-web | bootstrap.sh | Shell | agpl-3.0 | 1,651 |
#!/bin/bash
echo 'No automatic updates configured yet. Please visit http://www.bananapi-buch.de/'
exit 0
| mschlenker/Pi-Scripts | shellscripts/updater.sh | Shell | lgpl-2.1 | 106 |
#!/bin/sh
#
#
# A simple Nagios plugin that check the number of open files owned by a process.
#
# It first chech that the process specified by its pid (-p) or its
# service name (-s) (assuming there is a /var/run/<name>.pid file
# holding its pid) or by its name (-n) is running.
# It then look at /proc/<pid>/fd to cou... | zyeming/check_jstat | check_of.sh | Shell | lgpl-2.1 | 3,768 |
#!/usr/bin/sh
if test -r "lb-maple.mpl.bak"; then
mv lb-maple.mpl.bak lb-maple.mpl
fi
sed -e "s|lbpathvalue|lbpath:=\"$1\";|" -i.bak lb-maple.mpl | linbox-team/linbox | interfaces/maple/lb-maple-path.sh | Shell | lgpl-2.1 | 153 |
clear
./exercises 4 images/image.pgm images/image2.pgm
| tchx84/pgm-toolkit | exercises/exercise4.sh | Shell | lgpl-2.1 | 55 |
#! /bin/sh
# $Id: datatool.sh 385192 2013-01-07 15:56:02Z gouriano $
#
if test "$OSTYPE" = "cygwin"; then
bases="./testdata //snowman/toolkit_test_data/objects/datatool"
else
bases="./testdata /net/snowman/vol/projects/toolkit_test_data/objects/datatool"
fi
if test -z "$CHECK_EXEC"; then
tool="./datatool"
else
... | kyungtaekLIM/PSI-BLASTexB | src/ncbi-blast-2.5.0+/c++/src/serial/datatool/datatool.sh | Shell | lgpl-3.0 | 1,131 |
#! /bin/bash
# usage: buildAll.sh [-u <username>] [-p <password>]
# optional args: [-u] Github username
# [-p] Password
if [ "$1" == "-help" ]; then
echo "usage: buildAll.sh [-u <username>] [-p <password>]"
exit
fi
find . -name "*.sh" | xargs chmod +x
# remove previous python compilation clas... | qspin/qtaste | buildAll.sh | Shell | lgpl-3.0 | 695 |
#!/bin/bash
trashDir=~/trash/
mkdir -p $trashDir
for i in "$@"
do
# if there is already a folder/file with the same name in the pre-trash, we move it to the real
# trash:
target=$trashDir/$(basename "$i")
if [ -d "$target" ] || [ -f "$target" ]
then
trash-put "$target"
fi
mv -t $t... | AurelienLourot/my-ansible-setup | files/trash.sh | Shell | unlicense | 338 |
#!/bin/bash
#
# Searches the router for a provided string (case sensitive)
#
# I often find myself wanting to understand a little better how OpenWRT or the Omnia work
# and am thus searching for certain settings and such without knowing where to find them.
#
# Alas if I do a recursive grep from the filesystem root, it... | bernd-wechner/OpenWRT-Tools | search.sh | Shell | unlicense | 1,649 |
#!/bin/bash
set -ue
base_dir=../..
tmp_dir=.docker
mkdir -p $tmp_dir
kafka_version=0.8.2.0
scala_version=2.10
docker_tag=`whoami`/kafka-mesos
print_help() {
echo "Usage: build-image.sh [options]"
echo "Options:"
echo " -t <docker-tag-name> - Docker tag name. Default $docker_tag"
echo " -k <kafka-vers... | serejja/kafka | src/docker/build-image.sh | Shell | apache-2.0 | 1,242 |
uniform mat4 uMVPMatrix; //总变换矩阵
attribute vec3 aPosition; //顶点位置
attribute vec4 aColor; //顶点颜色
varying vec4 vColor; //用于传递给片元着色器的变量
void main()
{
gl_Position = uMVPMatrix * vec4(aPosition,1); //根据总变换矩阵计算此次绘制此顶点位置
vColor = aColor;//将接收的颜色传递给片元着色器
} | canyinghao/CanOpenGlDemo | app/src/main/res/raw/vertex.sh | Shell | apache-2.0 | 399 |
#!/usr/bin/env sh
mkdir -p build
jruby inline.rb
ghc -O2 --make -o wy -odir build -hidir build src/*.hs build/foundation.hs
| matthieu/witty | haskell/build.sh | Shell | apache-2.0 | 124 |
#!/bin/bash
#
# Author: Pierre Pfister <ppfister@cisco.com>
#
# Largely inspired from contiv-VPP vagrant file.
#
set -ex
echo Args passed: [[ $@ ]]
http_proxy=$HTTP_PROXY
https_proxy=$HTTPS_PROXY
node_os=$K8S_NODE_OS
base_ip6=$K8S_IP6_PREFIX
nat64_prefix=$K8S_NAT64_PREFIX
num_workers=$K8S_WORKERS
provider=$VAGRANT_DE... | leblancd/kube-v6 | vagrant/provision/provision_every_node.sh | Shell | apache-2.0 | 4,716 |
#!/bin/sh
# Copyright 2001,2004-2006 The Apache Software Foundation
#
# 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 requir... | jsdjayanga/product-cep | modules/distribution/scripts/wso2cep-samples.sh | Shell | apache-2.0 | 2,671 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2011-2012, Research In Motion (rim.com) #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you m... | blackberry/OpenNebula-Carina | context/jenkinsslave.sh | Shell | apache-2.0 | 2,020 |
#!/bin/bash
# Copyright 2014 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 applicable law ... | calebamiles/kubernetes | hack/lib/etcd.sh | Shell | apache-2.0 | 4,638 |
#!/bin/sh
export AUTOM4TE="autom4te"
export AUTOCONF="autoconf"
case "x$1" in
xinit)
set -x
aclocal
libtoolize --force --copy
autoconf --force
automake --foreign --copy --add-missing
;;
xclean)
echo 'cleaning...'
make distclean >/dev/null 2>&1
rm -rf autom4te.cache m4
for fn in aclocal.m4 configure config.g... | IMCG/nativetask | src/main/native/build.sh | Shell | apache-2.0 | 631 |
#!/bin/bash
# Copyright 2015 Insight Data Science
#
# 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 ... | InsightDataScience/pegasus | config/redis/setup_single.sh | Shell | apache-2.0 | 983 |
set -e
export RDO_VERSION='centos8-victoria'
export DELOREAN_PUBLIC_HOST='trunk.rdoproject.org'
export DELOREAN_URL="https://$DELOREAN_PUBLIC_HOST/centos8-victoria/current-tripleo/delorean.repo"
# The softlinks used in promotion should be cumulative. This job starts w/ current-tripleo
# If the job passes at the rdo lev... | redhat-openstack/rdo-infra | jenkins-v2/jobs/scripts/centos8-victoria-current-tripleo.sh | Shell | apache-2.0 | 1,262 |
#!/bin/bash
echo "Change format file : $1"
astyle --style=kr -A3 --indent-classes --indent-namespaces --indent-col1-comments \
--min-conditional-indent=# --max-instatement-indent=40 --break-blocks \
--align-pointer=name --align-reference=type $1
# Remove source code original version after for... | treadstoneproject/tracethreat-nrml | formatt_code.sh | Shell | apache-2.0 | 350 |
sudo ./rttSetter.sh 40 flink0_taskmanager_1
sudo ./rttSetter.sh 40 flink1_taskmanager_1
sudo ./rttSetter.sh 10 flink2_taskmanager_1
| dsngroup/broke | tools/rttEmulate/set.sh | Shell | apache-2.0 | 132 |
#!/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... | vishvananda/kubernetes | hack/test-go.sh | Shell | apache-2.0 | 5,537 |
#! /bin/bash
sudo docker run --rm -v $(pwd):/tutorial -w /tutorial python ./scripts/unit-test.sh
| njj6666/forkmelon | django-rest-framework/tutorial/scripts/run-ut-in-docker.sh | Shell | apache-2.0 | 97 |
#!/bin/bash
# Copyright 2020 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 i... | googleapis/java-resourcemanager | .kokoro/readme.sh | Shell | apache-2.0 | 1,579 |
#!/bin/bash
clear
if [ -f Sources/ConwayGameOfLife/main.swift ]; then
mv Sources/ConwayGameOfLife/main.swift Sources/ConwayGameOfLife/main.swift.safe
fi
touch Sources/ConwayGameOfLife/*.swift
swift build
swift test
echo "Ready. $?"
| peidevs/GDCR-Scaffolding | swift/test.sh | Shell | apache-2.0 | 242 |
bin/builder.sh --seedsviacli "Zika virus; malware" --content_collections "wapackdata" --verbose --jobprofilename "wapackbot"
| fredzannarbor/pagekicker-community | test/content_collections_test.sh | Shell | apache-2.0 | 126 |
#!/bin/bash
write_password_file() {
if [[ -n "${MYSQL_ROOT_PASSWORD}" ]]; then
cat <<EOF > /root/.my.cnf
[client]
user=root
password=${MYSQL_ROOT_PASSWORD}
EOF
fi
}
init_mysql() {
DATADIR=/var/lib/mysql
# if we have CLUSTER_JOIN - then we do not need to perform datadir ... | sapcc/helm-charts | global/percona_cluster/files/functions.sh | Shell | apache-2.0 | 4,889 |
#!/bin/bash
# This script (monkey) will be executed on an agent (remote).
switchOffWaitOn(){
sudo /usr/bin/monit stop $2
echo "Wait some time"
sleep $1
sudo /usr/bin/monit start $2
}
burnCPU(){
logger -p user.info -s "Burn CPU"
trap "killall yes; exit" SIGHUP SIGINT SIGTERM
os=`uname`
... | mirkoebert/BrigadeOfMonkeys2 | src/main/bash/advancedMonkey.sh | Shell | apache-2.0 | 1,070 |
#!/bin/bash
if (type vagrant) && (type virtualbox) then
echo "get latest vagrant file"
wget https://raw.githubusercontent.com/tascape/testharness/master/doc/Vagrantfile -O Vagrantfile
vagrant up
mkdir -p $HOME/.th
mkdir -p $HOME/qa/th
export PROP=$HOME/.th/th.properties
echo "create t... | tascape/testharness | doc/th.sh | Shell | apache-2.0 | 1,084 |
#!/bin/bash
################################################################
# (c) Copyright 2015 B-LUC Consulting and Thomas Bullinger
#
# 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
#
#... | B-LUC/AdminTools | usr/local/sbin/.Appliances/honeypot.postinstall.sh | Shell | apache-2.0 | 17,261 |
#!/bin/bash
# Copyright 2014 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Syncs //depot/google3/third_party/skia/HEAD to the last known good revision of
# Skia. If this script is not run from a Piper client, creates a new CitC
# client. Also upda... | shahrzadmn/skia | tools/sync_google3.sh | Shell | apache-2.0 | 1,480 |
#! /bin/bash
# Copyright 2019 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... | GoogleCloudPlatform/cloud-foundation-toolkit | infra/build/developer-tools/build/install_shellcheck.sh | Shell | apache-2.0 | 912 |
#!/usr/bin/env bash
# @file: transmission.sh
# @author: Paulino Padial <https://github.com/ppadial>
# @author: dperson <https://github.com/dperson>
set -o nounset # Treat unset variables as an error
if ps -ef | egrep -v 'grep|transmission.sh' | grep -q transmission; then
echo "Servic... | ppadial/rpi-transmission | files/transmission.sh | Shell | apache-2.0 | 595 |
#!/bin/bash
KAFKA_BINARY_URL="http://www.apache.org/dist/kafka/0.8.2.1/kafka_2.10-0.8.2.1.tgz"
if [ ! -d $HOME/binaries ] ; then
mkdir ~/binaries
fi
if [ ! -e $HOME/binaries/kafka.tgz ] ; then
wget $KAFKA_BINARY_URL -O $HOME/binaries/kafka.tgz
fi
mkdir -p kafka && tar xzf $HOME/binaries/kafka.tgz -C kafka --str... | Excelian/Mache | config/travis-scripts/prepare-kafka.sh | Shell | apache-2.0 | 872 |
#!/bin/bash
#
# Copyright (c) 2014 RONDHUIT Co.,Ltd.
#
# 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... | kojisekig/word2vec-lucene | demo-cluster.sh | Shell | apache-2.0 | 1,008 |
#!/usr/bin/env bash
#
# Start the worker pool
#
# source the helper...
DIR=$(dirname $0)
. $DIR/common.sh
# define the number of workers
WORKER_COUNT=10
WORKERS_OPT="-c $WORKER_COUNT"
# define the sleep time in the event of a crash
SLEEP_TIME=15
# helpful message...
logit "Starting up..."
while true; do
# star... | uvalib/Libra2 | scripts/start_workers.sh | Shell | apache-2.0 | 685 |
#!/bin/bash
pushd `dirname $0`/../../
vagrant plugin uninstall vagrant-autodns
rm -f vagrant-autodns-*.gem
bundle install
bundle exec gem build vagrant-autodns.gemspec
vagrant plugin install vagrant-autodns-*.gem
popd | linkedin/vagrant-autodns | test/example/install_plugin.sh | Shell | apache-2.0 | 228 |
#!/bin/bash
OPTION="--src=largestdegree --traversal-mode=LB_CULL --in-sizing=1 --iteration-num=10"
MARK=".skip_pred.LB_CULL.32bitSizeT"
EXECUTION="./bin/test_bc_7.5_x86_64"
DATADIR="../../dataset/large"
cd ~/Projects/gunrock_dev/gunrock/tests/bc
for d in {4..6}
do
SUFFIX="CentOS6_6.k40cx${d}.rand"
mkdir -p e... | gunrock/gunrock | examples/bc/run_rmat.sh | Shell | apache-2.0 | 1,811 |
#!/bin/bash
#TMPID=$(sudo docker run -d __NAMESPACE__/__TARGETNAME__-__BUILDNUMBER__ /bin/bash)
#sudo docker export $TMPID > __BUILDPATH__/__TARGETNAME__-__BUILDNUMBER__
sudo docker save __NAMESPACE__/__TARGETNAME__-__BUILDNUMBER__ > __BUILDPATH__/__TARGETNAME__-__BUILDNUMBER__
| nearform/nscale-util | scripts/linux/containerExportTemplate.sh | Shell | artistic-2.0 | 280 |
#!/usr/bin/env bash
set -e
mkdir -p /bld
cd /bld
cmake /src
make clean
make
cp /bld/blinkled.* /artifacts
| spoorcc/docker_embedded | stm8/src/build.sh | Shell | bsd-3-clause | 109 |
#!/usr/bin/env bash
# Exposes the plugin (in it sources) to Deluge for development purposes.
mkdir temp
export PYTHONPATH=./temp
python setup.py build develop --install-dir ./temp
cp ./temp/WebAPI.egg-link ~/.config/deluge/plugins
rm -fr ./temp | idlesign/deluge-webapi | init_dev.sh | Shell | bsd-3-clause | 246 |
javadoc -d apidocs src/jpcbsim/*java
| tvelliott/jPCBSim | gen_apidocs.sh | Shell | bsd-3-clause | 37 |
#! /bin/bash
python tradeoff.py -o ed2p -s 0 30000000 -d data/1024_reference data/1024_reference_avx data/1024_static_tuning data/1024_static_tuning_avx/
| mohamso/optewe | results/create_1024_ed2p.sh | Shell | bsd-3-clause | 155 |
#!/bin/bash
. default/parse_params.sh
echo "<eiout>"
echo "<eicommands>"
echo "<printonconsole>"
echo "<content format='text'>"
echo "I've received the following command-line parameters:"
echo ""
echo " $@"
echo "</content>"
echo "</printonconsole>"
echo "<printonconsole>"
echo "<content format='graph'>"
#echo '{"... | abstools/easyinterface | server/bin/default/graph.sh | Shell | bsd-3-clause | 858 |
#!/bin/bash
source $(dirname $0)/$(basename $(pwd)).spec
#parse params
usage="Usage: ./pack.sh [-t <package type: wgt | apk | crx | xpk | pure>] [-m <apk mode: shared | embedded>] [-a <apk runtime arch: x86 | arm>]
[-t pure] option was set as default.
[-m shared] option was set as default.
[-a x86] option was set as d... | xiaojunwu/crosswalk-test-suite | wrt/wrt-packertoolmanu-android-tests/pack.sh | Shell | bsd-3-clause | 8,479 |
#!/bash/bin
PROJDIR=~/projects/pitch-app-2
ENTER=C-m
tmux send-keys \
"cd $PROJDIR" \
$ENTER \
"pit db && services/backend/scripts/with-playground-auth pit backend -s" \
$ENTER
tmux split-window -h -c $PROJDIR
tmux send-keys \
-t ".right" \
"desktop-app/scripts/with-playground-backend pit dev"
| oxalorg/dotfiles | tmux/pitch.sh | Shell | mit | 304 |
export NODE_ENV="production"
export LIVECHAT_DIR="../../../public/livechat"
export BUILD_DIR="../build"
export BUNDLE_DIR="../build/bundle/programs/web.browser.legacy"
export LIVECHAT_ASSETS_DIR="../../../private/livechat"
export LATEST_LIVECHAT_VERSION="1.0.0"
cd packages/rocketchat-livechat/.app
meteor npm install -... | inoio/Rocket.Chat | packages/rocketchat-livechat/plugin/build.sh | Shell | mit | 1,415 |
#! /bin/bash
/opt/local/bin/g++-mp-4.5 -I/Users/avaswani/boost/boost_1_52_0/boost -fopenmp -DEIGEN_NO_DEBUG -Wall -Wextra -O2 -m64 neuralLMFast.cpp -I. -I./tclap1.1.0/include/ -o neuralLMFast
echo "compiled"
| mingmingyang/DNNLM | src/build/compileProductionOpenmpFast.sh | Shell | mit | 212 |
#!/bin/bash
# Script Name: AtoMiC Tautulli Menu
SUBCHOICE=$(whiptail --title "AtoMiC Toolkit - Manage Tautulli" \
--menu "What would you like to do?" --backtitle "$BACKTITLE" \
--fb --cancel-button "Exit" $LINES $COLUMNS "$NETLINES" \
"Install" "Install Tautulli (upgrades PlexPy if found)" \
"Uninstall" "Uninstall Tau... | htpcBeginner/AtoMiC-ToolKit | tautulli/tautulli-menu.sh | Shell | mit | 1,665 |
#!/bin/bash
VERSION=2.16.0
ARCH=debian-amd64
echo "Installing OmniDB dependencies..."
pip install pip --upgrade
pip install setuptools --upgrade
pip install -r ~/OmniDB/requirements.txt --upgrade
pip uninstall paramiko -y
pip install -r ~/OmniDB/OmniDB/deploy/requirements_for_deploy_app.txt --upgrade
echo "Done."
ec... | rafaelthca/OmniDB | OmniDB/deploy/app_debian8/build.sh | Shell | mit | 3,552 |
#!/bin/bash
set -e
DOTFILES=/home/core/share/extra
function install() {
ln -sf $DOTFILES/alias.sh $1/.bash_profile
ln -sf $DOTFILES/vimrc $1/.vimrc
}
install /home/core
#install /root
| jteso/xchronos | extra/install.sh | Shell | mit | 192 |
#!/bin/sh
set -ef
"${abs_builddir}/../airdecap-ng${EXEEXT}" \
-e test \
-p biscotte \
"${abs_srcdir}/wpa.cap" \
-o /dev/null \
-c /dev/null | \
${GREP} "decrypted WPA" | \
${GREP} 2
exit 0
| creaktive/aircrack-ng | test/test-airdecap-ng-0003.sh | Shell | gpl-2.0 | 233 |
#!/bin/sh
# Copyright (C) 2010 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Licen... | Distrotech/LVM2 | test/shell/nomda-missing.sh | Shell | gpl-2.0 | 2,091 |
curl --form XML=@act1-scene2-F1.xml --form STYLE=TEI --form FORMAT=STIL http://localhost:8080/strip
| AustESE-Infrastructure/calliope | stripper/upload.sh | Shell | gpl-2.0 | 100 |
# ----------------------------------------------------------------------------
# Gera uma senha aleatória de N caracteres.
# Obs.: Sem opções, a senha é gerada usando letras e números.
#
# Opções: -p, --pro Usa letras, números e símbolos para compor a senha
# -n, --num Usa somente números para compor a senh... | gmgall/funcoeszz | zz/zzsenha.sh | Shell | gpl-2.0 | 2,202 |
#!/bin/bash
# $Id: index_file.sh 17 2008-06-20 14:40:13Z wayne.graham $
#
# Bash script to start the import of a binary marc file for Solr indexing.
#
# VUFIND_HOME
# Path to the vufind installation
# SOLRMARC_HOME
# Path to the solrmarc installation
# JAVA_HOME
# Path to the java
# INDEX_OPTIONS
# Options to p... | swissbib/sbvf2 | import-marc.sh | Shell | gpl-2.0 | 4,148 |
#! /bin/sh
kos_dir=/opt/toolchains/dc/kos
. ${kos_dir}/environ.sh
make -f Makefile.dc clean
| gameblabla/methane | source/gcw/libmikmod-3.3.7/dc/clean.sh | Shell | gpl-2.0 | 94 |
#!/bin/bash
rm existing_prompts.txt
#for i in `cat $1`; do
cat $1 | while read i; do
file="`echo $i | awk '{print $1".wav"}'`";
if [ -s $file ]; then
echo $i >> existing_prompts.txt
else
echo "File doesn't exist $file"
fi
done
| photom/simon | scripts/remove_non_existant_samples.sh | Shell | gpl-2.0 | 244 |
#!/usr/bin/env bash
## All these commands SHOULD fail (hence leading NOTs).
. lib
darcs show bug --debug 1> stdout 2> stderr || true
cat stdout
cat stderr
echo The following test will fail if this version of darcs is marked as
echo obsolete.
echo ==================================================================
n... | DavidAlphaFox/darcs | tests/show-bug.sh | Shell | gpl-2.0 | 496 |
dconf write /org/gnome/shell/favorite-apps "['firefox.desktop', 'nautilus.desktop']"
| erkkimon/ubuntu-kiosk | templates/etc_guest-session_prefs.sh | Shell | gpl-2.0 | 85 |
#!/bin/sh
java -jar Simulizer.jar -settings accessible.json
| mbway/Simulizer | misc/work/run-accessible.sh | Shell | gpl-3.0 | 60 |
mkdir -p files/
cd files/
# git
wget -c https://msysgit.googlecode.com/files/Git-1.8.4-preview20130916.exe
# python
wget -c http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi
wget -c http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi.asc
wget -c "https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup... | guardianproject/keysync | win32/fetch-and-verify.sh | Shell | gpl-3.0 | 2,142 |
#!/bin/sh
# This script encapsulates all Python scripts needed to run the OBD Application
# It is supose to add here any commands to be executed in the startup and for shuting down
# the application
clear
echo "======== Drivers Identification Based On Driving Signature - DIBODS ======"
echo
#read -p "Press ENTER wi... | jribeiro19/pyOBD | sandbox/obd_0.12/obd.sh | Shell | gpl-3.0 | 525 |
#!/bin/bash
./runctest.sh tPyProtocols
| jjdmol/LOFAR | LCS/MessageBus/test/tPyProtocols.sh | Shell | gpl-3.0 | 40 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | j-r0dd/RetroPie-Setup | scriptmodules/emulators/simcoupe.sh | Shell | gpl-3.0 | 1,376 |
# Tests for r3.stats
# We set up a specific region in the
# @preprocess step of this test. We generate
# voxel data with r3.mapcalc. The region setting
# should work for UTM and LL test locations
g.region s=0 n=80 w=0 e=120 b=0 t=50 res=10 res3=10 -p3
# We create several (float, double, null value) voxel map
# with v... | AsherBond/MondocosmOS | grass_trunk/raster3d/r3.stats/test.r3.stats.sh | Shell | agpl-3.0 | 1,770 |
#!/bin/sh
itf=$1
port=$2
time=$3
while [ 1 ];
do
tcpdump -i $itf -A -w /dev/null dst port $port 2> tcpdump_sent.txt &
pid_sent=$!
tcpdump -i $itf -A -w /dev/null src port $port 2> tcpdump_received.txt &
pid_received=$!
sleep $time
kill $pid_sent
kill $pid_received
sent=`cat tcpdump_sent.txt | head -2 | tail -1 | cut ... | davidfauthoux/ninio | trash/ninio-core 2/src/test/resources/tcpdump_supervision.sh | Shell | lgpl-3.0 | 640 |
#!/bin/bash
set -e
chown -R queueflex:queueflex /home/queueflex
exit 0
| benlangfeld/QueueFlex | packaging/postinstall.sh | Shell | apache-2.0 | 74 |
#!/bin/bash
if [[ $# != 5 ]] ; then
echo "Usage: <serialized-dict-jar-file> <textokit-version> <dict-date-in-YYYYMMDD-format> <variant> <counter>"
exit 1
fi
file=$1
textokit_version=$2
dict_date=$3
variant=$4
counter=$5
mvn deploy:deploy-file -DgroupId=com.textocat.textokit.core \
-DartifactId=textokit-dictionary... | Denis220795/Textokit | Textokit.Morph.Dictionary.OpenCorpora/deploy-dictionary-jar.sh | Shell | apache-2.0 | 571 |
#!/bin/sh
# Copyright (c) 2015 Magnet Systems, 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 appli... | magnetsystems/message-server | tools/install/installMMXCloud.sh | Shell | apache-2.0 | 1,021 |
if ! [ -f ./dev.txt ]; then
echo "Download dev dataset...."
curl -L -o ./dev.txt 'https://github.com/UniversalDependencies/UD_English-EWT/raw/master/en_ewt-ud-dev.conllu'
fi
if ! [ -f ./test.txt ]; then
echo "Download test dataset...."
curl -L -o ./test.txt 'https://github.com/UniversalDependencies/UD_English-... | huggingface/transformers | examples/legacy/token-classification/run_pos.sh | Shell | apache-2.0 | 1,022 |
#!/bin/bash
set -e
if [ -z $RD_COLLECT_SUB ]; then
echo "Please use: $(dirname $0)/rd_collect.sh svt-av1 *.y4m"
exit 1
fi
FILE=$1
QP=$2
BASENAME=$(basename $FILE)-$CODEC-$QP
rm $BASENAME.out 2> /dev/null || true
echo $BASENAME
WIDTH=$(head -1 $FILE | cut -d\ -f 2 | tr -d 'W')
HEIGHT=$(head -1 $FILE | cut -d\ ... | xiph/daala | tools/rd_collect_svtav1.sh | Shell | bsd-2-clause | 1,627 |
for i in `cat /data/shell/ejabberworkerlist.txt |sed s/#//g`; do
echo '===================' $i;
./erl_expect -sname ejabberd@${i}-pri -setcookie EASEMOBAAAAAAAAAAEBS $*
done
wait
| zhangchaoeasemob/erl_tool | all_ejabberd_worker.sh | Shell | mit | 194 |
#!/bin/bash
ProgName=$(basename $0)
sub_help(){
echo "Usage: $ProgName <subcommand> [options]\n"
echo "Subcommands:"
echo " regenerate Regenerate the configuration files for nginx"
echo " changepw Changes the password for the ckan-multisite admin."
echo ""
}
sub_regenerate() {
... | datacats/ckan-multisite | manage.sh | Shell | mit | 1,636 |
#!/bin/bash
set -x
sample, p.STAR_RESULTS, p.BWA_RESULTS, p.SNPIR_RESULTS, p.FUSIONCATCHER_RESULTS. p.TEMP_DIR, p.RAW_DATA_DIR, TCGA_OUTPUT_PATH
sample=$1
star_results=$2
bwa_results=$3
snpir_results=$4
fusioncatcher_results=$5
temp_dir=$6
raw_data_dir=$7
TCGA=$8
#remove raw data
rm ${TCGA}/*.tar.gz
rm ${raw_data_di... | adammaikai/PipeMaster | scripts/cleanup.sh | Shell | mit | 644 |
#!/bin/sh
#
# param: <rootdir>
#
# does not overwrite existing files
#
RFS="$1"
if [ ! -d "$RFS" ] ; then
echo "Need a directory. Busybox must be in <directory>/bin/busybox"
exit 1
fi
if [ ! -f "$RFS/bin/busybox" ] ; then
echo "$RFS/bin/busybox does not exist!"
exit 1
fi
#========================================... | peabee/woof-CE | woof-code/support/busybox_symlinks.sh | Shell | gpl-2.0 | 3,004 |
unalias cp mv rm &> /dev/null
. ./app/phpMyAdmin-install.sh 2>&1 |tee -a install.log
| gchxcy/LinuxOperator | Centos6/8.userdefine.sh | Shell | gpl-2.0 | 88 |
rm ptrak
rm wssa
gfortran -c neutronics-subs.f
mcstas -t test_SSR_SSW.instr &&
gcc -o runme.out test_SSR_SSW.c neutronics-subs.o -lm -lgfortran --trace && ./runme.out
| mads-bertelsen/McCode | mcstas-comps/libs/neutronics/runscript.sh | Shell | gpl-2.0 | 171 |
mvn clean install eclipse:clean eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true -Declipse.addVersionToProjectName=true -Pdao.xstream -Dall -Dmaven.test.skip=true -e -o
| mariolfigueiredo/Local | .build/build.sh | Shell | gpl-3.0 | 186 |
# you still need to remove the system from your classic subscription management
rm -f /etc/sysconfig/rhn/systemid | v1k0d3n/packer-rhel | scripts/rhn_unreg.sh | Shell | apache-2.0 | 113 |
#!/bin/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 require... | xzturn/tensorflow | tensorflow/tools/ci_build/release/macos/cpu_py37_full/pip_v1.sh | Shell | apache-2.0 | 1,937 |
#!/bin/bash
# Copyright 2019 The Vitess 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 o... | vitessio/vitess | examples/legacy_local/204_vertical_migrate_replicas.sh | Shell | apache-2.0 | 857 |
#!/bin/bash
# Copyright 2013 The Shenzhen Key Laboratory of Intelligent Media and Speech,
# PKU-HKUST Shenzhen Hong Kong Institution (Author: Wei Shi)
# 2014-2016 Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0
# Combine MFCC and online-pitch features together
# Note: This file i... | keighrim/kaldi-yesno-tutorial | steps/make_mfcc_pitch_online.sh | Shell | apache-2.0 | 5,692 |
#!/bin/sh
installer='panamax-latest.tar.gz'
destination=~/.panamax
curl -O "http://download.panamax.io/installer/$installer"
mkdir -p ${destination} && tar -C ${destination} -zxvf ${installer}
sudo ln -sf ~/.panamax/panamax /usr/local/bin/panamax
curl -O http://download.panamax.io/panamaxcli/panamaxcli-linux
sudo mv p... | TravisCannon/panamax-coreos | ubuntu.sh | Shell | apache-2.0 | 454 |
#!/bin/bash
set -e
DEFAULT_MEMORY="2048"
DEFAULT_CPUS="1"
main() {
local memory="${MEMORY:-${DEFAULT_MEMORY}}"
local cpus="${CPUS:-${DEFAULT_CPUS}}"
local disk="${DISK}"
if [[ -z "${disk}" ]]; then
fail "DISK not set"
fi
local kernel="${KERNEL}"
if [[ -z "${kernel}" ]]; then
fail "KERNEL not ... | flynn/flynn | test/vm.sh | Shell | bsd-3-clause | 1,770 |
#!/bin/bash
export PYTHONUNBUFFERED=1
export ANSIBLE_FORCE_COLOR=true
# Commented playbook stay here just in case you'll need it for updating an image or
# specific software settings.
playbooks=(
/vagrant/provisioning/ansible/playbooks/sendmail.yml \
#/vagrant/provisioning/ansible/playbooks/misc.yml \
#/vagrant/provi... | propeoplemd/cibox | core/cibox-project-builder/files/vagrant/box/provisioning/ansible/run-ansible-playbook.sh | Shell | bsd-3-clause | 1,087 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.