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/sh
#tommi 24.10.2015
#Syyua.sh version 0.5.0
#Pacman and yaourt inspired tool
#feature? another switch to check for CURRENT?
#add support for printing ports UPDATING lines for AFFECTING.
# limit these to show only the last 2-4 weeks?
#add these to Version/Verbose output
# echo ''
#echo 'Syyua update script'
... | pernila/scripts | dev/Syyua.sh | Shell | bsd-2-clause | 1,939 |
#!/bin/bash
## Edit these two lines according to your server setup
HOST="x@sx.com -pxxxx"
DEPLOY_DIR="/home/xxxx/deploy/"
## Probably don't edit any of the below unless you want to modify functionality
## Install?
ssh $HOST << EOF
cd ~
#Clone in deployment scripts if they don't already exist
if [ ! -d "$DEPLOY_D... | sheadawson/silverstripe-bash-deploy | deploy-local.sh | Shell | bsd-2-clause | 995 |
#!/bin/sh
GRAPEFS="/tmp/GrapeFS"
RESULT_SUBDIR="GrapeFS.Reencoding"
EVAL_DIR=$(readlink -f $(dirname "$0"))
TESTING_DIR="$EVAL_DIR/.."
RESULT_DIR="$EVAL_DIR/Results/$RESULT_SUBDIR"
OPERATIONS="parse dump updateAssembly executeAssembly mapPath"
if [ -d "$RESULT_DIR" ]
then
cd "$RESULT_DIR"
cd ..
rm -rf -- "$RESULT... | crurik/GrapeFS | Testing/Evaluation/Reencoding.sh | Shell | bsd-2-clause | 1,282 |
#@IgnoreInspection BashAddShebang
# shellcheck shell=bash disable=SC2034,SC1090,SC2164
#
# THIS IS NOT IMMUTABLE DEFINITION FILE, don't use it to enforce fixed version.
#
# See setenv-java.sh and tool-download.sh for the details how this is used.
# We use Zulu JDK from: https://www.azul.com/downloads/zulu-community
# F... | virgo47/litterbin | automation/project-scripts/global-tools/java/defs/zulujdk-17.0.0-def.sh | Shell | bsd-2-clause | 1,199 |
#!/bin/sh
echo "\n\n[task] Bundling assets\n"
# Clean and prepare build
# see https://github.com/yiisoft/yii2/issues/7414, https://github.com/yiisoft/yii2/issues/7473
rm -rf web/assets-prod
mkdir -p web/assets-prod/js
mkdir -p web/assets-prod/css
touch web/assets-prod/js/backend-temp.js
touch web/assets-prod/css/all-... | davidfang/playground | build/assets.sh | Shell | bsd-3-clause | 506 |
# $FreeBSD$
# Import helper functions
. $(atf_get_srcdir)/helper_functions.shin
# Test add user
atf_test_case user_add
user_add_body() {
populate_etc_skel
atf_check -s exit:0 ${PW} useradd test
atf_check -s exit:0 -o match:"^test:.*" \
grep "^test:.*" $HOME/master.passwd
}
# Test add user with option -N
atf_te... | jrobhoward/SCADAbase | usr.sbin/pw/tests/pw_useradd.sh | Shell | bsd-3-clause | 6,453 |
#!/bin/bash
cd /home/kivan/Projects/cv-stereo/build/egomotion/release/
dataset_config="../../../config_files/config_kitti_07.txt"
experiment_config="../../../config_files/experiments/kitti/ncc_validation_wgt.txt"
# the best 2 processes x 12 threads
OMP_NUM_THREADS=12 ./egomotion -c $dataset_config -e $experiment_con... | ivankreso/stereo-vision | scripts/egomotion_kitti_eval/benchmark_odometry.sh | Shell | bsd-3-clause | 1,270 |
#!/usr/bin/env bash
SCRIPT_PATH=$(dirname $(readlink -f $0))
$SCRIPT_PATH/init --env=Development --overwrite=n
| leerais/yii2-demo | deploy.sh | Shell | bsd-3-clause | 113 |
#!/bin/sh
wget -O remakeremodel.xml http://chompy.net/blogs/jacob/feeds/index.atom
wget -O darkentries.xml http://www.chompy.net/blogs/jacob/feeds/darkentries.atom
wget -O peenywally.xml http://chompy.net/blogs/pogo/atom.xml
wget -O tigerpounces.xml http://chompy.net/blogs/nathalie/atom.xml
wget -O greencandle.xml htt... | braveulysses/backwater | scripts/backwaterfeeds.sh | Shell | bsd-3-clause | 947 |
#!/bin/bash
set -e
TESTNAME=
CONTINUE_AFTER=0
ENABLED=1
if [[ $# == 1 ]]; then
TESTNAME=$1
LAST_INDEX=$((${#TESTNAME}-1))
LAST_CHAR="${TESTNAME:$LAST_INDEX:1}"
if [[ $LAST_CHAR == "-" ]]; then
TESTNAME="${TESTNAME:0:$LAST_INDEX}"
CONTINUE_AFTER=1
fi
ENABLED=0
fi
echo "TESTNAM... | agrippa/spark-swat | functional-tests/test_all.sh | Shell | bsd-3-clause | 985 |
#!/bin/bash
RETCODE=$(fw_exists ${IROOT}/lein.installed)
[ ! "$RETCODE" == 0 ] || { return 0; }
mkdir -p lein/bin
fw_get https://raw.github.com/technomancy/leiningen/stable/bin/lein -O leinbin
mv leinbin lein/bin/lein
chmod +x lein/bin/lein
touch ${IROOT}/lein.installed | kellabyte/FrameworkBenchmarks | toolset/setup/linux/systools/leiningen.sh | Shell | bsd-3-clause | 273 |
# Enpass Debian repo
# http://enpass.io/
sudo echo "deb http://repo.sinew.in/ stable main" > /etc/apt/sources.list.d/enpass.list
# Oracle Java 8 repo (or 9 ;-)
# http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee ... | jscappini/fresh_os_install | setup_debian_repo.sh | Shell | mit | 583 |
#!/bin/bash -x
set -e
rm -f Gemfile.lock
bundle install --path "${HOME}/bundles/${JOB_NAME}"
bundle exec rake
bundle exec rake publish_gem
| alphagov/govuk_mirrorer | jenkins.sh | Shell | mit | 139 |
#!/bin/bash
VERSION="3.3.0"
rm m2x-*.js
r.js -o build.js out=m2x-${VERSION}.js optimize=none
r.js -o build.js out=m2x-${VERSION}.min.js
r.js -o build.js out=current.js
| kkng88/mdd2017 | www/lib/m2x/dist/build.sh | Shell | mit | 170 |
#!/bin/bash
# This file is part of cc-oci-runtime.
#
# Copyright (C) 2016 Intel Corporation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your... | sameo/cc-oci-runtime | .ci/ci-setup.sh | Shell | gpl-2.0 | 11,422 |
#!/bin/sh
#
# Cloud Hook: Reinstall Headless Lightning
#
# Run `drush site-install headless_lightning` in the target environment.
site="$1"
target_env="$2"
# Fresh install of Headless Lightning.
drush @$site.$target_env site-install headless_lightning --yes --account-pass=admin --site-name='Headless Lightning - Night... | balsama/headless-lightning | hooks/common/post-code-update/reinstall.sh | Shell | gpl-2.0 | 713 |
#!/bin/sh
#
# Copyright (c) 2016 Fujitsu Ltd.
# Author: Xiao Yang <yangx.jy@cn.fujitsu.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
# (at your optio... | richiejp/ltp | testcases/commands/wc/wc01.sh | Shell | gpl-2.0 | 1,780 |
#!/usr/bin/env bash
########this script run ccs_anat_preproc###########
#there are three inputs
# The first step of this script is to run on bash will move to python eventually
# 1.CCS_DIR
# 2.SUBJECTS_DIR
# 3.subject
######################################################
#set dirs
CCS_DIR=$1
SUBJECTS_DIR=$2
subject=... | zuoxinian/CCS | samplesScripts/ccs_anat_03_postfs.sh | Shell | gpl-2.0 | 3,119 |
#!/bin/bash
if [ -z "$BUILD_PATH" ]
then
$BUILD_PATH="$IONIC_PATH"/build
echo "No BUILD_PATH given. Using $BUILD_PATH..."
fi
if [ -z "$INTERMEDIATE_PATH" ]
then
echo "No INTERMEDIATE_PATH given..."
exit
fi
if [ -d "${INTERMEDIATE_PATH}/apps" ];
then
echo "${INTERMEDIATE_PATH}/apps path... | lVBY/quanti | scripts/build_scripts/02_build_chrome.sh | Shell | gpl-2.0 | 3,266 |
#!/bin/bash
source /usr/local/rvm/scripts/rvm
cd /var/alchemy
bundle exec rake assets:precompile db:migrate db:seed RAILS_ENV=development
| kurtmc/alchemy-internal-website | initialise-database-dev.sh | Shell | gpl-2.0 | 138 |
# Copyright (c) 2019, Google Inc. All rights reserved.
# Copyright (c) 2019, Oracle and/or its affiliates. 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 ver... | md-5/jdk10 | test/hotspot/jtreg/runtime/TLS/testtls.sh | Shell | gpl-2.0 | 1,947 |
# shell-script-functions.sh
#
# shell script functions for Relax-and-Recover
#
# 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.
#
# convert tabs into 4 spaces with: expand --tabs=4 file >new-file
# source a file given in ... | phracek/rear | usr/share/rear/lib/framework-functions.sh | Shell | gpl-3.0 | 7,972 |
FILES="\
favicon.ico \
fuego-screenshot.html \
fuego-screenshot.jpg \
fuego-screenshot-thumb.jpg \
index.html \
"
echo "Enter user id for SourceForge:"
read NAME
scp $FILES $NAME,fuego@web.sourceforge.net:/home/groups/f/fu/fuego/htdocs
| yotomyoto/fuego | website/copy.sh | Shell | gpl-3.0 | 238 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-09-A/20161206T172135+0000/00/00/medianmemory_0_ID0000005.sh | Shell | gpl-3.0 | 1,246 |
#!/usr/bin/env bash
apt-get update -y
apt-get install -y software-properties-common python-software-properties
add-apt-repository ppa:fkrull/deadsnakes
echo deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main > /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8... | berylTechnologies/redcap | .provision/scripts/repo_import_and_update.sh | Shell | gpl-3.0 | 364 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | HerbFargus/RetroPie-Setup | scriptmodules/emulators/rpix86.sh | Shell | gpl-3.0 | 1,458 |
sh tulip_run_test.sh import_grid_approximation
| jukkes/TulipProject | unit_test/gui/run_import_grid_approximation_test.sh | Shell | gpl-3.0 | 48 |
#!/bin/bash
set -euf -o pipefail
build_deps=(
gcc
build-essential
pkg-config
git
openssl
ca-certificates
libglib2.0-dev
libfdt-dev
zlib1g-dev
libbz2-dev
libcurl4-gnutls-dev
libpixman-1-dev
librbd-dev
librdmacm-dev
libsasl2-dev
libsnappy-dev
libssh2-... | wtsi-hgi/hgi-systems | docker/scripts/get-qemu-img.sh | Shell | gpl-3.0 | 1,393 |
#/bin/sh
rm mesh_connected_*
gmsh mesh_connected.geo -2
../../../scripts/gmsh2triangle mesh_connected.msh -2
../../../bin/fldecomp -n 4 -m triangle mesh_connected
| FluidityProject/multifluids | tests/wetting_and_drying_balzano3_cg_parallel/mesh/makemesh_parallel.sh | Shell | lgpl-2.1 | 164 |
#!/bin/sh
valgrind --show-reachable=yes --tool=memcheck --leak-check=yes -v ./aio_client -k -S -c 1 -n 10
| hankwing/Squirrel | library/acl/lib_acl_cpp/samples/ssl/aio_client/valgrind.sh | Shell | apache-2.0 | 107 |
#!/bin/bash
set -euo pipefail
. common.sh
export DOCKER_COMPOSE_SPEC=docker-compose-multinode-test.yml
if [ -f rundeck-launcher.war ] ; then
mv rundeck-launcher.war dockers/rundeck/data/
fi
if [ -f rd.deb ] ; then
mv rd.deb dockers/rundeck/data/
fi
build_rdtest_docker
# clean up docker env
docker-compose -f $D... | variacode/rundeck | test/docker/test.sh | Shell | apache-2.0 | 893 |
#!/bin/bash
### Signal handlers ###
function handle_signal {
case "$1" in
TERM|INT|EXIT)
if [ -n "$CMD_PID" ]; then
kill "$CMD_PID" &>/dev/null
sleep 1
fi
echo "Exiting ..." >&2
exit 0
;;
*)
echo "Terminating abnormally" >&2
... | Graphity/graphity-processor | entrypoint.sh | Shell | apache-2.0 | 2,591 |
#!/bin/sh
LANG="zh_CN.UTF-8";
#filename release_diff.sh src desc
trunk="/home/www/publish/trunk/php/";
#tag="www@58.61.152.97::publish/";
tag="www@113.108.68.154::publish/";
username="admin";
password="admin1234";
#set -x;
src="$trunk$1/";
desc="${tag}${2}/";
if [ $# -lt 2 ]; then
echo "$0 src desc";
exit 1;
... | libo2452/workspace | collection/manage/codeRelease/release_diff.sh | Shell | apache-2.0 | 709 |
#!/bin/sh
# Returns 0, with "jobid=<jobid>" on stdout, if job submitted.
# Returns 1, with multiline error message on stdout otherwise.
#
# This is invoked as:
# submit.sh url 'commandline'
# If we wanted to set scheduler options, we'd pass them in before the url as a
# single argument and give them to set_scheduler_op... | SciGaP/DEPRECATED-Cipres-Airavata-POC | saminda/cipres-airavata/sdk/scripts/remote_resource/triton/submit.sh | Shell | apache-2.0 | 778 |
#!/bin/bash
# Licensed to Cloudera, Inc. under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Cloudera, Inc. licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use ... | cloudera/hue | tools/ops/script_runner/hue_restart_cm.sh | Shell | apache-2.0 | 5,928 |
#
#/**
# * Copyright 2007 The Apache Software Foundation
# *
# * 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... | alibaba/wasp | conf/wasp-env.sh | Shell | apache-2.0 | 4,949 |
#!/bin/bash -e
# 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")... | dmlc/tvm | docker/lint.sh | Shell | apache-2.0 | 3,542 |
#!/bin/bash
#
# Copyright 2005-2014 Red Hat, Inc.
#
# Red Hat licenses this file to you 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 ... | davsclaus/jube | images/fabric8/zookeeper/src/main/distro/start.sh | Shell | apache-2.0 | 914 |
#!/bin/bash
# This is the automated release script
# guard against stupid
if [ -z "$1" ]; then
echo "You must specify a new version level: [patch, minor, major]";
exit 1;
fi
# make sure all our dependencies are installed so we can publish docs
npm install
# try to build to make sure we don't publish something ... | github-tools/github | release.sh | Shell | bsd-3-clause | 764 |
#!/bin/bash
#
# Preprocessor for 'less'. Used when this environment variable is set:
# LESSOPEN="|lesspipe %s"
# TODO: handle compressed files better
[[ -n ${LESSDEBUG} ]] && set -x
trap 'exit 0' PIPE
guesscompress() {
case "$1" in
*.gz|*.z) echo "gunzip -c" ;;
*.bz2|*.bz) echo "bunzip2 -c" ;;
*.lz) ... | rafaelmartins/gentoo-rpi | sys-apps/less/files/lesspipe.sh | Shell | gpl-2.0 | 7,565 |
# -*- shell-script -*-
#
# Copyright (C) 1996-2014 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.
#
#... | kuym/openocd | tools/automake-1.15/t/ax/test-init.sh | Shell | gpl-2.0 | 1,017 |
#!/bin/bash
cd $(dirname $0)
if [ ! -e config/config.json ]
then
cp config/config.json.example config/config.json
fi
python deltabot/test.py
| allthefoxes/TDTMBot | runtests.sh | Shell | gpl-3.0 | 150 |
#!/bin/bash
python runtime/startserver.py "$@"
| sethten/MoDesserts | mcp50/startserver.sh | Shell | gpl-3.0 | 47 |
#!/usr/bin/env bash
#
# Prerequisite:
# - install "grpc" gem
# gem install grpc
#
# To generate:
#
# git clone git@github.com:census-instrumentation/opencensus-proto.git
#
# cd opencensus-proto/src
# ./mkrubygen.sh
OUTDIR="../gen-ruby"
mkdir -p $OUTDIR
grpc_tools_ruby_protoc -I ./ --ruby_out=$OUTDIR --grpc_out=$O... | census-instrumentation/opencensus-proto | src/mkrubygen.sh | Shell | apache-2.0 | 1,219 |
#! /usr/bin/env bash
# Just to be sure
export WM_SCHEDULER=ccache
export CCACHE_DIR=/vagrant/ccache4vm
BOOTSTRAPLOG=/home/vagrant/bootstrapFoam.log
cd foam/foam-extend-3.1
source etc/bashrc
( cd wmake/src && make )
cd $WM_THIRD_PARTY_DIR
./AllMake.stage0 2>&1 | tee $BOOTSTRAPLOG
./AllMake.stage1 2>&1 | tee --app... | KangX1/openfoam-extend-foam-extend-3.1 | vagrantSandbox/skel/bootstrapFoam.sh | Shell | gpl-3.0 | 802 |
#!/bin/bash
${JBOSS_HOME}/bin/standalone.sh -c standalone-ha.xml&
JBOSS_CONSOLE_LOG=${JBOSS_HOME}/standalone/log/server.log
STARTUP_WAIT=30
count=0
until [ $count -gt $STARTUP_WAIT ]
do
grep 'JBAS015874:' $JBOSS_CONSOLE_LOG > /dev/null
if [ $? -eq 0 ] ; then
launched=true
break
fi
... | jimma/microservices | eap/docker/billing/billing.sh | Shell | lgpl-3.0 | 1,318 |
#!/bin/sh
# cpuhotplug_hotplug.sh - Collection of functions for hotplugging
# operations.
# Routines in this library are set up to allow timing to be done
# by defining $TIME to a timing command.
TIME=${TIME:-""}
# get_all_irqs()
#
# Gets list of all available IRQs in the system
#
get_all_irqs()
{
echo `egrep [... | bigzz/ltp | testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh | Shell | gpl-2.0 | 6,233 |
#!/bin/bash
# Copyright (C) 2020 Google, Inc.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# Redistributions of source code must retain the above copyright
# notice, this list of c... | google/filament | third_party/glslang/kokoro/linux-clang-gn/build.sh | Shell | apache-2.0 | 2,038 |
set -x
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
| maier/packer-templates | ubuntu-18.04/scripts/99minimize.sh | Shell | apache-2.0 | 54 |
#!/bin/bash
# nw.js app builder
# (C) 2015 Anton Skshidlevsky <meefik@gmail.com>, GPLv3
NW_VERSION="0.12.3"
# Supported platforms: win-ia32 win-x64 linux-ia32 linux-x64 osx-ia32 osx-x64
NW_PLATFORM="win-ia32 win-x64 linux-ia32 linux-x64 osx-ia32 osx-x64"
APP_NAME="itmoproctor"
APP_DIR="${PWD}/app-nw"
CACHE_DIR="${PWD}... | Winnie3ePooh/ITMOlab | nw-pack.sh | Shell | gpl-3.0 | 4,614 |
#!/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 A... | adufilie/flex-sdk | mustella/tests/components/Alert/Versioning/MP_Alert_Tests.sh | Shell | apache-2.0 | 1,222 |
#!/bin/sh
if [ $# -ne 1 ]; then
echo "USAGE: $0 <repo url | local repo name>"
exit 1
fi
repo_identifier="$1"
# this script retrieves repository statistics for a given repository with the
# following fields:
# [ timestamp <date> <time> ]
# [ root catalog hash ]
# [ referenced CAS objects ]
# [ revision nu... | Gangbiao/cvmfs | add-ons/tools/get_head_statistics.sh | Shell | bsd-3-clause | 744 |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun ltconfig.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is free ... | doxxx/katy | admin/old-ltmain.sh | Shell | gpl-2.0 | 153,798 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
export L="${LDFLAGS}"
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/hg/pslPairs && make)
cp bin/pslPairs "$PREFIX/bin"
chmod +x "$PREFIX... | ostrokach/bioconda-recipes | recipes/ucsc-pslpairs/build.sh | Shell | mit | 335 |
#!/bin/sh
#
# Copyright (c) 2018 Jiang Xin
#
test_description='Test git pack-redundant
In order to test git-pack-redundant, we will create a number of objects and
packs in the repository `main.git`. The relationship between packs (P1-P8)
and objects (T, A-R) is showed in the following chart. Objects of a pack will
be... | abg1979/git | t/t5323-pack-redundant.sh | Shell | gpl-2.0 | 14,899 |
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Licen... | ZhangXFeng/hadoop | src/hadoop-mapreduce1-project/src/contrib/cloud/src/integration-test/persistent-cluster.sh | Shell | apache-2.0 | 4,539 |
#!/bin/sh
#
# Copyright (C) 2011-2012 OpenWrt.org
#
_ubootenv_add_uci_config() {
local cfgtype=$1
local dev=$2
local offset=$3
local envsize=$4
local secsize=$5
local numsec=$6
uci batch <<EOF
add ubootenv $cfgtype
set ubootenv.@$cfgtype[-1].dev='$dev'
set ubootenv.@$cfgtype[-1].offset='$offset'
set ubootenv.@$... | the2masters/openwrt | package/boot/uboot-envtools/files/uboot-envtools.sh | Shell | gpl-2.0 | 1,087 |
#!/bin/sh
################################################################################
## ##
## Copyright (c) International Business Machines Corp., 2001,2005 ##
## ... | liaoqingwei/ltp | runltplite.sh | Shell | gpl-2.0 | 11,062 |
#!/bin/bash
if [ "${JAVA_HOME}" = "" ]; then
export JAVA_HOME=/usr/lib/jvm/java
echo "Setting JAVA_HOME to: ${JAVA_HOME}"
fi
export NUTCH_HOME=/usr/share/nutch
export NUTCH_CONF_DIR=`pwd`/crawl_jsp/conf
export NUTCH_OPTS=-Djava.util.logging.config.file="${NUTCH_CONF}/logging.properties"
export NUTCH_LOG_DIR=... | moio/spacewalk | search-server/spacewalk-search/nutch/crawl_jsp.sh | Shell | gpl-2.0 | 1,030 |
# fMBT, free Model Based Testing tool
# Copyright (c) 2011, Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU Lesser General Public License,
# version 2.1, as published by the Free Software Foundation.
#
# This program is distribut... | pyykkis/fMBT | test/functions.sh | Shell | lgpl-2.1 | 3,987 |
#!/bin/bash
set -x -e
mkdir -p "${PREFIX}/bin"
export INCLUDE_PATH="${PREFIX}/include/:${PREFIX}/include/bamtools/"
export LIBRARY_PATH="${PREFIX}/lib"
export LD_LIBRARY_PATH="${PREFIX}/lib"
export BOOST_INCLUDE_DIR="${PREFIX}/include"
export BOOST_LIBRARY_DIR="${PREFIX}/lib"
export LIBS='-lboost_regex -lboost_syste... | cokelaer/bioconda-recipes | recipes/transcomb/build.sh | Shell | mit | 994 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | wongma7/efs-provisioner | vendor/k8s.io/kubernetes/cluster/centos/master/scripts/apiserver.sh | Shell | apache-2.0 | 4,424 |
#
# Copyright (c) 2003, Oracle and/or its affiliates. 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 Software Foun... | greghaskins/openjdk-jdk7u-jdk | test/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh | Shell | gpl-2.0 | 1,736 |
#!/bin/bash
for i in `rgrep -R '*.php' -i -l 'http://ez.no/home/licences/professional' .`; do
echo "Fixing $i"
mv "$i" "$i.tmp"
cat "$i.tmp" | sed 's#http://ez.no/home/licences/professional#http://ez.no/products/licences/professional#' > "$i"
done
| Mapsred/ezplatform_formation | ezpublish_legacy/bin/shell/fixlicense.sh | Shell | gpl-2.0 | 262 |
#!/bin/sh -eux
# Install unzip since Consul is distributed as a zip
apt-get install -y unzip
# Download Consul
cd /tmp
wget https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip -O consul.zip
# Install Consul
unzip consul.zip >/dev/null
rm consul.zip
chmod +x consul
mv consul /usr/local/bin/consul
mkdir -p /... | jeremiahyan/otto | images/scripts/common/consul.sh | Shell | mpl-2.0 | 1,278 |
#!/bin/bash
cd jspm_packages
curl -O https://raw.githubusercontent.com/systemjs/systemjs/0.19.17/dist/system.js
curl -O https://raw.githubusercontent.com/systemjs/systemjs/0.19.17/dist/system.js.map
curl -O https://raw.githubusercontent.com/systemjs/systemjs/0.19.17/dist/system.src.js
curl -O https://raw.githubusercon... | ChrisBauer/cb.io | client/aurelia/reset-system.sh | Shell | isc | 877 |
cd ../mct-core && npm test
cd ../generator-m && npm test
cd ../generator-mcap && npm test
cd ../generator-m-server && npm test
cd ../mcap-cli && npm test
cd ../mcap-deploy && npm test
cd ../mcap-log && npm test
cd ../mcap-application-validation && npm test | mwaylabs/mcap-developer-utils | test.sh | Shell | mit | 256 |
export PYTHONPATH=/opt
ps -ef|grep 'uwsgi -s :11000'|grep -v grep |awk '{print $2} '|xargs kill -9
uwsgi -s :11000 -w index -p 2 -d /data/log/www/uwsgi_fwrite.log -M -p 4 -t 30 -R 11000
| fooying/fwrite | restart.sh | Shell | mit | 189 |
#!/bin/bash -xv
source "$(dirname $(readlink -f $0))/actions"
for n in 90 -90 90 -90 ; do
turn $n
sleep 0.5
done
| ryuichiueda/RPiM | 201510/run.2.bash | Shell | mit | 117 |
#!/usr/bin/env bash
DOTFILES=$(pwd)/$(dirname $0)
cd $DOTFILES
zsh -c 'nixfmt **/*.nix'
nix_cmd() {
nix --extra-experimental-features flakes --extra-experimental-features nix-command $@
}
nix_cmd flake update $DOTFILES/nix
nix_cmd flake update
if $(uname -a | grep -q "Darwin"); then
nix_cmd flake update $DOTFI... | macalinao/dotfiles | update-flakes.sh | Shell | mit | 419 |
#!/bin/sh
function _emacsfun
{
# get list of available X windows.
x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null`
if [ -z "$x" ] || [ "$x" = "nil" ] ;then
# Create one if there is no X window yet.
emacsclient --alternate-editor "" --create-frame "$@"
else
... | yoshw/oh-my-zsh | plugins/emacs/emacsclient.sh | Shell | mit | 890 |
# qpushd, qpopd: quiet alternatives to pushd, popd
function qpushd() {
pushd $@ > /dev/null
}
function qpopd() {
popd $@ > /dev/null
}
# update_master_repo: Updates our copy of the master git repo
# Args: path_to_repo_dir
function update_master_repo() {
if [ -z "$1" ]; then
echo "update_master_rep... | rtucker/bladeRF-buildbot | docker-autobuild/inc/autobuild_inc.sh | Shell | mit | 6,378 |
#!/bin/sh
(
# Exit on errors
set -e
nsupdate -k /var/named/${domain}.key /var/lib/comodit/applications/bind-server/nsupdate.conf
echo -----
) >> /var/log/comodit/openshift-bind-server/configure.log 2>&1 | comodit/demos | openshift/openshift-bind-server/files/configure.sh | Shell | mit | 205 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for ... | panosmdma/SlackOnly-SlackBuilds | network/nagiosgraph/doinst.sh | Shell | mit | 625 |
#! /bin/sh
set -e
cd `dirname $0`/../..
CONF_FILE=config/vagrant_proxy.conf
if [ -f $CONF_FILE ]; then
source $CONF_FILE
echo Proxy Configuration (sandbox/config/vagrant_proxy.conf)
echo ----------------------------------------------------------------
echo HTTP: $http_proxy
echo HTTPS: $https_proxy
... | koseki/vagrant-layout | sandbox/osx/manage/use-proxy.command | Shell | mit | 1,130 |
#!/bin/bash -e
docker build --tag mariusrumpf/buildnginx .
| MariusRumpf/docker-rpi-nginx | build/build.sh | Shell | mit | 60 |
#!/bin/bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd ..
export PATH="$(pwd)/runtime/bin:$PATH"
npm start | istvan-antal/overseer | scripts/start.sh | Shell | mit | 104 |
#!/bin/bash
queries="../queries"
results="../results/fluent_queries"
mkdir -p "$results"
while read i
do
echo -n "$i..."
sed s/,T\)/,"$i"\)/g "$queries/fluent_queries.pl" > ground_fluent_queries.pl
cat ground_fluent_queries.pl ../event_narrative.pl ../effect_clauses.pl ../initial_beliefs.pl ../inference_rules.pl ../... | kevinmcareavey/secproblog | scripts/run-fluent_queries.sh | Shell | mit | 461 |
#!/bin/bash
KEYWORDS_SCOTLAND="Scotland"
KEYWORDS_SCOTLAND_ALL="$KEYWORDS_SCOTLAND"
if [ "$1" == "" ]; #Normal operation
then
debug_start "Scotland"
SCOTLAND=$(egrep -i "$KEYWORDS_SCOTLAND" "$NEWPAGES")
categorize "SCOTLAND" "Scotland"
debug_end "Scotland"
fi | MW-autocat-script/MW-autocat-script | catscripts/Government/Countries/United_Kingdom/Scotland/Scotland.sh | Shell | mit | 274 |
#! /bin/bash
# Setup Build Directorys and Brunch Build the Application
set -e
echo 'building application...'
mkdir public
npm install .
brunch build -o
timestamp=`date -u +%Y-%m-%d_%H-%M-%S`
# Add timestamps
echo 'build timestamps...'
mv public/javascripts/app.js "public/javascripts/app-$timestamp.js"
mv public/jav... | edpaget/Reno | build.sh | Shell | mit | 1,221 |
#!/bin/bash
if command -v flow > /dev/null; then
flow
else
echo 'Flow not found.'
fi
| foss-haas/rotunda | bin/flow.sh | Shell | mit | 89 |
for file in ./gp5/*
do
filename=$(basename "$file")
filename="${filename%.*}"
gtimeout 10 java -jar converter/TabConverter.jar "$file" midi "./midi/$filename.midi"
echo "$filename"
done
| mmathys/songsterr-crawler | convertGP_mac.sh | Shell | mit | 194 |
#!/bin/bash
echo "fetching latest data file"
wget ftp://GenericFiles:endjob@wcftp.washoecounty.us/GNRC/generic.zip
echo "unzipping"
unzip generic.zip
echo "building csv files"
python ./python/convert_to_csv.py ./GENERIC/Data\ Files/Property.txt
python ./python/convert_to_csv.py ./GENERIC/Data\ Files/Areas.txt
python ./... | hack4reno2013/housemind | build.sh | Shell | mit | 747 |
#!/bin/sh
exec /usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf
| velaluqa/docker-iredmail | build/services/php-fpm.sh | Shell | mit | 94 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2011:0153
#
# Security announcement date: 2011-04-14 23:47:57 UTC
# Script generation date: 2017-01-01 21:10:11 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - exim.x86_64:4.63-5.el5_6.2
# - exim-mo... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2011/CESA-2011:0153.sh | Shell | mit | 822 |
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2013:0848
#
# Security announcement date: 2013-05-21 19:35:21 UTC
# Script generation date: 2016-01-11 19:14:11 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - spacewalk-backend:1.2.13-79.el6sat.noarch
# - s... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2013/RHSA-2013:0848.sh | Shell | mit | 6,372 |
#!/bin/bash
# MYSQL (Mariadb)
mysql_path=/usr/bin/mysql
error=~/.sanity/.logs/.dev-error.txt
# Verificando a existência do Mysql
if [ ! -e $mysql_path ]; then
echo "# Mysql - O banco de dados Mysql não está instalado." >> $error
fi
| igormoraisn/sanity | modules/development/mysql.sh | Shell | mit | 240 |
ln -s ../audio/ static/audio
| tiagoft/macunaima | src/configure_directories.sh | Shell | mit | 30 |
#!/bin/sh -ve
#cordova plugin remove cordova-sqlite-ext
cordova plugin remove com-shortsands-videoplayer
cordova plugin remove com-shortsands-audioplayer
cordova plugin remove com-shortsands-aws --force
#cordova plugin remove com-shortsands-utility
#cordova platform remove ios
#cordova platform add ios
cordova plugin... | garygriswold/Bible.js | OBSOLETE/YourBible/Temp.sh | Shell | mit | 748 |
#!/bin/bash
# install java 8
sudo apt-get update
sudo apt-get install openjdk-8-jre-headless --yes --no-install-recommends
# install the spring boot app
if [ -f /vagrant/target/*.deb ]
then
sudo dpkg -i /vagrant/target/*.deb;
else
echo "ERROR: No *.deb file found. Did you run 'mvn package' already?"
exit 1
fi
... | hennr/springBootAsDebianPackageDemo | provision-vm.sh | Shell | mit | 388 |
#!/bin/bash
cd "$(dirname "$0")"
SRC=src/prelude.scm
DST=src/prelude.c
HEADER=prelude.h
echo '// Copyright 2016 Mitchell Kember. Subject to the MIT License.' > $DST
echo -e "\n#include \"$HEADER\"\n" >> $DST
echo 'const char *const prelude_source =' >> $DST
sed -e '/^;.*$/d;/^$/d;s/\\/\\\\/g;s/"/\\"/g;s/^/ "/;s/... | mk12/eva | generate.sh | Shell | mit | 352 |
#!/usr/bin/env bash
set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
. "$DIR/base.sh"
. "$DIR/ansi"
ansi --yellow "Ensuring required directories exist.."
mkdir -pv $HOME/workspace/opt
mkdir -pv $HOME/workspace/go
. "$DIR/minimalcheck.sh"
mkdir -pv $HOME/mail/personal
mkdir -pv $... | benmezger/dotfiles | scripts/ensure_directories.sh | Shell | mit | 369 |
# Copyright (c) 2013 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question
LINKCEIL="1gbit"
#limit outbound A... | iobond/aib | contrib/qos/tc.sh | Shell | mit | 1,857 |
#!/usr/bin/env zsh -v
#dependencies
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
git clone git://github.com/sstephenson/rbenv.git .rbenv
| NinoScript/ServerConfigurator | 5.rbenv.sh | Shell | mit | 294 |
if command -v fasd >/dev/null; then
eval "$(fasd --init auto)"
fi
| perdian/dotfiles | zsh/profiles/default/zshrc.d/fasd.zsh | Shell | mit | 70 |
#!/bin/bash
# Update all packages. This will take a while.
yum update -y | fuzziebrain/vagrant-orclapex-centos-7.0 | shell/bootstrap.sh | Shell | mit | 73 |
#!/bin/bash
cd /home/russell/Desktop/russell_j/HAB_project/flight_data_2.0/
#This function returns a time/date string that is file-name friendly.
getDate()
{
echo $(date) | sed -e "s/ /_/g" | sed -e "s/:/-/g"
}
#This assigns the output of the "getDate()" function to the variable "DATE"
DATE=$(getDate)
#This ru... | duwaar/BalloonSat-Flight-Controller | takeoff.sh | Shell | mit | 448 |
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the... | bytedissident/BDTests | Example/BDTestsExample/Pods/Target Support Files/Pods-BDTestsExample/Pods-BDTestsExample-frameworks.sh | Shell | mit | 8,750 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2013:0671
#
# Security announcement date: 2013-03-21 18:33:14 UTC
# Script generation date: 2016-05-12 18:11:19 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - openstack-packstack.noarch:2012.2.3-0.1... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2013/RHSA-2013:0671.sh | Shell | mit | 669 |
#!/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... | kiavashfaisali/KFWatchKitAnimations | Example/Pods/Target Support Files/Pods-KFWatchKitAnimations_Example/Pods-KFWatchKitAnimations_Example-frameworks.sh | Shell | mit | 3,657 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.