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
mkdir -p data pdfmaps
for pdffile in pdfs/*.pdf; do
echo "WORKING ON $pdffile ..."
pdftohtml -xml "$pdffile" > /dev/null
xmlfile=$(echo $pdffile | sed 's/\.pdf$/.xml/')
# draw maps
./parse_xml_from_pdfs.py "$xmlfile" 1
csvfile=$(echo $pdffile | sed 's/\.pdf$/.csv/' | sed 's#pdfs/#data/#')
./... | boogheta/various_scrapers | concours-ESR-PU-MC/parse_pdfs.sh | Shell | lgpl-3.0 | 373 |
#!/bin/sh
rm papart/src/Papart-examples
| poqudrof/PapARt | removeExamples.sh | Shell | lgpl-3.0 | 41 |
#!/bin/sh
cd `dirname $0`
. ./config.sh
. ./classpath.sh
exec java ${PANFMP_TOOLS_JAVA_OPTIONS} \
-Dlog4j.configuration="file:${PANFMP_TOOLS_LOG4J_CONFIG}" \
de.pangaea.metadataportal.harvester.Harvester \
"${PANFMP_CONFIG}" "$@"
| AuScope/NatPortalIGSN | panFMP/panFMP-1.1.0/scripts/harvest.sh | Shell | lgpl-3.0 | 233 |
#!/opt/local/bin/zsh
$GOPATH/github.com/gogits/gogs/gogs web & | xj9/smf-manifests | gogs/start-gogs.sh | Shell | unlicense | 63 |
function wikipedia {(
local lang="en"
while getopts ":l:" opt; do
case $opt in
l)
lang="$OPTARG"
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1
;;
:)
echo "Option -$OPTA... | Quarkex/dotfiles | functions/wikipedia.sh | Shell | unlicense | 553 |
#!/usr/bin/env zsh
rm -f /home/tunnel/Documents/Programs/MDPDF/cool.pdf && rm -f /home/tunnel/Documents/Programs/MDPDF/cool.html && pandoc -f markdown -t html5 $1 -o /home/tunnel/Documents/Programs/MDPDF/cool.html && echo '<link rel="stylesheet" type="text/css" href="/home/tunnel/Documents/Programs/MDPDF/tufte.css">' |... | Multipixelone/dotfiles | MDPDF/Pandoc.sh | Shell | unlicense | 522 |
#!/bin/bash
# Copyright 2019 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 ... | GoogleCloudPlatform/selkies-examples | vdi-vm/images/guacd/idle_shutdown.sh | Shell | apache-2.0 | 1,092 |
#!/bin/sh
#
#
# Copyright 2005 i-Konect 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 la... | tomrose/singularity | install/common/linux/bin/common.sh | Shell | apache-2.0 | 1,411 |
#!/bin/bash
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
$VALGRIND ./searchlib_changevector_test_app
rm -rf *.dat
rm -rf *.idx
rm -rf *.weight
rm -rf clstmp
rm -rf alstmp
| vespa-engine/vespa | searchlib/src/tests/attribute/changevector/changevector_test.sh | Shell | apache-2.0 | 237 |
#!/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/exposure-notifications-private-analytics-ingestion | ci/build.sh | Shell | apache-2.0 | 1,280 |
#!/bin/bash
LANGPACKSFOLDER='../../moodle-langpacks'
function check_success {
if [ $? -ne 0 ]; then
print_error "$1"
elif [ "$#" -gt 1 ]; then
print_ok "$2"
fi
}
function print_success {
if [ $? -ne 0 ]; then
print_message "$1"
$3=0
else
print_ok "$2"
f... | saman222/moodlemobile2 | scripts/functions.sh | Shell | apache-2.0 | 687 |
#!/bin/bash
set -e
if [[ $HACL_HOME == "" ]]; then
echo "Usage: HACL_HOME=<DIRECTORY> $0"
echo "Please set a suitable value for HACL_HOME"
exit 1
fi
echo -n "Will install vale into $(realpath $HACL_HOME/..)/vale, hit Ctrl-C to abort"
sleep 1
echo -n .
sleep 1
echo -n .
sleep 1
echo .
cd $HACL_HOME/..
if [ ! ... | mitls/hacl-star | tools/get_vale.sh | Shell | apache-2.0 | 1,208 |
#!/bin/bash
#Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
INTERFACE=eth0
BRIDGE=br0
ifconfig $INTERFACE 0.0.0.0
ifconfig $INTERFACE promisc
brctl addbr $BRIDGE
brctl addif $BRIDGE $INTERFACE
brctl setfd $BRIDGE 0
brctl sethello $BRIDGE 1
brctl stp $BRIDGE no
mv /sbin/dhclient /usr/sbin/dhc... | hohene/RackHD | example/infrasim/start_infrasim.sh | Shell | apache-2.0 | 424 |
#!/bin/bash
set -eu
set -o pipefail
if [ "$#" -ne 3 ] ; then
echo "word2vec_wrap <size> <window> <iters>"
exit 0
fi
echo "Training for modified word2vec (with both word and context vectors dump)"
model_dir=models/word2vec_$1_$2
mkdir -p $model_dir
./word2vec/word2vec -train data/wiki.shuffled-norm1-phrase1 -min_cou... | FTAsr/wordvet | trainWord2vec.sh | Shell | apache-2.0 | 487 |
# Copyright 2016 Sotera Defense Solutions Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License”);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | Sotera/aggregate-micro-paths | hive-streaming/run_ais.sh | Shell | apache-2.0 | 1,310 |
#!/bin/bash
# Manual Backup as root
# sh /backup/backup.sh >> /backup/logs 2>&1
###################################################
# Manual Restore - USE WITH CAUTION ! #
###################################################
# tar -xf mongo-11-11-11.tar.gz -C mongo-11-11-11 #
# mongorestore --dir mongo-11-... | wdhif/meteor-script-backup | backup.sh | Shell | apache-2.0 | 878 |
#!/bin/bash
#
# Copyright 2017 Istio Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | geeknoid/istio | tools/packaging/common/istio-start.sh | Shell | apache-2.0 | 5,072 |
#!/bin/bash
# Copyright 2017 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 ... | kubernetes-client/java | scripts/update-client.sh | Shell | apache-2.0 | 1,620 |
#!/usr/bin/env bash
# Copyright 2018 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | PAIR-code/deeplearnjs-legacy-loader | scripts/build-npm.sh | Shell | apache-2.0 | 1,101 |
#!/bin/sh
# Backs up all mysql databases on a given host.
#
# Copyright 2016 John Kinsella
#
# 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-... | jlk/backup_mysql_containers | backup_mysql_databases.sh | Shell | apache-2.0 | 1,390 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ... | BigData-Lab-Frankfurt/HiBench-DSE | pagerank/bin/prepare.sh | Shell | apache-2.0 | 1,459 |
#!/bin/sh
cd $WORKDIR
wait_for_tcp_service $ZED_DB_HOST $ZED_DB_PORT
sectionText "Propel - Creating configuration ..."
$CONSOLE propel:config:convert
sectionText "Propel - Insert PG compatibility ..."
$CONSOLE propel:pg-sql-compat
sectionText "Propel - Create database ..."
# Create database if it does not already ... | claranet/spryker-base | docker/init.d/200_dbms.sh | Shell | apache-2.0 | 650 |
#!/bin/bash
set -exuo pipefail
# The VERSION can be set with an environment variable. If it's not set, use $1
export VERSION=${VERSION:-$1}
if [ "$(docker ps -qa -f name=maproulette-frontend)" ]; then
echo "Removing existing maproulette-frontend container"
docker stop maproulette-frontend
docker rm maproulette... | maproulette/maproulette2-docker | frontend/docker-start.sh | Shell | apache-2.0 | 547 |
#!/bin/bash
python setup.py bdist_egg upload --identity="Alexander Alexandrov" --sign --quiet
python setup.py bdist_wininst --target-version=2.4 register upload --identity="Alexander Alexandrov" --sign --quiet
python setup.py sdist upload --identity="Alexander Alexandrov" --sign
| TU-Berlin-DIMA/scrum-tools | build.sh | Shell | apache-2.0 | 281 |
#!/bin/bash
set -o errexit
# ---------------UPDATE ME-------------------------------#
# Increment me any time the environment should be rebuilt.
# This includes dependency changes, directory renames, etc.
# Simple integer sequence: 1, 2, 3...
environment_version=47
#---------------------------------------------------... | mrunge/openstack_horizon | run_tests.sh | Shell | apache-2.0 | 16,000 |
#!/bin/sh
# This is the simple version of the install script for PageKicker.
#
# get master repository via git clone
#cd ~
#git clone https://github.com/fredzannarbor/pagekicker-community.git
# cd into the repo and run this script
# cd pagekicker-community
# ./simple-install.sh
# it will do the following
# create o... | fredzannarbor/pagekicker-community | debian-install.sh | Shell | apache-2.0 | 2,434 |
#!/bin/sh
./configure --prefix=$PREFIX --without-jni
make
make install
| bird-house/conda-recipes | _unused/proj4/build.sh | Shell | apache-2.0 | 73 |
# -----------------------------------------------------------------------------
#
# Package : right-align
# Version : 0.1.3
# Source repo : https://github.com/jonschlinkert/right-align
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.c... | ppc64le/build-scripts | r/right-align/right-align_rhel_8.3.sh | Shell | apache-2.0 | 3,074 |
rm GeoNames/allCountries.txt
rm GeoNames/cities1000.txt
rm GeoNames/alternativeNames.txt
rm -fr GazIndex/*
rm lib/*
| geoparser/geolocator | geo-locator/uninstall.sh | Shell | apache-2.0 | 117 |
# Copyright 2014-2016 Samsung Research America, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | csgordon/SJS | sjsc/phonegc.sh | Shell | apache-2.0 | 788 |
#!/bin/bash
APP_NAME=resp_q2rest_db
export APP_NAME
destinationUrl=http://localhost:8181/carrierInquiries/
export destinationUrl
jms_qcfName=jms/myConnectionFactory
export jms_qcfName
jms_providerUrl=t3://localhost:8001
export jms_providerUrl
jms_icfName=weblogic.jndi.WLInitialContextFactory
export jms_ic... | percyvega/resp_q2rest_db | manage/setVars_dev.sh | Shell | apache-2.0 | 399 |
#!/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 A... | yew1eb/flink | flink-end-to-end-tests/test-scripts/test-runner-common.sh | Shell | apache-2.0 | 3,437 |
#!/bin/bash -e
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | legrosbuffle/kythe | kythe/cxx/extractor/testdata/test_extract_transcript.sh | Shell | apache-2.0 | 1,522 |
pkg_name=compositeproto
pkg_origin=core
pkg_version=0.4
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="X11 Composite extension header files"
pkg_upstream_url="https://www.x.org/"
pkg_license=('MIT')
pkg_source="https://www.x.org/releases/individual/proto/${pkg_name}-${pkg_version}.tar.bz2... | be-plans/be | compositeproto/plan.sh | Shell | apache-2.0 | 506 |
#!/bin/bash
#
# RPM build script
#
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Source all our reusable functionality, argument is the location of this script.
. "$SCRIPT_DIR/../../admin-scripts/rpm-functions.sh" "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
declare -A ARGS
while [ $# -gt 0... | mses-bly/geowave | deploy/packaging/rpm/centos/6/rpm.sh | Shell | apache-2.0 | 2,734 |
#!/bin/bash
echo '##########################################################################'
echo '##### About to run install-vim-puppet-plugins.sh script ##################'
echo '##########################################################################'
sudo yum install -y epel-release || exit 1
sudo yum install -... | Sher-Chowdhury/vagrant-puppetmaster4 | scripts/install-vim-puppet-plugins.sh | Shell | apache-2.0 | 3,030 |
# ----------------------------------------------------------------------------
#
# Package : openapi-schema-validator
# Version : 0.1.4 & 0.1.5
# Source repo : https://github.com/p1c2u/openapi-schema-validator
# Tested on : UBI 8.3
# Script License : Apache Licen... | ppc64le/build-scripts | o/openapi-schema-validator/openapi-schema-validator_ubi_8.3.sh | Shell | apache-2.0 | 1,838 |
#!/bin/bash
#
# Copyright 2008 The open-vcdiff 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 requ... | elly/open-vcdiff | src/vcdiff_test.sh | Shell | apache-2.0 | 17,234 |
#!/bin/bash
#sleep 10 seconds
sleep 5
hdfs dfsadmin -safemode leave
#create directories
hadoop fs -mkdir /tmp
hadoop fs -mkdir /user/hive
hadoop fs -mkdir /user/hive/warehouse
hadoop fs -chmod g+w /tmp
hadoop fs -chmod g+w /user/hive/warehouse
#prepare mongod configure
mongod -f /etc/mongod.conf
| bhlx3lyx7/griffin-base-env | griffin/pre-start.sh | Shell | apache-2.0 | 301 |
#!/bin/bash
#
# Dump svn info to {tgt}
gwt_dir=~/src/google-web-toolkit
trunk_dir=${gwt_dir}/trunk
tgt=upstream.txt
if [ -d ${trunk_dir} ]
then
if svn info ${trunk_dir} | egrep -v '(^Path|UUID|Node|Schedule|Author|URL)' | egrep '[A-Z][a-z]*' > ${tgt}
then
cat -n ${tgt}
wc -l ${tgt}
e... | syntelos/gwtcc | upstream.sh | Shell | apache-2.0 | 477 |
#!/bin/sh
set -ex
# For some unknown reason libz is not found in the android docker image, so we
# use this workaround
case $TARGET in
arm-linux-androideabi | armv7-linux-androideabi )
export DEP_Z_ROOT=/android-ndk/arm/sysroot/usr/;;
aarch64-linux-android )
export DEP_Z_ROOT=/android-ndk/arm64/sysroot/u... | polonez/rustup.rs | ci/run-docker.sh | Shell | apache-2.0 | 5,331 |
#!/bin/sh
set -e
/usr/local/bin/dockerd \
--host=unix:///var/run/docker.sock \
--host=tcp://0.0.0.0:2375 \
--storage-driver=overlay &>/var/log/docker.log &
tries=0
d_timeout=60
until docker info >/dev/null 2>&1
do
if [ "$tries" -gt "$d_timeout" ]; then
cat /var/log/docker.log
echo 'Timed out tr... | NitorCreations/nitor-deploy-tools | docker-base/dockerd-entrypoint.sh | Shell | apache-2.0 | 435 |
#!/usr/bin/env bash
# TODO Fix https://access.redhat.com/solutions/2333821
find /root -type f -delete
yum reinstall rootfiles -y
cat <<< '
127.0.0.1 localhost.localdomain localhost
127.0.0.1 localhost4.localdomain4 localhost4
::1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
' > /etc/hosts
... | GauchoConsulting/machine-image-catalog | scripts/cleanup.sh | Shell | apache-2.0 | 1,675 |
#!/bin/bash -ex
source /img_build/buildconfig
curl -s https://packagecloud.io/install/repositories/datawire/${DATAWIRE_REPOSITORY}/script.deb.sh | bash
apt-get install -y datawire-proton datawire-directory datawire-sherlock datawire-watson python-pip
yes | pip install docopt flask
| datawire/bakerstreet-docker-template | image/install.sh | Shell | apache-2.0 | 284 |
cd /home/vhuang/src/gold/binutils-2.21
armconf
cp /home/vhuang/src/gold/binutils-2.21/gold/ld-new /opt/medial/local/bin/ld
cd ~/src
cd git-1.7.1
armconf
echo "^c to break, anykey to build svn..."
read readline
cd subversion-1.6.12dfsg
make distclean
./go.sh
cd ..
cd ~/src/gold/binutils-2.21/
make install
cd ~... | bayvictor/distributed-polling-system | bin/insbox_max_init_sbox_src.sh | Shell | apache-2.0 | 352 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); ... | navrasio/mxnet | contrib/clojure-package/vi ci-test.sh | Shell | apache-2.0 | 847 |
#/bin/bash
###################################
###################################
###################################
#PLZ RUN THE AUTO SCRIPT AS ROOT
###################################
#TO DO
#1.log file integreation
###################################
help_message () {
echo "Try '$0 --help' for more informatio... | abuzarhamza/PostAScholarship | automation/autorun.sh | Shell | artistic-2.0 | 5,282 |
#!/bin/bash
#
# Debugs a mocha test suite.
#
# change directory to that containing this script
cd "$(dirname "$0")"
# import configuration and library
source config.sh
source lib.sh
# testsuite to run
testsuite="$1"
# delayed calls
delay=0.8 #seconds
# start node-inspector if not already running
if [ ! $(isActiveP... | mpecherstorfer/pat | scripts/debug.sh | Shell | bsd-2-clause | 1,167 |
#!/bin/sh
# Copyright (c) 2009, Martijn P. Rijkeboer <martijn@bunix.org>
# 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 the above copyright
# ... | mrijkeboer/bindadmin | client/client.sh | Shell | bsd-2-clause | 3,411 |
#!/bin/bash
virtualenv -p /usr/bin/python2.7 leonardo_venv
cd leonardo_venv
. $PWD/bin/activate
pip install -e git+https://github.com/django-leonardo/django-leonardo@master#egg=django-leonardo
pip install -r $PWD/src/django-leonardo/requirements.txt
pip install -e git+https://github.com/leonardo-modules/leonardo-modu... | django-leonardo/django-leonardo | contrib/scripts/install_blog.sh | Shell | bsd-3-clause | 962 |
#!/usr/bin/env bash
set -euo pipefail
set -x
nightlyTag="${IMAGE_TAG}.nightly"
nightlyBuildTag="${IMAGE_TAG}-build.nightly"
date=$(date -u '+%Y-%m-%d-%H.%M.%S')
dateTag="${PRIVATE_IMAGE_TAG}.${date}"
dateBuildTag="${PRIVATE_IMAGE_TAG}-build.${date}"
bin/build.sh "${STACK}" "${nightlyTag}" "${nightlyBuildTag}"
# Dis... | heroku/stack-images | bin/publish-to-dockerhub.sh | Shell | bsd-3-clause | 1,218 |
#!/usr/bin/env bash
set -e
PROJECT_DIR=$(dirname $0)/../../..
source $PROJECT_DIR/scripts/cf-utils.sh
STACK_NAME=$StackPrefix-my-api
update-stack $1 --template-url $AWSMusingsS3URL/api-gateway-developer-guide/api-gateway-create-api-step-by-step/my-api.yml
| myshkin5/aws-musings | api-gateway-developer-guide/api-gateway-create-api-step-by-step/scripts/my-api.sh | Shell | bsd-3-clause | 261 |
#!/usr/bin/env bash
./unigraph.py "$@"
| skhal/algorithms_old | ch4/python/ch4_ex4.1.7.sh | Shell | mit | 40 |
export PROJECT=cd-example
export META_SYNC_BUCKET=cd-example-meta-sync
export REGION=us-east-1
export REGION_VAR_NAME=useast1
export TRAVIS_TEST_RESULT=0
export TRAVIS_PULL_REQUEST="false"
export TRAVIS_BRANCH=$(git symbolic-ref --short -q HEAD)
echo "Region: $REGION or $REGION_VAR_NAME"
echo "Branch: $TRAVIS_BRANCH... | serverless-examples/serverless-cd-example | v0.5/setup-deploy-envvars.sh | Shell | mit | 367 |
#!/bin/bash
##########################################################################
# This script starts the installation and configuration process of the
# specified application and finally it shows a log file which contains
# reported installation steps and posible errors.
# @author César Rodríguez González
# @ver... | cesar-rgon/desktop-app-installer | app-scripts/vnc-server.sh | Shell | mit | 763 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: ledplay
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start:
# Default-Stop:
# Short-Description: Enables/Disables each LED once at boot
### END INIT INFO
. @LIBEXEC@/ledctrl
led_bootdown
exit 0
| rdm-dev/meta-jens | recipes-rdm/ledctrl/ledctrl/ledbootdown.sh | Shell | mit | 282 |
#!/bin/bash
# Copyright (c) 2015-present, Facebook, Inc.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# ******************************************************************************
# This is an end-to-end test intended to run on CI.
# Y... | HelpfulHuman/helpful-react-scripts | tasks/e2e-simple.sh | Shell | mit | 12,021 |
#!/bin/bash
[ -f /boot/config/no-run ] && exit
[ -f /boot/config/room.txt ] && cp /boot/config/room.txt /srv/info-beamer/webcamp-2017/schedule/room
nohup /home/webcamp/info-beamer-pi/info-beamer /srv/info-beamer/webcamp-2017 &
/srv/info-beamer/check-git.sh
| goranche/info-beamer | run-beamer.sh | Shell | mit | 257 |
#!/bin/bash
set -e
timer=/usr/bin/time
exe_moon=./moonlight
exe_rose=./rosebud
void=/dev/null
moonlight_data=${exe_moon}.dat
rosebud_data=${exe_rose}.dat
if [ ! -e $moonlight_data ]
then
echo "#N time" >> $moonlight_data
for (( i=100; i <= 15000; i += 100))
do
time_elapsed_moon=$(($timer -f "%e"... | tavaresdong/courses | uw_cse374/hw1/profile.sh | Shell | mit | 858 |
#!
echo "/* Generated file, do not edit */" > all.h
echo "" >> all.h
export count=`ls -1 [0-9][0-9]* | wc -l`
echo "#define IMPULSES $count" >> all.h
echo "" >> all.h
ls -1 [0-9][0-9]* | awk '{print "#include \"impulses/" $0 "\""}' >> all.h
echo "" >> all.h
echo "#ifdef __clang__" >> all.h
echo "static void mk_imps(ff... | swh/ladspa | impulses/mkall-h.sh | Shell | gpl-2.0 | 628 |
#!/bin/sh
#
# Create a key of each type possible
#
TEST=./Tspi_Key_CreateKey04
for TYPE in legacy bind signing;do
for SIZE in 512 1024 2048;do
echo "$TEST -t $TYPE -s $SIZE -m -v -a"
$TEST -t $TYPE -s $SIZE -m -v -a
echo "$TEST -t $TYPE -s $SIZE -m -a"
$TEST -t $TYPE -s $SIZE -m -a
echo "$TEST -t $TYPE -s ... | srajiv/testsuite | tcg/highlevel/key/create_key_tests.sh | Shell | gpl-2.0 | 1,288 |
if [ "${KEETOREALUSER}" ]; then
PS1="[\u~"${KEETOREALUSER}"@\h \W]\$ "
else
PS1="[\u@\h \W]\$ "
fi
| flix-/keeto | build/docker/keeto-openssh/config/ps1.sh | Shell | gpl-3.0 | 108 |
#!/bin/sh
font="/usr/share/fonts/truetype/droid/DroidSansMono.ttf"
nrchar=95 # 32 .. 126
echo Read $font
echo Export ASCII into test.png
#
# Compile C-File
#
gcc -std=c11 -owrite write_c_file.c || exit 1
#
# Generate font.png with fontforge
#
fontforge -lang=ff -script export.ff "$font" 2>/dev/null || fontforge -lang=f... | je-so/testcode | stm32f3/util/font/generate_bitmap_font.sh | Shell | gpl-3.0 | 838 |
#!/bin/bash
path=`dirname "${0}"`
link=`readlink "${0}"`
[ -n "${link}" ] && path=`dirname "${link}"`
cd "${path}"
case "${0##*/}" in
*dedicated*) mode="dedicated" ;;
*sdl*) mode="sdl" ;;
*) mode="glx" ;;
esac
case "$(uname -m)" in
x86_64) arch="linux64" ;;
*) arch="linux32" ;;
esac
xonotic="xonotic-${... | jmanoel7/my_shell_scripts | bin/xonotic-linux-sdl.sh | Shell | gpl-3.0 | 2,352 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-11_1/20161107T225001+0000/00/00/generalinfo_0_ID0000002.sh | Shell | gpl-3.0 | 1,243 |
#!/bin/bash
PACKAGE="php"
xdg-icon-resource uninstall --novendor --size 256 "eclipse"
gtk-update-icon-cache -f -t /usr/share/icons/hicolor
rm -f "/usr/bin/eclipse-$PACKAGE"
rm -f "/usr/share/applications/eclipse-$PACKAGE.desktop"
rm -rf "/opt/eclipse-$PACKAGE"
| folkswithhats/fedy | plugins/eclipsephp.plugin/uninstall.sh | Shell | gpl-3.0 | 264 |
#!/bin/bash
VERSION="0.8"
MEGA_API_URL="https://g.api.mega.co.nz"
MEGA_API_KEY=""
MC_API_URL="http://megacrypter.com/api"
OPENSSL_AES_CTR_DEC="openssl enc -d -aes-128-ctr"
OPENSSL_AES_CBC_DEC="openssl enc -a -A -d -aes-128-cbc"
WATCH_DIR="."
WATCHDOG_SLEEP_SECS=5
DOWNLOAD_STOP_FILE="force_stop.tmp"
DOWNLOAD_FINISHED_... | orione7/Italorione | tools/megacrypter.sh | Shell | gpl-3.0 | 5,494 |
#!/usr/bin/env bash
#
# Piwi Bash Library - An open source day-to-day bash library
# Copyleft (ↄ) 2013-2015 Pierre Cassat <me@e-piwi.fr> & contributors
# Some rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
... | piwi/bash-library | bin/piwi-bash-library.bash | Shell | gpl-3.0 | 129,819 |
#!/bin/bash
echo Restarting servers...
echo "---- Stopping ----"
./stop-server.sh
echo " "
echo "---- Starting ----"
./start-server.sh
| egeldenhuys/dalla-stats | restart-server.sh | Shell | gpl-3.0 | 137 |
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
# mount tmpfs on /tmp if not present
mount | grep -q /tmp
if [[ $? -ne 0 ]]; then
LogPrint "File system /tmp not present - try to mount it via tmpfs"
mount -t tmpfs... | terreActive/rear | usr/share/rear/verify/DUPLICITY/default/200_check_tmpfs.sh | Shell | gpl-3.0 | 388 |
#!/bin/bash -e
INSTANCE_NAME="tplmap-ruby"
IMAGE_NAME="tplmap-ruby-img"
PORT=15005
echo "Exposed testing APIs:
http://localhost:15005/reflect/eval?inj=*
http://localhost:15005/blind/eval?inj=*
http://localhost:15005/reflect/slim?inj=*
http://localhost:15005/blind/slim?inj=*
http://localhost:15005/reflect/erb?inj=*
h... | epinna/tplmap | tests/run_ruby_tests.sh | Shell | gpl-3.0 | 844 |
#!/usr/bin/env bash
set -x
set -e
JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source "$JDIR"/util.sh
[[ -n $NODE_LABELS ]] || exit 0
if has OSX $NODE_LABELS; then
brew update
brew upgrade
brew install boost pkg-config cryptopp
brew cleanup
fi
if has Ubuntu $NODE_LABELS; then
sudo apt-... | bruinfish/ndn-group-encrypt | .jenkins.d/00-deps.sh | Shell | gpl-3.0 | 618 |
#!/bin/sh
for db in osu osu_store osu_mp osu_chat osu_charts osu_updates; do
echo "CREATE DATABASE IF NOT EXISTS ${db} DEFAULT CHARSET utf8mb4" | mysql -u root "$@"
echo "CREATE DATABASE IF NOT EXISTS ${db}_test DEFAULT CHARSET utf8mb4" | mysql -u root "$@"
done
| omkelderman/osu-web | bin/db_setup.sh | Shell | agpl-3.0 | 268 |
#!/usr/bin/env bash
#
# This script is used by continous integration tools to build nightly version of the
# netshell example
#
# Stop a first error
set -e
# Retrive the project filename from the command line
DFT_PROJECT=$1
# Stores the current working dir
WORKING_DIR=$(pwd)
# Setup virtual_env environnement
expor... | wbonnet/lffs | toolkit/ci/build-firmware-mips.sh | Shell | apache-2.0 | 921 |
#!/usr/bin/env bash
# Inspired by:
# https://github.com/kubernetes/code-generator/blob/master/generate-groups.sh
#
# https://github.com/jw-s/redis-operator/tree/master/hack
PROJECT=github.com/tangfeixiong/go-to-kubernetes
GOPATH="$(cd $(dirname ${BASH_SOURCE})/../../../../../.. && pwd)"
GOPATH=$GOPATH deepcopy-g... | tangfeixiong/go-for-kubernetes | redis-operator/hack/standalone-update-deepcopy.sh | Shell | apache-2.0 | 544 |
#!/usr/bin/env bash
sudo docker build \
--tag="lburgazzoli/ubuntu-ui:16.10" \
.
| lburgazzoli/lb-docker-files | ubuntu/16.10-ui/build.sh | Shell | apache-2.0 | 89 |
#!/bin/bash
# Run script from scenes or scenes-paper to create all symlinks
rapterRoot="/home/bontius/workspace/globOpt"
ln -sf $rapterRoot/RAPter/build/Release/bin/rapter
ln -sf $rapterRoot/RAPter/build/Debug/bin/rapter rapterd
ln -sf $rapterRoot/visualization/build/Release/bin/rapterVis
ln -sf $rapterRoot/visualiz... | amonszpart/globOpt | RAPter/scripts/createSymlinks.sh | Shell | apache-2.0 | 1,673 |
#!/bin/bash
echo "you can use -n argument to skip the s3 download if you did it once"
echo "files are unzipped to ../../h2o-downloaded"
# This is critical:
# Ensure that all your children are truly dead when you yourself are killed.
# trap "kill -- -$BASHPID" INT TERM EXIT
# leave out EXIT for now
trap "kill -- -$BAS... | woobe/h2o | py/testdir_release/runner_hdp1.3.sh | Shell | apache-2.0 | 5,665 |
#!/bin/bash -ex
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"... | xhochy/arrow | python/manylinux201x/scripts/build_zstd.sh | Shell | apache-2.0 | 1,390 |
#!/bin/sh
. /etc/sysconfig/heat-params
if [ "$NETWORK_DRIVER" == "flannel" ]; then
FLANNEL_DOCKER_BRIDGE_BIN=/usr/local/bin/flannel-docker-bridge
FLANNEL_DOCKER_BRIDGE_SERVICE=/etc/systemd/system/flannel-docker-bridge.service
DOCKER_FLANNEL_CONF=/etc/systemd/system/docker.service.d/flannel.conf
FLANNEL_DOCKER_BRIDGE... | eshijia/magnum | magnum/templates/heat-kubernetes/fragments/network-service.sh | Shell | apache-2.0 | 1,841 |
#!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | guoshimin/kubernetes | cluster/gce/debian/helper.sh | Shell | apache-2.0 | 4,021 |
# ~/.bash_completion.d/yaml_command
_yaml()
{
local cur=${COMP_WORDS[COMP_CWORD]}
local pos=(COMP_CWORD - 1)
local pre=${COMP_WORDS[@]:0:$pos}
local cpl=$($pre _)
if [[ "$cur" == -* ]]; then
cpl=${cpl[@]//^[^-]/}
else
cpl=${cpl[@]//-*/}
fi
COMPREPLY=( $(compgen -W "$cp... | rubyworks/executable | work/reference/bash_completion.sh | Shell | bsd-2-clause | 360 |
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Shell library for functions and initialization private to
# build_image, and not specific to any particular kind of image.
#
# TODO(jrbarnette): Th... | BugRoger/scripts | build_library/build_image_util.sh | Shell | bsd-3-clause | 11,155 |
#!/bin/sh
bindir=/usr/bin
cat <<EOF
{
"component" : "testperl",
"daemons" : [{
"name" : "worker",
"logname": "%{component}",
"command" : "/usr/bin/perl $bindir/workerTestPerl.pl $ROOT/conf/gearbox/test-perl.conf",
"count" : 1,
"user" : "%{gearbox.user}"
}]
}
EOF
| yahoo/gearbox | workers/test-perl/conf/test-perl.conf.sh | Shell | bsd-3-clause | 318 |
#!/bin/bash
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This script does two checks on the state of the copied chromium directories:
# 1. Ensure all files present are in their appropriate BUILD.gn.
... | endlessm/chromium-browser | third_party/openscreen/src/third_party/chromium_quic/clone_helper.sh | Shell | bsd-3-clause | 3,635 |
#!/bin/bash
# Get azure data
# clientId : -c
# AppKey: -a
# Default values
JENKINS_USERNAME=""
JENKINS_PASSWORD=""
while getopts ":t:s:p:c:h:r:l:k:u:q:f:a:i:" opt; do
case $opt in
t) TENANTID="$OPTARG"
;;
p) PASSWORD="$OPTARG"
;;
c) CLIENTID="$OPTARG"
;;
s) SUBSCRIPTIONID="$OPTARG"
... | richstep/azure-quickstart-templates | spinnaker-jenkins-to-vmss/scripts/set_azure_spinnaker.sh | Shell | mit | 4,549 |
#!/bin/bash -e
# Loads jpgs from SDSS
# usage: cat stripe_82 | ./load_data
echo "Reading from stdin..."
while read rerun run
do
echo "Loading rerun $rerun, run $run..."
rsync -aLvz --prune-empty-dirs --progress \
--include "$run/" --include "?/" --include "frame*.jpg" \
--exclude "*" \
rsync://data.sd... | xkxx/last-voyage | sdss/load_data.sh | Shell | mit | 431 |
#!/bin/bash
gofiles=$(find . -name "*.go" | grep -v "/vendor/")
for gofile in $gofiles; do
echo $gofile
sed '/^import/,/^[[:space:]]*)/ { /^[[:space:]]*$/ d; }' $gofile > tmp
mv tmp $gofile
done
go fmt `go list ./... | grep -v "/vendor/"`
goimports -local github.com/hiromaily/ -w `goimports -local github... | hiromaily/go-tools | scripts/imports.sh | Shell | mit | 364 |
#!/bin/sh
################################################################################
## ##
## Copyright (c) International Business Machines Corp., 2001 ##
## ... | sunyuan3/ltp | testcases/network/xinetd/xinetd_tests.sh | Shell | gpl-2.0 | 12,875 |
# This file contain all configuration information to build
# `lustre-release/lustre/contrib/wireshark'
[[ $1 =~ --.* ]] || {
###########################################################################
# #
# DOWNLOAD CONFIGURATION
... | sushantmane/lustre-stable | lustre/contrib/wireshark/wsconfig.sh | Shell | gpl-2.0 | 5,537 |
#! /bin/sh
gnome-doc-prepare -c -f \
&& aclocal \
&& autoheader -f \
&& automake -c -f --add-missing \
&& autoconf -f
| pv/gwaei-stuff | rpm/fedora/patches/gwaei-1.3.0-autogen.sh | Shell | gpl-3.0 | 119 |
#!/bin/bash
dir=test-demo
mkdir ${dir}
cd ${dir}
rm *pdf
rep=1000
seqlen=100000
## compare population sturture for a single population data
COMPAREFILE=compareDemo
rm ${COMPAREFILE}
theta=10
r=10
source ../chisq_r.src
source ../ks_r.src
source ../tmrca_r.src
source ../bl_r.src
source ../process_sample_stats.... | luntergroup/scrm_jz_stable_branch | tests/test_read_init/scrm_vs_scrmInitialtree.sh | Shell | gpl-3.0 | 1,073 |
#/bin/sh
#
# requires:
# cvs (if pulling from CVS
if [ $DEBUG ] ; then
set -xv
fi
rootdir=/tmp/pvfs2-build-test
tarballurl=http://www.mcs.anl.gov/hpio/pvfs2-0.0.6.tar.gz
cvsroot=:pserver:anonymous@cvs.parl.clemson.edu:/anoncvs
# specify extra configure options here; for now we disable karma because
# of all the... | angelos-se/orangefs-release | maint/build/pvfs2-build.sh | Shell | lgpl-3.0 | 6,451 |
#!/bin/bash -eu
# Copyright 2021 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... | skia-dev/oss-fuzz | projects/capnproto/build.sh | Shell | apache-2.0 | 818 |
#!/bin/bash -eu
# Copyright 2021 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... | googlefonts/oss-fuzz | projects/sql-parser/build.sh | Shell | apache-2.0 | 886 |
#!/bin/bash
# Copyright 2019 The Vitess 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 o... | vitessio/vitess | tools/bootstrap_web.sh | Shell | apache-2.0 | 2,340 |
alias composer="hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 /usr/local/bin/composer"
| lsvt-casey/chef-applications | templates/default/hhvm/composerviahhvm.bash | Shell | apache-2.0 | 120 |
#!/bin/sh
# 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
# "L... | hyokun31/wisekb-management-platform | wisekb-uima-ducc/apache-uima/bin/ibmUimaToApacheUima.sh | Shell | apache-2.0 | 1,217 |
#!/bin/bash
# Create Kubernetes cluster
# Update required settings in "settings" file before running this script
function pause(){
read -p "$*"
}
## Fetch GC settings
# project and zone
project=$(cat settings | grep project= | head -1 | cut -f2 -d"=")
zone=$(cat settings | grep zone= | head -1 | cut -f2 -d"=")
# Co... | rimusz/kube-gce | 1-bootstrap_cluster.sh | Shell | apache-2.0 | 2,285 |
#!/bin/bash
if [[ ! -d "/var/log/kolla/logstash" ]]; then
mkdir -p /var/log/kolla/logstash
fi
if [[ $(stat -c %a /var/log/kolla/logstash) != "755" ]]; then
chmod 755 /var/log/kolla/logstash
fi
| stackforge/kolla | docker/logstash/extend_start.sh | Shell | apache-2.0 | 202 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.