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
echo "Launching MongoDB server..."
mongod --dbpath ./db/data --logpath ./db/logs/mongodb.log --logappend &
echo "Launching redis server..."
redis-server ./db/conf/redis.conf & | kardigen/devcrowd_node_workshop | servers.sh | Shell | mit | 189 |
#! /bin/sh
if [ -e eglibrary/.git/ ]; then
echo "eglibrary has cache"
else
rm -rf ./eglibrary
git clone git@github.com:eaglesakura/eglibrary.git
fi
cd eglibrary/
git clean -f .
git checkout -f develop
git pull origin develop
chmod 755 ./script/sync-develop.sh
./script/sync-develop.sh
cd ../ | eaglesakura/andriders-central-engine-v3 | script/developer-sync-eglibrary.sh | Shell | mit | 298 |
#!/bin/bash
HOST=`hostname -s`
DOMAIN=`hostname -d`
if [[ $HOST =~ (.*)-([0-9]+)$ ]]; then
NAME=${BASH_REMATCH[1]}
ORD=${BASH_REMATCH[2]}
else
echo "Failed to extract ordinal from hostname $HOST"
exit 1
fi
BROKER_ID=$((ORD))
cat /etc/kafka/server.properties.template | sed "s/{{zookee... | reza-rahim/microservice | ansible/kube-app/docker/kafka/kafka-start.sh | Shell | mit | 463 |
#!/usr/bin/env bash
set -eu
echo "$QUAY_PASSWORD" | docker login quay.io --username "$QUAY_USERNAME" --password-stdin
set -x
VERSION=$(echo "$GITHUB_REF" | cut -d/ -f3-)
# docker push quay.io/acoustid/acoustid-index:$VERSION
docker push quay.io/acoustid/acoustid-index-updater:$VERSION
docker push quay.io/acoustid/... | acoustid/go-acoustid | ci/push-images.sh | Shell | mit | 467 |
#! /usr/bin/env bash
# client.sh <server:addr>
echo "building ..."
go build;
# -do can be post, request
time ./perf -profile -c -addr $1 -do $2 -payload 64 -batchsize 200 -conns 16 -routines 200 -count 100000
# streamrx, streamtx
# time ./perf -c -addr $1 -do $2 -batchsize 1000 -payload 16000 -buffersize 17000 -con... | prataprc/gofast | perf/client.sh | Shell | mit | 870 |
#!/usr/bin/env bash
###
### Released under the MIT License (MIT) --- see ../LICENSE
### Copyright (c) 2014 Ankit Singla, Sangeetha Abdu Jyothi,
### Chi-Yao Hong, Lucian Popa, P. Brighten Godfrey,
### Alexandra Kolla, Simon Kassing
###
###################################
### SCRIPT PARAMETERS
###
NRUNS=1 ... | ndal-eth/topobench | scripts/control/fat_tree.sh | Shell | mit | 3,140 |
#!/bin/bash
# create multiresolution windows icon
ICON_DST=../../src/qt/res/icons/belcoin.ico
convert ../../src/qt/res/icons/belcoin-16.png ../../src/qt/res/icons/belcoin-32.png ../../src/qt/res/icons/belcoin-48.png ${ICON_DST}
| Nephatiu/belcoin | share/qt/make_windows_icon.sh | Shell | mit | 229 |
#!/bin/bash
# HLH gene panel for MAS diagnostics
gemini query --header -q "select s.name as sample,v.chrom,v.start+1 as pos,v.ref,v.alt,v.gene,v.rs_ids,v.impact,v.max_aaf_all
from variants v, samples s
where v.max_aaf_all <= 0.05 and
v.gene in ('AP3B1','BLOC1S6','CD27','GATA2','ITK','LYST','NLRC4','P... | naumenko-sa/cre | cre.gemini.hlh_panel.sh | Shell | mit | 390 |
#!/usr/bin/env bash
function pretty_print() {
printf '\n\033[1m\033[34m%s\033[0m\n\n' "[macos-confs] ${1}…"
}
function install_brew() {
if ! make --version > /dev/null; then pretty_print "❗️ Commandline tools (xcode-select) not installed" && exit 1; fi
if command -v brew > /dev/null; then pretty_print "🍻 Brew... | thibmaek/worker | installers/install-brew.sh | Shell | mit | 546 |
#!/bin/bash
set -- $(<./AlignmentPipe/settings.var)
Ij=${10}
lsm2nrrd=${20}
inbox=${2}
proc=${3}
ppro=${21}
chn=${30}
log=${4}
for f in $inbox*.{lsm,tif}
do
echo Processing $f
nice xvfb-run ${Ij} -macro ${lsm2nrrd} ${f} -batch
inl=`echo $inbox | wc -c`
fr=`echo $f | rev | cut -c 5- |rev | cut -c $inl-`
if [ -e... | Robbie1977/AlignmentPipe | LoadImagesXYZ.sh | Shell | mit | 809 |
#!/bin/bash
source inc_vars.sh
# Script for convergence analysis on transport model for different methods
#-------------------------------------------------------------------------
awk '{ if ( NR == 15 ) { print "lsqtrc";} else {print $0;} }' par/trans.par > par/trans2.par
cp par/trans2.par par/trans.par
./runntim... | pedrospeixoto/iModel | sh/runtranptests.sh | Shell | mit | 499 |
# shellcheck shell=bash disable=1090
function __dotfiles_exports() {
local base_dir="${HOME}/.dotfiles/exports"
local sources=(
cli-colors.sh
z.sh
pyenv.interactive.sh
)
if [ -n "$BASH" ]; then
sources+=(
bash-git-prompt.sh
)
__dotfiles_profile_includes "$base_dir" "${sources[@]... | wesm87/dotfiles | exports.interactive.sh | Shell | mit | 520 |
#!/bin/bash
#ubuntuReady
#ADD ALL REPOSITORIES WE NEED
##BASIC REPOSITORIES
##GIMP
sudo apt-add-repository ppa:otto-kesselgulasch/gimp -y
##Nvidia Graphics Driver
sudo add-apt-repository ppa:graphics-drivers/ppa -y
##Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key ad... | ulisesantana/ubuntuReady | ubuntuReady.sh | Shell | mit | 4,897 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2644-1
#
# Security announcement date: 2015-06-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:37 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - linux-image-3.16.0-41-powerpc-smp:3.... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/x86_64/2015/USN-2644-1.sh | Shell | mit | 2,014 |
#!/bin/bash
strindex() {
x="${1%%$2*}"
[[ $x = $1 ]] && echo -1 || echo ${#x}
}
| verdverm/pypge | experiments/post_process/scripts/utils.sh | Shell | mit | 86 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2938-1
#
# Security announcement date: 2016-03-21 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:18 UTC
#
# Operating System: Ubuntu 15.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - git:1:2.5.0-1ubuntu0.2
#
# Last versions r... | Cyberwatch/cbw-security-fixes | Ubuntu_15.10/i686/2016/USN-2938-1.sh | Shell | mit | 627 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | tsharju/HuutoNetKit | Example/Pods/Target Support Files/Pods-HuutoNetKit_Example/Pods-HuutoNetKit_Example-frameworks.sh | Shell | mit | 3,698 |
#!/usr/bin/env bash
#
# Install JDK for Linux and Mac OS
#
# This script determines the most recent early-access build number,
# downloads the JDK archive to the user home directory and extracts
# it there.
#
# Exported environment variables (when sourcing this script)
#
# JAVA_HOME is set to the extracted JDK direc... | mark-lester/Gemini | install-jdk.sh | Shell | mit | 10,031 |
#!/bin/bash
for m in $(find * -name "Makefile"); do
(
cd $(dirname $m)
make test || echo $(pwd)
)
done
| gestiweb/docker-base | test_all.sh | Shell | mit | 121 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
# This protects against multiple targets copying the same framework dependency at the same time.... | XSega/Words | Pods/Target Support Files/Pods-Words/Pods-Words-frameworks.sh | Shell | mit | 4,978 |
#!/bin/bash
HOME_DIR=`eval echo ~`
PROJECT_PATH=`eval echo ~/gocode/src/neviovesic/`
PROJECT_NAME="neviovesic" # app name for ogs etc ...
# Activate whatever that we eventually need to activate in order to run deployment
source $HOME_DIR/.profile
echo -e "$(tput setaf 2)Entering $PROJECT_PATH"
cd $PROJECT_PATH
slee... | 0x19/neviovesic.com | deployment/shell/start.sh | Shell | mit | 520 |
# Case-insensitive globbing (used in pathname expansion)
shopt -s nocaseglob
# Check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
export GREP_OPTIONS='--color=auto'
# Prevent less from clearing the screen while still showing colors.
export LESS... | Jakobo/dotfiles | source/50_misc.sh | Shell | mit | 723 |
echo 'Compile cache to cache.o ...'
gcc -c -std=c99 -Ofast -Wall -Werror -pedantic -o cache.o cache.c
| korun/dcs-system | cache/compile_cache.sh | Shell | mit | 102 |
#!/bin/sh
BASEDIR=`dirname $0`
mkdir -p $BASEDIR/Project
pushd $BASEDIR/Project >/dev/null
cmake -GXcode ..
popd >/dev/null
| k6project/MazeGen | SetupXCode.sh | Shell | mit | 125 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="dns-prefetch" href="https://assets-cdn.github.com">
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
<link rel="dns-prefetch" href=... | dprasanthv/DockerFiles | kafka/arm/overrides/0.9.0.1.sh | Shell | mit | 65,095 |
#!/usr/bin/env sh
npm install tongwen-core -g
npm install tongwen-cli -g
| foreachsam/package-node-tongwen | install.sh | Shell | mit | 73 |
#!/usr/bin/env bash
set -e
ROOT_DIR=$(cd $(dirname $0)/..; pwd)
cd $ROOT_DIR
BIN_DIR=./node_modules/.bin
rm -rf \
npm-debug.log \
node_modules \
coverage
| yvele/node-thunkify-object | script/clean.sh | Shell | mit | 164 |
# Bulk rename the badly labled crires files.
for i in $(ls CRIRES*:*:*.fits); do
python ~/bin/file_renamer.py $i -x : -v -
done
| jason-neal/equanimous-octo-tribble | octotribble/extraction/CRIRES_renamer.sh | Shell | mit | 132 |
#!/bin/bash
python manage.py test --noinput 2> /var/log/test.log 1> /dev/null
if [ $? -ne 0 ]; then
cat /var/log/test.log
exit 1
fi | mujinyun2009/shakespeare-census | test.sh | Shell | mit | 141 |
#!/bin/sh
#
# echo+ --extended echo command
#
# Remarks:
# This script is useful for mocking up behaviour in testing.
#
log_message() { printf "$@"; printf "\n"; } >&2
notice() { log_message "$@"; }
info() { if [ "$verbose" ]; then log_message "$@"; fi; }
version=
build=
delay=
signal=
status=0
verbose=
usage="Usag... | tim-rose/devkit | bin/echo+.sh | Shell | mit | 880 |
#!/bin/bash
python manage.py makemigrations && \
python manage.py migrate && \
python manage.py loaddata fiubar.json || exit 1
echo
echo "Crear un usuario administrador"
python manage.py createsuperuser
python manage.py runserver 0.0.0.0:8000 --settings fiubar.config.settings.local
| maru/fiubar | local/start.sh | Shell | mit | 286 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | CaryZheng/ZDropdownWidget | Example/Pods/Target Support Files/Pods-ZDropdown_Tests/Pods-ZDropdown_Tests-frameworks.sh | Shell | mit | 3,552 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2016:0098
#
# Security announcement date: 2016-02-02 14:50:05 UTC
# Script generation date: 2017-01-01 21:16:58 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - java-1.8.0-ibm.i686:1.8.0.2.10-1jpp.1.e... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2016/RHSA-2016:0098.sh | Shell | mit | 2,005 |
#!/usr/bin/env bash
set -ue
ref=$1
depthopt=''
if find . -depth 1 >/dev/null 2>/dev/null; then
depthopt='-depth'
else
depthopt='-maxdepth'
fi
rm -rf repo/
if [[ ${ref:0:1} == "v" ]]; then
name=$ref
git clone https://github.com/angular/angular.js.git repo/ --branch "$ref" --depth 1
cd repo/
else
git clone... | datapad/bower-angular-all | release.sh | Shell | mit | 1,102 |
#!/bin/bash
# IMPORTANT
# ---------
# This is an auto generated file with React CDK.
# Do not modify this file.
# Use `.scripts/user/prepublish.sh instead`.
echo "=> Transpiling 'src' into ES5 ..."
echo ""
rm -rf ./dist
NODE_ENV=production ./node_modules/.bin/babel --ignore tests,stories --plugins "transform-runtime"... | CyberLight/react-typeahead2 | .scripts/prepublish.sh | Shell | mit | 452 |
#!/bin/sh
set -xe
dotenv 'SSHPASS=$ORIG_PASSWD sshpass -e ssh root@$IP sh < set_sudo.sh'
dotenv 'SSHPASS=$ORIG_PASSWD sshpass -e ssh root@$IP PASSWD=$PASSWD sh < set_passwd.sh'
dotenv 'SSHPASS=$PASSWD sshpass -e ssh user@$IP "mkdir -pm 700 .ssh; cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub'
dotenv 'SSHPASS=$PASS... | ermaker/infra_cac | provision.sh | Shell | mit | 525 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | Moonko/MNKPDFEditor | Example/Pods/Target Support Files/Pods-MNKPDFEditor_Example/Pods-MNKPDFEditor_Example-frameworks.sh | Shell | mit | 3,568 |
#!/bin/sh
mvn exec:java -Dexec.mainClass=client.Main -Dexec.args=$1 | suparngp/AOSProject2 | run-client.sh | Shell | mit | 67 |
#!/bin/bash
# jenkins 下,默认是项目文件夹,也是默认参数(此处用以本机测试)
WORKSPACE=~/Desktop/qiakr
export LC_ALL=zh_CN.GB2312;export LANG=zh_CN.GB2312
# 项目路径
WORKSPACE_NAME="eke2.0"
TARGET_NAME="EKESell"
WORKSPACE_PATH="${WORKSPACE}/RealCloud/ekesell2.0/${WORKSPACE_NAME}.xcworkspace"
# 项目配置
BUILD_CONFIG="Release"
PRODUCT_BUNDLE_IDENTIFIE... | JuYiWei/CZ_Demos | 2018/自动化构建脚本/workspace.sh | Shell | mit | 2,038 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/20201_c_jgocadena.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=20201_c_jgocadena.X.${IMAGE_TYP... | tocache/picomones | UPC Microcontroladores 2020-1/Semana 10/20201_c_jgocadena.X/nbproject/Package-default.bash | Shell | cc0-1.0 | 1,421 |
#!/bin/bash
# set defaults
toclevels=3
# print out info
if [[ -z $1 ]]
then
echo "
$0 [start|version]
will build the format documentation from CSV files and a template.
Version = cornell|draft|official changes a note in the document
"
exit 1
fi
if [[ "$1" = "start" ]]
then
# parse version from directory
vers... | labordynamicsinstitute/qwi_schemas | formats/V4.0.2/write_schemadoc.sh | Shell | cc0-1.0 | 11,836 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/pas_notgate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=pas_notgate.X.${IMAGE_TYPE}.${OUTPUT_... | tocache/picomones | UPC Microcontroladores 2019-1/Semana 2/pas_notgate.X/nbproject/Package-default.bash | Shell | cc0-1.0 | 1,389 |
#!/bin/sh
######################################################################
#
# @file lapack.sh
#
# @brief Build information for lapack.
#
# @version $Rev$ $Date$
#
# Copyright © 2012-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
#################... | Tech-XCorp/bilder | packages/lapack.sh | Shell | epl-1.0 | 3,763 |
#!/bin/bash
# Example for running
docker run -e HOME=/root -t -i imiell/sd_x7proto /bin/bash
| ianmiell/shutit-distro | x7proto/bin/run.sh | Shell | gpl-2.0 | 93 |
#!/bin/bash
for fieldIdx in {1..6}; do
echo "387.10.10.10.30.103"|cut -d'.' -f${fieldIdx}-
done
lastIdx=6
for ((fieldIdx = 2; fieldIdx <= $lastIdx; fieldIdx++)); do
echo "387.10.10.10.30.103"|cut -d'.' -f${fieldIdx}-
done
for fieldIdx in $(eval echo {2..$lastIdx}); do
echo "387.10.10.10.30.103"|cut -d'.' -f${fiel... | mcm811/bin.osx | example/exam_for_loop.sh | Shell | gpl-2.0 | 333 |
function except() {
case $1 in
selinux_file_context_cmp) # ignore
;;
*)
echo "
%exception $1 {
\$action
if (result < 0) {
PyErr_SetFromErrno(PyExc_OSError);
SWIG_fail;
}
}
"
;;
esac
}
if ! ${CC:-gcc} -x c -c -I../include - -aux-info temp.aux < ../include/selinux/selinux.h
then
# clang d... | jpacg/su-binary | jni/selinux/libselinux/src/exception.sh | Shell | gpl-2.0 | 555 |
docker build . --tag razkroi-web
| sbnedkov/cutlist | docker/build.sh | Shell | gpl-2.0 | 33 |
#!/bin/sh
TARGETPATH="/tmp/"
FILENAME="*.txt"
MAILADDR="foo@foo.com"
/usr/bin/python -m pyinotify -e IN_CLOSE_WRITE ${TARGETPATH} -f -c '/usr/bin/ls -lat ${TARGETPATH}${FILENAME} | /usr/bin/mail -s "${TARGETPAH} - ${FILENAME} file modifications" ${MAILADDR}'
| rkferreira/tools | watchdog-fs/watchdog-fs.sh | Shell | gpl-2.0 | 259 |
#!/bin/bash
abspath_cd() {
if [ -d "$1" ]; then
echo "$(cd "$1"; pwd)"
else
case "$1" in
"" | ".") echo "$PWD";;
/*) echo "$1";;
*) echo "$PWD/$1";;
esac
fi
}
THIS_DIR=$(abspath_cd $(dirname "$0"))
AUTHOR_FILTER=
DEFAULT_LICENSE=GPL
DEFAULT_COP... | BALL-Contrib/contrib_rtfact_4f1d028 | tools/add_copyright.sh | Shell | gpl-2.0 | 5,126 |
#!/bin/sh
# 二进制安装
# Tomcat8官方稳定版
# 确保关闭SELinux
### bin包名,请根据实际情况修改
tomcat_name=apache-tomcat-8.0.33
### 可自定义信息,但是不建议修改
# tomcat安装位置/opt/tomcat8,链接到/usr/local/tomcat8
tomcat_install_dir=/usr/local/tomcat8
tomcat_install_dir_real=/opt/tomcat8
# 运行用户
run_user=tomcat
# 站点根目录
tomcat_web_dir=/data/tomcatwebroot/default
# ... | gchxcy/LinuxOperator | Centos6/shell/installtomcat8.sh | Shell | gpl-2.0 | 6,291 |
#!/bin/bash
./_build.sh SEMC boot $1
| kbc-developers/android_kernel_semc_xperia2011 | build-bootimg-semc.sh | Shell | gpl-2.0 | 38 |
#! /bin/sh
# Copyright (C) 2011-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/remake-gnulib-remove-header.sh | Shell | gpl-2.0 | 3,155 |
convert images/OCS-279-A.png -crop 1523x4516+59+297 +repage images/OCS-279-A.png
#
#
#/OCS-279.png
convert images/OCS-279-B.png -crop 1575x4362+28+443 +repage images/OCS-279-B.png
#
#
#/OCS-279.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-279.sh | Shell | gpl-2.0 | 198 |
#!/bin/bash
pkill -9 mongo
bkill
sleep 2
mongo-clean
export TOKUMX_BUFFERED_IO=N
export MONGO_COMPRESSION=zlib
export MONGO_BASEMENT=65536
export NUM_COLLECTIONS=8
export NUM_DOCUMENTS_PER_COLLECTION=1000000
#export NUM_DOCUMENTS_PER_COLLECTION=200000
export NUM_DOCUMENTS_PER_INSERT=1000
export NUM_LOADER_THREADS... | Percona-QA/toku-qa | tokudb/software/mongodb/sysbench-mongodb-backup-test/doit-backup-test.bash | Shell | gpl-2.0 | 2,829 |
#!/bin/bash
rm train_*.txt test_*.txt
| intfloat/weibo-emotion-analyzer | scripts/cleandata.sh | Shell | gpl-2.0 | 39 |
#!/bin/bash
# Cloudy: An open LAMP benchmark suite
# Copyright (C) 2010 Adam Litke, IBM Corporation
#
# 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 distributed i... | aglitke/cloudy | setupimage/import-images.sh | Shell | gpl-2.0 | 1,520 |
#!/usr/bin/env bash
set -o nounset
# Copyright (C) 2014 Patrik Martinsson <martinsson@patrik.gmail.com>
#
# 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
#... | patchon/tcp_monitor | tcp_monitor.sh | Shell | gpl-2.0 | 31,224 |
convert images/OCS-235-A.png -crop 1479x4532+65+279 +repage images/OCS-235-A.png
#
#
#/OCS-235.png
convert images/OCS-235-B.png -crop 1569x4528+0+283 +repage images/OCS-235-B.png
#
#
#/OCS-235.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-235.sh | Shell | gpl-2.0 | 197 |
#!/bin/sh
#-------------------------------------------------------------------------
# Copyright 2010, NETGEAR
# All rights reserved.
#-------------------------------------------------------------------------
# load environment
. /opt/broken/env.sh
# get Url for hook server
URL=`readycloud_nvram get readycloud_fetc... | hajuuk/R7000 | src/router/arm-uclibc/target/opt/broken/comm.sh | Shell | gpl-2.0 | 4,742 |
#! /bin/sh
#
# Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Softwar... | TheTypoMaster/Scaper | openjdk/jdk/test/java/net/DatagramSocket/SetDatagramSocketImplFactory/ADatagramSocket.sh | Shell | gpl-2.0 | 1,468 |
echo "enum.proto"
protoc --proto_path=../../../../kit/prototype/src/common/protobuf/ --proto_path=../../../../kit/prototype/src/server/protobuf/ --go_out=./kit_ds ../../../../kit/prototype/src/server/protobuf/enum.proto
echo "msg_entity.proto"
protoc --proto_path=../../../../kit/prototype/src/common/protobuf/ --proto_p... | nobugtodebug/stresstest | genproto.sh | Shell | gpl-2.0 | 676 |
#!/usr/bin/env bash
#
# iptables configuration script for a Workbench Tool
#
IP_LOCAL_NETWORK="192.168.3.0/24"
IPS_FOR_SSH="${IP_LOCAL_NETWORK}"
# Flush all current rules from iptables
#
iptables -F
#
# Allow SSH connections on tcp port 22
# This is essential when working on remote servers via SSH to prevent lock... | NERC-CEH/jules-jasmin | majic_web_service/configuration_scripts/firewall_tool.sh | Shell | gpl-2.0 | 885 |
ctags -R .
cscope -Rkbq
| sundream/develop | .vim/.vim/tags/cur_ctags_cscope.sh | Shell | gpl-2.0 | 24 |
#!/bin/sh
while true
do
echo "Select"
echo -e "\t1 to enter SVN"
echo -e "\t2 to commit"
echo -e "\t3 to update"
echo -e "\t4 to check the difference between working copy and Head revision"
echo -e "\t5 to add a directory or a file"
echo -e "\t6 to create a new repositry"
echo -e "\t7 to clear the Terminal"
e... | varun13169/AVR-C_projects-IIITD_ELD_assignments | svn.sh | Shell | gpl-2.0 | 1,096 |
#!/bin/bash
jack_wait --wait
carla daemons/global-fx.carxp
| ViktorNova/stagecraft-daemons | daemons/global-fx-carla.sh | Shell | gpl-2.0 | 59 |
#!/bin/sh
TMP=/tmp/$$-ms.xml
die ()
{
echo $1
echo $2 >&2
rm -f $TMP
exit 0
}
wget --timeout=30 -q -O - "http://viewer:Pa\$\$w0rd!@$1/RCServer/systeminfo.xml" > $TMP
[ ! -f $TMP ] && die 2 "Error obtaining XML from service"
[ ! -s $TMP ] && die 2 "XML is empty"
# validate
xml val $TMP 2>&1 > /dev/n... | Shmuma/z | misc/pairs/external/ms_xml.sh | Shell | gpl-2.0 | 407 |
#!/usr/bin/haserl
<%
eval $( gargoyle_session_validator -c "$COOKIE_hash" -e "$COOKIE_exp" -a "$HTTP_USER_AGENT" -i "$REMOTE_ADDR" -r "/login1.asp" -t $(uci get gargoyle.global.session_timeout) -b "$COOKIE_browser_time" )
echo "Content-Type: application/json"
echo ""
uci set firewall.dmz=redirect
uci set firewall.dm... | link4all/20170920openwrt | own_files/mt7628/files_hangzhou_ddc/www/cgi-bin/dmz.sh | Shell | gpl-2.0 | 768 |
#!/bin/sh
#
## Copyright (C) 1996-2015 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##
url=$1
proxy=${2:-localhost}
port=${... | krichter722/squid | test-suite/run_negotiate_test.sh | Shell | gpl-2.0 | 811 |
#!/usr/bin/env bash
thin start --ssl --ssl-key-file $SM_CONF/development/certificates-localhost.ssl/localhost.ssl.key --ssl-cert-file $SM_CONF/development/certificates-localhost.ssl/localhost.ssl.crt -p 9876
| salemove/media_stream_inspector | spec/test_server/start.sh | Shell | gpl-2.0 | 208 |
# Copyright 2005 Eduardo Sztokbant <du@du.eti.br>
#
# This file is part of stegotools.
#
# stegotools 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... | sztokbant/stegotools | test.sh | Shell | gpl-2.0 | 4,777 |
#!/bin/sh
TTYACM=ttyACM2
TTYGS=ttyGS0
REMOVE=remove
ADD=add
if [ $1 == "ttyACM0" ]; then
if [ $2 == $ADD ]; then
if [ ! -e /tmp/icedload ]; then
gcom -d /dev/ttyACM0 -s /etc/gcom/icera_setmode.gcom
fi
fi
fi
if [ $1 == $TTYACM ]; then
if [ $2 == $ADD ]; then
echo "device is $1 action is $2"
... | stevelord/PR30 | target/linux/imx25/base-files/etc/br_hotplug2.sh | Shell | gpl-2.0 | 723 |
#!/bin/sh
#Author: Romain Goffe
#Date: 07/05/2011
#Description: Generate an sb file containing all the songs that are not
# already in previous volumes
GREP="$GREP_OPTIONS"
export GREP_OPTIONS=""
BOOKS_DIR="books"
#all songs
cd songs
ls -1 */*.sg > ../res1
cd ..
#get volume 1 list
tail -n +13 "$BOOKS_DIR/volume-1.... | BeXa/songbook | utils/last-volume.sh | Shell | gpl-2.0 | 1,246 |
#!/bin/bash
cd /home/germaaan/Universidad/2o/SO
chmod u+x kernel32-3.0.4
./kernel32-3.0.4 ubda=./Fedora14-x86-root_fs mem=256M
| germaaan/trabajos_universidad | 2GII/SO/practica_01/codigo/sesion01_01.sh | Shell | gpl-2.0 | 127 |
#!/bin/sh
ROOT=$( pwd )
BUILD=${ROOT}/build
RAWIMAGE="${ROOT}/raw/f300-raw.img"
TARGET_IMG="vWLC_f300_$(date +%d_%h).qcow2"
#Mount the partitions
./updateimage.sh $RAWIMAGE attach
#copy the Scripts
mkdir -pv /mnt/part2/opt/nfvops
cp -dpRvf ${ROOT}/scripts/* /mnt/part2/opt/nfvops
#Detach the partitions
./updateimage... | nfvguru/LFSCloudImage | tools/build_wlc_image.sh | Shell | gpl-2.0 | 469 |
#!/bin/bash
### Propmt String Compiler ##
# Version: 0.1
# Copyright: Michael Schönitzer
# License: Gnu General Public License Version 3 or higher (GPLv3)
#
# You can write youre wished prompt string in a better readable way and
# then generate the valid prompt string with this script.
black='\\[\\e[30m\\]'; r... | Nudin/betterbash | psc.sh | Shell | gpl-3.0 | 2,637 |
#!/bin/sh
# $XFree86: xc/programs/xterm/vttests/8colors.sh,v 1.4 2002/09/30 00:39:08 dickey Exp $
#
# -- Thomas Dickey (1999/3/27)
# Show a simple 8-color test pattern
ESC=""
CMD='echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
eval '$CMD $OPT >$TMP || echo fail >$TMP' 2>/dev/null
( test ! -f $TMP || test -s $TMP ) &&
for ver... | chriskmanx/qmole | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/xterm/vttests/8colors.sh | Shell | gpl-3.0 | 1,451 |
#!/bin/bash
function open
{
cd ../
for var in $@
do
kate `find -name "${var}"`
done
}
function explain
{
echo "You should use this script as following:"
echo
echo "$0 <[FILE] | [PATTERN]>"
}
[[ $# -eq 0 ]] && explain
[[ $# -eq 1 ]] && open $@
| Orion-Community/andromeda | src/scripts/open.sh | Shell | gpl-3.0 | 256 |
#!/bin/sh
# Can be 25, 30, or 60 (per Gource)
FRAMERATE=25
BITRATE=3000K
BuildTools/Gource/GetGravatars.py BuildTools/Gource/UserImages
BuildTools/Gource/RunGource.sh --disable-progress --stop-at-end -640x360 $@ --output-framerate $FRAMERATE --output-ppm-stream - | ffmpeg -y -b $BITRATE -r $FRAMERATE -f image2pipe -v... | marosi/SocialDesktopClient | plugins/buddycloud/3rdparty/swift/BuildTools/Gource/CreateVideo.sh | Shell | gpl-3.0 | 399 |
#!/bin/bash
# linuxsampler
set -ex
cd $ZYNTHIAN_SW_DIR
# Download, Build & Install needed libraries: libgig & libscp
svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig
cd libgig
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure
make -j 1
make install
make clea... | zynthian/zynthian-sys | scripts/recipes/install_linuxsampler.sh | Shell | gpl-3.0 | 1,450 |
Script started on Tue 08 Dec 2015 08:26:03 PM PST
[spica001@hammer rshell]$ make
mkdir bin
g++ -ansi -pedantic -Wall -Werror -std=c++0x -w -o bin/rshell src/rshell.cpp
[spica001@hammer rshell]$ bin/rshell
spica001@hammer.cs.ucr.edu $ ls && echo A
bin clean.sh LICENSE Makefile multi.sh README.md src tests test.sh... | spica001/rshell | tests/multi_command.sh | Shell | gpl-3.0 | 878 |
#!/usr/bin/env bash
# First, run profile to generate substrate
# Second, test against prepared megamuga data
set -e
script_dir=`dirname "$0"`
cd "${script_dir}"/../
export PATH=`pwd`/:${PATH}
if [ ! -e megamuga_2018_06_21.RData ]
then
curl -O https://www.well.ox.ac.uk/~rwdavies/megamuga_2018_06_21.RData
fi
mkd... | rwdavies/STITCH | scripts/test-compare-vcf.sh | Shell | gpl-3.0 | 799 |
#!/bin/bash
fpc -CX -O3 -XX -vewnhi -Fi. -Fu. -FU. card_raytracer.lpr
mv card_raytracer card-raytracer-fpc
| Mark-Kovalyov/CardRaytracerBenchmark | fpc/make.sh | Shell | gpl-3.0 | 107 |
#!/usr/bin/env bash
. test_common.sh
id=input_output_mt
test_server_batch $id test
grep "Resource arrived " $id.log|sed -e 's|M_output\[[0-9]\+\]:.*Resource arrived (\([-0-9]*\))|\1|'|sort -u|sort -n >$id.log.result
test_compare_result $id
exit $?
| qiq/hector_core | test/input_output_mt.sh | Shell | gpl-3.0 | 250 |
../../../cgi-bin/retag title conv2.tab
| SuporteCTRL/suitesaber | bases/title/data/retag.sh | Shell | gpl-3.0 | 39 |
timeout_set "1 minute"
# Start an installation with 2 servers labeled 'hdd', 2 labeled 'ssd' and the default goal "ssd ssd"
USE_RAMDISK=YES \
CHUNKSERVERS=4 \
CHUNKSERVER_LABELS="0,1:ssd|2,3:hdd" \
MASTER_CUSTOM_GOALS="1 default: ssd ssd" \
MASTER_EXTRA_CONFIG="CHUNKS_LOOP_MIN_TIME = 1`
`|CHUNKS_LOOP_MAX_CPU = ... | lizardfs/lizardfs | tests/test_suites/ShortSystemTests/test_replication_with_endangered_chunks_priority.sh | Shell | gpl-3.0 | 2,268 |
#!/bin/bash
find . -name 'lgck-runtime' -delete
rm -f shared/lgck_res.cpp
| cfrankb/lgck-src | src/lgck-runtime/clean.sh | Shell | gpl-3.0 | 75 |
# Disable UseDNS to speed up boot skipping DNS lookup
echo "UseDNS no" >> /etc/ssh/sshd_config
# Configure "sudo" group with NO PASSWORD ACCESS
sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
# Add vagrant to "... | cloud-lab/git-repos | packer/centos/scripts/vagrant-sudo.sh | Shell | gpl-3.0 | 1,098 |
#!/bin/bash
TARGET=$1
cp -af $BR2_EXTERNAL_FTCOMMUNITY_TXT_PATH/docs/favicon.ico $TARGET/var/www/
# disable writing log files. On SD card we actually have the space for this, so we can leave this on
# mv $TARGET/etc/init.d/S01logging $TARGET/etc/init.d/M01logging||echo "Logging already turned off!"
# Remove obsolete PM... | ftCommunity/ftcommunity-TXT | board/fischertechnik/TXT/post-build.sh | Shell | gpl-3.0 | 1,447 |
#! /bin/bash
#
#Two Cents Crypto Frontend - Copyright (C) 2014 Giovanni Santostefano
#This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
#This is free software, and you are welcome to redistribute it
#under certain conditions; type `show c' for details.
#
# Developer: Giovanni Santostefano <gio... | LCyberspazio/TwoCentsCryptoFrontend | tccf_utils/cryptstorage_mount.sh | Shell | gpl-3.0 | 2,436 |
#!/bin/sh
set -e
cd /home/build/builds/
echo "$(cat /VERSION)"
exec "$@"
| piersfinlayson/otbiot-docker | idf-build/docker-entrypoint.sh | Shell | gpl-3.0 | 74 |
#!/usr/bin/env bash
# poor shell, pycharm is better.
# source ~/VirEnv/sanic/bin/activate
# install requirements
# pip3 install -r requirements.txt
# python3 index.py
| lpe234/sanicDemo | run.sh | Shell | gpl-3.0 | 171 |
#!/usr/bin/env bash
FILE="home-listing-$(date +%s).txt"
#tree ~ > $FILE
ls -R ~ > $FILE
# gzip will name compressed output file to $FILE.gz
gzip $FILE
read -p 'Please instert your USB flash drive SIR! (and then press ENTER) > ' ENTER
#mount /dev/disk/by-label/backupdisk /media/my-backup-usb &&
#
#if { df -h | grep /... | qjcg/shell-examples | _absg-solutions/02_homedir-listing.sh | Shell | gpl-3.0 | 565 |
#!/bin/sh
dd if=stage2.bin of=stage2a.bin bs=1 count=32767
dd if=stage2.bin of=stage2b.bin bs=1 skip=32767 count=32767
tools/bin2header/bin2header stage2a.bin stage2a.h stage2a
tools/bin2header/bin2header stage2b.bin stage2b.h stage2b
| rvalles/asbestos-avr8susb | tools/make_stage2_array.sh | Shell | gpl-3.0 | 235 |
#!/bin/sh
./caesar_cipher.py 13 "this is my shit" encrypt
./hack_caesar.py "`cat tmp.txt`"
| citypw/citypw-SCFE | security/crypto/hacking_secret_ciphers_with_python/test.sh | Shell | gpl-3.0 | 92 |
#!/bin/bash
set -e
rev=`git log -1 --pretty='format:%h' HEAD`
# Unused variables
unused_variables=`node_modules/.bin/webpack --config config/webpack.config.js -p 2<&1 \
| grep "Side effects in initialization of unused variable" \
| wc -l `
echo $rev,"js_unused",$unused_variables
# build size
size=`du -k build... | whybug/whybug-server | bin/metrics_on_this_rev.sh | Shell | gpl-3.0 | 496 |
#!/bin/bash
# install_ss_local.sh
# ShadowsocksX-NG
#
# Created by 邱宇舟 on 16/6/6.
# Copyright © 2016年 qiuyuzhou. All rights reserved.
cd `dirname "${BASH_SOURCE[0]}"`
NGDir="$HOME/Library/Application Support/ShadowsocksX-NG"
TargetDir="$NGDir/ss-local-3.0.5"
LatestTargetDir="$NGDir/ss-local-latest"
echo ngdir:... | DesmondAssis/codebase | ShadowsocksX-NG.app/Contents/Resources/install_ss_local.sh | Shell | gpl-3.0 | 732 |
#!/bin/bash
# ------------------------------------------------------------------------------
# arguments
package_root=$1
build_root=$2
install_root=$3
fortran_compiler=$4
cxx_compiler=$5
c_compiler=$6
# ------------------------------------------------------------------------------
# internal script library
source "$PAC... | dongli/obsolete-packman | scripts/install_nco.sh | Shell | gpl-3.0 | 2,679 |
#!/bin/bash
# Generate Self-Signed Certificates for NEMS Linux
# By Robbie Ferguson
# nemslinux.com | baldnerd.com | category5.tv
platform=$(/usr/local/share/nems/nems-scripts/info.sh platform)
echo ""
echo "Generating unique SSL Certificates..."
# Install make-ssl-cert if it isn't already installed
if [[ ... | Cat5TV/nems-scripts | gen-cert.sh | Shell | gpl-3.0 | 1,633 |
#!/bin/bash
#### Input: token file (one review per line; tokens are delimited by white space): *.txt.tok
#### label file (one label per line): *.cat
#### These input files were generated by prep_imdb.sh and included in the package.
#### To find the order of the data points, see prep_imdb.sh and the ... | riejohnson/ConText | examples/shcnn-seq-imdb-elec.sh | Shell | gpl-3.0 | 2,509 |
#!/usr/bin/env bash
# expand to null string if not file matches glob
shopt -s nullglob
readonly VERSION=1.0.0
readonly PROGRAM=$(basename $0)
PODCASTS_DIR=$HOME/music/podcasts
IMAGE_DIR=$HOME/.podracer/icons
VERBOSE=0
usage() {
cat <<EOF
USAGE ${PROGRAM}
Fix title, album, artist and icon image of podcasts... | frankhjung/ansible-debian | roles/podracer/files/fixpodcasts.sh | Shell | gpl-3.0 | 3,739 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.