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
SCRIPT_FILE=$(which $0)
SCRIPT_ROOT=$(dirname $(realpath "$SCRIPT_FILE"))
PROJECT_ROOT=$(dirname "${SCRIPT_ROOT}")
HOST_ARCH=$(uname -m)
TARGET_ARCH=mips
BUILD_ROOT=build/openwrt-$TARGET_ARCH-release
OBJECT_ROOT=$BUILD_ROOT/object
OUTPUT_ROOT=$BUILD_ROOT/output
CROSS_FLAGS="--build=${HOST_ARCH}-linux --ho... | cnwzhjs/rpairmon | scripts/build_mips_binary.sh | Shell | gpl-2.0 | 2,585 |
#!/bin/bash
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
# This file is a part of the Armbian build script
# https://g... | lipro-armbian/lib | lib/makeboarddeb.sh | Shell | gpl-2.0 | 11,910 |
#!/bin/bash
################################################
# Tool to program a polytouchdemo on Karo TX28 #
# Please send feedback to: #
# dominik.peuker@glyn.de #
# Dominik Peuker November 2014 #
# Glyn GmbH & Co. KG #
# ... | jitter77/practice | terminal_tx28s.sh | Shell | gpl-2.0 | 8,367 |
ssh-keygen # to generate the SSH key
# then add the key to your Github account.
ssh -T git@github.com
git clone git@github.com:xxx/xxx.git # clone with write and read permissions.
git pull git@github.com:xxx/xxx.git
git push # first cd to the repository and use this to push your updates.
cd /home/domicor/LammpsRelat... | Rareson/LinuxTricks | Github.sh | Shell | gpl-2.0 | 807 |
# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
#
# 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.
#
# This program is distributed in the ... | wy182000/mysql | support-files/mysql.spec.sh | Shell | gpl-2.0 | 79,885 |
html2pdf ggplot_scales_y_log10_notes.html ggplot_scales_y_log10_notes.pdf
| pamag/CODEmiscellanea | ggplot2_notes/_convert_to_pdf.sh | Shell | gpl-2.0 | 74 |
#!/bin/bash
######################################################################
#
# idFORGE Framework - Manage identity manuals in community
# Copyright © 2015 The CentOS Artwork SIG
#
# idFORGE Framework is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public L... | areguera/idforge | Library/Modules/Qatest/Modules/Run/Modules/Check/Modules/Command/command_line.sh | Shell | gpl-2.0 | 1,528 |
#!/bin/bash
# skirpta se pokrece na backup strani
# ovo bqackupje baze incremnetal
rsync -haz -i --rsh='ssh -p4000' SOURCE_KOMP:/putanja_do_mssql_baza/ /DETINATION/putanja_do_backupa/
chown mssql:mssql -R /DETINATION/putanja_do_backupa/
| dbrankov/skripte | rsync_MSSQLincremental.sh | Shell | gpl-2.0 | 238 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/auth
OUTPU... | yvanvds/yATools | auth/nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,427 |
#!/bin/bash
SCRIPT_DIR=`dirname $0`
source ${SCRIPT_DIR}/quiz_common.sh
INPUT_FILES=`ls ${QUIZ_DIR}/omr_input/ 2> /dev/null | grep "^[^(jpg)]*jpg$"`
if [ "${INPUT_FILES}" = "" ]
then
echo "Error: No image in omr input directory."
exit 1
fi
WHOAMI=`whoami`
if [ "$WHOAMI" = "apache" ]
then
export HOME=/h... | CedricDinont/PaperQuiz | bin/correct_images_rotation.sh | Shell | gpl-2.0 | 2,305 |
#!/bin/bash
set -ev
export PATH=/opt/qt59/bin:$PATH
qmake -recursive
make --silent -j3 || make
exit
| gcoco/GoldenCheetah | travis/linux/script.sh | Shell | gpl-2.0 | 100 |
#!/usr/bin/env bash
# Author : Gaurav Kumar, Johns Hopkins University
# Creates OpenFST lattices from Kaldi lattices
# This script needs to be run from one level above this directory
. path.sh
if [ $# -lt 3 ]; then
echo "Enter the latdir (where the lattices will be put), the decode dir containing lattices and the ... | michellemorales/OpenMM | kaldi/egs/fisher_callhome_spanish/s5/local/latconvert.sh | Shell | gpl-2.0 | 3,417 |
#! /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/txinfo-info-in-srcdir.sh | Shell | gpl-2.0 | 2,145 |
#!/bin/sh
cat ./Output.log | grep '^STATISTICS\|^AGENT' > Output-Stats.log
| benelot/GVG-AI-2015 | statistics/Clean-output.sh | Shell | gpl-2.0 | 75 |
#!/bin/sh
LOGFILE=run150102.log
#opp_run -r 0 -u Cmdenv -c OLSR5x5 -n ../src:../../inet-2.3/examples:../../inet-2.3/src -l ../src/CPVPlant -l ../../inet-2.3/src/inet WirelessScaling.ini >> ${LOGFILE}
#opp_run -r 0 -u Cmdenv -c BATMAN5x5 -n ../src:../../inet-2.3/examples:../../inet-2.3/src -l ../src/CPVPlant -l ../.... | PascalBen/CPVPlant | simulations/scaling/run.sh | Shell | gpl-2.0 | 915 |
#!/bin/sh
import_pootle()
{
po_dir=~/git/translations/po
if [ -d $po_dir ]; then
: > lib/libpacman/po/LINGUAS
: > src/pacman-g2/po/LINGUAS
for i in $(/bin/ls $po_dir/pacman)
do
if [ -e $po_dir/pacman/$i/libpacman.po ]; then
cp $po_dir/pacman/$i/libpacman.po lib/libpacman/po/$i.po
if msgfmt -c --st... | frugalware/pacman-g2 | autogen.sh | Shell | gpl-2.0 | 3,286 |
#! /bin/sh
function add_logs {
echo "add logs in source: $(basename $1)"
for f in $(find src/ -name \*.java) ; do
sed \
-e 's:///*Log\.v:Log.v:' \
-e 's:///*Log\.d:Log.d:' \
-i '' $f
done
}
for lib in $PWD $(grep android.library.reference default.properties | cut -d= -f2) ; do
add_logs $lib
done
echo... | lmb/websms-connector-pbxnetwork | shell/postDeploy.sh | Shell | gpl-3.0 | 435 |
/data/g4gm/data/1combine /data/tmp/w_hadgem2.bin /data/g4gm/data/rest/r2010.txt /data/tmp/w_hadgem2_2000.txt /data/tmp/w_hadgem2_2020.txt /data/tmp/w_hadgem2_2050.txt /data/tmp/w_hadgem2_2085.txt /data/tmp/w_hadgem2_2100.txt
shutdown -h now
| GeorgKindermann/g4m | application/14GlobDynClim2Globiom/3combine.bash | Shell | gpl-3.0 | 241 |
#!/bin/bash
INSTALLATION_TYPE=$1
PYGOGAPI='https://github.com/yancharkin/pygogapi/archive/master.zip'
GOGLIB_SCRIPTS1='https://github.com/yancharkin/games_nebula_goglib_scripts/archive/master.zip'
GOGLIB_SCRIPTS2='https://bitbucket.org/yancharkin/games_nebula_goglib_scripts/get/master.zip'
GOGLIB_SCRIPTS3='https://gi... | yancharkin/games_nebula | setup.sh | Shell | gpl-3.0 | 7,543 |
#!/bin/bash
# Vesta RHEL/CentOS installer v.05
#----------------------------------------------------------#
# Variables&Functions #
#----------------------------------------------------------#
export PATH=$PATH:/sbin
RHOST='r.vestacp.com'
CHOST='c.vestacp.com'
REPO='cmmnt'
VERSION... | ttcttctw/vesta | install/vst-install-rhel.sh | Shell | gpl-3.0 | 46,832 |
#!/bin/sh
# compile u-boot configuration
mkimage -A arm -O linux -T script -C none -n boot.scr -d ${BASE_DIR}/../../board/raspberrypi3-64/boot.source ${BINARIES_DIR}/boot.scr
| s-vincent/br-tree | board/raspberrypi3-64/post-build.sh | Shell | gpl-3.0 | 178 |
pythonw Dropbox/te_measurements/seebeck_measurement/program_hightemp/PIDprogramset2.py
| bobbymckinney/seebeck_measurement | old versions/SeebeckPID_ProgramSet.command | Shell | gpl-3.0 | 87 |
#!/bin/bash
d1=$(date "+%s" -d "2015-1-11")
d2=$(date "+%s")
ch=$(((d2-d1)/86400))
echo $ch
#date -s "-$ch days"
#exit 0 | lilianglaoding/codeprimer | ShellLab/date1.sh | Shell | gpl-3.0 | 123 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2015 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions... | lemones/dotfiles | home/.zsh/plugins/syntax-highlighter/highlighters/main/test-data/back-quoted-argument.zsh | Shell | gpl-3.0 | 2,371 |
# qmidiarp
. $ZYNTHIAN_DIR/zynthian-recipe/recipe/_zynth_lib.sh
cd $ZYNTHIAN_SW_DIR/plugins
sudo apt-get install -y --no-install-recommends autoconf automake libtool
zynth_git https://github.com/dcoredump/qmidiarp.git
if [ ${?} -ne 0 -o "${build}" = "build" ]
then
zynth_build_request clear
cd qmidiarp
git checkout ... | dcoredump/zynthian-recipe | recipe/qmidiarp.sh | Shell | gpl-3.0 | 1,195 |
#!/bin/bash
cd control
tar -czf control.tar.gz *
mv control.tar.gz ../
cd ..
cd data
tar -czf data.tar.gz *
mv data.tar.gz ../
cd ..
tar -czf brook.ipk control.tar.gz data.tar.gz debian-binary
rm *.tar.gz
| txthinking/brook | ipk/build.sh | Shell | gpl-3.0 | 209 |
#!/bin/bash
ulimit -t 1200
MIN=21
MAX=30
TIMEFORMAT='%2R'
OPTS="--no-hybrid-clause-learning"
echo "++++++++++++++++++ Flat NonLinear Heuristic +++++++++++++++"
for ((i=$MIN; i <= $MAX; i++)); do {
K=`expr $i \* 2`
time dReach -u $K -l $K -r dribble-flat.drh --precision 0.1 --stat 2>&1 > /tmp/d... | soonhokong/dreal3 | benchmarks/network/dribble/run-exp.sh | Shell | gpl-3.0 | 2,276 |
#!/bin/bash
echo "
Script: Arch Linux (2017-05) Recipe (for Inspiron 13 - 7353)
Author: Manoel de Souza
E-Mail: msouza.rj@gmail.com
Version: 3.0.0
Date: 07-Jul-2017
"
# https://wiki.archlinux.org/index.php/Installation_guide
# http://lifehacker.com/5680453/build-a-killer-customiz... | manoeldesouza/Cookbook | Inspiron-Arch2.sh | Shell | gpl-3.0 | 4,336 |
#!/bin/bash
python RunBootstrap.py --paralog1 YML026C --paralog2 YDR450W --bootnum 84 > YML026C_YDR450W_Boot84_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YML026C_YDR450W_Boot84.sh | Shell | gpl-3.0 | 128 |
#! /bin/bash
#
# Express setup of OpenVPN server
# for CentOS 7.x and Ubuntu Server 16.x / 17.x
# by xl-tech https://github.com/xl-tech
#
# Version 0.1 12 August 2017
#
# Use only on fresh installed machine! It can rewrite your firewall rules
# or your current OpenVPN config (if you have it before).
#
# Script is lice... | xl-tech/OpenVPN-easy-setup | openvpnsetup.sh | Shell | gpl-3.0 | 13,462 |
#!/bin/bash
test_info()
{
cat <<EOF
Restart the ctdbd daemons of a CTDB cluster.
No error if ctdbd is not already running on the cluster.
Prerequisites:
* Nodes must be accessible via 'onnode'.
Steps:
1. Restart the ctdb daemons on all nodes using a method according to
the test environment and platform.
E... | wolfmuel/ctdb | tests/simple/00_ctdb_init.sh | Shell | gpl-3.0 | 482 |
#!/bin/bash
mkdir SymbolicCpp
cp SymbolicC++3-3.35.zip SymbolicCpp
cd SymbolicCpp
unzip SymbolicC++3-3.35.zip
| richelbilderbeek/RibiLibraries | SymbolicCpp.sh | Shell | gpl-3.0 | 110 |
#!/bin/bash
[ ! -z $( command -v python3 ) ] && PYCOM="python3" || PYCOM="python"
[ -z $PYTHONPATH ] && {
export PYTHONPATH=../bastis-python-toolbox;
} || {
export PYTHONPATH=${PYTHONPATH}:../bastis-python-toolbox
}
echo "Using python binary: $PYCOM"
echo "Using python path: $PYTHONPATH"
$PYCOM manage.py test... | BastiTee/pyntrest | devops-tools/dev-server.sh | Shell | gpl-3.0 | 367 |
#!/bin/bash
while true
do
out="$(cat /home/bmw417/.config/keyboardInput/k3enabled)"
while [ $out -eq 0 ]
do
out="$(cat /home/bmw417/.config/keyboardInput/k3enabled)"
sleep 0.1
done
tee /sys/class/leds/asus::kbd_backlight/brightness <<< 3
done
| bmw417/the_bmw_repo | keyboardInput/k3input.sh | Shell | gpl-3.0 | 261 |
#!/bin/sh
set -eu
. .env
echo "Waiting for postgres..."
until nc -z "${POSTGRES_HOST}" "${POSTGRES_PORT}"; do
sleep 1
done
php artisan migrate --force --seed
php-fpm7
test -d /run/nginx || mkdir /run/nginx
nginx -t
nginx
tail -f /var/log/nginx/*
| emilianobovetti/brewis | web/startup.sh | Shell | gpl-3.0 | 258 |
# . bash_bits.sh
hex2bits () {
echo 'obase=2;ibase=16;'$1 | bc
}
| gipi/information-theory | bash_bits.sh | Shell | gpl-3.0 | 68 |
curl -v --data "client_orderid=inv0001001&order_desc=Test Order Description&first_name=John&last_name=Smith&ssn=1267&birthday=19820115&address1=100 Main st&city=Seattle&state=WA&zip_code=98102&country=US&phone=+12063582043&cell_phone=+19023384543&amount=10.4&email=john.smith@gmail.com¤cy=USD&ipaddress=65.153.12.2... | alexeybezverkhiy/fibonatix | Merchant/MerchantAPI/Tests/fb-preauth.sh | Shell | gpl-3.0 | 723 |
#!/usr/bin/env sh
# generated from catkin/python/catkin/environment_cache.py
# based on a snapshot of the environment before and after calling the setup script
# it emulates the modifications of the setup script without recurring computations
# new environment variables
# modified environment variables
export LD_LIB... | blutjens/perc_neuron_ros_ur10 | pn_ros/bjorn_ws/build/catkin_generated/setup_cached.sh | Shell | gpl-3.0 | 788 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=MinGW-Windows
CND_CONF=Debug
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}/c
OUTPUT_BASENAME=c
PACKAGE_... | tadvent/OnlineJudgeSolutions-Cpp | Other/BaiduAstar/2012-0531/C/nbproject/Package-Debug.bash | Shell | gpl-3.0 | 1,399 |
## Configuration
export_env HOSTALIASES /host/etc/host_aliases
## Software
apt_install_permanent rsync rsnapshot openssh-client | Boukefalos/docker-deployment | build/scripts/rsnapshot.sh | Shell | gpl-3.0 | 128 |
# DESCRIPTION
# Resizes all images of type T (via parameter $1) in the current path, by nearest-neighbor method, to target format F ($2), at size A x B ($3 x $4). (Nearest neighbor method will keep hard edges, or look "pixelated.") Runs `img2imgNN.sh` repeatedly to do this.
# USAGE
# This script uses the same paramete... | r-alex-hall/fontDevTools | scripts/imgAndVideo/imgs2imgsNN.sh | Shell | gpl-3.0 | 1,158 |
# 0AD - Game - http://wildfiregames.com/0ad/
0AD() {
echo "[$FUNCNAME]"
# Generate repo
if [[ ! -f /etc/yum.repos.d/fedora-0ad.repo ]]; then
cat << EOF > /etc/yum.repos.d/fedora-0ad.repo
[fedora-0ad]
name=Cross-Platform RTS Game of Ancient Warfare
baseurl=http://repos.fedorapeople.org/repos/bioinfornatic... | easyLife/easylife | lib/0ad.sh | Shell | gpl-3.0 | 1,331 |
#!/bin/bash
# vim: ts=4:sw=4
. ~/plescripts/plelib.sh
. ~/plescripts/vmlib.sh
EXEC_CMD_ACTION=EXEC
typeset -r ME=$0
typeset -r PARAMS="$*"
typeset -r str_usage=\
"Usage : $ME
Met à jour suse LEAP, stop toutes les VMs avant pour éviter tout problème, en
cas de mise à jour de VBox.
"
while [ $# -ne 0 ]
do
case $1 i... | PhilippeLeroux/plescripts | shell/update_suse.sh | Shell | gpl-3.0 | 1,234 |
#!/bin/bash
# Parses a list of packages from a package list directory
# Usage:
# ./generate_package_list.sh <package list directory>
# Fail upon any errors
set -e
# Read the command line arguments
PACKAGELISTSDIR=$1
# Generate the package list
for i in $PACKAGELISTSDIR/*
do
# Ignore comment lines
PACKAGES+=" $(... | jrruethe/debian-micro | buildboot/generate_package_list.sh | Shell | gpl-3.0 | 389 |
#!/bin/bash
export PATH=/e/br07/build/bin/Release:/e/br07/third_party/Pre-built.2/lib:$PATH
ls *.ply | preprocess -bbox bbox.dat | Tonsty/br07 | scripts/preprocess_bbox.sh | Shell | gpl-3.0 | 130 |
#!/bin/bash
color() {
local color="$1"
if [ "$3" == "" ]; then
local prefix=""
local txt="$2"
else
local prefix="$2 "
local txt="$3"
fi
echo -en "${prefix}\x1b[;${color}m${txt}\x1b[0m"
}
red() {
color 31 "$1" "$2"
}
green() {
color 32 "$1" "$2"
}
OPTIONS="... | d4nnyk/reverse | diff.sh | Shell | gpl-3.0 | 1,593 |
#!/bin/csh -v
rm -rf testdir
mkdir testdir
cd testdir
ln -s ../build/release/example/* .
ln -s ../example/lena.ppm .
./display < lena.ppm
./display1 lena.ppm
./invert < lena.ppm > inv.ppm ; display inv.ppm
./fft < lena.ppm > fft.ppm ; display fft.ppm
./mirror < lena.ppm > mirror.ppm ; display mirror.ppm
./mirror... | mbe2014/ClipOCV | test.sh | Shell | mpl-2.0 | 774 |
#!/bin/bash
# This file is part of MorphoDiTa <http://github.com/ufal/morphodita/>.
#
# Copyright 2016 Institute of Formal and Applied Linguistics, Faculty of
# Mathematics and Physics, Charles University in Prague, Czech Republic.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2... | ufal/morphodita | scripts/update_utils.sh | Shell | mpl-2.0 | 831 |
#!/bin/sh -x
# prepare vm and install api server.
#
# depends on the vagrant plugin vbguest. install it with:
# `vagrant plugin install vagrant-vbguest`
# newspeak.io
# Copyright (C) 2013 Jahn Bertsch
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gener... | newspeak/newspeak-server | api-vm/vagrant-setup-api.sh | Shell | agpl-3.0 | 1,994 |
#!/bin/sh
gcc -O3 ../menu.c ../lib/lib_gpio.c ../lib/lib_png.c ../lib/lib_spi.c ../lib/lib_oled.c ../lib/lib_ui.c ../lib/lib_jpeg.c -I../lib/ -std=gnu11 -o ../menu $(pkg-config --cflags --libs cairo) && mv ../menu ../../bin/ | timelapseplus/VIEW | src/script/build-menu.sh | Shell | agpl-3.0 | 224 |
#!/bin/bash
CURRENT_DIR=`pwd`
cd `dirname $0`
SCRIPT_DIR=`pwd`
export SCRIPT_DIR
PID=`cat application.pid`
kill ${PID}
cd ${CURRENT_DIR}
| opensource21/sze | scripts/stop.sh | Shell | agpl-3.0 | 140 |
# Because of a long-running npm issue (https://github.com/npm/npm/issues/3059)
# prepublish runs after `npm install` and `npm pack`.
# In order to only run prepublish before `npm publish`, we have to check argv.
if node -e "process.exit(($npm_config_argv).original[0].indexOf('pu') === 0)"; then
exit 0;
fi
# Publishi... | meldio/meldio | resources/prepublish.sh | Shell | agpl-3.0 | 1,067 |
#! /bin/sh
./clipping.sh c1 c4
| slitvinov/gts | test/clipping/clipping_c1_c4.sh | Shell | lgpl-2.1 | 32 |
ARCHIVE_PATH=/run/media/hughsie/Backup/mirror
VERSION=34
echo "Building applications..."
appstream-builder \
--verbose \
--veto-ignore=add-default-icons \
--min-icon-size=48 \
--enable-hidpi \
--include-failed \
--log-dir=./logs/fedora-${VERSION} \
--temp-dir=./tmp/fedora-${VE... | hughsie/appstream-scripts | fedora/fedora-34.sh | Shell | lgpl-2.1 | 1,742 |
#! /bin/sh
ANT_OPTS="-Xss8m -Xmx1024m" ant -lib dist/share/strategoxt/strategoxt.jar test
| lichtemo/strategoxt | strategoxt/test.sh | Shell | lgpl-2.1 | 91 |
[ -d "node_modules/" ] || time npm install --verbose
cd cola
../node_modules/cordova/bin/cordova platform add android
../node_modules/cordova/bin/cordova plugin add cordova-plugin-geolocation
cd ..
| manpages/cola | init.sh | Shell | lgpl-3.0 | 203 |
for v in 1.7.2 ; do
add_package http://www.physics.rutgers.edu/pythtb/_downloads/pythtb-$v.tar.gz
pack_set -s $IS_MODULE
pack_set --install-query $(pack_get --LD)/python$pV/site-packages/pythtb.py
# Add requirments when creating the module
pack_set --module-requirement numpy \
--modu... | zerothi/bash-build | python/pythtb.bash | Shell | lgpl-3.0 | 495 |
dir=`dirname "$0"`
java -Xmx2000M -Xss8m -Djava.library.path=lib -Djri.ignore.ule="yes" -jar "$dir/Mesquite.jar"
#================
#INSTRUCTIONS
#Increase the numbers above to enable more than 2000M total heap and 8M per thread for the stack. The latter enables larger trees, e.g. more than 5000 taxa
#IF MESQUITE DOES... | MesquiteProject/MesquiteCore | Executables/All OSs - Scripts and Instructions to Users/macOS/Mesquite_Starter-S.command | Shell | lgpl-3.0 | 1,200 |
cat ../include/UNIPAX/PERSISTENCE/MYSQL/EXT/UPBase.sql > ../include/UNIPAX/PERSISTENCE/MYSQL/UniPAX_MySQL.sql
cat ../include/UNIPAX/PERSISTENCE/MYSQL/EXT/SBase.sql >> ../include/UNIPAX/PERSISTENCE/MYSQL/UniPAX_MySQL.sql
cat ../include/UNIPAX/PERSISTENCE/MYSQL/BIOPAX/Thing.sql >> ../include/UNIPAX/PERSISTENCE/MYSQL/UniP... | thortiede/unipax | scripts/merge_sqls.sh | Shell | lgpl-3.0 | 11,765 |
#!/usr/bin/env bash
grunt
git add media | pipaslot/forms | pre-commit.sh | Shell | lgpl-3.0 | 40 |
#!/bin/bash
# wf.sh: ·ÖÎöÎı¾ÎļþÖдʻã³öÏֵįµÂÊ.
# "wf2.sh"½Å±¾ÊÇÒ»¸öЧÂʸü¸ßµÄ°æ±¾.
# ´ÓÃüÁîÐÐÖмì²éÊäÈëµÄÎļþ.
ARGS=1
E_BADARGS=65
E_NOFILE=66
if [ $# -ne "$ARGS" ] # ¼ìÑé´«µÝµ½½Å±¾ÖвÎÊýµÄ¸öÊý.
then
echo "Usage: `basename $0` filename"
exit $E_BADARGS
fi
if [ ! -f "$1" ] # ¼ì²é´«ÈëµÄÎļþÊÇ·ñ´æÔÚ... | liruiqiu/tlpi | sh/sh/wf.sh | Shell | lgpl-3.0 | 1,452 |
cd core
mvn clean install -DskipTests -q
cd ../api
mvn clean package -DskipTests -q
cp target/api-1.0-jar-with-dependencies.jar ../blip.jar
| mauro-idsia/blip | compile-blip.sh | Shell | lgpl-3.0 | 146 |
#!/bin/bash
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd "${DIR}"
benchmark_dir="${DIR}/benchmarks"
rm -rf "${benchmark_dir}"
mkdir -p "${benchmark_dir}"
overwrite_file() {
local file_content="#ifndef SETTINGS_H_
#define SETTINGS_H_
#define PRIME_FIELD_BINARY_BIT_LENGTH (131)
#define L... | sahandKashani/prime-field-arithmetic-AVX2 | benchmark.sh | Shell | unlicense | 2,605 |
#!/bin/bash
DIRNAME=$(dirname $0)
DATE_INTERVAL=1
CPU_INTERVAL=1
RED="^fg(red)"
GREEN="^fg(green)"
ORANGE="^fg(orange)"
NORMAL="^fg(#ffffff)"
ICON_DIR=${DIRNAME}/../icons
function dateformat
{
date "+%A %d.%m.%Y %H:%M:%S"
}
function cputemp
{
TEMP=$1
TEMP_NUM=$(echo $TEMP | sed -e 's/°C//g')
if [ `echo ... | agoulamhoussen/dotFiles | home/.xmonad/scripts/status.sh | Shell | unlicense | 1,249 |
source ~/stackrc
time openstack overcloud deploy --templates \
-r ~/custom-templates/custom-roles-mixed.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-tem... | RHsyseng/hci | other-scenarios/mixed-nodes/deploy-mixed.sh | Shell | apache-2.0 | 533 |
#!/bin/bash -e
# Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | kubeflow/pipelines | components/contrib/sample/keras/train_classifier/build_image.sh | Shell | apache-2.0 | 1,385 |
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT="$( cd $DIR && cd .. && pwd)"
LIB="$ROOT"/lib
RESOURCES="$( cd $ROOT && cd .. && pwd)"/vua-resources
# assumes vua-resources is installed next to this installation
# git clone https://github.com/cltl/vua-resources.git
#
# the software ass... | cltl/EventCoreference | scripts/naf-folder-to-simple-trig.sh | Shell | apache-2.0 | 852 |
#!/usr/bin/env bash
apt-get update
apt-get upgrade
mkdir /etc/redis
mkdir /var/redis
mkdir /var/redis/6379
cd
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
make install
cp utils/redis_init_script /etc/init.d/redis_6379
cp /vagrant/redis.conf /etc/redis/6379.conf... | everlution/redlock | tests/vagrant/bootstrap.sh | Shell | apache-2.0 | 382 |
#!/bin/bash
set -e
# Builds or removes Go plugin object code.
#
# Specify plugin root as first arg, e.g.
#
# ./hack/buildExternalGoPlugins.sh $KUSTOMIZE_PLUGIN_HOME
# ./hack/buildExternalGoPlugins.sh $XDG_CONFIG_HOME/kustomize/plugin
# ./hack/buildExternalGoPlugins.sh ${HOME}/.config/kustomize/plugin
# ./hack/... | kubernetes-sigs/kustomize | hack/buildExternalGoPlugins.sh | Shell | apache-2.0 | 1,048 |
# -----------------------------------------------------------------------------
#
# Package : github.com/storageos/go-api
# Version : v0.0.0-20180912212459-343b3eff91fc
# Source repo : https://github.com/storageos/go-api
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPack... | ppc64le/build-scripts | g/github.com__storageos__go-api/github.com__storageos__go-api_rhel_8.3.sh | Shell | apache-2.0 | 5,121 |
#!/bin/bash
# Get Project Repo
aspectran_repo=$(git config --get remote.origin.url 2>&1)
echo "Repo detected: ${aspectran_repo}"
# Get Commit Message
commit_message=$(git log --format=%B -n 1)
echo "Current commit detected: ${commit_message}"
# Get the Java version.
# Java 1.5 will give 15.
# Java 1.6 will give 16.
... | aspectran/aspectran-parent | travis/after_success.sh | Shell | apache-2.0 | 1,110 |
#!/bin/bash -x
# -------------------------------------------------------------------------- #
# Copyright 2011-2012, Research In Motion (rim.com) #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); yo... | blackberry/OpenNebula-Carina | context/hbasemaster.sh | Shell | apache-2.0 | 7,141 |
#!/bin/bash
#
# Options
# -g: Use global(Public) IP in network communication. Its value can be true or false. Default value is false.
#
# -s: Use Public IP as server name. Its value can be true or false. Default value is false.
#
# -r: Replace candidate address with server name. Its value can be true or false. Default... | ant-media/Ant-Media-Server | src/main/server/start.sh | Shell | apache-2.0 | 5,975 |
# -----------------------------------------------------------------------------
#
# Package : mime-db
# Version : 1.45.0
# Source repo : https://github.com/jshttp/mime-db
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
# Discla... | ppc64le/build-scripts | m/mime-db/mime-db_rhel_8.3.sh | Shell | apache-2.0 | 3,046 |
#!/bin/sh
usage() {
echo <<DELIM "Echo public IP of a running service.
Usage:
$0 {instance}.{service}.{group} [nameserver]
Example:
$0 2.web.gulaghypercloud"
DELIM
}
[[ $# -lt 1 ]] && usage && exit
[[ ${1} == '-h' ]] && usage && exit
INSTANCE=${1} # Instance must be specified, in the form '<instance>.<service>.<gr... | daprlabs/daprdockr | util/get-ip.sh | Shell | apache-2.0 | 441 |
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | google-research/google-research | value_dice/run_experiments.sh | Shell | apache-2.0 | 1,566 |
cp -rf .inputrc .vim* .python* .bash* bashscripts .pylint* .tmux* .profile .gitconfig ~/
cp -rf .config/* ~/.config/
| jyapayne/dotfiles | deploy.sh | Shell | apache-2.0 | 117 |
#!/bin/bash
set -e
# Copyright 2009-2012 Microsoft Corporation Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0.
# This is modified from the script in standard Kaldi recipe to account
# for the way the WSJ data is structured on the Edinburgh systems.
# - Arnab Ghoshal, 29/05/12
if [ $# -ne 1 ]; then
... | AlexHung780312/aurora4_egs | s5/local/cstr_wsj_data_prep.sh | Shell | apache-2.0 | 7,359 |
#!/usr/bin/env bash
# Copyright © 2014-2016 Cask Data, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | chtyim/cdap | cdap-docs/admin-manual/build.sh | Shell | apache-2.0 | 2,036 |
pkg_name=kubectl
pkg_origin=core
pkg_description="kubectl CLI tool"
pkg_upstream_url=https://github.com/kubernetes/kubernetes
pkg_license=('Apache-2.0')
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_version=1.9.6
pkg_source=https://github.com/kubernetes/kubernetes/archive/v${pkg_version}.tar.gz
pkg_s... | be-plans/be | kubectl/plan.sh | Shell | apache-2.0 | 718 |
# coding=utf-8
# Copyright 2019 The Google UDA Team Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | google-research/uda | image/scripts/preprocess_with_dev.sh | Shell | apache-2.0 | 872 |
#!/bin/bash
#
# Copyright 2019 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 t... | google-coral/edgetpu | scripts/run_cpp_examples.sh | Shell | apache-2.0 | 1,921 |
#!/bin/bash
# Copyright 2022, Bloomberg Finance L.P.
#
# 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 agr... | bloomberg/chef-bcpc | virtual/packer/bin/download-packer-box.sh | Shell | apache-2.0 | 1,951 |
#!/bin/bash
echo "=== Acquiring datasets ==="
echo "---"
mkdir -p data
cd data
echo "- Downloading ptb Treebank (PTB)"
mkdir -p ptb
cd ptb
wget --quiet --continue https://github.com/pytorch/examples/raw/master/word_language_model/data/penn/train.txt
wget --quiet --continue https://github.com/pytorch/examples/raw/mast... | giancds/attentive_lm | get_and_process_data.sh | Shell | apache-2.0 | 958 |
export XOS_DIR=/opt/xos
python syndicate-backend.py -C $XOS_DIR/syndicate_observer/syndicate_observer_config
| wathsalav/xos | xos/syndicate_observer/run.sh | Shell | apache-2.0 | 110 |
#!/bin/bash
# Copyright 2015 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | Asana/bazel | tools/build_defs/docker/build_test.sh | Shell | apache-2.0 | 16,655 |
GPU_ID="0"
EVERY=1000
MODEL=PositionalCnnDeepCombineChainModel
MODEL_DIR="../model/positional_cnn_deep_combine_chain"
start=$1
DIR="$(pwd)"
for checkpoint in $(cd $MODEL_DIR && python ${DIR}/training_utils/select.py $EVERY); do
echo $checkpoint;
if [ $checkpoint -gt $start ]; then
echo $checkpoint;
CUDA_VISIBL... | wangheda/youtube-8m | youtube-8m-wangheda/eval_scripts/eval-positional-cnn-dcc.sh | Shell | apache-2.0 | 919 |
SCRIPT_ROOT=$(echo "$1")
PROJECT_ROOT=$(echo "$2")
PUPPET_VERSION=$(echo "$3")
$SCRIPT_ROOT/os-detect-setup.sh $SCRIPT_ROOT $PROJECT_ROOT
$SCRIPT_ROOT/initial-setup.sh $SCRIPT_ROOT $PROJECT_ROOT
$SCRIPT_ROOT/update-puppet.sh $SCRIPT_ROOT $PROJECT_ROOT $PUPPET_VERSION
$SCRIPT_ROOT/librarian-puppet-vagrant.sh $SCRIPT_RO... | Spantree/spantree-puppet-bootstrap | shell/initialize-all.sh | Shell | apache-2.0 | 336 |
#!/usr/bin/env bash
# setup docker container
docker run -it --name sap-hana -v /Users/terma/Downloads/sap-hana:/sap-hana-install opensuse bash
# connect to existent container
# in container
cd /sap-hana-install
zypper update
zypper install numactl
./setup-
# ...
# yum install libtool
# yum install libtool-ltdl
# to... | terma/fast-select | prepare-sap-hana.sh | Shell | apache-2.0 | 474 |
#!/bin/bash
set -e -u
if [ $# -lt 1 -a -z "${PLANET-}" ]; then
echo "This script updates a planet or an extract, processes metro networks in it"
echo "and produses a set of HTML files with validation results."
echo
echo "Usage: $0 <planet.o5m>"
echo
echo "Variable reference:"
echo "- PLANET: path for the... | mapsme/subways | scripts/process_subways.sh | Shell | apache-2.0 | 3,566 |
#!/bin/sh
. $(dirname "$0")/driver.sh
test_group "tree tests for fake.dts"
test_result 0 <<EOF
/ (/)
proc0 (/proc0)
fsi@20000 (/proc0/fsi)
pib@20100 (/proc0/pib)
core@10010 (/proc0/pib/core@10010)
thread@0 (/proc0/pib/core@10010/thread@0)
thread@1 (/proc0/pib/core@1001... | open-power/pdbg | tests/test_tree.sh | Shell | apache-2.0 | 14,684 |
source ~/stackrc
rm -f reachable.txt intermittent.txt unreachable.txt > /dev/null 2>&1
for ip in `openstack server list -f value -c Networks | sed s/ctlplane=//`
do
server=$(openstack server list | grep $ip | awk {'print$2'})
node=$(openstack baremetal node list | grep $server | awk {'print$2'})
... | smalleni/openstack-testing | ping_nodes.sh | Shell | apache-2.0 | 921 |
#!/bin/bash
debug="false"
timestamp=`date +%Y-%m-%d-%H-%M-%S`
ROOT_DIR=$DOZAT_ROOT
OUT_LOG=$ROOT_DIR/hyperparams/tune-$timestamp
if [[ "$debug" == "false" ]]; then
mkdir -p $OUT_LOG
fi
echo "Writing to $OUT_LOG"
#num_gpus=100
num_gpus=16
lrs="0.04" # 0.06"
mus="0.9"
nus="0.98"
epsilons="1e-12"
warmup_steps="8... | strubell/Parser | tune/tune-conll05-goldpreds-tan-notrain.sh | Shell | apache-2.0 | 7,356 |
# ----------------------------------------------------------------------------
#
# Package : kafka
# Version : 1.1.1, 2.2.0, 2.2.1-rc1
# Source repo : https://github.com/apache/kafka
# Tested on : rhel_7.4
# Script License: Apache License, Version 2 or later
# Maintainer : Priya Seth <sethp@us.ibm.... | ppc64le/build-scripts | k/kafka/kafka_rhel7.6.sh | Shell | apache-2.0 | 1,743 |
#!/bin/bash
rm -Rf rescue64 uefi64
mkdir -p rescue64 uefi64
mcopy -sv -i RESCUE64.img@@1M ::EFI/boot/\* rescue64
mcopy -sv -i UEFI64.img@@1M ::EFI/boot/\* uefi64
| schlomo/gss-grub | opal/prepare.sh | Shell | apache-2.0 | 162 |
#!/bin/bash
port=
forwarded_port=
ports=
#http_port=8080
VBOX_MANAGE=/usr/bin/VBoxManage
OCTETS="192.168."
ORIGINAL_OCTETS=${OCTETS}"56"
function replace_port() {
res=0
p=
while [ $res -eq 0 ] ; do
p=`shuf -i 20000-65000 -n 1`
# If the port is already in the file, try again
grep $p Vagrantfile
r1=$?
... | SirOibaf/karamel-chef | test.sh | Shell | apache-2.0 | 2,312 |
scan() {
#statements
ping -c 1 $1.$2 > /dev/null && echo "$1.$2 is alive"
}
for i in `seq 1 254`
do
scan $1 $i &
done | momomoxiaoxi/security | Scripts/scan.sh | Shell | apache-2.0 | 134 |
#VAGRANT specific functions and globals
#global variables for vagrant, this need to coincide with the ones in Vagrantfile
#TODO, make the Vagrant file read these variables from node and cluster definitions
VAGRANT_HOST="127.0.0.1"
VAGRANT_WEB_IP="192.168.99.2" #do not use .1 to avoid some vagrant warnings
VAGRANT_ipA... | Aloja/aloja | aloja-deploy/providers/vagrant.sh | Shell | apache-2.0 | 6,859 |
#!/bin/sh
OS_LIST='sl510-x86_64 sl520-x86_64 sl530-x86_64 sl540-x86_64 sl550-x86_64 sl560-x86_64 sl570-i386 sl580-x86_64 sl590-x86_64 sl610-x86_64 sl620-x86_64 sl630-x86_64 sl640-x86_64'
DATE=`date +%Y%m%d`
# Verify current working directory
if [ ! -d cfg/sites/grif/repository ]; then
echo "ERROR: this should be ... | quattor/scdb | utils/misc/errata.sh | Shell | apache-2.0 | 2,164 |
#!/bin/bash
# missing Command
http -f POST 127.0.0.1:50000/cloud_api hello=world AcceptFormat=json
# invalid Command
http -f POST 127.0.0.1:50000/cloud_api Command=hello CloudPlatform=aliyun AcceptFormat=json
# correct Command
http -f POST 127.0.0.1:50000/cloud_api Command=fetchImageFlavor CloudPlatform=aliyun Accep... | njuallen/noj | server/test/aliyun/test_fetch_image_flavor.sh | Shell | bsd-2-clause | 334 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.