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
_prechauff(){
clear
local i
for (( i=3 ; i>0 ; i-- )); do
tput setaf 2 ; tput bold ; tput cup "$MH" "$ML" ; echo "$i"
sleep 1
done
tput cup "$MH" "$ML" ; echo "LETS PLAY THE GAME" ; sleep 2
tput clear ; tput sgr0
}
_menu(){
printf "
___ ___ ... | notfound-404/BASH-pong_game | my_pong.sh | Shell | gpl-2.0 | 5,050 |
#!/bin/sh
STENDHAL_VERSION="0.54"
LOCALCLASSPATH=.:data/script/:data/conf/:stendhal-server-$STENDHAL_VERSION.jar:marauroa.jar:mysql-connector.jar:log4j.jar:commons-lang.jar:h2.jar
java -Xmx400m -cp "${LOCALCLASSPATH}" games.stendhal.server.StendhalServer -c server.ini -l
| sourceress-project/archestica | runserver.sh | Shell | gpl-2.0 | 275 |
OPTS=( \
"-h:echo \"hello\"&echo \"what\"&echo \"is\"" \
)
for i in "${!OPTS[@]}"; do
printf "%s\t%s\n" "$i" "${OPTS[$i]}"
var=${OPTS[$i]}
echo "-var: $var"
echo "-opt: ${var%%:*}"
echo "-ste: ${var##*:}"
echo .......
line=${var##*:}
echo "line: ${line}"
echo .......
p=0
while... | jobworkfor/ezshell | ubuntu/test/test.sh | Shell | gpl-2.0 | 630 |
#!/bin/sh
# *****************************************
# Optional values - Please modify as needed
# *****************************************
# Total amount of memory in MB available to MZmine 2.
# AUTO = automatically determined
# Default: AUTO
HEAP_SIZE=AUTO
# Location where temporary files will be stored.
# Defau... | dyrlund/mzmine2 | src/main/scripts/startMZmine_MacOSX.command | Shell | gpl-2.0 | 3,062 |
#!/bin/sh
#
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/misc/killport.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in ... | OpenSDE/opensde-nopast | lib/misc/killport.sh | Shell | gpl-2.0 | 1,672 |
# 40_restore_backup.sh
#
local scheme=$(url_scheme $BACKUP_URL)
local path=$(url_path $BACKUP_URL)
local opath=$(backup_path $scheme $path)
mkdir -p "${BUILD_DIR}/outputfs/${NETFS_PREFIX}"
# Disable BACKUP_PROG_CRYPT_OPTIONS by replacing the default value to cat in
# case encryption is disabled
if (( $BACKUP_PROG_CR... | rg-fine/rear | usr/share/rear/restore/NETFS/default/40_restore_backup.sh | Shell | gpl-2.0 | 7,854 |
#!/bin/bash -ex
# CI test-functional-js.sh hook implementation.
export SIMPLETEST_BASE_URL="http://localhost"
export SIMPLETEST_DB="sqlite://localhost//tmp/drupal.sqlite"
export BROWSERTEST_OUTPUT_DIRECTORY="/var/www/html/sites/simpletest"
export MINK_DRIVER_ARGS_WEBDRIVER='["chrome", null, "http://localhost:4444/wd/... | apigee/apigee-devportal-kickstart-drupal | .circleci/test-functional-js.sh | Shell | gpl-2.0 | 749 |
sh single_machine_deploy.sh
python functional_test.py
| plusplus7/KyrinBox | src/test/regression_test.sh | Shell | gpl-2.0 | 54 |
./real t6 | mkdubik/multinet-evaluation | t6.sh | Shell | gpl-2.0 | 9 |
#!/usr/bin/bash
# this is the copy
# verify user, then chmod files with extension .cgi
# by keith crowder
# date: 12-07-2008
# project complete
#
echo "please enter a username:"
read user
# verify user
if id $user | grep "^uid" > /dev/null
then
echo "this user has permission, proceed"
else
echo "this user does ... | kcrowder/shell | verify.v1.sh | Shell | gpl-2.0 | 822 |
#!/bin/bash
# Created by Roel Van de Paar, Percona LLC
MAKE_THREADS=1 # Number of build threads. There may be a bug with >1 settings
WITH_ROCKSDB=1 # 0 or 1 # Please note when building the facebook-mysql-5.6 tree this setting is automatically ignored
# For daily builds (optimiz... | ShahriyarR/percona-qa | build_5.x_debug.sh | Shell | gpl-2.0 | 3,945 |
#!/bin/bash
rm *.pyc
rm -rf __pycache__
| tarcisio-marinho/GonnaCry | src/GonnaCry/clean.sh | Shell | gpl-2.0 | 40 |
#!/bin/bash
cloc --exclude-dir=gen,build .
| mrlem/happy-cows | tools/do_cloc.sh | Shell | gpl-3.0 | 43 |
#!/bin/bash
# Import OS information
source /etc/lsb-release
source /etc/os-release
# Define colors and display introduction
red='\e[0;31m'
green='\e[0;32m'
blue='\e[0;36m'
purple='\e[0;35m'
nocolor='\e[0m'
bold=`tput bold`
normal=`tput sgr0`
echo -e "${blue}${bold}Network Reconnect is a utility designed to make manag... | fishdev/network-reconnect | install.sh | Shell | gpl-3.0 | 4,669 |
#!/usr/bin/env bash
# This is needed to force shellcheck to actually run, and bash and zsh are
# typically close enough that it shouldn't cause a problem.
# vim: set noexpandtab sw=2 ts=2 sts=2 nospell:
set -eux
if [ -x /usr/bin/uname ]; then
UNAME_BIN="/usr/bin/uname"
elif [ -x /bin/uname ]; then
UNAME_BIN="/bin/u... | jgoguen/calibre-kobo-driver | scripts/build.sh | Shell | gpl-3.0 | 8,224 |
#!/bin/sh
# ensure that tac works with non-seekable or quasi-seekable inputs
# Copyright (C) 2011-2018 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 ver... | pexip/os-coreutils | tests/misc/tac-2-nonseekable.sh | Shell | gpl-3.0 | 1,361 |
#!/bin/bash
# This script is to generated the thesis is several formats.
# A known bug is handling $ in environment minted.
# If no argument supplied, apply on thesis
[ -z "$1" ] && filename="thesis" || filename="$1"
args=" --parse-raw --toc "
# Some conversions. Please beware the tex format is not the only source.
... | piotr-yuxuan/kiss-latex-mindset | tex2txt.sh | Shell | gpl-3.0 | 893 |
#!/bin/bash
if [ ! -d MyFavoritePackages ]
then
mkdir MyFavoritePackages
fi
FILE=DAISIE_1.0.2.tar.gz
FOLDER=DAISIE
if [ ! -e MyFavoritePackages/$FILE ]
then
echo "Downloading tar"
wget https://cran.r-project.org/src/contrib/$FILE
mv $FILE MyFavoritePackages/$FILE
else
echo "Tar already on disk"
fi
if [ ! ... | richelbilderbeek/R | old_notes/DownloadDaisie.sh | Shell | gpl-3.0 | 466 |
#!/bin/sh
#
# by E. Frichot
#
# file: beta
#
# functions:
# create_m_beta
# create_CCt
# create_inv_cov_beta
#
# command line:
# ./test_beta input_R input_U input_V input_C input_alpha_beta N M D K output_m_beta1 output_m_beta2
# output_CCt output_inv_cov_beta
#
# exec create_m_beta
# exec create_CCt
# exec create_... | frichote/replop | CL_code/code/test/LFMM/test_beta/description.sh | Shell | gpl-3.0 | 877 |
#!/bin/bash
#desc:
# 视频截图并保存为GIF格式
#date: 01.05.2015
#author: luis
set -x
x=1
ss=200
while true
do
if [ $1 -a -e $1 ]; then
videopath=$1
else
read -p "PLS write your video path: " videopath
fi
if [ $videopath -a -e $videopath ]; then
echo -e "$... | laurey/shellscript | ff2gif.sh | Shell | gpl-3.0 | 1,538 |
#
#/**
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements. See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership. The ASF licenses this file
# * to you under the Apache License, Version 2.0 (the
# * "Licen... | HY-ZhengWei/Dockerfile | 006.hbase-ubuntu/hbase-config/hbase-env.sh | Shell | gpl-3.0 | 7,449 |
#!/usr/bin/env bash
# Copyright (C) 2016 Nico Bäurer
#
# 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 3 of the License, or
# (at your option) any later version.
#
# This program ... | seebye/dotfiles | i3/lock.sh | Shell | gpl-3.0 | 1,460 |
#!/bin/bash
# add 2017-02-09 by Jan 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")
set $!ip!v1 = ip42num("0.0.0.0");
set $!ip!v2 = ip42num("0.0.0.1");
set $!ip!v3 = ip42num... | madedotcom/rsyslog | tests/rscript_ipv42num.sh | Shell | gpl-3.0 | 1,669 |
#!/bin/bash
set -xe
export PATH="/root/go/bin:$GOPATH/bin:$PATH"
export GOPATH="/gopath"
# Does nothing if REFERENCE_DATETIME is missing
test -z "$REFERENCE_DATETIME" && return 0
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
export FAKETIME=$REFERENCE_DATETIME
export TZ=UTC
export LC_ALL=C
... | twstrike/coyim | reproducible/docker/build.sh | Shell | gpl-3.0 | 1,759 |
#! /bin/sh
#_______________________________________________________________________________
# test OPTICS on vec data
../src/optics_vec --datafile vector.dat || exit 1
| jkleinj/OPTICS | tests/test_vector.sh | Shell | gpl-3.0 | 169 |
#!/bin/sh
set -e
# Set defaults
: ${SILENT:=$1}
# Echo helper to recognize silence
if [ "$SILENT" = "--silent" ]; then
LANDO_QUIET="yes"
fi
# Get the lando logger
. /helpers/log.sh
# Set the module
LANDO_MODULE="refreshcerts"
# Run add certs if we need to
if [ ! -f "/certs/cert.pem" ]; then
/helpers/add-cert.... | kalabox/lando | plugins/lando-core/scripts/refresh-certs.sh | Shell | gpl-3.0 | 1,349 |
#!/bin/bash
if [ ! -f "${1}" -o -z "${2}" -o -n "${3}" ]; then
echo "usage: `basename ${0}` <movie_file> <audio_bitrate>"
exit -1
fi
abit="${2}"
vbit=$(video_bitrate.sh "${1}" "${abit}" | cut -d \= -f 2)
vbit=$(echo "${vbit} + 1" | bc -l)
vbit=$(echo "${vbit}" | cut -d \. -f 1)
if [ -z "${vbit}" ]; then
exit -2
... | jmanoel7/my_shell_scripts | bin/video2avi.sh | Shell | gpl-3.0 | 812 |
pylupdate4 -verbose i18n_list.pro
# cd /media/data/vetalstar/Dokumenti/programmirovanije/zmeja/reminder2standBy/
# pyuic4 reminders_windows/settings_win.ui > reminders_windows/settings_win.py
| pythonization/reminder2standBy | reminder2standBy/shell_commands.sh | Shell | gpl-3.0 | 192 |
autoload -Uz colors && colors
# display exit code of last command, unless 0
function exit_code_prompt_info() {
echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})"
}
| ice3/shellrc | zshrc.d/prompt-exit-code.zsh | Shell | gpl-3.0 | 165 |
#!/bin/bash
GITREPO=https://github.com/ptrkrysik/gr-gsm
BRANCH=master
GITREPOROOT=/opt/ITSEC/6.Wireless/4.Sdr/1.GSM/gr-gsm/ptrkrysik/gr-gsm
GITCONFDIR=/opt/ITSEC/6.Wireless/4.Sdr/1.GSM/gr-gsm/ptrkrysik/gr-gsm/.git
GITCLONEDIR=/opt/ITSEC/6.Wireless/4.Sdr/1.GSM/gr-gsm/ptrkrysik
DSKTPFLS=/opt/ownsec/ITSEC-Install-Scripts... | alphaaurigae/ITSEC-Install-Scripts | ITSEC-Install-Scripts-ORIG/6.Wireless/4.Sdr/1.GSM/gr-gsm/gr-gsm-update.sh | Shell | gpl-3.0 | 1,622 |
#!/bin/bash
# Put my own hostname in /etc/hosts so it can be found by hbase/zookeeper
# https://mail-archives.apache.org/mod_mbox/hbase-user/200912.mbox/%3C1260256530.30509.49.camel@pyro.bengueladev.com%3E
IPADDR=$(ifconfig eth0 | grep -Po '(?<=inet addr:)\S+')
HOSTNAME=$(hostname).local
cat /etc/hosts.template | se... | gregbaker/raspberry-pi-cluster | files/update-hosts.sh | Shell | gpl-3.0 | 362 |
#!/bin/bash
ROOT_DIR=hdd
IMAGE=dionysus.img
HEADS=5
SPH=17
CYLINDERS=980
PARTITION_START=2048
die() {
if [[ ! -z $LOOPDEV ]]; then
sudo losetup -d $LOOPDEV
fi
if [[ ! -z $TMP ]]; then
rm $TMP
fi
exit
}
echo "Creating image"
dd if=/dev/zero of=$IMAGE bs=512 count=$PARTITION_START || die
TMP=$(tempfile) || ... | Bth8/Dionysus | build_disk.sh | Shell | gpl-3.0 | 816 |
#!/bin/bash
# mutagen: audio file metadata
cd $ZYNTHIAN_SW_DIR
if [ -d "mutagen" ]; then
rm -rf "mutagen"
fi
git clone https://github.com/quodlibet/mutagen.git
cd mutagen
python3 ./setup.py install
cd ..
rm -rf "mutagen"
| zynthian/zynthian-sys | scripts/recipes/install_mutagen.sh | Shell | gpl-3.0 | 225 |
#! /bin/bash
# ocaml-sqlexpr auto-installs batteries
opam install ocamlfind pcre-ocaml
opam install text lwt ocaml-sqlexpr
| rand00/nltc | install_opam_pkgs.sh | Shell | gpl-3.0 | 127 |
#!/bin/bash
set -ueo pipefail
# CONFIG parameters
set -a
. ./vars.sh
set +a
cp *sh $SCRATCHDIR
cp *py $SCRATCHDIR
singularity exec -e instance://$DOCKERNAME /bin/bash -c 'cd /scratch; /scratch/steps.sh'
| toniher/neo4j-biorelation | populate/singularityrun.sh | Shell | gpl-3.0 | 210 |
# This file is part of the Smart Home
# Program complex distribution https://github.com/e154/smart-home
# Copyright (C) 2016-2020, Filippov Alex
#
# This library is free software: you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foun... | e154/smart-home | bin/configurator-installer.sh | Shell | gpl-3.0 | 3,740 |
#!/bin/sh
#******************************************************************************
# ZYNTHIAN PROJECT: Zynthian Environment Vars
#
# Setup Zynthian Environment Variables
#
# Copyright (C) 2015-2016 Fernando Moyano <jofemodo@zynthian.org>
#
#**********************************************************************... | dcoredump/zynthian-recipe | zynthian_envars.sh | Shell | gpl-3.0 | 2,674 |
#!/bin/sh
# $XFree86: xc/programs/xterm/sinstall.sh,v 1.3 2000/03/03 20:02:35 dawes Exp $
#
# Install program setuid if the installer is running as root, and if xterm is
# already installed on the system with setuid privilege. This is a safeguard
# for ordinary users installing xterm for themselves on systems where th... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/xterm/sinstall.sh | Shell | gpl-3.0 | 2,907 |
#!/bin/bash
#
# Let's make the user give us a target build system
if [ $# -ne 1 ]; then
echo "Usage: $0 target_architecture"
echo "Example: $0 x86"
echo "other valid options are x86_64 or ppc"
echo
echo "If you don't know or care about architectures please consider using make-macosx-ub.sh instead of this scrip... | zturtleman/spearmint | make-macosx.sh | Shell | gpl-3.0 | 2,433 |
#!/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 2/logs/w-10_1/20170124T145957+0000/00/00/longestsession_2_ID0000014.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/sh
# exercise parted's gpt-rewriting code
# When it encounters a GPT device with backup not at the end,
# parted (without -s) offers to correct that by moving the backup
# header to the end of the device. Before parted-3.1, when it attempted
# to do that, starting with a 9-PTE array, it would render the result ... | philenotfound/parted | tests/t0211-gpt-rewrite-header.sh | Shell | gpl-3.0 | 2,604 |
#!/bin/bash
# Copyright (C) <2014,2015> <Ding Wei>
#
# 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 3 of the License, or
# (at your option) any later version.
#
# This program i... | daviding924/ibuild | ishn/svnadmin_dump.sh | Shell | gpl-3.0 | 1,871 |
#!/bin/bash
#USAGE:
# lmp_atom2charge.sh <file1.lmp> <file2.lmp> ...
#DESCRIPTION:
# This script keeps the first two columns
# of data, adds "0.0" as a third column, and
# copies the last three columns of data,
# to one or many files. It is intended
# for changing a LAMMPS data file from
# the atom_style "atom" into ... | shigueru/atomsk | tools/lmp_atom2charge.sh | Shell | gpl-3.0 | 1,049 |
#!/bin/bash
notify-send -t 8000 -i /usr/share/icons/gnome/32x32/status/info.png " " "`shuf -n1 /home/$USER/.gnome2/nautilus-scripts/My_Scripts/Jokes/Blonde-Jokes/.blonde-jokes.txt`"
| kernt/linuxtools | gnome3-shell/nautilus-scripts/test/Jokes/Blonde-Jokes/Blonde-Jokes.sh | Shell | gpl-3.0 | 183 |
#!/bin/bash -e
. ../env/env
brief="a complete rewrite of the NASM assembler"
intro="
YASM is a complete rewrite of the NASM assembler. It is designed from the
ground up to allow for multiple syntaxes to be supported (e.g., NASM, TASM,
GAS, etc.) in addition to multiple output object formats. Another primary
modu... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-9.0-systemd/scripts/y/yasm.sh | Shell | gpl-3.0 | 911 |
#!/usr/bin/env bash
# Clean up env
cd /opt/
rm -rf venv
rm .env
# Setup Environment
DC_DATABASE=till`cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32`
DC_USER=till`cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32`
DC_PASSWORD=till`cat /dev/urandom | tr -cd 'a-f0-9' | head -c 32`
sudo touch /opt/.env
sudo chmod 777 /op... | TillMobile/httpsql | test/scripts/bootstrap.sh | Shell | mpl-2.0 | 1,461 |
#!/usr/bin/env bash
# Bootstrap Puppet on CentOS 6.x
# Tested on CentOS 6.6 64bit
set -e
PUPPET_COLLECTION=${PUPPET_COLLECTION:-"pc1"}
case "${PUPPET_COLLECTION}" in
pc1) PUPPETLABS_RELEASE_RPM="https://yum.puppetlabs.com/puppetlabs-release-${PUPPET_COLLECTION}-el-6.noarch.rpm" ;;
5|6|7) PUPPETLABS_RELEASE_RPM="htt... | MiamiOH/puppet-bootstrap | centos_6_x.sh | Shell | mpl-2.0 | 970 |
#!/bin/bash
###############################################################################
# ASTPP - Open Source VoIP Billing Solution
#
# Copyright (C) 2016 iNextrix Technologies Pvt. Ltd.
# ASTPP Version 3.5
# License https://www.gnu.org/licenses/agpl-3.0.html
#
# This program is free software: you can redistribute ... | countrdd/ASTPP | install.sh | Shell | agpl-3.0 | 27,438 |
#!/bin/bash
source vars
## INFO
# Installs and configures mylar
##
#######################
# Pre-Install
#######################
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root. Execute 'sudo su' to swap to the root user."
exit 1
fi
#######################
# Dependencies
#####################... | chrisanthropic/PlexInTheCloud | 06-mylar.sh | Shell | unlicense | 6,493 |
#!/usr/bin/env bash
# requires scrot & i3lock
# found on reddit.com/r/unixporn/comments/
# 3358vu/i3lock_unixpornworthy_lock_screen
tmpbg="$(mktemp)_screen.png";
# icon="$HOME/dots/lock.png"
scrot "$tmpbg"
convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"
# convert "$tmpbg" "$icon" -gravity center -composite -matte "... | duckwork/bin | lock.sh | Shell | unlicense | 351 |
#!/bin/sh -x
# Install systemd unit file for running container
cp etc/systemd/system/origin-mounter.service ${HOST}/etc/systemd/system/origin-mounter.service
# Enabled systemd unit file
chroot ${HOST} /usr/bin/systemctl daemon-reload
chroot ${HOST} /usr/bin/systemctl enable origin-mounter.service
# Install mount hel... | jsafrane/origin-mounter | origin-mounter/root/usr/bin/install.sh | Shell | apache-2.0 | 455 |
#!/bin/bash
# require: simple_logger.sh
# -----------------------
# File check functions
# -----------------------
file_exists()
{
local _target="$1"
if [ ! -e "$_target" ];then
logger_debug "$_target doesn't exist"
echo 0
else
logger_debug "$_target exists"
echo 1
fi
}
... | sechiro/bash-template | lib/functions.sh | Shell | apache-2.0 | 1,174 |
sudo /sbin/sysctl -w kernel.randomize_va_space=0
| paulnguyen/cmpe279 | scripts/aslr_off.sh | Shell | apache-2.0 | 49 |
#!/usr/bin/env bash
#####################################################################
# NOTES: This script finds unlabeled volume resources of openebs #
#####################################################################
# Search of CStor Resources
printf "############## Unlabeled CStor Volumes Resources #####... | openebs/openebs | k8s/upgrades/0.8.1-0.8.2/pre-check.sh | Shell | apache-2.0 | 2,978 |
#!/bin/bash
# echo "[*] Cleaning up temporary data directories for master node"
cp -r node/qdata/keystore .
cp node/qdata/geth/nodekey .
cp node/qdata/*.properties .
cp node/qdata/*.mv.db .
cp node/qdata/static-nodes.json .
rm -rf node/qdata
mkdir -p node/qdata/gethLogs
mkdir -p node/qdata/constellationLogs
# echo "... | synechron-finlabs/quorum-maker | lib/master/init_template.sh | Shell | apache-2.0 | 584 |
#!/bin/bash
git tag -a $1 -m "$2"
git push origin $1
| innerfunction/SCFFLD-ios | bin/tag-version.sh | Shell | apache-2.0 | 54 |
#!/bin/bash
#
# downloads the latest static gtfs file
# then makes OBA build a bundle using that file
wget -O {gtfs_dl_file} {gtfs_static_url} -o {gtfs_dl_logfile}
cd {federation_builder_folder} && java -classpath .:target/* org.onebusaway.transit_data_federation.bundle.FederatedTransitDataBundleCreatorMain {gtfs_dl_f... | trilliumtransit/oba_rvtd_deployer | config_templates/gtfs_refresh.sh | Shell | apache-2.0 | 703 |
#!/bin/bash
# Copyright 2017 AT&T Intellectual Property, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | blsaws/nancy | cloudify/k8s-cloudify.sh | Shell | apache-2.0 | 8,156 |
#! /usr/bin/env bash
#
# Copyright (c) 2013-%%copyright.year%% Commonwealth Computer Research, Inc.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0 which
# accompanies this distribution and is available at
# http://www.opensource... | locationtech/geomesa | geomesa-accumulo/geomesa-accumulo-tools/conf-filtered/dependencies.sh | Shell | apache-2.0 | 4,066 |
#!/bin/sh -e
################################################################################
##
## 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.
## T... | adriancmiranda/flash-compiler | ApacheFlexSDK4/ide/flashbuilder/makeApacheFlexForIDE.sh | Shell | apache-2.0 | 5,016 |
#!/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 ... | bmoylan/kubernetes | hack/make-rules/test.sh | Shell | apache-2.0 | 10,694 |
# GET VERSIONS
# from all Swift/T components
# This has to be manually edited:
SWIFT_T_VERSION=1.2
# These are automatically extracted:
CUTILS_VERSION=$( cat c-utils/code/version.txt )
ADLBX_VERSION=$( cat lb/code/version.txt )
TURBINE_VERSION=$( cat turbine/code/version.txt )
STC_VERSION=$( cat stc/code... | blue42u/swift-t | dev/get-versions.sh | Shell | apache-2.0 | 339 |
#!/bin/bash
set -e
source /build/buildconfig
set -x
# Creating service account '${SERVICE_ACCT}' with uid of 1100 to allow other service accts to use 1000
useradd --create-home --home "${SERVICE_ACCT_HOME}" -u 1100 --shell /bin/bash $SERVICE_ACCT
usermod -G rvm -a $SERVICE_ACCT
passwd -d ${SERVICE_ACCT}
/build/my_ini... | bitswarm-ops/docker-apache-php-webapp | build/scripts/service-acct.sh | Shell | apache-2.0 | 344 |
#!/bin/bash
set -e
dir=/tmp/util.$$
trap "rm -fr $dir" 0 1 2
echo 'making unidoc...' 1>&2
./sbt unidoc >/dev/null 2>&1
echo 'cloning...' 1>&2
git clone -b gh-pages git@github.com:twitter/util.git $dir >/dev/null 2>&1
savedir=$(pwd)
cd $dir
rsync -a --delete "$savedir/target/scala-2.9.2/unidoc/" "docs"
git add .
ec... | mosesn/util | updatedocs.bash | Shell | apache-2.0 | 472 |
# Copyright 2022 The Magenta Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | magenta/magenta | magenta/tools/magenta-install.sh | Shell | apache-2.0 | 4,325 |
#!/bin/bash
RED='\033[0;1;31m'
NC='\033[0m' # No Color
# Install metalinter and any of its referenced linters
env GOPATH=`pwd`/vendor go get -u gopkg.in/alecthomas/gometalinter.v1
env GOPATH=`pwd`/vendor:`pwd` vendor/bin/gometalinter.v1 --install 1>&/dev/null
OUTPUT="$(env GOPATH=`pwd`:`pwd`/vendor vendor/bin/gometal... | daynesh/go-producer-api | scripts/travis.gometalint.sh | Shell | apache-2.0 | 514 |
file=$1
two=$2
#(sleep 3; killall firefox ) &
#(sleep 4; killall firefox ) &
(sleep 8; bash cacheless-browser.sh -new-window http://127.0.0.1:5000/static/index.html \
-new-window http://127.0.0.1:5000/static/index.html ) &
#(sleep 10; firefox -new-window http://127.0.0.1:5000/static/index.html \
# -new-window h... | abramhindle/CMPUT404-assignment-websockets | marking/one-run.sh | Shell | apache-2.0 | 510 |
pkg_name=mesa
pkg_origin=core
pkg_version=17.2.5
pkg_description="The Mesa 3D Graphics Library"
pkg_upstream_url="https://www.mesa3d.org"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('MIT')
pkg_source="https://mesa.freedesktop.org/archive/${pkg_name}-${pkg_version}.tar.xz"
pkg_shasum=7f7f91... | be-plans/be | mesa/plan.sh | Shell | apache-2.0 | 1,429 |
#!/bin/sh
# ubuntu
# check that owner group exists
if [ -z `getent group spinnaker` ]; then
groupadd spinnaker
fi
# check that user exists
if [ -z `getent passwd spinnaker` ]; then
useradd --gid spinnaker spinnaker -m --home-dir /home/spinnaker
fi
install --mode=755 --owner=spinnaker --group=spinnaker --director... | spinnaker/kayenta | kayenta-web/pkg_scripts/postInstall.sh | Shell | apache-2.0 | 351 |
#!/bin/sh
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
class=$1
guard=`echo $class | tr 'a-z' 'A-Z'`
name=`echo $class | tr 'A-Z' 'a-z'`
cat <<EOF
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#inclu... | vespa-engine/vespa | searchlib/src/vespa/searchlib/fef/create-class-cpp.sh | Shell | apache-2.0 | 410 |
#!bin/bash
# This function will ask the user for a password and writes it back to the "root" mount of the SD disk.
#
# This script have the following dependencies
# - USB/SD mountpoint to "root" $mount_root
function functionSetRootPassword {
read -s -p "Enter password: " inRootPass
echo -n root:$inRootPass | chpass... | UMDBPP/STAR | Software/rpi-arch-builder/functions/functionRootPassword.sh | Shell | apache-2.0 | 384 |
python sentiment_analysis_cnn.py --gpu 0 --batch_size 50 --epochs 200 --dropout 0.5 --model_mode static --data_name SST-1
| dmlc/web-data | gluonnlp/logs/sentiment/SST-1_static.sh | Shell | apache-2.0 | 122 |
#!/bin/sh
#
set -x
go build
./tlsuc1
set +x
| gmallard/stompngo_examples | tlsexamps/tlsuc1/run.sh | Shell | apache-2.0 | 45 |
#!/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");... | cloudera/Impala | testdata/bin/copy-data-sources.sh | Shell | apache-2.0 | 1,244 |
#!/usr/bin/env bash
# vim: fdm=marker
# Create kaldi lang from a pair of lexicon and phoneset
#***************************************************************************
# Copyright 2011-2015, cybeliak
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance ... | cybeliak/mispronounceableness | mpn_steps/lex/create_lang_from_lexicon.sh | Shell | apache-2.0 | 2,153 |
#!/bin/bash
set -e
##
# Copyright 2007-2017 University Of Southern California
#
# 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
#
# Unle... | pegasus-isi/pegasus | share/pegasus/sh/pegasus-aws-batch-launch.sh | Shell | apache-2.0 | 5,321 |
if [ -e v ];then echo skipping; else virtualenv .v; fi
source env.sh
pip install bottle leveldb gevent
$* | val314159/qsvr | install.sh | Shell | apache-2.0 | 105 |
#!/bin/bash
CWD=$(cd `dirname $0` && pwd -P)
TMPDIR=/tmp/fuel-plugin-kubernetes-debs
mkdir -p $TMPDIR
etcd_ver='2.3.3'
flannel_ver='0.5.5'
kubernetes_ver='1.2.4'
calico_ver='0.19.0'
calico_cni_ver='1.3.0'
pushd $TMPDIR
rm -rf etcd flannel kubernetes
wget -c -N https://github.com/coreos/etcd/releases/download/v${etc... | mwhahaha/fuel-plugin-kubernetes | .utils/build_all_debs.sh | Shell | apache-2.0 | 2,079 |
#!/bin/sh
#
#author :aebie@vmware.com
#date :20150803
#version :0.1
#usage :sh build.sh
#==============================================================================
#
# Copyright 2015 VMware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this fil... | vmware/docker-graphite-api | build.sh | Shell | apache-2.0 | 944 |
#!/bin/bash
# Must be run in the service's directory.
help_message() {
echo -e "Usage: $0 [apply|destroy|plan|refresh|show]\n"
echo -e "The following arguments are supported:"
echo -e "\tapply \t Refresh the Terraform remote state, perform a \"terraform get -update\", and issue a \"terraform apply\""
echo -e... | TerraformDesignPattern/infrastructure | templates/service-terraform.sh | Shell | apache-2.0 | 2,957 |
#!/bin/bash
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * 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 fil... | trendmicro/HGraph | src/main/scripts/pr/import-pr.sh | Shell | apache-2.0 | 1,149 |
#!/bin/bash
#export GLOG_v=30
#export GLOG_logtostderr=1
python -u cluster_train.py \
--config_path 'data/config.txt' \
--train_dir 'data/paddle_train.txt' \
--batch_size 32 \
--epoch_num 100 \
--use_cuda 0 \
--parallel 0 \
--role pserver \
--endpoints 127.0.0.1:6000,127.0.0.1:6001 \
--current_endpoint 127.0.0.1:6000... | kuke/models | fluid/PaddleRec/din/cluster_train.sh | Shell | apache-2.0 | 1,228 |
# Copyright 2015 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 applicable law or a... | googlearchive/graphd | test/unit/sort6.sh | Shell | apache-2.0 | 1,084 |
#!/bin/bash
source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh"
trap os::test::junit::reconcile_output EXIT
# Cleanup cluster resources created by this test
(
set +e
oc delete all,templates --all
exit 0
) &>/dev/null
os::test::junit::declare_suite_start "cmd/explain"
# This test validates that the expl... | nhr/origin | test/cmd/explain.sh | Shell | apache-2.0 | 788 |
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev \
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev \
sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake \
libtool bison subversion nodejs -y
echo "
How To Install Ruby sudo apt-get install build-esse... | bayvictor/distributed-polling-system | bin/install_rvm_ubunbu14.04.sh | Shell | apache-2.0 | 7,011 |
#!/bin/bash
SNAPSHOT_NAME=$1
if [[ "${SNAPSHOT_NAME}" == "" ]] ; then
echo "No snapshot name given"
exit 1
fi
node_name_prefix="vagrant-multirack_${USER}"
if [[ "${VAGRANT_MR_NAME_SUFFIX}" != "" ]] ; then
node_name_prefix="${node_name_prefix}-${VAGRANT_MR_NAME_SUFFIX}"
fi
VMs=$(virsh list --all | grep "$... | xenolog/vagrant-multirack | snapshot-create.sh | Shell | apache-2.0 | 613 |
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | google-research/google-research | ebp/run.sh | Shell | apache-2.0 | 938 |
echo "Installing The Canonical Distribution of Ubuntu OpenStack
By far the best way to build an OpenStack cloud is by using The Canonical Distribution of Ubuntu OpenStack. Follow the instructions below to download and configure it.
Get the facts ›
What makes up the Canonical Distribution and what support is availabl... | bayvictor/distributed-polling-system | bin/ubu14.04_install_openstack.sh | Shell | apache-2.0 | 5,413 |
#!/bin/bash
docker build --tag="kurron/java:1.7.0.72" .
| kurron/docker-experiment | java-7-application/build-image.sh | Shell | apache-2.0 | 57 |
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "Usage: $0 [host_to_forward_to] [port_to_forward]"
exit 1
fi
FORWARD_TO_HOST=$1
FORWARD_PORT=$2
echo "Forwarding localhost:${FORWARD_PORT} -> ${FORWARD_TO_HOST}:${FORWARD_PORT}"
sudo -u nobody socat -d TCP-LISTEN:${FORWARD_PORT},fork TCP:${FORWARD_TO_HOST}:${FORWARD_POR... | thomasanderson9000/ipredator_btt | portforward/forward_port.sh | Shell | apache-2.0 | 344 |
#!/bin/sh
#
# Copyright 2020 PingCAP, Inc. Licensed under Apache-2.0.
set -eu
cur=$(cd `dirname $0`; pwd)
DB_NAME="empty_test"
# drop database on mysql
run_sql "drop database if exists \`$DB_NAME\`;"
# build data on mysql
run_sql "create database \`$DB_NAME\` DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"
# dumping... | pingcap/tidb | dumpling/tests/empty_database/run.sh | Shell | apache-2.0 | 525 |
#!/usr/bin/env bash
docker pull pyprob/pyprob_cpp
pytest -n auto -x -rA
| probprog/pyprob | tests/run_all.sh | Shell | bsd-2-clause | 72 |
#!/bin/bash
# assumes this script (config.sh) lives in "${JAMR_HOME}/scripts/"
export JAMR_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." > /dev/null && pwd )"
export CLASSPATH=".:${JAMR_HOME}/target/scala-2.10/jamr-assembly-0.1-SNAPSHOT.jar"
# change the following enviroment variables for your configuration
exp... | jflanigan/jamr | scripts/old_configs/config_ConceptInvoke_test2_SVM_noreg_LDC2014T12.sh | Shell | bsd-2-clause | 2,617 |
#!/bin/bash
SUPPORT=(0.5 0.4 0.3 0.2 0.1 0.08 0.06)
for((i=0;i<${#SUPPORT[@]};++i))
do
export OMP_NUM_THREADS=1
./build/gbolt -i extern/data/Compound_422 -s ${SUPPORT[$i]}
done
| Jokeren/DataMining-gSpan | scripts/bench_performance.sh | Shell | bsd-2-clause | 184 |
../gnucash2ledger.py Inputs/gen/gc3dates.gnucash
| MatzeB/pygnucash | test/gc3dates.test.sh | Shell | bsd-2-clause | 49 |
export PATH='~/node_modules/.bin:'+$PATH #for topojson
##example compressed
##ogr2ogr -f GeoJSON -lco COORDINATE_PRECISION=2 -simplify 0.05 -dialect SQLite -select SUB_CODE_7,SUB_CODE_7,REG_CODE_7,REG_NAME_7 ramsar/ibra7_subresions.json originals/ShapeFiles/ibra7_subresions.shp
##example 'straight'
##ogr2ogr -f GeoJSON... | ANU-WALD/aus-env | scripts/topopipe.bash | Shell | bsd-2-clause | 7,260 |
#!/bin/sh
#
# This test copies a file to the SE and then asks for its TURL using
# several access protocols.
# The copy is performed in the srm2_d0t1 space token.
#
if test $# -le 0; then
echo "Usage: $0 <srm v2.2 full endpoint>"
echo "Please provide srm v2.2 full endpoint"
exit 1
else
srmv2=$1
fi
#
VO="dteam... | dCache/s2 | testing/scripts/protos/srm/2.2/lcg-utils/lcg-gt.sh | Shell | bsd-3-clause | 1,414 |
#!/bin/bash
CC="msp430-gcc -mmcu=msp430f1611" cmake -DARITH=msp-asm -DCMAKE_SYSTEM_NAME=Generic -DALIGN=2 -DARCH=MSP -DBENCH=1 "-DBN_METHD=BASIC;MULTP;MONTY;BASIC;BASIC;BASIC" -DCHECK=OFF -DCOLOR=OFF "-DCOMP:STRING=-O2 -g -mmcu=msp430f1611 -ffunction-sections -fdata-sections -fno-inline -mdisable-watchdog" -DDOCUM=OFF... | GaloisInc/hacrypto | src/C/relic/relic-0.3.5/preset/msp-ecc-128k.sh | Shell | bsd-3-clause | 780 |
#!/bin/sh
stack exec broker -- \
--debug \
--source 'tcp://*:5000' \
--sink 'tcp://*:5001' \
--registration 'tcp://*:5002' \
--servicesFrom "Port 5010" \
--servicesTo "Port 5035"
| monto-editor/broker | start.sh | Shell | bsd-3-clause | 191 |
#/bin/bash
# Creates the PubSub topic for Perf files and then ties it to GCS
# notifications.
set -e -x
source ../kube/config.sh
TOPIC=perf-ingestion-skia-production
perf-tool config create-pubsub-topics --big_table_config=nano
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/$... | google/skia-buildbot | perf/create-ingestion-pubsub-topics.sh | Shell | bsd-3-clause | 623 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.