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
make
#for i in 1 2 3 4 5 6 7 8 9 10 11 12; do
i=1;
while [ $i -ne 41 ]; do
#for i in 9 10 11 12; do
for j in 1 2 3 4; do
echo $i $j
echo "Hello" | ./qrencode $i $j >Hello$i$j.pbm
diff -q Hello$i$j.pbm regout/
done
i=$[$i+1]
done
echo
#md5sum Hello??.pbm base/Hello??.pbm | ... | tz1/qrduino | regtest.sh | Shell | gpl-3.0 | 351 |
#!/bin/sh
mkdir $HOME/gnupg_
tar -jxvf gnupg-1.4.22.tar.bz2
cd gnupg-1.4.22/
./configure --prefix=$HOME/gnupg_
make -j $NUM_CPU_JOBS
echo $? > ~/install-exit-status
make install
cd ..
rm -rf gnupg-1.4.22/
rm -rf gnupg_/share/
echo pts-1234567890 > passphrase
echo "#!/bin/sh
./gnupg_/bin/gpg -c --no-options --passph... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/gnupg-2.4.0/install.sh | Shell | gpl-3.0 | 395 |
#!/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 ... | superjamie/RetroPie-Setup | scriptmodules/ports/cgenius.sh | Shell | gpl-3.0 | 1,664 |
#!/bin/bash
mode=$1
clientname=$2
if ! [ $mode ] ; then
echo "Usage: $0 newserver|newclient [clientname]"
exit 1
fi
if [ "$mode" == "newserver" ] ; then
openssl genrsa -out server.key 2048
openssl ecparam -genkey -name secp384r1 -out server.key
openssl req -new -x509 -sha256 -key server.key -out server.crt... | co60ca/beaconpi | etc/x509/generate-keys.sh | Shell | gpl-3.0 | 762 |
#!/bin/bash
# BLink PCB L.E.D. upon scanning
# gcc -Wall -o greenLight greenLight.c -lwiringPi
# sudo ./greenLight
# Server Connection
HOST='*********'
USER='*********'
PASSWD='*******'
FILE='entry.csv'
# Vars
datamtx=''
# Current Working directory to var
cwd=$(pwd)
# tmp data-matrix holder
tmp="$cwd/zbartmp"
# N... | mndk0076/mndk0076.github.io | Final LabFlow (safe).sh | Shell | agpl-3.0 | 1,724 |
#!/bin/bash
python3 manage.py collectstatic --noinput
python3 manage.py migrate --noinput
if [[ "${DJANGO_DEBUG}" == "1" ]]; then
echo "Starting debug server..."
python manage.py runserver 0.0.0.0:8000
else
echo "Starting uwsgi server..."
uwsgi --ini uwsgi.ini
fi
| coddingtonbear/inthe.am | run_django.sh | Shell | agpl-3.0 | 281 |
#!/bin/sh
if [ $# -eq 0 ]; then
echo "Finds the millisecond stuff for a smil/mp3 combo in a daisy book"
echo " Usage maketestdata.sh path-to-file"
exit
fi
if [ ! -f $1.smil ]; then
echo $1.smil does not exist
fi
if [ ! -f $1.mp3 ]; then
echo $1.mp3 does not exist
fi
for a in `cat $1.smil |grep clip-begin |... | kolibre/libkolibre-player | tests/scripts/maketestdata.sh | Shell | lgpl-2.1 | 531 |
#!/bin/sh
cd ..
python3 -m src.hingechat.main --relay 127.0.0.1 --port 34484 | HingeChat/HingeChat | darwin/client.sh | Shell | lgpl-3.0 | 77 |
#!/bin/sh
cd deployment
deploy.py oncasu_two_arena_xinhib_cross_between.assisi
cd /home/rmm/repos/gh/rmm-assisi-workshops/2015_graz/binary_choice/two_arenas_real_real
for f in casu_utils.py loggers.py parsing.py two-real-with-cross.conf xinhib_heaters.py; do
scp ${f} assisi@casu-001:deploy/sym_breaking_arena/casu-... | rmm-fcul/workshops | 2015_graz/binary_choice/two_arenas_real_real/_deploy_two_real_xinhib.sh | Shell | lgpl-3.0 | 528 |
#!/bin/zsh
source ~/.credentials.sh
source teamcity_env
DB_CONFIG_FILE=${TEAMCITY_BIN_PATH}/conf/database.properties
AGENT_DB_CONFIG_FILE=${TEAMCITY_AGENT_PATH}/conf/database.properties
echo 'connectionUrl=jdbc:mysql://127.0.0.1/teamcity' > ${AGENT_DB_CONFIG_FILE}
echo 'connectionProperties.user=tcuser' >> ${AGENT... | stormleoxia/leoxiadotcom | scripts/teamcity/config_db.sh | Shell | lgpl-3.0 | 631 |
#!/bin/bash
pause(){
read -p "Press [Enter] key to continue..." fackEnterKey
}
build(){
./gradlew jar
pause
}
solveHSP(){
read -p "Enter domain file [path to the file]: " domainFile
read -p "Enter problem file [path to the file]: " problemFile
read -p "Timeout [int]: " timeOut
show_heuristic
read -p ... | pellierd/pddl4j | pddl4j.sh | Shell | lgpl-3.0 | 4,481 |
#!/bin/bash
source /root/bin/setup.conf
mkdir -p $WEBROOT/lib
echo "<?php
// Import the necessary classes
use Cartalyst\Sentinel\Native\Facades\Sentinel;
use Illuminate\Database\Capsule\Manager as Capsule;
// Include the composer autoload file
require '$WEBROOT/vendor/autoload.php';
// Setup a new Eloquent Capsul... | bradchesney79/2015DebianJessieWebserverProject | scripts/implement-sentinel.sh | Shell | unlicense | 1,182 |
#!/bin/sh
sed -i 's/\/\/ #define DUMB_LOGGING_NO_MACROS/#define DUMB_LOGGING_NO_MACROS/' logging.h
sed -i 's/\/\/ #define DUMB_LOGGING_FUNCTIONS/#define DUMB_LOGGING_FUNCTIONS/' logging.h
| sirnuke/dumb-c-logging | tests/only-functions/setup.sh | Shell | unlicense | 188 |
#!/Ruby22/bin/ruby
#
#
irb "hello world"
| keenes/rubycrown | .install.sh | Shell | unlicense | 44 |
#!/bin/bash
#
#
#Author : tensorchen
#Time : 2016年05月15日
#
read -p "Please input your first name: " firstname
read -p "Please input your last name: " lastname
echo -e "\nYour full name is: $firstname $lastname"
| tensorchen/language-lab | shell/study/output_your_name.sh | Shell | apache-2.0 | 223 |
function open_url () {
cmd //c start "${@//&/^&}"
}
function one_ping () {
ping -n 1 $1
}
function credential_helper () {
echo wincred
}
function is_admin() {
net session > /dev/null 2>&1
}
function install_git_lfs () {
local KIT_PATH=$1
local VERSION=$2
export GIT_LFS_INSTALLER_LIB="$KIT_P... | Autodesk/enterprise-config-for-git | lib/win/setup_helpers.sh | Shell | apache-2.0 | 1,449 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you... | arenadata/bigtop | bigtop-packages/src/common/solr/install_solr.sh | Shell | apache-2.0 | 4,637 |
#!/bin/bash
set -e
set -x
DIR=$(realpath $(dirname "$0"))/../
MANIFESTDIR=$(realpath "$DIR")/manifest
CHARTS="fission-all"
source $(realpath "${DIR}"/test/init_tools.sh)
doit() {
echo "! $*"
"$@"
}
check_charts_repo() {
local chartsrepo=$1
if [ ! -d "$chartsrepo" ]; then
echo "Error finding... | fission/fission | hack/generate-helm-manifest.sh | Shell | apache-2.0 | 3,039 |
#!/bin/bash
# This script compares two KAMs
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permis... | OpenBEL/openbel-framework | org.openbel.framework.tools/tools/KamComparator.sh | Shell | apache-2.0 | 554 |
#!/bin/sh
# dpw@alameda.local
# 2014.03.22
#
PORT=<%= config.port %>
ENV=development
CONFIG="`pwd`/config.json"
LOGNAME="<%= config.logName %>"
cd app/
node app.js --env $ENV --configfile $CONFIG --logfile "${HOME}/logs/${LOGNAME}-dev.log"
| darrylwest/platform-mvc | templates/node-server-standard/bin/run.sh | Shell | apache-2.0 | 244 |
#!/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 l... | citlab/vs.msc.ws14 | flink-0-7-custom/flink-dist/src/main/flink-bin/yarn-bin/yarn-session.sh | Shell | apache-2.0 | 1,971 |
#!/bin/bash
echo ""
echo "The run_tests script is deprecated and will be removed in the "
echo "Queens Release Cycle (13.0), in favor of tox."
echo ""
set -o errexit
function usage {
echo "Usage: $0 [OPTION]..."
echo "Run Horizon's test suite(s)"
echo ""
echo " -V, --virtual-env Always use virtualenv... | kogotko/carburetor | run_tests.sh | Shell | apache-2.0 | 17,636 |
#!/bin/bash
pushd ./base
./buildimage.sh
popd
pushd ./basenginx
./buildimage.sh
popd
pushd ./baseservice
./buildimage.sh
popd
| antoinehage/soajs.buildImages | images/buildimages.sh | Shell | apache-2.0 | 128 |
#!/usr/bin/env bash
#-------------------------------------------------------------------
# test script for watchdog
source $TESTLIBS
TESTDIR=master
rm -fr $TESTDIR
mkdir $TESTDIR
cd $TESTDIR
# create master environment
echo -n "creating master pgpool..."
$PGPOOL_SETUP -m s -n 2 -p 11000|| exit 1
echo "done."
source .... | treasure-data/prestogres | src/test/regression/tests/004.watchdog/test.sh | Shell | apache-2.0 | 1,347 |
#!/bin/bash
set -x
set -e
if [ -z "$SOURCE_DIR" ] ; then
echo "Expected SOURCE_DIR in environment"
exit 1
fi
if [ -z "$BUILD_DIR" ] ; then
echo "Expected BUILD_DIR in environment"
exit 1
fi
if test -d $BUILD_DIR ; then
rm -rf $BUILD_DIR/*
fi
# SETUP development environment
yum groupinstall -y '... | nkinkade/ndt-support | init/prepare.sh | Shell | apache-2.0 | 2,404 |
#!/bin/bash
# Copyright 2015 The QingYuan 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 required ... | qingyuancloud/qingyuan | cluster/addons/fluentd-elasticsearch/kibana-image/run.sh | Shell | apache-2.0 | 792 |
#/bin/sh
etcdctl --peers http://etcd:4001 get /coreos.com/network/config
| justasabc/kubernetes-ubuntu | ke/scripts/get_flanneld_network.sh | Shell | apache-2.0 | 73 |
#!/bin/sh
echo "hello, $BUILD1!"
| gravitational/workshop | docker/busybox-arg/hello.sh | Shell | apache-2.0 | 35 |
#!/bin/bash
# sudo portion of npm package installations
echo "Running npm root installation"
ROOT_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. $ROOT_SCRIPT_DIR/rootcheck.sh
SCRIPT_DIR=$1
ME=$2
node-gyp -g install
# put yelp_uri in back to override downloaded version
for repo in ijavascript jupyter... | linkmax91/bitquant | web/scripts/install-npm-sudo.sh | Shell | apache-2.0 | 376 |
#!/bin/bash
# At least a very basic sanity check on installation.
# We don't have a full unit test coverage. -bcg'17
(cd src/DOM141M && make)
./dominions.py install --version 141 /tmp/141
./dominions.py install --version 500 /tmp/500
./dominions.py install --version 2000 /tmp/2000
docker build --build-arg VERSION=141... | braddockcg/dominions | test.sh | Shell | apache-2.0 | 452 |
#!/bin/bash
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | googleapis/repo-automation-bots | .kokoro/trampoline.sh | Shell | apache-2.0 | 954 |
#!/bin/bash -e
# bash imports
source ./virtualbox_env.sh
set -x
if !hash ruby 2> /dev/null ; then
echo 'No ruby in path!'
exit 1
fi
if [[ -f ./proxy_setup.sh ]]; then
. ./proxy_setup.sh
fi
# CURL is exported by proxy_setup.sh
if [[ -z "$CURL" ]]; then
echo 'CURL is not defined'
exit 1
fi
# BOOTSTRAP_NAME... | NinjaLabib/chef-bach | vbox_create.sh | Shell | apache-2.0 | 12,856 |
#!/bin/bash
container_domain=
container_hostname=
container_image=rstiller/wordpress
container_command=/start.sh
container_name=$container_hostname
container_port=
| rstiller/docker-wordpress | modules/server/files/vars.sh | Shell | apache-2.0 | 165 |
su
mount -o rw,remount /system
rm /system/media/bootanimation.zip
rm -r /system/media/audio -f
rm -r /system/customizecenter -f
cd system
unzip -o /system/storage/deepmod/deepazure.zip
chmod -R 755 /system
find /system -type f -exec chmod 644 {} \;
| Zavgorodnij/01030140120931204214 | 1.0.0.2/alternative1.3.sh | Shell | apache-2.0 | 258 |
#!/bin/sh
# Builds and runs tests for a particular target passed as an argument to this
# script.
set -ex
TARGET=$1
case "$TARGET" in
*-apple-ios)
cargo rustc --manifest-path libc-test/Cargo.toml --target $TARGET -- \
-C link-args=-mios-simulator-version-min=7.0
;;
*)
cargo build --manifest-... | DiamondLovesYou/libc | ci/run.sh | Shell | apache-2.0 | 1,407 |
# Copyright 2020 Google LLC 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 ag... | googleforgames/agones | test/load/allocation/runAllocation.sh | Shell | apache-2.0 | 1,135 |
#!/bin/bash
#
# Author: Ambud Sharma
#
#
source /etc/sidewinder/sidewinder-env.sh
$JAVA_HOME/bin/java $JAVA_OPTS -cp $SIDEWINDER_HOME/lib/*.jar com.srotya.sidewinder.core.SidewinderServer server $SIDEWINDER_CONF/config.yaml | srotya/sidewinder | dist/standalone/src/main/resources/install/sidewinder.sh | Shell | apache-2.0 | 226 |
#!/bin/bash -ex
# Set current ip to nats server
NISE_IP_ADDRESS=${NISE_IP_ADDRESS:-`ip addr | grep 'inet .*global' | cut -f 6 -d ' ' | cut -f1 -d '/' | head -n 1`}
NISE_IP_ADDRESS=${NISE_IP_ADDRESS} ./common/launch_nsie_bosh.sh
(
cd nise_bosh
bundle install
# Old spec format
sudo env PATH=$PATH bundl... | yudai/cf_nise_installer_services | local/launch_nise_bosh.sh | Shell | apache-2.0 | 409 |
#!/usr/bin/env bash
if ([ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]) || [ "$TRAVIS_TAG" != '' ] ; then
openssl aes-256-cbc -K $encrypted_b4f84f3a0738_key -iv $encrypted_b4f84f3a0738_iv -in codesigning.asc.enc -out codesigning.asc -d
gpg --fast-import codesigning.asc
fi
| mgargadennec/blossom | cd/before-deploy.sh | Shell | apache-2.0 | 308 |
#!/bin/bash
# REPLACE WITH YOUR CHIME2 PATH HERE
chime2_path='/data1/swisdom/chime2/chime2-wsj0'
# write taskfiles for training data
find ${chime2_path}/isolated/si_tr_s -name '*.wav' -type f | sort -u > taskfile_chime2_train_noisy.txt
find ${chime2_path}/scaled/si_tr_s -name '*.wav' -type f | sort -u > taskfile_chim... | stwisdom/dr-nmf | create_taskfiles.sh | Shell | apache-2.0 | 841 |
#!/bin/bash
if [ -z "$DOCKER_BUILD_OPTS" ] ; then
docker build -t udiabon/centos-dev-env .
else
docker build $DOCKER_BUILD_OPTS -t udiabon/centos-dev-env .
fi
| udiabon/centos-nginx-php-fpm | build.sh | Shell | apache-2.0 | 167 |
#!/bin/bash -e
# Starting OpenBSD Secure Shell server: sshd
service ssh start
# Format the filesystem
hdfs namenode -format
# Start NameNode daemon and DataNode daemon
start-dfs.sh
# Make the HDFS directories required to execute MapReduce jobs
hdfs dfs -mkdir /user \
&& hdfs dfs -mkdir /user/`whoami`
# Start... | ljishen/SRL | docker/hadoop/master/entrypoint.sh | Shell | apache-2.0 | 381 |
#!/bin/sh
#
# See the paper "Recursive Make Considered Harmful"
# by Peter Miller (http://aegis.sourceforge.net/auug97.pdf)
#
DIR="$1"
shift 1
case "$DIR" in
"" | ".")
gcc -MM -MG "$@" | sed -e "s!^\(.*\)\.o:!\1.s \1.d \1.o:!"
;;
*)
gcc -MM -MG "$@" | sed -e "s!^\(.*\)\.o:!$DIR/\1.s $DIR/\1.d $DIR/\1.o:!"
... | libamqp/libamqp | src/depend.sh | Shell | apache-2.0 | 328 |
#!/usr/bin/env 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. T... | aljoscha/flink | tools/ci/stage.sh | Shell | apache-2.0 | 7,168 |
#!/bin/bash -
#===============================================================================
#
# FILE: vi2html.sh
#
# USAGE: ./vi2html.sh file
#
# DESCRIPTION: turns a file into a html syntax-colored file.
#
# OPTIONS: file - the file that would appear colored in vim.
# REQUIREMENTS: vi... | Patola/patolascripts | vi2html.sh | Shell | apache-2.0 | 861 |
#!/bin/bash
function print_help {
echo "Usage:
--all Display info for all wallets
--key {key} Display info for wallet with key: {key}"
}
if [[ $1 == "--all" ]];
then
curl http://stg.parzam.com:8000/api/services/cryptocurrency/v1/wallets
elif [[ $1 == "--key" ]];
then
curl htt... | sadonsergey/exonum-test | examples/wallets_info2.sh | Shell | apache-2.0 | 417 |
#!/bin/bash
if [[ "${REPORT_DATE}" == "" || "${REPORT_DATE}" == "LATEST" ]]
then
REPORT_DATE=$(date +%Y_%m_01)
CRUX_REPORT_DATE=$(date -d "-1 month" +%Y_%m_01)
else
CRUX_REPORT_DATE="${REPORT_DATE}"
fi
FAIL=0
NUM_TESTS=0
FAIL_LOG=""
TITLE=""
# These dated report URLs are tested for 200 status
# We test th... | HTTPArchive/beta.httparchive.org | tools/scripts/test_reports.sh | Shell | apache-2.0 | 4,180 |
#/**
#* Copyright IBM Corporation 2016
#*
#* Licensed under the Apache License, Version 2.0 (the "License");
#* you may not use this file except in compliance with the License.
#* You may obtain a copy of the License at
#*
#* http://www.apache.org/licenses/LICENSE-2.0
#*
#* Unless required by applicable law or agreed t... | IBM-Swift/Kitura | Scripts/generate_router_verbs.sh | Shell | apache-2.0 | 5,499 |
#!/bin/bash
set -e
source /bd_build/buildconfig
set -x
apt-get update
# Install common scripts
# cp -rT /bd_build/stations/scripts/ /usr/local/bin
# cp -rT /bd_build/stations/startup_scripts/. /etc/my_init.d/
cp -rT /bd_build/stations/service.minimal/. /etc/service.minimal/
# cp -rT /bd_build/stations/service.full... | AzuraCast/AzuraCast | util/docker/stations/setup.sh | Shell | apache-2.0 | 449 |
PREPS=(
'echo "ERROR: CDIST2700E The operator requires an attribute called analysisResult on the output port"'
'copyOnly'
)
STEPS=(
"splCompileInterceptAndError"
'linewisePatternMatchInterceptAndSuccess "$TT_evaluationFile" "" "*CDIST2700E*"'
)
| IBMStreams/streamsx.sparkMLLib | tests/frameworktests/tests/StreamsxSparkmllib/TranslationCompile/SparkCollaborativeFilteringALS/TestCase.sh | Shell | apache-2.0 | 252 |
#! /bin/bash
echo --- start apache spark
/Library/spark-1.3.0-SNAPSHOT-hadoop2.2.0/sbin/start-all.sh
| faustineinsun/SparkPlayground | Scala/scripts/startApacheSpark.sh | Shell | apache-2.0 | 103 |
#!/usr/bin/env bash
ID=$(basename "$0" | sed "s/.sh$//g")
ABS_PATH=$(readlink -f $0)
cd $(dirname $(dirname $(dirname ${ABS_PATH})))
MYDIR=logs/${ID}
mkdir -p ${MYDIR}
cp ${ABS_PATH} ${MYDIR}
CUDA_VISIBLE_DEVICES=3 \
python -u main.py \
--experiment_id ${ID} \
--data_name scan \
--train_file SCAN/add_prim_split/task... | yli1/CGPS | experiments/turn_ablation_prim/turn_ablation_prim_D.sh | Shell | apache-2.0 | 1,020 |
#!/bin/bash
/Volumes/Data/Code/ARK/PARKive/pri/PARK-make/Intro-To-HARK/Intro-To-HARK-make.sh /Volumes/Data/Code/ARK/PARKive/pri/PARK-make/Intro-To-HARK/Latest Intro-To-HARK /Volumes/Data/Code/ARK/PARKive/pri/PARK/Intro-To-HARK-Custom
| econ-ark/PARK | source/Intro-To-HARK/Intro-To-HARK-make-Custom.sh | Shell | apache-2.0 | 237 |
#!/bin/bash
# strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'
# ensure a modern version of sort is installed
# get the version of sort, find the line that has the version number
# get the last word with awk, which is the version number
# if that version number is gr... | Getable/rentable-footer | scripts.sh | Shell | artistic-2.0 | 3,130 |
#! /bin/bash
cd build
ninja tidy
| kaimast/yael | ci/clang-tidy.sh | Shell | bsd-2-clause | 34 |
#!/usr/bin/env bash
#exec 1> >(logger -p error -t $(basename $0)) 2>&1
# by default we only get the full repo every 6 minutes
# which if the cron job runs every 3 mins, then it is every other time
fulleveryxmins=6
myminarg=$1
if [ $myminarg ] ; then
fulleveryxmins=$1
fi
cleanup() {
/usr/bin/sqlite3 ~/.offlin... | rpaditya/dotfiles | bin/mailrun.sh | Shell | bsd-2-clause | 1,958 |
# Global aliases
alias -g ...='../..'
alias -g ....='../../..'
alias -g .....='../../../..'
alias -g C='| wc -l'
alias -g H='| head'
alias -g L="| less"
alias -g N="| /dev/null"
alias -g S='| sort'
alias -g G='| grep' # now you can do: ls foo G something
# Functions
#
# (f)ind by (n)ame
# usage: fn foo
# to find all f... | tkuichooseyou/dotfiles | zsh/zsh-aliases.zsh | Shell | bsd-2-clause | 1,641 |
export GUSTO_PROJECTS_ROOT=/Users/matan.zruya/workspace/gusto
function zp() {
cd $GUSTO_PROJECTS_ROOT/zenpayroll
}
function ste() {
if [ "$*" = 'run' ]; then
(ste; ./bin/ste_docker)
else
cd $GUSTO_PROJECTS_ROOT/ste
fi
}
| mzruya/dotfiles | gusto/aliases.zsh | Shell | bsd-2-clause | 238 |
#!/bin/bash
qemu-img create test.img 100M
| emhj/opendev | qemu/workshop_1/2_demo/script_1.sh | Shell | bsd-3-clause | 44 |
#!/usr/local/bin/bash
font='Roboto Medium:size=13'
workspace() {
let desktop=$(xprop -root -notype _NET_CURRENT_DESKTOP | awk -F' = ' '{print $2}';)+1
echo "^fn(DroidSansMonoForPowerline Nerd Font:size=22)^fn($font) $desktop"
return
}
while :; do
buf=""
buf="${buf}^pa(1620) $(workspace)"
echo $buf
sl... | dszidi/knoxbug-dzen | scripts/workspace.sh | Shell | bsd-3-clause | 411 |
#!/bin/sh -login
#PBS -l nodes=1:ppn=4,mem=24gb,walltime=12:00:00
#PBS -M preeyano@msu.edu
#PBS -m abe
#PBS -N Bowtie
module load bowtie/1.0.0
cd ${PBS_O_WORKDIR}
bowtie -M 100 -S -t -p 4 ${index} ${input} ${output}
| likit/gimme_protocols | bowtie_job.sh | Shell | bsd-3-clause | 217 |
#!/bin/sh -
#
# Copyright (c) 1992 Diomidis Spinellis.
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributio... | jrobhoward/SCADAbase | usr.bin/sed/tests/multi_test.sh | Shell | bsd-3-clause | 11,866 |
export MONGO_URL="mongodb://localhost:27017/MedBook"
| UCSC-MedBook/MedBook_ | wrangler/config/development/env.sh | Shell | bsd-3-clause | 53 |
#!/usr/bin/env bash
# Sets up gfal plugins for use in a CMSSW environment.
# In fact, all plugins seem to work out of the box except for the xrootd plugin.
# Therefore, all other plugins are symlinked into a specified directory, and a precompiled xrootd
# plugin is copied from eos through a CERNBox link.
# Tested with... | riga/law | law/contrib/cms/scripts/setup_gfal_plugins.sh | Shell | bsd-3-clause | 3,787 |
#! /bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# update PATH to include kconfiglib scripts
export PATH=${DIR}:${PATH}
make --no-print-directory --silent CONFIG_ARCH_BOARD_CUSTOM=y CONFIG_APPS_DIR="../apps" olddefconfig
| PX4/Firmware | platforms/nuttx/NuttX/tools/px4_nuttx_make_olddefconfig.sh | Shell | bsd-3-clause | 260 |
#!/bin/bash
curl http://localhost:8080/myapp/conceptmapper/test.txt
| croeder/ccp_nlp | ws/curlcm.sh | Shell | bsd-3-clause | 70 |
#!/bin/bash
set -e
examples="\
la_umfpack01 \
la_sparsecomplex01 \
num_deriv01 \
vtk_isosurf01 "
for ex in $examples; do
echo
echo
echo "[1;32m>>> running $ex <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<[0m"
go run "$ex".go
done
| PaddySchmidt/gosl | examples/all.bash | Shell | bsd-3-clause | 252 |
#!/usr/bin/env bash
set -eux
mkdir ${WORKDIR}/test-loop
ln -s ${WORKDIR}/test-loop ${WORKDIR}/test-loop/test-loop
set +e
# check do not start inifinity-loop
ttap ${WORKDIR}
if [[ $? == 0 ]]; then
exit 1
fi
| fjkz/ttap | test/scripts/test-loop.sh | Shell | mit | 212 |
#! /bin/bash
#-------------------------------------------------------
export OPENSARKIT="change me"
# path to snap installation folder
export SNAP="change me"
export SNAP_EXE="${SNAP}/bin/gpt"
# Folder of OFST database
# 1.) download the database here: https://www.dropbox.com/s/qvujm3l0ba0frch/OFST_db.sqlite
# 2.) p... | BuddyVolly/OpenSARKit | template_source.bash | Shell | mit | 1,143 |
#!/bin/sh
TIMES=0
while [ $TIMES -lt 2 ]
do
sleep 2
TIMES=$((TIMES+1))
echo "$TIMES"
done
echo "------------"
| junkainiu/learning | bash/joy.sh | Shell | mit | 146 |
start=`date +%s.%N`
cntk configFile=AlexNet.cntk configName=AlexNet >1GPU.log 2>&1
end=`date +%s.%N`
runtime=$( echo "$end - $start" | bc -l )
echo "finished with execute time: ${runtime}" >>1GPU.log
| linmajia/dlbench | synthetic/experiments/cntk/cnn/alexnet/alexnet_1GPU.sh | Shell | mit | 201 |
#!/bin/bash
#
# The Unix toolset used in the script is installed along with
# MSysGit/Git for Windows.
#
set -e
set -u
CURDIR=$(dirname "$0")
cd $CURDIR/..
APPNAME=$(basename `pwd`)
./build/Debug/$APPNAME.exe
| mrts/snippets-cpp | template/scripts/run.sh | Shell | mit | 211 |
#!/bin/bash
FN="faahKO_1.24.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/experiment/src/contrib/faahKO_1.24.0.tar.gz"
"https://bioarchive.galaxyproject.org/faahKO_1.24.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-faahko/bioconductor-faahko_1.24.0_src_all.tar.gz"
"https://depo... | jfallmann/bioconda-recipes | recipes/bioconductor-faahko/post-link.sh | Shell | mit | 1,388 |
#!/usr/bin/env bash
PWD=`pwd`
zip -r function.zip package.json node_modules/* lib/* index.js environment/* environment/.env
aws lambda update-function-code \
--function-name distributed-job-runner \
--zip-file fileb://$PWD/function.zip \
--region us-east-1
rm function.zip
aws s3 sync ./client s3://tesera.svc.d... | tesera/distributed-job-runner-awslambda | deploy.sh | Shell | mit | 349 |
#!/bin/bash
sudo apt-get install autoconf2.64 automake1.11 gcc-4.6-multilib libtool-bin texinfo gperf bison flex
| LazyOxen/redox | libc/ubuntu.sh | Shell | mit | 113 |
#
# Sets key bindings.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Return if requirements are not found.
if [[ "$TERM" == 'dumb' ]]; then
return 1
fi
#
# Options
#
# Beep on error in line editor.
setopt BEEP
#
# Variables
#
# Treat these characters as part of a word.
WORDCHARS='*?_-.[]~&;!#$%^()... | vbwx/prezto | modules/editor/init.zsh | Shell | mit | 11,240 |
#!/bin/sh
# update-itar.sh - update from the interim trust anchor repository
# Copyright 2009, W.C.A. Wijngaards
# This file is BSD licensed, see doc/LICENSE.
# --- Some settings
# directory where unbound works
thedir="."
# where is the file that unbound is going to read
ub_ta_file="$thedir/anchors.mf"
# where is the... | davidhubbard/cwave | unbound-svn/contrib/update-itar.sh | Shell | gpl-2.0 | 4,577 |
#!/sbin/sh
#Features:
#maxkhz/minkhz/gov/maxscroff added to the kernels cmdline
#clean cmdline of foreigns in case of something wicked is going on in there
#(supports my kernel edits, so that the kernel boots with that values)
##Get CPU MINCLOCK from aroma tmp
val=$(cat /tmp/aroma-data/minkhz.prop | cut -d"=" -f2)
... | Team-Blackout/temp | dna/tools/cmdline.sh | Shell | gpl-2.0 | 5,219 |
#! /usr/bin/env bash
# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*-
# vim: tabstop=2:shiftwidth=2:noexpandtab
# kate: tab-width 2; replace-tabs off; indent-width 2;
#
# ==============================================================================
# Authors: Patrick Lehmann
#
# Bash Script: Scrip... | emogenet/ghdl | libraries/vendors/compile-xilinx-vivado.sh | Shell | gpl-2.0 | 9,677 |
echo "***************************"
echo "XTrie Big Test with variable # of threads"
for threads in 1 10 20 30 40 50 60 70 80
do
echo "*********** $threads"
time perf stat -e cache-references -e cache-misses ./perf_test $threads 100000
done
| trougnouf/School | ProgrammingAssignment3/Resources/concurrent_ds-master/skiptrie/xtree/perf_test/runners/run_small_cache.sh | Shell | gpl-3.0 | 248 |
#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later AND MIT
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
set -euo pipefail
usage()
{
echo "Download and build qrencode for the windows cross compiling environment"
echo "... | qTox/qTox | buildscripts/build_qrencode_windows.sh | Shell | gpl-3.0 | 1,145 |
# Plowshare openload.io module
# Copyright (c) 2015 ljsdoug <sdoug@inbox.com>
#
# This file is part of Plowshare.
#
# Plowshare 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, ... | dataoscar/plowshare-modules-legacy | openload_io.sh | Shell | gpl-3.0 | 2,437 |
#!/bin/bash
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
true
SCRIPT_NAME="Not-supported Menu"
# shellcheck source=lib.sh
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
# Check for errors + debug code and abort if something isn't right
#... | nextcloud/vm | not-supported/not-supported.sh | Shell | gpl-3.0 | 570 |
timeout_set 3 minutes
master_cfg="MAGIC_DISABLE_METADATA_DUMPS = 1"
master_cfg+="|AUTO_RECOVERY = 1"
master_cfg+="|EMPTY_TRASH_PERIOD = 1"
master_cfg+="|EMPTY_RESERVED_INODES_PERIOD = 1"
CHUNKSERVERS=3 \
MOUNTS=2 \
USE_RAMDISK="YES" \
MOUNT_0_EXTRA_CONFIG="mfsacl,mfscachemode=NEVER,mfsreportreservedperiod=1" \
MO... | jedisct1/lizardfs | tests/test_suites/ShortSystemTests/test_metadata_recovery.sh | Shell | gpl-3.0 | 1,604 |
#!/usr/bin/env bash
# create local user accounts
/rstudio/vagrant/provision-create-users.sh
# install packages needed for development environment
if [ ! -f /etc/redhat-release ]; then
apt-get install -y vim
apt-get install -y silversearcher-ag
apt-get install -y python-dev
# install NPM and utilities... | jar1karp/rstudio | vagrant/provision-primary.sh | Shell | agpl-3.0 | 668 |
g++ rpc_client.cpp -o rpc_client -I../../ ../../lib/openbsd-4.6/libulxmlrpcpp.a /usr/lib/libexpat.a -lssl -lcrypto -pthread
| kindkaktus/ulxmlrpcpp | ulxmlrpcpp/test_ipv6/build_client.sh | Shell | lgpl-2.1 | 124 |
#!/usr/bin/env bash
#
# bootstrap.sh: Build and configuration script for nlp-webtools in Vagrant
# --------------------------------------------------------------------------------------
# This script is only the *first time* you issue the command:
#
# vagrant up
#
# Or, following the commands:
#
# (vagrant halt)
... | BitCurator/bitcurator-nlp-tools | attic/provision/bootstrap.sh | Shell | lgpl-3.0 | 13,880 |
#!/usr/bin/env bash
/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD $@
| kak-bo-che/zen_toolworks_quelab | openscad.sh | Shell | unlicense | 74 |
#!/bin/bash
#
# Launcher for the fuzz runner engine.
# See https://github.com/bazelbuild/rules_fuzzing for more info.
if (( ! FUZZER_IS_REGRESSION )); then
echo "NOTE: Non-regression mode is not supported by this engine."
fi
command_line=("${FUZZER_BINARY}")
if [[ -n "${FUZZER_SEED_CORPUS_DIR}" ]]; then
comma... | envoyproxy/envoy | test/fuzz/fuzz_runner_launcher.sh | Shell | apache-2.0 | 389 |
#!/bin/bash -e
set -o pipefail
# Copyright 2016 The Kythe 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
#
# U... | kythe/kythe | kythe/docs/schema/example-cxx.sh | Shell | apache-2.0 | 3,230 |
#!/bin/bash
source "${SH_LIBRARY_PATH}/common.sh"
source "${SH_LIBRARY_PATH}/vault.sh"
source "${SH_LIBRARY_PATH}/githubapi.sh"
check_env REPOSITORY
DIR=$(dirname ${BASH_SOURCE[0]})
NAME=$(basename -s ".sh" ${BASH_SOURCE[0]})
githubapi_setup_environment
#
# To avoid the password being present in the Jenkins job co... | openzfs/openzfs-ci | jenkins/sh/send-illumos-mails/send-illumos-mails.sh | Shell | apache-2.0 | 691 |
#!/bin/sh -eux
# # Delete all Linux headers
# dpkg --list \
# | awk '{ print $2 }' \
# | grep 'linux-headers' \
# | xargs apt-get -y purge;
# Remove specific Linux kernels, such as linux-image-3.11.0-15-generic but
# keeps the current kernel and does not touch the virtual packages,
# e.g. 'linux-image-generic',... | darrenleeweber/vagrant_boxes | ubuntu1404-desktop/scripts/cleanup.sh | Shell | apache-2.0 | 1,084 |
# Publish data as an object without timestamp (server-side timestamp will be used)
mqtt pub -v -q 1 -h "mqtt.thingsboard.cloud" -t "v1/devices/me/telemetry" -u '$ACCESS_TOKEN' -s -m "{"temperature":42}"
# Publish data as an object without timestamp (server-side timestamp will be used)
cat telemetry-data-as-object.json ... | thingsboard/thingsboard.github.io | docs/edge/reference/resources/mqtt-js-telemetry.sh | Shell | apache-2.0 | 834 |
#!/usr/bin/env bash
# set -e # exit on any errors (jspm install errors on the belmgr-plugin install)
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/../
EDITOR_DIR="$DIR"/webeditor
PATH="$EDITOR_DIR"/node_modules/.bin:$PATH
cd "$EDITOR_DIR"
if [ ! -L gulp ]; then
echo "Linking gulp command into \"$EDITOR_DI... | nbargnesi/belmgr | scripts/build.sh | Shell | apache-2.0 | 840 |
#!/bin/bash
if [ $# -lt 2 ]; then
echo "Illegal number of parameters. Usage: `basename $0` rdf-host rdf-port"
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TEMPLATE=$DIR/repositories-config/owlim-owl-horst-optimized.ttl
echo "Creating iServe repository in $1:$2"
curl -X POST -H "Content-... | kmi/iserve | scripts/setup-owlim.sh | Shell | apache-2.0 | 2,137 |
#!/bin/sh
if [ -f /deployment/init.sh ];
then
echo "Running custom init script"
chmod +x /deployment/init.sh
/deployment/init.sh
fi
if [ -d /deployment ];
then
echo "Mapping deployed wars"
rm -rf /var/lib/tomcat7/webapps
ln -s /deployment /var/lib/tomcat7/webapps
fi
i... | Maluuba/docker-files | docker-tomcat7-java8/start-tomcat.sh | Shell | apache-2.0 | 1,106 |
#!/bin/bash
################################################################################
# Sample application to run from your dialplan.
################################################################################
# Location for your log4php.properties
export log4php_properties=/tmp/log4php.properties
export ... | iaejean/Ding | docs/examples/PAGI/run.sh | Shell | apache-2.0 | 898 |
#! /usr/bin/env bash
usage() {
echo "usage: gsutil_upload.sh s3://bucket/boto.config gs://gsbucket/path/ true|false"
echo
echo "The contents of INPUT1_STAGING_DIR (${INPUT1_STAGING_DIR}) will be uploaded to the GS path."
exit 3
}
if ([ -z "$1" ] || [ -z "$2" ]); then
echo "ERROR: missing arguments"
usage
... | realstraw/hyperion | scripts/activities/gsutil-upload.sh | Shell | bsd-3-clause | 2,066 |
#!/bin/sh
# weak_as_needed.sh -- a test case for version handling with weak symbols
# and --as-needed libraries.
# Copyright (C) 2018-2020 Free Software Foundation, Inc.
# Written by Cary Coutant <ccoutant@gmail.com>.
# This file is part of gold.
# This program is free software; you can redistribute it and/or modif... | mattstock/binutils-bexkat1 | gold/testsuite/weak_as_needed.sh | Shell | gpl-2.0 | 1,790 |
#!/bin/bash
PROG="${GRINS_BUILDSRC_DIR}/grins"
INPUT="${GRINS_TEST_INPUT_DIR}/ins_invalid_pin_location_unit.in"
${LIBMESH_RUN:-} $PROG $INPUT
| nicholasmalaya/grins | test/error_xfail/ins_invalid_pin_location.sh | Shell | lgpl-2.1 | 145 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.