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 |
|---|---|---|---|---|---|
(echo " select distinct measurement_date,measurement_time,'aaaa',datatype,measurement_value
from measurement,station,creel_fishing_trips,creel_catches_species
where station.location_area = 2 and measurement_date >= '2005-12-01' and measurement_date <= '2006-02-24' and datatype = 'salinity' and measurement.... | timhriley/appaserver | src_hydrology/test2.sh | Shell | gpl-3.0 | 1,313 |
#!/bin/bash
trap ctrl_c INT
function ctrl_c() {
exit 1;
}
if [ -z "$1" ]; then
TODAY=$(date +%Y%m%d)
DATADIR=data.$TODAY
else
DATADIR=$1
fi
senapy-cli doslegs_urls | tlfp-parse-many $DATADIR --only-promulgated
echo
echo "Handle non promulgated texts already parsed in data:"
ls data/ | grep '^p' | grep -v ... | regardscitoyens/the-law-factory-parser | reparse_all.sh | Shell | gpl-3.0 | 1,209 |
cd ../server
node uploadgroup.js -H localhost -p 8123 -f ../test/groups/groups.json &
node uploaduser.js -H localhost -p 8123 -f ../test/users/users.json &
node upload.js -H localhost -p 8123 -d ../test/practica0.2/ &
cd - | catacs/catalyde | tests/tests/populate.sh | Shell | gpl-3.0 | 223 |
#!/bin/bash
# Copyright 2016-2018 Obsidian-Studios, Inc.
# Author William L. Thomson Jr.
# wlt@o-sinc.com
#
# Distributed under the terms of The GNU Public License v3.0 (GPLv3)
# Batch script file to modify MY_PV
COMMIT_MSG="Modified PV"
TREE="/usr/portage/local/os-xtoo"
cd "${TREE}" || exit 1
PKGS=($( ls de... | Obsidian-StudiosInc/ebuild-batcher | scripts/modify-MY_PV.sh | Shell | gpl-3.0 | 537 |
#!/bin/bash
#sets up the regular work environment with
#junit
. workingAlias.sh
CLASSPATH=
export CLASSPATH=~+/junit.jar:~+
export LD_LIBRARY_PATH=~+
| forflo/snippetbin | java/GESim/setupEnv.sh | Shell | gpl-3.0 | 153 |
#! /bin/bash
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# main config
PLUGINSLUG="wp-keyword-monitor"
CURRENTDIR=`pwd`
MAINFILE="wp-keywo... | blackus3r/wp-keyword-monitor | deploy.sh | Shell | gpl-3.0 | 2,888 |
#!/bin/bash
source /usr/share/aif/tests/lib/framework-runtime
aiftest swap 48
aiftest lvm-lv cryptpool cryptroot '800.00 MB'
aiftest mount '/dev/sda3 on / type ext4 (rw)'
aiftest mount '/dev/sda4 on /home type ext3 (rw)'
for i in /etc/ / /root/ /home/ /var/
do
aiftest file "$i"test_file
done
aiftest file /home/impor... | jdodds/aif | tests/runtime/automatic-reuse-fs-sda/perform_test.sh | Shell | gpl-3.0 | 377 |
# possible additional CUDA_CFLAGS
#-gencode=arch=compute_50,code=\"sm_50,compute_50\"
#-gencode=arch=compute_35,code=\"sm_35,compute_35\"
#-gencode=arch=compute_30,code=\"sm_30,compute_30\"
#--ptxas-options=\"-v -dlcm=cg\""
#extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=... | netswift/ccminer-vert | configure.sh | Shell | gpl-3.0 | 540 |
#!/bin/bash
#
# @brief Generating email signature
# @version ver.1.0
# @date Thu Jun 06 01:25:41 2015
# @company Frobas IT Department, www.frobas.com 2015
# @author Vladimir Roncevic <vladimir.roncevic@frobas.com>
#
UTIL_EMAIl_SIGN=email_sign
UTIL_EMAIl_SIGN_VERSION=ver.1.0
UTIL=/root/scripts/sh_util/${UTIL_EMA... | vroncevic/sh-util | sh_tool/bin/email_sign.sh | Shell | gpl-3.0 | 4,881 |
#!/bin/bash
set -e
#USAGE:
# dat_mulvec.sh <factor> <file1.dat> <file2.dat> ...
#DESCRIPTION:
# This script reads "dat" file(s) containing
# six columns of real numbers, and multiplies
# columns 4 to 6 by the given <factor>.
# The purpose is to scale the vectors in dat files
# containing atom positions followed by a ... | pierrehirel/atomsk | tools/dat_mulvec.sh | Shell | gpl-3.0 | 912 |
#!/bin/bash
###################################################################################################################
# Author : Louis DAUBIGNARD
# Date : 11/12/2014
#
# Description : Script pour :
# - cree le user et l'environnement d un user linux
#
# Syntax : crea_user.sh
#
##################... | Acisia/SHELL-UNIX | CREA_USER/crea_user.sh | Shell | gpl-3.0 | 5,783 |
#!/bin/bash
#Author Niek Bats
#$1 wave
#$2 experiment
#$3 pseudocode
#lists all files, when found any grp-intake-folder using specified parameter(s)
#input check and build query
if [[ "$1" != "" ]] #if no wave dont do anything
then
query="like '%/grp-intake-%' AND DATA_PATH like '%$1%'"
if [[ "$2" != ... | UtrechtUniversity/irods-ruleset-youth-cohort | tools/intakeDataCheck.sh | Shell | gpl-3.0 | 857 |
#!/usr/bin/env bash
# shellcheck disable=SC2016,SC1091,SC2164
export test_description="Testing pass update."
cd tests
source ./commons
test_export "options"
test_pass_populate
test_expect_success 'Testing updating password with specific length' '
_pass update --force --length=50 France/bank &&
newpasswd="$... | roddhjav/pass-update | tests/20_options.sh | Shell | gpl-3.0 | 1,629 |
#!/bin/sh
# ANSI-Escape Color Strings (some definitions):
col_r='\033[1;31m';
col_g='\033[1;32m';
col_b='\033[1;34m';
col_m='\033[0;35m';
col_c='\033[0;36m';
col_y='\033[1;33m';
col_n='\033[0m';
#output variables (no project-support):
output_file="meterpreter.apk";
p1=$(echo $output_file | cut -f1 -d.);
p2=$(echo $... | fugitivus/apclit | script/apclit.sh | Shell | gpl-3.0 | 15,784 |
#!/bin/bash
for filename in $(ls)
do
ext=${filename##*\.}
case "$ext" in
c) echo "$filename : C source file"
;;
o) echo "$filename :Object file"
;;
sh) echo "$filename : Shell script"
;;
txt) echo "$filename : Text file"
;;
*) echo "$filename : Unknown file type"
;;
esac
done
| pilotAlpal/fdi_so | ASOR/scripts/fileExtensions.sh | Shell | gpl-3.0 | 294 |
#!/bin/sh
echo This file recreates localization_data.h according resource.h
echo
# check that sed is available
type -P sed &>/dev/null || { echo "sed command not found. Aborting." >&2; exit 1; }
# Create the first sed command file
cat > cmd.sed <<\_EOF
# Insert header
1i /*\
* Rufus: The Reliable USB Formatting Uti... | pbatard/rufus | src/localization_data.sh | Shell | gpl-3.0 | 2,350 |
#!/bin/bash
cp -R -f $SRC_DIR $PREFIX/MIST | Jacob-Barhak/MIST | InstConda/build.sh | Shell | gpl-3.0 | 42 |
#!/bin/bash
python Run.py --model MG94 --paralog1 YLR406C --paralog2 YDL075W --force --no-clock
| xjw1001001/IGCexpansion | ForceOmega/ShFiles/YLR406C_YDL075W_MG94_nonclock_force_omega.sh | Shell | gpl-3.0 | 96 |
#!/bin/bash
# bash x.sh NC_027250.1
if [ $# -eq 0 ]; then
echo "bash x.sh <ncbi id>"
exit
fi
NCBIID=$1
esearch -db nucleotide -query $NCBIID | efetch -format fasta > $NCBIID.fa
| goshng/swu-seq | src/sh/fetch-ncbi-sequence.sh | Shell | gpl-3.0 | 186 |
#!/bin/bash
SUPPORT_EMAIL= ## To whom the email should be sent
TMP_HTML_LOC= ## Provide the path where you want to store the tmp html files.
THRESHOLD_TIME= ## Set the time in seconds, after which if any impala job found running will be considered as runaway job
for i in $(cat node_list.txt)
do
count=0;
... | padmakumar05/hadoop-monitoring | impala_mon.sh | Shell | gpl-3.0 | 1,781 |
#!/bin/sh
QMAKE_BIN=
if [ -x "$(command -v qmake)" ]; then
QMAKE_BIN=qmake
elif [ -x "$(command -v qmake-qt5)" ]; then
QMAKE_BIN=qmake-qt5
fi
if [ -z "$QMAKE_BIN" ]; then
echo "error: Cannot find: qmake (or qmake-qt5)"
echo "\tPlease ensure that Qt5 is installed."
exit 1
fi
# Create the build directory
if [ ! -... | Warzone2100/WMIT | configure_linux.sh | Shell | gpl-3.0 | 1,092 |
#!/bin/bash
test_info()
{
cat <<EOF
Verify that 'ctdb getdebug' works as expected.
Prerequisites:
* An active CTDB cluster with at least 2 active nodes.
Steps:
1. Verify that the status on all of the ctdb nodes is 'OK'.
2. Get the current debug level on a node, using 'ctdb getdebug -n <node>'.
3. Verify that c... | wolfmuel/ctdb | tests/simple/12_ctdb_getdebug.sh | Shell | gpl-3.0 | 1,810 |
#!/bin/bash
DIR="$(dirname "${0}")"
docker stop $(docker ps -a -q);
docker rm $(docker ps -a -q);
for i in {1..15};
# Left-pad with zero to two digits and
# call the container instantiating script.
do
ii="0${i}";
"${DIR}/run_one.sh" "${ii: -2}";
done
| maxthomax/UsingTLSLab | start_containers.sh | Shell | gpl-3.0 | 262 |
#!/usr/bin/env bash
echo "This script needs SSH keys set up first"
if [ ! -d ~/.bootstrap ]; then
mkdir ~/.bootstrap
fi
pushd ~/.bootstrap
# install cli xcode tools
if [ ! -x /usr/bin/gcc ]; then
xcode-select --install
fi
# only install brew if we need to (https://brew.sh)
if [ ! $(which brew) ]; then
... | jordanlabs/bootstrap | bootstrap.sh | Shell | gpl-3.0 | 1,130 |
#!/bin/bash
#
# perf_test.sh
#
# This file is part of the reversi program
# http://github.com/rcrr/reversi
#
# Author Roberto Corradini mailto:rob_corradini@yahoo.it
# @copyright 2015 Roberto Corradini. All rights reserved.
#
# License
#
# This program is free software; you can redistribute it and/or modify it
# under ... | rcrr/reversi | c/perf_test.sh | Shell | gpl-3.0 | 4,003 |
QUANTHISTLINGPATH=/media/Daten/Projects/svn-googlecode/qlc/src/webapp/quanthistling
psql -c "copy (select * from entry) to STDOUT DELIMITER AS E'\t' CSV HEADER;" quanthistling > $QUANTHISTLINGPATH/tmp/csv/entry.csv
psql -c "copy (select * from annotation) to STDOUT DELIMITER AS E'\t' CSV HEADER;" quanthistling > $QUANT... | FrankNagel/qlc | src/webapp/quanthistling/scripts/exportcsv.sh | Shell | gpl-3.0 | 2,342 |
#!/bin/sh
wget https://github.com/VespucciProject/Vespucci_dependencies/releases/download/1/Vespucci_dependencies_linux.tar.gz
tar xvf Vespucci_dependencies_linux.tar.gz
sudo apt-add-repository -y ppa:ubuntu-sdk-team
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
sudo add-apt-repository -y ppa:beineri/opt-qt58-... | VespucciProject/Vespucci | getlinuxdeps.sh | Shell | gpl-3.0 | 1,056 |
#!/bin/bash
set -euo pipefail
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
phpVersions=( "$@" )
if [ ${#phpVersions[@]} -eq 0 ]; then
phpVersions=( php*.*/ )
fi
phpVersions=( "${phpVersions[@]%/}" )
current="$(curl -fsSL 'http://api.wordpress.org/core/version-check/1.7/' | jq -r '.offers[0].current')"
sha1="$(cu... | tgeek77/Dockerfiles | wordpress-arm/update.sh | Shell | gpl-3.0 | 1,395 |
#!/bin/bash
tutorial="DiversificationRate_CharacterDependent_Tutorial"
pdflatex RB_${tutorial}.tex
bibtex RB_${tutorial}
pdflatex RB_${tutorial}.tex
pdflatex RB_${tutorial}.tex
rm RB_${tutorial}.aux
rm RB_${tutorial}.bbl
rm RB_${tutorial}.blg
rm RB_${tutorial}.log
rm RB_${tutorial}.out
| revbayes/revbayes_tutorial | tutorial_TeX/RB_DiversificationRate_CharacterDependent_Tutorial/build.sh | Shell | gpl-3.0 | 291 |
#!/bin/bash
cd /home/user/Desktop/Projects/xvol++/examples/ProcessMsg
LD_LIBRARY_PATH=../../lib ./ProcessMsg.exe
| syncmast/xwings | examples/ProcessMsg/run.sh | Shell | gpl-3.0 | 115 |
#!/bin/bash
set -ev
mozdownload --type daily --branch mozilla-central
| galgeek/firefox-ui-tests | .travis/before_script.sh | Shell | mpl-2.0 | 71 |
#!/bin/bash
#
# template.sh
# standard locals
alias cd='builtin cd'
P="$0"
USAGE="`basename ${P}` [-h(elp)] [-d(ebug)] [-n(no xyz)] [-i [1|2|3|...]"
DBG=:
OPTIONSTRING=hd1i:
RED='\033[0;31m' # red (use with echo -e)
BLUE='\033[1;34m' # blue
GREEN='\033[0;32m' # green
NC='\033[0m' # no color
# specific locals... | hamishcunningham/fishy-wifi | walls/test-it.sh | Shell | agpl-3.0 | 1,240 |
# TODO(sqs): add disco user
sudo aptitude -y install git-core build-essential
mkdir -p $HOME/src && cd $HOME/src
#################
### FREEQUERY ###
#################
if [ -e $HOME/src/freequery ]
then
cd $HOME/src/freequery && git pull origin master
else
git clone 'git://github.com/sqs/freequery.git' $HOME/src/fr... | sqs/freequery | bin/remote-install.sh | Shell | agpl-3.0 | 896 |
#!/usr/bin/env bash
# Run simple, full backup for all the relevant OpenEdX databases:
# Edx
# EdxPrivate
# EdxForum
# EdxPiazza
# If used outside of Stanford: change the target disk,
# which at Stanford is /l... | EDUlib/eTracesX | Translation_software/edx_to_MOOCdb_piping/import.openedx.apipe/scripts/backupEdx.sh | Shell | agpl-3.0 | 1,338 |
#!/bin/bash
# The purpose of this program is to initialise a new swarm.
# It also determines the size of the swarm.
rm insects.txt 2> /dev/null
rm -r pupa* 2>/dev/null
# redirect errors to /dev/null
for i in {1..20} # say how many prototype insects you will want
do
echo $i >> insects.txt
mkdir ./pupa$i
cp ./sw... | KedalionDaimon/larvarum-computationis-examen-iii | soloqueen.sh | Shell | agpl-3.0 | 498 |
P_VERSION=1.007000
PERL_VERSION=5.18.2
PERL_ARCHNAME=arm
P_SRC="Moo-$P_VERSION"
P_TAR="$P_SRC.tar.gz"
P_URL="http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/"
source ../../scripts/env.sh ../../scripts
do_build()
{
if [ -f Build.PL ] ; then
PERL_MM_USE_DEFAULT=1 \
perl Biuld.PL \
--config ar="X_AR" \
--co... | Colibri-Embedded/colibri-linux | packages/perl-moo/build.sh | Shell | lgpl-3.0 | 1,645 |
#!/bin/sh
. /opt/pyrame/ports.sh
if test $# -lt 2
then
echo "usage $0 ki_6487_id voltage_limit"
exit 1
fi
chkpyr2.py localhost $KI_6487_PORT set_voltage_limit_ki_6487 $@
| sbinet-staging/pyrame | ps/cmd_ki_6487/set_voltage_limit.sh | Shell | lgpl-3.0 | 174 |
[ "x${pV:0:1}" == "x2" ] && return 0
v=0.23.1
add_package -archive scikit-learn-$v.tar.gz \
https://github.com/scikit-learn/scikit-learn/archive/$v.tar.gz
pack_set -s $IS_MODULE
pack_set -install-query $(pack_get -LD)/python$pV/site-packages/sklearn/__init__.py
# Add requirments when creating the module
pack_set... | zerothi/bash-build | python/scikit-learn.bash | Shell | lgpl-3.0 | 773 |
#!/usr/bin/env sh
./expect.sh test/*
| ecanuto/expect.sh | runtests.sh | Shell | unlicense | 37 |
#!/bin/bash
postman_pat='^jdk-([[:digit:]]{1,2})u([[:digit:]]+)-linux-x[[:digit:]]{2}\.tar\.gz'
if [[ $1 =~ $postman_pat ]]; then
JDK_VERISON_NAME=jdk1.${BASH_REMATCH[1]}.0_${BASH_REMATCH[2]}
else
echo '\2'
fi
echo $JDK_VERISON_NAME
file /sbin/init
mkdir -p /usr/local/java
cp -r $1 /usr/local/java
cd /usr/local... | arumoy/linux-oracle-java-installer | install-java.sh | Shell | unlicense | 1,433 |
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# Framer scheme by Framer (Maintained by Jesse Hoyos)
export BASE16_THEME=framer
color00="18/18/18" # Base 00 - Black
color01="FD/88/6B" # Base 08 - Red
color02="32/CC/DC" # Base 0... | j-c-m/dotfiles | .config/base16-shell/scripts/base16-framer.sh | Shell | unlicense | 3,981 |
#-------------------------------------------------------------------------------
# Shows how to build the samples vs. a released binary download of LLVM & Clang.
#
# Assumes the binary release was downloaded from http://llvm.org/releases/
# and untarred in some directory. The actual script code here uses a location
# I... | eliben/llvm-clang-samples | build_vs_released_binary.sh | Shell | unlicense | 878 |
#!/bin/bash
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | google/webcrypto.dart | tool/clean.sh | Shell | apache-2.0 | 955 |
#!/bin/bash
#
# File: moab_hold.sh
#
# Author: Gideon Juve (gideon@isi.edu)
# Author: David Rebatto (David.Rebatto@mi.infn.it)
#
# Description: Place a Moab job on hold
#
# Copyright 2015 University of Southern California.
# Copyright (c) Members of the EGEE Collaboration. 2004.
# See http://www.eu-egee.org/par... | pegasus-isi/pegasus | share/pegasus/htcondor/glite/moab_hold.sh | Shell | apache-2.0 | 1,368 |
#!/bin/sh
spec=`ls ./resource/csdk/stack/samples/tizen/build/packaging/*.spec`
version=`rpm --query --queryformat '%{version}\n' --specfile $spec`
name=`echo $name|cut -d" " -f 1`
version=`echo $version|cut -d" " -f 1`
name=oicri
echo $1
export TARGET_TRANSPORT=$1
echo $2
export SECURED=$2
echo $3
export BUILD_SA... | WojciechLuczkow/iotivity | resource/csdk/stack/samples/tizen/build/gbsbuild.sh | Shell | apache-2.0 | 2,868 |
#!/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 ... | DongyiYang/kubernetes | hack/update-codegen.sh | Shell | apache-2.0 | 2,182 |
#!/bin/bash
# start ssr
filename="/etc/ssr/client_conf.txt"
num=3
for line in $(cat $filename)
do
#echo "num: " $num
#echo "line: " $line
if [ $num -gt 0 ];then
if [ $num -eq 3 ];then
ip=$line
#echo "ip:" $ip
num=`expr $num - 1`
elif [ $num -eq 2 ];then
... | SuperSuperSuperSuper5/shadowsocks-remix | script/client_startssr.sh | Shell | apache-2.0 | 869 |
#!/bin/bash
set -e
/geth --datadir=~/.ethereum/devchain init "/genesis.json"
/geth --networkid=636393 --rpc --rpccorsdomain="*" --rpcaddr="0.0.0.0" --rpcapi "miner,admin,db,personal,eth,net,web3" --ipcdisable --datadir=~/.ethereum/devchain --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322
| y12studio/dltdojo | dockerfiles/ethereumgo/tiguan2/startboot.sh | Shell | apache-2.0 | 318 |
#!/bin/bash
if [ $# -ne "1" ]; then
echo "Use: ./deploy.sh <tarball prefix>"
echo
echo "Script to deploy the latest stepup component with the specified prefix."
echo "Uses a lexical ordering (i.e. 'sort') of the matching filenames to pick te latest one."
echo "Script must be run from the Stepup-VM dir."
ec... | SURFnet/Stepup-VM | deploy-latest.sh | Shell | apache-2.0 | 787 |
#!/bin/bash -e
# this should be run after check-build finishes.
. /etc/profile.d/modules.sh
echo ${SOFT_DIR}
module add deploy
module add gcc/${GCC_VERSION}
module add openmpi/${OPENMPI_VERSION}-gcc-${GCC_VERSION}
cd ${WORKSPACE}/${NAME}-${VERSION}/build-${BUILD_NUMBER}-float
rm -rf *
echo "All tests have passed, will... | SouthAfricaDigitalScience/fftw3-deploy | deploy.sh | Shell | apache-2.0 | 2,839 |
#!/bin/bash
cd x264
export NDK=/home/joe/Android/Sdk/ndk-bundle
export TOOLCHAIIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuild/linux-x86_64
export PLATFORM=$NDK/platforms/android-8/arch-arm
export PREFIX=../libx264
./configure \
--prefix=$PREFIX \
--enable-static \
--disable-shared \
--enable-pic \
--disab... | joetang1989/Android-Universal-Image-Loader-Study | note/compile_01/build_x264.sh | Shell | apache-2.0 | 474 |
#!/bin/bash
#------------------------------------------------------------------------------#
# Copyright 2002-2015, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License")... | OpenNebula/addon-appmarket | install.sh | Shell | apache-2.0 | 4,241 |
#!/bin/bash -ex
source tools/common
source novarc
./bin/neutron-ext-net --network-type flat -g $GATEWAY -c $CIDR_EXT -f $FIP_RANGE ext_net
./bin/neutron-tenant-net --network-type gre -t admin -r provider-router -N $NAMESERVER private $CIDR_PRIV
create_demo_user
create_keypairs
set_quotas
create_secgroup_rules
delete_... | ubuntu-openstack/bigdata-novalxd | tools/configure-openstack-kvm.sh | Shell | apache-2.0 | 591 |
#!/bin/bash
# Build Mac OS X apps in Release configuration
#
# Syntax:
# build-release.sh
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CONFIGURATION=Release
PROJECT=${CURRENT_PATH}/../HTTPServerKit.xcodeproj
# determine tag name
GIT_REVISION_HEAD=`git rev-parse HEAD`
DATE_REVISION=`date +"%Y%m%d... | djthorpe/HTTPServerKit | etc/build-release.sh | Shell | apache-2.0 | 1,095 |
#!/bin/bash -euxo
echo "==> Installed packages before cleanup"
dpkg --get-selections | grep -v deinstall
# Clean up the apt cache
apt-get -y autoremove --purge
apt-get -y clean
apt-get -y autoclean
echo "==> Cleaning up udev rules"
rm -rf /dev/.udev/ /lib/udev/rules.d/75-persistent-net-generator.rules
echo "==> Cle... | holser/packer-templates | scripts/debian/cleanup.sh | Shell | apache-2.0 | 1,043 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://blog.linuxeye.com
#
# Notes: OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/lj2007331/oneinstack
Upgrade_Memcached() {
pushd ${oneinstack_dir}/src > /dev/nu... | ivmm/mistack | include/upgrade_memcached.sh | Shell | apache-2.0 | 2,250 |
#!/bin/bash
INPUT_DIR=$1
OUTPUT_DIR=$2
MAX_EPSILON=$3
cd common
pip install Keras-2.0.8-py2.py3-none-any.whl --no-index --find-links=$(pwd)
pip install h5py-2.7.1-cp27-cp27mu-manylinux1_x86_64.whl --no-index --find-links=$(pwd)
cd ../
python attack.py \
--input-dir="${INPUT_DIR}" \
--output-dir="${OUTPUT_DIR}" \... | ckomaki/kaggle-nips-2017 | defense/resnet_xception_vgg19_dual/common/run_attack.sh | Shell | apache-2.0 | 354 |
#!/bin/bash
WORKING_DIR="${BASH_SOURCE[0]}";
if ([ -h "${WORKING_DIR}" ]) then
while([ -h "${WORKING_DIR}" ]) do WORKING_DIR=`readlink "${WORKING_DIR}"`; done
fi
pushd . > /dev/null
cd `dirname ${WORKING_DIR}` > /dev/null
WORKING_DIR=`pwd`;
popd > /dev/null
if [ -z $LUMONGO_CLIENT_JAVA_SETTINGS ]
then
export LUMONGO... | lumongo/lumongo | lumongo-cluster/scripts/indexadmin.sh | Shell | apache-2.0 | 467 |
#!/bin/bash
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | tensorflow/lingvo | third_party/auditwheel.sh | Shell | apache-2.0 | 960 |
#!/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 ... | stu-gott/kubernetes | hack/local-up-cluster.sh | Shell | apache-2.0 | 31,437 |
#!/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.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Licens... | aw-altiscale/snailtrail | precommit/src/main/test-patch-docker/launch-test-patch.sh | Shell | apache-2.0 | 1,726 |
#!/bin/sh
printf "Checking dependencies...\r"
which node >/dev/null || sudo apt install node
which npm >/dev/null || sudo apt install npm
which pnpm >/dev/null || sudo npm install -g pnpm
pnpm install colors console-ten watchr websocket better-sqlite3 node-ipc command-line-args errlop editions gm
printf "\r ... | DroidScript/DroidScript-Web | scripts/install-deps.sh | Shell | apache-2.0 | 342 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G Labs #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you ... | dberzano/opennebula-torino | share/scripts/debian/context/init.sh | Shell | apache-2.0 | 1,912 |
#!/bin/bash
# Stop all the services
for SVC in $(ls /etc/init.d/hadoop*); do
echo $SVC
SVCNAME=$(basename $SVC)
echo $SVCNAME
service $SVCNAME stop
done
| jctanner/odp-prototype | odp-deploy/ansible/roles/sandbox/files/sandbox_stop.sh | Shell | apache-2.0 | 171 |
#!/bin/bash
. sourceme
javac net/thecubic/mockbi/*.java ; jar cvf MockBI.jar net
| thecubic/hadoop-mockbi | mk.sh | Shell | apache-2.0 | 83 |
#!/bin/bash
[ $# -lt 1 ] && echo "Usage `basename $0` <Example FQN> <debug> <debug_port>" && exit 1
EXAMPLE_FQN=$1
DEBUG=$2
if [[ $# -ge 2 && "debug" == $DEBUG ]]; then
[ $# -lt 3 ] && echo "Debug port not found. Usage `basename $0` <Example FQN> <debug> <debug_port>" && exit 1
fi
DEBUG_PORT=$3
DEPLOYMENT_UNIT_PA... | flipkart-incubator/flux | examples/run_example.sh | Shell | apache-2.0 | 2,051 |
#!/usr/bin/env bash
set -x
rm -f /etc/zypp/repos.d/openSUSE-13.1-1.10.repo
rpm --import http://download.opensuse.org/distribution/13.1/repo/oss/gpg-pubkey-3dbdc284-4be1884d.asc
rpm --import http://download.opensuse.org/distribution/13.1/repo/oss/gpg-pubkey-307e3d54-4be01a65.asc
zypper ar http://download.opensuse.org/... | b1-systems/packer-templates | scripts/opensuse/13.1/update.sh | Shell | apache-2.0 | 653 |
#! /bin/bash -x
################################################################################
#
# ------ FOR Linux64 & gnu C&fortran & openmpi -----
#
################################################################################
export FORT_FMT_RECL=400
ln -sv ../../../../bin/nhm_driver .
ln -sv ../../../../dat... | kento/NICAM | test/case/jablonowski/gl05rl00z40pe10/run.sh | Shell | bsd-2-clause | 1,332 |
#!/usr/bin/env bash
#
# Copyright (c) 2014-2019, Erik Dannenberg <erik.dannenberg@xtrade-gmbh.de>
# 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. Redistributions of source code must retain ... | edannenberg/gentoo-bb | kubler.sh | Shell | bsd-2-clause | 9,443 |
#!/bin/bash
ulimit -c unlimited
rm -f core*
rm -f valgrind.log vgcore.* hs_err_pid*.log
DIR=`pwd`
mkdir -p logs/human_tracker/
cd logs/human_tracker/
rm -fr bak/
mkdir -p bak/intentions
mkdir -p intentions
mv human_tracker* bak/
mv intentions/* bak/intentions/
cd $DIR
time ./pfs $@ | tee human_tracker.output
| aijunbai/pfs | tracker.sh | Shell | bsd-2-clause | 315 |
#!/bin/bash
# add everything
echo "add build results to gh-pages"
(cd web/
if [[ "$TRAVIS" == "true" ]] ; then
../travis-setup.sh
fi
rm clean
git add .
STATUS=$(git status --porcelain)
if [[ -n "${STATUS}" ]] ; then
git commit -avm "AUTOMATIC gh-pages BUILD $(date +%F)"
fi
)
| tidepool-org/deprecated-data-model | save-gh-pages.sh | Shell | bsd-2-clause | 281 |
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/netbsddpdk ./tcp_with_select.bin -c 2 -n 1 --proc-type secondary
| vadimsu/netbsd_dpdk_port | service/test_client/run_tcp_listener_with_select.sh | Shell | bsd-2-clause | 112 |
# set required variables
WORKLOAD_FILE=${TOP_DIR}/workloads/workload_SIMPLE_MULTICOLUMN_QUERIES_p300_w2_c4_1234.sql
ALGORITHM=opt
# wfit-specific variables
HOT=40
STATES=2000
| dbgroup-at-ucsc/dbtune | resources/workloads/postgres/.unsupported/working_set/opt_4/config.sh | Shell | bsd-3-clause | 178 |
#!/usr/bin/env bash
time=`date +%H:%M:%S`
scrot -s "$time.png" -e "curl -sF 'name=@$time.png' http://eleveni386.7axu.com/Image/"
rm $time.png
| chrisju/script | putscreen.sh | Shell | bsd-3-clause | 144 |
#!/bin/sh
# This will build a new transphpile.phar inside the current directory
./vendor/bin/phar-composer -v build .
| jaytaph/Transphpile | build-phar.sh | Shell | bsd-3-clause | 120 |
echo -n "cleaning up... "
sh /home/user/svc/experiments_scripts/ycsb/stop.sh;
echo "done."
echo -n "loading new db... "
/home/user/svc/ycsb-0.1.4/bin/ycsb load mongodb -p mongodb.url="mongodb://datastore-001.svc.laas.fr:27017" -p mongodb.database="ycsb" -p mongodb.writeConcern="normal" -p mongodb.maxconnections=1000... | guthemberg/tejo | tejo/common/experiments_scripts/ycsb/load.sh | Shell | bsd-3-clause | 393 |
# (C) 2015, Pedro Ivan Lopez <m@pedroivanlopez.com>
#
# This source code is released under the new MIT license.
# Current working directory to clipboard
alias cwd2clip='echo $(pwd) | xclip'
| lopezpdvn/poshutil | alias.sh | Shell | bsd-3-clause | 191 |
#/bin/bash
# Creates the service account used by the backup cronjob.
../../kube/secrets/add-service-account.sh \
skia-public \
skia-public \
perf-cockroachdb-backup \
"The perf cockroachdb backup service account." \
roles/storage.objectAdmin | google/skia-buildbot | perf/secrets/create-perf-cockroachdb-backup-service-account.sh | Shell | bsd-3-clause | 252 |
#!/bin/bash
# author: Liang Gong
if [ "$(uname)" == "Darwin" ]; then
# under Mac OS X platform
NODE='node'
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# under GNU/Linux platform
NODE='nodejs'
fi
cd directory-traversal/wenluhong11
RED='\033[0;31m'
BLUE='\033[0;34m'
GREEN='\033[0;... | JacksonGL/NPM-Vuln-PoC | directory-traversal/wenluhong11/PoC.sh | Shell | bsd-3-clause | 864 |
#!/bin/bash
#
# Copyright (c) 2009, Whispersoft s.r.l.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of... | cpopescu/whispercast | whisperstreamlib/aac/test/aac_tag_test.sh | Shell | bsd-3-clause | 1,763 |
#!/bin/bash -e
# Transforms ETL results in GCS so that "N (null values in current Cloud SQL export) are replaced
# with an empty string. Output files are written to a "transformed" subdirectory.
#
# We will stop using this script once the Cloud SQL export API provides the option to specify a
# different null value.
U... | all-of-us/raw-data-repository | rdr_service/etl/transform_etl_results.sh | Shell | bsd-3-clause | 1,769 |
#!/usr/bin/env bash
echo "Start config"
# get the script path http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
pushd `dirname $0` > /dev/null
SCRIPTPATH=`pwd -P`
popd > /dev/null
ORIGINAL_WD=${PWD}
cd ${SCRIPTPATH}
source ../common.sh
cp config/* /tmp/
echo "... | at15/hadoop-spark-perf | provision/single/hibench/config.sh | Shell | mit | 537 |
#! bin/bash
cp ../Helper/convertTallFormatToWide.py .
| srp33/WishBuilder | CCLE_mRNA_isoform_kallisto_Tatlow/install.sh | Shell | mit | 56 |
#!/bin/bash
set -e
VENV=./venv
python -m virtualenv $VENV --always-copy
. $VENV/bin/activate
pip install -U pip setuptools
pip install -r requirements.txt
echo ""
echo "* Created virtualenv environment in $VENV."
echo "* Installed all dependencies into the virtualenv."
echo "* You can now activate the virtualenv: \`.... | ikoz/mitmproxy | dev.sh | Shell | mit | 343 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | Zzish/zzishsdk-ios | Example/Pods/Target Support Files/Pods-ZzishSDK/Pods-ZzishSDK-resources.sh | Shell | mit | 4,834 |
#!/bin/sh
########################################################################
########################################################################
##
## Tripwire(R) 2.3 for LINUX(R) Post-RPM installation script
##
## Copyleft information contained in footer
##
#################################################... | akuster/meta-security | recipes-security/tripwire/files/twinstall.sh | Shell | mit | 10,271 |
java -Djava.security.manager -Djava.security.policy=permission.any -jar GameShop_Advance_Server.jar | GameShopAdvance/GameShop-Advance | build/Server/GSA_server.sh | Shell | mit | 99 |
#!/bin/sh -xe
sudo rm -rf distribute-0.7.3 setuptools-1.3.2 protobuf-2.5.0 urllib3-1.7.1
unzip distribute-0.7.3.zip
cd distribute-0.7.3
sudo python2.7 setup.py install
cd ..
tar xvf setuptools-1.3.2.tar.gz
cd setuptools-1.3.2
sudo python2.7 setup.py install
cd ..
tar xvf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
sudo ... | wanghq/goots | doc/ots_python_sdk_2.0.2/pymodules/install_modules_for_ots_python_sdk.sh | Shell | mit | 514 |
#!/bin/bash
for i in $@; do
wget https://github.com/getnikola/wheelhouse/archive/v$i'.zip'
unzip 'v'$i'.zip'
pip install --use-wheel --no-index --find-links=wheelhouse-$i lxml Pillow ipykernel notebook PyYAML
rm -rf wheelhouse-$i 'v'$i'.zip'
done
| knowsuchagency/nikola | scripts/getwheelhouse.sh | Shell | mit | 263 |
#!/bin/bash
echo Done
| malawski/hyperflow-deployment | scripts/worker/stop.sh | Shell | mit | 22 |
#!/bin/bash
set -e
set -x
if [[ "$NGHTTP2" = true ]]; then
# GCC 4.6 seems to cause problems, so go straight to 4.8.
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.8 libstdc++-4.8-dev
export CXX="g++-4.8" CC="gcc-4.8"
$CC --version
... | jdecuyper/hyper | .travis/install.sh | Shell | mit | 1,368 |
#!/bin/sh
#
# Copyright (c) 2007 Shawn Pearce
#
test_description='test git fast-import utility'
. ./test-lib.sh
. "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash
verify_packs () {
for p in .git/objects/pack/*.pack
do
git verify-pack "$@" "$p" || return
done
}
file2_data='file2
second line of EOF'
... | devzero2000/git-core | t/t9300-fast-import.sh | Shell | gpl-2.0 | 76,583 |
#!/usr/bin/bash
#simple script that generates data from msHOT-lite and then runs it through all the scripts that split the data up, preprocess for PSMC, does PSMC and then plots the data
#
../../foreign-master/msHOT-lite/msHOT-lite 2 100 -t 30000 -r 6000 3000000 -eN 0.01 0.1 -eN 0.06 1 -eN 0.2 0.5 -eN 1 1 -eN 2 2 -l >t... | shaunBarker/bioinformaticsScripts | simulateData2Plots.sh | Shell | gpl-2.0 | 494 |
VERSION=$( sed -e 's/^.*-//' -e q VERSION )
sed -e "s/@VERSION@/$VERSION/" <$1.template >$1
| abh/ezmlm-idx | fill-template.sh | Shell | gpl-2.0 | 92 |
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin
IFACE=$1
/etc/virt2real/log "$IFACE down"
/sbin/ifdown -f $IFACE
| sv99/v2r_buildroot | board/virt2real/v1mass/rootfs-additions/etc/virt2real/yota-down.sh | Shell | gpl-2.0 | 148 |
#!/bin/bash
mkdir -p src/usr/share/NVDARemoteServer
mkdir -p src/usr/share/man/man1
mkdir -p src/usr/share/man/man5
mkdir -p src/etc
mkdir pkg
cp ../server.py ../options.py ../server.pem ../daemon.py src/usr/share/NVDARemoteServer
cp ../NVDARemoteCertificate src/usr/bin
cp ../manual/NVDARemoteServer.1 ../manual/NVDARem... | Technow-es/NVDARemoteServer | MSYS2/build.sh | Shell | gpl-2.0 | 475 |
#!/bin/sh
# Copyright (C) 2008 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Licens... | vgmoose/lvm | test/shell/lvconvert-repair-transient.sh | Shell | gpl-2.0 | 969 |
#!/bin/bash
RIX_HOME_=${RIX_HOME:-.}
RIX_FILE=${1}
${RIX_HOME}/rixc -q -o ${RIX_FILE} ${RIX_FILE}
if [ $? -eq 0 ]; then
chmod +x ./${RIX_FILE}.sh
./${RIX_FILE}.sh
fi
shift
./${RIX_FILE}.out $@
rm ${RIX_FILE}.out ${RIX_FILE}.c ${RIX_FILE}.h ${RIX_FILE}.sh ${RIX_FILE}.log
| riolet/rix | rix.sh | Shell | gpl-3.0 | 273 |
pkill -9 -f chaos.pl
pkill -9 -f keepalive.sh
pkill -9 -f locator1
pkill -9 -f server1
pkill -9 -f server2
pkill -9 -f server3
| Pivotal-Open-Source-Hub/geode-social-demo | bin/nuke.sh | Shell | apache-2.0 | 127 |
#!/bin/bash
#
# Script used by Appveyor to build Docker images for GRR.
set -ex
if [[ "${APPVEYOR_REPO_BRANCH}" == 'master' ]]; then
readonly BUILD_TAG='grrdocker/grr:latest'
else
readonly BUILD_TAG="grrdocker/grr:${APPVEYOR_REPO_BRANCH}"
fi
docker build -t "${BUILD_TAG}" \
--build-arg GCS_BUCKET="${GCS_BUCKET... | dunkhong/grr | appveyor/docker_build/build_docker_image.sh | Shell | apache-2.0 | 382 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.