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
# Copyright (c) 2012-2017 Red Hat, Inc
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
set -e
echo "[CHE] This... | sleshchenko/che | dockerfiles/init/modules/openshift/files/scripts/multi-user/wait_until_postgres_is_available.sh | Shell | epl-1.0 | 1,999 |
#!/bin/bash
MUSER="$1"
MPASS="$2"
MDB="$3"
# Detect paths
MYSQL=$(which mysql)
AWK=$(which awk)
GREP=$(which grep)
if [ $# -ne 3 ]
then
echo "Usage: $0 {MySQL-User-Name} {MySQL-User-Password} {MySQL-Database-Name}"
echo "Drops all tables from a MySQL"
exit 1
fi
TABLES=$($MYSQL -u $MUSER -p$MPA... | alexinfopruna/hipicmedia2013 | backups/droptables.sh | Shell | gpl-2.0 | 578 |
#!/bin/sh
#
# $Id$
#
# This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
# project.
#
# Copyright (C) 1998-2012 OpenLink Software
#
# This project 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... | trueg/virtuoso-opensource | binsrc/tests/suite/tvspx.sh | Shell | gpl-2.0 | 7,492 |
#!/bin/sh
# Copyright (C) 2009-2013 OpenWrt.org
. /lib/functions/leds.sh
. /lib/ar71xx.sh
get_status_led() {
case $(ar71xx_board_name) in
alfa-nx)
status_led="alfa:green:led_8"
;;
all0305)
status_led="eap7660d:green:ds4"
;;
ap132)
status_led="ap132:green:status"
;;
ap136-010|\
ap136-020)
status_le... | okcom84301/openwrt | target/linux/ar71xx/base-files/etc/diag.sh | Shell | gpl-2.0 | 5,838 |
boinc init
cpu_time.exe 50 &
echo "hello world !"
boinc finish 0
| atisu/genwrapper | apps/test/test_cpu_time.sh | Shell | gpl-2.0 | 71 |
#!/bin/bash
if [ -z "$DB_DIR" ]; then
echo "Need to set DB_DIR"
exit 1
fi
if [ ! -d "$DB_DIR" ]; then
echo "Need to create directory DB_DIR"
exit 1
fi
export TOKUDB_COMPRESSION=lzma
export TOKUDB_ROW_FORMAT=tokudb_${TOKUDB_COMPRESSION}
export NUM_TABLES=16
export NUM_DATABASES=1
export RUN_TIME_SECON... | Percona-QA/toku-qa | tokudb/software/sysbench/doit-mariadb-performance-rp.bash | Shell | gpl-2.0 | 2,907 |
#!/bin/sh
## check exporters
ls -la /usr/local/percona/pmm2/exporters | grep -q azure_exporter
ls -la /usr/local/percona/pmm2/exporters | grep -q mongodb_exporter
ls -la /usr/local/percona/pmm2/exporters | grep -q mysqld_exporter
ls -la /usr/local/percona/pmm2/exporters | grep -q node_exporter
ls -la /usr/local/perco... | Percona-QA/package-testing | scripts/check_artifacts.sh | Shell | gpl-2.0 | 1,961 |
#!/bin/bash
set -o nounset -o pipefail -o errexit
PF_VERSION=${PF_VERSION:-localtest}
PF_RELEASE="`echo $PF_RELEASE | sed -r 's/.*\b([0-9]+\.[0-9]+)\.[0-9]+/\1/g'`"
ISO_NAME=PacketFence-ISO-${PF_VERSION}.iso
# upload
SF_RESULT_DIR=results/sf/${PF_VERSION}
PUBLIC_REPO_DIR="/home/frs/project/p/pa/packetfence/PacketFe... | inverse-inc/packetfence | ci/debian-installer/build-and-upload.sh | Shell | gpl-2.0 | 1,128 |
#!/bin/bash
set -e
allfiles=$(echo *.png | sort)
atlasfiles=""
stems=""
for i in $allfiles
do
echo $i
if [[ $i =~ ^([a-z]+)[1-9].png ]]
then
stem=${BASH_REMATCH[1]}
output=$stem.png.tmp
if [[ $atlasfiles != *$output* ]]
then
montage $stem?.png -geometry 32x32 $output
atlasfiles="$atlasfiles $output"... | dm8tbr/sowatch | nekowatchlet/original-resources/makeatlas.sh | Shell | gpl-2.0 | 505 |
jekyll server -H 172.16.18.163 | Kylinking/kylinking.github.io | _site/start.sh | Shell | gpl-2.0 | 30 |
#!/bin/bash
## Use this script to build and compile a java project
## Jar options
JARVERSION="0.2"
JARNAME="PixelmonUSInstaller"
MAINCLASS="us.pixelmon.installer.Main"
## Path options
#BASEDIR=/home/aaron/repo/github/aabmass/PixelmonUSInstaller
BASEDIR=`pwd`
LISTFILE=$BASEDIR/javasrc.list
LIBDIR=$BASEDIR/lib
SRCDIR=$... | aabmass/PixelmonUSInstaller | dist.sh | Shell | gpl-2.0 | 1,298 |
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
package="MadJack"
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
DIE=0
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $package."
echo "Download th... | njh/madjack | autogen.sh | Shell | gpl-2.0 | 1,767 |
#!/bin/sh
./compile_all.sh
./test_run.sh
| BIC-MNI/JIV2 | do_all.sh | Shell | gpl-2.0 | 41 |
#!/usr/bin/env bash
MWT=`git worktree list --porcelain | grep -B 3 "heads/master" | grep worktree \
|cut -d " " -f 2`
if [ -n "$MWT" ]; then
# unfortunately git does not allow checking out the branch that
# has a work-tree elsewhere
pushd "$MWT"
else
BR=`git rev-parse --abbrev-ref HEAD`
if [ "$BR"... | bolle732/dosemu2 | unmake-tag.sh | Shell | gpl-2.0 | 819 |
#! /bin/sh
# Compile and install GCC 4.8.5.
#
# Compiling on CentOS requires the 'glibc-devel.i686' package
# to fix dependency on 'gnu/stubs-32.h'.
#
# Copyright (C) 2017 Qijia (Michael) Jin
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
... | mikhail-j/gcc_compiler_scripts | gcc_4.8.5_compile_install.sh | Shell | gpl-2.0 | 2,360 |
#!/bin/bash
# ****************************************************************
# prepare_clinuxwin.sh ==
# Script principal de préparation des scripts pour les clients linux
# A lancer sur /home/netlogon/clients-linux sur clinux-serv
# 20180604
# **************************************************************
DATE1=$(... | jcmousse/clinux | clinuxwin/prepare_clinuxwin_20180604.sh | Shell | gpl-2.0 | 25,691 |
#!/usr/bin/env bash
# Author: cbweaver (https://github.com/cbweaver)
# Description: Print usage information
# Purpose: Print usage information for all commands
# Arguments:
# None
function all_usages {
echo "$(basename $0) [options] [commands]" >&2
echo "Options" >&2
echo " --quiet Be quiet. Less ... | cbweaver/cms-manager | lib/usage.sh | Shell | gpl-2.0 | 1,057 |
#!/bin/sh
#
# Helper script to make release packages:
# - mCtrl-$VERSION-src.zip
# - mCtrl-$VERSION-bin.zip
#
# All packages are put in current directory (and overwritten if exist already).
# We want to control what's going to stdout/err.
exec 3>&1
exec 1>/dev/null 2>&1
# Change dir to project root.
cd `dirname "$... | Psiphon-Inc/mctrl | scripts/release.sh | Shell | gpl-2.0 | 5,767 |
#!/bin/bash
#
# Docker required
set -eu
case $(git status --porcelain --untracked-files=no) in
"") ;;
*) echo "ERROR: Current working copy has been modified - unmodified copy required so we know we can check it out separately and obtain the same contents"; exit 2;;
esac
current=$(git rev-parse --short HEAD)
... | sonic-visualiser/sonic-visualiser | deploy/linux/build-and-test-appimage.sh | Shell | gpl-2.0 | 1,416 |
./src/openocd -s tcl/ -f /opt/orx/orxsys/staging_dir/host/bin/adapt2.cfg -f /opt/orx/orxsys/tools/openOCD/or1k_xilinx.cfg
| yangshanjin/openOCD | start.sh | Shell | gpl-2.0 | 123 |
#!/bin/bash
# OpenMeetings 2.0 Automatic Installer and Updater
# Version: 3
# Date: 02/08/2012
# Includes a Menu to choose between upgrade 2.1 or fresh install of 2.0
# Stephen Cottham
#
# Report any problems to the usual mail-list
#
mkdir /tmp/.ivy2
ln -s /tmp/.ivy2
USERNAME=coopadmin
PASSWORD=Zrr1g1M5wUp3CeImh63k
whi... | WebHostingCoopTeam/AdminScripts | openmeetings/Ubuntu_Debian_Installer_Upgrader-whc.sh | Shell | gpl-2.0 | 20,410 |
#!/bin/bash
if [ $# -lt 2 ]; then
echo "To few parametrs. Usage:"
echo "debpackage source_dir version"
exit 1
fi
source_dir=$1
deb_folder=/tmp/deb
mkdir -p $deb_folder
cp -r package/* $deb_folder
mkdir -p $deb_folder/usr/lib/x86_64-linux-gnu/perl5/5.20/nginx
mkdir -p $deb_folder/usr/sbin
mkdir -p $deb_fo... | Aldor007/ngx_compile_script | debpackage.sh | Shell | gpl-2.0 | 1,583 |
#!/bin/sh
echo "------------------"
echo "| Running Tests |"
echo "------------------"
bundle exec autotest | e-jambon/odin_project | RspecPlayground/Links/runtest.sh | Shell | gpl-2.0 | 111 |
#!/bin/sh -e
# no options
# converts spice file to type-dependency graph
for f
do
printf "Generating graph for $f-pdf ..."
spice_type_deps.awk $f | sort -u | deps_to_dot.awk > $f-dot
dot -Tpdf $f-dot -o $f-pdf
echo " done."
done
| fangism/hackt | lib/scripts/spice_type_deps_to_pdf.sh | Shell | gpl-2.0 | 235 |
#!/bin/sh
## START CONFIGURATION
# Location where the .torrent files are stored locally
TORRENT_FILE_PATH='/home/tblyler/torrent_files'
# Location to initially download torrent data to from the remote SSH server
TORRENT_TMP_DOWNLOAD='/home/tblyler/torrents_tmp'
# Location to move the completed torrent data to from TOR... | Longcat00/hoarder | hoarder.sh | Shell | gpl-2.0 | 10,696 |
#!/bin/bash
# Set up a local virtual display of 2x2 quads.
# These have the following layout in terms of port numbers:
#
# #1 #2
# #0 #3 #6
# #5 #4
DIMENSIONS=-w160x90
# Each display has a separate server
./compute -s -p8080 -b -x160x90 $DIMENSIONS &
./compute -s -p8081 -b -x80x0 $DIMENSIONS... | mistalro/gpufractal | app/configs/localhex.sh | Shell | gpl-2.0 | 697 |
#!/bin/bash
level=$1
gridloc=$2
STORM_NAME=$3
BASE=$4
BASIN=$5
WORKD=$BASE/outdat/$STORM_NAME
EXED=$BASE/exe
SHEL=$BASE/shells
INPD=$BASE/inputfiles
FCOD=$BASE/fcode
PYTH=$BASE/python_codes
yearmon=`echo $STORM_NAME | cut -c1-6`
cd $WORKD
lev=$level
echo $grd
dirn=$lev"-field"
cd $dirn
cp $INPD/grids/$gridloc/*$lev... | CHL-WIS/WIS_PAC | shells/ww3_make_nc_field.sh | Shell | gpl-2.0 | 627 |
#!/bin/sh -x
#change daily snapshot into a backup or release
#the first argument should be a version number or a date
INSTALLDIR=/home/www/agbkb/forschung/formal_methods/CoFI/hets
if [ -z "$1" ] ; then
VERSION=`date +%F`
else
VERSION=$1
fi
case `uname -s` in
SunOS) TAR=gtar;;
*) TAR=tar;;
esac
for i in linu... | nevrenato/Hets_Fork | utils/install.sh | Shell | gpl-2.0 | 656 |
function get_files
{
echo kdenlive.xml
}
function po_for_file
{
case "$1" in
kdenlive.xml)
echo kdenlive_xml_mimetypes.po
;;
esac
}
function tags_for_file
{
case "$1" in
kdenlive.xml)
echo comment
;;
esac
}
| rugubara/kdenlive-15.08.1 | data/XmlMessages.sh | Shell | gpl-2.0 | 279 |
#!/bin/bash
# Instantaneous date/time
DATE=$(date +%m%d)
TIME=$(date +%H%M)
START_TIME_SEC=$(date +%s)
# Using an uninitialized variable? Executed command throws an error? Quit
set -u
set -e
###############
# DEFINITIONS #
###############
# Toolchain paths
TOOLCHAIN=/home/vb/toolchain/arm-2011.03/bin
TOOLCHAIN_PREFIX... | kangtastic/kgb | build.sh | Shell | gpl-2.0 | 3,646 |
#!/bin/sh
#
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foun... | TheTypoMaster/Scaper | openjdk/jdk/test/java/lang/instrument/AppendToClassPathSetUp.sh | Shell | gpl-2.0 | 1,692 |
#! /bin/sh
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | sugarlabs/automake | t/parallel-tests-fd-redirect-exeext.sh | Shell | gpl-2.0 | 3,275 |
#! /bin/bash -e
# cvs-debi: Install current version of deb package
# cvs-debc: List contents of current version of deb package
#
# Based on debi/debc; see them for copyright information
# Based on cvs-buildpackage, copyright 1997 Manoj Srivastava
# (CVS Id: cvs-buildpackage,v 1.58 2003/08/22 17:24:29 srivasta Exp)
#... | nabetaro/devscripts-translation | scripts/cvs-debi.sh | Shell | gpl-2.0 | 11,798 |
#!/usr/bin/env bash
PROJECT_NAME="cmake"
CPLATFORM="ios"
CCPU="armeabi-v7a"
CCOMPILE="clang"
CVER="debug"
cd $(dirname $0)
mkdir -p ${PWD}/../../../build/${PROJECT_NAME}_${CPLATFORM}_${CCPU}_${CCOMPILE}_${CVER}/
cd ${PWD}/../../../build/${PROJECT_NAME}_${CPLATFORM}_${CCPU}_${CCOMPILE}_${CVER}/
rm -rf *
cmake -DCPLAT... | liwangmj/make_guide | cmake/build/script/ios_armeabi-v7a_clang_debug.sh | Shell | gpl-2.0 | 695 |
#!/bin/bash
ansible-playbook -vvvvv -i localhost, site.yml -e region=us-east-1 -e global_region=us-west-2
| alikins/ansible-bug-repro | var_include_23759/runme.sh | Shell | gpl-3.0 | 107 |
#!/bin/bash
./compile.sh --debug
cd ../www-client
./compile.sh --debug
cd ../server
export NODE_PATH=$NODE_PATH:app/app-lib
./run.sh
node --harmony app/scripts/debug/watch.js
| prakhar1989/fora | server/debug.sh | Shell | gpl-3.0 | 175 |
#!/bin/bash
date=`date +%s`
tar -cvvjpf oacdp-overlay-$date.tar.bz2 out/5054part out/5867part out/ba4 out/damage out/ebersp out/images out/pdfs out/so42 out/solex out/tools out/wog69 out/wog72 out/zips
| elliottjohnson/oacdp | scripts/generate-overlay.sh | Shell | gpl-3.0 | 204 |
export MAVEN_REPO=/Users/tryggvil/.maven/repository
java -classpath target/classes:$MAVEN_REPO/axis/jars/axis-1.3.jar:$MAVEN_REPO/axis/jars/axis-jaxrpc-1.3.jar:$MAVEN_REPO/commons-logging/jars/commons-logging-api-1.0.4.jar:$MAVEN_REPO/commons-discovery/jars/commons-discovery-0.2.jar:$MAVEN_REPO/axis/jars/axis-wsdl4j-1... | idega/is.fmr.landskra | generateFasteignaskraXsd.sh | Shell | gpl-3.0 | 605 |
export GOPATH=$GOPATH:/home/wenduowang/git/git_home/go
| wenduowang/git_home | go/add_gopath.sh | Shell | gpl-3.0 | 55 |
#!/usr/bin/env bash
TESTER_BACKENDS=verilator sbt "test:runMain SingleCycle.Launcher $1"
| zavs/ercesiMIPS | run-single.bak.v.sh | Shell | gpl-3.0 | 90 |
#!/bin/bash
CORPUSFOLDER=$HOME/corpusak/for_better_for_verse/
CORPUSREADERFOLDER=$HOME/language-technology/poetrycorpusreader/4B4V
#NOTE! REMEMBER "THE TYGER". THERE ARE SOME &s that should be replaced by words
rm corpusFile
touch corpusFile
for file in $CORPUSFOLDER/poems/*.xml
do
echo "$file";
python $CORPUSREAD... | manexagirrezabal/herascansion | script.sh | Shell | gpl-3.0 | 382 |
#!/bin/bash
TESTN=Test027
DATADIR=data
OUTDIR=output
SRCDIR=../src
diff $OUTDIR/Test023/lf_nMImat.out $DATADIR/test.lf_nMImat.out > $OUTDIR/$TESTN/$TESTN.log
| jkleinj/GSAtools | tests/Test027.sh | Shell | gpl-3.0 | 159 |
check_pkg_moarvm() {
local br_version=$(grep -E "^${1^^}_VERSION = " package/${1}/${1}.mk | awk '{print $3}')
local version=$(wget -q -O - http://moarvm.com/releases/ | grep -o -E "[0-9]{4}\.[0-9]{2}" | head -n1)
if [[ "$br_version" != "$version" ]]; then
if [[ "$br_version" != "" ]] && [[ "$version" != "" ]]; t... | vriera/check-br-package-versions | packages/moarvm.sh | Shell | gpl-3.0 | 520 |
#!/bin/sh
java -cp "./@jar.name@:./lib/*" com.seyhanproject.pservice.Service
| seyhanp/seyhan-pservice | script/run.sh | Shell | gpl-3.0 | 78 |
#!/bin/bash
set -x
###
# This script runs in batch j-dump sessions to collect result summaries from
# multiple jenkins jobs.
# It will produce as output two html files per job:
# - ${job}_builds.html
# - ${job}_failures.html
#
# The jobs are grouped under CI_NICKs labels. You can collect results under
# multiple CI_NIC... | NetworkManager/NetworkManager-ci | run/utils/j-dump/jdcron.sh | Shell | gpl-3.0 | 5,941 |
class=$1
c=$2
loss=$3
hedges=$4
trainFile=svmlight/$class.train.svmlight$hedges
testFile=svmlight/$class.res.svmlight$hedges
modelFile=models/$class/SVMPerf.model.$loss.$c$hedges
outputFile=../data/res-and-qrels/results/$class/results.txt.SVMPerf.$loss.$c$hedges
svm_perf_learn -c $c -l $loss -w 3 --p 0.1 $trainFile $... | fmance/deep-medical-ir | classification/language-model/svmlearn.sh | Shell | gpl-3.0 | 381 |
#!/bin/sh
HERE="`dirname $0`"
SNF_VMCATCHER_HOME=${SNF_VMCATCHER_HOME:-$HERE}
java -jar $SNF_VMCATCHER_HOME/snf-vmcatcher.jar parse-image-list -image-list-url file:fedcloud.egi.eu-image.list
| grnet/snf-vmcatcher | dev-parse-image-list.sh | Shell | gpl-3.0 | 193 |
#!/usr/bin/env bash
#
# Elite Dangerous data copier
####################################
# Enabling colours
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
YELLOW=$(tput setaf 3)
BLUE=$(tput setaf 4)
NORMAL=$(tput sgr0)
BRIGHT=$(tput bold)
# Folders
edlogtarget="${HOME}/elitedata/"
edlogtargetlog="${edlogtarget}logs/"
edlo... | tyhawk/tyhawk-shell | games/eddc.sh | Shell | gpl-3.0 | 4,074 |
#!/bin/sh
docker start docker-test
| jianyingdeshitou/docker-debian8 | docker-d8/test/start.sh | Shell | gpl-3.0 | 35 |
#!/bin/sh
cd ..
bin/rshell < Tests/cd_command.txt
| elcain/rshell | tests/cd_command.sh | Shell | gpl-3.0 | 52 |
#!/bin/sh
bin=../src/apps
echo "*** dealer state odds, dynamic calculation, S17 ***"
$bin/bj-dealer-odds -n 1 -d -c -S
| fangism/bj-jedi | test/dealer-odds-dynamic-composition-S17.sh | Shell | gpl-3.0 | 119 |
#!/bin/sh
#
# Slightly modified Oracle shutdown script
# it is meant to shutdown oracle services that systemd incorrectly thinks are stopped
# due to them being restarted manually
###
###################################
#
# usage: orashutdown $LISTENER_DB_SID
#
# Note:
# Use ORACLE_TRACE=T for tracing this script.
#
##... | LinearSoft/linux-toolbag | oracle/systemd/orashutdown.sh | Shell | gpl-3.0 | 4,359 |
gpio write 0 1 && gpio write 1 1 && gpio write 2 1
gpio write 3 1 && gpio write 4 1 && gpio write 5 1
gpio write 6 1 && gpio write 7 1 && gpio write 8 1
gpio write 9 1 && gpio write 10 1 && gpio write 11 1
| darkgeej/terminal-menu | gpio/gpioaon.sh | Shell | gpl-3.0 | 210 |
#!/bin/sh
exec chrome --incognito --disable-infobars $@ &
# exec firefox $@ &
| mekanix/bin | browser.sh | Shell | gpl-3.0 | 79 |
#! /bin/sh
PROG=./lecture-temperature.py
uptime
d0=$(date +%s)
while true
do
d=$(date +%s)
printf "%d\t" $((d-d0))
${PROG}
sleep 1
done
| GLMF/GLMFHS75 | i2c_capteur/capture-temperatures.sh | Shell | gpl-3.0 | 145 |
#!/bin/sh
cobc -x -free -std=default -o bams bams.cbl createAuthCode.cbl
cobc -std=default -x -free ImportAttendees.cbl
cobc -std=default -x -free ExportAttendees.cbl
cobc -std=default -x -free BarnCampReport.cbl
| mikebharris/BAMS | build.sh | Shell | gpl-3.0 | 214 |
#!/bin/bash
if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]
then
curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $TRAVIS_TOKEN" -d '{ "request": { "branch":"master", "message": "Build Travis after changes ... | libamtrack/library | distributions/JavaScript/trigger_docker_rebuild.sh | Shell | gpl-3.0 | 415 |
#! /bin/sh
# autogen for non-automake trees
#
# - it installs files: config.sub, config.guess, install-sh
# - it installs ltmain.sh, if LT_INIT or *LIBTOOL macro is used
#
set -e
USUAL_DIR="$1"
test -n "${USUAL_DIR}" || USUAL_DIR="."
test -f "${USUAL_DIR}/m4/usual.m4" || {
echo usage: $0 USUAL_DIR
exit 1
}
# d... | ycsoft/pgbouncer | lib/mk/std-autogen.sh | Shell | gpl-3.0 | 1,251 |
# Copyright 2017 The bluemun Authors. All rights reserved.
# Use of this source code is governed by a GNU GENERAL PUBLIC LICENSE
# license that can be found in the LICENSE file.
#!/bin/sh
running=0
function install {
go install github.com/bluemun/munfall
echo "engine installed"
go install github.com/bluemun/mu... | bluemun/tetris | dev.sh | Shell | gpl-3.0 | 1,495 |
#!/bin/bash
rm -f tmp/pids/server.pid
gem update bundle
bundle install
bundle update
yarn install
yarn upgrade
rails s -p 3000 -b '0.0.0.0'
| alkcxy/BilancioFamiliare | entrypoint.sh | Shell | gpl-3.0 | 141 |
#!/bin/sh
# command line:
# sh create_LFMM_release.sh version_number
##################
# parameters #
##################
# name of the program
prog="LFMM"
# name of the directory to create
dir="LFMM_CL_v$1"
# list of the src directory to copy from replop/CL_code/code/src/
src_list="io lapack matrix LFMM conver... | frichote/replop | CL_code/release/LFMM/create_LFMM_release.sh | Shell | gpl-3.0 | 2,709 |
#!/bin/sh
./tetris_puzzle_solver -w 08 -h 8 -T 4 -J 4 -L 1 -O 3 -Z 1 -S 1 -I 2
./tetris_puzzle_solver -w 08 -h 6 -T 2 -J 3 -L 2 -O 2 -Z 2 -S 0 -I 1
./tetris_puzzle_solver -w 08 -h 6 -T 2 -J 2 -L 0 -O 2 -Z 3 -S 2 -I 1
./tetris_puzzle_solver -w 10 -h 4 -T 4 -J 1 -L 0 -O 0 -Z 2 -S 1 -I 2
./tetris_puzzle_solver -w 10 -h 4... | mporsch/tetris_puzzle_solver | test.sh | Shell | gpl-3.0 | 632 |
if [ -z "$1" ]; then
PYTHON_VERSION=3
else
PYTHON_VERSION=$1
fi
apt-get update -qq
if [[ $(apt-cache search libsundials-serial | wc -l) -gt 0 ]]; then
SUNDIALS_BIN="libsundials-serial"
elif [[ $(apt-cache search libsundials-nvecserial2 | wc -l) -gt 0 ]] && [[ $(apt-cache search libsundials-cvode2 | wc -... | vincent-noel/libSigNetSim | scripts/install_dep-debian.sh | Shell | gpl-3.0 | 2,995 |
#!/usr/bin/env bash
xgettext --files-from=po/POTFILES --directory=. --output=po/gahshomar.pot
msgmerge --update --no-fuzzy-matching --backup=off po/fa.po po/gahshomar.pot
| Gahshomar/gahshomar | update_translations.sh | Shell | gpl-3.0 | 172 |
#!/bin/sh
#vcs=none
pkgname=icon-naming-utils
pkgver=0.8.90
urls="http://tango.freedesktop.org/releases/icon-naming-utils-${pkgver}.tar.bz2"
srctar=${pkgname}-${pkgver}.tar.bz2
relmon_id=1359
kiin_make() {
./configure --prefix=/usr \
--libexecdir=/usr/lib/icon-naming-utils
make
}
kiin_install() {
... | alekseyrybalkin/kiin-repo | gui/icon-naming-utils/package.sh | Shell | gpl-3.0 | 354 |
sudo apt-get update
sudo rpi-update
sudo apt-get dist-upgrade
#Install apps
sudo apt-get install samba=2:3.6.6-6+deb7u5 \
samba-common-bin=2:3.6.6-6+deb7u5 \
nginx=1.2.1-2.2+wheezy3 \
libxml2-dev=2.8.0+dfsg1-7+wheezy3 \
mysql-se... | srosro/rachelpiOS | scripts/rachelpios.sh | Shell | gpl-3.0 | 3,907 |
#!/bin/sh
#From http://richelbilderbeek.nl/CppQtCrosscompileToWindowsExample15.htm
echo "Cross compiling to Windows"
echo "1/2: Creating Windows makefile"
i686-pc-mingw32-qmake ToolTestFunctionParserDesktop.pro
echo "2/2: making makefile"
make
echo "Done"
| richelbilderbeek/TestFunctionParser | crosscompiletowindows.sh | Shell | gpl-3.0 | 261 |
#!/bin/bash
~/hercules/tools/mob_db.pl < ~/hercules/db/pre-re/mob_db.txt > ~/hercules/tools/mob_db.sql
mysql -u hercules -pragnarok -h localhost << EOF
USE hercules;
source ~/hercules/tools/mob_db.sql
EOF
| v4Lo/OnlyRO | mob_db_update.sh | Shell | gpl-3.0 | 205 |
source distro/mint/cinnamon/config
_ver="${_ver}/${_de}"
source distro/mint/install.sh
| mytbk/liveusb-builder | distro/mint/cinnamon/install.sh | Shell | gpl-3.0 | 87 |
#!/bin/sh -
if [ $# -lt 1 ]; then
echo "Usage: $0 CONTAINER"
exit 1
fi
# wait until container is running
while ! docker ps | grep -q "$1[^/]"
do
echo "Waiting container $1..."
sleep 3
done
sleep 2
| nuxeo/nuxeo.io | tools/wait-container.sh | Shell | lgpl-2.1 | 212 |
#!/usr/bin/env sh
# generated from catkin/python/catkin/environment_cache.py
# based on a snapshot of the environment before and after calling the setup script
# it emulates the modifications of the setup script without recurring computations
# new environment variables
export CATKIN_TEST_RESULTS_DIR="/opt/ros/hydro/... | HailStorm32/Q.bo_stacks | qbo_object_recognition/build/catkin_generated/setup_cached.sh | Shell | lgpl-2.1 | 1,302 |
#!/bin/bash
set -eu
# EPEL
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# ClamAV
yum install -y clamav clamd
# take off firewall (local virtual machine - ok)
iptables -F
# listen to our local IP, not only on localhost
echo 'TCPAddr 192.168.50.72' >> /etc/clamd.conf
service cla... | solita/clamav-java | env/clamd.sh | Shell | lgpl-2.1 | 332 |
#!/bin/bash
# add 2017-03-06 by Rainer Gerhards, released under ASL 2.0
. $srcdir/diag.sh init
. $srcdir/diag.sh generate-conf
. $srcdir/diag.sh add-conf '
module(load="../plugins/imtcp/.libs/imtcp")
input(type="imtcp" port="13514" ruleset="ruleset")
ruleset(name="ruleset" parser="rsyslog.rfc5424") {
action(type="omfi... | shane-lawrence/rsyslog | tests/no-parser-vg.sh | Shell | lgpl-3.0 | 597 |
# Author: Daniel Ortiz Mart\'inez
# *- bash -*
# Generates a corpus partition given a text file.
########
print_desc()
{
echo "thot_gen_partition written by Daniel Ortiz"
echo "thot_gen_partition generates a corpus partition given a text file"
echo "type \"thot_gen_partition --help\" to get usage informat... | daormar/thot | utils/exper/thot_gen_partition.sh | Shell | lgpl-3.0 | 3,863 |
#/bin/bash
printf "Waiting postgresql startup "
until pg_isready >> /dev/null; do
printf "."
sleep 1
done
sleep 2
echo -e "\nDone"
| raphaelrpl/docker | scidb/16.9/files/wait_for_postgres.sh | Shell | lgpl-3.0 | 138 |
#!/bin/bash
# Usage:
# ./webUpdate.sh
function updt {
dir="./"
repo_url="https://github.com/robotenique/roboteniqueWeb"
repo_name="roboteniqueWeb/"
echo "****************************************************************************"
echo "Updating Repo $repo_name with url: $repo_url"
echo "Starting update..."
... | robotenique/RandomAccessMemory | shellScripts/webUpdate.sh | Shell | unlicense | 1,299 |
#!/bin/bash
./app --spring.profiles.active=staging
| hexa1/gogo-groovy-spring-boot | run-stage.sh | Shell | unlicense | 52 |
mkdir -p aarch64/gnupg
cp arch-update.sh aarch64/gnupg
cp fastmirror.sh aarch64/gnupg
cat <<DOCKER > aarch64/gnupg/Dockerfile
FROM build-clavator
COPY gnupg-builder.sh /
COPY arch-update.sh /
COPY fastmirror.sh /
CMD ["/bin/sh", "/gnupg-builder.sh"]
DOCKER
cat <<GNUPG > aarch64/gnupg/gnupg-builder.sh
rm -rf /clava... | mabels/clavator | image/build-gnupg-aarch64.sh | Shell | apache-2.0 | 1,840 |
#!/bin/bash
set -e -x
export ETCD_PORT=${ETCD_PORT:-$ETCD_1_PORT_4001_TCP_PORT}
export ETCD_HOST=${ETCD_HOST:-$ETCD_1_PORT_4001_TCP_ADDR}
export ETCD=http://$ETCD_HOST:$ETCD_PORT
echo "[nginx] booting container. ETCD: $ETCD"
echo "starting supervisor in foreground"
supervisord -e debug
| lewg/docker-nginx-confd | run-debug.sh | Shell | apache-2.0 | 290 |
#!/bin/bash
set -e
# initialization
initialize_migrator() {
# sets colors for use in output
GREEN='\e[32m'
BLUE='\e[34m'
YELLOW='\e[0;33m'
RED='\e[31m'
BOLD='\e[1m'
CLEAR='\e[0m'
# pre-configure ok, warning, and error output
OK="[${GREEN}OK${CLEAR}]"
INFO="[${BLUE}INFO${CLEAR}]"
NOTICE="[${YELL... | wangyumi/migrator | migrator.sh | Shell | apache-2.0 | 12,197 |
javac test/tests/test9/*.java
rm ./classes/test9/*.class
mv test/tests/test9/*.class ./classes/test9/
java -ea -cp $INTRUDER_CLASSPATH:./classes intruder.wrapper.Main --user-specified-test test9.Test -intruder-output-dir "./output/test9/" > tmp.txt
sh ./scripts/cleanup.sh
echo "----------------------------------------... | Groostav/CMPT880-term-project | intruder/scripts/test9.sh | Shell | apache-2.0 | 462 |
GPU_ID=1
EVERY=1000
MODEL=LstmMemoryModel
MODEL_DIR="../model/lstmmemory1024_moe8_noise"
start=$1
DIR="$(pwd)"
for checkpoint in $(cd $MODEL_DIR && python ${DIR}/training_utils/select.py $EVERY); do
echo $checkpoint;
if [ $checkpoint -gt $start ]; then
echo $checkpoint;
CUDA_VISIBLE_DEVICES=$GPU_ID python eval... | wangheda/youtube-8m | youtube-8m-wangheda/eval_scripts/eval-lstmmem-noise.sh | Shell | apache-2.0 | 769 |
function hmm() {
cat <<EOF
Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- lunch: lunch <product_name>-<build_variant>
- tapas: tapas [<App1> <App2> ...] [arm|x86|mips|armv5|arm64|x86_64|mips64] [eng|userdebug|user]
- croot: Changes directory to the top of the tr... | Ant-OS/android_build | envsetup.sh | Shell | apache-2.0 | 72,293 |
#!/usr/bin/env bash
set -euo pipefail
# copies logs from the remote machine to a local temporary directory
REMOTE_HOST=$1
NAME=$2
REMOTE_PORT=${REMOTE_PORT:-22}
REMOTE_USER=${REMOTE_USER:-core}
SSH_OPTS=${SSH_OPTS:-}" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
REMOTE_LOGS_DIR=${REMOTE_LOGS_DIR:-logs... | kubernetes-incubator/bootkube | hack/quickstart/copylogs.sh | Shell | apache-2.0 | 568 |
#!/bin/bash
KHA_VERSION="0.0.5"
JVM_ARGS="-Dsun.security.smartcardio.library=/lib/x86_64-linux-gnu/libpcsclite.so.1"
JVM_ARGS="${JVM_ARGS} -Dorg.khannex.io.endianness=LITTLE_ENDIAN"
JVM_ARGS="${JVM_ARGS} -Dorg.khannex.logDir=/var/tmp/"
cd `readlink -f $0 | xargs dirname` && \
java $JVM_ARGS -jar kh-annex-${KHA_VERSIO... | lukacsd/kh-annex | src/main/resources/bin/kh-annex.sh | Shell | apache-2.0 | 332 |
#!/usr/bin/env bash
# Copyright 2017 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... | jmhsi/justin_tinker | data_science/courses/learning_dl_packages/models/official/testing/docker_test.sh | Shell | apache-2.0 | 1,872 |
#!/bin/bash
for i in "$@"
do
case $i in
-a=*|--app-id=*)
APP_ID="${i#*=}"
shift # past argument=value
;;
-u|--update)
UPDATE=YES
shift # past argument with no value
;;
*)
# unknown option
;;
esac
done
echo "UDPATE = ${UPDATE}"
echo "APP ID ... | Stockflare/aws-api-gateway | docker-entrypoint.sh | Shell | apache-2.0 | 658 |
#!/usr/bin/env bash
# Copyright 2017 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... | kevin-coder/tensorflow-fork | tensorflow/go/test.sh | Shell | apache-2.0 | 2,358 |
#!/bin/bash
# Copyright 2016 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... | meteorcloudy/tensorflow | tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh | Shell | apache-2.0 | 4,482 |
pkg_name=iproute2
pkg_origin=core
pkg_version=4.16.0
pkg_source="https://www.kernel.org/pub/linux/utils/net/$pkg_name/${pkg_name}-${pkg_version}.tar.xz"
pkg_shasum="0c5c24020fd7349fe25728c5edee9fb6a1bc8a38f08e23be5c57a6301e55ee0a"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="Collection ... | be-plans/be | iproute2/plan.sh | Shell | apache-2.0 | 753 |
#!/bin/bash
#==============================================================
# FILE NAME: run.sh
# FUNCTION: Call program
# VERSION: 1.0
# AUTHOR: S.Yatsuzuka
#
# Copyright (C) 2017 Shunjiro Yatsuzuka
#==============================================================
#======= Check Arguments =======
... | syatsuzuka/sample_deeplearning | bin/run.sh | Shell | apache-2.0 | 983 |
#!/usr/bin/env bash
set -e
usage="Usage: $0 GOLD_XML GOLD_TAB SYSTEMS_DIR OUT_DIR NUM_JOBS"
if [ "$#" -ne 5 ]; then
echo $usage
exit 1
fi
goldx=$1; shift # gold standard queries/mentions (XML)
goldt=$1; shift # gold standard link annotations (tab-separated)
sysdir=$1; shift # directory containing output from... | andychisholm/neleval | scripts/run_tac14_evaluation.sh | Shell | apache-2.0 | 1,162 |
#!/bin/bash
set -eu
function usage {
echo "Usage: $0 [OPTION]..."
echo "Run python-novaclient test suite"
echo ""
echo " -V, --virtual-env Always use virtualenv. Install automatically if not present"
echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment"
echo " -... | rcbops/python-novaclient-buildpackage | run_tests.sh | Shell | apache-2.0 | 4,649 |
#!/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")... | zhengqmark/yarn-ec2 | setup-slave.sh | Shell | apache-2.0 | 13,317 |
# -----------------------------------------------------------------------------
#
# Package : array.prototype.flat
# Version : 1.2.4
# Source repo : https://github.com/es-shims/Array.prototype.flat
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <s... | ppc64le/build-scripts | a/array.prototype.flat/array.prototype.flat_rhel_8.3.sh | Shell | apache-2.0 | 3,100 |
#! /bin/bash
#
# run.sh
# Copyright (C) 2019 damian <damian@damian-laptop>
#
# Distributed under terms of the MIT license.
#
testcafe chrome test1.js
| xmementoit/practiseSamples | testcafe/run.sh | Shell | apache-2.0 | 153 |
# ----------------------------------------------------------------------------
#
# Package : default
# Version : 0.1.1
# Source repo : https://github.com/safareli/default.git
# Tested on : ubuntu_18.04
# Script License: Apache License, Version 2 or later
# Maintainer : Atul Sowani <sowania@us.ibm.com>
#
# Disclaimer: T... | ppc64le/build-scripts | d/default/default_ubuntu_18.04.sh | Shell | apache-2.0 | 913 |
export SPARK_HOME=/opt/spark
export PATH=$PATH:/$SPARK_HOME/bin
export NUM_CORES=$3
export MEMORY=$4
echo "HELLO WORLD!"
csv_dataset=$1
w2v_model=$2
w2v_jar_path=/root/imr-code/imr_workflow_spark/operators/imr_w2v_2.11-1.0.jar
echo "PARAMS: ${w2v_jar_path} ${w2v_model}"
spark-submit --executor-memory ${MEMORY%.*}... | project-asap/IReS-Platform | asap-platform/asap-server/asapLibrary/operators/w2v_train_spark/w2v_train_spark.sh | Shell | apache-2.0 | 440 |
# Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" A... | execunix/vinos | external/bsd/bind/dist/bin/tests/system/nslookup/clean.sh | Shell | apache-2.0 | 813 |
#!/bin/bash
set -e
pushd web
./gradlew clean assemble
VERSION=`cat version-number`
popd
mkdir build-output/libs && cp web/build/libs/$ARTIFACT_ID-$VERSION.jar build-output/libs/.
cp web/build/manifest.yml build-output/.
| pivotal-bank/web-ui | ci/tasks/build-web/task.sh | Shell | apache-2.0 | 231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.