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 |
|---|---|---|---|---|---|
leveldb
# 只限本地使用,硬盘存储数据的内存数据库
yum install -y gcc-c++
wget http://10.10.76.79:81/muzy/software/leveldb-1.15.0.tar.gz
tar zxvf leveldb-1.15.0.tar.gz
cd leveldb-1.15.0
make
cp -r include/leveldb /usr/local/include
| XiaJieCom/change | document/Service/leveldb/leveldb安装.sh | Shell | lgpl-2.1 | 256 |
#!/bin/bash
myfp=`which $0`
mydir=`dirname $myfp`
echo $mydir
for f in $mydir/*.x3db
do
echo "Processing - $f"
if ./x3db2x3d "$f" > /dev/null; then
echo "succesfull"
fi
done
| Supporting/xiot | data/web3d/convert2X3D.sh | Shell | lgpl-2.1 | 182 |
#!/bin/bash
set -e
set +h
. /etc/alps/alps.conf
. /var/lib/alps/functions
SOURCE_ONLY=y
URL="http://search.cpan.org/CPAN/authors/id/M/MW/MWX/Data-Uniqid-0.11.tar.gz"
VERSION=0.11
NAME="perl-modules#perl-data-uniqid"
cd $SOURCE_DIR
wget -nc $URL
TARBALL=`echo $URL | rev | cut -d/ -f1 | rev`
DIRECTORY=`tar tf $TARBA... | FluidIdeas/parsers | blfs-resources/extrascripts/perl-modules#perl-data-uniqid.sh | Shell | lgpl-2.1 | 640 |
#!/bin/sh
# -----------------------------------------------------------------------------------------------
# This program is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
# Foundation.
#
# You should ha... | mbatchelor/pentaho-reporting | assemblies/samples/Sample3.sh | Shell | lgpl-2.1 | 1,098 |
#!/bin/sh -x
set -e
test -f src/osa.in || {
echo "You must run this script in the top-level open smart array directory"
exit 1
}
check_for_pkg_config() {
which pkg-config >/dev/null && return
echo
echo "Error: could not find pkg-config"
echo
echo "Please make sure you have pkg-config ins... | SmartMircoArray/OpenSmartArray | autogen.sh | Shell | lgpl-2.1 | 1,093 |
#{#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of REDHAWK core.
#
# REDHAWK core is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Fre... | RedhawkSDR/framework-codegen | redhawk/codegen/jinja/project/softPackageDependency/templates/build.sh | Shell | lgpl-3.0 | 2,114 |
printf Section: misc > gdal-abi.control
echo Priority: optional >> gdal-abi.control
echo Standards-Version: 3.9.2 >> gdal-abi.control
echo Package: gdal-abi-2-1-0 >> gdal-abi.control
echo Version: 2.1.0 >> gdal-abi.control
echo Depends: libgdal20 >> gdal-abi.control
echo Description: fake package for qgis which needs a... | jannes-m/RQGIS | inst/travis/gdal-abi.sh | Shell | lgpl-3.0 | 355 |
#!/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... | qinting513/SwiftNote | HandyJSONDemo-JSON转模型工具!/Pods/Target Support Files/Pods-HandyJSONDemo/Pods-HandyJSONDemo-frameworks.sh | Shell | apache-2.0 | 3,711 |
#docker rm -f percona-flowerexpert
docker run --name percona-flowerexpert -p 6603:3306 -e MYSQL_ROOT_PASSWORD=12345 -d percona/percona-server:latest --character-set-server=utf8 --collation-server=utf8_general_ci | Javer-com-ua/FlowerExpert | docker.sh | Shell | apache-2.0 | 212 |
#!/bin/bash
echo "The Unicontrol easy installer"
echo "To change downloads dir, cancel install and cd to the new dir."
echo "Are you sure you want to continue?"
read ANS
echo "Answered $ANS!"
if [ "x$ANS" = "xyes" ] ; then
echo "starting installer"
wget https://raw.githubusercontent.com/flash76/Unicontrol/maste... | flash76/Unicontrol | install.sh | Shell | apache-2.0 | 436 |
#!/bin/bash
#
# Usage:
# ./setup.sh <function name>
source common.sh
set -o nounset
set -o pipefail
set -o errexit
download-re2() {
mkdir -p _deps
wget --directory _deps \
https://github.com/google/re2/archive/2018-10-01.tar.gz
}
readonly RE2_DIR=_deps/re2-2018-10-01
# Easy to build.
# NOTE: Depends on C... | oilshell/blog-code | fgrep-problem-benchmarks/build.sh | Shell | apache-2.0 | 658 |
#!/bin/bash -e
cd ~
nohup python -m SimpleHTTPServer 8080 > ~/http.out 2> ~/http.err &
| cloudify-cosmo/cloudify-training-labs | _preparation/blueprints/scripts/start-http.sh | Shell | apache-2.0 | 87 |
#!/bin/sh
# Downloads and crosscompiles libraries needed for Apache Celix and Inaetics demonstrator
# You have to build the toolchains first in order to crosscompile.
rootdir=$(pwd)
arm() {
# check for toolchain
if [ ! -d "toolchain" ]; then
echo "No toolchain found in: $rootdir/toolchain"
exit 1
fi
#... | marcojansen/android-inaetics | libraries.sh | Shell | apache-2.0 | 4,584 |
#!/usr/bin/env bash
# Copyright 2016 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 b... | GoogleCloudPlatform/repository-gardener | use-latest-deps-html.sh | Shell | apache-2.0 | 3,177 |
# Copy the hog file into our execution environment
cp /opt/share/hog.py /opt/env
python3 /opt/env/winrate.py | kvchen/hog-winrate-web | docker/entrypoint.sh | Shell | apache-2.0 | 108 |
#!/usr/bin/env bash
service=$1
hosts=$2
port=$3
checkurl () {
url=$1
host=$2
export no_proxy=$host
curl $url -o /dev/null
echo $?
}
if [[ -z "$service" || -z "$hosts" ]]; then
echo "UNKNOWN: Invalid arguments; Usage: check_webui_ha.sh service_name, host_name";
exit 3;
fi
case "$service" in
resourceman... | Pierrotws/shinken-plugins | check_webui_ha.sh | Shell | apache-2.0 | 813 |
#!/usr/bin/env bash
# Copyright 2021 Google LLC
#
# Licensed under the the Apache License v2.0 with LLVM Exceptions (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://llvm.org/LICENSE.txt
#
# Unless required by applicable law or... | google/llvm-premerge-checks | containers/stats/entrypoint.sh | Shell | apache-2.0 | 826 |
CKPT_DIR="/path/BERT4Rec"
dataset_name="ml-20m"
max_seq_length=200
masked_lm_prob=0.2
max_predictions_per_seq=20
dim=64
batch_size=256
num_train_steps=400000
prop_sliding_window=0.5
mask_prob=1.0
dupe_factor=10
pool_size=10
signature="-mp${mask_prob}-sw${prop_sliding_window}-mlp${masked_lm_prob}-df${dupe_factor}-mpp... | FeiSun/BERT4Rec | run_ml-20m.sh | Shell | apache-2.0 | 1,522 |
#!/usr/bin/env bash
#---------------------------------------------------------------------------
# Copyright 2011-2013 The Open Source Electronic Health Record Agent
#
# 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 ... | luisibanez/vista-debian-med-package | Scripts/Install/GTM/removeVistaInstanceMinimal.sh | Shell | apache-2.0 | 2,891 |
#!/usr/bin/env bash
java $JAVA_OPTS -jar docker-1.0.0-final-fatter.jar -cp . -conf conf.json -cluster -cluster-host $HOSTNAME -i
| unixunion/vertx-dockermod | run.sh | Shell | apache-2.0 | 129 |
sudo apt-get install -y python-setuptools
sudo easy_install pip
sudo pip install pytest
sudo pip install coverage
sudo pip install pytest_cov
sudo pip install beaker
#####
# Python's scientific computing tools.
#####
sudo apt-get install --yes automake autoconf libtool gfortran liblapack-dev g++ gcc python2.7-dev libr... | acompa/leptoid | bin/chef/files/default/install_test_dependencies.sh | Shell | apache-2.0 | 725 |
#!/bin/bash
set -e
set -u
set -o pipefail
echo "Generating envoy.yaml"
sed 's/<<<TAGPOST_GRPC_PORT>>>/'"$TAGPOST_GRPC_PORT"'/g;s/<<<TAGPOST_GRPC_WEB_PORT>>>/'"$TAGPOST_GRPC_WEB_PORT"'/g;s/<<<BACKEND_HOST>>>/'"$BACKEND_HOST"'/g' \
/etc/envoy/envoy.template.yaml \
> /etc/envoy/envoy.yaml
echo "Starting server"... | googleinterns/tagpost | third_party/envoy/config/opt/bootstrap/start_envoy.sh | Shell | apache-2.0 | 357 |
#!/bin/bash
# Tests the OUTCONTAINER crawler mode
# Returns 1 if success, 0 otherwise
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
UUID=`uuid`
mkdir -p /bla
touch /bla/$UUID
python2.7 ../config_and_metrics_crawler/crawler.py --crawlmode INVM \
--features=file --options '{"file... | ricarkol/agentless-system-crawler | tests/old/test_crawl_file_invm.sh | Shell | apache-2.0 | 383 |
#!/usr/bin/env bash
THREE_SCALE_PREVIEW_USER_KEY="not-set"
F8A_API_URL="not-set"
F8A_JOB_API_URL="not-set"
OSIO_AUTH_SERVICE="not-set"
F8A_THREE_SCALE_PREVIEW_URL="not-set"
F8A_SERVICE_ID="not-set"
F8A_GREMLIN_URL="not-set"
F8A_GEMINI_API_URL="not-set"
RECOMMENDER_REFRESH_TOKEN="not-set"
#Optional
AWS_ACCESS_KEY_ID="... | tisnik/fabric8-analytics-common | integration-tests/env.sh | Shell | apache-2.0 | 1,698 |
#!/bin/sh
set -e
SCRIPTS_DIR=`pwd`/target/mysql-cluster-pkg/bin
ZK_PORT=2199
ZK_ADDRESS="localhost:$ZK_PORT"
CLUSTER_NAME="FULLMATIX_DEMO"
DEMO_DIR=`pwd`/DEMO
#Run the quick-demo
$SCRIPTS_DIR/quick-demo.sh $ZK_ADDRESS $CLUSTER_NAME 2>&1
| kishoreg/fullmatix | mysql-cluster/quick-demo-run.sh | Shell | apache-2.0 | 245 |
mkdir -p $1/lib
case $MODULE in
client)
mvn -f client/pom.xml package
cp client/target/doss-*with-dep*.jar $1/lib
;;
*)
mvn package
cp target/doss-*with-dep*.jar $1/lib
;;
esac
| nla/doss | nla-deploy.sh | Shell | apache-2.0 | 195 |
#!/bin/bash
# This script will set up the java classpath with the required libraries
# then call patchxml with the given arguments
#First find out where we are relative to the user dir
callPath=${0%/*}
if [[ -n "${callPath}" ]]; then
callPath=${callPath}/
fi
java -cp ${callPath}build:${callPath}lib/diffxml.jar or... | amouat/diffxml | patchxml.sh | Shell | apache-2.0 | 353 |
# Usage: ip_for.sh postgresql_server
CONTAINER_ID=$(docker ps | grep ${1} | awk '{print $1}')
IP=$(docker inspect $CONTAINER_ID | python -c 'import json,sys;obj=json.load(sys.stdin);print obj[0]["NetworkSettings"]["IPAddress"]')
echo $IP
| HatPull/docker-postgresql | ip_for.sh | Shell | apache-2.0 | 238 |
#!/bin/sh
azure network dns record-set create mobyourlife $1 email CNAME --ttl 3600
azure network dns record-set add-record mobyourlife $1 email CNAME -c business.zoho.com
| mobyourlife/scripts | zoho-cname.sh | Shell | apache-2.0 | 175 |
#!/bin/sh
####---- install dependencies ----begin####
if [ "$ifredhat" != "" ];then
yum makecache
yum -y install kernel-devel python
elif [ "$ifcentos" != "" ];then
yum makecache
yum -y install kernel-devel python
elif [ "$ifubuntu" != "" ];then
apt-get -y update
apt-get -y install python build-essential g... | forging2012/lnmp-1 | sh/nodejs/install_nodejs.sh | Shell | apache-2.0 | 1,744 |
#!/bin/bash
### BEGIN INIT INFO
# Provides: openit
# Required-Start: $remote_fs $syslog $network
# Required-Stop: $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: openit initscript
# Description: openit initscript
### END INIT INFO
NODE=/opt... | msprunck/openit-device | openit.sh | Shell | apache-2.0 | 795 |
#!/bin/bash
# This script checks whether the amount of memory used by ProxySQL's query
# digest table exceeds the specified percentage of the server's total RAM. If
# so, the query digest table is reset.
set -e
set -o pipefail
set -u
#set -x
# Execute 'log_exit' when the script exits
trap 'log_exit ${?}' EXIT
# If ... | bloomberg/chef-bcpc | chef/cookbooks/bcpc/files/default/proxysql/check-query-digest.sh | Shell | apache-2.0 | 1,478 |
#!/usr/bin/env bash
################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. T... | DieBauer/flink | flink-dist/src/main/flink-bin/bin/taskmanager.sh | Shell | apache-2.0 | 5,748 |
#!/bin/bash
# shellcheck disable=SC1090
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | teamclairvoyant/hadoop-deployment-bash | install_jdbc.sh | Shell | apache-2.0 | 9,601 |
# run a test
/usr/local/bin/phpunit test test/001_microcosm.php | TimSC/microcosm | runtests.sh | Shell | bsd-2-clause | 64 |
#!/bin/bash
sudo pacman -Syu
sudo pacman -S xfce4 xfce4-goodies firefox chromium ttf-dejavu kupfer
| rafamoreira/dotfiles | bootstrap/arch/05.DE/xfce.sh | Shell | bsd-2-clause | 99 |
#!/bin/sh
PROGDIR=$(cd "$(dirname "$0")"; pwd -P)
PROGNAME=$(basename "$0")
if [ ! -d "$HOME/Library/Application Support/Developer/Shared/Xcode/Plug-ins/" ]; then
echo "Warning: No plugins of Xcode found."
exit 0
fi
INSTALLEDXCODEUUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilit... | ploverlake/Playground | adapt_plugins_for_new_xcode.sh | Shell | bsd-2-clause | 1,174 |
make fractal
for i in `seq 10`
do
./fractal $1 --dry-run | grep " us"
done
| WojciechMula/toys | arm-neon-mandelbrot/benchmark.sh | Shell | bsd-2-clause | 79 |
#!/bin/bash
set -e
set -x
FOLDER=${FOLDER:-imagenet-val-sorted/}
TARFILE=${TARFILE:-imagenet-val-sorted.tar}
clear-caches ()
{
sync && echo "echo 3 > /proc/sys/vm/drop_caches" | sudo sh
}
# no model
clear-caches
python -m pencroft benchmark "$FOLDER" -t 10 -l multiprocessing
clear-caches
python -m pencroft ben... | lukeyeager/pencroft | examples/keras/run.sh | Shell | bsd-3-clause | 931 |
#!/bin/sh
rm -rf lib
src/util/buildScripts/build.sh --profile profile.js
rm lib/dojoment-client/resources/*.styl
| kitsonk/dojoment | build_lib.sh | Shell | bsd-3-clause | 114 |
#!/bin/sh -e
# Copyright (c) 2016 The crouton Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
ARCH='#ARCH#'
MIRROR='#MIRROR#'
MIRROR2='#MIRROR2#'
DISTRO='#DISTRO#'
RELEASE='#RELEASE#'
PROXY='#PROXY#'
VERSION='#VERSION#'
USERNAME='#USER... | elkangaroo/chroagh | installer/prepare.sh | Shell | bsd-3-clause | 12,495 |
#!/bin/bash
if [ ! -f packages/FAKE/tools/Fake.exe ]; then
mono .nuget/NuGet.exe install FAKE -OutputDirectory packages -ExcludeVersion
fi
if [ ! -f packages/SourceLink.Fake/tools/SourceLink.fsx ]; then
mono .nuget/NuGet.exe install SourceLink.Fake -OutputDirectory packages -ExcludeVersion
fi
mono packages/FAKE/too... | Olveczky-Lab/FAST | FAST source/FsPickler/build.sh | Shell | bsd-3-clause | 353 |
#!/bin/sh
#script to setup quagga environment
# install quagga with
# sudo apt-get install quagga quagga-doc
clear
echo "Create .conf files"
touch /etc/quagga/zebra.conf
touch /etc/quagga/ospfd.conf
echo "Populate configuration files"
#zebra.conf
echo "hostname Router" >> /etc/quagga/zebra.conf
echo "password zebr... | PP90/ANAWS-project-on-Traffic-Engineering | Old_project/quagga setup.sh | Shell | bsd-3-clause | 1,226 |
GEM5_BINARY="./build/ARM/gem5.debug"
TEST_PROG="tests/test-progs/hello/bin/arm/linux/hello"
INJECT_TIME=1000000
INJECT_LOC=5
INJECT_ARCH="FU"
GEM5_OPTIONS=""
DEBUG_SCOREBOARD=true #set false to disable debug flag
if [ $DEBUG_SCOREBOARD = true ]; then
GEM5_OPTIONS="--debug-flags=MinorScoreboard -r"
fi
$GEM5_BINA... | BellScurry/gem5-fault-injection | run_fi_to_scoreboard.sh | Shell | bsd-3-clause | 477 |
#!/bin/sh
# execute all commands in debug mock mode
set -x
./webhook.py -md wake
./webhook.py -md suspend
./webhook.py -md poweroff
./webhook.py -md poweroff_linux
./webhook.py -md reboot_linux
./webhook.py -md unknown_comand
| toniarnold/webhook | webhook_runall.sh | Shell | bsd-3-clause | 226 |
#!/usr/local/bin/bash
# DESCRIPTION: Check OUI from MAC-ADDRESS
# Not compliant with CIDR MAC@ masks seen in oui wireshark file.
# Just a grep, need to check structure to be sure MAC@ has been provided.
if [ -z "$1" ]; then
echo "Error0: MAC@ not provided."
else
if [ -f "$VAOS_PATH/db_files/oui" ]; then
grep $1 .... | JohanRibes/VAOS | commands/tool/oui_lookup.sh | Shell | bsd-3-clause | 402 |
#!/bin/echo Must_be_sourced:
fb_dir=$(dirname ${BASH_SOURCE[0]})
fb_dir=$(dirname $fb_dir)
fb_path="$fb_dir/user_php"
function foo() {
local -a output
local one="$1"
local IFS=$(echo -ne "\n\t")
# call script
output=($(php "$fb_path/Foo_Bar_w.php" "$one"))
if [[ -n ${output[1]} ]]; then
three="${outp... | chrispollitt/cygwin | user_bash/Foo_Bar.bash | Shell | bsd-3-clause | 808 |
#!/bin/bash
pg_dump --user postgres --data-only --column-inserts carnivora \
| grep . \
| grep -v 'SET s' \
| grep -v -- '--'
| hemio-ev/carnivora | dev/dump.bash | Shell | mit | 139 |
#!/bin/bash
# A 'cat' here-document, but with parameter substitution disabled.
NAME="John Doe"
RESPONDENT="the author of this fine script"
cat <<'Endofmessage'
Hello, there, $NAME.
Greetings to you, $NAME, from $RESPONDENT.
Endofmessage
# No parameter substitution when the "limit string" is quoted or escaped.... | yimng/LEARN | abs/advance/here2.sh | Shell | mit | 759 |
#! /bin/bash
PROJECT_DIR="."
WORKSPACE_FN="$PROJECT_DIR/Wikipedia.xcworkspace"
SCRIPTS_ROOT="$PROJECT_DIR/scripts"
UNCRUSTIFY_SCRIPTS="$SCRIPTS_ROOT"
UNCRUSTIFY_CONFIG="$PROJECT_DIR/uncrustify.cfg"
UNCRUSTIFY_FILELIST="$PROJECT_DIR/to_uncrustify.txt"
UNCRUSTIFY_DEBUGLOG="$PROJECT_DIR/uncrustify_debug.log"
UNCRUSTIFY_S... | iOSTestApps/apps-ios-wikipedia | scripts/uncrustify_all.sh | Shell | mit | 1,193 |
#!/bin/bash
FN="LymphoSeqDB_0.99.2.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/LymphoSeqDB_0.99.2.tar.gz"
"https://bioarchive.galaxyproject.org/LymphoSeqDB_0.99.2.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-lymphoseqdb/bioconductor-lymphoseqdb_0.99.2_src_a... | roryk/recipes | recipes/bioconductor-lymphoseqdb/post-link.sh | Shell | mit | 1,424 |
#!/usr/bin/env bash
#
# Copyright (c) 2019-2021 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
export CONTAINER_NAME=ci_native_qt5
export DOCKER_NAME_TAG=debian:buster # Check t... | fanquake/bitcoin | ci/test/00_setup_env_native_qt5.sh | Shell | mit | 1,222 |
export PYTHONPATH=/home/pi/psmoveapi/build/
| aangert/PiParty | color_tests/pythonpath.sh | Shell | mit | 44 |
#!/usr/bin/env bash
chmod +w $TRAVIS_BUILD_DIR/Gemfile
rm $TRAVIS_BUILD_DIR/Gemfile
| watusi/rhodes | .ci/hosts/osx/pre_gem.sh | Shell | mit | 85 |
#!/bin/bash
/usr/local/bin/pandoc -c ../page.css --self-contained --standalone final-exam.md -o final-exam.html
/usr/local/bin/pandoc -c ../page.css --standalone final-exam.md -o final-exam.linked.html
/usr/local/bin/pandoc --latex-engine=xelatex --self-contained --standalone final-exam.md -o final-exam.pdf
| UNM-GEOG-485-585/class-materials | final-exam/generate.sh | Shell | mit | 312 |
#!/bin/bash
echo "Installing Jenkins..."
curl -Lo jenkins.war https://get.jenkins.io/war-stable/latest/jenkins.war
ls;
echo "Running jenkins.war and sleeping for 45 sec...."
java -Dhudson.DNSMultiCast.disabled=true -Djenkins.install.runSetupWizard=false -jar jenkins.war&
sleep 45
echo "Installing Jenkins CLI.."
curl... | jenkinsci/testfairy-plugin | scripts/install_jenkins.sh | Shell | mit | 387 |
#!/bin/bash
node ./dist/main.js
| leftiness/ton-social | bin/start.sh | Shell | mit | 32 |
#!/bin/bash
#+======================================================================
# $HeadURL: https://svnpub.iter.org/codac/iter/codac/dev/units/m-codac-unit-api/trunk/src/main/resources/test.sh $
# $Id: test.sh 54863 2015-02-20 21:39:47Z zagara $
#
# Project : CODAC Core System
#
# Description : Test script... | ControlSystemStudio/org.csstudio.iter | products/org.csstudio.iter.css.product/demo/m-TEST/src/test/epics/test.sh | Shell | epl-1.0 | 1,951 |
#
# This bash script is run after a test has been run, to restore the user yzis
# directory. The script assumes that pre_test.sh has been run before.
#
# To use it, simply source it:
# source post_test.sh
#
# restore config file on linux
if [ -e "$user_home/.yzis_saved_for_tests" ]; then
echo "Restoring .yzis_sav... | chrizel/Yzis | tests/scripts/post_test.sh | Shell | gpl-2.0 | 525 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-2017 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... | fasterthanlime/tup-fuseless | test/t6027-broken-update10.sh | Shell | gpl-2.0 | 1,210 |
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h#$(getEnvVer) \[\e[33m\]\w\[\e[0m\]\n\$ '
export TZ='Asia/Shanghai'
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH"
export LIBPATH="$LIBPATH"
export SHLIB_PATH="$LIBPATH"
export LD_LIBRARY_PATH="$LIBPATH"
ulimit -c unlimited
if [[ ${USER} == '' ]];... | Alafafa/AlaCode | shs/userc.bash | Shell | gpl-2.0 | 669 |
#!/bin/sh
# Absolute path to this script. /home/user/bin/foo.sh
SCRIPT=$(readlink -f $0)
# Absolute path this script is in. /home/user/bin
SCRIPTPATH=`dirname $SCRIPT`
echo $SCRIPTPATH
cd $SCRIPTPATH
freecad cq_make_capacitors_export_fc.py 1206_h078
| metacollin/kicad-3d-models-in-freecad | cadquery/FCAD_script_generator/launch-cq-cap.sh | Shell | gpl-2.0 | 252 |
#!/bin/bash
TOOLS=`dirname $0`
if [ `uname` = "Darwin" ]; then
BASE=$(cd "$TOOLS/.."; pwd -P)
# Don't forget to install gsed command using "brew install gnu-sed"
SED=gsed
else
BASE=`readlink -f ${TOOLS}/..`
SED=sed
fi
# Make it full
TOOLS="$BASE/tools"
TLS_DIST=${TLS_DIST:-false}
START_NODES=${ST... | michalwski/MongooseIM | tools/travis-common-vars.sh | Shell | gpl-2.0 | 1,429 |
#!/bin/sh
if [ "x$1" = "x--i-really-know-what-im-doing" ] ; then
echo Proceeding as requested by command line ...
else
echo "*** Please run again with --i-really-know-what-im-doing ..."
exit 1
fi
repo="https://ceres-solver.googlesource.com/ceres-solver"
branch="master"
#tag="1.4.0"
tag=""
tmp=`mktemp -d`
checko... | pawkoz/dyplom | blender/extern/libmv/third_party/ceres/bundle.sh | Shell | gpl-2.0 | 7,094 |
#!/bin/bash
git clone git://git.linphone.org/srtp.git || exit 1
mv srtp srtp-git$1
tar --remove-files -cJvf srtp-git$1.tar.xz srtp-git$1
| MagicGroup/MagicSPECS | SPECS.lib/libsrtp/make_libsrtp_git_package.sh | Shell | gpl-2.0 | 139 |
#!/bin/sh
test_description='test git-http-backend respects CONTENT_LENGTH'
. ./test-lib.sh
test_lazy_prereq GZIP 'gzip --version'
verify_http_result() {
# some fatal errors still produce status 200
# so check if there is the error message
if grep 'fatal:' act.err.$test_count
then
return 1
fi
if ! grep "Stat... | brunosantiagovazquez/git | t/t5562-http-backend-content-length.sh | Shell | gpl-2.0 | 4,811 |
#!/usr/bin/env bash
echo "Saving host environment variables to host.env to access within docker"
printenv > .env | QuantiModo/quantimodo-android-chrome-ios-web-app | scripts/generate_env_file.sh | Shell | gpl-2.0 | 112 |
#!/bin/sh
# usage: ./mkdeb-xbmc-atv2.sh release/debug (case insensitive)
# Allows us to run mkdeb-xbmc-atv2.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-atv2 folder only
SWITCH=`echo $1 | tr [A-Z] [a-z]`
DIRNAME=`dirname $0`
DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms
DSYM_FILENAME=XB... | da-anda/xbmc | tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh | Shell | gpl-2.0 | 6,455 |
#! /bin/bash
#
# This file is part of adapta-gtk-theme
#
# Copyright (C) 2016-2018 Tista <tista.gma500@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 Licens... | tista500/Adapta | gtk/asset/assets-gtk2-scripts/clone-assets-gtk2.sh | Shell | gpl-2.0 | 1,089 |
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./.libs/:../../../src/usr/:../../../examples/usr/raio/
taskset -c 1 $FIO_ROOT/fio ./raio_rd_bw.fio
wait
| accelio/accelio | examples/raio/kernel/nbdx/fio_nbdx/run_f_io_rd_bw.sh | Shell | gpl-2.0 | 161 |
#!/usr/bin/env bash
# Resize images for responsive image display
# max height
LARGE_WIDTH=1120
MEDIUM_WIDTH=840
SMALL_WIDTH=400
identify -format "%wx%h" ${1}
filename=${1##*/}
imagename=${filename%%.*}
extension=${filename#*.}
convert ${1} -resize ${SMALL_WIDTH} ${imagename}_small.${extension}
convert ${1} -resize ... | cyberfrosty/webapps | static/img/resize.sh | Shell | gpl-3.0 | 417 |
#!/bin/bash
source $(dirname $0)/omorfi.bash
args=$@
function print_version() {
echo "omorfi-disambiguate-text 0.3 (using omorfi bash API ${omorfiapi})"
echo "Copyright (c) 2016 Tommi A Pirinen"
echo "Licence GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>"
echo "This is free software: you ... | redox-alpha/omorfi | src/bash/omorfi-disambiguate-text.sh | Shell | gpl-3.0 | 1,248 |
#!/bin/bash
# Required software:
# 1. Graphviz package (version 2.26.3 or higher) : http://www.graphviz.org/Download_linux_rhel.php
# 2. Doxygen (version 1.8.4 or higher): http://www.stack.nl/~dimitri/doxygen/download.html
# 3. xsddoc (version 1.0): http://nixbit.com/cat//documentation/xsddoc/
version=$1
# set versi... | vladimir-bukhtoyarov/jagger8 | make_docu.sh | Shell | lgpl-2.1 | 952 |
#! /bin/bash
if [ "$1" = --description ] ; then
echo "create a tgz file containing a plumed release, only works from git repository"
exit 0
fi
if [ $# != 1 ] ;
then
echo "Syntax:"
echo "release.sh 2.0"
exit 1
fi
version=$1
case "$version" in
(2.?*)
version="${version#2.}"
;;
(*)
echo "ERROR"
echo ... | sandipde/plumed-sandip | src/release.sh | Shell | lgpl-3.0 | 728 |
#!/bin/bash
doxygen
mv html/class_q_*.html .
rm -r html
| TeleMidia/nclcomposer | src/gui/toolwindowmanager/doc/build.sh | Shell | lgpl-3.0 | 58 |
#!/usr/bin/env bash
set -euxo pipefail
cd "$(dirname "$0")/.."
export PATH="$PWD/node_modules/.bin:$PATH"
eslint .
mocha ./test/*.js
nsp check --output summary
| genixpro/socket.io-amqp | travis/test.sh | Shell | lgpl-3.0 | 163 |
#!/bin/sh
#zshell
chsh -s /usr/bin/zsh
#oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
| joaolourenco/help | bin/install_oh_my_zsh.sh | Shell | unlicense | 156 |
#!/bin/bash
set -e
# NOTE - Do not echo any thing else in this script
# The output of below command is used as-is
ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/'
| chentex/maya | scripts/get_first_private_ip.sh | Shell | apache-2.0 | 194 |
#!/bin/bash
# Clean up test data from integration tests that is not
# cleaned up at the time of the tests. Uses the
# 'TEST_PROJECT' environment variable to get the project
# to delete test data from.
set -e
cd $(dirname $0)
apis=$(echo apis/Google.* | sed 's/apis\///g')
echo "Using test project '$TEST_PROJECT'"... | evildour/google-cloud-dotnet | cleantestdata.sh | Shell | apache-2.0 | 577 |
#!/bin/bash
set -e
function remove_extra {
lcov -q --remove $1 "coro/*" -o $1
lcov -q --remove $1 "bench/*" -o $1
lcov -q --remove $1 "build/CMakeFiles/*" -o $1
lcov -q --remove $1 "/usr/include/*" -o $1
}
./build.sh +eio cov
pushd build
lcov -c -i -d . -o evfibers_base.info
remove_extra evfibers_base.info
make... | Lupus/libevfibers | test_coverage.sh | Shell | apache-2.0 | 613 |
# ----------------------------------------------------------------------------
#
# Package : bcprov-ext-jdk15on
# Version : r1rv69
# Source repo : https://github.com/bcgit/bc-java
# Tested on : UBI: 8.3
# Script License: Apache License 2.0
# Maintainer's : Balavva Mirji <Balavva.Mirji@ibm.com>
#
#
#... | ppc64le/build-scripts | b/bcprov-ext-jdk15on/bcprov-ext-jdk15on_ubi_8.3.sh | Shell | apache-2.0 | 1,366 |
#! /bin/sh
# lib/gen-classlist.sh. Generated from gen-classlist.sh.in by configure.
# Make sure sorting is done the same on all configurations
# Note the use of sort -r below. This is done explicitly to work around
# a gcj bug (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21418)
LC_ALL=C; export LC_ALL
LANG=C; export ... | nmldiegues/jvm-stm | classpath-0.98/lib/gen-classlist.sh | Shell | apache-2.0 | 4,367 |
#!/bin/bash
SAMPLE=$1
for FA in $(ls *$SAMPLE*/transcripts.fa)
do
NEW=${FA/\/transcripts.fa/.nTx.fa}
echo "$FA --> $NEW"
mv $FA $NEW
done
for FA in $(ls *$SAMPLE*/contigs.fa)
do
NEW=${FA/\/contigs.fa/.nTx_ctg.fa}
echo "$FA --> $NEW"
mv $FA $NEW
done
| marcottelab/NuevoTx | denovo/velvet_oases/extract-oases-nTx.sh | Shell | apache-2.0 | 276 |
#!/usr/bin/env bash
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | stackforge/os-ansible-deployment | run_tests.sh | Shell | apache-2.0 | 3,654 |
#!/usr/bin/env bash
# ``upgrade-ironic``
echo "*********************************************************************"
echo "Begin $0"
echo "*********************************************************************"
# Clean up any resources that may be in use
cleanup() {
set +o errexit
echo "********************... | jiazichenzhan/Server_Manage_Plugin | ironic-plugin-pike/devstack/upgrade/upgrade.sh | Shell | apache-2.0 | 4,485 |
#!/bin/bash
set -e
if [ -z "$TRAVIS_OS_NAME" ]; then
TRAVIS_OS_NAME=linux
fi
echo 'Building and installing cmake.';
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
mkdir cmake_app && wget --quiet -O - ${CMAKE_URL} | tar --strip-components=... | RavenX8/osIROSE-new | cmake/scripts/install-cmake.sh | Shell | apache-2.0 | 481 |
precision mediump float;
uniform sampler2D sTexture;//纹理内容数据
varying vec2 vTextureCoord; //接收从顶点着色器过来的参数
varying vec4 vambient;
varying vec4 vdiffuse;
varying vec4 vspecular;
void main()
{
//将计算出的颜色给此片元
vec4 finalColor=texture2D(sTexture, vTextureCoord);
//给此片元颜色值
gl_FragColor = fi... | tigline/startmenu | assets/frag_tex_light.sh | Shell | apache-2.0 | 492 |
#!/bin/bash
#
# Copyright 2012 Marco Vermeulen
#
# 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 applicabl... | nobeans/gvm-cli | src/main/bash/gvm-flush.sh | Shell | apache-2.0 | 1,996 |
#!/bin/sh
UNAME=`uname`
mkdir -p m4
if [ "$UNAME" = "Darwin" ]; then
libtoolize --copy --force --automake
aclocal-1.9
autoheader-2.60
automake-1.9 --add-missing --copy --foreign
autoconf-2.60
else
libtoolize --copy --force --automake
aclocal
autoheader
automake --add-missing --copy --foreign
autoconf
fi
| photron/openwsman | autoconfiscate.sh | Shell | bsd-3-clause | 310 |
#!/bin/bash
# Download MIVB GTFS data
echo "Downloading MIVB GTFS"
( cd /tmp && curl -O http://gtfs.irail.be/mivb/mivb-gtfs.zip )
# Unzip
echo "Unzipping to /tmp/delijn-gtfs"
unzip /tmp/mivb-gtfs.zip -d /tmp/mivbstib-gtfs
# Import the data in MySQL-database
echo "Loading the data in database. Wait little 2 min..."
... | iRail/gtfs-tdt | datasources/mivb/init.sh | Shell | bsd-3-clause | 589 |
#!/bin/sh
# first, sudo visudo -f /etc/sudoers -> add /usr/bin/strace
# then, sudo sh ./getst001thread.sh
# then ssh -t st@172.18.167.180 /store/dev/st001jack/scanencoders.sh $threadid | python viz.py
[ "$1" -a "$2" ] || exit 1
cd ${0%/*}
sudo strace -p $1 -etrace=read,write -qq -esignal= -x -s128 2>&1 | grep --line-b... | wbthomason/rosbeam | testing/scanencoders.sh | Shell | mit | 351 |
chromium-browser http://localhost:8000 &
elm-server | Dobiasd/Maze | run_server.sh | Shell | mit | 51 |
ARG_DEFS=(
"[--version-name=(.*)]"
"--action=(clone|updateConfig|docs|demos)"
)
function init {
PROJECT_DIR=$SCRIPT_DIR/../..
BUILD_DIR=$SCRIPT_DIR/../../dist
IONIC_SITE_DIR=$SCRIPT_DIR/../../tmp/ionic-site
}
function clone {
echo "#################################"
echo "## Cloning ionic-site repo...... | shprink/ionic | scripts/site/publish.sh | Shell | mit | 2,822 |
rm ./libluajit.a
echo APP_ABI := x86>./Application.mk
NDK=/Users/luzexi/Desktop/work/_Environment/android-ndk-r9
NFK=$NDK/toolchains/x86-4.6/prebuilt/darwin-x86_64/bin/i686-linux-android-
cd luajit/src
make clean
make HOST_CC="gcc -m32 -ffast-math -O3" \
CROSS=$NFK \
TARGET_SYS=Linux \
TARGET_FLAGS="--sysroot $NDK/pla... | luzexi/slua-3rd-lib | build/android/jni/build_x86.sh | Shell | mit | 443 |
#!/bin/bash
THRESHOLD=300
sh ./test/vde_sock_start_user.sh
sleep 2
(iperf -s >/tmp/iperf.log)&
./build/test/picoapp.elf --vde pic0:/tmp/pic0.ctl:10.50.0.2:255.255.255.0:10.50.0.1: --app iperfc:10.50.0.1: &>/dev/null
killall iperf
RES=`cat /tmp/iperf.log |grep Mbits |sed -e "s/.*Bytes//g" |sed -e "s/^[ ]*//g"`
SPEED=`... | kostyll/picotcp | test/perf.sh | Shell | gpl-2.0 | 697 |
#!/bin/bash
# This script expects $1 to be passed and for $1 to be the filesystem location
# to an ERB file for which it will run syntax checks against. If $2 is passed,
# it will be stripped off of the path to provide prettier output, which is
# particularly useful for server-side hooks when tempdirs are created.
sy... | mrjoshuap/puppet-git-hooks | commit_hooks/erb_template_syntax_check.sh | Shell | gpl-2.0 | 1,074 |
#!/bin/sh
# PCSX2 - PS2 Emulator for PCs
# Copyright (C) 2002-2011 PCSX2 Dev Team
#
# PCSX2 is free software: you can redistribute it and/or modify it under the terms
# of the GNU Lesser General Public License as published by the Free Software Found-
# ation, either version 3 of the License, or (at your option) any l... | piorrro33/pcsx2 | linux_various/PCSX2-linux.sh | Shell | gpl-2.0 | 2,297 |
#! /bin/bash
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Wrapper script to launch PyLint ( http://www.pylint.org/ ) against
# CourseBuilder sources. This script is automatically run as part of
# run_all_tests.py, and can be used on individual files; run with -h
# option to get the "help" text on options and... | GirlsCodePy/girlscode-coursebuilder | scripts/pylint.sh | Shell | gpl-3.0 | 5,557 |
#! /bin/bash
## Offirmo Shell Library
## https://github.com/Offirmo/offirmo-shell-lib
##
## This file defines :
## - method for shell mutexes
##
## This file is meant to be sourced :
## source osl_lib_mutex.sh
## osl_lib_init is supposed to be already sourced
source osl_lib_output.sh
source osl_lib_debug.sh
sour... | Offirmo/web-tech-experiments | tosort/2015/simpli/contrib/offirmo-shell-lib/bin/osl_lib_mutex.sh | Shell | unlicense | 11,035 |
#!/usr/bin/env bash
#
# This postinstall script performs many of the steps necessary to install and configure
# the instructure for the DCCD web server software.
# The numbered steps match the manual installation steps described in the Github INSTALL.md file:
# https://github.com/DANS-KNAW/dccd-webui/blob/master/INSTA... | DANS-KNAW/dccd-webui | src/main/assembly/dccd-configure.sh | Shell | apache-2.0 | 20,697 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.