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
PTX_DEBUG=${PTX_DEBUG:="false"}
PTX_DIALOG="dialog --aspect 60"
PTX_DIALOG_HEIGHT=0
PTX_DIALOG_WIDTH=0
#
# ${1} variable name in which string is returned
# derefed serves as starting point for file selector
# if empty $PWD is used
#
# return: selected file in variable ${1}
#
ptxd_dialog_fsele... | Schischu/ptxdist_sh | scripts/libptxdist.sh | Shell | gpl-2.0 | 19,761 |
#!/usr/bin/env bash
# export LIB="../../lib"
source $LIB/setup.sh
source $LIB/colorecho.sh
green "Start handling zsh"
# check if installed zsh
which zsh &> /dev/null
if [[ $? != 0 ]];then
setup zsh
fi
if [[ -f ~/.zshrc || -h ~/.zshrc ]]; then
mv ~/.zshrc ~/.zshrc.old
fi
cp _zshrc ~/.zshrc
### Install oh... | Universefei/confeverig | config/zsh/install.sh | Shell | gpl-2.0 | 672 |
#!/bin/sh
# Copyright (c) 2000, 2013, Oracle and/or its affiliates.
# Copyright (c) 2009, 2013, Monty Program Ab
#
# 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; version 2 of the License.
#
#... | grooverdan/mariadb-server | scripts/mysql_install_db.sh | Shell | gpl-2.0 | 19,293 |
#!/bin/bash
HOST=$1
VERSION=0.2
IPMIVERSION=$(ipmitool -V)
DATE=$(date +%F_%R:%S)
DIRECTORY='ipmitool'
INTERFACE='lanplus'
USER='Administrator'
BMCUSER='root'
BMCPASS='calvin'
COMMAND='session info active'
COMMAND2='user list'
LOGFILE=ipmitool\_$HOST\_$DATE.log
echo "'####:'########::'##::::'##:'####:'########:'#####... | alexoslabs/ipmitest | ipmitest.sh | Shell | gpl-2.0 | 2,850 |
#!/bin/sh
# use 2dspec to convert .tt file to 2d spectra
PROG_2DSPEC="2dspec"
# number of tau and t points in the input file
if [ $# -ge 3 ] ; then
N_TAU=$1
shift
N_t=$1
shift
else
N_TAU=161
N_t=81
fi
# size of fft
FFT_SIZE=512
# Window for output
W1_RANGE="0 1200"
W2_RANGE="0 1200"
# number of positiv... | yuanchung/qdas | scripts/2d/proc_2dfft.sh | Shell | gpl-2.0 | 2,034 |
#!/bin/sh
VENDOR=huawei
DEVICE=gr3
OUTDIR=vendor/$VENDOR/$DEVICE
MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
(cat << EOF) > $MAKEFILE
# Copyright (C) 2011 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License... | mac12m99/android_device_huawei_gr3 | setup-makefiles.sh | Shell | gpl-2.0 | 2,838 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | PoornimaNayak/autotest-client-tests | linux-tools/pyliblzma/pyliblzma.sh | Shell | gpl-2.0 | 2,990 |
tar -xzf dl/kmod-11.tar.gz -C output/build/kmod-11/
| ptdropper/buildroot_2011_05 | kmod.sh | Shell | gpl-2.0 | 54 |
#!/bin/sh
# Test gij (the Java bytecode interpreter from the GNU Compiler Collection)
# First check that we *have* gij
gij --version >/dev/null || exit 77
. ${cr_testsdir:-`dirname $0`}/shellinit
CLASSPATH=${top_srcdir:-..}/tests
export CLASSPATH
filelist="Context[12] .Context[12].tmp"
\rm -f $filelist 2>/dev/null
t... | jimmycao/blcr-0.8.5 | tests/gij_test.sh | Shell | gpl-2.0 | 796 |
#!/bin/bash
# _5m is as _5e, but with a script change where we are randomizing
# the frame shift a bit better.
# No very clear change, but if anything the optimization is less effective
# and the WER worse -> I'm going to revert this script change.
#System 5e 5m
#WER on train_dev(tg) ... | michellemorales/OpenMM | kaldi/egs/swbd/s5c/local/chain/tuning/run_tdnn_5m.sh | Shell | gpl-2.0 | 20,909 |
#!/bin/bash
LOGFILE=/var/lib/dibbler/client.sh-log
# uncomment this to get full list of available variables
#set >> $LOGFILE
echo "-----------" >> $LOGFILE
if [ "$OPTION_NEXT_HOP" != "" ]; then
ip -6 route del default > /dev/null 2>&1
ip -6 route add default via ${OPTION_NEXT_HOP} dev $IFACE
echo "Adde... | blackzw/openwrt_sdk_dev1 | staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/etc/dibbler/client-notify.sh | Shell | gpl-2.0 | 2,332 |
#!/bin/bash
# Parameter Setup
wallpapers=true
earthporn=true
# File Setup
touch downloadedWallpapers.txt;
rm wallpapers.txt
rm imgur.txt
touch wallpapers.txt
touch imgur.txt
# Clear the terminal
clear;
echo "Starting reddit RSS retrieval at `date`"
if [ wallpapers ]; then
curl --silent https://www.reddit.com/r/wal... | grumpytechdude/Scraper | scraper.sh | Shell | gpl-2.0 | 1,224 |
#!/bin/sh
#
#
# $Id: make-uml.sh,v 1.48 2005-07-14 01:35:54 mcr Exp $
#
# show me
#set -x
# fail if any command fails
set -e
case $# in
1) OPENSWANSRCDIR=$1; shift;;
esac
if [ `id -u` = 0 ]
then
echo Do not run this as root.
exit
fi
# we always use OBJ directories for UML builds.
export USE_OBJDIR=tru... | ZHAW-INES/rioxo-uClinux-dist | openswan/testing/utils/make-uml.sh | Shell | gpl-2.0 | 10,601 |
#!/bin/bash
# dos2unix !!!!
# Table 1: Inclusive and Exclusive Time in Loops (from -hprofile_generate)
# 2 3 4 5 6 7 8 9
# Loop | Loop Incl | Time | Loop Hit | Loop | Loop | Loop | Function=/.LOOP[.]
# Incl | Time | (Loop | ... | jgphpc/linux | sph/sphflow/MN4/sphflow_ptl_loops.sh | Shell | gpl-2.0 | 2,292 |
./2048c
| ghostgrn/simple_2048c | run.sh | Shell | gpl-3.0 | 8 |
#!/bin/bash
set -e
# TODO:
# - we could do some sanity checks here to make sure Vagrant and
# Virtualbox are installed
echo ""
echo "********************************************************************"
echo "********************************************************************"
echo ""
echo " UrbanFootprint qui... | CalthorpeAnalytics/urbanfootprint | get-uf.sh | Shell | gpl-3.0 | 1,294 |
#!/bin/sh
# Grab everything after the '=' character
DOWNLOAD_URL=$(grep -i KERNEL_SOURCE_URL .config | cut -f2 -d'=')
# Grab everything after the last '/' character
ARCHIVE_FILE=${DOWNLOAD_URL##*/}
cd source
# Downloading kernel file
# -c option allows the download to resume
wget -c $DOWNLOAD_URL
# Delete folder w... | jnouyang/PrognosticLinux | src/1_get_kernel.sh | Shell | gpl-3.0 | 547 |
#!/bin/sh
cd /var/src/module
mkdir -p target
cd target
rm -rf *
cmake ..
make -j8
ctest -v
| eigengo/reactive-architecture-cookbook-code | tooling/native-devel/run.sh | Shell | gpl-3.0 | 92 |
#!/bin/bash
# Usage: auto-install-php
# Version: 1.2
# Author: Jamin Zhang
# Email: zhangjamin@163.com
SOFT_DIR="/home/jamin/soft"
PHP_VERSION="5.3.10"
PHP_INSTALL_DIR="/app/php-${PHP_VERSION}"
APACHE_INSTALL_DIR="/app/apache"
APACHE_APXS2="/app/apache/bin/apxs"
MYSQL_INSTALL_DIR="/app/mysql"
echo "-----Step 01: Che... | JaminZhang/automated-shell-scripts | LAMP/auto-install-php.sh | Shell | gpl-3.0 | 2,446 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-MacOSX
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/kmer
OUTPUT_BASENAME=kmer
PAC... | AlexeyG/GRASS | kmer/nbproject/Package-Release.bash | Shell | gpl-3.0 | 1,408 |
#!/usr/bin/env bash
trap cleanup EXIT
pids=()
blockTime=$1
if [[ -n "$blockTime" ]]; then
blockTime="-b $blockTime"
fi
cleanup() {
for pid in "${pids[@]}"
do
echo "killing $pid"
kill $pid
done
pids=()
}
rpc_running() {
nc -z localhost "$1"
}
run() {
port=$1;
chain=$2
if rpc_runni... | sonm-io/core | blockchain/source/scripts/dev.sh | Shell | gpl-3.0 | 702 |
#!/bin/bash
# This script helps with using Flamegraph (https://github.com/brendangregg/FlameGraph)
# to profile Splash (or, in fact, any other software)
source_directory="$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)"
flamegraph_directory="${source_directory}/../external/flamegraph"
stackcollapse="${flamegraph_directory}/... | paperManu/splash | tools/inflame.sh | Shell | gpl-3.0 | 1,739 |
#!/bin/sh
BASENAME="Centos"
# TENANT_ID="772be1ffb32e42a28ac8e0205c0b0b90"
BUILDMARK="$(date +%Y-%m-%d-%H%M)"
IMG_NAME="$BASENAME-$BUILDMARK"
TMP_IMG_NAME="$BASENAME-tmp-$BUILDMARK"
IMG=CentOS-7-x86_64-GenericCloud.qcow2
IMG_URL=http://cloud.centos.org/centos/7/images/$IMG
TMP_DIR=centos-guest
if [ -f "$IMG" ]; then... | juliend88/os_image_factory | os/centos/build.sh | Shell | gpl-3.0 | 2,636 |
# Begin /usr/share/defaults/etc/profile.d/50-umask.sh
if [ "`id -un`" = "`id -gn`" -a $EUID -gt 99 ]; then
umask 002
else
umask 022
fi
# End /usr/share/defaults/etc/profile.d/50-umask.sh
| g-n0m3/dotfiles | .profile.d/50-umask.sh | Shell | gpl-3.0 | 193 |
#! /bin/sh
len=1
rm file.lck
truncate -s 100 file.lck
./flockcover file.lck 100 &
sleep 1
./filelock file.lck TESTLOCK WRITE 12 SET $len &
./filelock file.lck TESTLOCK WRITE 37 SET $len &
./filelock file.lck TESTLOCK WRITE 50 SET $len &
./filelock file.lck TESTLOCK WRITE 62 SET $len &
./filelock file.lck TESTLOCK WRITE... | goodpaperman/apue | 14.chapter/flock_cover.sh | Shell | gpl-3.0 | 841 |
#!/bin/bash
/rambrain_compile/autotest.sh $1 > $1.txt
stxt=$(cat $1_success.txt)
cat $1.txt| mailx -a $1.log -s "$stxt -- autotest of $1" $2
| mimgrund/rambrain | scripts/hookmagic/checkout_and_mail.sh | Shell | gpl-3.0 | 142 |
#!/bin/bash
# sort the bad-actors ip file and drop duplicates
# citation: https://www.madboa.com/geek/sort-addr/
sort -V bad_actors_ips.txt | uniq > bad_actors_ips.txt
| grfiv/philadelphia-reflections | public_html/inc/sort_bad_actors.sh | Shell | gpl-3.0 | 171 |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
#
echo "This script was generated under a different operating system."
echo "Please update the PATH and LD_LIBRARY_PATH variables below, before executing this script"
exit
if [ -z "$... | ElegantLin/My-CPU | Snake/Snake.runs/synth_1/runme.sh | Shell | gpl-3.0 | 1,169 |
#!/bin/bash
echo "WiFi "`ifconfig wlan | grep -Eo "inet addr:(([0-9]{1,3}.){3}[0-9].{1,3})"`
echo "Wired "`ifconfig eth0 | grep -Eo "inet addr:(([0-9]{1,3}.){3}[0-9].{1,3})"`
| UTC-Sheffield/mcpi_ideas | scripts/find_ip.sh | Shell | gpl-3.0 | 177 |
nohup ./motor/rest_api.py > /var/log/smi/motor.log 2>&1 &
nohup ./tektronix/rest_api.py > /var/log/smi/tektronix.log 2>&1 &
nohup ./adapter/bridge.py > /var/log/smi/adapter.log 2>&1 &
nohup ./web_app/web_app.py > /var/log/smi/web_app.log 2>&1 & | fhollanda/Stepper-Motor-Interface | run_multiple.sh | Shell | gpl-3.0 | 244 |
#!/bin/bash
declare -a ARRAY
for arg; do
ARRAY+=("$arg")
done
./tools/openocd/src/openocd -f tools/openocd/tcl/interface/stlink-v2-1.cfg -f tools/openocd/tcl/target/stm32l0.cfg \
-c "adapter_khz 100;" \
-c "program ${ARRAY[0]} exit ${ARRAY[1]}" \
-c "reset run" \
-c "shutdown"
| kl-cruz/ARM-sdk | targets/ST_NUCLEO_L053R8/download_to_MCU.sh | Shell | gpl-3.0 | 314 |
#!/bin/bash
## run_configuration.bash
##//////////////////////////////////////////////////////////
##
## Copyright 2008 © Henri Shustak GNU GPL v2
## Lucid Information Systems
## http://lucidsystems.org
##
########################################
##
## What this script is going to do :
##
## This script is goi... | henri/printer-setup | ExampleFiles/Deployment/PrinterSetup_OSX_UPDATE/PrinterSetup_Update_System_Installer/root/var/printersetup/run/run_configuration.bash | Shell | gpl-3.0 | 12,628 |
#!/usr/bin/env bash
#
# Copyright: © 2015 Jeffrey Clark
# License: GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
### begin: init
set -o pipefail
set -o errtrace
error() {
echo "ERROR in $0 : line $1 exit code $2"
exit $2
}
trap 'error ${LINENO} ${?}' ERR
SCRIPT_PATH="${BASH_SOURCE[0]}";
if ([ -h "${SCRIPT_PATH}... | h0tw1r3/attract | util/win/create-pkg.sh | Shell | gpl-3.0 | 2,389 |
#!/bin/bash
var1=10
while echo $var1
[ $var1 -ge 0 ]
do
echo "This is inside the loop."
var1=$[ $var1 - 1 ]
done
| GH1995/tools | archives/sh/12更多的结构化命令/256a.sh | Shell | gpl-3.0 | 130 |
export NODE_ENV=development
npm i --registry=https://registry.npm.taobao.org
npm run develop
| pantao/hapi-react-isomorphic-boilerplate | start-develop.sh | Shell | gpl-3.0 | 93 |
#!/bin/bash
ret=0
#Function that launch a npf test on click-2021 and compare the expected output
compare() {
test=$1
python=$2
echo "Executing npf test $test..."
$python npf-run.py click-2021 --force-test --no-graph-time --test integration/$test.npf --quiet-build &> res$test
if [ $? -ne 0 ] ; the... | tbarbette/npf | integration/integration.sh | Shell | gpl-3.0 | 2,414 |
#!/bin/bash
#
# Run the GeoServer Docker image with local and PostGIS Docker mappings.
#
#GIT="/opt/geonovum/smartem/git"
#LOG="/var/smartem/log"
#TC_LOG="${LOG}/tomcat-geoserver"
#NAME="geoserver"
#IMAGE="geonovum/geoserver:2.9.0"
#PG_HOST="postgis"
#DATA_DIR="/var/smartem/data"
#GS_DATA_DIR="${DATA_DIR}/geoserver"
#... | Geonovum/smartemission | services/geoserver/run.sh | Shell | gpl-3.0 | 2,369 |
#!/bin/bash
echo "******************************************"
echo "Adding Qt5 repos and updating platform..."
echo "******************************************"
# Check current directory
project_dir=$(pwd)
echo "Project dir is: ${project_dir}"
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
#
# Install base Qt5... | socnetv/app | .travis_before_install.sh | Shell | gpl-3.0 | 1,987 |
#!/bin/bash
EXEC=../../src/lmp_meso
function avg {
echo $sum
awk "{sum+=\$$1} END { print sum/NR}"
}
printf "RBC-count, Hematocrit, Volume, Loop time \n"
for fp in tDPDmeso_RBCs_in_box_*Heme35_Vol{8192,16384,32768,65536}.data
do
nRBC=$(echo ${fp} | awk -v FS="(nRBC|_H)" '{print $2}' | bc -l)
Hemato... | AnselGitAccount/USERMESO-2.0 | examples/single_node_benchmark/run_file.sh | Shell | gpl-3.0 | 729 |
#!/bin/bash
set -e
IMAGE_NAME=lavkesh/config-server
IMAGE_VERSION=$1
echo "======================== Start build application ====================="
./gradlew clean build -x test
echo "======================== Start build image ======================="
docker build --rm -t $IMAGE_NAME:$IMAGE_VERSION .
echo "Image buil... | Lavkesh-Cloud-Tech/SpringCloudExample | config-server/build.sh | Shell | gpl-3.0 | 352 |
#!/bin/bash
if [ $# -ne 2 ]
then
echo "Invalid parameters, expecting packet handle and a log folder; ex :" $0 "287 /tmp";
exit;
fi;
if echo $1 | grep "^[0-9]*$">/dev/null
then
echo;
else
echo "Packet handle has to be a number!"
exit;
fi
if [ -d $2 ]
then
echo "Searching for packet with handle="$1"; in fol... | irares/WirelessHart-Gateway | NetworkManager/scripts/showPacket.sh | Shell | gpl-3.0 | 1,732 |
#!/bin/bash
FUNCTIONS=("up" "run" "run-shell" "start" "stop" "restart" "build" "clean" "shell" "port" "logs")
if [ "$(basename ${0})" == "$(basename ${BASH_SOURCE})" ] ; then
if [ -z $1 ] || [[ ! "${FUNCTIONS[@]}" =~ "$1" ]]; then
echo "Usage: manage.sh [COMMAND]"
echo ""
echo "Commands:"
echo " up build an... | fau-fablab/website | manage-docker.sh | Shell | gpl-3.0 | 2,634 |
#!/bin/bash
if [ ! -d MyFavoritePackages ]
then
mkdir MyFavoritePackages
fi
FILE=geiger_2.0.6.tar.gz
FOLDER=geiger
if [ ! -e MyFavoritePackages/$FILE ]
then
echo "Downloading tar"
wget https://cran.r-project.org/src/contrib/$FILE
mv $FILE MyFavoritePackages/$FILE
else
echo "Tar already on disk"
fi
if [ ! ... | richelbilderbeek/R | old_notes/DownloadGeiger.sh | Shell | gpl-3.0 | 466 |
#!/usr/bin/env bash
# -*- ENCODING: UTF-8 -*-
##
## @author Raúl Caro Pastorino
## @copyright Copyright © 2018 Raúl Caro Pastorino
## @license https://wwww.gnu.org/licenses/gpl.txt
## @email dev@fryntiz.es
## @web https://fryntiz.es
## @github https://github.com/fryntiz
## @gitlab https://gi... | fryntiz/ShellScript | Sistema/BackupCompleto.sh | Shell | gpl-3.0 | 2,824 |
#!/bin/bash
set -eu
n=${1:-""}
if ! [ $n ] ; then
echo "Please provide a number"
exit 1
fi
of="client-options.cfg"
certfold="../x509"
certgen="./generate-keys.sh"
uuid=`cat /proc/sys/kernel/random/uuid`
uuidnodash=`echo "$uuid" | sed 's/-//g'`
# Client name
cn="client-`printf \"%x\" \"$RANDOM$RANDOM$RANDOM\"`"
o... | co60ca/beaconpi | etc/client-maker/setup-client.sh | Shell | gpl-3.0 | 746 |
cd /usr/share/djigzo
/usr/bin/java -cp djigzo.jar mitm.application.djigzo.tools.PGPTool --import-keys /opt/hermes/tmp/THE-FILE
| deeztek/Hermes-Secure-Email-Gateway | dirstructure/opt/hermes/scripts/import_pgp_public_key.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
cd /home/pi/embedded
git pull
cd /home/pi/bin
find /home/pi/embedded/print/*png -newer .timestamp -exec ./pngreceipt.sh {} \;
touch .timestamp
| yaxu/embedded | looking/printnew.sh | Shell | gpl-3.0 | 156 |
#!/usr/bin/env bash
# Echo commands
set -x
# Stop on first error
set -e
# Move to project root
DIRNAME=$(dirname $0)
pushd ${DIRNAME}/../..
docker build -t center_package_builder -f ${DIRNAME}/Dockerfile .
docker run \
--hostname builder \
--env PALETTE_VERSION \
--env CONTROLLER_VERSION \
--rm \
... | palette-software/palette | docker/package.rpm/build_and_start_container.sh | Shell | gpl-3.0 | 420 |
#!/bin/bash
if ping -c 1 $1 &> /dev/null
then
echo 1
else
echo 0
fi
| kernt/linuxtools | networktools/checkhost.sh | Shell | gpl-3.0 | 73 |
#!/bin/sh
#Test data
printf "Status: 301 Moved Permanantly\n";
printf "Location:http://mobilerssreader.sourceforge.net/testdata/netvibes-subscriptions-opml.xml\n\n";
| ckaestne/CIDE | CIDE_Samples/cide_samples/mobile rss reader/testcgi/perm-status-netvibes-opml-moved.sh | Shell | gpl-3.0 | 166 |
#!/bin/bash
licence=`ls -d $PWD`/Doc/License.cs
main () {
for f in $(find -iname "*.cs" | grep -v "./_ReSharper" | grep -v "/obj/" | grep -v "./External")
do
license $f
license_update $f
done
}
license () {
f=$1
if (! grep -q "Copyright" $f) | (! grep -q "* Copyright" $f);
then
echo "Adding l... | Schumix/SGit | enforce-formatting-rules.sh | Shell | gpl-3.0 | 617 |
#!/bin/bash
# Copyright (C) <2014> <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 is dis... | daviding924/ibuild | misc/diff_xml2git.sh | Shell | gpl-3.0 | 4,211 |
#!/bin/bash
DEST_DIR="/usr/share/arduino/libraries"
echo "Script for copying GoL folders to ${DEST_DIR}/libraries"
echo "Call this script standing in GoL's source-folder"
sudo cp -r GameOfLightSim ${DEST_DIR}
sudo cp -r GameOfLightHW ${DEST_DIR}
sudo cp -r utility/ ${DEST_DIR}/GameOfLightHW/
sudo cp -r utility/ ${DES... | GameOfLight/Source | movefiles.sh | Shell | gpl-3.0 | 343 |
#!/bin/bash
# Date : 2017-03-31
# Last revision : 2017-03-31
# Wine version used : 2.4
# Distribution used to test : Linux Mint 18.1 x64
# Author : Adam Nunez
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Viscera Cleanup Detail"
PREFIX="VisceraCleanupDetail"
WORKING_WINE_VERSION="1.9.18"
E... | aanunez/POL-Scripts | POL_Viscera_Cleanup_Detail_Steam.sh | Shell | gpl-3.0 | 3,638 |
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
mount -t proc proc /proc
mount -t devtmpfs none /dev
mount -t sysfs sysfs /sys
rootdev=""
opt="rw"
wait=""
nfsroot=""
nfsopts=""
for bootarg in `cat /proc/cmdline`; do
case "$bootarg" in
root=*) rootdev="${bootarg##root=}" ;;
nfsroot=*)
nfsroot=$(ech... | B2Qt/b2qt | meta-tegra-extras/recipes/initscripts/tegra210-minimal-init/init-boot.sh | Shell | gpl-3.0 | 1,159 |
cd build
make generateGaussKronrodQuadrature
cd ..
./build/bin/generateGaussKronrodQuadrature
cp ./test/testOutput/GaussKronrodNodesWeights.h ./GaussKronrodNodesWeights.h
| tbs1980/NumericalIntegration | generateQK.sh | Shell | mpl-2.0 | 172 |
#!/usr/bin/bash
# -*- mode: shell-script; fill-column: 80; -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#
# Copyright (c) 2014, Joyent, Inc.
#
set -o xtrace... | joyent/manta-medusa | boot/setup.sh | Shell | mpl-2.0 | 1,759 |
#!/bin/bash
#
# Build and run a docker image for Boulder. This is suitable for running
# repeatedly during development because Docker will cache the image it builds,
# and will only re-do the minimum necessary.
#
# NOTE: Currently we're not able to effectively cache the DB setup steps,
# because setting up the DB depen... | patf/boulder | test/run-docker.sh | Shell | mpl-2.0 | 2,613 |
#! /usr/bin/env nix-shell
#! nix-shell --quiet -i bash -p bash gnused
set -u
set -e
set -o pipefail
nix_conf=/etc/nix/nix.conf
fracta_url=https://hydra.fractalide.com/
fracta_key="hydra.fractalide.com-1:EnGZBrRHPabgRET+umo2e+wNrw+c4QdbsxsnV5H7zs0="
nixos_url=https://cache.nixos.org/
nixos_key="cache.nixos.org-1:6NCH... | sjmackenzie/fractalide | support/utils/setup-hydra.fractalide.com.sh | Shell | mpl-2.0 | 674 |
#!/bin/bash
. $DIR/lib/./audio2spectrogram.sh "${ACTIVEFILE}" || Error "audio2spectrogram.sh"
Register "${file}-spectrogram.png"
. $DIR/lib/./audio2web.sh "${ACTIVEFILE}" || Error "audio2web.sh"
Register "${file}-transcoded.mp3"
Register "${file}-transcoded.wav"
Register "${file}-transcoded.ogg"
. $DIR/lib/./pic2pr... | ito-suite/node-ito-transcoder | bin/converters/audio.sh | Shell | agpl-3.0 | 518 |
#!/usr/bin/env bash
#
# Wabi-Sabi DAM solution
# Open source Digital Asset Management platform of great simplicity and beauty.
# Copyright (C) 2016 Urchinly <wabi-sabi@urchinly.uk>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
#... | urchinly/sabi | ab-benchmark.sh | Shell | agpl-3.0 | 883 |
#!/usr/bin/env bash
USERNAME=$1
DATABASE_NAME=$2
BACKUP_FILE=$3
REFERENCE_DATA_BACKUP_FILE=$4
if [ -z $USERNAME ]; then
echo Database username not specified
exit -1
fi
if [ -z $DATABASE_NAME ]; then
echo Database name not specified
exit -1
fi
if [ -z $BACKUP_FILE ]; then
echo Backup file name n... | macarthur-lab/xbrowse | deploy/docker/postgres/restore_database_backup.sh | Shell | agpl-3.0 | 914 |
#/bin/bash
#export PYTHONPATH=$PYTHONPATH:/home/mescalin/pkerp/projects/
if [ $# -ne 1 ]; then
echo "Usage.sh: ./enumerate.sh pdb_file"
exit
fi
base=${1##*/}
pdb=${base%\.*}
echo pwd
echo $(pwd)
OUTPUT_DIR=~/data/ernwin/processed/${pdb}
if [ -d $OUTPUT_DIR ]; then
rm -rf $OUTPUT_DIR
fi
mkdir -p ${OUT... | pkerpedjiev/ernwin | fess/scripts/enumerate.sh | Shell | agpl-3.0 | 655 |
#!/bin/bash
###################################################################
### ClassCat(R) Deep Learning Service
### Copyright (C) 2016 ClassCat(R) Co.,Ltd. All righs Reserved. ###
###################################################################
# --- Descrption -----------------------------------------------... | classcat/cctf071 | scripts_for_guest/theano-02_construct_venv2.sh | Shell | agpl-3.0 | 4,328 |
#! /bin/bash
gpuFlag=${2:-false}
heapSize=${1:-4096m}
echo "Starting sbt shell with Build Executable Heap Size = $heapSize and GPU Flag = $gpuFlag"
sbt -Dheap=${heapSize} -Dgpu=${gpuFlag} | mandar2812/PlasmaML | sbt-shell.sh | Shell | lgpl-2.1 | 191 |
#!/bin/bash
. $builddir/tests/test_common.sh
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}.... | redhatrises/openscap | tests/API/XCCDF/unittests/test_remediation_simple.sh | Shell | lgpl-2.1 | 1,356 |
#!/bin/bash
#
# $HOME/astyle directory is cached on Travis.
# If cached build is not present, download astyle and build it.
# Install built astyle binary into the home directory.
#
set -e
if [ ! -f $HOME/astyle/build/gcc/bin/astyle ]; then
wget -O astyle_3.1_linux.tar.gz https://sourceforge.net/projects/astyle/files... | Lan-Hekary/Arduino | tests/ci/install_astyle.sh | Shell | lgpl-2.1 | 504 |
#!/bin/sh
mkdir -p Bin/x86/Release
/usr/local/bin/swig -python -c++ -outdir "Bin/x86/Release" -o "FdoPython/fdo_wrap.cpp" -I/usr/local/fdo-3.9.0/include fdo.i
pushd FdoPython
make
make install
popd
| jumpinjackie/fdo-swig | Lang/Python/build.sh | Shell | lgpl-2.1 | 198 |
#!/bin/sh
# from https://github.com/jsteemann/travis-cxx11/blob/master/build.sh
echo "Environment: `uname -a`"
echo "Compiler: `$CXX --version`"
echo "CMake: `cmake --version`"
cmake .
make -j2
| halismai/bpvo | .travis_build.sh | Shell | lgpl-3.0 | 197 |
#!/bin/bash
ln -s ~/.vim-config/spf13-vim-3/.vimrc.bundles ~/
ln -s ~/.vim-config/spf13-vim-3/.vimrc ~/
ln -s ~/.vim-config/spf13-vim-3/.vim ~/
ln -s ~/.vim-config/spf13-vim-3/.vimrc.before ~/
ln -s ~/.vim-config/vimrc.local ~/.vimrc.local
| quai/vim-config | make_symlinks.sh | Shell | unlicense | 241 |
#!/bin/bash
set -e
# This is used by run_tests.sh and tox.ini
python tools/hacking.py --doctest
# Until all these issues get fixed, ignore.
PEP8='python tools/hacking.py --ignore=N101,N201,N202,N301,N302,N303,N304,N305,N306,N401,N402,N403,N404,N702,N703,N801,N902'
EXCLUDE='--exclude=.venv,.git,.tox,dist,doc,*lib/pyt... | Triv90/Heat | tools/run_pep8.sh | Shell | apache-2.0 | 643 |
installer "telegram-desktop" "brew cask install telegram-desktop"
| carloseduardosx/MyDotFiles | config_environment/telegram_desktop.sh | Shell | apache-2.0 | 66 |
#!/bin/bash
docker run --name nginx-curl-cont -it -p 9009:9009 -d nginx-curl
| andrzejsydor/docker | dockerlands/nginx-curl/run.sh | Shell | apache-2.0 | 80 |
#!/bin/bash
PKG_MENU_ENG_DIR=pkg_menu_eng
PKG_MENU_FIX_DIR=pkg_menu_fix
PKG_MENU_JP_XAI=pkg_menu_jp.xai
PKG_MENU_OUT=pkg_menu_fix.xai
PKG_MENU_LIST=pkg_menu.list
PATCH_102_FIX_DIR=patch102_fix
PATCH_102_REAL=patch102_real.xai
PATCH_102_OUT=patch102_fix.xai
DAT_JP=1stload_jp.dat
DAT_FIX_DIR=1stload_fix
DAT_OUT=1stloa... | yosh778/YsVIII-tools | 102repack.sh | Shell | apache-2.0 | 2,114 |
x=${1%.*}
basename=${x##*/}
fasta=$basename.fa
fastq_trimmed=${basename}_trimmed.fastq
cat $1 | fastx_clipper -n -l33 -Q33 -a AGATCGGAAGAGCGGTTCAGCAGGAATGCCGAGACCGATCTCGTATGCCGTCTTCTGCTTG | fastq_quality_filter -Q33 -q25 -p80 | fastx_trimmer -f14 -Q33 > $fastq_trimmed
| bdo311/chirpseq-analysis | trim/trim_chirpseq_flynn.sh | Shell | apache-2.0 | 269 |
#!/bin/bash
cat $0
exit 0
https://www.baeldung.com/spring-debugging
mvn package -DskipTests
java -jar myapp.jar -Dagentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
With Maven, we can use the provided run goal to start our application with debugging enabled:
mvn spring-boot:run -Dagentlib:jdwp... | abrichards5/ABRUnixScripts | help/help_maven.sh | Shell | apache-2.0 | 372 |
#!/bin/bash
java -jar ./libs/conditus-${project.version}.jar -jsonFile ./conf/release.json $* | sparsick/conditus | src/main/assembly/conditus.sh | Shell | apache-2.0 | 94 |
#!/bin/sh
FOLDERS="genome intruder kmeans labyrinth ssca2 vacation yada redblacktree"
rm lib/*.o || true
for F in $FOLDERS
do
cd $F
rm *.o || true
rm $F
make -f Makefile
rc=$?
if [[ $rc != 0 ]] ; then
echo ""
echo "=================================== ERROR BUILDING $F ================... | nmldiegues/tuner-icac14 | tuner-selective/build.sh | Shell | apache-2.0 | 388 |
#!/bin/bash
cat ~/user/vault/dev_server_ip_list.txt
exit
| abrichards5/ABRUnixScripts | help/helpiplist.sh | Shell | apache-2.0 | 57 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
source /usr/local/bin/openshift-dind-lib.sh
source /data/dind-env
function ovn-kubernetes-master() {
local config_dir=$1
local kube_config="${config_dir}/admin.kubeconfig"
token=$(cat ${config_dir}/ovn.token)
local master_config="${config_dir}/maste... | liggitt/origin | images/dind/master/ovn-kubernetes-master.sh | Shell | apache-2.0 | 1,162 |
#!/bin/bash
# get script location
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
docker build -t hadoop-spark:${TAG:-0.1} ${DIR} | GRpro/TwitterAnalytics | hadoop-spark/build.sh | Shell | apache-2.0 | 139 |
#!/usr/bin/env bash
wget https://raw.githubusercontent.com/IOT-DSA/sdk-dslink-javascript/artifacts/dist/dslink.browser.js -O dist/dslink.js
wget https://raw.githubusercontent.com/IOT-DSA/sdk-dslink-javascript/artifacts/dist/dslink.browser.min.js -O dist/dslink.min.js
| IOT-DSA/dslink-javascript-visualizer | update.sh | Shell | apache-2.0 | 269 |
./sbt -Dconfig.file=conf/office365.conf
| ruimo/store2 | office365.sh | Shell | apache-2.0 | 40 |
#!/usr/bin/env bash
# ----------------------------------------------------------------------------
# ${project.baseName} ${project.version}
# uninstall systemd service
# Copyright (C) 2009-2019 OpenEstate.org
# ----------------------------------------------------------------------------
#
# Licensed under the Apache Li... | OpenEstate/OpenEstate-Tool-Server | src/systemd/ServiceUninstall.sh | Shell | apache-2.0 | 2,731 |
#!/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... | portdirect/harbor | docker/openstack/openstack-zun/common-assets/opt/harbor/zun/manage/bootstrap-database.sh | Shell | apache-2.0 | 1,274 |
LD_PRELOAD=./shm_numpy.so python shm_numpy.py
python shm_numpy.py
| fegin/playcode | zmq_numpy_perf/shm_numpy.sh | Shell | apache-2.0 | 66 |
#!/bin/bash
set -xe
source /etc/bashrc.hadoop
function check_hdfs {
cnt_hdfs=$(curl -s localhost:8500/v1/catalog/service/hdfs|grep -c "\"Node\":\"$(hostname)\"")
if [ ${cnt_hdfs} -ne 1 ];then
echo "[start_yarn] No running 'hdfs service yet, sleep 1sec'"
sleep 1
check_hdfs
fi
}
t... | qnib/docker-samza | opt/qnib/hadoop/bin/yarn.sh | Shell | apache-2.0 | 584 |
set -e
export HOST=172.29.236.100:5000
echo "Warming up Apache..."
ab -c 100 -n 1000 -T 'application/json' http://$HOST/v3/ > /dev/null 2>&1
# I ended up replacing this benchmarking script with locust because the
# `authenticate.py` script would get a token, and continue to use that for the
# entire benchmark. This ... | lbragstad/keystone-performance-upgrade | benchmark.sh | Shell | apache-2.0 | 1,226 |
#!/usr/bin/env bash
# Usage: run-integration-tests.sh
#
# Runs the Waiter CLI integration tests using the (local) shell scheduler.
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CLI_DIR=${DIR}/../..
ROOT_DIR=${CLI_DIR}/..
export GRAPHITE_SERVER_PORT=5555
# Start netcat to listen to a port. The Codaha... | twosigma/waiter | cli/bin/ci/run-integration-tests.sh | Shell | apache-2.0 | 2,152 |
#!/bin/sh
# Using the script from here:
# https://github.com/EMBL-EBI-GCA/gca-tools/blob/master/submissions/file-manifest
usage="Usage: $(basename "$0") [-h | --help] [path]...
Generate a file manifest for submitting to GCA at EMBL-EBI
-h | --help display this help and exit
This script generates a file manifest for f... | Ensembl/ensembl-funcgen | scripts/export/create_manifest_file.bash | Shell | apache-2.0 | 1,462 |
#!/bin/bash
notebooks=(
"notebook/intro-to-spark 2BKE3N99M"
"notebook/intro-to-scala/1_basics 2BJ5EXM41"
"notebook/intro-to-scala/2_collections_and_type_inference 2BJNYS7B3"
"notebook/intro-to-scala/3_oop_basics 2BGZKZQZB"
"noteb... | alghimo/intro-to-dataframes | scripts/save_all_notebooks.sh | Shell | apache-2.0 | 1,257 |
#/bin/sh
curl -X POST -d @src/test/resources/litle.json http://localhost:8080/getSites --header "Content-Type:application/json"
#curl -X POST -d @src/test/resources/sites.json http://localhost:8080/getSites --header "Content-Type:application/json"
| cougil/marfeel | check.sh | Shell | apache-2.0 | 248 |
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -x
BUILD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
cd "$BUILD_DIR"
bash -c 'type -p docker || curl -sSL https://get.docker.io/builds/Linux/x86_64/docker-1.9.1.tgz | tar zxf - -C /'
export DOCKER_HOST=tcp://studentroommatematching.com:2376
export DOCK... | artemdevel/python-swagger-validator | scripts/build.sh | Shell | apache-2.0 | 516 |
#!/bin/bash
echo "[INFO] Removing old and unneeded files"
rm -rf src/Muhimbi.PDF.Online.Client/bin
rm -rf src/Muhimbi.PDF.Online.Client/obj
rm -rf bin
rm -f ../muhimbi-pdf-online-client-dotnet.zip
echo "[INFO] Download nuget and packages"
wget -nc https://nuget.org/nuget.exe;
mozroots --import --machine --sync
mono n... | Muhimbi/PDF-Converter-Services-Online | clients/v1/csharp/client/build.sh | Shell | apache-2.0 | 1,352 |
#!/bin/bash
#set -eux
#==================================================================================================
# バックグラウンドプロセス管理ユーティリティ
#
# 並走数上限を設定して、バックグラウンドプロセスをパラレル実行します。
# 並走数上限に達すると、自動でwaitして、同期後に後続プロセスを実行します。
# 各バックグラウンドプロセスの標準出力/エラーは
# start_process と destroy で catされるので、必要に応じてログなどにteeして下さい。
# ... | suwa-sh/collect-images | src/main/scripts/bin/lib/bg_proc_control.sh | Shell | apache-2.0 | 29,202 |
#!/bin/bash
## \cond
#HEADSTART##############################################################
#
#PROJECT: UnifiedTraceAndLogManager
#AUTHOR: Arno-Can Uestuensoez - acue.opensource@gmail.com
#MAINTAINER: Arno-Can Uestuensoez - acue.opensource@gmail.com
#SHORT: utalm-bash
#LICENSE: Apache-2.0 + C... | ArnoCan/utalm | src/utalm-bash/tests/utalm-bash/ALPHA/1_basic_test_support/1_filestream/0_assertWith/CASE001/CallCase.sh | Shell | apache-2.0 | 2,411 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://linuxeye.com
#
# Notes: OneinStack for CentOS/RedHat 7+ Debian 8+ and Ubuntu 16+
#
# Project home page:
# https://oneinstack.com
# https://github.com/oneinstack/oneinstack
. ../options.conf
WebSite=$1
LogFile=${backup_dir}/web.log
NewFi... | kaneawk/oneinstack | tools/website_bk.sh | Shell | apache-2.0 | 1,276 |
#!/bin/sh
docker build -t dockerrunner/docker-runner-image1:v1 . | dballinger/docker-runner | images/test-image/build.sh | Shell | apache-2.0 | 64 |
#!/bin/bash
# script that makes a local clone of all relevant Fabric8 repositories
# the content of repositories are to be used to generate dashboard
REPO_URL_PREFIX="https://github.com/fabric8-analytics/"
REPOSITORIES="
fabric8-analytics-common
fabric8-analytics-data-model
fabric8-analytics-jobs
fabric8-analytics-l... | jpopelka/fabric8-analytics-common | dashboard/clone_or_pull_all_repos.sh | Shell | apache-2.0 | 835 |
#! /bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html.... | cbg-ethz/WES_Cancer_Sim | sim_cancer/eval_vcf/imported_scripts/hdf5/hdf5-1.8.11/tools/h5diff/testh5diff.sh | Shell | apache-2.0 | 44,350 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.