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
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${DIR}/vars.sh"
chmod 777 "$DIR/../sites/default/settings.php"
docker exec -it ${WEB_CONTAINER_ID} ${SITE_INSTALLATION_CMD}
sh "${DIR}/fix-file-permissions.sh"
| victor-fung/travis-test | scripts/site-install.sh | Shell | gpl-2.0 | 241 |
#!/bin/bash
#To use this seach as follows:
# ./searchuser.sh <emailid>
#It will give an output of all the groups that user belongs to
ldapsearch -x | grep cn= | awk -F "=|," '{print $2}' >> groups.txt
echo "$1" >> usergroups.txt
while read line
do
searchresult=$(ldapsearch -x cn=$line | grep maildrop: | grep $1 | ... | light-saber/search-user-group | searchuser.sh | Shell | gpl-2.0 | 692 |
#! /bin/sh
# Copyright (C) 2002-2022 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 ... | autotools-mirror/automake | t/built-sources-check.sh | Shell | gpl-2.0 | 1,670 |
#!/bin/bash
# run_tdnn_1e.sh is like run_tdnn_1d.sh but batchnorm components instead of renorm
# exp/chain_cleaned/tdnn1d_sp_bi: num-iters=253 nj=2..12 num-params=7.0M dim=40+100->3597 combine=-0.098->-0.097 xent:train/valid[167,252,final]=(-1.40,-1.34,-1.34/-1.50,-1.46,-1.46) logprob:train/valid[167,252,final]=(-0.... | michellemorales/OpenMM | kaldi/egs/tedlium/s5_r2/local/chain/tuning/run_tdnn_1e.sh | Shell | gpl-2.0 | 10,326 |
#! /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 ... | GavinSmith0123/automake-amplain | t/tap-number-wordboundary.sh | Shell | gpl-2.0 | 2,317 |
#!/bin/sh
# Copyright (C) 2000-2011, Parallels, Inc. All rights reserved.
#
# 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 of the License, or
# (at your option) any later ... | adiabuk/random_scripts | hosting/etc/dists/scripts/set_ugid_quota.sh | Shell | gpl-2.0 | 2,602 |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SHODAN_API_KEY=$(cat $DIR/SHODAN_API_KEY)
curl --silent -H 'Accept: application/json' "https://api.shodan.io/dns/resolve?key=$SHODAN_API_KEY&hostnames=$1" | python -mjson.tool
printf '\n'
| Und3rf10w/security-scripts | enumeration/shodan/shodan_dns_resolve.sh | Shell | gpl-2.0 | 245 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2018 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | jonatanolofsson/tup | test/t3071-group-input.sh | Shell | gpl-2.0 | 1,754 |
SCRIPT_NAME=arclinux
OUTPUT_FORMAT="elf32-bigarc"
LITTLE_OUTPUT_FORMAT="elf32-littlearc"
BIG_OUTPUT_FORMAT="elf32-bigarc"
TEXT_START_ADDR=0x10000
MAXPAGESIZE=0x2000
COMMONPAGESIZE=0x2000
NONPAGED_TEXT_START_ADDR=0x10000
ARCH=arc
MACHINE=
ENTRY=__start
TEMPLATE_NAME=arclinux
TEMPLATE_NAME=elf32
EXTRA_EM_FIL... | caryhaynie/binutils | ld/emulparams/arceblinux.sh | Shell | gpl-2.0 | 457 |
#!/bin/bash
# Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
#
# 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 of the License, or
# (at your option) any l... | wanghao-xznu/vte | testcases/vte_tests_suite/dvfs_tests/dvfs_mx53.sh | Shell | gpl-2.0 | 7,383 |
#!/bin/sh
../agent/gpg-agent --homedir=.gnupg1 --daemon --no-detach
../agent/gpg-agent --homedir=.gnupg2 --daemon --no-detach
../agent/gpg-agent --homedir=.gnupg3 --daemon --no-detach
../agent/gpg-agent --homedir=.gnupg4 --daemon --no-detach
| MacGyverNL/gnupg-vanity | vanity/startagents.sh | Shell | gpl-3.0 | 242 |
#!/usr/bin/env bash
vm_command <<'EOF'
set -o errexit -o noclobber -o nounset -o xtrace
vm_test_date=2000-01-01
vm_test_date_format=%Y-%m-%d
sudo systemctl stop ntpd.service
sudo systemctl stop vboxservice.service
sudo timedatectl set-timezone UTC
sudo timedatectl set-time "$vm_test_date"
[ "$(date --utc "+${vm_te... | l0b0/root | test/modules/ntpd/test.sh | Shell | gpl-3.0 | 637 |
#!/bin/bash
# Copyright 2014 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
#
# 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... | WesleyCeraso/scap-workbench | scap-workbench-oscap.sh | Shell | gpl-3.0 | 2,699 |
#!/bin/bash
#
# /start.sh
# Start drupal and related processes, install Drupal+co if not yet available
# https://github.com/Boran/webfact
#####
if [[ ${DRUPAL_DEBUG} ]]; then
echo "====== DRUPAL_DEBUG enabled : echo all commands. Warning: some passwords will be visible! ===="
echo "----- debug: environment ----"
... | nathanv/docker-drupal | start.sh | Shell | gpl-3.0 | 12,902 |
setxkbmap fi
sudo apt-get update
sudo apt-get install -y git puppet
git clone https://github.com/Spodah/puppet-practices.git
sudo puppet apply --modulepath /home/kubuntu/puppet-practices -e class{"git:"}
sudo puppet apply --modulepath /home/kubuntu/puppet-practices -e class{"ipython:"}
| Spodah/puppet-practices | startup.sh | Shell | gpl-3.0 | 287 |
#!/bin/bash
# Install Drupal, exporting the database and settings file.
robo setup:skeleton
COMPOSER_DISCARD_CHANGES=1 robo update:dependencies
robo setup:drupal --db-url=mysql://root@mariadb-host/drupal8
vendor/bin/drush sql-dump --result-file=../drupal.sql --gzip
mv sites/default/settings.php ../
| deviantintegral/drupal_tests | hooks/install-export.sh | Shell | gpl-3.0 | 301 |
#!/usr/bin/env bash
./sc.sh -server=sqlite -database=/Users/bod//Tmp/sample.2015-02-21-12_00_59.db -c=graph -o=/Users/bod/gitrepo/android-contentprovider-generator/etc/sample/sample-schema.png -infolevel=standard -portablenames -password= -outputformat png
| BoD/android-contentprovider-generator | etc/generate-schema-graph.sh | Shell | gpl-3.0 | 257 |
#!/bin/sh
$ name=$(xmlstarlet sel -t -m '//name[1]' -v . -n <example.xml)
echo $name
$ number=$(xmlstarlet sel -t -m '//number[1]' -v . -n <example.xml)
echo $number
| MurkyBeef/Webduino | parseXML.sh | Shell | gpl-3.0 | 170 |
#!/bin/bash
set -e
QUERY=$1
PATH=/usr/local/bin:$PATH
# GPG agent
envfile="$HOME/.gnupg/gpg-agent.env"
if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then
eval "$(cat "$envfile"); export GPG_AGENT_INFO"
else
eval "$(gpg-agent --daemon --write-env-file "$envfil... | CGenie/alfred-pass | pass-otp.sh | Shell | gpl-3.0 | 510 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-11-B/20161130T104609+0000/00/00/averageratioevent_2_ID0000026.sh | Shell | gpl-3.0 | 1,261 |
#/bin/sh
DIR=`dirname $0`
ps -ef | grep -v grep | grep nxtd > /dev/null
if test "X_$?" != "X_0"; then
echo starting nxtd
../../bin/nxtd $* &
echo please wait
sleep 11
fi
echo bumper car with ultrasonic sensor on port 4 and synchronised motors B and C
$DIR/../../bin/nxt_motor_travel -p 40
while true; do
... | jgraef/aNXT | examples/shell/bumper_car.sh | Shell | gpl-3.0 | 765 |
#!/bin/bash
# Usage (no '$' in variable name) :
# ./set-variables.sh file VAR1 VAR2 VAR3
# Usage for a Vagrant env (set your variables in vagrant/dev-variables.rb):
# ./set-variables.sh.sh dev file
ENV=$1
# Dev env (vagrant), get variables from vagrant/dev-variables.rb and replace them
if [ "$ENV" = "dev" ] ; then
... | kursusHC/gitlab-guide | deploy/set-variables.sh | Shell | gpl-3.0 | 741 |
#!/bin/bash
python GenSimulation.py --paralog1 YML026C --paralog2 YDR450W > YML026C_YDR450W_MG94_nonclock_gen_Sim_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YML026C_YDR450W_gen_sim.sh | Shell | gpl-3.0 | 131 |
echo "basic xestbrtA" > out1
echo "basic xest" >> out14brt
| ardagnir/athame | test/vim/inst1.sh | Shell | gpl-3.0 | 61 |
#!/bin/bash
#
# this script runs the mesher and the solver (in serial or in parallel, as needed)
# using this example setup
#
echo "running example: `date`"
currentdir=`pwd`
# sets up directory structure in current example directoy
echo
echo "setting up example..."
echo
mkdir -p OUTPUT_FILES
# cleans output files
r... | geodynamics/specfem2d | run_this_example_PLEASE_DO_NOT_REMOVE.sh | Shell | gpl-3.0 | 1,240 |
#
# Copyright (C) 2012 The ESPResSo project
#
# This file is part of ESPResSo.
#
# ESPResSo 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 ... | icimrak/espresso | tools/performance-tester/collect.sh | Shell | gpl-3.0 | 854 |
#!/bin/sh
#
set -eu
# common npm/yarn install process, to avoid repeating the same workarounds
npm_install()
{
echo Obtaining npm dependencies
set +e
mkdir yarn
wget https://yarnpkg.com/latest.tar.gz -O yarn/yarn.tar.gz
tar -xzvf yarn/yarn.tar.gz -C yarn
export PATH=$PATH:`pwd`/yarn/dist/bin
... | snapcore/snapweb | scripts/npm-install.sh | Shell | gpl-3.0 | 608 |
#!/bin/sh
# Copyright (C) 2012-2021 Marc Ferland
#
# 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 is ... | mferland/libzc | autogen.sh | Shell | gpl-3.0 | 716 |
#!/bin/sh
# test split with custom record separators
# Copyright (C) 2015-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 version 3 of the License, o... | pexip/os-coreutils | tests/split/record-sep.sh | Shell | gpl-3.0 | 2,273 |
#!/bin/sh
docker start nginx-test
| jianyingdeshitou/docker-debian8 | nginx-d8/test/start.sh | Shell | gpl-3.0 | 34 |
#!/bin/bash
#
# (C) 2016-2021 Eric James Beasley, @mybasementcloud, https://github.com/mybasementcloud/R8x-export-import-api-scripts
#
# ALL SCRIPTS ARE PROVIDED AS IS WITHOUT EXPRESS OR IMPLIED WARRANTY OF FUNCTION OR POTENTIAL FOR
# DAMAGE Or ABUSE. AUTHOR DOES NOT ACCEPT ANY RESPONSIBILITY FOR THE USE OF THESE SCR... | mybasementcloud/R8x-export-import-api-scripts | devops.dev/tools.MDSM.wip/MDM_Get_Domains_List_v00.01.00.wip.sh | Shell | gpl-3.0 | 76,634 |
#! /bin/bash
sort -u PBstep3jmp-dir > PBstep3jmp-dir-u
\cp find.input3 endfind.input2
\rm -f endfind.input3
touch endfind.input3
cat PBstep3jmp-dir-u | (
while read direct; do
echo ${direct}
grep ${direct} endfind.input2 | sed "s/find.pl/end-find.pl/" >> endfind.input3
done
)
curdir=`pwd`
for d in `cat P... | OSSOS/MOP | src/jmp/check_scripts/EndFind.sh | Shell | gpl-3.0 | 654 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-11-B/20161130T163128+0000/00/00/taskevent_0_ID0000006.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/bash
wget https://github.com/alexgkendall/SegNet-Tutorial/archive/master.zip
unzip master.zip && rm -rf master.zip
mv SegNet-Tutorial-master/CamVid data
rm -rf mv SegNet-Tutorial-master
| mitmul/chainer-segnet | experiments/download.sh | Shell | gpl-3.0 | 194 |
#!/bin/bash
export DIFF_PRED="/home/adam/new_dir/atac_contrast/Diff_signal_predict"
for tis in "cranioface" "limb" "liver" "neural_tube" "forebrain" "midbrain" "hindbrain" "heart";do
python main.py -p /home/adam/new_dir/atac_contrast/ATAC-seq_peak/${tis}_11.5_day.dfilter.final.bed\
--bigwig /home/adam/new_dir/atac_... | adamtongji/Diff_signal_predict | test/run.sh | Shell | gpl-3.0 | 477 |
# vim: ft=sh fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2016 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
# This file is part of qutebrowser.
#
# qutebrowser 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 Fo... | shaggytwodope/qutebrowser | scripts/dev/ci/travis_install.sh | Shell | gpl-3.0 | 3,774 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | jason-callaway/stig-fix | cat2/gen005512.sh | Shell | gpl-3.0 | 2,148 |
#!/bin/bash
# $Id: ada_run.sh,v 1.3 2012-07-25 19:02:20 juanca Exp $
# C language hello source code
cat >vpl_hello.c <<END_OF_FILE
#include <stdio.h>
int main(){
printf("Hello from the C language!");
return 0;
}
END_OF_FILE
| InstaLearn/phonegaptest3 | mod/vpl/jail/default_scripts/c_hello.sh | Shell | gpl-3.0 | 227 |
#!/bin/bash
txum help
txum list
mkdir -p $HOME/new-project
txum add myalias $HOME/new-project
txum list
txum remove myalias
| pearl-hub/txum | tests/integ-tests/integ-tests-common.sh | Shell | gpl-3.0 | 130 |
_perfmonger-record() {
local curcontext=$curcontext state line ret=1
declare -A opt_args
# TODO: match -d,--device multiple times
_arguments -w -C -S \
'--background[run in background mode]' \
'--status[show running perfmonger recording session]' \
'--kill[kill running perfmong... | hayamiz/perfmonger | misc/perfmonger.zsh | Shell | gpl-3.0 | 4,661 |
#!/bin/bash
wget -O - https://github.com/urbien/bitjoe/raw/master/install.sh | bash
wget -O - https://github.com/urbien/bitkeeper/raw/master/install.sh | bash
| urbien/tradle | install.sh | Shell | gpl-3.0 | 159 |
#!/bin/bash
# special jython launcher for Komodo
# remove -u argument which is not supported by jython
ARGS=`echo $* | sed 's/-u //'`
java -Dpython.path=../lib/jython.jar:../lib/lib -cp ../build/jython-engine.jar:../lib/jython.jar:$CLASSPATH org.python.util.jython $ARGS | remybaranx/qtaste | tools/jython/bin/jython_for_komodo.sh | Shell | gpl-3.0 | 271 |
cut -d $'\t' -f 2-
| shree-shubham/Unitype | Cut #9.sh | Shell | gpl-3.0 | 19 |
#!/bin/bash
gpio mode 21 output
gpio write 21 0
gpio write 21 1
| piersfinlayson/otb-iot | pi/reboot.sh | Shell | gpl-3.0 | 64 |
#!/bin/bash
# This script works for macOS, but should work for *nix systems as well.
# Make sure to run it from the directory you're packaging.
# Lastly, it assumes you use virtual environments and have a environment var
# called VIRTUAL_ENV pointing to the location of the active virtual env.
# (This should be the cas... | voutilad/alexa-trump | lambda/package.sh | Shell | gpl-3.0 | 650 |
#!/usr/bin/env bash
#------------------------------------------------------------------------------
# This script builds the solidity binary using Emscripten.
# Emscripten is a way to compile C/C++ to JavaScript.
#
# http://kripken.github.io/emscripten-site/
#
# First run install_dep.sh OUTSIDE of docker and then
# ru... | asinyagin/solidity | scripts/travis-emscripten/build_emscripten.sh | Shell | gpl-3.0 | 4,233 |
#!/bin/bash
# This is can be installed in your ~/bin folder, outside of any repo.
# Helper functions
exit_abort () {
[ ! -z "$1" ] && echo ERROR: "$1"
echo
echo 'ABORTED!'
exit $ERRCODE
}
show_usage() {
echo usage: `basename $0` "EndPointNamespace EndPointRelativeUrl [ServerName (default: localhost)] [OutputPat... | AquaticInformatics/aquarius-sdk-net | src/Aquarius.Client/TimeSeries/Client/generate_code_from_live_endpoint.sh | Shell | agpl-3.0 | 2,754 |
#! /usr/bin/env bash
source lenv/bin/activate
cd helper
Rscript install.R
python calendar_helper.py | Sayhar/wiki-crunch | executable/install.sh | Shell | agpl-3.0 | 100 |
#!/bin/sh
# Installs rpms
# if --nodeps is passed rpm is installed with rpm with dependencies
# Otherwise a normal dnf install is run
#
# Checks for prebuilt rpms in /container/rpms
# If not present there, they are fetched from koji.
set -ex
nodeps=
arch="x86_64"
args=$(getopt -o "da:" -l "nodeps" -- "$@")
eval set ... | matobet/cockpit | containers/kubernetes/scripts/install-rpms.sh | Shell | lgpl-2.1 | 1,323 |
#!/bin/bash
for i in 1 2 4 8 16 32 64 128 256
do
qsub -l nodes=$i -t $i -N h_matrix_speedup_$i script_h_matrix_speedup.pbs
done
| zaspel/MPLA | src/clusterscripts/run_speedup.sh | Shell | lgpl-3.0 | 130 |
#!/bin/bash
#
# Note: gmp and boost already installed
#
brew update
#brew install qt5 doxygen homebrew/science/hdf5 graphviz graphicsmagick fftw eigen homebrew/boneyard/libqglviewer
brew install qt5 graphicsmagick fftw eigen homebrew/boneyard/libqglviewer
## Temporary HDF5 build issue
export BTYPE="$BTYPE -DWITH_HDF5... | nnormand/DGtal | .travis/install_deps_macos.sh | Shell | lgpl-3.0 | 474 |
#!/bin/bash
echo "Examples of \"let\":"
let SUM=3+5
echo SUM=3+5=$SUM
let SUB=7-8
echo "SUB=7-8="$SUB
let PROD=5*8
echo "PROD=5*8=$PROD"
let DIV=9/4
echo DIV=9/4=$DIV
let MOD=9%4
echo MOD=9%4=$MOD
let POW=2**2
echo POW=2**2=$POW
# There are two forms of alrithmetic expansion:
# $[ expression ] which is the old s... | superxingzheng/bash_tutorial | arithmetic_operations.sh | Shell | lgpl-3.0 | 826 |
#!/bin/sh
. /opt/pyrame/ports.sh
if test $# -lt 1
then
echo "usage $0 ls_421_id"
exit 1
fi
chkpyr2.py localhost $LS_421_PORT deinit_ls_421 $@
| sbinet-staging/pyrame | gaussmeter/cmd_ls_421/deinit.sh | Shell | lgpl-3.0 | 147 |
version() {
local scrname="Gentoo genkernel Compilation Helper"
local scrver="0.20"
local scrauth="Marcus Hoffren"
local scrcontact="marcus@harikazen.com"
echo "${scrname} v${scrver}"
echo "Copyright (C) 2019 ${scrauth}"
echo "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licens... | rewtnull/gentoo-sources-compilation-helper | func/version.sh | Shell | lgpl-3.0 | 554 |
#!/usr/bin/env bash
set -exuo pipefail
cargo install \
bat \
bottom \
cargo-edit \
cargo-update \
cargo-watch \
du-dust \
exa \
fd-find \
flamegraph \
git-delta \
gping \
hexyl \
hyperfine \
just \
ripgrep \
tokei \
topgrade \
viu \
zoxide \
... | Walther/dotfiles | cargo-install.sh | Shell | unlicense | 327 |
#!/bin/bash
ping -c 1 192.168.1.254 > /dev/null
if [ $? -ne 0 ]; then
reboot
fi
| ianrenton/raspi-utils | rebootifnowifi.sh | Shell | unlicense | 84 |
#!/usr/bin/env bash
cp /root/ca/intermediate/certs/intermediate.cert.crt /usr/local/share/ca-certificates
dpkg-reconfigure --frontend=noninteractive ca-certificates
| andrewtchin/ca-test | ubuntu-install-intermediate-ca.sh | Shell | unlicense | 167 |
#!/bin/bash
#
# Script to run iterations of a program which counts the days minutes and
# hours until fall break (10/8/10)
#
n="0"
while test $n -lt 10
do
n=$((n+1))
echo 1286553600 | ./a3_p4.o
sleep 1
done
| SMan23/Grad-Work_Backup | bash_2011330/a03/shell_iter.sh | Shell | unlicense | 219 |
#!/bin/sh
#
# File: go-cpp-samples.sh
#
# Purpose: This wrapper script runs the C++ RLP samples found in
# rlp\samples\cplusplus.
# This illustrates the required files, options, and environment
# variables needed to run these samples.
#
if [ "$1" = "" ] && [ "$2" = "" ]
then
echo ... | izenecloud/ijma | bin/basis_test/go-seg.sh | Shell | apache-2.0 | 1,750 |
#!/bin/bash
# -----------------------------------------------------------------------------
#
# Copyright (C) 2021 CERN & University of Surrey for the benefit of the
# BioDynaMo collaboration. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in ... | BioDynaMo/biodynamo | util/housekeeping/run-cpplint.sh | Shell | apache-2.0 | 2,817 |
# Sample run script.
docker run -d -p 81:8080 -p 50000:50000 -v /var/jenkins_home -v /var/jenkins_builds --name jenkins-master lukelast/jenkins-master | lukelast/jenkins-master | run.sh | Shell | apache-2.0 | 150 |
#!/bin/bash
#
# modify by hiyang @ 2016-12-19
#
Install_XCache() {
pushd ${oneinstack_dir}/src
phpExtensionDir=$(${php_install_dir}/bin/php-config --extension-dir)
tar xzf xcache-${xcache_version}.tar.gz
pushd xcache-${xcache_version}
${php_install_dir}/bin/phpize
./configure --enable-xcache --enable-xcach... | PoplarYang/oneinstack-odm | include/xcache.sh | Shell | apache-2.0 | 1,956 |
#!/bin/bash
# Copyright 2014 The Kubernetes 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... | gavin2lee/incubator | docs/sourcecodes/OpenBridge-passos-ui/ob-paasos-web/install/centos7/kubelet.sh | Shell | apache-2.0 | 2,786 |
#!/bin/sh
BUILD_PATH=`pwd`/build-release
PRO=`pwd`/app/sparkqml/sparkqml.pro
PKG_PATH=`pwd`/build-release/package
SRC_PATH=`pwd`
SCRIPT_PATH=${SRC_PATH}/deployment
QML_PATH=${SRC_PATH}/app/sparkqml
APPIMAGE_PATH=${BUILD_PATH}/AppImage
BIN_PATH=${PKG_PATH}/SparkQML
QMAKE=`which qmake`
set -v
set -e
rm -rf $BUILD_PATH... | benlau/sparkqml | deployment/create-appimage-in-docker.sh | Shell | apache-2.0 | 915 |
#! /usr/bin/env bash
#
# This file defines a `make_doc` bash function.
#
# It expects 3 things in the environments:
#
# - `findlib_packages` (comma-separated)
# - optionally `KAPI_DOC`: if `no` then do not build the OCamlDoc part
ocamlfind_packages=$1
make_doc () {
local outdir=doc/
local apidoc=apidoc/
... | hammerlab/ketrew | tools/build-documentation.sh | Shell | apache-2.0 | 2,783 |
#!/bin/bash
#
# Copyright (C) 2015 zulily, llc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | zulily/mariadb-galera-server-formula | mariadb-galera-server/files/xtrabackup_full.sh | Shell | apache-2.0 | 1,337 |
#!/bin/bash
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | GoogleCloudPlatform/marketplace-k8s-app-tools | marketplace/deployer_envsubst_base/create_manifests.sh | Shell | apache-2.0 | 1,816 |
#!/bin/bash
#
# install.sh - determine CSV2RDF4LOD_HOME and create configuration file.
#
# Copyright 2012 Timothy Lebo
#
# 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:/... | timrdf/csv2rdf4lod-automation | install.sh | Shell | apache-2.0 | 5,659 |
#!/bin/bash
set -e
date=$1
amount=$2
die() {
local message="$1"
local code="${2:-1}"
if [[ -n "$message" ]] ; then
echo "ERROR: ${message}"
else
echo "ERROR: Execution failed"
fi
exit "${code}"
}
usage() {
echo "$(basename "$0") <date> [amount]"
echo " date : date, only archive payments... | studiocredo/ticket-reservation | archive_payments.sh | Shell | apache-2.0 | 787 |
dotnet Soal.dll "$@"
| balazssimon/soal-cs | Scripts/soal.sh | Shell | apache-2.0 | 21 |
#!/dev/null
if ! test "${#}" -eq 0 ; then
echo "[ee] invalid arguments; aborting!" >&2
exit 1
fi
echo "[ii] building \`js-1.8.0\` (Mozilla JS library)..." >&2
if test -e "${_tools}/pkg/js-1.8.0" ; then
echo "[ii] \`js-1.8.0\` package already exists; aborting!" >&2
echo "[ii] (to force the build remove the folder... | mosaic-cloud/mosaic-distribution | mosaic-scripts/prepare-js-1.8.0.bash | Shell | apache-2.0 | 2,292 |
#!/bin/bash
gcc -m64 -o enjoy enjoy.c
gcc -m32 -o pwn pwn.c
echo "run pwn first, and then enjoy~!"
| tyrande000/exploits | [CVE-2016-4997][IP6T_SO_SET_REPLACE]/compile.sh | Shell | apache-2.0 | 99 |
#!/bin/sh
# GDAL specific script to extract exported libtiff symbols that can be renamed
# to keep them internal to GDAL as much as possible
gcc ./*.c -fPIC -shared -o libgeotiff.so -I. -I../../../port
OUT_FILE=gdal_libgeotiff_symbol_rename.h
rm $OUT_FILE 2>/dev/null
echo "/* This is a generated file by dump_symbol... | naturalatlas/node-gdal | deps/libgdal/gdal/frmts/gtiff/libgeotiff/dump_symbols.sh | Shell | apache-2.0 | 1,333 |
#!/bin/bash -eu
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | zettajs/link-device-to-cloud-poc | start-devices.sh | Shell | apache-2.0 | 1,225 |
#!/bin/sh
#
# Copyright © 2014 Cask Data, 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 ... | StackVista/tephra | bin/tephra-env.sh | Shell | apache-2.0 | 1,375 |
#!/bin/bash
set -e
export PATH='/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin'
source /var/tmp/helpers/default.sh
readonly UBUNTU_VERSION=$(detect_ubuntu_version)
readonly VMWARE_FILES='/var/tmp/vmware'
# As Packer will upload guest additions to the home directory of the same
# user as the one used... | kwilczynski/packer-templates | scripts/vagrant/guest-additions.sh | Shell | apache-2.0 | 4,533 |
#!/bin/bash
while [[ $# > 1 ]]
do
key="$1"
case $key in
warehouses)
WAREHOUSES="$2"
shift
;;
*)
echo "Unknown option $key"
exit 1
;;
esac
shift
done
# install and configure mysql
DATABASE_PASSWORD=wally
DATBASE_USER=root
DB_NAME=tpcc
# not prompting db password
debconf-set-selection... | Mirantis/disk_perf_test_tool | wally/suits/mysql/prepare.sh | Shell | apache-2.0 | 1,270 |
#!/bin/bash
if [ -z "$ROOT" ]
then
ROOT=$(while ! test -e env.sh.sample; do cd ..; done; pwd)
export ROOT
fi
. $ROOT/env.sh
cd $KAFKA_INSTALL_DIR
./bin/kafka-server-start.sh -daemon $KAFKA_INSTALL_DIR/config/server.properties
cd $ROOT
exit 0 | servioticy/servioticy-deployer | scripts/start_kafka.sh | Shell | apache-2.0 | 253 |
#!/usr/bin/env bash
sudo yum groupinstall -y 'Development Tools'
sudo yum install -y wget kernel-devel
# This is for an issue w/ Vagrant keys: http://superuser.com/questions/745881/how-to-authenticate-to-a-vm-using-vagrant-up
sudo mkdir -p /home/vagrant/.ssh
sudo wget --no-check-certificate \
'https://raw.githubu... | nasa-gibs/onearth-boxes | virtualbox.sh | Shell | apache-2.0 | 815 |
#!/bin/bash
/opt/compass/bin/client.py --switch_ips=172.29.8.40 --machines=00:0c:29:a7:ea:4b --adapter_name=os_only --adapter_flavor_pattern= --subnets=10.145.88.0/23,172.16.0.0/16 --cluster_name=cluster1 --domain=ods.com --default_gateway=10.145.88.1 --service_credentials= --console_credentials= --hostnames=host1 --ho... | baigk/compass-core | bin/client.sh | Shell | apache-2.0 | 486 |
#!/bin/bash
# Copyright (c) 2017 OpenStack Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | mozhuli/stackube | devstack/plugin.sh | Shell | apache-2.0 | 8,330 |
#!/bin/bash
echo "creating subset indexes"
for i in 1 2 3; do
echo "Index ${i} start time `date`";
java -cp .:./fangornL4.jar:./lib/lucene-core-4.2.1.jar -Xmx6144m au.edu.unimelb.csse.CreateIndex /home/sumukh/data/wiki-char-john-T50-proc-${i} /opt/wiki-index-${i} > >(tee stdout${i}.log) 2> >(tee stderr${i}.log >&2)
ech... | sparcs/fangorn | contrib/FangornLucene4/create2.sh | Shell | apache-2.0 | 359 |
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | dalanlan/kubernetes | hack/test-cmd.sh | Shell | apache-2.0 | 29,546 |
#!/usr/bin/env shellspec
set -euo pipefail
Describe 'apps'
Include resource/lib/cf-functions.sh
setup() {
initialize_source_config
org=$(generate_test_name_with_spaces)
space=$(generate_test_name_with_spaces)
app_name=$(generate_test_name_with_hyphens)
quiet create_org_and_space "$org" "$sp... | patrickcrocker/cf-cli-resource | spec/apps/push_with_options_spec.sh | Shell | apache-2.0 | 2,422 |
# Copyright © 2020 Feature.su. All rights reserved.
# Licensed under the Apache License, Version 2.0
sh 00-update-system.sh
sh 00.1-add-swap-file.sh
sh 01-install-utils.sh
sh 02-install-chrony.sh
sh 03-enable-firewall.sh
sh 04-install-fail2ban.sh
sh 05-install-apache.sh
sh 05.1-install-apache-ssl.sh
sh 07-install-... | faew/linux.feature | script/centos8/init-LAMP.sh | Shell | apache-2.0 | 451 |
#!/bin/bash
# Collect debug information to diagnose Contiv-VPP problems.
set -euo pipefail
usage() {
echo "Usage: $0 [OPTION]..."
echo
echo "Available options:"
echo
echo "-a Do not archive the report into a tar file, keep the"
echo " contents in the ... | milanlenco/vpp-1 | scripts/contiv-vpp-bug-report.sh | Shell | apache-2.0 | 17,699 |
#!/bin/bash
baseUri="http://localhost:8080/api/1.0"
token="token:0000"
. httptools.sh
result=`http_post "$baseUri/views" <<_EOB
{
"name": "test-view",
"annotation": "this is a test view"
}
_EOB
`
echo $result
view=`echo "$result" | jq -r .self`
view_id=`lastarg "$view"`
result=`http_post "$baseUri/tokens" ... | cloudsecurityalliance/ctpd | tests/test-ctpd.sh | Shell | apache-2.0 | 481 |
#~/bin/bash
test_path="/data/data/test"
storage_path="/data/data/.test"
password="password"
property_prefix="efs.encrypt.progress_"
sha_head=10
function progress_test() {
adb shell "setenforce 0"
adb shell "rm -rf $test_path $storage_path"
adb shell "mkdir $test_path"
adb shell "dd if=/dev/urandom of=$test_path/t... | askPrins/efs-tools | test/progress_test.sh | Shell | apache-2.0 | 1,815 |
#----------------------------------------------------------------------------
#
# Package : finalhandler
# Version : v0.4.1
# Source repo : https://github.com/pillarjs/finalhandler.git
# Tested on : ubi:8.3
# Script License : Apache License, Version 2 or later
# Maintainer : srividya chi... | ppc64le/build-scripts | f/filehandler/finalhandler_ubi_8.3.sh | Shell | apache-2.0 | 1,288 |
#!/bin/sh
set -eux
# Install Rust and musl libc target.
# If running as root, put it in a generic location
# and share across all users
# (https://github.com/rust-lang-nursery/rustup.rs/issues/1085#issuecomment-296604244)
if [ "$(whoami)" = "root" ]; then
export RUSTUP_HOME=/opt/rust
export CARGO_HOME=/opt/rust
... | habitat-sh/habitat | support/linux/install_dev_9_linux.sh | Shell | apache-2.0 | 1,527 |
#!/bin/sh
readlink /etc/localtime | sed "s/\/usr\/share\/zoneinfo\///" | sed "s/\.\.//"
| EnginesOS/System | system/scripts/ssh/get_timezone.sh | Shell | apache-2.0 | 97 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/tutorial48
OUT... | TennisGazelle/cs791ALopez | ogldev-source/tutorial48/nbproject/Package-Release.bash | Shell | apache-2.0 | 1,459 |
#!/bin/bash
# Current Version 1.05
# Written by: Thomas Tillman and Daniel Baena-Urbano
# Maintained by: Thomas Tillman
#Revision History:
# 1.0 05/02/2012 First Release
# 1.01 05/29/2012 Updated for Humax 1.4 HW initialization
# 1.02 07/03/2012 Updated to reduce Beacon timing issue in txMode
# 1.03 07/21/2012 Added... | rsnakamura/oldape | installables/wifi.sh | Shell | apache-2.0 | 47,624 |
#!/bin/bash
sumo-gui -n manhattan.net.xml -r manhattan.rou.xml --summary-output output_sumo.manhattan.xml --remote-port 8000
| CST-Group/traffic-signal-control-app-android-remote-controller | sumoExamples/manhattan/manhattan.sh | Shell | apache-2.0 | 126 |
#!/usr/bin/env bash
# Copyright 2015 Cloudera 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 agre... | mjacobs/native-toolchain | source/cmake/build.sh | Shell | apache-2.0 | 1,164 |
if (brew services list|grep httpd); then
tell "Apache is installed"
else
tell "Going to install a best friend of Winnetou"
# deactivate sox Apache
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
# get the external repository dupes
brew tap homebrew/dupes
# let's k... | wingsuitist/brewamp | src/httpd.sh | Shell | bsd-2-clause | 6,062 |
#!/bin/bash
############################
# .make.sh
# This script creates symlinks from the home directory to any desired dotfiles in ~/dotfiles
############################
# Based on https://github.com/michaeljsmalley/dotfiles/blob/master/makesymlinks.sh
# http://blog.smalleycreative.com/tutorials/using-git-and-gith... | clessg/dotfiles | install.sh | Shell | bsd-2-clause | 2,464 |
ck rm experiment:reproduce-ck-paper-autotune-flags-susan-linux-pareto
ck cp experiment:reproduce-ck-paper-autotune-flags-susan-linux-i10 :reproduce-ck-paper-autotune-flags-susan-linux-pareto
ck autotune pipeline:program pipeline_from_file=_setup_program_pipeline_tmp.json @autotune_program_pipeline_i10_apply_pareto.json... | ctuning/reproduce-ck-paper | script/reproduce-autotuning-flags-susan-linux/autotune_program_pipeline_i10_apply_pareto.sh | Shell | bsd-3-clause | 321 |
#!/bin/bash
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
set -e
jupyter notebook $*
| hilljb/docker-jupyter | base-jupyter/resources/start-notebook.sh | Shell | bsd-3-clause | 142 |
#!/bin/sh
# Written by Simon Josefsson.
# Start sshd, invoke parameters, saving exit code, kill sshd, and
# return exit code.
srcdir=${srcdir:-$PWD}
SSHD=${SSHD:-/usr/sbin/sshd}
cmd="./ssh2${EXEEXT}"
srcdir=`cd $srcdir; pwd`
PRIVKEY=$srcdir/etc/user
export PRIVKEY
PUBKEY=$srcdir/etc/user.pub
export PUBKEY
chmod g... | badoo/libssh2 | tests/ssh2.sh | Shell | bsd-3-clause | 739 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.