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 -xe
monoversion=MONOLITH-SNAPSHOT
mydir=`dirname $0`
echo My working dir is $mydir
cd $mydir
master_ver=`head -1 project.clj | cut -f2 -d'"'`
echo Master version: $master_ver
if [[ `git status --porcelain | grep "^ M"` ]]; then
echo Repository has uncommitted changes. Please commit them before proc... | brosenan/axiom | version.sh | Shell | epl-1.0 | 618 |
#!/bin/bash
echo "------------------------------------------"
echo "COM.DATA.INITIALISATION"
echo "Fichier OK de TU"
echo "------------------------------------------"
x=1
y=2
z=$x+$y
function function1 ()
{
b = 2
c = 3
a = $b+$c
}
# main
xx=y
function2 ()
{
b = 2
a = $b+$xx
function function3 ()
{
... | dupuisa/i-CodeCNES | shell-rules/src/test/resources/COM/DATA/Initialisation/noError.sh | Shell | epl-1.0 | 347 |
#!/bin/sh
# ####################################################################
# gofed - set of tools to automize packaging of golang devel codes
# Copyright (C) 2014 Jan Chaloupka, jchaloup@redhat.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General P... | fridex/gofed | bitbucket2gospec.sh | Shell | gpl-2.0 | 6,579 |
#!/bin/bash
#
# script runs decomposition,database generation and solver
# using this example setup
#
# prior to running this script, you must create the mesh files
# in directory MESH/
#
###################################################
# number of processes
NPROC=4
###############################################... | carenelarmat/Conejo | EXAMPLES/Mount_StHelens/run_this_example.sh | Shell | gpl-2.0 | 1,326 |
#!/bin/sh
alias debug=${DEBUG:-:}
# valid interface?
if_valid () (
ifconfig "$1" >&- 2>&- ||
[ "${1%%[0-9]}" = "br" ] ||
{ debug "# missing interface '$1' ignored"; false; }
)
hotplug_dev() {
env -i ACTION=$1 INTERFACE=$2 /sbin/hotplug net
}
config_cb() {
return 0
}
option_cb() {
return 0
}
config () {
co... | ZigFisher/Midge | package/base-files/default/etc/functions.sh | Shell | gpl-2.0 | 1,122 |
#!/bin/bash
# load common functions
. "$( cd "$( dirname "$0" )" && pwd )"/functions
#
# function to rebuild with a specific profile
# profile_rebuild <profile>
#
function profile_rebuild {
local profile=$1
pushd geoserver/web/app
$MVN -s $MVN_SETTINGS -o clean install -P $profile $build_info
checkrv $? "ma... | fedesanchez/suite-3.1 | build/main/suite/build.sh | Shell | gpl-2.0 | 3,579 |
#!/bin/bash
base_dir='../../bin'
build_script="build_release.sh"
while getopts rdDhc name
do
case $name in
d)build_script="build_debug.sh";;
D)build_script="build_doc.sh";;
h)echo "$0 [-d(ebug)|-r(elease)|-D(oc)|-c(lean)]";;
c)build_script="clean.sh";;
*)echo "I... | elesd/High-Resolution-Image-Reconstruction | source/build_all.sh | Shell | gpl-2.0 | 534 |
#!/bin/bash
# MacOS /Users/flyzhy/workspace/TeXLive/Elsevier/JASTP/
echo -ne "##### 同步 MacOS /Users/flyzhy/workspace/TeXLive/Elsevier/JASTP/ #####\n"
rsync -vaH --progress --delete -e ssh root@222.195.149.61:/iplouc/Prof.JiGR/project/2012-JASTP/ /Users/flyzhy/workspace/TeXLive/Elsevier/JASTP/
echo
echo -ne "##### 同步结束 ... | zhenghaiyong/Scripts | macosx/bin/rsync-2012-JASTP.sh | Shell | gpl-2.0 | 341 |
#!/bin/bash
. cmd.sh
featdir=mfcc_vtln
num_leaves=3200
num_gauss=30000
logdet_scale=0.0
. parse_options.sh
# train linear vtln
steps/train_lvtln.sh --cmd "$train_cmd" \
--logdet-scale $logdet_scale $num_leaves $num_gauss \
data/train_30k_nodup data/lang exp/tri2 exp/tri2c || exit 1
mkdir -p data/train_30k_nodup_... | michellemorales/OpenMM | kaldi/egs/swbd/s5b/local/run_vtln.sh | Shell | gpl-2.0 | 3,347 |
#!/bin/bash
mplayer -slave -ao pulse /automedia/songs/SHaman.mp3 & | mavrsmart/inetradio | says/start.sh | Shell | gpl-2.0 | 67 |
#! /bin/sh
# Copyright (C) 2009-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/instdir-java.sh | Shell | gpl-2.0 | 1,197 |
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/tuned/Regression/Program-tuned-tried-to-access-dev-mem-between
# Description: Test for BZ#1688371 (Program tuned tried to access /dev/mem be... | redhat-performance/tuned | tests/beakerlib/Program-tuned-tried-to-access-dev-mem-between/runtest.sh | Shell | gpl-2.0 | 1,351 |
#!/bin/sh
# Making releases:
# 1. For normal releases
# Increment XINE_VERSION_SUB
# Clear XINE_VERSION_PATCH
# For patch releases
# Increment XINE_VERSION_PATCH (use ".1", ".2" etc.)
# 2. Remove .cvsversion before running make dist
# 3. Adjust the values of XINE_LT_CURRENT, XINE_LT_REV... | pingflood/xine-lib | version.sh | Shell | gpl-2.0 | 2,375 |
#!/usr/bin/env bash
# Authors:
# Sreeja Kamishetty <sreeja25kamishetty@gmail.com>
# Description:
# A post-installation bash script for engelsystem
echo "Updating your package manager enter your root password"
sudo apt-get update
sudo apt-get upgrade
echo "Installing LAMP enter your root password where ever aske... | fossasia/engelsystem | install_dependencies.sh | Shell | gpl-2.0 | 1,662 |
cd ./question/
echo " CC findans"
gcc findans.c -o findans
chmod 775 findans
echo " CC same"
gcc same.c -o same
chmod 775 same
echo " CC getdata"
gcc getdata.c -o getdata
chmod 775 getdata
echo " CC same_abs"
gcc same_abs.c -o same_abs
chmod 775 same_abs
| ljkgpxs/BashQQ-Mod | build.sh | Shell | gpl-2.0 | 261 |
#!/bin/bash
# Reset installation.
cd ../web
../vendor/bin/drupal chain --file=../config/console/reset.yml
chmod +w sites/default
chmod +w sites/default/settings.php
rm -f sites/default/settings.php
| MPParsley/MPPear | scripts/reset.sh | Shell | gpl-2.0 | 200 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
type -P busybox >/dev/null || return 1
return 255
}
depends() {
return 0
}
install() {
local _i _progs _path
inst busybox /usr/bin/busybox
for _i in `/sbin/busy... | congwang/dracut | modules.d/05busybox/module-setup.sh | Shell | gpl-2.0 | 863 |
tail -fn10000 /home/pi/utzmachine/log/pd.log
| krachtigall/utzmachine | bin/print-utz.sh | Shell | gpl-2.0 | 45 |
#!/usr/bin/env sh
# Update code for dev instances using a local environment.
git pull --recurse-submodules=yes \
&& git submodule update --recursive --remote \
&& composer install \
&& cd web \
&& drush updb -y \
&& drush cim -y \
&& drush entity:updates -y
| brainsum/qashot | update.sh | Shell | gpl-2.0 | 282 |
#!/bin/bash
# This script demonstrates some scripts for resegmenting data. This was
# developed for a scenario where the evaluation data doesn't come with
# segmentation, so we run a phone decoding on the evaluation data to get the
# segmentation, before we decode. We were concerned that possibly there would
# be a ... | michellemorales/OpenMM | kaldi/egs/swbd/s5c/local/run_resegment.sh | Shell | gpl-2.0 | 6,367 |
#!/bin/bash
EXECNAME=$1
SETTINGS=
SETTINGS+=" -study CART"
SETTINGS+=" -lr 0.001"
SETTINGS+=" -gamma 0.99"
SETTINGS+=" -greedyEps 0.1"
SETTINGS+=" -savefreq 100000"
RESTART=" -restart 0"
OPTIONS=${SETTINGS}${RESTART}
export OMP_NUM_THREADS=2
echo $OMP_NUM_THREADS
//rm -fr ../run/
mkdir ../run
cp ../makefiles/$... | cselab/MRAG-I2D | MRAGapps/I2D/launch/sequoiaLaunchRL.sh | Shell | gpl-2.0 | 419 |
#!/bin/bash
# This file automates the release process based on the tag of the current commit
#
# 1) Tag current version: "git tag x.y.z", where x is the major, y the minor
# and z the patch version number. For example: "git tag 2.0.0"
#
# 2) Build release file: "sh release.sh". For the example above, this will build... | ferranfg/mpl-publisher | vendor/simplehtmldom/simplehtmldom/release.sh | Shell | gpl-2.0 | 2,072 |
##!/bin/bash
export ARCH=arm
export CROSS_COMPILE=/opt/toolchains/arm-eabi-4.6/bin/arm-eabi-
export VARIANT_DEFCONFIG=msm8974_sec_hltekdi_defconfig
make msm8974_sec_defconfig
make | kbc-developers/android_kernel_samsung_hlte | build_hdcm.sh | Shell | gpl-2.0 | 181 |
#
# Copyright (C) 2011 OpenWrt.org
#
. /lib/ar71xx.sh
PART_NAME=firmware
RAMFS_COPY_DATA=/lib/ar71xx.sh
CI_BLKSZ=65536
CI_LDADR=0x80060000
platform_find_partitions() {
local first dev size erasesize name
while read dev size erasesize name; do
name=${name#'"'}; name=${name%'"'}
case "$name" in
vmlinux.bin.l... | dtaht/Cerowrt.rc7 | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 4,214 |
set -e
if [ ! -d config ];
then
mkdir config;
fi
autoreconf --install --verbose --force
| kamalesh-babulal/servicelog | bootstrap.sh | Shell | gpl-2.0 | 91 |
#!/bin/sh
#
# Run tests of the SLURM module if slurm is available and there are
# any currently running jobs, or if we can start a job.
#
test_description='slurm module'
. ${srcdir:-.}/test-lib.sh
if ! test_have_prereq MOD_MISC_SLURM; then
skip_all='skipping slurm tests, slurm module not available'
test_done
f... | mnikhil-git/mnikhil-pdsh | tests/t1003-slurm.sh | Shell | gpl-2.0 | 3,177 |
#!/bin/bash
python mapreduce/ego-mapreducer.py /home/data/ego_produto_localizacao_FAT_1_1000.csv --strict-protocols --output-dir /home/data-reduce-out | patrinhani-ciandt/pocs-bigdata-python | samples/whirpool/run-reduce-ego-v-categ-preco-loja.sh | Shell | gpl-2.0 | 151 |
DIR='/path/to/repository'
DUMMYFILE='dummyfile.txt'
tail -f $DIR/$DUMMYFILE |
while read -r line
do
IFS=';' read -ra array <<< "$line"
commit_message="${array[0]}\\${array[1]} [${array[2]}]"
printf "\n%s\n" "$commit_message"
cd $DIR
git add -A
git commit -m "$commit_message"
done
| androsland/GitAutoCommit-Win | scheduler/autocommit.sh | Shell | gpl-2.0 | 316 |
export MYIP="$(/sbin/ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}')"
export PATH=$PATH:/home/yangqi3/bin/google_appengine/
dev_appserver.py --address=10.0.2.15 --port=8080 .
exit
| sloanyang/aquanticvisualizer | layout-test/start-server.sh | Shell | gpl-2.0 | 209 |
#!/bin/bash
# -*- ENCODING: UTF-8 -*-
function create_tpcdb() {
tpc="${2}"
tpcdb="${DM_tl}/${2}/.conf/tpc"
[ -f "$tpcdb" ] && rm "$tpcdb"
dtec="$(date +%F)"
echo -e "\n--- creating topic database..."
echo -n "create table if not exists id \
(name TEXT, slng TEXT, tlng TEXT, autr TEXT, ... | robinpalat/idiomind | ifs/mkdb.sh | Shell | gpl-3.0 | 5,406 |
#!/bin/sh
libtoolize -c -f -i
aclocal
autoheader
automake -c -a --foreign
autoconf
| moriyoshi/libmimetex | autogen.sh | Shell | gpl-3.0 | 83 |
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q waybar
# Wait until the processes have been shut down
while pgrep -x waybar >/dev/null; do sleep 1; done
# Launch main
waybar
| edwlarkey/dotfiles | waybar/scripts/waybar.sh | Shell | gpl-3.0 | 201 |
#!/bin/bash
# system file and simulation parameters
file="Simulators/errors_levenshtein-random-qids-bool-tvb_precompute_modvec6_4_8_ld3-uncoded-gf16-50.txt"
par="1e-2"
seed="0"
# Make sure all system files are built
make all
# Determine default and plain builds
plainbuild=`make --no-print-directory -C ../.. plain-sh... | jbresearch/simcommsys | Examples/TestCases/cudacomparisontest.sh | Shell | gpl-3.0 | 560 |
#!/bin/sh
# This file will be in /init_functions.sh inside the initramfs.
IP=172.16.42.1
# Redirect stdout and stderr to logfile
setup_log() {
# Bail out if PMOS_NO_OUTPUT_REDIRECT is set
echo "### postmarketOS initramfs ###"
grep -q PMOS_NO_OUTPUT_REDIRECT /proc/cmdline && return
# Print a message about what is ... | antonok-edm/pmbootstrap | aports/main/postmarketos-mkinitfs/init_functions.sh | Shell | gpl-3.0 | 8,288 |
#!/bin/bash
error() {
echo "Error: $1"
exit 1
}
release_notes="$(cat release_notes.txt 2>/dev/null)"
source "deploy.secret.sh"
[ -z "$BOT_TOKEN" ] && error "BOT_TOKEN is not set or empty."
[ -z "$CHAT_ID" ] && error "CHAT_ID is not set or empty."
version=$(git describe --tags --dirty)
echo "Enter additional notes... | fabianonline/telegram_backup | deploy_beta.sh | Shell | gpl-3.0 | 2,077 |
#!/bin/bash
rm -f prism-linux-amd64.aci
acbuild begin
acbuild set-name prism
chmod +x scripts/*
acbuild copy scripts/repopulate.sh /repopulate
acbuild copy scripts/run.sh /run
acbuild copy snapOne.json /snapOne.json
acbuild copy $1 /rat
acbuild copy prism /prism
acbuild label add os linux
acbuild label add arch amd64
a... | GrantSeltzer/prism | scripts/buildimage.sh | Shell | gpl-3.0 | 389 |
#!/bin/bash
python RunBootstrap.py --paralog1 YLR406C --paralog2 YDL075W --bootnum 45 > YLR406C_YDL075W_Boot45_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YLR406C_YDL075W_Boot45.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
if [ -z "$CHEF_SERVER" ]; then
echo "No Chef server defined. Doing this the old fashioned way."
else
# Check chef-dk is installed
if [ -z "$(chef --version)" ]; then
echo "install chef-dk first"
else
echo "Chef-dk is installed. Gud."
fi
echo "Using Chef server url $CHEF_SERVER."
[ -s ... | ohkeenan/readything | includes/chef.sh | Shell | gpl-3.0 | 551 |
#!/usr/bin/env bash
# This script installs dependencies and then builds and installs DICOMautomaton.
# It can be used for continuous integration (CI), development, and deployment (CD).
set -eux
# Install build dependencies.
export DEBIAN_FRONTEND="noninteractive"
apt-get update --yes
apt-get install --yes --no-inst... | hdclark/DICOMautomaton | docker/builders/ci/implementation_ci_debian_oldstable.sh | Shell | gpl-3.0 | 3,827 |
#!/bin/bash
nmap -p 443 --script ssl-enum-ciphers 127.0.0.1
| draikes/docker-svn | assets/bin/chkciphers.sh | Shell | gpl-3.0 | 60 |
#!/bin/sh
# Copyright (C) 2004-2021 Soner Tari
#
# This file is part of UTMFW.
#
# UTMFW 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... | sonertari/UTMFW | src/create_po.sh | Shell | gpl-3.0 | 2,326 |
#!/bin/bash
#
# 1fichier.com module
# Copyright (c) 2011 halfman <Pulpan3@gmail.com>
# Copyright (c) 2012-2013 Plowshare team
#
# This file is part of Plowshare.
#
# Plowshare 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 Softwa... | alexreg/plowshare | src/modules/1fichier.sh | Shell | gpl-3.0 | 8,742 |
:
delete_folder_row hydrology 7881510331 tim station_type supervisor weather cat n
| timhriley/appaserver | library/test_delete_station_type.sh | Shell | gpl-3.0 | 83 |
#!/usr/bin/env bash
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
# Numenta, Inc. a separate commercial license for this software code, the
# following terms and conditions... | tkaitchuck/nupic | build.sh | Shell | gpl-3.0 | 2,379 |
#!/usr/bin/env bash
## remove any old files that may exist in the path
#rm outputs/*.csv
#JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home
#PATH=$JAVA_HOME/bin:$PATH
## set up some path locations
# home_fp=/data/gditzler
# home_fp=/Users/gditzler
home_fp=/scratch/ditzler
data_fp=${home_f... | gditzler/MassiveOnlineAnalysis | experiments/pame-experiment.sh | Shell | gpl-3.0 | 5,586 |
#!/bin/bash
output_dir="results_filtered"
test -d ${output_dir} && rm -r ${output_dir}
ddps.py -i results -o ${output_dir} --filter --log10mtotn "-2.7" --nr_cpus 4
ddps.py --elem GRID/elem.dat --elec GRID/elec.dat -i ${output_dir} --plot_to_grid
# now test if at least one grid was plotted
nr_figures=`ls -1 ${output_di... | m-weigand/ccd_tools | src/ddps/tests/03_imaging/test_plot_filtered_grid.sh | Shell | gpl-3.0 | 485 |
#!/bin/bash -x
source /host/settings.sh
if [[ -n $SMTP_SERVER ]]; then
cat <<-_EOF > /etc/ssmtp/ssmtp.conf
mailhub=$SMTP_SERVER
rewriteDomain=${SMTP_DOMAIN:-$DOMAIN}
UseSTARTTLS=YES
FromLineOverride=YES
_EOF
elif [[ -n $GMAIL_ADDRESS ]]; then
cat <<-_EOF > /etc/ssmtp/ssmtp.conf
root=$GMAIL_ADDRESS
mailhub=smt... | docker-scripts/ds | sh/scripts/ssmtp.sh | Shell | gpl-3.0 | 566 |
#!/bin/bash
python RunBootstrap.py --paralog1 YMR143W --paralog2 YDL083C --bootnum 71 > YMR143W_YDL083C_Boot71_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YMR143W_YDL083C_Boot71.sh | Shell | gpl-3.0 | 128 |
#!/usr/bin/env bash
function usage() {
echo "This will tell a new camera to look for its management server"
echo "at a particular IP address. It can be used to configure new"
echo "cameras without having to start up the ubiquiti management software."
echo
echo "Usage: $0 [user@]camera_ip management... | kk7ds/luvs | tools/bootstrap_camera.sh | Shell | gpl-3.0 | 870 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="MESS Desktop Entries"
REQUIRED_AUTOMAKE_VERSION=1.6
(test -f $srcdir/configure.ac \
&& test -f $srcdir/ChangeLog) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"... | GNOME/mess-desktop-entries | autogen.sh | Shell | gpl-3.0 | 520 |
#!/bin/bash
# Script to scan current network
#set the prompt to the name of the script
PS1=${PS1//@\\h/@nmap}
clear
#this block controls the features for px_interface_selector
include_monitor=0
require_ip=1
message="scan on"
. /opt/pwnix/pwnpad-scripts/px_functions.sh
f_scan(){
networks=$(ip route | grep -E "^([0-... | pwnieexpress/pwn_pad_sources | scripts/nmap_scan.sh | Shell | gpl-3.0 | 1,063 |
#!/bin/sh
#
# MediaServer Control File written by Itzchak Rehberg
# Modified for fedora/redhat by Landon Bradshaw <phazeforward@gmail.com>
# Adapted to Twonky 3.0 by TwonkyVision GmbH
# Adapted to Twonky 4.0 by TwonkyVision GmbH
# Adapted to Twonky 5.0 by PacketVideo
#
# This script is intended for SuSE and Fedora syst... | MBWE-Extras/Sources | twonky7_1_0/1_tgzContent/Pack/twonky/twonky.sh | Shell | gpl-3.0 | 5,990 |
#!/bin/bash
set -e
unalias -a
ln -sf ../../scripts/pre-commit.sh .git/hooks/pre-commit
OSX=0
if [ "$(uname)" = Darwin ]; then
OSX=1
fi
source ci-scripts/set_env.sh
ctags -R .
cd qdevicemonitor
if [ $OSX = 1 ]; then
PKG_CONFIG_PATH="$(brew info libusb | grep '/Cellar/' | awk '{print $1}')/lib/pkgconfig"
... | alopatindev/qdevicemonitor | build.sh | Shell | gpl-3.0 | 847 |
#!/bin/bash
# https://github.com/docker/docker/issues/22801
# echo 0 > /proc/sys/kernel/randomize_va_space
# So build in vm
THIS_FILE=$(readlink -f "${BASH_SOURCE[0]}")
THIS_DIR=$(dirname "${THIS_FILE}")
[[ -f ${THIS_DIR}/../env.sh ]] && source "${THIS_DIR}/../env.sh"
if [[ -n ${EMACS_VERSION} && -n ${EMACS_URL} && ... | liaoya/oh-various-scripts | build/docker/build-emacs.sh | Shell | gpl-3.0 | 835 |
#!/sbin/bash
rm db/schema.rb
rm db/*sqlite3
rake db:create
rake db:migrate
rake db:seed
| hamekoz/hamekoz-web | db.sh | Shell | gpl-3.0 | 88 |
#!/bin/sh
#Convert png to include struct in header.
#Deprecated. Use gresource now.
for fn in icon*.png;do
name=${fn/icon-/}
name=${name/.png/}
gdk-pixbuf-csource --name=icon_inline_${name} $fn > icon-${name}.h
done
| lianqiw/maos | scripts/png2h.sh | Shell | gpl-3.0 | 229 |
#!/bin/bash
#
# !For the Free Lite version only!
# !If subscription is available, use documented autoupdate, see: http://dev.maxmind.com/geoip/geoipupdate/
# MaxMind is updating the Free GeoIp databases once every months on the first thuesday.
# This Script is called by a cronjob every day.
# Checks if we are on the fi... | ljay79/yoda | scripts/geoip-update-cron.sh | Shell | gpl-3.0 | 1,126 |
mount /dev/sda1 /mnt/ams2
| mikehankey/fireball_camera | mount-drive.sh | Shell | gpl-3.0 | 26 |
#!/bin/bash
#
# 2016-12-09
# ----------
#
# It is time to explore the variation in the reads. That is, the level of
# heterozygosity. From the fact that several reads map to loci much larger
# than the reads themselves, it is clear that there are many indels. I plan
# to call variants both with samtools mpileup a... | IgnasiLucas/fly | results/2016-12-09/README.sh | Shell | gpl-3.0 | 1,718 |
#!/bin/bash
for i in src/*.c include/*.h
do
if [[ "$i" != "src/data.c" ]]
then
clang-format -style=file "$i" >$$
mv $$ "$i"
fi
done
| phrom/kart | run_clang_format.sh | Shell | gpl-3.0 | 160 |
#!/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 1A/instances/10_2_workflow_full_10files_secondary_wmj_3sh_3rs_with_annot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161108T233615+0000/00/00/averageratioevent_3_ID0000027.sh | Shell | gpl-3.0 | 1,261 |
#!/bin/sh
# Ensure all logs are output upon file truncation
# Copyright (C) 2015-2019 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the Lic... | komh/coreutils-os2 | tests/tail-2/truncate.sh | Shell | gpl-3.0 | 1,603 |
#!/bin/sh
#
# THIS FILE IS NOT PART OF WOLFRAME !
#
# It is just used to generate test documents out of a description.
# It is only aimed to be used on our development platforms.
# Please do not execute this script unless you know what you do !
# Executing this script in the wrong context might invalidate your test co... | ProjectTegano/Tegano | tests/wolfilter/template/output_tst_nofilter.sh | Shell | gpl-3.0 | 1,383 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: unicorn
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Manage unicorn server
# Description: Start, stop, restart unicorn server for a specific applicatio... | seekshiva/courses | config/unicorn_init.sh | Shell | gpl-3.0 | 1,871 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | superjamie/RetroPie-Setup | scriptmodules/supplementary/runcommand.sh | Shell | gpl-3.0 | 4,611 |
#!/usr/bin/env bash
sudo -i -u postgres psql -c "CREATE DATABASE cmcdatabase"
sudo -i -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE cmcdatabase to postgres"
pip3 install --user psycopg2
python3 create_database.py | eduardoneira/SistemasDistribuidos_TPFinal | CentroMonitoreoCiudad/Database/create_database.sh | Shell | gpl-3.0 | 223 |
perl SEG_SEX_DR7.pl
chmod 755 seg_all_DR7.sh
./seg_all_DR7.sh
perl SEG_To_CSV.pl
perl SEG_MASK_DR7.pl
echo Run Mask_Maker_DR7.cl in IRAF, then exec3
| pdn4kd/SDSS-Tidal-Parameter-Analysis | exec2_segmask_DR7.sh | Shell | gpl-3.0 | 149 |
#!/bin/bash
java -cp .:lib/* main/RadioMonitoringTool
| wsntools/iris | iris/src/main/resources/StartRMT.sh | Shell | mpl-2.0 | 54 |
#!/usr/bin/env bash
# Copy this file to env_vars.sh and change any values to work for your system.
# Before running Town Crier, execute "source env_vars.sh" from the same shell
# that will run Town Crier.
export RUST_LOG=town_crier=info
export TOWN_CRIER_SMTP_HOSTNAME='the hostname at which the SMTP server can be rea... | starim/town-crier | env_vars_example.sh | Shell | agpl-3.0 | 638 |
#!/bin/bash
if [ -f /home/pi/NOGUI ]
then
cd /var/www/html/OctoGUI
res=$(git pull)
check=$(echo "$res"|grep "up-to-date" -i)
if [ -z "$check" ]
then
sudo bash /var/www/html/OctoGUI/scripts/pi-setup.sh
fi
cd /var/www/html/fw
git pull
else
if [ -f /home/pi/chromium.tar.gz -a ! -d /tmp/chromium ]
... | seemecnc/OctoGUI | scripts/start.sh | Shell | agpl-3.0 | 1,576 |
#!/bin/bash
###################################################################
### ClassCat(R) Deep Learning Service
### Copyright (C) 2016 ClassCat(R) Co.,Ltd. All righs Reserved. ###
###################################################################
# --- HISTORY --------------------------------------------------... | classcat/ccdl080gpu | scripts_for_guest/tf-04_s3.sh | Shell | agpl-3.0 | 2,648 |
# tclConfig.sh --
#
# This shell script (for sh) is generated automatically by Tcl's
# configure script. It will create shell variables for most of
# the configuration options discovered by the configure script.
# This script is intended to be included by the configure scripts
# for Tcl extensions so that they don't ... | zhongshaohua/dc-iperf | iperf-2.0.5/tclConfig.sh | Shell | agpl-3.0 | 7,146 |
#!/bin/bash
databaseName="MCP"
username="demo"
dpPassword="$1"
sudo mysql $dpPassword --execute="source /usr/share/archivematica/transcoder/mysql" "$databaseName"
| artefactual/archivematica-history | src/vm-includes/share/vmInstaller-transcoder-db.sh | Shell | agpl-3.0 | 165 |
set -x -e -o pipefail
export QA_RPATHS=$[ 0x0001 ]
SOURCENAME=`echo ${CI_COMMIT_REF_NAME} | cut -d '-' -f 1`
DISTRO=fedora
if [ "$1" = "centos7" ]; then
DISTRO=centos
fi
if [ "$1" = "centos6" ]; then
DISTRO=centos
fi
cat << EOF > /etc/yum.repos.d/bintray-wand-general-rpm.repo
#bintray-wand-general-... | alistairking/libtrace | gitlab-build-rpm.sh | Shell | lgpl-3.0 | 1,949 |
#!/bin/bash
export PATH=$HOME/conda/.envs/lab/bin:$PATH
## Set directories
PROJ=~/mclab/SHARE/McIntyre_Lab/maize_ozone_FINAL/2018/PacBio
IND=$PROJ/sqanti_post_filter_b73
OUTD=$PROJ/htseq_output_counts
mkdir -p ${OUTD}
ROZ=${OUTD}/roz_eval_htseq
mkdir -p ${ROZ}
LOG=${OUTD}/evaluate_htseq_counts.log
if [[ ! -... | McIntyre-Lab/papers | nanni_maize_2022/scripts/run_evaluate_htseq_counts.sh | Shell | lgpl-3.0 | 3,526 |
#!/usr/bin/env sh
# generated from catkin/cmake/template/setup.sh.in
# Sets various environment variables and sources additional environment hooks.
# It tries it's best to undo changes from a previously sourced setup file before.
# Supported command line options:
# --extend: skips the undoing of changes from a previou... | cimenx/Crowd-Analysis | devel/setup.sh | Shell | lgpl-3.0 | 2,387 |
#!/usr/bin/env bash
echo "=====Starting installing AWS-CNI ========="
sed -i s/__VETHPREFIX__/${AWS_VPC_K8S_CNI_VETHPREFIX:-"eni"}/g /app/10-aws.conflist
cp /app/aws-cni /host/opt/cni/bin/
cp /app/portmap /host/opt/cni/bin/
cp /app/aws-cni-support.sh /host/opt/cni/bin/
cp /app/10-aws.conflist /host/etc/cni/net.d/
if [... | c-knowles/kube-aws | vendor/github.com/aws/amazon-vpc-cni-k8s/scripts/install-aws.sh | Shell | apache-2.0 | 472 |
#! /bin/sh
PORT=8080
# In python3, the following values are defined:
# logging.DEBUG=10
# logging.INFO=20
# logging.WARN=30
# logging.ERROR=40
# logging.CRITICAL=50
LOG_LEVEL=20
LOG_CONFIG_FILE=\"/home/MasterMind-ServiceManager/api/logging.conf\"
chdir /home/MasterMind-ServiceManager/api
# gunicorn --workers 3 --bin... | icclab/MasterMind-ServiceManager | docker/build/run.sh | Shell | apache-2.0 | 614 |
#!/usr/bin/env bash
# **horizon.sh**
# Sanity check that horizon started if enabled
echo "*********************************************************************"
echo "Begin DevStack Exercise: $0"
echo "*********************************************************************"
# This script exits on an error so that err... | sc68cal/devstack | exercises/horizon.sh | Shell | apache-2.0 | 1,279 |
#!/bin/sh
# 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 agreed to i... | google/google-ctf | 2018/beginners/pwn-moar/src/disable_dmz.sh | Shell | apache-2.0 | 695 |
#!/bin/bash -
#===============================================================================
#
# FILE: download.sh
#
# USAGE: ./download.sh
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: YOUR NAME (),
# ORGANIZATION:
... | linzhaolover/myansible | remote/download.sh | Shell | apache-2.0 | 699 |
HIVE_SRV=mysql-ens-var-prod-1-ensadmin
pipeline_dir=/hps/nobackup2/production/ensembl/anja/release_95/horse/remapping_qtl/
remapping_dir=/hps/nobackup2/production/ensembl/anja/release_95/horse/remapping/
init_pipeline.pl Bio::EnsEMBL::Variation::Pipeline::Remapping::RemappingQTL_conf \
$($HIVE_SRV details hive) \
-pipe... | at7/work | pipelines/scripts/run_remapping_horse_qtl_95.sh | Shell | apache-2.0 | 636 |
#!/usr/bin/env bash
#
# This script builds the application from source for multiple platforms.
# Get the parent directory of where this script is.
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
# Change into that director... | BuiltLabs/maintenance-cli | scripts/build.sh | Shell | apache-2.0 | 2,012 |
#!/bin/bash
wget https://pypi.python.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30cd24cb8/virtualenv-15.1.0.tar.gz#md5=44e19f4134906fe2d75124427dc9b716
tar -xf virtualenv-15.1.0.tar.gz
rm virtualenv-15.1.0.tar.gz
cd virtualenv-15.1.0
python3 virtualenv.py ../sandbox
if [[ $# -lt 1 ]]; then
... | hausp/INE5443 | t2/virtual_env/env_setup.sh | Shell | apache-2.0 | 418 |
#!/bin/bash
set -e # exit with nonzero exit code if anything fails
# clear and re-create the out directory
rm -rf build || exit 0;
mkdir build;
# run our compile script, discussed above
(cd docs; qdoc quickandroid.qdocconf)
REPO=$(git config remote.origin.url)
# go to the out directory and create a *new* Git repo
c... | benlau/quickandroid | .travis/deploy_pages.sh | Shell | apache-2.0 | 915 |
#!/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... | yscGit/CSRAC | Pods/Target Support Files/Pods-RAC/Pods-RAC-frameworks.sh | Shell | apache-2.0 | 3,632 |
#!/bin/bash
MONGODB_HOST=${MONGODB_PORT_27017_TCP_ADDR:-${MONGODB_HOST}}
MONGODB_HOST=${MONGODB_PORT_1_27017_TCP_ADDR:-${MONGODB_HOST}}
MONGODB_PORT=${MONGODB_PORT_27017_TCP_PORT:-${MONGODB_PORT}}
MONGODB_PORT=${MONGODB_PORT_1_27017_TCP_PORT:-${MONGODB_PORT}}
MONGODB_USER=${MONGODB_USER:-${MONGODB_ENV_MONGODB_USER}}
M... | damack/mongodb-backup | run.sh | Shell | apache-2.0 | 1,803 |
#!/bin/bash
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/haproxy
mv /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.original
| sald19/load-Balancing-vagrant-saltstack | salt/roots/haproxy/sh/postinstall.sh | Shell | apache-2.0 | 130 |
#!/bin/bash
COORDINATORS=("172.17.0.1:8529" "172.17.0.1:8539" "172.17.0.1:8549")
for a in ${COORDINATORS[*]} ; do
if curl -u root:test --silent --fail "http://$a"; then
echo "$a"
exit 0
fi
done
echo "Could not find any active endpoint!"
exit 1
| arangodb/arangodb-java-driver | docker/find_active_endpoint.sh | Shell | apache-2.0 | 271 |
#!/bin/sh
set -e
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
case "${TARGETED_DEVICE_FAMILY}" in
1,2)
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
;;
1)
... | CarlXu1008/CodeFarmers | Pods/Target Support Files/Pods-LearniOS/Pods-LearniOS-resources.sh | Shell | apache-2.0 | 7,717 |
psql -f /home/jimv/dev/qvcsos410/testenterprise/postgres_qvcsos410_prod_script.sql postgresql://postgres:postgres@localhost:5433/postgres
| jimv39/qvcsos | testenterprise/resetProdDb.sh | Shell | apache-2.0 | 138 |
#!/usr/bin/env sh
set -e
[ "$1" = "-h" ] && exec sed -ne '/^#/!q;s/.\{1,2\}//;1d;p' < "$0"
branch="$(git symbolic-ref --short HEAD)"
remote="${1%/*}"
remote_branch="${1#*/}"
[ "$remote_branch" != "${remote}" ] || remote_branch="$branch"
if [ -z "${remote}" ]; then
remote="$(git remote -v | grep -E '(git@|https://)... | tboerger/workstation | profiles/thomas/scripts/git-promote.sh | Shell | apache-2.0 | 501 |
#!/bin/bash
mkdir ~/specs
mkdir ~/sources
cd specs
curl -OL https://raw.github.com/imeyer/ruby-1.9.3-rpm/master/ruby19.spec
cd ../sources
curl -OL http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz
cd ..
mock -r centos-6-x86_64-slc --resultdir=./rubysrpm --buildsrpm --spec specs/ruby19.spec --sour... | tomduckering/mock-rpm-builder | build-rpm.sh | Shell | apache-2.0 | 417 |
#!/bin/bash
java \
-Dlog4j.configuration="file:log4j.xml" \
-Dsetting.file="setting.properties" \
-jar ${project.build.finalName}-dist.jar \
--match;
| IHTSDO/drugMatch | src/main/resource/executable/match.sh | Shell | apache-2.0 | 151 |
#!/bin/bash
set -e
go test -v -race $(go list ./... | grep -v vendor) | go-junit-report -dir /usr/share/testresults
# Run test coverage on each subdirectories and merge the coverage profile.
echo "mode: count" > profile.cov
repo_pref="github.com/${CIRCLE_PROJECT_USERNAME-"$(basename `pwd`)"}/${CIRCLE_PROJECT_REPONAM... | hartsock/go-swagger | hack/build-docker.sh | Shell | apache-2.0 | 925 |
#!/bin/bash
###########################################################################
# a2o Essential Puppet Modules #
#-------------------------------------------------------------------------#
# Copyright (c) Bostjan Skufca #
#---... | a2o/puppet-modules-a2o-essential | modules/a2o_essential_linux_interpreters/templates/install-ruby-gem-mysql.sh | Shell | apache-2.0 | 1,345 |
#!/bin/sh
mvn clean compile package
Rscript run-gibbs.R
| darrenjw/blog | gibbs-java-r-mvn/compile-and-run.sh | Shell | apache-2.0 | 59 |
#!/bin/bash
couchdbPath="/var/lib/couchdb/1.2.0/cozy.couch"
backupPath="/backup"
# Restore couchdb database
if [[ -e "$backupPath/couchdb/cozy.couch" ]]; then
cp -r "$backupPath/couchdb/cozy.couch" "$couchdbPath"
chown -R "couchdb:couchdb" "$couchdbPath"
fi
supervisorctl restart couchdb | obigroup/cozy-couchdb | sh/restore.sh | Shell | apache-2.0 | 295 |
#!/bin/bash
#author by shuchang 2017-02-03
#rsync file to product folder
# /data/shell/exclude.list 是忽略的目录内容为.svn
#把代码同步到单个服务器上去
IP=$1
if [ -z "$IP" ]
then
echo "请输入要同步的机器IP 例如[./rsyncProSingle.sh 10.0.1.5 ]"
exit
fi
echo -e "你要同步代码到 $IP 上"
echo -n "Please type[Y/N]:"
read input
ret=$input
func_rsync(){
I... | wangschang/shell | rsync/rsyncsingle.sh | Shell | apache-2.0 | 688 |
#!/bin/sh
version=1.1
tempdir=`mktemp -d`
if [ ! -d "$tempdir" ]; then
echo "Error: Couldn't create temporary directory"
exit 1
fi
cd "$tempdir" || exit 1
wget http://hamcrest.googlecode.com/files/hamcrest-core-$version.jar || exit 1
wget http://hamcrest.googlecode.com/files/hamcrest-library-$version.jar || exit 1
un... | crazymaik/android-project-template | scripts/local-deploy-hamcrest.sh | Shell | apache-2.0 | 631 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.