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
# Creates a party gif of a static image by replacing the given color with the "Party Parrot" colors
#
# @param -i --input-file The filename of the static image file to modify
# @param -c --color The hex of the color to replace with party colors
# @param -f --fuzz Threshold used to match pixe... | patbeagan1/libbeagan | scripts/image_manipulation/partify.sh | Shell | mit | 1,296 |
#!/bin/bash
# Setting the $sasspid variable.
sasspid=""
# Quitting nginx when the services are stopped.
trap ctrl_c INT
function ctrl_c() {
nginx -s quit
kill $sasspid
}
# Starting nginx.
dir=`pwd`
nginx -c "$dir/nginx.conf"
# Starting postgres.
( postgres -D /usr/local/var/postgres )&
# Deploying template... | crockeo/power-ranker | devrun.sh | Shell | mit | 519 |
#!/usr/bin/env bash
dev_appserver.py app.yaml
| guildenstern70/pyfab | src/run.sh | Shell | mit | 46 |
#run # run="2007-02-13" ; filter="W-J-V"; FLAT=DOMEFLAT #Z2089 10_2 2007-02-13_W-J-V
#run # run="2007-02-13" ; filter="W-J-V"; FLAT=SKYFLAT #Z2089 10_2 2007-02-13_W-J-V
#done# run="2007-02-13" ; filter="W-S-I+";FLAT=DOMEFLAT #Z2089 10_2 2007-02-13_W-S-I+
# # run="2009-03-28" ; filter="W-S-I+";FLAT=DOMEFLAT #Z... | deapplegate/wtgpipeline | non_essentials/adam_fgas_done/adam_fgas_preH_list.sh | Shell | mit | 787 |
#!/bin/bash
git remote add heroku https://git.heroku.com/courtenaymansel.git
cat > ~/.netrc << EOF
machine api.heroku.com
login $HEROKU_LOGIN
password $HEROKU_API_KEY
machine git.heroku.com
login $HEROKU_LOGIN
password $HEROKU_API_KEY
EOF
# Add heroku.com to the list of known hosts
ssh-keyscan -H heroku.com >... | cmansel/myWebsite | .circleci/setup-heroku.sh | Shell | mit | 341 |
#!/bin/bash
set -ex
ADDITIONAL_COMPOSE_FILE="docker-compose.smoke-tests.yml -f docker-compose.yml"
function shutdownDocker() {
docker-compose -f ${ADDITIONAL_COMPOSE_FILE} down
}
trap shutdownDocker INT TERM QUIT EXIT
docker-compose --version
if [[ "${1}" != "--no-build" ]]; then
# Docker hub is slow to build ... | hmcts/cmc-legal-rep-frontend | bin/run-smoke-tests.sh | Shell | mit | 670 |
# Copyright (c) 2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question
LINKCEIL="1gbit"
#limit outbound S... | Exgibichi/statusquo | contrib/qos/tc.sh | Shell | mit | 2,566 |
#!/bin/bash
# newrelic plugin
if [ ! -z "$NEWRELIC_LICENSE" ]; then
j2 /etc/newrelic/newrelic-plugin-agent.tmpl | sponge /etc/newrelic/newrelic-plugin-agent.cfg
echo "******** File newrelic-plugin-agent.cfg rendered START ***********"
cat /etc/newrelic/newrelic-plugin-agent.cfg
echo "******** File ne... | sahlinet/docker-newrelic-plugin-agent | startup_newrelic_agent.sh | Shell | mit | 466 |
#!/bin/sh
# Christopher Gray
# version 0.0.5
# 11/21/2018
clear
echo "\r\n Preloading Docker Base Images.. \r\n "
docker images -a
#-----------------------------------------------------------------------
#-- Ubuntu
#---- 16.04
#-- Used By: mongodb
docker pull ubuntu:xenial
#---- 18.04
#docker pull ubuntu:bio... | c2theg/srvBuilds | docker/docker_base_images.sh | Shell | mit | 1,076 |
#! /bin/sh
cd /data
go build -buildmode=plugin -o true_plugin.so myplugin.go
go run main.go
| kpernyer/reimagined-guacamole | goplug/compile.sh | Shell | mit | 93 |
#!/bin/bash
set -euo pipefail
# args = map(lambda arg: arg if x[0] in "/-" else pwd+arg, sys.argv[1:])
args=()
for i in "$@"; do
# If argument is not an option and not an absolute path, it's a relative path: prepend current
# working directory
case "$i" in
/*|-*) args[${#args[@]}]="$i"; ;;
*) args[${#args[@... | ZeusWPI/Haldis | parse_hlds.sh | Shell | mit | 426 |
#!/bin/bash
# Carthage doesn't work with local relative paths, so this script generates
# a Cartfile with a full path to the root of this git repository, and then
# runs carthage update
SCRIPT_PATH=$(dirname $0)
pushd $SCRIPT_PATH
SCRIPT_FULL_PATH=$(pwd)
popd
CARTHAGE_GIT_ROOT=$(cd $SCRIPT_FULL_PATH/..;pwd)
CURRENT_... | keenlabs/KeenClient-iOS | bin/travis_carthage_update.sh | Shell | mit | 451 |
#!/bin/sh
# must have Elasticsearch index directory in ./elasticsearch/data
sudo docker run --rm -v /data --volumes-from elasticdata -v $(pwd)/elasticsearch/data:/backup -i trusty bash
| piersharding/docker-elk | check_volume.sh | Shell | gpl-2.0 | 188 |
#version 330 core
in vec2 UV;
out vec4 color;
uniform sampler2D cTex;
uniform vec4 cClr;
void main(){
color = texture2D( cTex, UV ) * cClr;
//color.w = 1;
//color = vec4(1,0,1,1);
} | VulpesCorsac/Tron | New Project/WorkDir/shaders/fragment_3D.sh | Shell | gpl-2.0 | 188 |
#!/bin/sh
#
# List tasks in file.
#
# Requires $Y3ACT and $Y3ACT_CURRENT_TASKS env variables are set.
#
# Usage:
# ls-tasks [file]: List tasks in 'file'. When file is not specified, use $Y3ACT_CURRENT_TASKS as a file if
# the env variable is set. Otherwise do nothing.
#
# Output:
# Displays task per ... | kiyoshiiwase/y3act | script/ls-tasks.sh | Shell | gpl-2.0 | 1,257 |
#!/bin/bash
# Usage: ./doTrimmomatic.sh /path/to/input/directory /path/to/output/directory trimmomatic.jar adapters.fa
# prerequisites:
# - make sure all R1 and R2 files of each sample are in provided input dir
# - the _ character is used to separte sample name from the file name prefix
# e.g. VU834-10M_ATCGT_R1.f... | Irsan88/SeqTools | Fastq_handling/doTrimmomatic.sh | Shell | gpl-2.0 | 1,564 |
convert images/OCS-696.png -crop 1667x4962+0+0 +repage images/OCS-696-A.png
convert images/OCS-696.png -crop 1667x4962+1667+0 +repage images/OCS-696-B.png
#/OCS-696.png
#
#
#
| jonnymwalker/Staroslavjanskij-Slovar | scripts/middlesplit.OCS-696.sh | Shell | gpl-2.0 | 175 |
#! /bin/sh
# Copyright (C) 2010-2017 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 ... | Starlink/automake | t/configure.sh | Shell | gpl-2.0 | 1,785 |
#! /bin/sh
# Copyright (C) 2002-2017 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 ... | Starlink/automake | t/exeext3.sh | Shell | gpl-2.0 | 1,104 |
#!/bin/bash
# Test PhantomCSS
cd phantomcss
js_files="*.js"
for js_file in $js_files
do
casperjs test $js_file
done
cd -
# Test Behat
cd behat
./bin/behat --tags=~wip
cd -
| Gizra/haskala | execute_test.sh | Shell | gpl-2.0 | 178 |
#!/bin/sh
# sample parameters for testing
libbi sample --target prior --model-file OrnsteinUhlenbeckBridge.bi --nsamples 16 --output-file data/init_test_filter.nc
# generate init files
octave --path oct -q --eval "prepare_init;"
| lawmurray/FederalFundsRate | init.sh | Shell | gpl-2.0 | 231 |
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rocknet/rocknet_base.sh
# Copyright (C) 2004 - 2005 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistr... | arete/t2 | package/network/rocknet/rocknet_base.sh | Shell | gpl-2.0 | 1,572 |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/ec2-access.log"
# Grab all Security Groups IDs for DISALLOW action and export the IDs to a text file
sudo aws ec2 describe-security-groups --filters Name=tag:close-allports-time,Values=17... | STARTSPACE/aws-access-to-ec2-by-timetable | all/disallow-ad/all-disallow-ad-17.sh | Shell | gpl-2.0 | 817 |
#!/bin/bash
#
# USB bus power down and up test
#
lf=/tmp/usb.log
echo "test disabling usb (and thus network) bus" > ${lf}
msg()
{
now=`date +'%Y-%m-%d %H:%M:%S'`
echo ${now} ${1} | tee -a ${lf}
}
msg "going down"
./usbBusDown.sh | tee -a ${lf}
ps -aef | grep ntp >> $lf 2>&1
sleep 15
msg "going up"
./us... | flupes/mcclock | test_usbBusDownUp.bash | Shell | gpl-2.0 | 376 |
#!/bin/bash
NS=$1
BASE=$2
if [ -z "$NS" ] || [ -z "$BASE" ]; then
echo "Missing parameters. First is NS second is BASE."
exit 1;
fi
ETC_DIRS=$(find /etc -maxdepth 1 -type d|tail -n+2|sed 's|/||')
DIRS=(proc var etc lib lib64 usr sbin bin var/cache/samba sys var/lib/samba dev tmp run/samba var/log/samba $ETC_D... | jrouzierinverse/packetfence | addons/create_chroot.sh | Shell | gpl-2.0 | 915 |
#!/usr/bin/env bash
## Public domain 2007 Kevin Quick
##
## This file is included as part of the Darcs test distribution,
## which is licensed to you under the following terms:
##
## Permission is hereby granted, free of charge, to any person
## obtaining a copy of this software and associated documentation
## files ... | DavidAlphaFox/darcs | tests/pull_compl.sh | Shell | gpl-2.0 | 3,751 |
#
# Copyright (C) 2010 OpenWrt.org
#
. /lib/ramips.sh
PART_NAME=firmware
RAMFS_COPY_DATA=/lib/ramips.sh
platform_check_image() {
local board=$(ramips_board_name)
local magic="$(get_magic_long "$1")"
[ "$#" -gt 1 ] && return 1
case "$board" in
3g-6200n | \
3g-6200nl | \
3g150b | \
3g300m | \
a5-v11 | \
ai... | nomadnt/MeOS | target/linux/ramips/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 2,865 |
#! /bin/sh
# Copyright (C) 2010-2018 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 ... | komh/automake-os2 | t/posixsubst-ltlibraries.sh | Shell | gpl-2.0 | 1,803 |
#!/bin/sh
#####################################################################################
# Name: build.sh
# Description: CalculiX build script for MINGW
# Author: Cesare Guardino
# Last modified: 22 April 2016
#
# GE CONFIDENTIAL INFORMATION © 2016 General Electric Company - All Rights R... | GeneralElectric/CalculiX | src/build.sh | Shell | gpl-2.0 | 9,452 |
# Code to recreate filesystems.
create_fs() {
local fs device mp fstype uuid label options
device=${1#fs:}
## mp: mount point
read fs device mp fstype uuid label options < <( grep "^fs.* $device " "$LAYOUT_FILE" )
label=${label#label=}
uuid=${uuid#uuid=}
#need to wait for udev device creation... | rg-fine/rear | usr/share/rear/layout/prepare/GNU/Linux/13_include_filesystem_code.sh | Shell | gpl-2.0 | 6,162 |
#! /bin/sh
################################################################################
## ##
## Copyright (c) 2010 FUJITSU LIMITED ##
## ... | anthony-kolesov/arc_ltp | testcases/kernel/tracing/ftrace_stress_test/ftrace_stress_test.sh | Shell | gpl-2.0 | 6,145 |
#!/bin/bash
/usr/bin/mono /home/dizimatt/Documents/mono/MagentoNet/MagentoNetService/bin/Debug/MagentoNetService.exe
| OpenResourcing/MagentoNet | MagentoNetService/init-startMagentoNetService.sh | Shell | gpl-2.0 | 117 |
#!/bin/bash
# A little shell script to install all the packages necesary to do Wireshark
# development. Both the development and runtime packages are installed
# although the latter aren't strictly necessary.
#
# Ideally this could automatically pull the packages out of
# packaging/rpm/SPECS/wireshark.spec.in but giv... | P1sec/LTE_monitor_c2xx | wireshark/tools/install_rpms_for_devel.sh | Shell | gpl-2.0 | 2,225 |
#!/bin/bash
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of verify-that-report-edits
# Description: Make sure manual edits to reports actually make it into submitted data.
# Author: Michal Nowak <mnowak@redh... | airtimemedia/abrt | tests/runtests/distro_specific/rhel6/verify-that-report-edits/runtest.sh | Shell | gpl-2.0 | 3,721 |
../../puppetmaster/run_with_editor.sh scenes/AbstractSciFi.wrl -c "AnySL: Efficient and Portable Multi-Language Shading"
| BALL-Contrib/contrib_rtfact_4f1d028 | remote/demo_scifi.sh | Shell | gpl-2.0 | 121 |
#!/bin/bash
echo "writing 1000 entries"
for i in `seq 1 1000`;
do
nanos=$(date +%N)
curl -XPOST 'http://localhost:8086/write?db=demo' --data-binary "random,host=${HOSTNAME} value=${RANDOM}"
curl -XPOST 'http://localhost:8086/write?db=demo' --data-binary "time,host=${HOSTNAME} value=${nanos}"
done
echo "don... | smancke/demos | influxdb/insert_simple_data.sh | Shell | gpl-3.0 | 323 |
#!/bin/bash
start() {
echo "starting test database"
mkdir db
cd db
cp ../supervisord.conf .
supervisord -c supervisord.conf || (echo "failed executing supervisord" && exit 1)
}
stop() {
if [ -d db ]; then
echo "shutting down test database"
(cd db && supervisorctl shutdown &>/dev/null)
rm -rf d... | Nvveen/mir | storage/mongo_test/run.sh | Shell | gpl-3.0 | 399 |
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cmd="pyCMM-mutrep-cal-mut-stat "
cmd+=" -j $script_dir/cal_mut_stat_Ill_Br_jobs_setup.txt"
cmd+=" -l /proj/b2011117/private/projects/out/db/cal_stat_Ill_Br/Ill_Br"
eval "$cmd"
| bahamoot/CMM-AL-projects | scripts/mutstat/mut_stat_Ill_Br/run_cal_mut_stat_Ill_Br.sh | Shell | gpl-3.0 | 239 |
#!/bin/bash
#perl migrate.pl -p &> logs/1.preprocess.log
perl migrate.pl -b &> logs/2.biblios.log
perl migrate.pl -i &> logs/3.items.log
perl migrate.pl -B &> logs/4.borrowers.log
perl migrate.pl -c &> logs/5.checkouts.log
perl migrate.pl -f &> logs/6.fines.log
perl migrate.pl -H &> logs/7.holds.log
perl migrate.pl -r ... | jjaone/KohaLXC | kohatools/origommtws/runAll.sh | Shell | gpl-3.0 | 418 |
#!/bin/sh
# Kirjoittaa tiedostoon kansion docx-tiedostojen ensirivit.
if [ -d kurkistuskansio ]
then echo "Kansio kurkistuskansio on jo olemassa ja tuhoutuisi! Lopetetaan."; exit 1;
fi
mkdir kurkistuskansio
ls *x | \
while read -r avattava; do
unzip -qq $avattava -d kurkistuskansio
awk ' BEGIN {
... | Kirjakosmos/docx--epub | apuskriptit/alut_docxista.sh | Shell | gpl-3.0 | 958 |
#!/usr/bin/env bash
# Author: MavenCode
# Last Modified: May 15, 2016
# Scripts to deploy setup
. ./nodes/swarm/swarm-master/swarm-master.sh --source-only
. ./nodes/swarm/swarm-nodes/swarm-nodes.sh --source-only
. ./common/utils.sh --source-only
usage(){
echo ""
echo "Usage: $ProgName <command> [optio... | MavenCode/swarmKit | node-gen.sh | Shell | gpl-3.0 | 1,626 |
#! /bin/bash
# Copyright (C) <2014,2015> <Ding Wei>
#
# 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
# (at your option) any later version.
#
# This program ... | daviding924/ibuild | bin/build_simg2img.sh | Shell | gpl-3.0 | 1,091 |
#!/bin/sh
# test 'parted $dev print' on empty device (without label)
# Copyright (C) 2011-2014, 2019-2021 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 v... | bcl/parted | tests/t0101-print-empty.sh | Shell | gpl-3.0 | 1,581 |
#!/bin/bash
################################################################################
# Script Name: ios-access.bash
# Author: Hugh Paterson III <email here>
# Version: 0.01
# License: GPL
# Dependencies: git, make. /github-tools folder
# Remaining work: 1) dependency check, 2) install folder correction 3) addre... | HughP/wasta-language-scientist | sections/ios-access.bash | Shell | gpl-3.0 | 1,489 |
#! /bin/bash
export TMROOT=$HOME/.tendermint_persist
rm -rf $TMROOT
tendermint init
function start_procs(){
name=$1
indexToFail=$2
echo "Starting persistent dummy and tendermint"
dummy --persist $TMROOT/dummy &> "dummy_${name}.log" &
PID_DUMMY=$!
if [[ "$indexToFail" == "" ]]; then
# run in background, dont... | kobigurk/tmsp-ethereum | vendor/github.com/tendermint/tendermint/test/persist/test2.sh | Shell | gpl-3.0 | 2,101 |
#!/usr/bin/env bash
set -ex
if [ -z "$1" ]
then
echo "No testcafe browser supplied, e.g. 'chrome:headless'"
fi
cd ../../..
rm -rf DummyDistributionPackages || true
mv DistributionPackages DummyDistributionPackages
mkdir DistributionPackages
for fixture in Packages/Application/Neos.Neos.Ui/Tests/Integra... | mstruebing/PackageFactory.Guevara | Tests/IntegrationTests/e2e.sh | Shell | gpl-3.0 | 1,208 |
#!/bin/bash
base=${1%.*}
export LANG=C && meshlabserver -i $1 -o $base-poisson9.ply -s ~/.local/share/nautilus/scripts/nautilus-scripts/MESHLAB/poisson9_para_full_res.mlx -om vc vn
| kinoraw/nautilus-scripts | MESHLAB/poisson9_full_res.sh | Shell | gpl-3.0 | 182 |
#!/bin/bash#!/bin/bash
#This file contains all the variables using in all the files
#This is meramap directory in user's system
MERAMAP=/usr/local/meramap # MeraMap Directory in User's System
DOWNLOAD=/home/parveen/Desktop
MERAMAP_SCRIPT=/usr/local/meramap/scripts #Meramap Scripts Directory
#Variables which ar... | ParveenArora/MeraMap | meramap_final/meramap/usr/local/meramap/scripts/variable.sh | Shell | gpl-3.0 | 3,188 |
../configure --enable-encoders=lzma2 --enable-decoders=lzma2 --disable-assembler --disable-threads --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts --disable-unaligned-access
make
gcc ../benchmark.c -I../src/liblzma/api src/liblzma/.libs/liblzma.a
| kripken/xz-lzma.js | native/doit.sh | Shell | gpl-3.0 | 305 |
apt-get update
apt-get -y install curl
apt-get -y install tor
torconf="ControlPort 9051\nCookieAuthentication 1"
echo -e $torconf > /etc/tor/torrc
| Dwoinn/planta2 | planta_install.sh | Shell | gpl-3.0 | 147 |
#! /bin/bash
#
# Copyright (C) 2009 by Martin Thorsen Ranang
#
sudo dpkg --purge intex && sudo dpkg --install $(ls -1 --sort=time --reverse dist/*.deb |tail -1)
| mtr/intex | install_latest_release.sh | Shell | gpl-3.0 | 162 |
#!/usr/bin/env bash
# Generate a minimal filesystem for archstrike and load it into the local
# docker as "archstrike"
# requires root
set -e
hash pacstrap &>/dev/null || {
echo "Could not find pacstrap. Run pacman -S arch-install-scripts"
exit 1
}
hash expect &>/dev/null || {
echo "Could not find expect. Run pacm... | aurelien-git/paradock | mkimage-parabola.sh | Shell | gpl-3.0 | 3,368 |
#!/bin/bash
#
# Swizzin :: Shellinabox installer
# Author: liara
#
# Copyright (C) 2017 Swizzin
# Licensed under GNU General Public License v3.0 GPL-3
#################################################################################
apt_install shellinabox
echo_progress_start "Configuring shellinabox"
systemctl stop ... | liaralabs/swizzin | scripts/install/shellinabox.sh | Shell | gpl-3.0 | 1,233 |
#!/bin/sh
if [ -e /etc/exports ] && grep -q all_squash /etc/exports; then
echo '/etc/exports contains all_squash'
exit 1
fi
exit 0
| Taywee/dod-stig-scripts | linux/V-38460/test.sh | Shell | gpl-3.0 | 141 |
#!/bin/bash
# Omitted from this zip file due to size. 49M compressed.
wget http://ai2-website.s3.amazonaws.com/data/test_submission_localize.zip
unzip test_submission_localize.zip
| gsig/actions-for-actions | error_analysis/get_test_submission_localize.sh | Shell | gpl-3.0 | 181 |
#!/bin/bash
DRY_RUN=true
[ $# -ge 1 ] && DRY_RUN=false
DOC_DIR=$( dirname $0 )
BUILD_ROOT="${DOC_DIR}/_build/"
FTP_USER="andreav@swgit.net"
FTP_ADDR="ftp.swgit.net"
FTP_PROXY="http://gnetcache.alcatel.fr:3128"
TIMESTAMP=$( date +%s )
DATE_FROMTIMESTAMP=$( date -d @$TIMESTAMP "+%Y-%m-%d %T" )
echo "Deploying direct... | andreav/swgit | doc/deploy_html.sh | Shell | gpl-3.0 | 988 |
#!/bin/bash
# shellcheck disable=2034,2059
true
# shellcheck source=lib.sh
PASSMAN_INSTALL=1 . <(curl -sL https://raw.githubusercontent.com/techandme/NextBerry/master/lib.sh)
unset PASSMAN_INSTALL
# Tech and Me © - 2017, https://www.techandme.se/
# Check for errors + debug code and abort if something isn't right
# 1 ... | techandme/NextBerry | apps/passman.sh | Shell | gpl-3.0 | 1,863 |
#!/bin/bash -x
indent --gnu-style --no-tabs --honour-newlines -T Obj -T json_t minilispbismon.h
indent --gnu-style --no-tabs --honour-newlines -T Obj -T GHashTable -T GSequence -T json_t gtkbismonlisp.c
indent --gnu-style --no-tabs --honour-newlines -T Obj -T json_t jsonbismonlisp.c
indent --gnu-style --no-tabs --h... | bstarynk/bismon | guigtk/indent.sh | Shell | gpl-3.0 | 436 |
wget http://goforcode.com/download/ard.ts | goforcode-com/tssi2 | examples/data/get.sh | Shell | gpl-3.0 | 41 |
#!/bin/bash
tar -xvf misc.tar.gz
convert misc/4.2.03.tiff mandrill.jpeg
DJPG=`which djpeg`
echo $? > ~/install-exit-status
cat > system-libjpeg << EOT
#!/bin/sh
case \"\$1\" in
\"int\")
DCT=\"-dct int\"
;;
\"fast\")
DCT=\"-dct fast\"
;;
\"float\")
DCT=\"-dct float\"
;;
esac
ST=\`date +%s.%N\`
${DJPG} $... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/system-libjpeg-1.1.0/install.sh | Shell | gpl-3.0 | 452 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 2/logs/w-10_2/20170124T165831+0000/00/00/sessioncompute_6_ID0000009.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-10-A/20161127T171406+0000/00/00/calculateratio_2_ID0000017.sh | Shell | gpl-3.0 | 1,252 |
#!/bin/bash
cp -r /home/xoldfusion/Downloads/openxava-5.6/workspace/librocomprasv3 librocompras
cp /home/xoldfusion/Downloads/openxava-5.6/tomcat/conf/*.xml librocompras/tomcatfeliz
cp *.sh librocompras/gitfeliz
cp -r openshiftfeliz librocompras/
cp -r jasperfeliz librocompras/
cp -r tomcatfeliz librocompras/
cp amaz... | googolplex/librocomprasv4 | gitfeliz/grabar_enviar_librocomprasv3.sh | Shell | gpl-3.0 | 484 |
#!/bin/bash
#Update & upgrade system
aptitude update
#aptitude -y safe-upgrade
#Install required packages from repos
aptitude -y install python2.7 python2.7-dev python-pip build-essential autoconf libtool \
git subversion libboost-all-dev libboost-python-dev python-setuptools libxml2-dev libxslt-dev \
graphviz mongod... | ikoniaris/thug-vagrant | setupThug.sh | Shell | gpl-3.0 | 1,771 |
#!/bin/bash
#
# Synopsis :
# Script to copy album covers to another name.
# To use when Beets raise an error because file does not exists anymore.
#
# Usage: Run correctCoversName.sh --help
#
# External dependencies:
source ${BASH_SOURCE%/*}/../SETTINGS
source ${BASH_SOURCE%/*}/utils.sh
... | djhibee/playlists-manager | scripts/correctCoversName.sh | Shell | gpl-3.0 | 1,833 |
sbt -mem 4000 'evaluation/run-main scaps.evaluation.Benchmark' | scala-search/scaps | runBenchmark.sh | Shell | mpl-2.0 | 62 |
#!/bin/bash
# first run macdeployqt to copy the frameworks, then run this script to fix the paths
SRCDIR="$HOME/Devel/dolmen"
#LIBDIR="$HOME/Devel/dmdynlibs"
OUTDIR="$HOME/Devel/build-dolmen-Release"
RESOURCES="$OUTDIR/Dolmen.app/Contents/Resources"
FRAMEWORKS="$OUTDIR/Dolmen.app/Contents/Frameworks"
cd $OUTDIR
... | jeychenne/dolmen | bundle_osx.sh | Shell | mpl-2.0 | 2,795 |
#!/usr/bin/env bash
set -Ee
_NIX_GCROOTS="${_NIX_GCROOTS:-/nix/var/nix/gcroots/per-user/${USER}/status-react}"
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
source "${GIT_ROOT}/nix/scripts/source.sh"
source "${GIT_ROOT}/scripts/colors.sh"
TARGET="${1}"
shift
if [[ -z "${TARGET}" ]]; then
e... | status-im/status-react | nix/scripts/gcroots.sh | Shell | mpl-2.0 | 650 |
#!/bin/sh
# reload-browser - A cross-platform wrapper for reloading the current
# browser tab
# Eric Radman, 2014
# http://entrproject.org/
usage() {
case `uname` in
Darwin)
# applescript needs the exact title
echo "Usage: $(basename $0) Firefox [Safari \"Google Chrome\" ...]"
;;
*)
# xdotool uses regular e... | andresmrm/apre-qubes | reload-browser.sh | Shell | agpl-3.0 | 1,075 |
#!/bin/bash
cd /opt/kaltura/logs
echo -n "Working dir: "
pwd
if [ $# -eq 0 ]; then
echo "No specific date requested, taking today"
WHEN=$(date +%Y-%m-%d)
elif [ $# -eq 1 ]; then
echo "You requested $1"
WHEN=$1
else
echo "Invalid user input"
exit 1;
fi
# PA db alias
DB=pa-db
SLAVEDB=pa-mysql2
DBSTATS=pa-repor... | richhl/kalturaCE | package/app/app/alpha/crond/kaltura/www_logs_insert.sh | Shell | agpl-3.0 | 1,368 |
# this file contains shared functions common to Debian and Ubuntu
old_add_apt_repositories() {
local sys_dir="$1"
local distro="$2"
local distro_ver="$3"
local distro_ver_major="$4"
local distro_ver_minor="$5"
local distro_config_dir="$source_dir/config/os.$distro"
local repos_dir_tmpl="$distro_config_d... | devpanel/serverlink | install/lib.debian_ubuntu.sh | Shell | agpl-3.0 | 3,179 |
#!/bin/bash
DIR=/srv/backup/
NOW=$(date +"%Y-%m-%d-%T")
FILE=telemeta-$NOW.sql.gz
echo "Backuping: "$FILE
mysqldump -hdb -uroot -p$MYSQL_ROOT_PASSWORD telemeta | gzip > $DIR$FILE
rename 's/\:/\_/g' $DIR$FILE
echo "Done!"
| Parisson/Telemeta | bin/sql/backup_db.sh | Shell | agpl-3.0 | 226 |
#!/bin/sh
if test $# -ne 1; then
echo "Usage: $0 pem"
echo "Outputs a public key suitable for use in install.rdf"
exit 1
fi
openssl rsa -pubout -outform DER < "$1" 2>/dev/null \
| openssl enc -e -a 2>/dev/null \
| awk '{printf("%s", $0)}' | sed 's/\//\\\//g'
| rfnash/simplyread | gecko/genpub.sh | Shell | agpl-3.0 | 264 |
#!/bin/bash
# in this file we will run a representative simulation
# user must edit USER PARAMETERS and USER SIMULATION PARAMETERS sections
##################### USER PARAMETERS ###########################
# ideally these parameters should be read in as parameters and then the script can do its work
COMPUTER_TYPE="l... | Mbewu/libmesh | examples/dphil/coupled_navier_stokes/libmesh_scripts_laptop/particle_deposition_august/new_output/particle_3d_unsteady/test_script.sh | Shell | lgpl-2.1 | 6,260 |
rm -f SEARCH
rm -f BUILD
rm -f lib
rm -f postings.posts
rm -f TempFile*vbyte* postinglists.posts.*
rm -f vbyte.lzma.????*
rm -rf indexes
| migumar2/uiHRDC | uiHRDC/indexes/POS/EXPERIMENTS/experiments.is/6.scripts.vbytelzma/clean.sh | Shell | lgpl-2.1 | 138 |
#!/bin/bash
# duplicate stdout into 3
exec 3<&1
# duplicate stderr into stdout
exec 1>&2
ARCH=`uname -m | sed \
-e s/i.86/i386/ \
-e s/sun4u/sparc64/ \
-e s/s390x/s390/ \
-e s/parisc64/parisc/ \
-e s/mips.*/mips/ \
-e s/sh[234].*/sh/`
ZP="zdtm/live"
source $(readlink -f `dirname $0`/env.sh) || exit 1... | marcosnils/criu | test/zdtm.sh | Shell | lgpl-2.1 | 24,404 |
psql -p 8300 gacs -c "CREATE INDEX ON hipparcos2 USING btree (ra);" &
psql -p 8300 gacs -c "CREATE INDEX ON hipparcos2 USING btree (de);" &
psql -p 8300 gacs -c "CREATE INDEX ON hipparcos2 USING btree (public.q3c_ang2ipix(ra, de));" & | esdc-esac-esa-int/gaia | dl/tags/gaia-dl-ingestion-0.9.0/scripts/hipparcos_ingestion_10nov2015v5.4/run_hipparcos_indexes.sh | Shell | lgpl-3.0 | 234 |
#!/bin/bash
set -eo pipefail
cd "$(git rev-parse --git-dir)/.."
trap 'rm -f .git/$$.tags' EXIT
ctags -f .git/$$.tags
mv .git/$$.tags .git/tags
| jamescooke/dotfiles | store/.git_template/hooks/ctags.sh | Shell | unlicense | 145 |
#!/bin/dash
. ./config.sh
ETHER2=`echo $ETHER | sed "s/://g"`
ETHER3="${ETHER2}${ETHER2}${ETHER2}${ETHER2}"
ETHER4="FFFFFFFFFFFF${ETHER3}${ETHER3}${ETHER3}${ETHER3}"
echo ${ETHER4} | xxd -r -p > $WAKEPACKET
| TomDataworks/miniature-octo-ironman | makepacket.sh | Shell | unlicense | 208 |
#! /bin/bash
#
# confirm filter clause order in combination with bind/extend
curl_sparql_request \
-H "Accept: text/csv" \
-H "Content-Type:application/sparql-query" <<EOF \
| tee $ECHO_OUTPUT \
| wc | fgrep -q -s '3'
select *
where {
?s ?p ?o .
bind (1 as ?v)
filter(bound(?o))
}
EOF
| dydra/http-api-tests | tickets/nxp-665.sh | Shell | unlicense | 302 |
#!/usr/bin/env bash
CUDA_VISIBLE_DEVICES=7,6,5,4,3,2,1,0 python ./scripts/action-recognition/train_recognizer.py \
--dataset kinetics400 \
--data-dir /home/ubuntu/data/kinetics400/rawframes_train \
--val-data-dir /home/ubuntu/data/kinetics400/rawframes_val \
--train-list /home/ubuntu/data/kinetics400/k... | dmlc/web-data | gluoncv/logs/action_recognition/kinetics400/i3d_inceptionv1_kinetics400_frame.sh | Shell | apache-2.0 | 1,121 |
#!/bin/sh
DIR="$(dirname $0)"
for jar in $DIR/../lib/*.jar; do
CP="$CP:$jar"
done
if [ ! -d "$DIR/../repo/.git" ]; then
git init "$DIR/../repo/"
fi
nohup /usr/bin/java -cp "$CP" -Djava.library.path="$DIR/../lib" \
-Dlog4j.configurationFile="$DIR/../config/slog4j.properties" \
kreon.shivaj.server.WebServerMain \... | kreon/shivaJ | ext/server.sh | Shell | apache-2.0 | 368 |
#!/bin/bash
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
###
# This script is intended to allow us to run the broker locally but
# fake out the environment so it seems like it is running inside the cluster
#
# To run the broker locally we address the below isses:
# - Service Catalog needs to talk to route and have... | jwmatthews/ansible-service-broker | scripts/prep_local_devel_env.sh | Shell | apache-2.0 | 7,842 |
#!/usr/bin/env bash
# Short script for uninstallation of OVS with DPDK
# enable debugging:
#set -o xtrace
# Stopping service if needed
echo "[debug] stopping ovs-dpdk (if needed)"
sudo service ovs-dpdk status 2>&1 1>/dev/null
res=$?
if [ $res -eq 2 ]; then
echo "[warning] service ovs-dpdk is already stopped"
el... | mrmarkgray/fuel-plugin-ovsnfv | deployment_scripts/puppet/modules/ovsdpdk/files/clean.sh | Shell | apache-2.0 | 1,100 |
#!/usr/bin/env bash
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | GoogleCloudPlatform/gke-application-security-demo | waitfor_svc_deleted.sh | Shell | apache-2.0 | 2,857 |
#!/bin/bash
curl_prefix="http://localhost:4000/workflows/1"
#load subjects for the workflow
time curl -v -H 'Accept: application/json' "${curl_prefix}/status"
time curl -v -X POST -H 'Accept: application/json' "${curl_prefix}/reload"
| zooniverse/cellect_panoptes | benchmark/reload.sh | Shell | apache-2.0 | 236 |
#!/usr/bin/env bash
certmeta=`pwd`/certmeta
OPENSSL=`which openssl`
if [[ -z "$OPENSSL" ]]; then
echo "openssl not found"
exit 1;
else
COMMON_NAME=`cat ${certmeta} | grep "CN" | cut -d= -f2 | tr -d [:space:]`
if [[ ! -z $1 && $1 == '--read' ]]; then
if [[ -f $COMMON_NAME.crt ]]; then
... | akr-optimus/certgen | certgen.sh | Shell | apache-2.0 | 636 |
#!/bin/bash
#
# Copyright 2010-2011 The Regents of the University of California
#
# 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 ... | TonyApuzzo/fuzzyjoin | fuzzyjoin-hadoop/src/test/scripts/util/batch.sh | Shell | apache-2.0 | 1,402 |
#!/bin/bash
# Copyright 2016 Port Direct
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | portdirect/harbor | docker/openstack/openstack-keystone/common-assets/opt/harbor/config-keystone.sh | Shell | apache-2.0 | 2,442 |
#!/bin/bash
case $1 in
"all_in_one" )
export DEPLOY_MODE='all-in-one' ;;
"dns" | "mr" | "sdc" | "aai" | "mso" | "robot" | "vid" | "sdnc" | "portal" | "dcae" | "policy" | "appc" )
export DEPLOY_MODE='individual' ;;
"testing" )
export DEPLOY_MODE='testing'
export TEST_SUITE=${... | electrocucaracha/vagrant-onap | tools/run.sh | Shell | apache-2.0 | 448 |
#!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | noironetworks/neutron | tools/configure_for_func_testing.sh | Shell | apache-2.0 | 10,195 |
#!/usr/bin/env bash
bash <(curl -s https://codecov.io/bash)
if [[ $BUILD == 'OSX' ]]; then
pyinstaller --add-data "VERSION:." --onefile apsconnectcli/apsconnect.py
mv dist/apsconnect dist/apsconnect-mac
fi
if [[ $BUILD == 'LINUX' ]]; then
pyinstaller --add-data "VERSION:." --onefile apsconnectcli/apsconn... | ingrammicro/apsconnect-cli | .travis/after_success.sh | Shell | apache-2.0 | 1,008 |
#!/usr/bin/expect -f
lassign $argv appDir appName
send_user "dir: $appDir\n"
send_user "app: $appName\n"
#set timeout 10
spawn vue-native init $appDir
expect "*name of your app*" { send "$appName\r" }
expect "Required: The name of your app visible on the home screen" { send "\r" }
expect "*to install dependencies*... | tambora-org/docker | creMobile/cre/vue-native-init.sh | Shell | apache-2.0 | 349 |
#!/bin/bash
set -eu
function usage {
echo "Usage: $0 [OPTION]..."
echo "Run Quantum's test suite(s)"
echo ""
echo " -V, --virtual-env Always use virtualenv. Install automatically if not present"
echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment"
echo " ... | yamt/neutron | run_tests.sh | Shell | apache-2.0 | 6,913 |
#!/bin/bash
if [ ! -z $DRY_RUN ]; then
echo "Doing a dry run release..."
else
echo "Doing a real release! Use DRY_RUN=1 for a dry run instead."
fi
#make sure deps are up to date
rm -fr node_modules
npm install
# get current version
VERSION=$(node --eval "console.log(require('./packages/node_modules/pouchdb/packa... | mikeymckay/pouchdb | bin/release.sh | Shell | apache-2.0 | 1,415 |
#!/bin/bash
if [ $# -lt 1 ]; then
echo "$0: ERROR: wrong number of arguments" >&2
echo "$0: Please select a relation to export gene, pheno or genepheno" >&2
echo "$0: USAGE: $0 {gene,pheno,genepheno} OPTIONAL_NAME" >&2
exit 1
fi
source ../env_local.sh
if [ $1 = 'gene' ]; then
psql -U ... | HazyResearch/dd-genomics | labeling/insert_labels_db.sh | Shell | apache-2.0 | 805 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://blog.linuxeye.com
#
# Notes: OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/lj2007331/oneinstack
Install_MySQL55() {
pushd ${asn_dir}/src
id -u mysql >/d... | asntechsolution/lamp-lemp | include/mysql-5.5.sh | Shell | apache-2.0 | 7,921 |
#!/bin/bash
{{ #if bind.shield.first }}
{{ #with bind.shield.first }}
SHIELD_ENDPOINT='https://{{sys.ip}}:{{cfg.port}}'
SHIELD_API_TOKEN='{{cfg.provisioning_key}}'
{{~/with}}
{{else}}
SHIELD_ENDPOINT='{{cfg.shield_endpoint}}'
SHIELD_API_TOKEN='{{cfg.shield_provisioning_key}}'
{{ /if }}
| starkandwayne/habitat-plans | redis/config/environment.sh | Shell | apache-2.0 | 288 |
echo '**Interface changes**: ???'
echo ''
echo '**Changelog**:'
./node_modules/.bin/conventional-changelog -p angular | tail -n +3
| FINRAOS/herd | herd-build/herd-docs/herd-docs-swagger/src/swagger-ui-master/release/get-changelog.sh | Shell | apache-2.0 | 131 |
#!/bin/bash
#
# Copyright 2017 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... | aehlig/bazel | src/test/shell/integration/outputs_test.sh | Shell | apache-2.0 | 5,403 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.