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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
set -euo pipefail
docker run -it --rm -v $(pwd):/source -v /dev/ttyUSB0:/dev/ttyUSB0 docker.cantireinnovations.com/esp-open-sdk:2 "$*"
| CanTireInnovations/blinker | do-d.sh | Shell | mit | 157 |
#!/usr/bin/env bash
echo "Install supplied collection data in an annalist site."
echo "(Assumes Python virtualenv is activated with Annalist installed.)"
echo ""
rm -rf $(annalist-manager sitedirectory --personal)/c/Resource_defs
annalist-manager installcoll Resource_defs
rm -rf $(annalist-manager sitedirectory --pe... | gklyne/annalist | src/install_collection_data.sh | Shell | mit | 869 |
#!/bin/bash
about(){
echo "gen_gulp_input.sh v1.0 8/28/2010 Jeff Doak jwd686@u.northwestern.edu
This program reads in a gulp output file from standard input and writes a gulp
or vasp formatted input file to standard output.
Command-Line Arguments:
-h | --help : Prints this document.
-v | --vasp : Create a vasp-fo... | jeffwdoak/vasp_scripts | vasp_scripts/gen_gulp_input.sh | Shell | mit | 3,073 |
#!/bin/bash
##
# Copyright 2011-2012 Jeroen Doggen (jeroendoggen@gmail.com)
#
# Script to convert png/jpg bitmap images to pdf vector images (+upscaling)
# - Usage: place images in 'images' folder, pdf version of images will be created in 'pdf' folder
# - Depends on: tree, convert, potrace, epstopdf
##
# This pro... | jeroendoggen/scripts-tools-misc | vectorImageConverter/converter.sh | Shell | mit | 3,830 |
#!/bin/sh
## create a new database, will prompt for password
psql -U postgres -h localhost -p 5432 -d postgres -c "create database bazaar_v6 with owner postgres encoding 'utf8';"
## create role bazaar
psql -U postgres -h localhost -p 5432 -d postgres -c "create role bazaar with login password 'b4z44r'"
## fill the ... | mtorromeo/rustorm | scripts/setup.sh | Shell | mit | 634 |
#!/bin/sh
#-------------------------------------------------------------------------------
# Name: common.sh
# Purpose: Common scripting functions used by all scripts
# Website: http://ronaldbradford.com
# Author: Ronald Bradford http://ronaldbradford.com
#------------------------------------------------------... | ronaldbradford/mysql | scripts/common.sh | Shell | mit | 15,706 |
#!/bin/bash -eux
#===============================================================================
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh
#===============================================================================
readonly VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
function... | jrbing/ps-packer | scripts/oel/virtualbox.sh | Shell | mit | 1,195 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/MAIN_BOARD_BIG_ROBOT_32.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=MAIN_BOARD_BIG_ROBOT_32.X... | svanacker/cen-electronic | main/mainBoardBigRobot/MAIN_BOARD_BIG_ROBOT_32.X/nbproject/Package-default.bash | Shell | mit | 1,449 |
#!/bin/bash -e
################################################################################
## File: validate-disk-space.sh
## Desc: Validate free disk space
################################################################################
availableSpaceMB=$(df / -hm | sed 1d | awk '{ print $4}')
minimumFreeSpa... | mattgwagner/New-Machine | .github-actions/images/linux/scripts/installers/validate-disk-space.sh | Shell | mit | 647 |
#!/bin/bash
# Copyright 2012 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This script rebuilds the time zone files using files
# downloaded from the ICANN/IANA distribution.
# Consult http://www.iana.org/time-zones for the ... | christopher-henderson/Go | lib/time/update.bash | Shell | mit | 1,366 |
#!/bin/bash
sass --watch app/theme/sass/_site.scss:app/theme/css/jingle-styles.css | idxos/jingle-jumble-app | sass-start.sh | Shell | mit | 82 |
#!/bin/bash
# Download DASH modified Azure Storage lib
newJar="dash-azure-storage-2.2.0.jar"
newJarLocation="/tmp/"
wget --no-check-certificate -O $newJarLocation$newJar https://www.dash-update.net/client/latest/StorageSDK2.0/$newJar
# Pull down all the shared cache tarballs so that we can replace the Azure Storage j... | MicrosoftDX/Dash | Deployment/HDInsight/Linux/dash-linux-fixup-cache-files.sh | Shell | mit | 940 |
#!/bin/bash
# mikrotik-backup script
# author tenhi (adm@tenhi.dev)
# Default variables ( may be overrided in custom config )
#### Connection ####################################
IDL="5s" # Default idle time
#### Backup variables ##############################
BKP_BINPWD... | tenhishadow/mbkp | mbkp.sh | Shell | mit | 6,323 |
services=$(networksetup -listnetworkserviceorder | grep 'Hardware Port')
while read line; do
sname=$(echo $line | awk -F "(, )|(: )|[)]" '{print $2}')
sdev=$(echo $line | awk -F "(, )|(: )|[)]" '{print $4}')
# echo "Current service: $sname, $sdev, $currentservice"
if [ -n "$sdev" ]; then
ifco... | mikalcallahan/.dotfiles | ubersicht/bar.widget/scripts/wifi.sh | Shell | mit | 676 |
#!/bin/bash -e
apt-get install -y --force-yes lsb-release sudo
dist=`lsb_release -is`
code=`lsb_release -cs`
cpu=`getconf LONG_BIT`
cpuvalue=
#enable apt.sourcefabric.org source
set +e
grep -E "deb http://apt.sourcefabric.org $code main" /etc/apt/sources.list
returncode=$?
set -e
if [ "$returncode" -ne "0" ]; then
... | dz0ny/liquidsoap-docker | compile.sh | Shell | mit | 3,865 |
#!/bin/bash
# This script can be run to prompt for bluetooth devices to connect to
# show this prompt with colour
if [ $1 = "connect" ]; then
# blue if connecting
TEXT_COLOUR="#33B5E1"
else
# otherwise red
TEXT_COLOUR="#EF5253"
fi
theme="element selected.normal { text-color: $TEXT_COLOUR; }"
select=$(... | jradtilbrook/dotfiles | files/home/local/bin/bluetooth.sh | Shell | mit | 620 |
#!/bin/bash
set -e
desc="Convert back to fastq (lung)"
echo "+++++++++++++++++++++++++++++++++++++++++++"
echo "$desc"
echo "-------------------------------------------"
for i in {326,341,346,353}
do
echo "+++++++++++++++++++++++++++++++++++++++++++"
echo "Now $i"
echo "-------------------------------------------"
b... | SilicoSciences/seminar-bioinformatics-rna-seq | scripts/to-fastq-lung.sh | Shell | cc0-1.0 | 495 |
#!/bin/bash
set -e
tophatOut=tophat_out*
function f_doIt {
echo "dollarOne: ${1}"
for f in ${1}/$tophatOut/accepted_hits.bam
do
echo "f: ${f}"
echo "+++++++++++++++++++++++++++++++++++++++++++"
echo "Cleaning $1/$tophatOut/"
echo "-------------------------------------------"
if [[ -f $f ]]; then
echo "hieroglyph: ${f... | SilicoSciences/seminar-bioinformatics-rna-seq | scripts/cleanup-tophat.sh | Shell | cc0-1.0 | 487 |
#!/usr/bin/perl
# 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 Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This pro... | chidelmun/server | scripts/mysqlaccess.sh | Shell | gpl-2.0 | 111,618 |
#!/bin/sh
#host=192.168.1.123
#kvmurl="qemu+ssh://$host/system"
host=localhost
kvmurl="qemu:///system"
display=$(virsh -c $kvmurl domdisplay $1)
# echo $display ; exit
case $display in
vnc*)
vncviewer $(echo $display | sed -e 's,vnc://,,g') &
;;
spice*)
spicec $(echo $display | sed -e s/localhost/$ho... | TimJDFletcher/personal-scripts | KVM/vmdisplay.sh | Shell | gpl-2.0 | 442 |
#!/bin/sh
DOCKER_IS_AVAILABLE="$(docker -v 2>&1 >/dev/null)"
if [[ ${DOCKER_IS_AVAILABLE} == '' ]]; then
echo -e "${bakgrn}[installed][Docker]${txtrst} already installed ;)" ;
else
echo -e "${bakcyn}[Docker] Start Install ${txtrst}";
# wget -qO- https://get.docker.com/ | sh;
# service docker start ;
# usermo... | rtancman/dotfiles | sh/fedora/scripts/docker.sh | Shell | gpl-2.0 | 784 |
#!/bin/sh -e
# Checks for the Apache user being in cachegrp
# Without this Apache can't see Trak web content
. ./functions.sh
check_SLES() {
APACHEUSER=wwwrun
check_LinuxGen
return $?
}
check_RHEL() {
APACHEUSER=apache
check_LinuxGen
return $?
}
check_LinuxGen() {
apachegroups=`groups $APACHEUSER | cut -d: -f... | casep/isc_coding | trakautomation/preflightchecks.d/ApacheGroups.sh | Shell | gpl-2.0 | 786 |
#!/bin/bash
# _3v is as _3t but decreasing the --num-jesus-blocks from 100 to 50.
# I stopped it early after likelihoods were not promising:
# on iter 90, train prob was -0.1226->-0.1240, valid -0.1304->-0.1340.
# _3t is as _3s but using slightly wider context. Dumping our own egs.
# _3s is as _3r but reducing jes... | michellemorales/OpenMM | kaldi/egs/swbd/s5c/local/chain/tuning/run_tdnn_3v.sh | Shell | gpl-2.0 | 15,199 |
#!/bin/sh
echo "# Generated using generate-pro.sh" > series60-remote.pro
echo "# " >> series60-remote.pro
echo "# Created: " `date -R` >> series60-remote.pro
echo "# WARNING! All changes made in this file will be lost!" >> series60-remote.pro
echo "" >> series60-remote.pro
FILES=$(find devices/ lib/ widget/ window/ -... | ypid/series60-remote | pc/generate-pro.sh | Shell | gpl-2.0 | 767 |
#!/bin/sh
function assert_superuser {
[[ "$(id -u)" != "0" ]] && echo "You need to be 'root' dude." 1>&2 && exit 1
}
function verify_operation_admin
{
source "/home/openstack/Documentos/openstackUECE/controller-node/admin-demo/admin-openrc.sh"
cinder service-list
}
function verify_operation_demo
{
... | marcialf/openstackUECE | controller-node/13_verify_cinder_operation.sh | Shell | gpl-2.0 | 622 |
#!/usr/bin/env bash
set -e
test -d repository || (echo "This command must be ran from the features/minion directory" && exit 1)
# Inclue the bundled Maven in the $PATH
MYDIR=$(dirname "$0")
MYDIR=$(cd "$MYDIR"; pwd)
export PATH="$MYDIR/../../bin:$MYDIR/../../maven/bin:$PATH"
export CONTAINERDIR="${MYDIR}/../container... | jeffgdotorg/opennms | features/minion/runInPlace.sh | Shell | gpl-2.0 | 7,710 |
#!/bin/bash
# uses pdftk to join and rotate multiple pdf documents give as arguments.
pdftk $* cat output tmp.pdf
pdftk tmp.pdf cat 1-endeast output output.pdf
| nmoran/BoogieStuff | scripts/BoogieJoinRot.sh | Shell | gpl-2.0 | 164 |
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
##
## wdb - weather and water data storage
##
## Copyright (C) 2007 met.no
##
## Contact information:
## Norwegian Meteorological Institute
## Box 43 Blindern
## 0313 OSLO
## NORWAY
## E-mail: wdb@met.no
##
## This is free software; you ca... | metno/wdb-gribload | test/install/tearDown.in.sh | Shell | gpl-2.0 | 788 |
#!/bin/bash
PICT=$(for i in `ls /home/dwalton/lockscreenimages/`; do echo /home/dwalton/lockscreenimages/$i; done | sort -R | head -1);
#now to lock the screen.
i3lock -i $PICT -t;
| plainenough/linux_tools | lock.sh | Shell | gpl-2.0 | 183 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t3072-group-input2.sh | Shell | gpl-2.0 | 1,496 |
#!/bin/bash
# Simple Bash script for chroot from a live distribution (I used ubuntu)
# in case you need to recovery your installation.
# Copyright (c) 2013 Gabriele Baldoni gabriele.baldoni(_at_)gmail.com
if [ `id -u` -eq 0 ]; then
if [ $# -ne 2 ]; then
printf "Usage: sudo ./chroot_from_live.sh [mount folder] [de... | gabrik/recovery-chroot | chroot_from_live.sh | Shell | gpl-2.0 | 879 |
#!/bin/bash
PROG=checkip
PROGPID=$(echo $$)
source /etc/sysconfig/system-scripts.sh
#
if [ ! -d $BASEDIR/$PROG ]; then mkdir -p $BASEDIR/$PROG ; fi
if [ -f $PIDFILE ] ; then
echo -e "$PROG is Already Runnning on $HOSTNAME with $PROGPID" | mail -r $MAILRECIP -s "$MAILSUB" $MAILFROM
echo "exit 2" >$LOGFILE 2>$ERRORLOG
... | casjay/system-scripts | usr/share/system-scripts/checkip.sh | Shell | gpl-2.0 | 2,662 |
#!/bin/bash
##
## Start up script for Icinga2 on CentOS docker container
##
## Initialise any variables being called:
# Set the correct timezone for PHP
PHP_TZ=${TZ:-UTC}
PHP_TZ_CONT=`echo $PHP_TZ | awk 'BEGIN { FS="/" } { print $1 }'`
PHP_TZ_CITY=`echo $PHP_TZ | awk 'BEGIN { FS="/" } { print $2 }'`
setup=/config/.set... | jervine/docker-centos-icinga2 | start.sh | Shell | gpl-2.0 | 4,238 |
#!/bin/bash
#Build the file from an input pdf
usage() {
echo "Usage: $0 <PDF File to split>"
exit 1
}
[[ $# -eq 0 ]] && usage
pdftk $1 burst output gez.geez.exp%d.pdf
| Deepfreeze32/Ethiopic-Tesseract-Training-Scripts | build.sh | Shell | gpl-2.0 | 173 |
#!/bin/sh
VER=$(grep AC_INIT configure.ac | sed -e 's/.*,\[\(.*\)\],.*/\1/')
if ! grep -q "^$VER$" NEWS ; then
echo "Please add NEWS entry for version $VER!"
exit 1
fi
if ! grep -q "^$(date --iso-8601=date)" NEWS ; then
echo "Expect today's date in NEWS!"
exit 1
fi
make distclean
./autogen.sh
make dist
... | rdoeffinger/iec16022 | release.sh | Shell | gpl-2.0 | 486 |
#!/bin/bash
#
# normalize.sh
# Should be run from 'hisvak'
p=$(pwd)
s=$p/src/main/groovy/split.groovy
if [ ! -f $s ] ; then
echo "Cannot find $s"
echo "normalize.sh should be run from folder 'hisvak'"
exit -1
fi
d=$p/dataset
if [ ! -d $d/import ] ; then
mkdir $d/import
fi
cd $d
groovy $s HISVAK.xml HIS... | IISH/hisvak | src/main/normalize.sh | Shell | gpl-2.0 | 348 |
# ----------------------------------------------------------------------------
# Faz cálculos com horários.
# A opção -r torna o cálculo relativo à primeira data, por exemplo:
# 02:00 - 03:30 = -01:30 (sem -r) e 22:30 (com -r)
#
# Uso: zzhora [-r] hh:mm [+|- hh:mm] ...
# Ex.: zzhora 8:30 + 17:25 # preciso soma... | jgentina/funcoeszz | zz/zzhora.sh | Shell | gpl-2.0 | 6,510 |
IP=$1
MYIP=$(route get $IP | grep "interface: .*" -o | awk '{print $2;}')
ifconfig $MYIP | egrep '[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3} ' -o -m 1
| wv-tud/paparazzi | sw/tools/get_ip_from_route_osx.sh | Shell | gpl-2.0 | 179 |
#!/bin/sh
cd Application
tag=$1
if [ "$tag" == "" ]; then
echo "No tag specified"
exit
fi
agvtool next-version -all
git commit -a -m "Increment CFBundleVersion for $tag"
git tag -m "Tag for $tag" -a $tag
git push origin master
git push --tags | nesium/trazzle | tag.sh | Shell | gpl-2.0 | 246 |
#!/bin/bash
#
# Create and initialize a directory for building a fwup example.
#
# Inputs:
# $1 = the path to the configuration file (a _defconfig file)
# $2 = the build directory
#
# Output:
# An initialized build directory on success
#
set -e
#set -x
BUILDROOT_VERSION=2020.05-rc1
DEFCONFIG=$1
BUILD_DIR=$2
... | fhunleth/rpi_experiments_br | create-build.sh | Shell | gpl-2.0 | 4,290 |
# Assertion violation
rm -f defects.por.yml
cmd $PROG assert2.c -vv
test $EXITCODE = 0
grep "2 defects, 1 max-configs"
grep 'Assertion .* failed.'
test -f defects.por.yml
grep -A5 'description.*The program called abort' defects.por.yml
test "$(grep 'description' defects.por.yml | wc -l)" == 2
rm -f defects.por.yml
| cesaro/dpu | tests/regression/defects/assert2.test.sh | Shell | gpl-2.0 | 319 |
#! /bin/sh
# Copyright (C) 1999-2013 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 ... | sugarlabs/automake | t/subobj.sh | Shell | gpl-2.0 | 1,708 |
#!/bin/bash
#
# Test the command line options of the Wireshark tools
#
# $Id: suite-clopts.sh 46633 2012-12-20 14:36:06Z morriss $
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 2005 Ulf Lamping
#
# This program is free software; you can redistribute it and/or
# modify it ... | MavEtJu/wireshark-lean | test/suite-clopts.sh | Shell | gpl-2.0 | 11,070 |
#!/bin/bash
function rainColor() {
if [ "$rain" = "OCR_fail" ] ; then
red=255
green=0
blue=0
elif [ "$rain" = "Missing" ] ; then
red=255
green=128
blue=0
# Extreme - red
elif (($(echo $rain '>=' 2.56 | bc -l ))) ; then
red=255
green=$(echo 'scale=0; ( 127 - ( ' $rain ' - 2.56 ) * 100 ) / 1' | b... | rickettm/wmr89reader | colorrain.sh | Shell | gpl-2.0 | 1,655 |
#!/bin/sh
set -e
uname -a
${CC} --version
sudo apt-add-repository --yes ppa:zoogie/sdl2-snapshots
sudo apt-get update -qq -y
sudo apt-get install -qq -y libsdl2-dev
if [ "${CC}" != "clang" ]
then
sudo apt-get remove -qq -y mingw32
sudo apt-get install -qq -y mingw-w64
mkdir deps
cd deps
wget https://www.li... | michaelknigge/digger | scripts/do-test.sh | Shell | gpl-2.0 | 1,129 |
#!/bin/sh
# install_mingw32_devel.sh
#
yum -y install mingw32-gcc mingw32-gcc-c++ emacs git autoconf automake libtool mingw32-qt qt-devel
| ElvishArtisan/rivendell-install | centos7/install_mingw32_devel.sh | Shell | gpl-2.0 | 140 |
#!/bin/sh
. /etc/profile
oe_setup_addon script.moonlight
if [ ! -f "$ADDON_HOME/gamecontrollerdb.txt" ]; then
cp $ADDON_DIR/etc/gamecontrollerdb.txt $ADDON_HOME
fi
while [ 1 ]; do
if [ -f $ADDON_DIR/start_moonlight.tmp ]; then
MOONLIGHT_APP=`cat $ADDON_DIR/start_moonlight.tmp`
rm $ADDON_DIR/start_moonlight... | dead/moonlight-openelec-rpi2 | script.moonlight/bin/moonlight.sh | Shell | gpl-2.0 | 2,123 |
#!/bin/bash
# Use tradition sort
export LC_ALL=C
FP=$(cd ${0%/*} && pwd -P)
export VENDOR=$(basename $(dirname $FP))
export DEVICE=$(basename $FP)
export BOARDCONFIGVENDOR=false
export BOARD_VENDOR_PLATFORM=rhine
export TARGET_BOARD_PLATFORM=msm8974
../common/extract-files.sh $@
../common/setup-makefiles.sh
./setup... | vic3t3chn0/sony_device | rhine-common/extract-files.sh | Shell | gpl-2.0 | 334 |
#!/bin/bash
# Copyright 2012-2013 Brno University of Technology (author: Karel Vesely), Daniel Povey
# Apache 2.0.
# Create denominator lattices for MMI/MPE/sMBR training.
# Creates its output in $dir/lat.*.ark,$dir/lat.scp
# The lattices are uncompressed, we need random access for DNN training.
# Begin configuration... | StevenLOL/aicyber_semeval_2016_ivector | System_2/steps/nnet/make_denlats.sh | Shell | gpl-3.0 | 8,359 |
#!/bin/sh
ARG1="$1" # <start|networkname
ARG2="$2" # <empty> or 'force'
PACKAGE="sshpubkeys"
SCRIPT="/var/www/scripts/build_$PACKAGE.sh"
I=0
J=0
log()
{
logger -s "$0: $1"
}
filehash()
{
sed '2d' "$1" | md5sum | cut -d' ' -f1
}
list_networks()
{
local pattern1="/var/www/networks/"
local pattern2="/meshrdf/rec... | bittorf/kalua | openwrt-monitoring/build_sshpubkeys_automagic.sh | Shell | gpl-3.0 | 2,312 |
#!/bin/bash
set -eo pipefail
FILES="../include/version.hpp
../include/cpp_meta.hpp
../include/omp.hpp
../include/traits.hpp
../include/duration.hpp
../include/regex.hpp
../include/stringify.hpp
../include/assert/loc.hpp
../include/assert/assertion_failure.hpp
../include/assert/assert.hpp
../include/assert/ordering.hpp... | Jarthianur/simple-cpp-test-framework | release/build_header.sh | Shell | gpl-3.0 | 2,287 |
#!/bin/bash
# Shop System Extensions:
# - Terms of Use can be found under:
# https://github.com/wirecard/magento2-ee/blob/master/_TERMS_OF_USE
# - License can be found under:
# https://github.com/wirecard/magento2-ee/blob/master/LICENSE
set -e # Exit with nonzero exit code if anything fails
for ARGUMENT in "$@"; do
... | wirecard/magento2-ee | .bin/start-ngrok.sh | Shell | gpl-3.0 | 1,374 |
#!/bin/bash -x
docker push arthurmilliken/node-dev:latest
docker push arthurmilliken/node-dev:8
| arthurmilliken/docker-dev | node-dev/v8/docker-push.sh | Shell | gpl-3.0 | 96 |
#!/bin/bash -i
bold=$(tput bold)
normal=$(tput sgr0)
APTLSTDIR=/opt/ownsec/0.Initial/lst/apt
PIP2LSTDIR=/opt/ownsec/0.Initial/lst/pip
APPSAPTLSTDIR=/opt/ownsec/0.Initial/src/PT2/3.UsrApp_Install
WIFIAPTLSTDIR=/opt/ownsec/0.Initial/src/PT2/2.Firmware_Install/1.Wifi
echo "${bold}
____ ____ _ _______ __ __ ____ _... | alphaaurigae/ITSEC-Install-Scripts | 0.Initial/src/PT2/1.Deps_Install/1.Package-Mgr_Lists_Install.sh | Shell | gpl-3.0 | 1,789 |
#!/bin/bash
#
# Instalador desatendido para Openstack Juno sobre CENTOS7
# Reynaldo R. Martinez P.
# E-Mail: TigerLinux@Gmail.com
# Octubre del 2014
#
# Script de instalacion y preparacion de Heat
#
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
if [ -f ./configs/main-config.rc ]
then
source... | tigerlinux/openstack-juno-installer-centos7 | modules/heatinstall.sh | Shell | gpl-3.0 | 7,098 |
#!/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/20161107T080502+0000/00/00/medianmemory_0_ID0000005.sh | Shell | gpl-3.0 | 1,246 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="6"
pegasus_lite_version_patch="0"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_exit INT TERM EXIT
echo -e "\n################################ Setting up workdir ###############################... | elainenaomi/sciwonc-dataflow-examples | sbbd2016/data/google-cloud/w-03/dags/elaine.n.watanabe/pegasus/example_workflow/20160512T111106+0000/averagecpu_0_ID0000004.sh | Shell | gpl-3.0 | 1,086 |
#!/bin/sh
clear
echo "Setting up development tree in $HOME"
rm -rf $HOME/rpmbuild
rpmdev-setuptree
if [ $? -ne 0 ]; then
echo "Install the rpm development tools first!"
exit -1
fi
export TISSUESTACK_BUILD_VERSION=2.3
export IS_RELEASE=1
SPEC_FILE=tissuestack.spec
TARGET=server
IS_SUSE=`cat /etc/*-release | grep -... | NIF-au/TissueStack | BUILD_ME_LIKE_THIS_FOR_RPM.sh | Shell | gpl-3.0 | 2,589 |
#!/bin/sh
#
# Common aliases
#
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ssh="TERM=xterm ssh"
| NeoMorfeo/dotfiles | common/alias.sh | Shell | gpl-3.0 | 116 |
#!/bin/bash
IMAGE_FILES="/var/www/html/wp-content/"
CACHE_FILE="$HOME/.optimized-image-cache.sh"
# Load the Cache File or Create a New Array
if [ -f "$CACHE_FILE" ]; then
source -- "$CACHE_FILE"
else
declare -A OPTIMIZED_IMAGES
fi
# Add $1 to the Cache Array
function addToCache {
OPTIMIZED_IMAGES[$1]=1
}... | Fellowship-Of-Intentional-Community/Debian-Webserver-Playbook | playbook/roles/common/files/optimize_images.sh | Shell | gpl-3.0 | 1,189 |
#!/bin/sh
LPORT=13330
function run_payload()
{
./test_component $1 &
sleep 1
}
function test_single_bind_tcp_shell()
{
run_payload ../../bin/single_bind_tcp_shell.bin
echo "expr 1234 + 5678" | nc -4 -vv -w 5 localhost $LPORT | grep "6912"
wait
return $?
}
function test_single_reverse... | cSploit/android.MSF | external/source/osx/x86/src/test/run_tests.sh | Shell | gpl-3.0 | 3,047 |
#!/bin/bash
# copy binaries to release folder
jgit=..
jplatform=android
mkdir -p $jgit/release/$jplatform/j32/x86
mkdir -p $jgit/release/$jplatform/j32/armeabi
mkdir -p $jgit/release/$jplatform/j32/armeabi-v7a
mkdir -p $jgit/release/$jplatform/j64/x86_64
mkdir -p $jgit/release/$jplatform/j64/arm64-v8a
rm -f $jgit/rele... | PlanetAPL/j-language | android/release-android.sh | Shell | gpl-3.0 | 907 |
#! /bin/bash
pref=""
if [ $# -ge 1 ]; then
pref=$1
shift
fi
for d in chip??/*; do
if [ -d $d ]; then
cd $d
for i in ${pref}*.fits; do
imcopy $i[1] bid
\mv bid $i
done
for i in ${pref}*.fits.fz; do
j=`echo $i | sed "s/.fz//"`
if [ ! -f $j ]; then
imcopy $i[1] $j
f... | OSSOS/MOP | src/jmp/check_scripts/ExtractImage.sh | Shell | gpl-3.0 | 559 |
#! /bin/bash
./set_beagle_clock.sh
sshfs -o reconnect root@192.168.7.2:/ /media/beagle
| rvega/libbbb_pruio | scripts/run-on-computer/mount_beagle.sh | Shell | gpl-3.0 | 87 |
#!/bin/bash
# Written on 15 June 2016.
# sudo tail -n 1000 /var/log/messages | grep -c "BLOCKED"
CurMonth=`date +%b`
CurDay=`date +%d`
zero=`echo ${CurDay:0:1}`
# Filter and number the Incoming but blocked requests within today.
if [ $zero == 0 ];then
CurDay="${CurDay:1:1}"
grep 'BLOCKED' /var/log/... | mdrights/Myscripts | iptables-scripts/iptables-blocked-numbers.sh | Shell | gpl-3.0 | 451 |
#!/bin/bash
find vendor/aws/aws-sdk-php/src/ -type f -exec sed -i '' 's#use Aws\\#use ILAB_Aws\\#g' {} +
find vendor/aws/aws-sdk-php/src/ -type f -exec sed -i '' 's#namespace Aws#namespace ILAB_Aws#g' {} +
find vendor/aws/aws-sdk-php/src/ -type f -exec sed -i '' 's#"Aws\\#"ILAB_Aws\\#g' {} +
find vendor/aws/aws-sdk-ph... | jawngee/ILab-Media-Tools | prefix-aws.sh | Shell | gpl-3.0 | 478 |
#!/bin/bash
packages="update bridge-utils openvpn libssl-dev openssl easy-rsa python-pip libpq-dev python-dev libjpeg-dev libpng-dev git"
pippack="Django==1.10 django-allauth"
for package in $packages
do
echo "install packet $package"
apt-get install -y $package
done
for pack in $pippack
do
pip install "$pack"
don... | Oleh-Hrebchuk/OpenVPN-TryFalse | configure.sh | Shell | gpl-3.0 | 596 |
#!/bin/bash
# Get and compile ffmpeg
apt-get -y install git gcc make binutils
cd /usr/src
git clone git://git.videolan.org/x264
cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
make
make install
cd ..
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
apt-get -y install libmp3l... | joaquinromero/raspberry | minibian/3.install_ffmpeg.sh | Shell | gpl-3.0 | 533 |
#!/bin/bash
#
# note, uses & deletes test indices 7xx (models), and 8xx (outputs)
# to really clean all tests, remove test_07?? and test_08?? dirs, plus tiles in sim input dirs (uncomment below)
# by default, expects training data in sim 3000, and applies to 3001 and 3002 (shortened data sets)
#
BPATH=../data/
SAFEDE... | CoderDuan/mantaflow | tensorflow/example1_smoke_tiled/runTests.sh | Shell | gpl-3.0 | 2,117 |
#!/bin/sh
unzip -o stockfish_12_win_x64_avx2.zip
echo "#!/bin/sh
./stockfish_20090216_x64_avx2.exe bench 128 \$NUM_CPU_CORES 24 default depth > \$LOG_FILE 2>&1" > stockfish
chmod +x stockfish
| phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/stockfish-1.2.0/install_windows.sh | Shell | gpl-3.0 | 194 |
:
# ------------------------------------
# $APPASERVER_HOME/utility/ufw_deny.sh
# ------------------------------------
if [ "$#" -ne 1 ]
then
echo "Usage: $0 ip_address" 1>&2
exit 1
fi
sudo ufw insert 1 deny from $1
exit 0
| timhriley/appaserver | utility/ufw_deny.sh | Shell | gpl-3.0 | 228 |
#!/bin/bash
# the visual netkit plugin paths (separed by ":")
APP=`which $0`
APP_PATH=${APP/\/visualnetkit.sh/}
export VISUAL_NETKIT_PLUGINS="$APP_PATH/plugins:$HOME/.visualnetkit/plugins"
$APP_PATH/VisualNetkit
| slux83/visual-netkit | bin/visualnetkit.sh | Shell | gpl-3.0 | 215 |
#!/bin/sh
xrandr --output HDMI1 --off --output VIRTUAL1 --off --output eDP1 --mode 1366x768 --pos 0x0 --rotate normal
| luffy1012/Scripts | normal_screen.sh | Shell | gpl-3.0 | 118 |
#!/bin/bash
sudo apt-get clean
cd /var/lib/apt
sudo rm -rf lists.old
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
| Fbonazzi/Scripts | badsig.sh | Shell | gpl-3.0 | 161 |
#!/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.
#
PS4='[\D{%FT%TZ}]... | joyent/sdc-manatee | boot/configure.sh | Shell | mpl-2.0 | 2,405 |
#!/bin/bash
dir=$1
if cd $dir 2>/dev/null; then
echo "now in $dir"
else
echo "can't change to $dir"
fi
| cxsjabc/basic | bash/_basic/if3.sh | Shell | agpl-3.0 | 109 |
#!/bin/sh
DIRNAME=`dirname "$0"`
PROGNAME=`basename "$0"`
GREP="grep"
# Use the maximum available, or set MAX_FD != -1 to use that
MAX_FD="maximum"
#
# Helper to complain.
#
warn() {
echo "${PROGNAME}: $*"
}
#
# Helper to puke.
#
die() {
warn $*
exit 1
}
# OS specific support (must be 'true' or 'false'... | JiriOndrusek/wildfly-core | core-feature-pack/src/main/resources/content/bin/elytron-tool.sh | Shell | lgpl-2.1 | 1,764 |
#!/bin/bash
# Note that JHBUILD_SOURCES should be defined to contain the path to the root
# of the jhbuild sources. The script assumes that it resides in the
# tools/gen_scripts/ directory and the XML file will be placed in pango/src.
if [ -z "$JHBUILD_SOURCES" ]; then
echo -e "JHBUILD_SOURCES must contain the path... | johne53/MB3Pangomm | tools/gen_scripts/pango_generate_docs.sh | Shell | lgpl-2.1 | 661 |
#!/bin/bash
if [ ! -f main ]; then
ln -s src/main main
fi
mkdir ../../photos
if [ ! -d ../../photos ]; then
echo "Cannot make photos directory in public_html. Make it manually and give it write permissions";
fi
#Check if we can write in the photos direcly
sudo -u www-data touch ../../photos/somefile
if [ ! ... | GreatDevelopers/CivilCoding | untitled.sh | Shell | lgpl-3.0 | 596 |
email=$1
password=$2
wget --load-cookies cookie.txt --save-cookies cookie.txt --post-data='lg_login=$email&lg_pass=$password&paso1ok=Entrar' http://series.ly/scripts/login/login.php
cookieName='PHPSESSID'
while read line
do
set -- $line
echo "$6 -> $7"
if [ "PHPSESSID" == "$6" ] ; then cook... | javipolo/seriesLyks | dev/run.sh | Shell | lgpl-3.0 | 686 |
#!/bin/bash
## build system required files
PHP=`which php`
FW_HOME=`pwd`
AUTOLOAD_PATH_FW="$FW_HOME"
# create project autoload files
$PHP $FW_HOME/project/build_includes.php $AUTOLOAD_PATH_FW $FW_HOME/Loader.php "fw:autoload:application"
#generate cscope files
#root=$FW_HOME
#cd $root
#find $root/ -type f -name "*.i... | sbxjoy/framework | project/autoload_builder.sh | Shell | lgpl-3.0 | 429 |
#!/bin/bash
./diracsimplify_generate1.sh
./diracsimplify_generate2.sh
./diracsimplify_generate3.sh
./diracsimplify_generate4.sh
./diracsimplify_generate5.sh
./diracsimplify_slashes_generate1.sh
./diracsimplify_slashes_generate2.sh
./diracsimplify_slashes_generate3.sh
./diractrace_generate1.sh
./diractrace_generate2.... | FeynCalc/pyfeyncalctester | generate_tests.sh | Shell | lgpl-3.0 | 504 |
#!/bin/bash
set -x -v
set -o allexport
source env.list
set +o allexport
echo ${dbProfile0}
echo ${localgitdbcDIRPATH}
echo ${localgitsiteDIRPATH}
echo ${localgitdbcDIR}
echo "done echoing env variables in use inside docker"
## to download the source and html files of all notebook from a course module directory
## ... | lamastex/scalable-data-science | books/latest/docker-run-db.sh | Shell | unlicense | 928 |
sed -i "/\RequirePackage{fontspec}/s/^/%/" ./simpleresumecv.cls
htlatex resume.tex "xhtml, charset=utf-8" " -cunihtf -utf8"
sed -i s/$(echo -e "\\u0393")/$(echo -e "\\u2022")/ ./resume.html
sed -i '1d' ./resume.html
sed -i '1d' ./resume.html
| josephvoss/resume | build_html.sh | Shell | unlicense | 243 |
#!/usr/bin/ksh
# 21.sh
# - also bash compatible
# https://github.com/kshji
# License, read https://github.com/kshji/ksh
#
# Karjalan ATK-Awot Oy 2020, Jukka Inkeri
# 2020-04-16
#
# Modulus 10, weight 21
# https://fi.wikipedia.org/wiki/Luhnin_algoritmi
# https://en.wikipedia.org/wiki/Luhn_algorithm
#
refsrc="$1"
PRG="$... | kshji/ksh | Sh/21.sh | Shell | unlicense | 1,487 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
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}/mockexchange
O... | matsbror/MockExchange | nbproject/Package-Release.bash | Shell | apache-2.0 | 1,471 |
#!/bin/bash
#更改软件源
echo "deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib" > /etc/apt/sources.list
echo "deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib" >> /etc/apt/sources.list
echo "deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free" >> /etc/apt/sources.... | Arthur2e5/MobileConstructionVehicle | Kali/KaliLinuxShell.sh | Shell | apache-2.0 | 2,837 |
#!/bin/bash
# Script para configuracion automatica de monitores
# xrandr -q | para ver una lista de todos las opciones posibles
# cvt 1920 1080 # para agregar una nueva resolucion
# xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -HSync +VSync
# xrandr --addmode VGA1 "1920x1080"
# Pa... | aVolpe/scripts | configure_monitor.sh | Shell | apache-2.0 | 1,828 |
#!/bin/bash
#
# Copyright 2013 Cloudbase Solutions Srl
# 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
#... | cloudbase/nova-ci | jobs/run_initialize.sh | Shell | apache-2.0 | 15,347 |
#!/bin/sh
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2016 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may ... | rdkcmf/rdk-sysint | lib/rdk/rfStatisticsCheck.sh | Shell | apache-2.0 | 3,944 |
#!/bin/bash
cd $(dirname $0)
set -e
./gradlew clean build
sudo rm -rf build
mvn clean package -Dmaven.test.skip=true
sudo rm -rf target
| leandrocgsi/erudio-api-oauth2 | ci.sh | Shell | apache-2.0 | 139 |
#!/bin/bash
#
# tjx@20181122
#
realpath=$(realpath $0)
cd $(dirname $(dirname $realpath))
tar czvf /tmp/vim-vide.tgz $(basename $(dirname $realpath))
qshell rput -w bvcstatic vim-vide-20200513.tgz /tmp/vim-vide.tgz
#
# git-hooks
# Automatic version numbers of your git repository using git hooks
# https://gist.github.... | mrytsr/vide | deploy.sh | Shell | apache-2.0 | 553 |
###############################################################################
# Copyright 2017 Intuit
#
# 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/... | intuit/wasabi | modules/functional-test/src/main/resources-filtered/server-start.sh | Shell | apache-2.0 | 1,220 |
#!/usr/bin/env bash
curl -X DELETE "http://drinventor.dia.fi.upm.es:8080/api/0.1/domains"
curl -X DELETE "http://drinventor.dia.fi.upm.es:8080/api/0.1/sources"
curl -X DELETE "http://drinventor.dia.fi.upm.es:8080/api/0.1/documents"
curl -X DELETE "http://drinventor.dia.fi.upm.es:8080/api/0.1/items"
curl -X DELETE "http... | oeg-upm/epnoi | vms/src/main/curl/deleteall.sh | Shell | apache-2.0 | 505 |
pkg_name=curator4
pkg_origin=core
pkg_version=4.1.2
pkg_description="Elasticsearch Curator helps you curate, or manage your indices."
pkg_upstream_url=https://github.com/elastic/curator
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('Apache-2.0')
pkg_source=nosuchfile.tgz
pkg_deps=(
lilian/... | be-plans/be | curator4/plan.sh | Shell | apache-2.0 | 871 |
#!/bin/bash
start=$SECONDS
# change this value with the tag or branch you want to build
tag_or_branch=master
tomcat_url=http://apache.mirrors.pair.com/tomcat/tomcat-7/v7.0.62/bin/apache-tomcat-7.0.62.zip
temp_zip_name=temp.zip
temp=temp
realpath(){
thedir=$1
cd $thedir
pwd
}
rm -rf temp.zip
wget $tomcat_ur... | opengeospatial/teamengine-builder | te_simple_build.sh | Shell | apache-2.0 | 1,442 |
#!/usr/bin/env bash
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
set -e
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd "$(git rev-parse --show-toplevel)" && pwd)
function safe_curl() {
real_curl="$(command -v curl)"
set +e
... | wisechengyi/pants | build-support/bin/release.sh | Shell | apache-2.0 | 24,983 |
#!/bin/bash -e
# -----------------------------------------------------------------------------
#
# Package : yargs
# Version : v12.0.5
# Source repo : https://github.com/yargs/yargs
# Tested on : UBI8.5
# Language : Node
# Travis-Check : True
# Script License: Apache License, Version 2 or later... | ppc64le/build-scripts | y/yargs/yargs_v12.0.5_ubi8.5.sh | Shell | apache-2.0 | 2,680 |
#!/bin/bash
# Dump the working environment to a log file (useful for debugging)
env > /var/log/audrey_environment.log
# Add the MySQL node's settings to the Wordpress configuration file
sed -i -e "s/database_name_here/${AUDREY_VAR_http_wp_name}/" /etc/wordpress/wp-config.php
sed -i -e "s/username_here/${AUDREY_VAR_ht... | aeolusproject/audrey | examples/wordpress/wordpress-http.sh | Shell | apache-2.0 | 1,535 |
function fetch() {
echo "-- fetching webrtc"
gclient config --name src http://webrtc.googlecode.com/svn/trunk/
echo "target_os = ['mac']" >> .gclient
gclient sync
sed -i "" '$d' .gclient
echo "target_os = ['ios', 'mac']" >> .gclient
gclient sync
echo "-- webrtc has been sucessfully fetched"
}
function wrbase() {
expo... | limtbk/WebRTC_demoapp | makeall-iosdevice.sh | Shell | apache-2.0 | 897 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.