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
# Get the current repo name and version
# to format urls appropriately via Javascript
# variables for inclusion in html files.
# Use cases:
# 1. Hosted on nsnam.org, tagged release.
# 2. Hosted on nsnam.org, ns-3-dev.
# 3. User repo, modified from a tagged release (or ns-3-dev).
# 4. User repo, at a r... | hanyassasa87/ns3-802.11ad | doc/ns3_html_theme/get_version.sh | Shell | gpl-2.0 | 6,282 |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/ec2-access.log"
# Grab all Security Groups IDs for DISALLOW action and export the IDs to a text file
sudo aws ec2 describe-security-groups --filters Name=tag:close-ssh-time,Values=13-00 N... | STARTSPACE/aws-access-to-ec2-by-timetable | ssh-22/disallow-ad/ssh-disallow-ad-13.sh | Shell | gpl-2.0 | 807 |
#!/usr/bin/env bash
TDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${TDIR}/../../../TestFramework/TestCase.sh ${TDIR};
function ValidSellTestCase {
TestCase ${TDIR}
}
ValidSellTestCase
| ncdesouza/xstream | frontend/test/FunctionalTestSuite/SellTestSuite/ValidSellTestCase/ValidSellTestCase.sh | Shell | gpl-2.0 | 207 |
#!/bin/sh
USER_NAME="guessi"
USER_EMAIL="guessi@gmail.com"
# git global settings
git config --global --bool color.status true
git config --global --bool color.ui true
git config --global --bool log.decorate true
git config --global --bool merge.ff true
git config --global alias.br 'branch'
git config --global alias.... | guessi/sysprep | bootstrap.git.preference.sh | Shell | gpl-2.0 | 2,002 |
#!/bin/bash
#Script to automate the installation and mounting of Google Drive in a Debian based linux installation.
autofile="/usr/bin/gdfuse"
afname="gdfuse"
echo "Desired Mount point? Ensure this doesn't already exist."
read mount
sudo mkdir -p "$mount" > /dev/null
echo "Enter desired owner for mount point"
read u... | rcanderson23/gdrive-mount-debian | googledrive.sh | Shell | gpl-2.0 | 1,568 |
#!/bin/sh
## Download and install Asio as an override for compiling Widelands.
## Note that this hasn't been tested on all distributions.
## Patches welcome ;)
ASIO_VER=1.20.0
TESTED_MD5=bdd3e37404dc19eb8f71d67df568a060
URL="https://downloads.sourceforge.net/project/asio/asio/${ASIO_VER}%20%28Stable%29/asio-${ASIO_V... | widelands/widelands | utils/download_asio.sh | Shell | gpl-2.0 | 4,111 |
#!/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 tool chain https://github.com/igo... | nfedera/igorpecovnik-lib | fel-load.sh | Shell | gpl-2.0 | 3,372 |
#!/bin/bash
# Author: Jesper Dangaard Brouer <brouer@redhat.com>
# License: GPL
#
# Installs/copies the kerne binaries directly on localhost
#
export VER=`cat include/config/kernel.release`
echo $VER
if [ -z "$VER" ]; then
echo "ERROR: Cannot detect version"
exit 2
fi
# Trick so, program can be run as normal... | netoptimizer/prototype-kernel | scripts/kernel_local_install.sh | Shell | gpl-2.0 | 1,508 |
#!/bin/bash
SELF=`dirname ${BASH_SOURCE}`
. ${SELF}/../common.sh
CURRENT_OUTPUTS[0]="output/evidence/annotated.gd"
EXPECTED_OUTPUTS[0]="expected.gd"
TESTCMD="\
${BRESEQ} \
-o ${SELF} \
-c ${DATADIR}/lambda/lambda-contig.gbk \
${DATADIR}/lambda/lambda_mixed_population.fastq \
"
do_tes... | tectronics/breseq | tests/lambda_contig_ref/testcmd.sh | Shell | gpl-2.0 | 333 |
#!/bin/bash -eux
echo Start installing pyenv
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
echo Installation of pyenv finished!
git clone https://github.com/yyuu/pyenv-virtualenvwrapper.git ~/.pyenv/plugins/pyenv-virtualenvwrapper
declare -a versions=(
2.7.9
... | storax/vagrantdevenv | pyenv.sh | Shell | gpl-2.0 | 842 |
#!/bin/zsh
clear
echo -e "
\e[1;37m
____ __ _ __
/ __ \___ ________ ____ _ ______ / / __(_)___ ___ ___ ____ / /_____
/... | malukenho/pgae | slides/ciclo.sh | Shell | gpl-2.0 | 2,251 |
#!/usr/bin/env ksh
#******************************************************************************
# @(#) include_os.sh
#******************************************************************************
# @(#) Copyright (C) 2017 by KUDOS BVBA (info@kudos.be). All rights reserved.
#
# This program is a free software; you ... | patvdv/check_health | opt/hc/lib/core/include_os.sh | Shell | gpl-3.0 | 13,810 |
#!/usr/bin/env bash
cat in.txt | ../../pipes/validator.py > output.txt 2> errors.log
DIFF_OUTPUT_FILES=`diff expected_output.txt output.txt`
if [ -z "$DIFF_OUTPUT_FILES" ]; then
echo "VALIDATOR OK"
else
echo "VALIDATOR FAIL"
fi
| JonatanEnes/metrics-to-time-series | tests/3.validator/test.sh | Shell | gpl-3.0 | 235 |
if [ "${BASH_SOURCE%/*}" = ${BASH_SOURCE} ] || [ "${BASH_SOURCE%/*}" = "." ] ; then
source "./lib/include_all.sh"
else
source "${BASH_SOURCE%/*}"/lib/include_all.sh
fi
CALENDAR_ADAPTER_SRC="https://github.com/opengapps/all/blob/master/app/com.google.android.syncadapters.calendar/15/nodpi/2015080710.apk?raw=true"
C... | Shadow53/android-zip-builder | sync_adapters.sh | Shell | gpl-3.0 | 4,239 |
#!/bin/bash
##############################################################################
# gmbootstrap #
# #
# Copyright (C) 2016 Andreas Grapentin ... | oaken-source/gmbootstrap | src/stage_3/steps/6.17.gcc-6.2.0.sh | Shell | gpl-3.0 | 2,460 |
exit
EXIT
ls -1 && exit
ls -a || exit
pwd ; exit
| AnthonyMai14/rshell | test/exit.sh | Shell | gpl-3.0 | 53 |
# Common utility script definitions. All scripts should source this file.
# This file is part of Scripnix. Copyright 2016 Dave Rogers <info@yukondude.com>. Licensed under the GNU General Public License, version 3.
# Refer to the attached LICENSE file or see <http://www.gnu.org/licenses/> for details.
scriproot=$(wher... | yukondude/Scripnix | scripnix/conf/bin.bash | Shell | gpl-3.0 | 660 |
bypy.py -c
./sync_baidu.sh
| nelsonchung/dl_studioclassroom_radio | fix_auth.sh | Shell | gpl-3.0 | 27 |
# A shell script that simply runs its arguments and returns an exit
# code of 0.
scan-build clang -Weverything $1 2>&1 | racket parse.rkt
exit 0
| brainwane/secureapi | shim.sh | Shell | gpl-3.0 | 146 |
#!/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)
... | moneymanagerex/ios-money-manager-ex | Pods/Target Support Files/Pods-MoneyManagerEx/Pods-MoneyManagerEx-resources.sh | Shell | gpl-3.0 | 5,345 |
#!/bin/sh
# File: test-mtn2mtn-umlaut-DE.sh
# needs: test-mtn2mtn.include
#
# Test for converting from Monotone to Monotone self, with
# umlauts in file and changelog. Uses fixed locale DE and utf-8.
#
# No errors found.
. ./test-mtn2mtn.include
monotone_setup
# Create one file and 2 revisions, simple linear revisi... | lelit/tailor | test-scripts/test-mtn2mtn-umlaut-DE.sh | Shell | gpl-3.0 | 634 |
#!/bin/bash
# Compilando modelo Java
mkdir -p build
cd build
javac -d ./ ../src/javatruco/*.java
jar cfe truco.jar javatruco.JavaTruco ./javatruco/*.class
cd ..
# Compilando modelo C-POO
cd src/ctruco
gcc truco.c -o ../../build/truco
cd ../..
# Criando executável
echo "#!/bin/bash
TOEXECUTE=\$1
if [ \"\$TOEXECUTE\" = ... | kiq005/TrucoTerminal | build.sh | Shell | gpl-3.0 | 739 |
#!/bin/bash
gnuplot test_g/DoS-L=64_PP=8-3/temp/*.plot
convert -delay 10 -loop 0 test_g/DoS-L=64_PP=8-3/graphs/{1..20}.jpg animate-DoS-L=64_PP=8-3.gif
| nlare/Landau-Wang-omp | plot_test_g_graph-L=2D_64_PP=8-3.sh | Shell | gpl-3.0 | 151 |
#!/bin/bash
EXT_KEY='fesearch'
TYPO3CMS_PATH='vendor/bin/typo3cms'
apt update
# apt upgrade -y
apt install -y \
git-core \
zip \
mysql-client \
libjpeg-dev \
libpng-dev \
libxpm-dev \
libfreetype6-dev \
libxml2-dev \
imagemagick \
nano
# Install & enable MySQLi
MYSQLI_INSTALLE... | derhofbauer/fesearch | setup/setup.sh | Shell | gpl-3.0 | 2,621 |
export GP_FILETOPLOT="plot_samediff_VM2_aff_txkbps_versus_diffdiff_PM2_cpu_bytetcp-affonly-highrates-benchmark-final-metrics"
cut -d "," -f 5 bytetcp-affonly-highrates-benchmark-final-metrics_samediff_VM2 > temp1
cut -d "," -f 2 bytetcp-affonly-highrates-benchmark-final-metrics_diffdiff_PM2 > temp2
paste temp1 temp2 | ... | sujesha/phd-thesis-2015 | arescue-figures/linearity-graphs/aff/programmed.samediff_aff_txkbps_VM2_versus_diffdiff_cpu_PM2.sh | Shell | gpl-3.0 | 673 |
#!/bin/bash
#
# build_release.sh - Bill White - 11/29/18
cmake -DCMAKE_VERBOSE_MAKEFILE="OFF" -DCMAKE_BUILD_TYPE="Release" ..
make clean
make -j4
| hexhead/inbix | build/build_release.sh | Shell | gpl-3.0 | 148 |
#!/bin/bash
python RunBootstrap.py --paralog1 YBL087C --paralog2 YER117W --bootnum 58 > YBL087C_YER117W_Boot58_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YBL087C_YER117W_Boot58.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
SDL2_PV=2.0.3
SDL2_TTF_PV=2.0.12
cachedir=.cache
mkdir -p $cachedir
echo `uname`
if [[ `uname` == "Darwin" ]]; then
echo "Installation of OpenRCT2 assumes you have homebrew and use it to install packages."
echo "Check if brew is installed"
package_command="brew"
which -s brew
if [ $... | sutt0n/OpenRCT2 | install.sh | Shell | gpl-3.0 | 5,704 |
#!/bin/sh
while true
do
if python3.5 /media/erikson/BackupLinux/Documentos/UENP/4\ º\ ano/TCC/TCC-UENP-Codigos/Material/My_codes/twitter_extract_tweets.py
then
#gravo na base
while true
do
if mongodump -d baseTweetsTCC -o /home/erikson/Dropbox/backupMongo
then
break
fi
done
break
e... | eriksonJAguiar/TCC-UENP-Codigos | My_codes/coleta/coleta.sh | Shell | gpl-3.0 | 360 |
#!/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 ... | petrockblog/RetroPie-Setup | scriptmodules/ports/wolf4sdl.sh | Shell | gpl-3.0 | 2,990 |
#!/bin/sh
fix_auditd_conf max_log_file 6
| Taywee/dod-stig-scripts | linux/V-38633/fix.sh | Shell | gpl-3.0 | 42 |
# 12_shutdown_dtconfig.sh
if (( PREVIEW )) ; then
Log "Stopping CDE related processes [not done in preview]"
else
LogPrint "Stopping CDE related processes"
[[ -x /usr/dt/bin/dtconfig ]] && /usr/dt/bin/dtconfig -d >&2
[[ -x /usr/dt/bin/dtconfig ]] && /usr/dt/bin/dtconfig -kill >&2
fi
| gdha/upgrade-ux | opt/upgrade-ux/scripts/preinstall/hp/12_shutdown_dtconfig.sh | Shell | gpl-3.0 | 301 |
#!/bin/bash
set -e -f -o pipefail
source "/usr/local/etc/babun.instance"
source "$babun_tools/script.sh"
function plugin_should_install {
local plugin_name="$1"
local __result=$2
local installed="$babun/installed/$plugin_name"
if [[ -f "$installed" ]]; then
typeset -i installed_version
local installed_versi... | justathoughtor2/atomicApe | cygwin/usr/local/etc/babun/source/babun-core/tools/plugins.sh | Shell | gpl-3.0 | 3,391 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of GNUHAWK.
#
# GNUHAWK is free software: you can redistribute it and/or modify is under the
# terms of the GNU General Public License as published by the Free Sof... | RedhawkSDR/integration-gnuhawk | components/vector_insert_b/build.sh | Shell | gpl-3.0 | 1,566 |
#!/usr/bin/env bash
#abort on errors
set -e
mvn clean package -f ../
docker build -t baseubuntu ./base/base/
docker build -t kafka_base ./base/kafka/
docker build -t hadoop_base ./base/hadoop/
docker build -t mongo_base ./base/mongoDB/
docker build -t flink_base ./base/flink/
docker build -t mqtt_base ./base/mqtt/
d... | DVentas/PFM-Kschool-Flink-Docker | docker/start.sh | Shell | gpl-3.0 | 456 |
#/bin/sh
#
# purpose : create the Optware APK package file for the specified arch or all two of 'em
# version : 20131126-1
# author : Thomas Kupper, thomas.kupper@gmail.com
#
APP_NAME=$(basename $0)
APP_PATH=$(dirname $(readlink -f $0))
APKGTOOL=$APP_PATH/apkg-tools.py
# echo "app name: $APP_NAME, app path: $APP_PAT... | boretom/pyload-apkg | bin/apkg-create-package.sh | Shell | gpl-3.0 | 3,134 |
#!/bin/bash
cd /Users/holgersimon/Sites/2_extern/dhak/1_Website/3_Entwicklung/4_Sourcen/dev.historischesarchivkoeln.de/
_now=$(date +"%m_%d_%Y")
_file="/Users/holgersimon/Sites/2_extern/dhak/1_Website/3_Entwicklung/4_Sourcen/dev.historischesarchivkoeln.de/scripts/log/validation.bestand_$_now.txt"
/usr/local/php5/bin/ph... | pausanio/dhak | scripts/validation_bestand.sh | Shell | gpl-3.0 | 395 |
#!/bin/bash
echo $(whoami)
echo "Compiling..."
java -jar closure-compiler/compiler.jar --js combined.js --js_output_file 'combined-compiled.js'
echo "done."
| roberttdev/WebPlotDigitizer | compile.sh | Shell | gpl-3.0 | 157 |
#!/bin/bash
#Job time
#-l h_rt=96:00:00
#Request resources
#-l rmem=12G
#Cores
#$ -pe openmp 8
#Job Name
#-N MAYO_TCX
module load apps/R/3.3.1
module load compilers/gcc/6.2
R CMD BATCH --no-save --no-restore /shared/hidelab2/user/md4zsa/Work/Amberkar_Scripts/mayo_reseq_TCX_DCN_analysis.R | hidelab/Amberkar_Scripts | mayo_reseq_TCX_DCN_analysis.sh | Shell | gpl-3.0 | 297 |
#!/bin/bash
while true
do
LINE=`python main.py`
LLINE=`tail -n1 "$1"`
if [ "$LINE" != "$LLINE" ]
then
echo "$LINE" >> "$1"
fi
sleep 1800
done
| brunogola/transitoagora-bot | src/run30.sh | Shell | gpl-3.0 | 151 |
#!/bin/bash
set -e
CASE=.
blockMesh -case $CASE
rm -rf {0,10000}
mkdir -p {0,10000}
setVelocityField -case $CASE
setScalarOverOrography -case $CASE -time 0,10000
mv 10000/T 10000/T_analytic
| AtmosFOAM/AtmosFOAM | run/JamesAdvectionTesting/terrainFollowingNoOrographyCubicUpwindCPCFitAdvection/initialise.sh | Shell | gpl-3.0 | 192 |
SCRIPT="/home/travis/build/kicad-library-utils/pcb/check_kicad_mod.py"
echo "Commit range checked: $TRAVIS_COMMIT_RANGE"
error=0
for change in $(git diff --name-only --diff-filter=AMR $TRAVIS_COMMIT_RANGE); do
if [[ $change == *"fp-lib-table" ]]; then
continue
fi
echo "Checking: $change"
pytho... | KiCad/kicad-library-utils | pcb/travis/check_all.sh | Shell | gpl-3.0 | 393 |
#!/bin/sh
#npm run ionic:build –-prod
ionic build --prod
cordova-hcp build
sudo qshell -d qupload 10 qshell_upload.conf
#scp -r www/* root@115.29.163.138:/var/www/web/public/www/
| growu/drip-ionic3 | copy_www.sh | Shell | gpl-3.0 | 182 |
#!/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_1_workflow_full_10files_secondary_w1_3sh_3rs_with_annot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161108T204604+0000/00/00/taskevent_2_ID0000008.sh | Shell | gpl-3.0 | 1,237 |
# 17_check_ipnodes.sh
# To support IPv6 the gethostbyname API was replaced by the getaddrinfo API.
# On some platforms, the name services switch database that determines gethostbyname
# behavior (hosts) is different from that of getaddrinfo (ipnodes).
# On HP-UX modify /etc/nsswitch.conf so it now has both the followin... | gdha/criux | opt/criux/scripts/serviceguard/hp/17_check_ipnodes.sh | Shell | gpl-3.0 | 693 |
#!/bin/bash
### Copyright (c) 2010 Remy van Elst
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publis... | kernt/linuxtools | ssh/SSHDialog.sh | Shell | gpl-3.0 | 3,459 |
#!/bin/sh
[ -f ars.tar ] || ./mktar.sh
if [ "$1" ]; then
target=$1
else
target=.
fi
shift
tar xf ars.tar -C "$target"
if [ "$1" ]; then
device=$1
else
device=/dev/sda
fi
mount --bind /dev "$target/dev"
chroot $target grub-install $device
chroot $target update-grub2
umount "$target/dev" || exit 1
exit 0
| israellevin/kalisher | install.sh | Shell | gpl-3.0 | 320 |
#!/usr/bin/env bash
# Install Oracle Java 7 jdk
sudo apt-get install -y python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y oracle-java7-installer
| maxc0c0s/scripts | installation/install_oracle_java7_jdk_ubuntu.sh | Shell | gpl-3.0 | 212 |
#!/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) 2017, Joyent, Inc.
#
export PS4='[\D{%... | joyent/moray | boot/setup.sh | Shell | mpl-2.0 | 9,373 |
echo "cleaning up apt"
apt-get -y autoremove
apt-get -y clean
echo "cleaning up guest additions"
rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.?
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
echo "cleaning up udev rules"
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persisten... | gokuale/joomla-vagrant | packer/scripts/cleanup.sh | Shell | mpl-2.0 | 462 |
#!/bin/sh
# This file is part of agora-mixnet.
# Copyright (C) 2015-2016 Agora Voting SL <agora@agoravoting.com>
# agora-mixnet is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the... | agoravoting/agora-mixnet | src/main/shell/auth2.sh | Shell | agpl-3.0 | 1,619 |
#!/bin/sh -e
import/stringdb-import.py
import/imageobject-import.py
import/refine-import.py
import/armordb-import.py
import/weapondb-import.py
import/suitdb-import.py
import/item-import.py
import/treasure-import.py
import/npc-import.py
import/runeobject-import.py
import/titleobject-import.py
import/addpowerobject-impor... | zhmu/romdb | scripts/refresh.sh | Shell | agpl-3.0 | 452 |
#!/bin/bash
cd "`dirname "$0"`"
chown root:sibtek -R .
chmod o-rwx -R .
chmod g-w -R .
chmod g+w -R ./files/
| unclechu/sibtek-site | set-production-privileges.sh | Shell | agpl-3.0 | 110 |
#!/usr/bin/env bash
# ###################################
# NOTE: NEVER RUN THIS ON PRODUCTION!!
# ###################################
echo -e "Note: never run this on production!"
# get rid of old stuff
sudo docker-compose down
rm meow/frontend/bundles/* -f
rm -f celerybeat.pid
REDIS_POSTGRES="REDIS_URL=redis://... | daily-bruin/meow | sudo_init_script.sh | Shell | agpl-3.0 | 2,039 |
#!/bin/bash
set -e
set +h
function postinstall()
{
if ! grep nogroup /etc/group &> /dev/null; then
groupadd -g 99 nogroup &&
useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
-s /bin/false -u 99 nobody
fi
}
preinstall()
{
echo "#"
}
$1
| FluidIdeas/parsers | blfs-resources/extrascripts/nfs-utils-appconfig.sh | Shell | lgpl-2.1 | 258 |
#! /bin/sh
#
# Jama is a matrix library for Java
#
# compile and run Jama test
javac -cp Jama-1.0.2.jar MagicSquareExample.java
java -cp Jama-1.0.2.jar Jama/examples/MagicSquareExample
| OpenDA-Association/OpenDA | core/java/resources/jama/test.sh | Shell | lgpl-3.0 | 188 |
#!/bin/sh
# Script to build a MacOS pkg
#
# Version: 20201121
set -e
make install DESTDIR=${PWD}/osx-pkg
mkdir -p ${PWD}/osx-pkg/usr/share/doc/libfsrefs
cp AUTHORS COPYING COPYING.LESSER NEWS README ${PWD}/osx-pkg/usr/share/doc/libfsrefs
VERSION=`sed '5!d; s/^ \[//;s/\],$//' configure.ac`
pkgbuild --root osx-pkg --i... | libyal/libfsrefs | tests/pkgbuild.sh | Shell | lgpl-3.0 | 432 |
#!/bin/sh
pgbouncer pgbouncer.ini 2> pgbouncer.log &
| rjawor/concordia-server | db/startPGbouncer.sh | Shell | lgpl-3.0 | 54 |
#!/bin/bash
# With an uncomfortable tie-in, it does several things:
# 1. creates the final directory structure.
# 2. restructures the flatly structured ladder files into a language-pair based structure.
# 3. gets rid of the unreliable quality values in the ladder files. (cut -f1,2)
# 4. makes the final filenames as si... | danielvarga/hunalign | scripts/DCEP/flatladdertolangpair.sh | Shell | lgpl-3.0 | 811 |
# Install previously:
# sudo apt-get install libgtk2.0-dev libsdl1.2-dev libsdl2-dev libwxbase3.0-dev
# Install SVN first:
sudo apt install -y subversion
# Download Bochs:
mkdir bochs
cd bochs
svn checkout svn://svn.code.sf.net/p/bochs/code/trunk/bochs bochs-code
mkdir bochs-build
mkdir bochs-install
# Bochs depende... | joao-jeronimo/BoleroOS | support/build-deps.sh | Shell | unlicense | 815 |
#!/usr/bin/env bash
DIRNAME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
LH_ROOT="$DIRNAME/../../.."
cd $LH_ROOT
set -euxo pipefail
# Setup a pristine git environment
cd ../lighthouse-pristine
if [[ -z "$(git status --porcelain)" ]]; then
echo "Pristine repo already clean!"
exit 0
fi
git clean -fx
| deepanjanroy/lighthouse | lighthouse-core/scripts/release/clean-pristine.sh | Shell | apache-2.0 | 315 |
#! /bin/bash
if [[ ${1} == "--clean" ]] ; then
clean=1
fi
# A small utility to build fixture servers
testcases="fixture-1400.json"
for testcase in ${testcases} ; do
target=gen-${testcase%.json}
spec=./${testcase}
serverName="nrcodegen"
rm -rf ${target}
mkdir ${target}
swagger generate serve... | go-swagger/go-swagger | fixtures/bugs/1400/gen-fixtures.sh | Shell | apache-2.0 | 1,022 |
#!/bin/bash
docker build -t="gschmutz/storm-base:0.9.5" storm-base
docker build -t="gschmutz/storm:0.9.5" storm
docker build -t="gschmutz/storm-nimbus:0.9.5" storm-nimbus
docker build -t="gschmutz/storm-supervisor:0.9.5" storm-supervisor
docker build -t="gschmutz/storm-ui:0.9.5" storm-ui
| gschmutz/docker-storm | rebuild.sh | Shell | apache-2.0 | 290 |
#!/bin/bash
cat d-info-header > debug-info.cfg
export_started1=false
export_started2=false
while read line
do
if [ "$line" == "Exports list by name:" ] ; then
export_started1=true
continue
fi
if [ "$line" == "Exports list by value:" ] ; then
export_started2=true
continue
... | astoria-d/super-duper-nes | duper_rom/disasm-rom.sh | Shell | apache-2.0 | 1,395 |
#!/bin/bash
#
errorArtHome() {
echo
echo -e "\033[31m** ERROR: $1\033[0m"
echo
exit 1
}
checkRoot() {
curUser=
if [ -x "/usr/xpg4/bin/id" ]
then
curUser=`/usr/xpg4/bin/id -nu`
else
curUser=`id -nu`
fi
if [ "$curUser" != "root" ]
then
errorArtHome "On... | alancnet/artifactory | distribution/standalone/src/main/install/bin/installService.sh | Shell | apache-2.0 | 7,898 |
#!/bin/sh
LOG_FILE=/root/authorized_key.log
log() {
echo "$(date '+%b %d %H:%M:%S') $1" >> $LOG_FILE
}
LDAP_SERVER=ldap://172.29.191.100
LDAP_ADMIN='cn=admin,dc=portal,dc=example,dc=org'
USER_DN='mail=venekamp@gmail.com,ou=people,dc=portal,dc=example,dc=org'
log $LDAP_SERVER
log $LDAP_ADMIN
log $USER_DN
ldapse... | venekamp/nowfap-portal | roles/sshd/files/get-authorized-keys.sh | Shell | apache-2.0 | 464 |
#!/bin/sh
# disable X11 because vagrants are (usually) headless
echo 'WITHOUT_X11="YES"' >> /etc/make.conf
pkg install -y virtualbox-ose-additions
echo 'vboxdrv_load="YES"' >> /boot/loader.conf
echo 'vboxnet_enable="YES"' >> /etc/rc.conf
echo 'vboxguest_enable="YES"' >> /etc/rc.conf
echo 'vboxservice_enable="YES"' >... | opskeleton/packer-bsd | scripts/pcbsd/vmtools.sh | Shell | apache-2.0 | 740 |
#!/bin/bash
echo "Adding OIDC to Adapter backend service list"
# docker-compose oidc.yml
# docker cp /abs/path/to/conf/fileordir adapter-externals:/abs/path/to/nginx/services/
docker kill --signal="HUP" adapter
| learning-layers/Layers-Dockerfiles | openidconnect-nginx/addservice.sh | Shell | apache-2.0 | 213 |
#!/usr/bin/env bash
set -o errexit # Abort script at first error (command exits non-zero).
root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
reset=$(tput sgr0)
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
if [[ -z $1 ]] ; then
>&2 echo "Missing argument!"
echo "Usage:"
echo " relea... | magneticio/vamp-docker-images | release-push.sh | Shell | apache-2.0 | 3,006 |
#!/bin/bash
set -x
env
RABBIT_HOST=${RABBIT_HOST:-localhost}
MYSQL_HOST=${MYSQL_HOST:-localhost}
NOVA_HOST=${NOVA_HOST:-openstack}
GLANCE_HOST=${GLANCE_HOST:-openstack}
KEYSTONE_HOST=${KEYSTONE_HOST:-openstack}
HEAT_HOST=${HEAT_HOST:-openstack}
CFN_HOST=${CFN_HOST:-openstack}
CINDER_HOST=${CINDER_HOST:-openstack}
NEUT... | ajayhn/openstack-controller-docker | docker-files/kilo/controller/entrypoint.sh | Shell | apache-2.0 | 6,785 |
#/bin/bash
mkdir -p label
#get node ip
function get_node_ip() {
rm -rf /tmp/{ip,node}
kubectl get node|grep -v NAME|grep -v master|awk '{print $1}' > /tmp/node
for node in `kubectl get node|grep -v NAME|grep -v master|awk '{print $1}'`;do
kubectl get node ${node} -o yaml|grep "\- address"|head -n 1|c... | dengxiangyu768/dengxytools | kubernetes/migration_label.sh | Shell | apache-2.0 | 1,135 |
#!/bin/bash
while true; do
inotifywait -r --exclude ".*swp" -e modify src tests
cargo test
done
| xea/rust-jvmti | testwatch.sh | Shell | apache-2.0 | 99 |
#! /bin/sh
#
# watcher.sh
# Copyright (C) 2016 rharriso <rharriso@lappy>
#
# Distributed under terms of the MIT license.
#
while true; do
change=$(inotifywait -e close_write **/*.d)
change=${change#./ * }
clear
dub test
dub --config=bench --build=release --compiler=ldc2
done
| rharriso/PorterStemmer | watcher.sh | Shell | apache-2.0 | 288 |
#!/bin/bash
cd `dirname $0`
. _project.sh
FIRST_ARG=$1
if [ "$FIRST_ARG" = "clean" ];then
echo "...Cleaning existing resources"
rm ./output/doc/syncworld-sync-check-result.html
fi
export answer=y
export DBFLUTE_ENVIRONMENT_TYPE=diffready
. manage.sh replace-schema
rm ./dfprop/syncworld/syncworlddb.mv.db
cp .... | dbflute-test/dbflute-test-active-hangar | dbflute_maihamadb/syncworld-test.sh | Shell | apache-2.0 | 520 |
#!/bin/bash
# Script to create latest swagger spec.
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/util.sh"
os::log::install_errexit
function cleanup()
{
out=$?
pkill -P $$
rm -rf "${TEMP_DIR}"
if [ $out -ne 0 ]; then
echo "[FAI... | cgwalters/origin | hack/update-swagger-spec.sh | Shell | apache-2.0 | 1,512 |
images="quay.io/karmab/curl:latest quay.io/karmab/origin-coredns:latest quay.io/karmab/haproxy:latest quay.io/karmab/origin-keepalived-ipfailover:latest quay.io/karmab/mdns-publisher:latest quay.io/karmab/kubectl:latest {{ 'quay.io/karmab/kcli:latest' if async else '' }}"
for image in $images ; do
/root/bin/sync_imag... | karmab/kcli | kvirt/openshift/disconnected/scripts/04_extras.sh | Shell | apache-2.0 | 337 |
#!/bin/bash
#
# Copyright (c) 2016, PLUMgrid Inc, http://plumgrid.com
#
# 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... | plumgrid/plumgrid-ansible | plumgrid_playbooks/roles/plumgrid_maas/files/directors/check_pg_sm.sh | Shell | apache-2.0 | 1,122 |
#!/usr/bin/env bash
#############################################################
# A script to create a mock up of a multi versioned site
# using multiple copies of the current site code.
# For each version it copies the source, edits the config
# so that the version details are correct then builds the
# site fo... | gchq/stroom-docs | create_mock_combined_site.sh | Shell | apache-2.0 | 4,728 |
#!/bin/sh
# Version up script.
#
# Usage:
# $ ./versionup.sh {RELEASE_VERSION}
#
# Example:
# $ ./versionup.sh 0.4.1
#
# Prior to run this script, be sure to create release branch.
# $ git flow release start $VERSION
VERSION=$1
if [ -z "$VERSION" ]
then
echo "No version was given."
exit 1
fi
# XXX: Check ve... | skitazaki/python-clitool | versionup.sh | Shell | apache-2.0 | 755 |
#!/bin/bash
# Copyright 2014 The Kubernetes 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 require... | hyperhq/hypernetes | hack/test-cmd.sh | Shell | apache-2.0 | 117,527 |
#!/bin/bash
module load global/cluster
module load python/ana
source activate mpi2
module load openmpi/1.6.5
#module load cuda/4.2.9
#export LD_LIBRARY_PATH=/dls_sw/prod/tools/RHEL6-x86_64/openmpi/1-6-5/prefix/lib:$LD_LIBRARY_PATH
echo "Start Check Output"
which mpicc
which mpirun
echo $LD_LIBRARY_PATH
which python
ec... | mjn19172/Savu | mpi/dls/framework_file_test_mpijob.sh | Shell | apache-2.0 | 1,252 |
# -----------------------------------------------------------------------------
#
# Package : google.golang.org/protobuf
# Version : v1.27.1, v1.23.0
# Source repo : https://github.com/protocolbuffers/protobuf-go
# Tested on : UBI 8.5
# Language : GO
# Travis-Check : True
# Script License: Apache License, Version... | ppc64le/build-scripts | p/protobuf-go/protobuf-go_ubi_8.5.sh | Shell | apache-2.0 | 2,250 |
bin=`dirname "$0"`
bin=`cd "$bin"; pwd`
cd $bin;
rm -rf source;
rm -rf input;
mkdir source;
cd source
wget "http://plvr.land.moi.gov.tw//Download?type=zip&fileName=lvr_landcsv.zip" -O lvr_landcsv.zip
unzip lvr_landcsv.zip
mkdir ../input;
for i in $(ls ./*.CSV ) ;do iconv -c -f big5 -t utf8 $i -o $i".utf8";done
mv *.... | waue0920/hadoop_example | hive/ex2/get_taiwan_landprice_2016.sh | Shell | apache-2.0 | 413 |
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the script phase was successful).
exit 0
fi
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_P... | lemberg/connfa-ios | Pods/Target Support Files/Pods-Connfa/Pods-Connfa-frameworks.sh | Shell | apache-2.0 | 8,719 |
#! /usr/bin/env bash
REMOTE_JAR="${1?$0 JAR_LOCATION}"
LOCAL_JAR=$(basename ${REMOTE_JAR})
declare -a on_exit_items
function on_exit() {
for i in "${on_exit_items[@]}"; do
eval ${i}
done
}
function add_on_exit() {
local n=${#on_exit_items[*]}
on_exit_items[$n]="$*"
if [[ ${n} -eq 0 ]]; then
trap o... | hoangelos/hyperion | scripts/activities/run-jar.sh | Shell | apache-2.0 | 741 |
#!/bin/bash -x
# Copyright 2015 Crunchy Data Solutions, 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 applicable la... | CrunchyData/crunchy-postgresql-manager | images/cpm-pgpool/sbin/stop-pgpool.sh | Shell | apache-2.0 | 738 |
#!/bin/bash
# 安装nodejs
cd /data/node_offline_setup/
cd node/
cp -r ./lib/node_modules/ /usr/local/lib/ # copy the node modules folder to the /lib/ folder
cp -r ./include/node /usr/local/include/ # copy the /include/node folder to /usr/local/include folder
mkdir -p /usr/local/man/man1 # create the man folder
cp ./shar... | chenjiesuper/node_offline_setup | scripts/install_node.sh | Shell | apache-2.0 | 550 |
#!/bin/bash -e
cd $(dirname $0)
fly -t flintstone login -c https://ci.flintstone.cf.cloud.ibm.com -u admin -p $(lpass show "Shared-Flintstone/Flintstone Concourse" --password)
fly -t flintstone set-pipeline -p docker-images -c pipeline.yml -l <(lpass show "Shared-Flintstone"/ci-config --notes)
fly -t flintstone expo... | cloudfoundry-incubator/bits-service-ci | docker/set-pipeline.sh | Shell | apache-2.0 | 357 |
OVERPASS_INTERPRETER=https://overpass.openstreetmap.fr/api/interpreter
STORAGE=/home/osm_mosques/osmdata
| osmmosques/osm-mosques-scripts | root/home/osm_mosques/bin/settings.sh | Shell | apache-2.0 | 106 |
#!/bin/sh
set -e
echo "-# To copy only the pressure levels from a file\\n"
echo "\verbatim"
echo "> grib_copy -w levtype=pl ../data/tigge_pf_ecmwf.grib2 out.grib"
echo "\endverbatim\\n"
echo "-# To copy only the fields that are not on pressure levels from a file\\n"
echo "\verbatim"
echo "> grib_copy -w levtype!=pl .... | 0x1mason/GribApi.XP | grib_api/tools/grib_copy.sh | Shell | apache-2.0 | 1,671 |
#!/usr/bin/env bash
#export LC_ALL=en_US.UTF-8
#export LANG=en_US.UTF-8
aws ec2 describe-instances --query 'Reservations[].Instances[].[PublicIpAddress,PrivateIpAddress]' --region=us-west-1 --output table
----------------------------------
| DescribeInstances |
+--------------+-----------------+
| 54.6... | albertlinde/Legion | applications/gdrive_tests/scripts/describe_ec2.sh | Shell | apache-2.0 | 2,162 |
#! /bin/sh -e
./q-lint.sh
./q-react.sh
./q-main.sh
./q-index.sh
| bttl/web | build.sh | Shell | apache-2.0 | 66 |
#!/bin/sh
while true; do curl http://demo.$OPENSHIFT_IP.nip.io/api/hello; echo; sleep 1; done
| redhat-developer-demos/the-deploy-master | demo-wfswarm/demo-query.sh | Shell | apache-2.0 | 95 |
#!/bin/bash
#
# rsync_rotating_restore.sh
#
# This script will restore backup created by rsync rotating
# backup script. Designed to run as a cron job at @reboot ...
#
RESTORE_SOURCE=''
RESTORE_DESTINATION=''
LOCK_FILE="/var/lock/$(basename -- "$0").lock"
function die {
logger "$(basename -- "$0") [$$]: $(date... | kwilczynski/miscellaneous | rsync_rotating_restore.sh | Shell | apache-2.0 | 1,096 |
#!/bin/bash
mkdir -p "$HOME/usr/local"
wget --no-check-certificate ftp://ftp.gnu.org/pub/gnu/emacs/emacs-25.1.tar.gz -O emacs.tar.gz
tar -xvzf emacs.tar.gz
pushd emacs-25.1
./configure --prefix="$HOME/usr/local" --with-x-toolkit=no --with-gif=no --with-tiff=no
make
make install
popd
rm emacs.tar.gz
rm -rf emacs-25.1
... | glauco/remote-pairing-server-from-scratch | install-emacs.sh | Shell | apache-2.0 | 517 |
#!/bin/bash
SCRIPT_PATH="${BASH_SOURCE[0]}";
if ([ -h "${SCRIPT_PATH}" ]) then
while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done
fi
pushd . > /dev/null
cd `dirname ${SCRIPT_PATH}` > /dev/null
SCRIPT_PATH=`pwd`;
popd > /dev/null
mono $SCRIPT_PATH/.nuget/NuGet.exe update -self
mono $SC... | amccool/helios | build.sh | Shell | apache-2.0 | 714 |
#!/bin/sh
echo "Enabling wifi on all nodes"
seq 1 21 | parallel -j 30 "./wifictl.py wifi --enable {}"
| MagnusS/wifi-testbed | src/testbed-tools/helpers/enable_wifi.sh | Shell | bsd-2-clause | 104 |
# This theme for gitprompt.sh is optimized for the "Solarized Dark" and "Solarized Light" color schemes
# tweaked for Ubuntu terminal fonts
define_git_prompt_colors() {
Time12a="\$(date +%H:%M)"
PathShort="\w"
# These are the color definitions used by gitprompt.sh
GIT_PROMPT_PREFIX="[" # start... | jessicahawkins3344/.dotfiles | git-prompt-colors.sh | Shell | bsd-2-clause | 2,912 |
#!/bin/sh
cd /home/pi/chdkptp.py
git submodule init
git submodule update
pip install .
# Make sure everything is owned by the pi user
chown -R pi /home/pi
| Tenrec-Builders/pi-scan | make/install-jail.sh | Shell | bsd-2-clause | 159 |
#!/bin/sh
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
# This shell script tests bug reported in github issue
# https://github.com/Unidata/netcdf-c/issues/1826
set -e
echo ""
echo "*** Testing data conversions when a variable has fill value but never written"
${NCGEN} -4 -b -o tmp_fillonly.... | Unidata/netcdf-c | nc_test4/test_fillonly.sh | Shell | bsd-3-clause | 386 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.