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 -e
#
# Copyright (c) 2009-2013 Robert Nelson <robertcnelson@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... | datatranslation/linux-dev | tools/test-me.sh | Shell | mit | 6,335 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/tutorial35... | ktejas/OpenGL | tutorial35/nbproject/Package-Release.bash | Shell | mit | 1,463 |
exiftool -j -g -gps:all -xmp:all *.jpg > export.json
| laugga/memories.laugga.com | research/export/export.sh | Shell | mit | 53 |
#!/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... | tannernelson/activity-bar | Example/Pods/Target Support Files/Pods-ActivityBar_Tests/Pods-ActivityBar_Tests-frameworks.sh | Shell | mit | 3,560 |
# Shell functions for the stubbs module.
#/ usage: source RERUN_MODULE_DIR/lib/functions.sh command
#
# Read rerun's public functions
. "$RERUN" || {
echo >&2 "ERROR: Failed sourcing rerun function library: \"$RERUN\""
return 1
}
# Check usage. Argument should be command name.
[[ $# = 1 ]] || rerun_option_usa... | Configi/configi | tests/modules/stubbs/lib/functions.sh | Shell | mit | 15,086 |
#! /bin/sh
# This first tries to attach to the container if it is already running,
# then tries to start the container and attach to it, and finally
# will run the container from the image if it can't find the container at all.
if [ "$#" -ne 1 ]; then
echo "Usage: docker-run.sh <password>"
exit 1
fi
echo "atta... | national-voter-file/national-voter-file | docker/postgis/dockerResources/docker-run.sh | Shell | mit | 718 |
#!/bin/bash
source miners.sh
for i in $miners
do
php switchpool.php stratum+tcp://us-west.multipool.us:3357 s_alfter.${i} x clear ${i} 4029
done
| salfter/coinswitch | TIPS.sh | Shell | mit | 147 |
ant -DpropertiesPath="../pt.iscte.apista.resources/configJSwing5.properties" evaluate >> resultsEvaluationTokensJSwing5.txt
ant -DpropertiesPath="../pt.iscte.apista.resources/configJSwing4.properties" evaluate >> resultsEvaluationTokensJSwing4.txt
ant -DpropertiesPath="../pt.iscte.apista.resources/configJSwing3.prope... | prendi/apista | pt.iscte.apista.ant/evaluateAll.sh | Shell | epl-1.0 | 502 |
#!/bin/bash
ORIG=../archos-kernel/
NEW=./
if [[ "$1" == "c" ]]
then
DIFF="colordiff -Npur"
PAGER="less -R"
else
DIFF="diff -Npur"
PAGER="cat"
fi
{
for file in \
arch/arm/mach-omap2/archos-audio.c \
arch/arm/mach-omap2/archos-battery.c \
arch/arm/mach-omap2/archos-clock.c ... | CalcProgrammer1/archos-gen8-kernel-2.6.37 | diffarchos.sh | Shell | gpl-2.0 | 1,410 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2019-2021 Petr Vorel <pvorel@suse.cz>
# Copyright (c) 2014-2017 Oracle and/or its affiliates. All Rights Reserved.
# Copyright (c) International Business Machines Corp., 2006
# Author: Mitsuru Chinen <mitch@jp.ibm.com>
TST_TESTFUNC="do_test"
. tst_... | pevik/ltp | testcases/network/stress/broken_ip/broken_ip-checksum.sh | Shell | gpl-2.0 | 568 |
#! /bin/bash
#
# This file is part of adapta-gtk-theme
#
# Copyright (C) 2016-2018 Tista <tista.gma500@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Licens... | tista500/Adapta | gtk/asset/assets-gtk2-scripts/render-assets-gtk2.sh | Shell | gpl-2.0 | 2,505 |
#/bin/bash
OUTPUT=`lava-tool submit-job http://admin:l7y5cz0ttbzedtg7ai1okum11eic3n49igs4t6uiraou0amk3bbs2uqh0impai0y7u9a6mue0ep3m081qjwnw0xtoskocz2xnyina3edkkdjooblh94110e41fl66uq1@10.192.242.176/RPC2 \
/home/r64343/workspace/lava-test/test/imx8mq_evk/imx8mq_evk_vte_regression.json`
if [ $? -eq 0 ]
then
JOB_ID=$(gr... | eslover/lava-test | test/imx8mq_evk/start_ci_regression.sh | Shell | gpl-2.0 | 973 |
#!/bin/sh
tar -xf gromacs-2020.3.tar.gz
tar -xf water_GMX50_bare.tar.gz
# Hack for fixing GROMACS 2020.3 with CUDA 11 to avoid build error
sed -i 's/compute_30,code=sm_30/compute_35,code=sm_35/g' gromacs-2020.3/cmake/gmxManageNvccConfig.cmake
mkdir build
cd build
cmake ../gromacs-2020.3 -DGMX_OPENMP=ON -DGMX_GPU=ON ... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/gromacs-gpu-1.1.1/install.sh | Shell | gpl-3.0 | 714 |
#!/bin/sh -e
autoreconf --install
./configure "$@"
| amigadave/imp | autogen.sh | Shell | gpl-3.0 | 53 |
#!/bin/bash
PROJECT=$1
die() {
echo $*
exit 1
}
set -e
[[ -z "${PROJECT}" ]] && die "You must pass a project name in parameter. For example: $0 geocoder"
docker-compose -p ${PROJECT} rm -sf redis-server-fr
rm -f data-fr/*
docker-compose -p ${PROJECT} up -d redis-server-fr
# Download and load BAN
wget http... | Mapotempo/addok-wrapper | docker/initialize-fr.sh | Shell | agpl-3.0 | 848 |
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
# Infowatch product Device
# remove broken script
rm -fv $BUILDROOT/etc/init.d/grafana-server
subst 's|"*/etc/init.d/grafana-server"*||' $SPEC
rm -fv $BUILDROOT/opt/iw/tm5/share/grafana/scripts/circle-test-*.sh
subst 's|"*/opt/iw/tm... | Etersoft/eepm | repack.d/iwtm-grafana.sh | Shell | agpl-3.0 | 496 |
# Copyright © 2006 Shaun McCance <shaunm@gnome.org>
# Copyright © 2013 Peter De Wachter <pdewacht@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 3 of the License, or... | asivokon/vte-fx | src/vte.sh | Shell | lgpl-2.1 | 1,945 |
#!/bin/bash
. `dirname $0`/build.sh
. `dirname $0`/deploy.sh
| lishan/markdown | dev/builddeploy.sh | Shell | unlicense | 61 |
sudo apt-get install -y openjdk-8-jdk | krakky/market | spark_standalone/bin/ubuntu/2-Spark.sh | Shell | apache-2.0 | 38 |
##
## Build an Appcelerator Android Module
## Then copy it to the default module directory
##
## (c) Napp ApS
## Mads Møller
##
## How to run the script
## write in terminal in the root folder of your project:
## bash ./buildit.sh
## clean build folder
## find ./build -mindepth 1 -delete
## compile the module
ant
... | ashcoding/picatsize | android/buildit.sh | Shell | apache-2.0 | 1,102 |
#!/bin/sh
. /etc/kubernetes/kubelet
. /etc/kubernetes/config
TEMP_KUBELET_ARGS='--cgroups-per-qos=false --enforce-node-allocatable='
ARGS="$@ $TEMP_KUBELET_ARGS $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBELET_API_SERVER $KUBELET_ADDRESS $KUBELET_PORT $KUBELET_HOSTNAME $KUBE_ALLOW_PRIV $KUBELET_ARGS"
ARGS=$(echo $ARGS | ... | ArchiFleKs/magnum | dockerfiles/kubernetes-kubelet/launch.sh | Shell | apache-2.0 | 487 |
## DL params
#export EXTRA_PARAMS='--batch-size=56 --lr-warmup-epoch=5.25 --lr=2.92e-3 --weight-decay=1.6e-4'
#export EXTRA_PARAMS='--batch-size=120 --lr-warmup-epoch=5.25 --lr=5.84e-3 --weight-decay=1.6e-4'
export EXTRA_PARAMS='--batch-size=128 --lr-warmup-epoch=5.25 --lr=5.84e-3 --weight-decay=1.6e-4'
## System run ... | mlperf/training_results_v0.7 | DellEMC/benchmarks/ssd/implementation/mxnet/config_2xC4140_01x08x56.sh | Shell | apache-2.0 | 594 |
#!/usr/bin/env bash
${CPP:-${CC:-cc} -E} ${CPPFLAGS} - > /dev/null 2> /dev/null << EOF
#include <systemd/sd-daemon.h>
EOF
if test $? -eq 0 ; then
echo systemd
fi
| TomSweeneyRedHat/buildah | hack/systemd_tag.sh | Shell | apache-2.0 | 163 |
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
docker build -t $1 .
| objectpartners/rancher-service-updater | scripts/build.sh | Shell | apache-2.0 | 64 |
#!/bin/sh
# SUMMARY: Check that raw output format is generated
# LABELS:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
NAME=check
clean_up() {
# remove any images
find . -depth -iname "${NAME}*" -exec rm -rf {} \;
rm -f test.yml
}
trap clean_up EXIT
mo... | kencochrane/linuxkit | test/cases/000_build/000_outputs/004_raw/test.sh | Shell | apache-2.0 | 408 |
set -e
echo "Enter release version: "
read VERSION
read -p "Releasing $VERSION - are you sure? (y/n)" -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo "Releasing $VERSION ..."
# commit
npm version $VERSION --message "[release] $VERSION"
# publish
git push origin refs/tags... | Leopoldthecoder/Perspective.js | release.sh | Shell | mit | 373 |
#!/bin/sh
# OMERO.importer startup script for Unix
# ------------------------------------------------------------------------------
# Copyright (C) 2006-2001 University of Dundee & Open Microscopy Environment.
# All rights reserved.
#
#
# This program is free software; you can redistribute it and/or modify
# it un... | rleigh-dundee/openmicroscopy | components/insight/launch/OMEROimporter_unix.sh | Shell | gpl-2.0 | 1,317 |
# This is for embedded products (no MMU) with ELF.
MACHINE=
SCRIPT_NAME=elf
TEMPLATE_NAME=elf32
# Symbols have underscore prepended.
OUTPUT_FORMAT="elf32-us-cris"
ARCH=cris
MAXPAGESIZE=32
ENTRY=__start
EMBEDDED=yes
ALIGNMENT=32
TEXT_START_ADDR=0
# Put crt0 for flash/eprom etc. in this section.
INITIAL_READONLY_SECTIO... | seank/FreeScale-s12x-binutils-jm | ld/emulparams/criself.sh | Shell | gpl-2.0 | 2,531 |
#!/bin/bash
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DMG_DIR=$ROOT/dist/dmg
DMG_TMP_NAME=$ROOT/dist/tmp.dmg
DMG_NAME=$ROOT/dist/OnionShare.dmg
TITLE=OnionShare
VOLUME=/Volumes/$TITLE
cd $ROOT
# deleting dist
echo Deleting dist folder
rm -rf $ROOT/dist &>/dev/null 2>&1
# build the .app
echo Building ... | kyonetca/onionshare | build_dmg.sh | Shell | gpl-3.0 | 2,000 |
#!/usr/bin/env bash
# This file is part of RetroPie.
#
# (c) Copyright 2012-2015 Florian Müller (contact@petrockblock.com)
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="sdl2"
rp_modul... | juanfernandes/RetroPie-Setup | scriptmodules/supplementary/sdl2.sh | Shell | gpl-3.0 | 5,105 |
#!/bin/bash
[ -z $DRQUEUE_ROOT ] && export DRQUEUE_ROOT=/usr/local/drqueue
[ -z $DRQUEUE_MASTER ] && export DRQUEUE_MASTER=127.0.0.1
# start slave process
$DRQUEUE_ROOT/bin/slave.Darwin.fat
| DIT-Tools/drqueue | src/bin/slave_osx.sh | Shell | gpl-3.0 | 195 |
#!/bin/bash
NEW_RULES_TMP='/var/www/downloaded.rules.new'
NEW_LOCAL_RULES_TMP='/var/www/local.rules.new'
NOTIFY_EMAIL='mpurzynski@mozilla.com'
NSM_CERT='/etc/ssl/certs/nsmserver1.cert.pem'
NSM_URL='https://nsmserver1.private.scl3.mozilla.com/'
# 0 isn't valid, used to fail in a safe way
SENSOR_OR_SERVER=0
SURIPID=-1... | michalpurzynski/ansible-nsm | roles/suricata/files/idsrulesupdate.sh | Shell | mpl-2.0 | 2,836 |
set -e
set -x
source .misc/env_variables.sh
args=()
if [ "$system_os" == "LINUX" ] ; then
args+=('--cov' '--cov-fail-under=100' '--doctest-modules')
fi
python3 -m pytest "${args[@]}"
| sils1297/coala | .misc/tests.sh | Shell | agpl-3.0 | 189 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you... | julianpeeters/avro | lang/csharp/build.sh | Shell | apache-2.0 | 1,541 |
#!/bin/sh
CONFIG=package/ubuntu
VERSION=$1
BUILDDIR=/tmp/xdispatch
# copy sources to clean target
echo -- create $BUILDDIR
mkdir -p $BUILDDIR
echo -- copy sources to $BUILDDIR/$VERSION
cp -vrf . $BUILDDIR/$VERSION
CURRENT=`pwd`
cd $BUILDDIR/$VERSION
# remove .svn directories (if any)
echo -- clean svn information
rm ... | JackieXie168/libdispatch | doc/xdispatch/package/ubuntu/package.sh | Shell | apache-2.0 | 1,056 |
/*
* Copyright 2016 Dario Manesku. All rights reserved.
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
uniform vec4 u_params[3];
#define u_camPos u_params[0].xyz
#define u_unused0 u_params[0].w
#define u_wfColor u_params[1].xyz
#define u_wfOpacity u_params[1].w
#define u_draw... | jdryg/bgfx | examples/28-wireframe/uniforms.sh | Shell | bsd-2-clause | 380 |
#!/usr/bin/env ash
bareos_sd_config="/etc/bareos/bareos-sd.d/director/bareos-dir.conf"
if [ ! -f /etc/bareos/bareos-config.control ]; then
tar xfz /bareos-sd.tgz --backup=simple --suffix=.before-control
# Update bareos-storage configs
sed -i 's#Password = .*#Password = '\""${BAREOS_SD_PASSWORD}"\"'#' $bareos_s... | barcus/bareos | storage/20-alpine/docker-entrypoint.sh | Shell | mit | 566 |
#!/bin/sh
echo 0 > /sys/class/leds/wifi/brightness
| mrabe89sigma/rdm-meta-jens | recipes-core/init-ifupdown/init-ifupdown/wifi/pre_down.sh | Shell | mit | 52 |
#!/bin/bash
set -e
for ext in "m" "h" "c"
do
find . -type f -name "*.$ext" -exec perl -ni -e 'chomp; print "$_\n"' {} \;
done
# Ensures all files end with a newline.
for ext in "m" "h" "c"
do
find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s;
done | SinnerSchraderMobileMirrors/gh-unit | Scripts/AddNewLineEOF.sh | Shell | mit | 275 |
#
# Copyright (C) 2010 ARM Limited. All rights reserved.
# 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, copy, mo... | hardkernel/buildroot | package/x11r7/xdriver_xf86-video-mali/src/autogen.sh | Shell | gpl-2.0 | 1,331 |
#!/bin/bash
##############################################################
# #
# crfs_arm.sh - Create Root File System #
# #
# Written by Aharon Gadot <aharong@marvell.com> ... | aldencolerain/mc2kernel | scripts/crfs_arm_mv7sft.sh | Shell | gpl-2.0 | 22,240 |
#
# $Id: net.sunset.sh,v 1.3 2002/06/18 19:12:32 mcr Exp $
#
if [ -n "$UML_west_CTL" ]
then
net_eth0="eth0=daemon,10:00:00:ab:cd:01,unix,$UML_west_CTL,$UML_west_DATA";
elif [ -n "$UML_private_CTL" ]
then
net_eth0="eth0=daemon,10:00:00:ab:cd:01,unix,$UML_private_CTL,$UML_private_DATA";
else
net_eth0="eth0=mc... | mcr/bluerose | testing/baseconfigs/net.sunset.sh | Shell | gpl-2.0 | 382 |
#/bin/bash
if [[ "$(which php-parser)" == "" ]]; then
echo "ERROR: cannot find php-parser in your PATH!"
exit 1
fi
if [ ! -d "$1" ]; then
echo "USAGE: $0 /path/to/php-tests"
exit 2
fi
passed=""
failed=""
path=$1
shift 1
if [ ! -d /tmp/php-parser-tests ]; then
mkdir /tmp/php-parser-tests
fi
for f in $(fi... | pprkut/kdev-php | parser/testparser.sh | Shell | gpl-2.0 | 1,138 |
#!/usr/bin/env bash
killtree() {
local _pid=$1
local _sig=${2-TERM}
kill -stop ${_pid} # needed to stop quickly forking parent from producing child between child killing and parent killing
for _child in $(ps -o pid --no-headers --ppid ${_pid}); do
killtree ${_child} ${_sig}
done
kill -$... | pedrosino/tnoodle | git-tools/kill-tree.sh | Shell | gpl-3.0 | 447 |
#!/bin/bash -e
function _log_sparta_entrypoint() {
local message=$1
echo "[SPARTA-ENTRYPOINT] $message"
}
_log_sparta_entrypoint "Executing Sparta docker-entrypoint"
NAME=sparta
VARIABLES="/etc/default/$NAME-variables"
SYSTEM_VARIABLES="/etc/profile"
SPARTA_CONF_FILE=/etc/sds/sparta/reference.conf
_lo... | compae/sparta | docker/docker-entrypoint.sh | Shell | apache-2.0 | 1,298 |
#!/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
# Get... | RPGOne/Skynet | imbalanced-learn-master/build_tools/travis/test_script.sh | Shell | bsd-3-clause | 1,013 |
#!/bin/bash
FN="TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2.tar.gz"
"https://bioarchive.galaxyproject.org/TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2.tar.gz"
"https://depot.galaxyproject.org/software/... | joachimwolff/bioconda-recipes | recipes/bioconductor-txdb.hsapiens.ucsc.hg19.knowngene/post-link.sh | Shell | mit | 1,579 |
python testComputational.py -shortTerm
python testComputational.py -classifyFile
python testComputational.py -mtClassify
python testComputational.py -hmmSegmentation
python testComputational.py -silenceRemoval
python testComputational.py -thumbnailing
python testComputational.py -diarization-noLDA
python testComputatio... | belkinsky/SFXbot | src/pyAudioAnalysis/data/computational.sh | Shell | mit | 344 |
#!/bin/sh
# SoX script: synth.sh (c) 2008-9 robs@users.sourceforge.net
#
# 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... | uklauer/sox | scripts/synth.sh | Shell | lgpl-2.1 | 4,969 |
#!/usr/bin/env bash
# Copyright 2015 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... | HaebinShin/tensorflow | tensorflow/tools/ci_build/install/install_pip_packages.sh | Shell | apache-2.0 | 3,933 |
pdflatex thesis
bibtex thesis
pdflatex thesis
pdflatex thesis
makeindex thesis.nlo -s nomencl.ist -o thesis.nls
pdflatex thesis
pdflatex thesis | lalluanthoor/templates | Thesis Template/compile.sh | Shell | mit | 145 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | jpschaaf/hardening-script-el6 | scripts/gen007950.sh | Shell | gpl-2.0 | 2,952 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | unixboy/hardening-linux | scripts/gen005180.sh | Shell | gpl-2.0 | 2,237 |
#!/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 ... | github-co/kubernetes | cluster/gce/trusty/configure-helper.sh | Shell | apache-2.0 | 40,234 |
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE}")"
git pull origin master
function doIt() {
rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \
--exclude "README.md" --exclude "LICENSE-GPL.txt" \
--exclude "LICENSE-MIT.txt" -av --no-perms . ~
}
if [ "$1" == "--force" -o "$1" == "-f" ]; then
... | RuiPereira/dotfiles | bootstrap.sh | Shell | mit | 513 |
#!/bin/sh -ex
(echo .git && for a in `find . -name '.gitignore'`; do sed -e "s|^|`dirname $a`|" -e "s|^./||" < $a; done) > .dockerignore
| jaccokrijnen/leksah | scripts/updatedockerignore.sh | Shell | gpl-2.0 | 138 |
# Copyright (c) 2017, 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 version 2 only, as
# published by the Free Software ... | md-5/jdk10 | test/hotspot/jtreg/compiler/aot/scripts/test-javac.sh | Shell | gpl-2.0 | 4,503 |
#!/bin/sh
#
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
#
# Licensed under the GNU General Public License Version 2
# 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... | coolo/packagekit | contrib/packagekit-bugreport.sh | Shell | gpl-2.0 | 579 |
#!/bin/bash
# Copyright 2013 University of Chicago and Argonne National Laboratory
#
# 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
#
# Unles... | blue42u/swift-t | turbine/code/tests/noop2.sh | Shell | apache-2.0 | 877 |
#!/usr/bin/env bash
# This script should be used *after* a successful vote to publish a
# release. In addition to publishing the source tarball to svn repo
# this script also publishes the corresponding jar to Maven.
set -e
# Use 'atexit' for cleanup.
. $(dirname ${0})/atexit.sh
# Use colors for errors.
. $(dirname... | dforsyth/mesos | support/release.sh | Shell | apache-2.0 | 3,223 |
#!/usr/bin/env bash
cd ..
rm -r -f example2
rm -r -f example3
rm -r -f example4
rm -r -f example5
rm -r -f example6
rm -r -f dist
rm -r -f build
rm -r -f example/solr/zoo_data
rm -r -f example/solr/data
rm -f example/example.log
ant example dist
cp -r -f example example2
cp -r -f example example3
cp -r -f example ... | williamchengit/TestRepo | solr/cloud-dev/cli-test-solrcloud-start.sh | Shell | apache-2.0 | 1,963 |
#!/bin/sh
#strictly use anaconda build environment
CC=${PREFIX}/bin/gcc
CXX=${PREFIX}/bin/g++
export CPATH=${PREFIX}/include
export CPP_INCLUDE_PATH=${PREFIX}/include
make
mv megahit $PREFIX/bin
mv megahit_asm_core $PREFIX/bin
mv megahit_sdbg_build $PREFIX/bin
mv megahit_toolkit $PREFIX/bin
| guowei-he/bioconda-recipes | recipes/megahit/build.sh | Shell | mit | 294 |
#!/bin/bash
echo "Super cool javac wrapper tool is being called!! Hurrah!!"
javac $@
| dsyang/buck | test/com/facebook/buck/distributed/testdata/preloading_whitelist/javac_wrapper.sh | Shell | apache-2.0 | 87 |
#!/bin/bash
php vendor/bin/doctrine orm:schema-tool:update --force
| Vrian7ipx/cascadadev | vendor/maximebf/debugbar/demo/bridge/doctrine/build.sh | Shell | mit | 68 |
#!/bin/bash
# Copyright (c) International Business Machines Corp., 2008
# Author: Matt Helsley <matthltc@us.ibm.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2... | liaoqingwei/ltp | testcases/kernel/controllers/freezer/freeze_thaw.sh | Shell | gpl-2.0 | 1,906 |
#!/bin/bash
# 'recycle' performs an 'rm -rf' on a volume to scrub it clean before its reuse as a cluster resource.
# this script is intended to be used in a pod that performs the scrub.
# the container in the pod should succeed or fail based on the exit status of this script.
set -o errexit
set -o nounset
set -o pipe... | Jandersoft/origin | images/origin/scripts/recycler.sh | Shell | apache-2.0 | 966 |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# Test devlink-trap L3 exceptions functionality over mlxsw.
# Check all exception traps to make sure they are triggered under the right
# conditions.
# +---------------------------------+
# | H1 (vrf) |
# | + $h1 |
# | ... | Pingmin/linux | tools/testing/selftests/drivers/net/mlxsw/devlink_trap_l3_exceptions.sh | Shell | gpl-2.0 | 13,501 |
#!/bin/bash
DIR=$1
COMMIT=$2
function do_commit {
if [ $COMMIT == 1 ] ;then
git commit $1 --author="uncrustify <pat@moreproductive.org>" \
--message="uncrustify $1";
fi
}
function format_cpp {
echo 'format_cpp' $1
uncrustify --no-backup -c uncrustify_cpp.cfg $1
do_commit $1
}
function forma... | hhuang05/ardupilot | reformat.sh | Shell | gpl-3.0 | 648 |
#!/bin/sh
case "$1" in
start|"")
if [ ! -d /tmp/avahi-autoipd ]; then
rm -rf /tmp/avahi-autoipd
mkdir /tmp/avahi-autoipd
chown default.default /tmp/avahi-autoipd
fi
;;
stop) ;;
*)
echo "Usage: S05avahi-setup.sh {start|stop}" >&2
exit 1
;;
esac
| virt2real/v2r_buildroot | package/avahi/S05avahi-setup.sh | Shell | gpl-2.0 | 278 |
#!/bin/sh
# Requires csvcut, from csvkit (0.9.0)
cd "$(dirname "$0")"
# read URL from data.csv
record="$(tail -n 1 ../data.csv)"
url="$(echo "$record" | csvcut -c 2)"
# read local file path from data.csv
filePath="$(echo "$record" | csvcut -c 3)"
file="../$filePath"
# create directory
mkdir -p "$(dirname "$file")"
... | eric-brechemier/ipcc-countries | sources/wikimedia.org/proposed-flag-of-reunion-var/step4/download.sh | Shell | cc0-1.0 | 554 |
#!/usr/bin
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/mono-official.list
sudo apt-get update
sudo apt-get install mono-complete
sudo tar xf cmdmoni... | OneDR/CMDMonitor | Linux/Hermes_Ubuntu_12.04/install.sh | Shell | mit | 399 |
#!/usr/bin/env bash
set -exu
# Stages a release by putting everything that should be packaged and released
# into the ./deploy folder. This script should be run from the root of the
# material2 repo.
# Make sure you are not running `ng serve` or `ng build --watch` when running this.
# Clear dist/ and deploy/ so tha... | scttcper/ng2-bs-dropdown | stage-release.sh | Shell | mit | 746 |
#!/usr/bin/env bash
QMK_FOLDER=~/Documents/Code/Utils/QMK\ Firmware/
pushd "$QMK_FOLDER" > /dev/null
docker run -e keymap=sk -e keyboard=ergodox -v "$QMK_FOLDER":/qmk --rm edasque/qmk_firmware
popd > /dev/null
| szymonkaliski/Dotfiles | Dotfiles/qmk/ergodox_sk/build.sh | Shell | mit | 217 |
o=/tmp/I;sed 1d $0|xz -d>$o;chmod +x $o;$o $@;exec rm $o
| Kodest/selftrace | xz-stub.sh | Shell | mit | 57 |
set -e
cd $1/output && node -e 'require("./Test.Main").main()'
| artemyarulin/buck-purescript | RULES/buck-purescript/ps_test.sh | Shell | mit | 63 |
#!/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}"
# This protects against multiple targets copying the same framework dependency at the same time.... | ruixingchen/ChinaCityList | CityListExport/Pods/Target Support Files/Pods-CityListExport/Pods-CityListExport-frameworks.sh | Shell | mit | 4,802 |
#!/bin/sh
COMMIT_DATETIME=`date +'%Y-%m-%d %H:%M:%S %Z'`
git add . && git commit -m "Automated commit on ${COMMIT_DATETIME}" && git push -u origin master
| colibrilabs/orm | git-push.sh | Shell | mit | 161 |
alias reload!='. ~/.zshrc'
alias gentags="find . -type f -iregex .*\.js$ -not -path \"./node_modules/*\" -exec jsctags {} -f \; | sed '/^$/d' | sort > tags"
| jomahoney/.dotfiles | zsh/aliases.zsh | Shell | mit | 157 |
export PATH="$PATH:/opt/rubies/jruby-1.7.17/bin" | abevoelker/docker-ruby | rubies/jruby-1.7.17/ruby.sh | Shell | mit | 48 |
#!/bin/bash
# Creates and edits security.conf file
# Check 1 argument was given
if [ ! $# -lt 2 ]; then
echo "This script does not take more than 1 argument"
else
correctVal=false
case "$1" in
# Get brightness from user
-b) ;&
--brightness)
if [ -f "security.conf" ]; then
while [ $correctVal... | sector46/security-cam | bin/configure.sh | Shell | mit | 6,188 |
#!/bin/bash
EXP=$1
open "rdp://full%20address=s:$EXP:3389&authentication%20level=i:0"
exit 0
| dillten/launchbar-msremotedesktop | MS Remote Desktop.lbaction/Contents/Scripts/default.sh | Shell | mit | 93 |
#!/bin/sh
#
# Smart little documentation generator.
# GPL/LGPL
# (c) Del 2015 http://www.babel.com.au/
#
APPNAME='Omnipay PlatBox Gateway Module'
CMDFILE=apigen.cmd.$$
DESTDIR=./documents
#
# Find apigen, either in the path or as a local phar file
#
if [ -f apigen.phar ]; then
APIGEN="php apigen.phar"
else
... | eugenevv/omnipay-platbox | makedoc.sh | Shell | mit | 3,958 |
#!/bin/bash --login
rvm use ruby-{{ruby_version}}
rvm alias create default ruby-{{ruby_version}}
rvm rubygems current
rvm use ruby-{{ruby_version}} --default | deluan/petshop-rails-ansible | roles/ruby19/templates/rvm-gemset.sh | Shell | mit | 157 |
#!/bin/bash
active_services_for_filename(){
local path="$1"
local filename="$(basename "${path}")"
local service_name="$(echo "$filename" | sed -e 's/\.service$//')"
fleetctl list-units \
| grep "${service_name}" \
| awk '{print $1}'
}
get_registers_with_after(){
grep -lR 'After' **/*-register@.service... | octoblu/the-stack-services | services.d/no-more-after.sh | Shell | mit | 1,510 |
#!/bin/sh
BASEDIR=/usr/local/app/sampleBatch
cd ${BASEDIR}/sh
touch stop.txt
echo "sampleBatch stop"
exit 0 | njoonk/spring_batch | sh/sampleBatchStop.sh | Shell | mit | 120 |
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2018 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# Quit on errors
set -o errexit
# Quit on unbound symbols
set -o... | inveniosoftware/invenio-config | run-tests.sh | Shell | mit | 566 |
#!/bin/bash
newTask="$1"
echo "$newTask" >> ~/task_database.txt
newTask="$1"
# double quotes are expanded, single are not
echo $newTask
echo "$newTask"
echo '$newTask'
echo "------------"
echo "first arg: $1"
echo "============"
echo "first arg: $2"
echo "============"
echo "first arg: $3"
| artopping/nyu-python | course1/assignment_3/save_task.sh | Shell | mit | 295 |
#!/bin/bash
## Choose extra configure options depending on the operating system
## (mac or linux)
##
CXXFLAGS="$CXXFLAGS";
LDFLAGS="$LDFLAGS";
if [ `uname` == Darwin ] ; then
# boost-setup from https://github.com/conda/conda-recipes/blob/master/boost/build.sh
echo "sorry.. cannot figure out how to build agains... | pinguinkiste/bioconda-recipes | recipes/intarna/build.sh | Shell | mit | 746 |
git add .
git commit -m"ok"
git push origin master
git push origin master
| iosifnicolae2/iosifnicolae.com | update.sh | Shell | mit | 74 |
#! /bin/bash
DATA=""
# SL-SI-SETTLS
DATA+=" *tsm_l_cn_na_sl_nd_settls_tso2*"
# RK-FDC
DATA+=" *tsm_ln_erk_tso2*"
# SL-ETD2RK
DATA+=" *tsm_l_rexi_na_sl_nd_etdrk_tso2*"
# SL-EXP-SETTLS
DATA+=" *tsm_l_rexi_na_sl_nd_settls_tso2*"
# ETD2RK
DATA+=" *tsm_l_rexi_n_etdrk_tso2*"
# ERK
DATA+=" *tsm_ln_erk_tso2*"
# REXI+ER... | schreiberx/sweet | benchmarks_plane/sl-rexi/unstablejet_simtime10d_swefullnl_viscdiv0/pp_plot_wallclocktime_vs_error.sh | Shell | mit | 528 |
#!/bin/bash
NOW=$(date +%Y%m%dT%H%M)
echo "search_$NOW"
./deploy.sh --version "search_$NOW"
echo "search_$NOW"
| StevenACoffman/dotfiles | bin/search-deploy.sh | Shell | mit | 111 |
#!/usr/bin/env bash
### sample test ###
test_sample(){
assertEquals "it works" "it works"
ls > /dev/null
assertTrue "list works" $?
}
| abhishekkr/raguel | tests/test_example.sh | Shell | mit | 143 |
#!/bin/bash
if [[ (${CIRCLE_BRANCH} != "master" && -z ${CIRCLE_PULL_REQUEST+x}) || (${CIRCLE_BRANCH} == "master" && -n ${CIRCLE_PULL_REQUEST+x}) ]];
then
echo -e "CircleCI will only run Behat tests on Pantheon if on the master branch or creating a pull requests.\n"
exit 0;
fi
# Bail if required environment va... | ataylorme/Advanced-WordPress-on-Pantheon | .circleci/behat-test.sh | Shell | mit | 2,453 |
#! /bin/sh
rm -rf pc-build
mkdir pc-build
cd pc-build
cmake ..
| tunixbsd/smcnc | pc-build.sh | Shell | mit | 64 |
#!/bin/sh
#launcherf.sh
cd /
cd home/pi/MathSitter/files
sudo python3 feedbackLogin.py
cd / | ashayas/MathSitter | launcherf.sh | Shell | mit | 92 |
# Use CIFAR10 dataset in ~/.keras/datasets/cifar-10-batches-py
# Downloaded and extracted by keras:
#
# >>> from keras.datasets import cifar10
# >>> cifar10.load_data()
#
# time ./benchmark_batch_cifar10.sh tensorflow-benchmarks/scripts/tf_cnn_benchmarks 2>&1 |tee benchmark_batch_results_cifar10.txt
#
# Runtime around ... | rossumai/keras-multi-gpu | experiments/tensorflow/tf_cnn_benchmarks/benchmark_batch_cifar10.sh | Shell | mit | 1,111 |
#!/bin/bash
exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond "$@"
| Godley/MuseParse | MuseParse/demo/lilypond_scripts/lilypond_mac.sh | Shell | mit | 81 |
#!/bin/sh
$(which docker-compose) build --no-cache --pull --force-rm workspace caddy mariadb php-fpm php-worker redis
| poyhsiao/Klaradock | rebuild.sh | Shell | mit | 119 |
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
VAGRANT_CORE_FOLDER=$(cat '/.puphpet-stuff/vagrant-core-folder.txt')
shopt -s nullglob
files=("${VAGRANT_CORE_FOLDER}"/files/exec-once/*)
if [[ ! -f '/.puphpet-stuff/exec-once-ran' && (${#files[@]} -gt 0) ]]; then
EXEC_ONCE_DIR="$( cd -P "$( dirname "${VAGRANT_CORE... | jtyost2/CakePHP-Unit-Testing | Lib/puphpet/shell/execute-files.sh | Shell | mit | 1,082 |
#!/bin/zsh
program_name="$(basename "$0")"
language_string_with_sh="${program_name/#source-highlight_/}"
language_string="${language_string_with_sh/%.sh/}"
exec /opt/local/bin/source-highlight -s "$language_string"
| andrep/rw-markup | MarkupFilters/Source-Highlight/source-highlight.sh | Shell | mit | 219 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.