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
SDL="SDL2"
INCLUDE_DIR="/usr/include/${SDL}"
SCRIPT=`realpath -s $0`
DIR=`dirname $SCRIPT`
DIR=`dirname $DIR`
mkdir -p $DIR/include/${SDL}
mkdir -p $DIR/src
rm -rf $DIR/include/${SDL}/*.h
rm -rf $DIR/src/sdlew.c
echo "Generating sdlew headers..."
UNSUPPORTED="SDL_MemoryBarrierRelease SDL_MemoryBarrierA... | pawkoz/dyplom | blender/extern/sdlew/auto/sdlew_gen.sh | Shell | gpl-2.0 | 7,357 |
#!/bin/bash
# uninstall owncloud in reverse order
CURRENT_DIR=$(pwd)
apt-get -y purge owncloud owncloud-server owncloud-config-apache
rm -R /etc/apt/sources.list.d/owncloud.list
ocpath='/var/www/owncloud'
rm -R $ocpath
# uninstall apache
cd ../web-server
/bin/bash uninstall-web_server.sh
cd $CURRENT_DIR
# uninst... | edvapp/networkbox | owncloud/uninstall-owncloud.sh | Shell | gpl-2.0 | 427 |
#!/bin/bash
# Determine the Path
function realpath() {
local r=$1; local t=$(readlink $r)
while [ $t ]; do
r=$(cd $(dirname $r) && cd $(dirname $t) && pwd -P)/$(basename $t)
t=$(readlink $r)
done
echo $r
}
MY_DIR=`dirname $(realpath $0)`
BACKUP=$MY_DIR/../backups
CONFIG=$MY_DIR/../conf... | fcaviggia/hardening-script-el6 | config-scripts/krb5.sh | Shell | gpl-2.0 | 577 |
#
# Disable haldaemon for all run levels
#
/sbin/chkconfig --level 0123456 haldaemon off
#
# Stop haldaemon if currently running
#
/sbin/service haldaemon stop
| mpreisler/scap-security-guide-debian | scap-security-guide-0.1.21/RHEL/6/input/fixes/bash/service_haldaemon_disabled.sh | Shell | gpl-2.0 | 161 |
#!/bin/sh
TEST_TYPE=klipstest
TESTNAME=west-esp-short-01
TESTHOST=west
EXITONEMPTY=--exitonempty
ARPREPLY=--arpreply
PUBINPUT=../inputs/01-sunrise-sunset-esp-short.pcap
REFPRIVOUTPUT=spi1-cleartext.txt
REF_CONSOLE_OUTPUT=spi1-console.txt
REF26_CONSOLE_OUTPUT=spi1-console.txt
REF_CONSOLE_FIXUPS="kern-list-fixups.sed ... | ZHAW-INES/rioxo-uClinux-dist | openswan/testing/klips/west-esp-short-01/testparams.sh | Shell | gpl-2.0 | 780 |
#!/bin/bash
# load modules needed by anaconda
# load anaconda-lib for the subsequent scripts in this hook
. /lib/anaconda-lib.sh
ARCH=$(uname -m)
KERNEL=$(uname -r)
MODULE_LIST="cramfs squashfs iscsi_tcp "
# if no file matches the glob expand it to the empty string
# we need this when any ko file cannot be found
sh... | vathpela/anaconda | dracut/anaconda-modprobe.sh | Shell | gpl-2.0 | 1,144 |
wget http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz
tar -zxvf drupal-7.0.tar.gz
chmod 777 -R /var/www
mkdir /var/www/drupal1
mv drupal-7.0/* drupal-7.0/.htaccess /var/www/drupal1/
mkdir /var/www/drupal1/sites/default/files
chown www-data:www-data /var/www/drupal1/sites/default/files/
cp /var/www/drupal1/sites/... | dkgndec/snehi | sites/default/files/drupal.sh | Shell | gpl-2.0 | 451 |
#!/bin/sh
function start_resource_frontend(){
unique_resource_name="$1"
# Uncomment to debug
# DEBUG_PREFIX="echo "
cmd="${DEBUG_PREFIX}curl"
# Specify password without making it visible in process
# list (e.g. 'ps awwx')
$cmd \
--insecure \
--cert $certfile \
--key $key \
... | heromod/migrid | mig/resource/start_resource_frontend.sh | Shell | gpl-2.0 | 1,059 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N WAF_8_1_1_250_100_0_0_69_82
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/WAF_8_1_1_250_100_0_0_69_82.json
| OR-Bologna/maritime-vrp | opt/launchers/WAF_8_1_1_250_100_0_0_69_82.sh | Shell | gpl-3.0 | 302 |
#!/usr/bin/env bash
echo filename is: $1
echo
echo First $2 lines of file $1 are:
head -n $2 $1
| sanger-pathogens/pathogen-informatics-training | Notebooks/Unix/bash_scripts/scripts/options_example.sh | Shell | gpl-3.0 | 98 |
#!/bin/bash
target=~/.bashrc
grep ":./bin:" $target >>/dev/null
result=$?
if [[ result -ne 0 ]];then
cat <<EOT >>$target
if [[ ":\$PATH:" != *":./bin:"* ]]; then
export PATH="\${PATH}:./bin"
fi
EOT
fi
grep ":scripts/designer/bin:" $target | grep PATH >>/dev/null
result=$?
if [[ result -ne 0 ]];then
... | cliffe/SecGen | modules/utilities/unix/labtainers/files/Labtainers-master/setup_scripts/fix-bashrc.sh | Shell | gpl-3.0 | 527 |
#!/bin/bash
nosetests
exit
| philharmonic/philharmonic | test.sh | Shell | gpl-3.0 | 29 |
#!/bin/sh
echo "Existing package script"
| CZ-NIC/turris-updater | tests/system/list-dir.sys_update/output/bin/existing.sh | Shell | gpl-3.0 | 41 |
#!/bin/sh
PRO_FILE="translations.pro"
echo "TEMPLATE = app" > $PRO_FILE
echo "TRANSLATIONS += exaro_ro_RO.ts exaro_ru_RU.ts exaro_ru_UA.ts exaro_it_IT.ts exaro_ar_DZ.ts exaro_fr_FR.ts" >> $PRO_FILE
for x in `find ../ -name *.cpp|grep -v "moc_"|grep -v "qrc_"`; do
echo "SOURCES += $x" >> $PRO_FILE
done;
#echo "... | shujaatak/exaro | translations/prepare.sh | Shell | gpl-3.0 | 463 |
#!/bin/sh
Select_eth_device ()
{
# Boot type in initramfs's config
bootconf=$(egrep '^BOOT=' /conf/initramfs.conf | tail -1)
# can be superseded by command line (used by Debian-Live's netboot for example)
for ARGUMENT in ${LIVE_BOOT_CMDLINE}
do
case "${ARGUMENT}" in
netboot=*)
NETBOOT="${ARGUMENT#netboo... | ruibarreira/linuxtrail | lib/live/boot/9990-select-eth-device.sh | Shell | gpl-3.0 | 2,267 |
#!/usr/bin/env bash
#
# A library to simplify using the SBT launcher from other packages.
# Note: This should be used by tools like giter8/conscript etc.
# TODO - Should we merge the main SBT script with this library?
if test -z "$HOME"; then
declare -r script_dir="$(dirname "$script_path")"
else
declare -r scri... | hengyicai/OnlineAggregationUCAS | build/sbt-launch-lib.bash | Shell | apache-2.0 | 5,285 |
#!/bin/bash
# ----------------------------------------------------------------------------
# Copyright 2016 Bloomberg Finance L.P.
#
# 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
#
# htt... | che2/bde-tools | contrib/bdedox/bin/bdedox_genhtmlmain.sh | Shell | apache-2.0 | 5,665 |
#!/bin/sh
pppd call 3glink &
| ADVANTECH-Corp/meta-advantech | meta-tools/recipes-test/3g-script/files/ewm-c106.sh | Shell | apache-2.0 | 30 |
#!/bin/bash
#
# Copyright 2015 The Bazel 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... | zhexuany/bazel | src/test/shell/bazel/bazel_test_test.sh | Shell | apache-2.0 | 9,786 |
#!/usr/bin/env bash
go test -c
./janitor.test -c ../../../socialapi/config/dev.toml -test.v=true
RESULT=$?
rm janitor.test
exit $RESULT
| jack89129/koding | go/src/koding/workers/janitor/test.sh | Shell | apache-2.0 | 140 |
#!/bin/sh
# startDemoMode.sh
# AndroidTool
#
# Created by Morten Just Petersen on 11/16/15.
# Copyright © 2015 Morten Just Petersen. All rights reserved.
thisdir=$1 # $1 is the bundle resources path directly from the calling script file
serial=$2
adb=$thisdir/adb
"$adb" -s $serial shell am broadcast -a com.andr... | mortenjust/androidtool-mac | AndroidTool/exitDemoMode.sh | Shell | apache-2.0 | 354 |
#!/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... | EasySwift/EasySwift | Carthage/Checkouts/EasyCountDownButton/EasyCountDownButton/Pods/Target Support Files/Pods-EasyCountDownButtonTest/Pods-EasyCountDownButtonTest-frameworks.sh | Shell | apache-2.0 | 3,653 |
#!/bin/sh
this_script=$0
delay=3
pid=${pid}
process_status_file=${process_status_file}
ps -p$pid | grep $pid 2>&1 > /dev/null
# Grab the status of the ps | grep command
status=$?
echo "$status" > $process_status_file
# A value of 0 means that it was found running
if [ "$status" = "0" ]; then
while [ "$status" =... | dreedyman/Rio | rio-lib/src/main/resources/org/rioproject/impl/exec/resources/proc-status-template.sh | Shell | apache-2.0 | 518 |
#!/bin/bash
# Copyright 2015-2016, 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 con... | VcamX/grpc | test/distrib/python/run_distrib_test.sh | Shell | bsd-3-clause | 2,117 |
Script started on Fri 18 Nov 2016 11:33:35 PM PST
]0;ubuntu@patrickn96-ourrepo-3961800: ~/workspace/CS100/Assn2/Working[01;32mpatrickn96[00m:[01;34m~/workspace/CS100/Assn2/Working[00m (master) $ make
g++ -c -Wall -ansi command.cpp -o command.o
command.cpp: In member function ‘bool Execute::execute(std::vector<s... | pnguy046/rshell | tests/exit.sh | Shell | bsd-3-clause | 1,407 |
#!/bin/bash
. ../../../prepare.inc.sh
. ../../../toolbox.inc.sh
# ---- do the actual testing ----
result=PASS
echo "++++ BEGINNING TEST" >$OUTPUTFILE
# create a keyring and attach it to the session keyring
marker "ADD KEYRING"
create_keyring wibble @s
expect_keyid keyringid
# stick a key in the keyring
marker "AD... | Distrotech/keyutils | tests/keyctl/reading/valid/runtest.sh | Shell | gpl-2.0 | 2,344 |
#!/bin/bash
# runs the tools staticcheck, varcheck, structcheck and deadcode
# see their websites for more info.
# find the dir we exist within...
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# and cd into root project dir
cd ${DIR}/../..
go get -u honnef.co/go/tools/cmd/staticcheck
go get -u github.com/open... | replay/metrictank | scripts/qa/unused.sh | Shell | agpl-3.0 | 942 |
#!/bin/bash
## Command line parameters
if [[ $# != 2 ]]; then
cat <<USAGE
usage:
$0 <version> <edition>
Creates tar and zip source package from HEAD of the main repository and submodules.
Files and directories are named after qt-creator-<edition>-src-<version>.
example:
$0 2.2.0-beta opensource
USAGE
... | colede/qtcreator | scripts/createSourcePackages.sh | Shell | lgpl-2.1 | 1,709 |
#!/usr/bin/env bash
#"INTEL CONFIDENTIAL"
#Copyright 2015 Intel Corporation All Rights Reserved.
#
#The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporatio... | XiaominZhang/Big-Data-Benchmark-for-Big-Bench | engines/hive/queries/q23/run.sh | Shell | apache-2.0 | 3,721 |
echo "CHRONIX SPARK ###############################################################"
echo "Starting Zeppelin ..."
./zeppelin/bin/zeppelin-daemon.sh start | ChronixDB/chronix.spark | chronix-infrastructure-local/startZeppelin.sh | Shell | apache-2.0 | 153 |
#!/bin/sh
# This is only run for pull requests per suggestion at:
# https://docs.travis-ci.com/user/pull-requests#Pull-Requests-and-Security-Restrictions
echo "Nothing to do here";
| kldavis4/biblebox-pi | ci/script_run_on_pull_requests.sh | Shell | apache-2.0 | 183 |
#!/bin/sh
#
# Copyright 2019 PingCAP, 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 agreed t... | pingcap/tidb | br/tests/lightning_no_schema/run.sh | Shell | apache-2.0 | 920 |
#!/bin/bash
find `pwd`/`dirname $0`/.. \( -name \*.py -a ! -name __\*__.py \) -exec chmod 755 {} \;
find `pwd`/`dirname $0`/.. -name \*.png -a -exec chmod 644 {} \;
chmod 755 `pwd`/`dirname $0`/sanaviron
| jaliste/sanaviron | bin/fixperm.sh | Shell | apache-2.0 | 204 |
echo I failed because I am fail.
exit 1
| grammarly/browser-extensions | generate/generate/tests/fixtures/fail.sh | Shell | bsd-3-clause | 40 |
#!/bin/bash
if [ -z $1 ]; then
echo "usage: setup_edge_location <host>"
exit
fi
HOST=$1
#KEY="/usr/local/cds/cds.pem"
KEY=cds.pem
USER=ubuntu
if [ ! -f $KEY ]; then
echo Cannot access key for edge locations
exit 1
fi
ssh -i $KEY $USER@$HOST "sudo apt-get install nginx; sudo chown -R ubuntu:ubuntu /e... | mihaisoloi/conpaas | conpaas-services/src/conpaas/services/cds/agent/setup_edge_location.sh | Shell | bsd-3-clause | 772 |
#!/usr/bin/env sh
cd ..
rm -rf bones-cov
mkdir bones-cov
jscoverage --no-instrument=test \
--no-instrument=node_modules \
--no-instrument=assets \
--no-instrument=client \
--no-instrument=server/command.prefix.js \
--no-instrument=server/command.suffix.js \
... | developmentseed/bones | test/coverage.sh | Shell | bsd-3-clause | 928 |
#!/usr/bin/env bash
#===-- test-release.sh - Test the LLVM release candidates ------------------===#
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License.
#
#===-----------------------------------------------------------------------... | lodyagin/bare_cxx | tests/utils/release/test-release.sh | Shell | bsd-3-clause | 17,363 |
#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
./configure $@ || exit $?
| bentiss/libratbag-old | uLogitech/autogen.sh | Shell | mit | 173 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | PoornimaNayak/autotest-client-tests | linux-tools/libxml2/libxml2.sh | Shell | gpl-2.0 | 5,055 |
#!/bin/sh
wget_timeout=`nvram get apps_wget_timeout`
#wget_options="-nv -t 2 -T $wget_timeout --dns-timeout=120"
wget_options="-q -t 2 -T $wget_timeout --no-check-certificate"
nvram set webs_state_update=0 # INITIALIZING
nvram set webs_state_flag=0 # 0: Don't do upgrade 1: Do upgrade
nvram set webs_state_error=0
... | megraf/asuswrt-merlin | release/src/router/rom/webs_scripts/ssl_webs_update.sh | Shell | gpl-2.0 | 3,800 |
#!/bin/sh
RAM_ROOT=/tmp/root
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
libs() { ldd $* 2>/dev/null | sed -r 's/(.* => )?(.*) .*/\2/'; }
install_file() { # <file> [ <file> ... ]
for file in "$@"; do
dest="$RAM_ROOT/$file"
[ -f $file -a ! -f $dest ] && {
dir="$(dirname $dest)"
mkdir -p ... | Artox/lede-project | package/base-files/files/lib/upgrade/common.sh | Shell | gpl-2.0 | 6,034 |
#!/bin/sh
# business-process.sh
# ----------------------------------------------------------------------------
# Copyright 2016 WSO2, Inc. http://www.wso2.org
#
# 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 cop... | wso2/product-ei | distribution/src/scripts/business-process.sh | Shell | apache-2.0 | 1,978 |
#!/bin/bash
#######################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance wi... | Azure/azure-linux-automation | remote-scripts/perf_redis.sh | Shell | apache-2.0 | 6,283 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@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... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN001890.sh | Shell | apache-2.0 | 3,216 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@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... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN002640.sh | Shell | apache-2.0 | 3,031 |
#!/bin/sh
# $FreeBSD$
. `dirname $0`/conf.sh
echo "1..5"
balance="split"
ddbs=8192
nblocks1=1024
nblocks2=`expr $nblocks1 / \( $ddbs / 512 \)`
src=`mktemp $base.XXXXXX` || exit 1
dst=`mktemp $base.XXXXXX` || exit 1
dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
us0=$(attach_md -t malloc -s `e... | TigerBSD/TigerBSD | FreeBSD/tests/sys/geom/class/mirror/5_test.sh | Shell | isc | 1,522 |
#!/bin/zsh
# WARP DIRECTORY
# ==============
# Jump to custom directories in terminal
# because `cd` takes too long...
#
# @github.com/mfaerevaag/wd
# version
readonly WD_VERSION=0.5.0
# colors
readonly WD_BLUE="\033[96m"
readonly WD_GREEN="\033[92m"
readonly WD_YELLOW="\033[93m"
readonly WD_RED="\033[91m"
readonly ... | mbologna/oh-my-zsh | plugins/wd/wd.sh | Shell | mit | 12,253 |
#!/bin/sh
# Copyright (C) 2010-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program i... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/autohdrdry.sh | Shell | gpl-2.0 | 1,007 |
#!/bin/bash
/usr/bin/env php ../composer.phar global require "fxp/composer-asset-plugin:~1.0.0"
/usr/bin/env php ../composer.phar install --prefer-dist --optimize-autoloader
| rinodung/yii2-shop-cms | install.sh | Shell | gpl-3.0 | 174 |
#!/bin/sh
#
# Copyright 2004-2006 Intel Corporation
#
# 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... | LeoIannacone/dtn | tools/install.sh | Shell | apache-2.0 | 1,614 |
#!/usr/bin/env bash
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | rabipanda/tensorflow | tensorflow/tools/ci_build/osx/cpu/run_contrib.sh | Shell | apache-2.0 | 1,291 |
#! /bin/sh
# $Id: nasm_test.sh 1137 2004-09-04 01:24:57Z peter $
${srcdir}/out_test.sh nasm_test modules/parsers/nasm/tests "nasm-compat parser" "-f bin" ""
exit $?
| roisagiv/webrtc-ios | third_party/yasm/source/patched-yasm/modules/parsers/nasm/tests/nasm_test.sh | Shell | bsd-3-clause | 165 |
#!/bin/sh
git shortlog --format="%s@@@%H@@@%h@@@" --no-merges $1 | perl release_notes_filter.pl
| phillipross/pgjdbc | release_notes.sh | Shell | bsd-3-clause | 97 |
#! /bin/sh
#$PREPARETIPS > tips.cpp
$EXTRACTRC *.rc `find . -name \*.ui` *.kcfg >> ./rc.cpp || exit 11
$XGETTEXT `find . -name \*.h -o -name \*.cpp` -o $podir/umbrello.pot
rm -f tips.cpp rc.cpp
| behlingc/umbrello-behlingc | umbrello/Messages.sh | Shell | gpl-2.0 | 194 |
#!/bin/sh
#
# Copyright (c) 2008 Christian Couder
#
test_description='test git rev-parse --verify'
exec </dev/null
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
add_line_into_file()
{
_line=$1
_file=$2
if [ -f "$_file" ]; then
echo "$_line... | felipec/git | t/t1503-rev-parse-verify.sh | Shell | gpl-2.0 | 5,357 |
#! /bin/bash
CL_PATH=`find ../ -name '*.jar' | tr "\n" :`
echo "CLASSPATH=$CL_PATH"
java -classpath $CL_PATH com.navercorp.pinpoint.tools.NetworkAvailabilityChecker ../pinpoint.config | Allive1/pinpoint | tools/src/main/script/networktest.sh | Shell | apache-2.0 | 183 |
#!/bin/bash
#
# Copyright 2014 Google 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 agreed t... | treejames/shaka-player | build/all.sh | Shell | apache-2.0 | 687 |
#!/bin/bash
# This script is meant to be called by the "script" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# The behavior of the script is controlled by environment variabled defined
# in the .travis.yml in the top level folder of the project.
# License: 3-clause BSD
set -e
pytho... | dhuppenkothen/hmmlearn | continuous_integration/test_script.sh | Shell | bsd-3-clause | 413 |
#!/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"); y... | argv0/cloudstack | test/scripts/usage/volume_usage.sh | Shell | apache-2.0 | 8,259 |
#!/bin/bash
set -e
MEME_ETC_DIR=${PREFIX}/etc
cpanm HTML::PullParser
cpanm HTML::Parse
cpanm CGI::Application
cpanm XML::Parser::Expat --configure-args "EXPATLIBPATH=$PREFIX/lib" --configure-args "EXPATHINCPATH=$PREFIX/include"
perl scripts/dependencies.pl
./configure --prefix="$PREFIX"
make clean
make AM_CFLAGS='-DN... | JenCabral/bioconda-recipes | recipes/meme/build.sh | Shell | mit | 535 |
#!/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 "Lice... | apache/spark | resource-managers/kubernetes/integration-tests/scripts/setup-integration-test-env.sh | Shell | apache-2.0 | 5,089 |
#!/bin/sh -ex
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including witho... | Vlatombe/jenkins | war/images/makeFlash.sh | Shell | mit | 1,506 |
#! /bin/sh
# Test suite for exclude.
# Copyright (C) 2009-2011 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# 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 ... | ghmajx/asuswrt-merlin | release/src/router/coreutils-8.13/gnulib-tests/test-exclude7.sh | Shell | gpl-2.0 | 1,135 |
#!/bin/sh
#
# We also need the containerd client and its transitive dependencies
# and we conveniently have a checkout already. We actually prefer to
# reuse containerd's vendoring for consistency anyway.
set -eu
ctrd=$1
cp -r $ctrd/vendor/* vendor/
# We need containerd itself of course
mkdir -p vendor/github.com/cont... | radu-matei/linuxkit | pkg/init/cmd/service/skanky-vendor.sh | Shell | apache-2.0 | 469 |
# see http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ for details
if [ "$TRAVIS_REPO_SLUG" == "google/dagger" ] && \
[ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && \
[ "$TRAVIS_PULL_REQUEST" == "false" ] && \
[ "$TRAVIS_BRANCH" == "master" ]; then
echo -e "Publishing ... | DavidMihola/dagger | util/generate-latest-docs.sh | Shell | apache-2.0 | 929 |
#!/bin/bash
# This script likely won't work as is for you, but is a good template for
# iterating over all rubies and regenerating HTML fixtures.
set -e
source /usr/local/share/chruby/chruby.sh
function switch_ruby() {
chruby $1
}
function regen() {
bundle check || bundle install
GENERATE=1 bundle exec rspec... | a-suenami/rspec-core | script/regen_fixtures.sh | Shell | mit | 650 |
python setup.py install --single-version-externally-managed --record=record.txt
| gvlproject/bioconda-recipes | recipes/menetools/1.0.4_1/build.sh | Shell | mit | 80 |
#!/bin/bash
# cache directory cleanup script example
#
# removes all old cached files with mtime older than index mtime
#
# there MUST be your ACTUAL index names and FULL PATHS to indexfiles
indexnames=( test1 test2 )
indexfiles=( /usr/local/sphinx/test1.spd /benchmarks/work/test/test2.spd )
cachedir=/tmp/cache
for ... | ArcherCraftStore/ArcherVMPeridot | sphinx-2.1.8-release-win32/contrib/scripts/cachecleanup.sh | Shell | apache-2.0 | 559 |
#!/bin/sh
#
SELF=$0
SELFDIR=`dirname ${SELF}`
BUILDDIR=$1
DESTDIR=$2
CMD=$3
FILE=$4
NAME=$5
shift 5
OPTIONS="$@"
test -z "${BUILDDIR}" && {
echo "${SELF}:BUILDDIR: '${BUILDDIR}'" >&2;
exit 1;
}
test -z "${DESTDIR}" && {
echo "${SELF}:DESTDIR: '${DESTDIR}'" >&2;
exit 1;
}
test -z "${CMD}" && {
echo "${SELF}:C... | zarboz/XBMC-PVR-mac | tools/darwin/depends/samba/samba-3.6.6/source4/heimdal_build/asn1_compile_wrapper.sh | Shell | gpl-2.0 | 808 |
error() {
echo " ! $*" >&2
exit 1
}
status() {
echo "-----> $*"
}
protip() {
echo
echo "PRO TIP: $*" | indent
echo "See https://devcenter.heroku.com/articles/nodejs-support" | indent
echo
}
# sed -l basically makes sed replace and buffer through stdin to stdout
# so you get updates while the comman... | ajgon/heroku-hook | spec/fixtures/buildpacks/heroku-buildpack-nodejs/bin/common.sh | Shell | mit | 1,026 |
#!/bin/bash
PYTHON="coverage run -p -a"
URL=http://127.0.0.1/file
mkdir -p tmp
$PYTHON shadowsocks/local.py -c tests/aes.json &
LOCAL=$!
$PYTHON shadowsocks/server.py -c tests/aes.json --forbidden-ip "" &
SERVER=$!
sleep 3
time curl -o tmp/expected $URL
time curl -o tmp/result --socks5-hostname 127.0.0.1:1081 $UR... | yaoliyc/shadowsocks | tests/test_large_file.sh | Shell | apache-2.0 | 417 |
#!/bin/sh
ENV_NAME="test-environment"
set -e
conda_create ()
{
hash -r
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda config --add channels pypi
conda info -a
deps='pip numpy scipy nose coverage scikit-learn!=0.19.0 matplotlib numba'
conda create -q -n $... | r9y9/librosa | .travis_dependencies.sh | Shell | isc | 978 |
set -ex
cd ..
mkdir build-${TYPE}
cd build-${TYPE}
echo "Running qmake"
qmake "CONFIG+=${TYPE}" ../tears
echo "Running make"
make
echo "Running tests"
make -s check
| truenull/tears | scripts/run-travis-build.sh | Shell | isc | 168 |
#!/bin/sh
cd "`dirname "$0"`"
mkdir -p "./data/etc"
cp ../testrepo.txt data/etc/tve.list
if [ -z "$GNUPGHOME" ]; then
GNUPGHOME="$HOME/.gnupg"
fi
if ! TVEROOT="./data" TVEDB="./data/tve.db" GNUPGHOME="$GNUPGHOME" HOME="./data/home" ../run-update.sh; then
echo "Update failed." 1>&2
exit 1
fi
if ! T="`TVEROOT="./data... | singpolyma/theveeb-ecosystem | test/test-update.sh | Shell | isc | 477 |
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd $DIR/../
export NODE_PATH=.
export NODE_ENV=development
npm run start
| Yuliang-Lee/nodejs-express-mongodb-gulp-start-kit | bin/dev-start.sh | Shell | mit | 116 |
#!/bin/sh
# Base16 Tomorrow - Shell color setup script
# Chris Kempson (http://chriskempson.com)
if [ "${TERM%%-*}" = 'linux' ]; then
# This script doesn't support linux console (use 'vconsole' template instead)
return 2>/dev/null || exit 0
fi
color00="1d/1f/21" # Base 00 - Black
color01="cc/66/66" # Base 08 ... | ArjanFrans/dotfiles | colorschemes/base16-builder/output/shell/base16-tomorrow.light.sh | Shell | mit | 3,872 |
#!/usr/bin/env bash
set -e
set -o pipefail
echo
NAME=pyramid-scheme
DATE=$(date +%y%m%d.%H%M)
VERSION=$(cat ./VERSION)
if command -v git &> /dev/null && git rev-parse &> /dev/null; then
GITCOMMIT=$(git rev-parse --short HEAD)
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
GITCOMMIT="$GITCOMMI... | masahide/pyramid-scheme | hack/make.sh | Shell | mit | 2,096 |
alias d="docker"
alias dst="docker stop"
alias drm="docker rm"
alias dps="docker ps -a"
alias dmi="docker images"
alias drun="docker run --rm -it"
alias doco="docker-compose"
alias dcr="docker-compose run --rm"
dclean() {
docker rm $(docker ps --filter "status=exited" -q)
}
dcleani() {
docker rm $(docker ps -aq)
... | bernardeli/dotfiles | shell/docker.sh | Shell | mit | 477 |
#!/usr/bin/env bash
sudo chmod +rx /sepalUsers
if [[ "${DEPLOY_ENVIRONMENT}" == "DEV" ]]
then
echo "Starting nodemon"
[[ -d node_modules ]] || npm install
NODE_TLS_REJECT_UNAUTHORIZED=0 exec nodemon \
--watch "${MODULE}"/src \
--watch "${SHARED}" \
--inspect=0.0.0.0:9236 \
src/main.js \
--amq... | openforis/sepal | modules/user-storage/start.sh | Shell | mit | 1,206 |
#!/usr/bin/env bash
VERSION="1.2.0"
rm -rf dist
rm ai.so
python ./setup.py build_ext --inplace
cxfreeze --include-modules=encodings.ascii,encodings.utf_8 -O -c --target-name=mysticmine monorail.py
cp -R ../data/800x600 dist/data
cp error_mm.log dist
cp quest.stat dist
cp ../LICENSE.txt dist
cp ../assets/graphics/i... | koonsolo/MysticMine | monorail/create_freeze.sh | Shell | mit | 499 |
#!/bin/bash
#
# Extract arguments from an SPF record recursively.
#
# VERSION :0.1.1
# DATE :2018-04-16
# URL :https://github.com/szepeviktor/debian-server-tools
# AUTHOR :Viktor Szépe <viktor@szepe.net>
# LICENSE :The MIT License (MIT)
# BASH-VERSION :4.2+
# DOCS :http:/... | szepeviktor/debian-server-tools | mail/spf-survey.sh | Shell | mit | 1,516 |
#!/bin/sh
# https://github.com/lokori/findbugs-security-docker
docker pull lokori/findbugs-sec
docker run --rm -v `pwd`:/workdir/src lokori/findbugs-sec -html:fancy-hist.xsl -output /workdir/src/reports/findsec-report.html src
| lokori/docker-devsec-demo | run-findsecbugs.sh | Shell | mit | 232 |
sudo apt-get -y install ghost-phisher
| sslavov93/kali-linux-tools | scripts/Ghost_Phisher.sh | Shell | mit | 38 |
alias reload='source ~/.zshrc && echo "sourced ~/.zshrc"'
# if grep --color "a" <<<"a" &>/dev/null; then
# export GREP_OPTIONS='--color=always'
# fi
# Directory
CLICOLOR=1
LS_COLORS='di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90'
export LS_COLORS
alias ls='ls -hBGlah -F'
alias ll='ls'
alias lsd='ls -... | amsross/dotfiles | zsh/custom/general.aliases.zsh | Shell | mit | 1,224 |
#!/bin/bash
#Updates local code from git by pulling, and fab kickrestarts
git pull
fab kickrestart:debug=True | sisirkoppaka/articur8 | update_local_from_git.sh | Shell | mit | 110 |
echo "Initializing test..."
case $1 in
"ct")
echo "Performing Create Test"
./tests pct 1
./tests pct 2
./tests pct 4
./tests pct 8
./tests pct 16
./tests pct 32
./tests pct 64
python graph_test.py
;;
"dtt")
echo "Performing Drop Table Test"
./tests pdt 1
./tests pdt 2
./tests pdt 4
./t... | Dar13/OpenMemDB | database/tests/performance_test.sh | Shell | mit | 1,155 |
#!/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... | skyhacker2/ECUIControls | Example/Pods/Target Support Files/Pods-ECUIControls_Tests/Pods-ECUIControls_Tests-frameworks.sh | Shell | mit | 2,756 |
#!/bin/bash
echo "Type the name of your site without the .com This will rename the folder you're in and be used in the first git commit:"
read sitename
echo "Cool hang tight. This might take a few seconds."
(cd ..; mv jade-bower-h5bp-scss-linter-gulp-starter $sitename)
echo "Folder renamed."
echo -ne '\n' 'build' '\n'... | brettwise/prototype-waypaverlabs | gogo-static-site.sh | Shell | mit | 985 |
_qbot() {
COMPREPLY=()
local word="${COMP_WORDS[COMP_CWORD]}"
if [ "$COMP_CWORD" -eq 1 ]; then
COMPREPLY=( $(compgen -W "$(qbot commands)" -- "$word") )
else
local command="${COMP_WORDS[1]}"
local completions="$(qbot completions "$command")"
COMPREPLY=( $(compgen -W "$completions" -- "$word") )... | raisebook/qbot | bin/sub/completions/qbot.bash | Shell | mit | 352 |
#! /bin/bash
docker-compose -f docker-compose.test.yml kill db-test cache-test
| kkemple/awesome-enterprise-web-service | bin/docker-stop-test-dependencies.sh | Shell | mit | 80 |
#!/bin/bash
pushd secure/
shopt -s extglob
for file in !(*.gpg)
do
rm $file
done
shopt -u extglob
popd
| beardandcode/infrastructure | tools/secure/clean.sh | Shell | mit | 110 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2012:0720
#
# Security announcement date: 2012-06-12 14:16:49 UTC
# Script generation date: 2016-10-31 21:18:34 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - kernel-doc.noarch:2.6.18-238.39.1.el5
#... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2012/RHSA-2012:0720.sh | Shell | mit | 2,290 |
alias tempo='curl -4 "http://wttr.in/Jo%C3%A3o%20Pessoa?lang=pt"'
purge_space() {
docker_purge
sudo rm -rf ~/Downloads/* -y
sudo rm -rf /Users/sergio/Library/Caches/* -y
sudo rm -rf /Users/sergio/Library/Application Support/Steam/* -y
}
| sergiovilar/dotfiles | misc/aliases.zsh | Shell | mit | 246 |
#!/usr/bin/env bash
MAPFILE=${HOME}/.arlobot/rosmaps/${1}
if [ $# -eq 0 ]
then
echo "You must provide a map file name."
echo "Run listMaps.sh for a list of your maps."
exit
fi
if [ ! -f ${MAPFILE} ]
then
MAPFILE=${MAPFILE}.yaml
fi
echo ${MAPFILE}
if [ ! -f ${MAPFILE} ]
then
echo "File does not exis... | chrisl8/Metatron | scripts/load-map.sh | Shell | mit | 710 |
#!/bin/bash
if [ "$1" == "start" ]; then
cd server
echo "starting server..."
node index.js >> log.txt&
if [ "$(pidof node)" != "" ]; then
echo "Great success!!"
else
echo "Oops, looks like an error occured. Probably maybe."
fi
elif [ "$1" == "stop" ]; then
echo "stopping server..."
kil... | YRSNorwich/Datamon | server.sh | Shell | mit | 686 |
#!/bin/bash -ex
sudo groupadd hubert || true
sudo useradd -d /home/hubert -m -s /bin/bash -g hubert -G admin,passwordlesssudo,sudo,wheel hubert
sudo passwd hubert
| hwong/provisioning | legacy/scripts/add_users.sh | Shell | mit | 165 |
# wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf/clinvar_20130118.vcf.gz
# wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf/clinvar_20130118.vcf.gz.tbi
# wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf/clinvar_20131230.vcf.gz
# wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf/clinvar_20131230.vcf.gz.tbi
# wget ftp://f... | bgossele/geminicassandra | geminicassandra/annotation_provenance/make-clinvar.sh | Shell | mit | 621 |
#!/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... | anirudh24seven/wikipedia-ios | Pods/Target Support Files/Pods-Foundation-Wikipedia/Pods-Foundation-Wikipedia-frameworks.sh | Shell | mit | 20,249 |
# OSX-only stuff. Abort if not OSX.
is_osx || return 1
# APPLE, Y U PUT /usr/bin B4 /usr/local/bin?!
PATH="/usr/local/bin:$(path_remove /usr/local/bin)"
export PATH
# Trim new lines and copy to clipboard
alias c="tr -d '\n' | pbcopy"
# Make 'less' more.
[[ "$(type -P lesspipe.sh)" ]] && eval "$(lesspipe.sh)"
# Star... | asharpe/dotfiles | source/50_osx.sh | Shell | mit | 2,287 |
#!/bin/sh
# Container
ACCOUNT=""
CONTAINER="gameserver"
VERSION="latest"
# Shell Variables
OPT=""
OPT1=""
OPT2=""
DEBUG="TRUE"
AUTH="FALSE"
XMENU="N"
## Set Echo Command Flavor
PROMPT=""
OS=`uname -a | cut -f1 -d" "`
if [ "$OS" = "Darwin" ] ; then
PROMPT="echo"
else
PROMPT="echo -e"
fi ;
#
# Shell Functi... | srohilla/CodeSpanners | CodeSpartansRestlet/docker.sh | Shell | mit | 6,964 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.