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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
#
# List of contrib packages to be released
# See build-support/README.md for more information on the format of each
# `PKG_$NAME` definition.
#
PKG_SCROOGE=(
"pantsbuild.pants.contrib.scrooge"
"//contrib/scrooge/src/python/pants/contrib/scrooge:plugin"
"pkg_scrooge_install_test"
)
function ... | foursquare/pants | contrib/release_packages.sh | Shell | apache-2.0 | 7,350 |
#!/bin/bash
PLATFORM=`uname -s`
PRG="$0"
PRGDIR=`dirname "$PRG"`
BASEDIR=`cd "$PRGDIR" >/dev/null; pwd`
cd $BASEDIR
echo
echo "Building library avro-c-1.7.7"
cd third-party/avro-c-1.7.7/
if [ ! -d "build" ]; then
mkdir build
fi
cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
cd ../../..
echo
echo "Build... | opencb/hpg-bigdata | hpg-bigdata-core/native/build.sh | Shell | apache-2.0 | 965 |
#!/bin/sh
set -o errexit # Exit the script with error if any of the commands fail
# Supported/used environment variables:
# SSL Set to "yes" to enable SSL. Defaults to "nossl"
# MONGODB_URI Set the suggested connection MONGODB_URI (including credentials and topology info)
# API_VERSION ... | mongodb/mongo-php-library | .evergreen/run-tests.sh | Shell | apache-2.0 | 3,110 |
#!/bin/bash
#******************************************************************************
# Copyright 2016-2017 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
#
# ht... | rsdubtso/DeepBench | code/intel/convolution/mkl_conv/run_mkl_conv_ia.sh | Shell | apache-2.0 | 1,454 |
#!/bin/bash
cat installed_files.txt | xargs rm -rvf
| saurabh-hirani/icinga2_api | uninstall.sh | Shell | isc | 52 |
#!/bin/bash
# Copyright 2017 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... | NazarethCollege/heweb2017-devops-presentation | sites/tweetheat/src/backend/vendor/src/github.com/youtube/vitess/examples/local/vtctld-up.sh | Shell | mit | 1,387 |
#!/bin/sh
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PS1="linaro-test [rc=$(echo \$?)]# "
export HOME PS1 PATH
early_setup() {
mkdir -p /proc /sys /tmp /run
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t devtmpfs none /dev
ln -s /run /var/run
chmod 0666 /dev/tty*
chown ro... | wwright2/dcim3-angstrom1 | sources/meta-linaro/meta-linaro/recipes-core/initrdscripts/files/init-boot-linaro.sh | Shell | mit | 845 |
#!/bin/bash
HOME_DIR=`echo $HOME | sed -e s/\\\\/$//`
ROOT_DIR=${HOME_DIR}/bin/skinny-framework
rm -rf ${ROOT_DIR}
mkdir -p ${ROOT_DIR}
SKINNY_COMMAND=${ROOT_DIR}/skinny
cd ${ROOT_DIR}
TEMPLATE_PATH=https://raw.githubusercontent.com/skinny-framework/skinny-framework/develop/yeoman-generator-skinny/app/templates
wget ... | seratch/skinny-framework | setup.sh | Shell | mit | 848 |
#!/usr/bin/env bash
set -ex
cd `dirname $0`
VERSION=$1
if [[ "${VERSION}" == "" ]]
then
echo "Version number required"
exit 1
fi
./build.sh
echo "====== RENAMING 0.0.0-PLACEHOLDER to 2.0.0-rc.${VERSION} ======"
find ./dist/packages-dist/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/0\\.0\\.0-PLA... | alfonso-presa/angular | publish-packages.sh | Shell | mit | 777 |
#!/usr/bin/python ../scripts/shcov
echo Rad 1
echo Rad 2
| SimonKagstrom/shcov | tests/hash_bang.sh | Shell | gpl-2.0 | 58 |
#!/bin/sh
#
# Copyright (c) 2006, 2014 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 Fr... | FauxFaux/jdk9-jdk | test/com/sun/jdi/RedefineIntConstantToLong.sh | Shell | gpl-2.0 | 3,046 |
#!/bin/bash
# restore_leader_if_missing.sh is a workaround for patroni not currently
# having a way to replicate a new leader from a wal-e backup.
#
# The idea is that patroni can create a replica from wal-e if there is a leader
# though I'm not sure why a leader is required. That's future work in patroni.
#
# So this... | dingotiles/dingo-postgresql-release | images/postgresql96-patroni/scripts/postgres/restore_leader_if_missing.sh | Shell | apache-2.0 | 3,260 |
#!/bin/bash
# Copyright 2014 Yajie Miao Carnegie Mellon University Apache 2.0
# This script trains Maxout Network models over fMLLR features. It is to be
# run after run.sh. Before running this, you should already build the initial
# GMM model. This script requires a GPU, and also the "pdnn" toolkit to t... | weiwchu/kaldipdnn | run_timit/run-dnn-maxout.sh | Shell | apache-2.0 | 7,065 |
#!/bin/bash
set -x
env
# Download maven 3 if the system maven isn't maven 3
VERSION=`mvn -v | grep "Apache Maven 3"`
if [ -z "${VERSION}" ]; then
curl http://archive.apache.org/dist/maven/binaries/apache-maven-3.2.1-bin.tar.gz > apache-maven-3.2.1-bin.tar.gz
tar -xvzf apache-maven-3.2.1-bin.tar.gz
MVN=${PWD}/a... | stackforge/monasca-api | run_maven.sh | Shell | apache-2.0 | 1,305 |
#!/bin/bash
# Copyright 2018 Google LLC
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This assumes it is being run inside a docker container of gold-karma-chrome-tests
# and a Skia checkout has been mounted at /SRC and the output directory
# is mounted at /OU... | youtube/cobalt | third_party/skia/infra/canvaskit/test_canvaskit.sh | Shell | bsd-3-clause | 1,128 |
#!/bin/sh
# $FreeBSD$
. `dirname $0`/conf.sh
echo "1..1"
us0=$(attach_md -t malloc -s 1M) || exit 1
us1=$(attach_md -t malloc -s 2M) || exit 1
us2=$(attach_md -t malloc -s 3M) || exit 1
gstripe create -s 16384 $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
devwait
# Size of created device should be 1MB * 3.
size=`... | TigerBSD/TigerBSD | FreeBSD/tests/sys/geom/class/stripe/1_test.sh | Shell | isc | 439 |
#!/usr/bin/env bash
usage()
{
echo "Publishes the NuGet packages to the specified location."
echo "For publishing to Azure the following properties are required."
echo " /p:CloudDropAccountName=\"account name\""
echo " /p:CloudDropAccessToken=\"access token\""
echo " /p:__BuildType=\"Configur... | LLITCHEV/coreclr | publish-packages.sh | Shell | mit | 2,028 |
#!/bin/sh
#Format floppy disks
#Copyright (c) Barry Kauler 2004 www.goosee.com/puppy
#2007 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
#130517 BK: code improved and internationalized.
export TEXTDOMAIN=floppy-format
export OUTPUT_CHARSET=UTF-8
zapfloppy()
{
# Puppy will only allow 1440, 1... | ninaholic/woof-CE | woof-code/rootfs-skeleton/usr/sbin/floppy-format.sh | Shell | gpl-2.0 | 4,385 |
#!/bin/sh
# confirm that 'mv symlink symlink' doesn't remove symlink
# Based on an example from David Luyer.
# Copyright (C) 2001-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... | houwentaoff/coreutils | tests/mv/into-self-4.sh | Shell | gpl-3.0 | 1,107 |
#!/bin/bash
#
# Contains the main cross compiler, that individually sets up each target build
# platform, compiles all the C dependencies, then build the requested executable
# itself.
#
# Usage: build.sh <import path>
#
# Needed environment variables:
# REPO_REMOTE - Optional VCS remote if not the primary repository... | yapdns/yapdnsbeat | vendor/github.com/elastic/beats/dev-tools/packer/docker/xgo-image-deb6/base/build.sh | Shell | mit | 5,092 |
#! /bin/sh
rm -f config.cache
#Check if the autoreconf command is available, and use that if so.
if command -v autoreconf >/dev/null 2>&1 ; then
echo autoreconf...
autoreconf --install
else
if test -d /usr/local/share/aclocal ; then
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /usr/local/share/aclocal"
fi
(command... | ytaben/cyphesis | autogen.sh | Shell | gpl-2.0 | 1,251 |
#!/bin/sh
# Verify that id -G prints the right group when run set-GID.
# Copyright (C) 2012-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 3... | bu2/coreutils | tests/misc/id-setgid.sh | Shell | gpl-3.0 | 1,174 |
#!/bin/sh
# test diagnostics are printed immediately when seeking beyond device.
# Copyright (C) 2008-2016 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... | sbu-fsl/tc-coreutils | tests/dd/skip-seek-past-dev.sh | Shell | gpl-3.0 | 2,003 |
#!/bin/sh -ex
rm -f nlopt-2.3.tar.gz
curl -OL http://ab-initio.mit.edu/nlopt/nlopt-2.3.tar.gz
tar -zxvf nlopt-2.3.tar.gz
cd nlopt-2.3
env CFLAGS="-fPIC" ./configure && make
sudo make install
cd ..
rm -rf nlopt-2.3
rm -f libsrs2-1.0.18.tar.gz
curl -OL http://www.libsrs2.org/srs/libsrs2-1.0.18.tar.gz
tar -zxvf libsrs2-... | avsm/opam-ppa | jenkins/10-opam-source-install.sh | Shell | gpl-3.0 | 418 |
#!/bin/bash
set -eEuo pipefail
# wait for bootstrap to apply config entries
wait_for_config_entry proxy-defaults global
wait_for_config_entry service-resolver s2
gen_envoy_bootstrap s1 19000 primary
gen_envoy_bootstrap s2 19001 primary
gen_envoy_bootstrap s3 19002 primary | scalp42/consul | test/integration/connect/envoy/case-cfg-resolver-svc-redirect-tcp/setup.sh | Shell | mpl-2.0 | 275 |
#!/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... | kl0u/flink | flink-end-to-end-tests/test-scripts/test_resume_savepoint.sh | Shell | apache-2.0 | 5,256 |
#!/bin/bash
FN="h20kcod.db_3.4.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/h20kcod.db_3.4.0.tar.gz"
"https://bioarchive.galaxyproject.org/h20kcod.db_3.4.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-h20kcod.db/bioconductor-h20kcod.db_3.4.0_src_all.tar.gz... | cokelaer/bioconda-recipes | recipes/bioconductor-h20kcod.db/post-link.sh | Shell | mit | 1,298 |
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
npm run build
mkdir -p tmp
if [ ! -d "tmp/gh-pages" ]; then
git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages
fi
cd tmp/gh-pages
git pull
find . -maxdepth 1 ! -name '.git' ! -name '... | sss0791/react-datepicker | docs/publish.sh | Shell | mit | 474 |
#!/bin/sh
# Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
# 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 copyri... | ZHAW-INES/rioxo-uClinux-dist | user/strace/syscallent.sh | Shell | gpl-2.0 | 2,709 |
#!/bin/sh
: ==== start ====
TESTNAME=nat-pluto-06
source /testing/pluto/bin/northlocal.sh
echo done
| y-trudeau/openswan-patch-meraki | testing/pluto/nat-pluto-06/northinit.sh | Shell | gpl-2.0 | 104 |
#!/usr/bin/env bash
#
# findMissingTranslations.sh
#
# Locate all language strings needing an update based on English
#
# Usage: findMissingTranslations.sh [language codes]
#
# If no language codes are specified then all languages will be checked
#
LANGHOME="Marlin/src/lcd/language"
[ -d $LANGHOME ] && cd $LANGHOME
... | simon-jouet/Marlin | buildroot/share/scripts/findMissingTranslations.sh | Shell | gpl-3.0 | 1,189 |
#!/bin/bash
set -e
set -o pipefail
name=$(basename $0 .sh)
result=$(mktemp -t ${name}.out.XXXXXX)
stderr=$(mktemp -t ${name}.out.XXXXXX)
ret=0
rm -f test_file
# First make sure that this OVAL fails, then scan again with --remediate
$OSCAP xccdf eval --results $result $srcdir/${name}.xccdf.xml 2> $stderr || ret=$?
[ ... | openprivacy/openscap | tests/API/XCCDF/unittests/test_remediation_subs_value_title.sh | Shell | lgpl-2.1 | 2,204 |
#!/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... | airbnb/airflow | scripts/ci/pre_commit/pre_commit_in_container_bats_test.sh | Shell | apache-2.0 | 1,249 |
#!/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... | smgoller/geode | ci/pipelines/clean_fork_pipelines.sh | Shell | apache-2.0 | 3,170 |
#!/bin/bash
#
# Copyright 2019 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.
#
# Search the current directory and its subdirectories for PNG and SVG images,
# and output an HTML page containing the images.
#
# Usage: ./ge... | nwjs/chromium.src | ui/file_manager/file_manager/foreground/images/generate_image_html.sh | Shell | bsd-3-clause | 1,789 |
#!/bin/sh
#
# Copyright (c) 2002, 2010, 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 F... | FauxFaux/jdk9-jdk | test/java/nio/Buffer/LimitDirectMemory.sh | Shell | gpl-2.0 | 3,183 |
#!/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 ... | twitter-forks/bazel | scripts/release/common.sh | Shell | apache-2.0 | 3,458 |
#!/bin/bash
#
# vim: set ts=4 sw=4 et:
#
# Passed arguments:
# $1 - pkgname [REQUIRED]
# $2 - cross target [OPTIONAL]
if [ $# -lt 1 -o $# -gt 2 ]; then
echo "${0##*/}: invalid number of arguments: pkgname [cross-target]"
exit 1
fi
PKGNAME="$1"
XBPS_CROSS_BUILD="$2"
for f in $XBPS_SHUTILSDIR/*.sh; do
. $... | oliver-cfc/void-packages | common/xbps-src/libexec/xbps-src-dofetch.sh | Shell | bsd-2-clause | 1,285 |
# The below functions have been pulled from the following Stack Overflow
# answer: http://stackoverflow.com/a/5196220/3898812 from the user John Kugleman
# and they are all kinds of awesome.
. /etc/init.d/functions
# Use step(), try(), and next() to perform a series of commands and print
# [ OK ] or [FAILED] at the... | philippreston/OpenMAMA | release_scripts/helper-functions.sh | Shell | lgpl-2.1 | 1,545 |
#!/bin/bash -x
connect_server_list_jobs(){
exec sqoop2 << EOF
set server --host localhost --port 12000
show server --all
show job --all
exit
EOF
}
check_sqoop2(){
res=`connect_server_list_jobs`
if [ `echo $res | grep "localhost" | wc -l` -lt 1 ]; then
echo "sqoop2 is not available"
exit 1
... | shakamunyi/sahara | sahara/tests/integration/tests/resources/sqoop2_service_test.sh | Shell | apache-2.0 | 567 |
export a=1
export a
export a=1 b=2
| siosio/intellij-community | plugins/sh/testData/oldParser/exportParse.sh | Shell | apache-2.0 | 35 |
#!/bin/sh
uudecode espudp1.puu
echo -n test espudp1...
../tcpdump -t -n -E "file esp-secrets.txt" -r espudp1.pcap >espudp1.new
if diff espudp1.new espudp1.out
then
echo passed.
else
echo failed.
fi
| rhuitl/uClinux | user/tcpdump/tests/espudp1.sh | Shell | gpl-2.0 | 203 |
#!/bin/sh
# find root
cd `dirname $PWD/$0` ; cd ..
#TODO: add support for ccache
# XXX. fails with >1
[ -z "${MAKE_JOBS}" ] && MAKE_JOBS=8
OLD_LDFLAGS="${LDFLAGS}"
unset LDFLAGS
export CC="emcc -Os -s WASM=1 -s SIDE_MODULE=1"
export AR="emar"
CFGFLAGS="./configure --prefix=/usr --disable-debugger --with-compiler=wa... | jduck/radare2 | sys/wasm.sh | Shell | lgpl-3.0 | 503 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ mogene10stv1probe
| joachimwolff/bioconda-recipes | recipes/bioconductor-mogene10stv1probe/pre-unlink.sh | Shell | mit | 64 |
#!/bin/bash
# Starts an Ubuntu 14.04 Docker container and runs the Yarn end-to-end test on it
set -ex
./data/start-ubuntu.sh ubuntu:14.04
| kasperlewau/yarn | end_to_end_tests/test-ubuntu-14.04.sh | Shell | bsd-2-clause | 138 |
#!/bin/bash
# Copyright 2015 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 ... | aclisp/kubernetes | contrib/mesos/ci/test-integration.sh | Shell | apache-2.0 | 1,037 |
rm -f $MYSQLTEST_VARDIR/master-data/test/rpl_misc_functions.outfile
| HiSPARC/station-software | user/mysql/mysql-test/suite/rpl/t/rpl_misc_functions-slave.sh | Shell | gpl-3.0 | 68 |
#!/bin/sh
set -e # Exit on error
echo 'Provisioning Environment'
if which smtp-sink > /dev/null; then
echo ' smtp-sink is already installed'
else
echo ' Updating apt-get repositories'
sudo apt-get -y -qq update > /dev/null
echo ' Installing postfix'
sudo DEBIAN_FRONTEND=noninteractiv... | schutm/wakala | environments/resources/provision.sh | Shell | isc | 681 |
#!/usr/bin/env bash
#Petit script pour afficher la config du reverse proxy pour un service via un curl dans Consul
#zf170515.0921
curl -X GET http://10.92.103.53:8500/v1/catalog/services |jq "" |grep "Host:" |grep -i $1
| zuzu59/deploy-proxmox | showsdfrp.sh | Shell | mit | 224 |
#!/bin/bash
#
# Copyright (c) 2009-2014 finfra.com <nowage@gmail.com>
#
# 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 without limitation the rights
# to use, ... | WTFace/hadoop2_cluster_install_for_centos | installSshpass.sh | Shell | mit | 1,777 |
#!/usr/bin/env bash
sudo yum -y groupinstall 'Development Tools'
sudo yum -y install gmp gmp-devel db4 db4-devel ncurses ncurses-devel
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
if [ "$SCRIPTPATH" = "/tmp" ] ; then
SCRIPTPATH=/vagrant
fi
mkdir -p $HOME/rpmbuild/{BUILD,RPMS,SOURCES,SRPMS}
ln -sf $SC... | cfpb/gnucobol-el6-rpm | bootstrap.sh | Shell | mit | 553 |
#!/usr/bin/env bash
# Copyright (c) 2016 The DigiByte Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
### This script attempts to download the signature file SHA256SUMS.asc from
### digibytecore.org and digibyt... | digibyte/digibyte | contrib/verifybinaries/verify.sh | Shell | mit | 5,083 |
#!/bin/bash
# download selected debian-choot from docker image repository
# may not work sometimes (after major changes in docker's debian repo structure)
# In order to setup debian chroot with sandboxer, you need to do the following:
# 0. make sure you are running this steps as regular unpriveleged user (thats the p... | DarkCaster/Sandboxer | Examples/download-debian-chroot.sh | Shell | mit | 5,441 |
cd compiler; cargo build; cd ..
cd assembler; cargo build; cd ..
cd simulator; cargo build; cd ..
./compiler/target/debug/kcc tests/test.c > test.asm
./assembler/target/debug/kasm test.asm > test.bin
./simulator/target/debug/ksim test.bin > test.txt
diff test.txt tests/expect.txt
| kivantium/kivantium | test.sh | Shell | mit | 282 |
#!/bin/bash
# The iTerm2 customizations fall under the following license:
#
# 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 option) any later versi... | weichuliu/dots | iterm2_shell_integration.bash | Shell | mit | 23,765 |
#16x16 has to be done manually
sizesNoAA="20 32"
sizesAA="40 44 46 50 64 128 150 256 512"
names=""
for i in $sizesNoAA
do
convert +antialias -background none plug.svg -filter Lanczos -resize ${i}x${i} png8:icon_${i}x${i}.png
names=$names" icon_"${i}x${i}".png"
done
for i in $sizesAA
do
convert +antiali... | petrroll/PowerSwitcher | PowerSwitcher.Assets/create_icon.sh | Shell | mit | 488 |
#!/bin/bash
APP=pybitmessage
PREV_VERSION=0.4.2
VERSION=0.4.2
RELEASE=1
SOURCEDIR=.
ARCH_TYPE=`uname -m`
CURRDIR=`pwd`
SOURCE=~/rpmbuild/SOURCES/${APP}_${VERSION}.orig.tar.gz
# Update version numbers automatically - so you don't have to
sed -i 's/VERSION='${PREV_VERSION}'/VERSION='${VERSION}'/g' Makefile debian.sh a... | domob1812/PyBitmessage | rpm.sh | Shell | mit | 1,811 |
# F1 main
echo "Running Baseline experiment"
python validation.py --interpro --pfam --cc --bp --mf --binary --verbose --model=LogisticRegression --n_jobs=4 --h_iterations=30 --n_iterations=3 --n_splits=5 --output_folder=baseline
echo "Running Random Forest experiment"
python validation.py --interpro --pfam --cc --bp ... | daniaki/pyPPI | scripts/run_val_exp.sh | Shell | mit | 1,814 |
sudo apt-get install -y curl software-properties-common build-essential
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
sudo apt-get install -y nodejs
| krandalf75/linux-utils | debian9/nodejs.sh | Shell | mit | 165 |
#!/bin/bash
set -e
echo "Building application"
go list ./... | grep -v /vendor/ | grep -v bindata_assetfs.go | xargs -L1 go vet
go list ./... | grep -v /vendor/ | grep -v bindata_assetfs.go | xargs -L1 go vet
go fmt ./...
go test ./... --cover
go install
| quii/mockingjay-server | build.sh | Shell | mit | 258 |
## [name]
## Alias of "run".
@ACTIONS.run "$@" | reduardo7/docker-dev-base | src/actions/start.sh | Shell | mit | 47 |
#!/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... | iosprogrammingwithswift/iosprogrammingwithswift | 18_MagicalRecord/Pods/Target Support Files/Pods-11_MagicalRecord/Pods-11_MagicalRecord-frameworks.sh | Shell | mit | 3,562 |
#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
# set -o xtrace
if [[ $# -eq 0 ]] ; then
echo "Please supply a version, e.g. 'v3'"
exit 1
fi
# This script uploads docs to a specified archive version.
SPATH="/archive/$1"
aws configure set preview.cloudfront true
aws --profile mitmproxy \
... | vhaupert/mitmproxy | docs/upload-archive.sh | Shell | mit | 507 |
$INSTANS_HOME/bin/instans --prefix-encoding=true -r queries/construct-event-output.rq -r queries/EPA-All.rq --input-blocks=data/CEP2SPARQL_SamplePattern.trig --allow-rule-instance-removal=false --rdf-operations=add:execute-snapshot:remove:execute:flush --time=- --input-blocks=data/CEP2SPARQL_SampleEvents.trig
| aaltodsg/instans-cep2sparql | cep2sparql.sh | Shell | mit | 311 |
source ./library-symlinks.sh
symlink_lib 'client' 'event_store'
| obsidian-btc/event-store-client | symlink-lib.sh | Shell | mit | 65 |
#!/bin/bash
gcc test.c
./a.out | head -c 4000000 > output.raw
sox -r 24000 -c 1 -t u8 output.raw output.wav
open output.wav
| cpmpercussion/evobytebeat | makeoutput.sh | Shell | mit | 125 |
#NOT USING THIS FILE ANYMORE
#!/bin/sh
#what pin are we interested in?
PIN="$1"
#setup
/usr/local/bin/gpio mode $PIN in
/usr/local/bin/gpio mode $PIN down
#first...
#echo `/usr/local/bin/gpio read $PIN` > /tmp/gpio$PIN
#loop
LAST=-1
while true; do
VAL=`/usr/local/bin/gpio read $PIN`
if [ "$VAL" != "$LAST" ]
... | albennett/magic-mirror-pi | gpio/readNode.sh | Shell | mit | 378 |
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 | python/pydf/doinst.sh | Shell | mit | 370 |
export APP_HOME=..
TAG=EFW_L3_B
export LD_LIBRARY_PATH=$APP_HOME:$LD_LIBRARY_PATH
export LUA_PATH=$APP_HOME/?.lua
export LUA_CPATH=$APP_HOME/bin/?.dll
export IN_FOLDER=$APP_HOME/test/in
export OUT_FOLDER=$APP_HOME/test/out
export C3_CP_EFW_L3_E=$IN_FOLDER/C3_CP_EFW_L3_E__20020808_000000_20020808_060000_V110505.cef
... | caa-dev-apps/libcef_v2 | app/test/efw_L3_B.sh | Shell | mit | 871 |
#!/bin/bash
if [ -z "$CATALINA_HOME" ]; then
echo "CATALINA_HOME must be specified"
exit 1
fi
echo "CATALINA_HOME=[$CATALINA_HOME]"
sh "$CATALINA_HOME/bin/shutdown.sh"
rm -rf "$CATALINA_HOME/webapps/kuzoff-ws"
rm "$CATALINA_HOME/webapps/kuzoff-ws.war"
cp build/libs/kuzoff-ws.war "$CATALINA_HOME/webapps" | cyber-waste/kuzoff | webservice-server/src/build/shell/deploy.sh | Shell | mit | 316 |
#!/bin/sh
echo "Please install Xcode from:"
open "https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12"
read -p "Press enter to continue"
echo "Please install Sunrise Calendar from:"
open "https://itunes.apple.com/us/app/sunrise-calendar/id886106985?ls=1&mt=12"
read -p "Press enter to continue"
# Install Hom... | pftg/dotfiles | .dotfiles/osx-bootstrap/osx-bootstrap.sh | Shell | mit | 1,523 |
#!/usr/bin/env bash
set -e
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )"
echo "Checking .env file..."
if [ ! -e "$ROOT"/docker/.env ]; then
echo "No docker/.env file found. Creating from .env.example..."
cp "$ROOT"/docker/.env.example "$ROOT"/docker/.env
echo "NOTE: Please review the docker/.e... | Medology/FlexibleMink | bin/init/init_docker_env.sh | Shell | mit | 547 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:1893
#
# Security announcement date: 2015-10-15 11:55:57 UTC
# Script generation date: 2017-01-11 21:26:15 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - flash-plugin.i686:11.2.202.535-1.el6_7
... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2015/RHSA-2015:1893.sh | Shell | mit | 868 |
#!/bin/bash
pip install -r '../requirements.txt'
| joebowen/movement_validation_cloud | scripts/install_dependencies.sh | Shell | mit | 51 |
#!/bin/bash
PARA_WATCHER_FILE='/data/nginxhtml/cgi_bin_security/nohup.out'
PRAR_PROC_NAME='spawn-fcgi-watcher'
PRAR_PID_FILE='/data/nginxhtml/cgi_bin_security/server.pid'
PARA_HOST_ID=""
PARA_SERVER_ID="cgi_bin_security"
CMD_GREP='/bin/grep'
CMD_AWK='/usr/bin/awk'
CMD_SED='/bin/sed'
cd `dirname $0`
SUB_PID=`ps -eo p... | switch-st/spawn-fcgi-watcher | script/Monitor/ProcMonitor.sh | Shell | mit | 1,063 |
#!/bin/bash
echo "===== started mh_db_auto_backup.sh ======"
source /var/www/mh-hunt-helper/DB/config.sh
cd /keybase/public/devjacksmith/mh_backups/weekly
date > last_updated.txt
# Hunt Helper
echo "====== Backing up hunt helper ====="
if [ -f hunthelper_weekly.sql.gz ]; then
rm hunthelper_weekly.sql.gz
fi
if [... | DevJackSmith/mh-hunt-helper | DB/mh_db_auto_backup.sh | Shell | mit | 3,430 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3420-1
#
# Security announcement date: 2015-12-15 00:00:00 UTC
# Script generation date: 2017-01-29 21:06:15 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - bind9:1:9.8.4.dfsg.P1-6+nmu2+deb7u8
#... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2015/DSA-3420-1.sh | Shell | mit | 653 |
#!/bin/bash
set -ex
sudo dnf install -y @c-development cmake pkgconfig gcc-c++ \
{wxGTK3,libnova,zlib,libusb}{,-devel}
OPENPHD_VER=2.6.5
prefix=/opt/phd2
cd $(mktemp -d)
curl -L https://github.com/OpenPHDGuiding/phd2/archive/v${OPENPHD_VER}.tar.gz | tar xzf -
cd phd2-${OPENPHD_VER}
mkdir -p tmp && cd tmp
cmake... | gronki/fedora-setup | build-scripts/build-phd2.sh | Shell | mit | 540 |
#!/bin/bash
set -e
script_dir="$( cd "$( dirname "$0" )" && pwd )"
cd "$script_dir"
if [[ -z $PREFIX ]]; then
PREFIX="$1"
[[ -z $PREFIX ]] && PREFIX="/usr/local"
fi
if [[ -z $CONFIG_DIR ]]; then
CONFIG_DIR="$2"
[[ -z $CONFIG_DIR ]] && CONFIG_DIR="/etc"
fi
mkdir -p "$PREFIX/bin"
cp "$script_dir/clr-ucode-up... | DarkCaster/Linux-Helper-Tools | ClearLinuxUcodeUpdater/install.sh | Shell | mit | 684 |
#!/bin/bash
set -ex
cd ${0%/*}/../
ansible-playbook tests/test.yml -i tests/inventory --syntax-check
| ssato/ansible-playbooks | roles/kvm/tests/run.sh | Shell | mit | 102 |
# Get access token
AT=`curl -s -X POST -H 'content-type: application/x-www-form-urlencoded' 'https://api.mercadopago.com/oauth/token' -d 'grant_type=client_credentials' -d 'client_id=CLIENT_ID' -d 'client_secret=CLIENT_SECRET' | grep -o '"access_token":"[^"]*"' | sed -n 's/.*"access_token":"\(.*\)"/\1/p'`
curl -X PUT ... | matikbird/matikbird.github.io | portfolio/quay/back_end/payments2/mercadopago/api-mercadopago-master/templates/code-examples-master/refund-and-cancellation/bash/cancel.sh | Shell | mit | 452 |
#!/bin/bash
export PYTHONPATH="./pypy-source"
# Make with -O0:
# pypy pypy-source\rpython\bin\rpython -O0 --gc=hybrid dipper.py
# Make with -O2:
pypy pypy-source\rpython\bin\rpython dipper.py
| juddc/Dipper | make.sh | Shell | mit | 195 |
#!/bin/bash
echo "Generating trevecca.html ..."
./trevecca.py > trevecca.html
echo "Generating trevecca_wkhtmltopdf.pdf ..."
wkhtmltopdf --footer-right "[page]" --dump-outline trevecca_wkhtmltopdf_toc.xml trevecca.html trevecca_wkhtmltopdf.pdf
echo "Generating wkhtmltopdf_toc.xsl ..."
wkhtmltopdf --dump-default-toc-... | welcheb/trevecca_undergraduate_catalog_2015-16 | trevecca.sh | Shell | mit | 861 |
#! /bin/bash
#
# Simple rmdup loop
#
# sambamba_rmdup.sh < bamlist
#
# Example
#
# ls -1 --color=never *.bam | grep -v _rmdup | /hpc/local/CentOS6/cog_bioinf/CuppenResearch/somatic_pipeline/scripts/sambamba_rmdup.sh
sambamba=sambamba
onceonly=$HOME/izip/git/opensource/ruby/once-only/bin/once-only
while read bam ... | CuppenResearch/somatic_pipeline | scripts/sambamba_rmdup.sh | Shell | mit | 647 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-425-1
#
# Security announcement date: 2016-02-23 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:08 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libssh:0.4.5-3+squeeze3
#
# Last vers... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2016/DLA-425-1.sh | Shell | mit | 615 |
#!/bin/bash
[ "$(_get_tmux_major_version)" -eq "1" ]
| eviljoe/junk-n-stuff | src/tmuxlib/_is_tmux_v1.sh | Shell | mit | 55 |
if [ -z "$KALS_BRANCH" ]; then KALS_BRANCH=voc4fun-server/master; fi
if [ -z "$KALS_PATH" ]; then KALS_PATH=/var/www/voc4fun-server; fi
if [ -z "$KALS_DIR" ]; then KALS_DIR=/var/www; fi
#echo $KALS_DIR
#cd $KALS_DIR
git clone git://github.com/pulipulichen/voc4fun-server.git "$KALS_PATH"
git reset --hard origin/master | pulipulichen/voc4fun-server | git-scripts/clone.sh | Shell | mit | 320 |
#!/bin/bash
# wget https://github.com/python/cpython/archive/3.5.zip -O python.zip
# find cpython-3.5/Doc/ -name "*.rst" | grep -v whatsnew | xargs -I{} cat "{}" | perl -ne 'm{method::\s*([^\(\)]*)\s*} && print "$1\n";'
| wsdookadr/news | kwtech/python.sh | Shell | mit | 220 |
#!/bin/bash
START=$(date)
export OMP_NUM_THREADS=8
time ./compute_projection_correction.run ../config/DLA_DR9_bin2Mpc_80Mpc_sampleC2_cosmoAndreu.ini
time ./compute_lya1d.run ../config/DLA_DR9_bin2Mpc_80Mpc_sampleC2_cosmoAndreu.ini
time ./correlation.run ../config/DLA_DR9_bin2Mpc_80Mpc_sampleC2_cosmoAndreu.ini
echo ... | iprafols/cross_correlations | programs/DLA_DR9_bin2Mpc_80Mpc_sampleC2_cosmoAndreu.sh | Shell | mit | 358 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3185-1
#
# Security announcement date: 2017-02-01 00:00:00 UTC
# Script generation date: 2017-02-03 21:04:22 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libxpm4:1:3.5.9-4ubuntu0.1
# - lib... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2017/USN-3185-1.sh | Shell | mit | 911 |
#!/bin/ksh
isql -Ubrass -Pascasc -SDB_NITSYBUNIV1 -w200 <<SQLDONE >order_info.lis
select entdate,convert(char(8),dateadd(ss,abs(crttime),'12/31/69 20:00'),8) 'Entry Time',nasdstat,bors, secsym,abs(qty) 'quantity',price,bidprice,askprice,status,type,bkrsym
from openorder
where entdate >= '08/01/00' and entdate <= '09/... | pitpitman/GraduateWork | Knight/order_info.sh | Shell | mit | 912 |
export SECRET_KEY="some_secretkey"
export SERVER_NAME="dev.gunlinux.org"
export EXTRA_DEBUG="True"
export PORT=7777 | gunlinux/gunlinux.org | config.example.sh | Shell | mit | 115 |
#!/usr/bin/env bash
declare -A params=$6 # Create an associative array
declare -A headers=${9} # Create an associative array
declare -A rewrites=${10} # Create an associative array
paramsTXT=""
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
fastcgi_param ${el... | laravel/homestead | scripts/site-types/silverstripe.sh | Shell | mit | 3,161 |
shopt -s checkwinsize
# bash history
shopt -s histappend histreedit histverify
HISTCONTROL='ignoreboth:erasedups'
HISTIGNORE='oplop-v ?*:tmux attach:tmux a:\:q'
# with erasedups ignoring these doesn't seem all that useful:
# # forget commands that are simple and generic (no args)
# HISTIGNORE='fc *:history:l[slfh]:c... | rwstauner/run_control | bash/bash.d/settings.sh | Shell | mit | 600 |
#!/bin/bash
####################################################################
#
# The MIT License (MIT)
#
# Copyright (c) 2015 GODDOG
#
# 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 wit... | qianyingshuo/resign-forever | resign-forever.sh | Shell | mit | 4,216 |
#!/bin/bash -ev
# Beyond Linux From Scratch
# Installation script for libreoffice-5.0.0.5
#
# Dependencies
#**************
# Begin Required
#archive__zip-1.49
#unzip-6.0
#wget-1.16.3
#which-2.21
#zip-3.0
# End Required
# Begin Recommended
#boost-1.58.0
#clucene-2.3.3.4
#cups-2.0.4
#curl-7.43.0
#dbus_glib-0.104
#libjpeg... | pajamapants3000/BLFS_scripts_etc | scripts/old/libreoffice-4.4.4.3.sh | Shell | mit | 9,557 |
#!/bin/bash
echo "================BEGIN BATCH "$1"================"
currbatch="batch"$1
nextbatch_id=`expr $1 + 1`
cd Waiting
cd $currbatch
mkdir exports
for f in *.png
do
echo "---------------------------------------------"
fname="${f##*/%.*}"
fname="${fname%.*}"
echo "Popping: " $fname
dir="$( cd "$( dir... | neuralfirings/drawing3dp | pop.sh | Shell | mit | 1,042 |
#!/bin/bash -xv
exec 2> /tmp/log
###HTML等を/var/www/に転送###
sudo rm -Rf /var/www/*
sudo rsync -av /home/ubuntu/RobotDesign3/cgi/ /var/www/
###スティッキービットの解除###
sudo chmod o-t /run/shm/
###マニピュレータの書き込みOKに###
sudo chmod 777 /dev/ttyUSB0
###アプリの起動###
sudo python /home/ubuntu/RobotDesign3/scripts/robot_io.py &> /tmp/robot... | ryuichiueda/RobotDesign3 | run.sh | Shell | mit | 396 |
#!/usr/bin/env bash
export NODE_ENV=production
export LOG_LEVEL=error
pm2 start 'server.js' \
--name iamamaze \
--node-args="--nouse-idle-notification"
| aleksey-gonchar/iamamaze.me | scripts/pm2-start-prod.bash | Shell | mit | 154 |
#!/bin/bash
set -x
basedir=$(realpath $1)
tag=${2:-"master"}
cd $basedir
if [[ ! -e smartentry ]]; then
git clone https://github.com/gaoyifan/smartentry.git smartentry
fi
cd smartentry
git fetch origin --tag
commit_id=$(git rev-list -n 1 $tag)
git reset --hard $commit_id
cd $basedir
find $basedir -mindepth 2 -maxde... | gaoyifan/smartentry-images | tools/update-submodule.sh | Shell | mit | 498 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.