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
clear;
echo "$0" | sed 's/\.\///g' | awk '{print toupper($0)}'
echo "Bash version ${BASH_VERSION}..."
function main() {
git push --set-upstream origin $1
}
if [ "$#" -ne 2 ]
then
echo "$0 \"[src]\" \"[nwb]\""
echo ""
echo -e "[src]\tSource git branch"
echo -e "[nwb]\tNew git ... | bradyhouse/house | fiddles/bash/fiddle-0020-GitBranchCommand/script.sh | Shell | mit | 365 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | Zunth5/LED-CLOCK | LEDgrid/ipcore_dir/CHAR_ROM/implement/planAhead_ise.sh | Shell | mit | 2,525 |
#!/bin/sh
export PO=0
export MO=0
clear
printf "Welcome on the Open Word Database Console !\n"
wget https://github.com/ValentinOVD/Open-Word-Database/raw/master/console.sh -O console.sh
wget https://github.com/ValentinOVD/Open-Word-Database/raw/master/botscript.sh -O botscript.sh
wget https://github.com/ValentinOVD/Ope... | ValentinOVD/Open-Word-Database | console.sh | Shell | mit | 2,539 |
#!/bin/bash
source `dirname $0`/../common.sh
docker run -v $OUTPUT_DIR:/tmp/output \
-v $CACHE_DIR:/tmp/cache \
-e VERSION=2.4.5 \
-e STACK=cedar-14 \
-e PATCH_URL=https://gist.githubusercontent.com/schneems/fd2bd841515367871e5b332afe9455ea/raw/1de62a84bce330c9ca8336fddb7c1... | hone/docker-heroku-ruby-builder | rubies/cedar-14/ruby-2.4.5.sh | Shell | mit | 398 |
library("knitr")
#knit("1H-1,2,4-triazole-1-.Rmd")
#markdownToHTML('1H-1,2,4-triazole-1-.md', '1H-1,2,4-triazole-1-.html', options=c("use_xhml"))
#system("pandoc -s 1H-1,2,4-triazole-1-.html -o 1H-1,2,4-triazole-1-.pdf")
knitr::knit2html('1H-1,2,4-triazole-1-.Rmd', "html_document")
| andrewdefries/andrewdefries.github.io | FDA_Pesticide_Glossary/1H-1,2,4-triazole-1-.sh | Shell | mit | 286 |
#!/bin/bash
# mysql ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋คํ ๋ฐฑ์
# by @rokwha
# rev. 1 - 2016-08-24
# mysql_full_dump.cmd fork
# ๋ ์์ค์ f_date๋ง ์ฐ์ง๋ง.. ๊ธฐ๋ฅ..
f_date_year=`date "+%Y"`
f_date_mon=`date "+%m"`
f_date_day=`date "+%d"`
f_date=`date "+%Y%m%d"`
# mysql ๊ณ์ ์ ๋ณด - ์ ์ ํ ์์์ ์~
host="localhost"
user="user"
pass="pass"
# ์ ํธ๋ฆฌํฐ
mysql_exe="mysql"
mysql... | rokwha/mysql-admin-cmd | mysql_full_dump.sh | Shell | mit | 3,341 |
$ apeman-need | apeman-cmd-labo/apeman-need | example/example-call.sh | Shell | mit | 13 |
#!/bin/bash
sudo -E gpg --keyserver subkeys.pgp.net --recv-key $1
sudo -E gpg -a --export $1 | sudo -E apt-key add -
| rodrixcornell/bin | chaveiro2.sh | Shell | mit | 118 |
#!/bin/bash
. ./scripts/repeat_med.sh
. ./scripts/repeat_max.sh
. ./scripts/help
reps=11;
duration=5000;
cores=$(seq 3 1 40);
params_all="-l -p-1"; # no latency, no set_cpu
params=( "-s5" "-s6" "-s9 -i1" "-s9 -i10" "-s9 -i100" "-s9 -i1000" );
function do_run()
{
r=$(./futex $@ -n$n $p -d$duration $params_all... | LPD-EPFL/lockin | scripts/atc/run_spin_then_sleep.sh | Shell | mit | 879 |
. ./share/chruby/install.sh
. ./test/helper.sh
test_chruby_reload()
{
local new_ruby="$HOME/.rubies/newly_installed_ruby"
mkdir -p "$new_ruby"
chruby_reload
assertTrue "did not add the new ruby dir to RUBIES" \
'[[ "${RUBIES[*]}" == *$new_ruby* ]]'
rmdir "$new_ruby"
}
SHUNIT_PARENT=$0 . $SHUNIT2
| regularfry/chruby | test/chruby_reload.sh | Shell | mit | 319 |
#!/usr/bin/env bash
set -o noclobber -o noglob -o nounset -o pipefail
IFS=$'\n'
# If the option `use_preview_script` is set to `true`,
# then this script will be called and its output will be displayed in ranger.
# ANSI color codes are supported.
# STDIN is disabled, so interactive scripts won't work properly
# This... | scottbilas/dotfiles | config/ranger/scope.sh | Shell | mit | 8,891 |
#USAGE:
# chmod 777 deploy.sh
# ./deploy.sh [BranchName] [BuildEnv='dev','stage','preProd','prod']
# cd $REPO_SOURCE
sudo git checkout $1
sudo git pull origin $1
echo "BUILDING WEPACK"
sudo npm run build-$2
echo "KILLING NODE PROCESS"
sudo kill $(ps aux | grep '[n]ode' | awk '{print $2}')
sudo rm stdout.txt
sud... | john1jan/react_biolerplate | deploy.sh | Shell | mit | 515 |
#!/bin/bash
#
# License: https://github.com/cadeworks/cade/blob/master/LICENSE
#
vendor="cadeworks"
#build_image cassandra
#build_image telegraf
#build_image influxdb
#build_image chronograf
#build_image elasticsearch
#build_image zookeeper
#build_image kafka
#build_image spark
#build_image zeppelin
#push_image cas... | webintrinsics/clusterlite | examples/tasks.sh | Shell | mit | 499 |
#!/bin/bash
# Read here: https://coderwall.com/p/fkfaqq/safer-bash-scripts-with-set-euxo-pipefail
set -euo pipefail
exec 3>&1
function on_error {
echo "Something failed..."
sleep 5
exit 1
}
trap on_error ERR
REPO_ROOT="$(git rev-parse --show-toplevel)"
SCRIPT_DIR="$REPO_ROOT/scripts"
ARGS="$@"
CONFIG="... | helmesjo/hello-cd | scripts/build.sh | Shell | mit | 2,006 |
cat outchi422_corrFlow.txtQtrkEffW
cat outchi523_corrFlow.txtQtrkEffW
cat outchi6222_corrFlow.txtQtrkEffW
cat outchi633_corrFlow.txtQtrkEffW
cat outchi7223_corrFlow.txtQtrkEffW
| tuos/FlowAndCorrelations | flowCorr/analysisnote/macro_plots/edec18trkQReCent_2760/checkQtrkHF/listChiQtrkEffW.sh | Shell | mit | 179 |
# A list function that only grabs your samples of interest rather than all the other assorted files
\ls -d varanus_* > samplenamelist.txt
#"contigs_to_probes.fasta" is whatever the fasta reference is that you used to assemble your bams
samtools faidx contigs_to_probes.fasta
#"contigs_to_probes.fasta" is whatever the... | laninsky/phase_everyone | example_bam/phase_everyone_pre_v4_gatk.sh | Shell | mit | 3,920 |
#!/bin/bash
# install node modules
npm install
| jane2017/mock-app | src/install.sh | Shell | mit | 49 |
# Enable colors
export CLICOLOR=1
# a black
# b red
# c green
# d brown
# e blue
# f magenta
# g cyan
# h light grey
# A bold black, usually shows up as dark grey
# B bold red
# C bold green
# D bold brown, usually shows up as yellow
# E bold blue
# F bold magenta
# G bold cyan
# H bold light grey; looks like bright w... | jlmorgan/config | bash/osx/profile.sh | Shell | mit | 2,115 |
#!/bin/sh
######################################################################
#
# @file uncrustify.sh
#
# @brief Build information for uncrustify.
#
# @version $Rev$ $Date$
#
# Copyright © 2013-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
#########... | Tech-XCorp/bilder | packages/uncrustify.sh | Shell | epl-1.0 | 1,888 |
if [ ! -d ~/netide/Tools ]; then
cd ~/netide
git clone https://github.com/fp7-netide/Tools
cd
fi
sudo pip install scapy
| fp7-netide/IDE | plugins/eu.netide.configuration.launcher/scripts/install_tools.sh | Shell | epl-1.0 | 127 |
#!/bin/sh
######################################################################
#
# @file rst2pdf.sh
#
# @brief Version and build information for rst2pdf.
#
# @version $Rev$ $Date$
#
# Copyright © 2012-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
###... | Tech-XCorp/bilder | packages/rst2pdf.sh | Shell | epl-1.0 | 2,059 |
#!/bin/bash
paserit()
{
status=$1
case "$status" in
keywords)
file=/etc/portage/package.keywords
tag_pattern="~"
tagmsg="has become stable"
echo "## Showing useless entries in package.keywords..."
;;
unmask)
file=/etc/portage/package.unmask
tag_pattern="M"
tagmsg="is no longer masked"
echo "## Sh... | scsi/scsi-ebuilds | profile/bin/unmaskpkgcheck.sh | Shell | gpl-2.0 | 2,606 |
#!/usr/bin/env bash
# 2008-07-23
# Aurelio Jargas
#
# Gera a versรฃo ISO-8859-1 (latin-1) das Funรงรตes ZZ
cd $(dirname "$0") || exit 1
# Cadรช o arquivo de entrada?
if test -z "$1"
then
echo "Uso: $0 arquivo"
exit 1
fi
infile="$1" # funcoeszz-13.2.sh
outfile=$(echo "$1" | sed 's/\... | faustovaz/funcoeszz | release/2iso.sh | Shell | gpl-2.0 | 876 |
#!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='Two way merge with read-tree -m -u $H $M
This is identical to t1001, but uses -u to update the work tree as well.
'
. ./test-lib.sh
_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
compare_change () {
... | vmiklos/gsoc2008 | t/t1002-read-tree-m-u-2way.sh | Shell | gpl-2.0 | 11,228 |
#!/bin/sh
cd built
/usr/pandora/scripts/pnd_make.sh -d . -c -p fba.pnd -x capex.pxml -i fba.png
cp ./fba.pnd /media/MAINSYSTEM/pandora/apps
rm fba.pnd
cd .. | dave18/capex | pnd.sh | Shell | gpl-2.0 | 156 |
# Depend.sh = Install/unInstall files due to package dependencies
# this script is invoked after any package is installed/uninstalled
# enforce using portable C locale
LC_ALL=C
export LC_ALL
# all parent/child package dependencies should be listed below
# parent package = has files that files in another package deriv... | Dixon3/lammps | src/Depend.sh | Shell | gpl-2.0 | 2,491 |
#!/bin/sh
LD_LIBRARY_PATH=$ROOTACT/lib:$ROOTACT/shlib
export LD_LIBRARY_PATH
#for devel installation
#options="--dev"
killall awspv.x > /dev/null 2>&1
cd $ROOTACT/watteco/supervisor
mv stdouterr.log stdouterr.old.log > /dev/null 2>&1
exec ./awspv.x $options > stdouterr.log 2>&1 &
| actility/ong | drivers/watteco/supervisor/awspv.sh | Shell | gpl-2.0 | 283 |
export PATH=scripts:$PATH
| leoheck/facin-latex | setup-env.sh | Shell | gpl-2.0 | 27 |
#!/bin/sh
me=$(dirname $0)
mkdir -p $me/out
(cd $me/out && ../../../util/qlalr/qlalr --troll --no-debug --no-lines ../qxmlstream.g)
for f in $me/out/*.h; do
n=$(basename $f)
p4 open $n
cp $f $n
done
p4 revert -a ...
p4 diff -du ...
| muromec/qtopia-ezx | qtopiacore/qt/src/xml/make-parser.sh | Shell | gpl-2.0 | 248 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-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/t4073-utf.sh | Shell | gpl-2.0 | 1,201 |
#/bin/bash
if test -z "$srcdir"; then
srcdir=echo "$0" | sed s,[^/]*$,,
test "$srcdir" = "$0" && srcdir=.
test -z "$srcdir" && srcdir=.
test "${VERBOSE+set}" != set && VERBOSE=1
fi
./diablo_support_test_string_array > tmp_out
diff tmp_out $srcdir/data/diablo_support_test_string_array.out > /dev/null 2... | diablo-rewriter/diablo | support/test/diablo_support_test_string_array.sh | Shell | gpl-2.0 | 359 |
#!/bin/bash
sudo apt-get install libsane-dev libxtst-dev bsdiff | cutec-chris/promet-erp | promet/development_doc/install_packages.sh | Shell | gpl-2.0 | 63 |
convert images/OCS-135.png -crop 1690x4976+0+0 +repage images/OCS-135-A.png
convert images/OCS-135.png -crop 1690x4976+1690+0 +repage images/OCS-135-B.png
#/OCS-135.png
#
#
#
| jonnymwalker/Staroslavjanskij-Slovar | scripts/middlesplit.OCS-135.sh | Shell | gpl-2.0 | 175 |
#!/bin/bash
export RABBITMQ_NODE_IP_ADDRESS=''
export RABBITMQ_NODE_PORT=${RABBITMQ_NODE_PORT:-5672}
export RABBITMQ_LOG_BASE=/tmp
export RABBITMQ_MNESIA_DIR=${RABBITMQ_MNESIA_DIR:-'/tmp/rabbitmq-rabbit-mnesia'}
export RABBITMQ_PLUGINS_EXPAND_DIR=/tmp/rabbitmq-rabbit-plugins-scratch
export RABBITMQ_ALLOW_INPUT=true
ex... | f3at/feat | tools/start_rabbit.sh | Shell | gpl-2.0 | 391 |
#!/bin/bash
REPO=registry.open-tools.net/opentools/docker-virtuemart/j3vm3:latest
if [ $# -lt 3 ]; then
echo "Usage: vm-docker-create.sh NAME PORT SITE_NAME"
exit
fi
NAME=$1
PORT=$2
SITE=$3
SCRIPTDIR="$(dirname "$0")"
docker run -p $PORT:80 -d --name vm-$NAME -e JOOMLA_DB_USER=virtuemart -e JOOMLA_DB_PASSWORD=v... | open-tools/docker-virtuemart | vm-docker-create.sh | Shell | gpl-2.0 | 815 |
#!/bin/bash -ue
#-*-sh-*-
#
# $Id: run_coverage.sh $
#
# Author: Markus Stenberg <markus stenberg@iki.fi>
#
# Copyright (c) 2013 cisco Systems, Inc.
#
# Created: Mon Dec 2 11:07:59 2013 mstenber
# Last modified: Mon Dec 2 11:09:09 2013 mstenber
# Edit time: 1 min
#
# Note: This requires lcov
lcov -z -d .
m... | Oryon/prefix-assignment | run_coverage.sh | Shell | gpl-2.0 | 536 |
patch -p1 < ../patches/gdbm-1.10-zeroheaders.patch
| nawawi/buildstack | source/gdbm/patches/dopatch.sh | Shell | gpl-2.0 | 51 |
#!/bin/bash
./protoc -I=./ --python_out=PATH ./mycity
| isfull/longshort | build_city/server/pb_compile/compile_proto.sh | Shell | gpl-2.0 | 54 |
#!/bin/sh
#
# $Id$
#
# This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
# project.
#
# Copyright (C) 1998-2012 OpenLink Software
#
# This project 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 So... | trueg/virtuoso-opensource | libsrc/langfunc/unicodetab2h.sh | Shell | gpl-2.0 | 5,743 |
#!/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}/liblaser-g... | vfrc2/laser-gun | nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,467 |
#! /bin/bash
source venv/bin/activate
cd gestion_tfg
python manage.py runserver 0.0.0.0:8000 &
| gabriel-stan/gestion-tfg | old/run.sh | Shell | gpl-2.0 | 98 |
#!/bin/bash
./variable_printer $srcdir/scripts/naughty_tests | diff -u $srcdir/scripts/naughty_tests.result -
| groundwater/gentoo-libbash | test/bash_result_tests.sh | Shell | gpl-2.0 | 111 |
#!/bin/bash
# called by dracut
install() {
local _i
# Fixme: would be nice if we didn't have to guess, which rules to grab....
# ultimately, /lib/initramfs/rules.d or somesuch which includes links/copies
# of the rules we want so that we just copy those in would be best
inst_multiple udevadm cat u... | matlinuxer2/dracut | modules.d/95udev-rules/module-setup.sh | Shell | gpl-2.0 | 3,335 |
#!/bin/bash
# Script to deploy Magento at Terminal.com
# Cloudlabs, INC. Copyright (C) 2015
#
# 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 of the License, or
# (at your optio... | terminalcloud/apps | magento_installer.sh | Shell | gpl-2.0 | 2,263 |
#!/bin/bash
set -e
# Wordpress.org username
wordpressuser="wetpaintweb"
# Wordpress.org plugin name
package="littlebits"
version=$1
if [[ ! $version ]]; then
echo "Needs a version number as argument"
exit 1
fi
echo "Releasing version ${version}"
echo "Setting version number in readme.txt and php files"
perl -p... | wetpaintweb/littleBits-for-WordPress | release.sh | Shell | gpl-2.0 | 1,898 |
#!/bin/bash
#SBATCH --time=5:00:00
#SBATCH --partition=rondror --qos=rondror
#SBATCH --gres=gpu:1
#SBATCH --ntasks-per-socket=1 --tasks=1
#SBATCH --output=01slurm.out --open-mode=append
#SBATCH --mail-user=robin@robinbetz.com --mail-type=ALL
#SBATCH --job-name=minimization
#
#===========================================... | Eigenstate/Protocols | minimization/PROTOCOL02.sh | Shell | gpl-2.0 | 1,583 |
#!/bin/bash
#
# DumbQ Multi-Agent Binary
# (C) Copyright 2015, Ioannis Charalampidis, PH/SFT, CERN
#
# DumbQ location on cvmfs
DUMBQ_DIR="/cvmfs/sft.cern.ch/lcg/external/experimental/dumbq"
DUMBQ_AGENT_BIN="${DUMBQ_DIR}/client/dumbq-client"
DUMBQ_BOOTSTRAP_DIR="${DUMBQ_DIR}/bootstraps/dumbq-agent"
DUMBQ_STATUS_BIN="${... | jvican/dumbq | bootstraps/dumbq-agent/init.sh | Shell | gpl-2.0 | 8,328 |
#!/bin/bash
#
# vi:set filetype=bash et ts=4:
#
# This file is part of SystemImager.
#
# SystemImager 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 of the License, or
# (at... | finley/SystemImager | lib/dracut/modules.d/51systemimager/systemimager-wait-imaging.sh | Shell | gpl-2.0 | 3,892 |
#!/bin/bash
... | apiemont/shell-misc | on_demand_tunnel.sh | Shell | gpl-2.0 | 9,538 |
#!/bin/sh
# Convenience script for regenerating all autogeneratable files that are
# omitted from the version control repository. In particular, this script
# also regenerates all aclocal.m4, config.h.in, Makefile.in, configure files
# with new versions of autoconf or automake.
#
# This script requires autoconf-2.61 an... | scs/uclinux | lib/libiconv/libiconv-1.12/autogen.sh | Shell | gpl-2.0 | 2,923 |
lessc static/css/main.css --clean-css="--s1 --advanced --compatibility=ie8" static/css/main.min.css | Apilytic/zikraft | minifi-css.sh | Shell | gpl-2.0 | 99 |
#!/bin/sh
# Verify the operations done by shred
# Copyright (C) 2009-2019 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (... | komh/coreutils-os2 | tests/misc/shred-passes.sh | Shell | gpl-3.0 | 2,822 |
#!/bin/sh
cabal update
cat /vagrant/path >> ~vagrant/.profile
| jlamothe/sortable-test | cabal-setup.sh | Shell | gpl-3.0 | 63 |
# Uncomment the following functions to recreate the fixtures
mysql_setup() {
# unstub mysql
#
# OLD_LOG=$ENSHURE_LOG
# ENSHURE_LOG=/dev/null
#
# enshure mysql_user tst
# enshure mysql_database tst
#
# ENSHURE_LOG=$OLD_LOG
return 0
}
mysql_teardown() {
# unstub mysql
#
# OLD_LOG=$ENSHURE_LOG
# ENSHURE_LO... | gbraekmans/enshure | test/modules/mysql_grant.sh | Shell | gpl-3.0 | 2,566 |
#!/bin/bash
#this script utilizes pushover to notify you when someone is using your server to transcode video.
#It does not alert on audio transcoding.
#wlongo-nospam@longoconsulting.us
#Session Variables
video_decision=$1
user=$2
title=$3
player=$4
platform=$5
video_bitrate=$6
video_resolution=$7
transcode_video_wid... | driz/scripts | plexpy_xcode_notification.sh | Shell | gpl-3.0 | 929 |
#!/bin/sh
# ./stop.sh
docker stop -t 1 sgminer
docker rm sgminer
| gcamerli/docker_sgminer_amd64 | script/stop.sh | Shell | gpl-3.0 | 66 |
#!/bin/sh
rm -rf php-7.4.2
| phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/build-php-1.5.1/post.sh | Shell | gpl-3.0 | 28 |
#!/bin/bash
if [[ -f "/etc/audit.rules.rpmsave" ]]; then
mv /etc/audit.rules.rpmsave /etc/audit/rules.d/migration.rules
/sbin/augenrules
fi
| upgrades-migrations/preupgrade-assistant-modules | RHEL6_7/others/configchanges/fix_audit65.sh | Shell | gpl-3.0 | 145 |
export lang=es_ES;
| a1ive/grub2-filemanager | lang/es_ES/lang.sh | Shell | gpl-3.0 | 19 |
#!/bin/bash
# bash-weather is a weather report and forecast script written in Bash.
# Copyright (C) 2013 Istvan Szantai <szantaii at sidenote dot hu>
#
# 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 Found... | szantaii/bash-weather | print-status-messages.sh | Shell | gpl-3.0 | 1,204 |
#!/bin/sh
# $Id: testminissdpd.sh,v 1.8 2017/04/21 11:57:59 nanard Exp $
# (c) 2017 Thomas Bernard
OS=`uname -s`
# if set, 1st argument is network interface
if [ -n "$1" ] ; then
IF=$1
else
case $OS in
*BSD | Darwin | SunOS)
IF=lo0
;;
*)
IF=lo
;;
esac
fi
SOCKET=`mktemp -t minissdpdsocketXXXXXX`
PI... | mupen64plus-ae/mupen64plus-ae | ndkLibs/miniupnp/minissdpd/testminissdpd.sh | Shell | gpl-3.0 | 440 |
#!/bin/sh
# Running cp S D on an NFS client while another client has just removed D
# would lead (w/coreutils-8.16 and earlier) to cp's initial stat call
# seeing (via stale NFS cache) that D exists, so that cp would then call
# open without the O_CREAT flag. Yet, the open must actually consult
# the server, which con... | pexip/os-coreutils | tests/cp/nfs-removal-race.sh | Shell | gpl-3.0 | 2,524 |
#!/bin/bash
source $HOME/.bash_profile
source $HOME/.bashrc
/usr/bin/open -a /Applications/iTerm.app -n --args exec mutt "$@"
| adversary-org/emacs-launcher-osx | mutt/shell/mutt-mailto.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
#
# Unattended/SemiAutomatted OpenStack Installer
# Reynaldo R. Martinez P.
# E-Mail: TigerLinux@Gmail.com
# OpenStack LIBERTY for Ubuntu 14.04lts
#
#
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
#
# First, we source our config file and verify that some important proccess are
#... | tigerlinux/openstack-liberty-installer-ubuntu1404lts | modules/novainstall.sh | Shell | gpl-3.0 | 19,935 |
#!/bin/bash
cp ddns-update /usr/bin/ | echo
chmod 744 /usr/bin/ddns-update | echo
cp -n ddns-update.openrcservice /etc/init.d/ | echo
mv /etc/init.d/ddns-update.openrcservice /etc/init.d/ddns-update.service | echo
chmod 744 /etc/init.d/ddns-update.service
cp -n ddns-update.conf /etc/ | echo
rc-update add ddns-update.se... | jcruse03/Google-DDNS-Update | setup-rc.sh | Shell | gpl-3.0 | 513 |
#!/bin/bash
. ./colors
# Checking for command line argument
if [ "${1}" == "" ]
then
color_print "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
color_print "INFO: Generate module directory structure.\nUSAGE: generate_module.sh <prefile>-<module name>"
color_print "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | xxxyyyzz/puppet | 9.generate_module.sh | Shell | gpl-3.0 | 841 |
#!/bin/bash
#
#Application: USB Driveby Defender
#Authors: Shea O'Neill, Paddy Cronan
#Date: 20/03/17
#Version: 1.0
#Title: archive_logs.sh
#Description: This script archives logs
#-----------------------------------------------------------
archive_logs () {
#archive logs
find ${LOG_PATH} -maxdep... | SheaONeill/USBdriveby-Defender | scripts/udev/bin/archive_logs.sh | Shell | gpl-3.0 | 654 |
#!/usr/bin/env bash
# author: deadc0de6 (https://github.com/deadc0de6)
# Copyright (c) 2019, deadc0de6
#
# test dotfile dynamic paths
# returns 1 in case of error
#
# exit on first error
set -e
#set -v
# all this crap to get current path
rl="readlink -f"
if ! ${rl} "${0}" >/dev/null 2>&1; then
rl="realpath"
if !... | deadc0de6/dotdrop | tests-ng/dotfiles-dyn-paths.sh | Shell | gpl-3.0 | 2,156 |
#!/bin/sh
case $1 in
config)
cat <<'EOM'
graph_title ARNU information
graph_vlabel per ${graph_period}
graph_args --base 1000
graph_scale no
graph_category rdt-serviceinfo
graph_info ARNU information
graph_period minute
messages.label messages
messages.info Number of messages
messages.type DERIVE
messages.m... | geertw/rdt-serviceinfo | contrib/munin/rdt-serviceinfo_arnu.sh | Shell | gpl-3.0 | 650 |
#!/usr/bin/env bash
set -eo pipefail; [[ "$TRACE" ]] && set -x
source set-glibc-version.sh
main()
{
{
wget -qO- "http://ftp.gnu.org/gnu/glibc/glibc-$GLIBC_VERSION.tar.gz" \
| tar zxf -
mkdir -p /glibc-build && cd /glibc-build
"/glibc-$GLIBC_VERSION/configure" \
--prefix="/usr/glibc-compat" \
--libdi... | MihaiBogdanEugen/glibc-builder | build-glibc.sh | Shell | gpl-3.0 | 599 |
#!/bin/sh
dnx gen controller -async -udl -outDir Controllers -dc ApplicationDbContext -m "$1" -name "$2Controller"
# dnx gen controller -outDir Controllers -dc ApplicationDbContext -udl -m {model} -name {name}Controller
#ย dnx gen controller -outDir Controllers -dc ApplicationDbContext -udl -m Yavsc.Models.Booking.M... | pazof/yavsc | contrib/genController.sh | Shell | gpl-3.0 | 385 |
#!/bin/sh
########
# @author stevleibelt <artodeto@bazzline.net>
# @since 2013-01-15
########
for CITY in Dresden Freiberg Hamburg ; do
echo $CITY
done
| stevleibelt/examples | bash/test/forLoop.sh | Shell | gpl-3.0 | 157 |
echo "basic test" > out1
| ardagnir/athame | test/shell/inst1.sh | Shell | gpl-3.0 | 25 |
#!/bin/bash
####################################################################
# SKULL Framework - by Tomas Pollak (github.com/tomas)
# (c) 2010 - Fork Ltd
# License: GPLv3
####################################################################
String__METHODS=(capitalize capitalize_once capitalize_all contains downcas... | tomas/skull | lib/string.sh | Shell | gpl-3.0 | 3,182 |
#!/bin/bash
# reproduce experiments using seq2seq with attention model on the bash dataset
ARGS=${@:1}
./bash-run.sh \
--dataset bash \
--channel partial.token \
--use_copy \
--copy_fun copynet \
--batch_size 128 \
--sc_token_dim 200 \
--learning_rate 0.0001 \
--steps_per_epoch 4000 \... | TellinaTool/awesome_nmt | scripts/bash-copy-partial-token.sh | Shell | gpl-3.0 | 674 |
#!/bin/bash
#cd `dirname $0`
f__() {
find $3 -type f $4 -name "$1" -a ! -perm $2 -printf "chmod $2 \"%p\" #%m\n"
}
f1__() {
f__ "$1" 775 '-maxdepth 1'
}
f1__ l
f1__ '*sh'
f__ '*.so' 664
f__ '*.zs' 775 demo
#f__ '*.zs' 644 demo '!'
| zzzzzzzzzzz0/zhscript | new_o/chmod1.sh | Shell | gpl-3.0 | 235 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YNL069C --paralog2 YIL133C --simnum 63 > YNL069C_YIL133C_MG94_nonclock_Sim63_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YNL069C_YIL133C_sim63.sh | Shell | gpl-3.0 | 145 |
#!/bin/sh
set -x
#cd ~
#sudo npm install -g pm2
#sudo pm2 startup -u $USER
# See: http://pm2.keymetrics.io/docs/usage/startup/
sudo npm install -g pm2
pm2 startup
# [PM2] To setup the Startup Script, copy/paste the following command:
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ... | nbspou/scripts | provision_me_pm2.sh | Shell | gpl-3.0 | 343 |
# The following commented-out are
# example chunks of the run command
# that you might swap-out (for run)
# or add (for apps, logs) as-needed.
## Remote server deployment call
# docker run -d -p 80:3838 \
## Mount your additional apps for simultaneous hosting
# -v /yourhost/shinyapps/:/srv/shiny-server/ \
## Mount ... | joey711/dada2docker | shiny-devel/runshinydada2.sh | Shell | gpl-3.0 | 511 |
#!/bin/bash
############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commerc... | SolarTeamEindhoven/meta-ste | scripts/configure-qtcreator.sh | Shell | gpl-3.0 | 4,092 |
#!/bin/bash
[ ! -f "$1" ] && exit 1
. $HOME/.bash_aliases
for (( i=1; i>0; i++ )); do
ext="`echo -n "$1" | cut -f 1-$i -d '.' --complement`"
[ -z "$ext" ] && exit 1
case "$ext" in
"txz"|"tar.xz")
tar_par="xvvf"
;;
"tgz"|"tar.gz")
tar_par="xzvf"
;;
"tbz"|"tar.bz2")
tar_par="xjvf"
... | jmanoel7/my_shell_scripts | bin/MakePkg.sh | Shell | gpl-3.0 | 949 |
#!/bin/bash
if [ -z "$PARENT_DEPLOY_SCRIPT" ]; then YOUR_SUBJECT="./_deploy/$(basename "$0")" WD="$(dirname "$0")/../" ../deploy.sh; exit "$?"; fi
# Creating relative symbolic links to master site directory
#
# Put serapator "#SYMBOLIC_LINKS_START#" to ".gitignore"
# Will be created symbolic links for all paths that a... | web-izmerenie/alfa-rostov | _deploy/30-symbolic_links.sh | Shell | gpl-3.0 | 1,679 |
#!/bin/sh
#
sudo pip install pyflakes
sudo pip install rope
sudo pip install ropemacs
| cagedmantis/emacs-config | setup_os/install_py.sh | Shell | gpl-3.0 | 87 |
#!/bin/bash
LANG=C #needed for perl locale
set -eu
# Start the services
# We limit to service to avoid the container to exit on app crash
/usr/sbin/sshd -D &
PORT=8080 DEBUG=yapdnsui node /app/yapdnsui/bin/www
| xbgmsharp/yapdnsui | startup.sh | Shell | gpl-3.0 | 213 |
#!/bin/bash
. ./tests/test.sh
launch -v \
--gst-debug-no-color \
tcpclientsrc port=3002 ! fdsink fd=2
| timvideos/gst-switch | tests/deprecated/switch-server/sink2.sh | Shell | gpl-3.0 | 112 |
#!/bin/bash
set -e
sudo apt-get update
sudo apt-get install -y openssl socat ca-certificates
echo "" | \
openssl s_client \
-connect github.com:443 \
-showcerts 2>/dev/null | \
sed -n -e "/-----BEGIN CERTIFICATE/,/-----END CERTIFICATE/p" > github.com.pem
./hapos-upd --cert github.com... | pierky/haproxy-ocsp-stapling-updater | .github/test_execution.sh | Shell | gpl-3.0 | 382 |
#!/usr/bin/env sh
# 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/.
set -o errexit # exit on first command with non-zero status
BASENAME=$(basename $0)
DIRNAME=$(dirnam... | shane-tomlinson/fxa-content-server | tests/teamcity/run-server-resources.sh | Shell | mpl-2.0 | 1,372 |
#!/bin/sh
# Created by devnull
echo "ArcScripts installer for ArcEmu"
# Convert all MS-DOS formated filesto unix format
find ./src/scripts/ -not -iname "*.svn*" -type f | sed 's/^/\"/g;s/$/\"/g' | xargs -0 | xargs dos2unix
line=`grep -n "src/arcemu-realmserver/Makefile" ../../configure.ac | cut -d: -f1`
echo "Remov... | satanail/ArcTic-d | src/scripts/linux_installer.sh | Shell | agpl-3.0 | 2,309 |
#!/bin/bash
T="$(date +%s)"
rm -rf $1/*~
FILE=$1/*
ctr=0
for f in $FILE
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "$f"
tail -n +2 $f > $filename.tmp
cat $filename.tmp | tr -d '\n' > tmp_oneline_ref/chr$ctr.fa
rm $filename.tmp
./sa.run tmp_oneline_ref/chr... | mikelhernaez/iDoComp | sais-lite-2.4.1/generateSA.sh | Shell | agpl-3.0 | 724 |
#!/bin/bash
set -e
# a helper script to run tests
# run nsqlookupd
echo "starting nsqlookupd"
nsqlookupd >/dev/null 2>&1 &
LOOKUPD_PID=$!
cat >/tmp/cert.pem <<EOF
-----BEGIN CERTIFICATE-----
MIIEbjCCA1agAwIBAgIJAK6x7y6AwBmLMA0GCSqGSIb3DQEBBQUAMIGAMQswCQYD
VQQGEwJVUzERMA8GA1UECBMITmV3IFlvcmsxFjAUBgNVBAcTDU5ldyBZb3JrI... | nulpunt/nulpunt | gopath/src/github.com/bitly/go-nsq/test.sh | Shell | agpl-3.0 | 3,927 |
#!/bin/bash -x
./maintemail.py --ics https://www.google.com/calendar/ical/uq2m73m8lvm2hf86nbfl9g8gkk%40group.calendar.google.com/private-12556f00fa50f0f4a10c2dcf65d7771f/basic.ics \
--smtp mail.in.the.narro.ws \
--template maint.html \
--from maint@the.narro.ws \
-v
| brimstone/maintemail | test.sh | Shell | agpl-3.0 | 274 |
#!/bin/sh
if test -n "$1"
then
git archive --format tar --remote=$1 --output=meegotouch-applauncherd-0.18.1.tar --prefix meegotouch-applauncherd-0.18.1/ released/0.18.1
bzip2 meegotouch-applauncherd-0.18.1.tar
else
echo "Usage: create-tarball.sh <repo>"
echo " where <repo> is suitable for git arch... | dudochkin-victor/touch-applauncherd | meego/0.18.1/create-tarball.sh | Shell | lgpl-2.1 | 344 |
#!/usr/bin/env bash
############ Caching #############
# Storing cache is handled by travis
# We need to invalidate the cache ourselves
# git ls-remote gets us the desired commit hash
# git rev-parse HEAD gets us the cached one if it exists
# If we need to rebuild we just rm -rf the directory, that way we
# don't d... | SkySkimmer/HoTTClasses | build-dependencies.sh | Shell | lgpl-2.1 | 2,097 |
#!/bin/sh
set -ex
wget http://www.nih.at/libzip/libzip-1.0.1.tar.gz -O libzip-1.0.1.tar.gz
tar -zxvf libzip-1.0.1.tar.gz
cd libzip-1.0.1 && ./configure --prefix=/usr && make && sudo make install
cd ..
| crafter2d/crafter2d | projects/install-libzip.sh | Shell | lgpl-2.1 | 201 |
#!/bin/sh
UAPI_SRCDIR=$HOME/gitr/linux/include/uapi
LIBMNL_SRCDIR=$HOME/gitr/netfilter/libmnl
LIBMNL_SO=/usr/local/lib/libmnl.so
counter_sources() {
cat <<EOF
# UAPI
# linux UAPI
csrc/linux/netlink.h $UAPI_SRCDIR/linux/netlink.h
csrc/linux/if_link.h $UAPI_SRCDIR/linux/if_link.h
... | chamaken/crslmnl | counterpart.sh | Shell | lgpl-2.1 | 4,200 |
#!/usr/bin/env bash
function outputVideo() {
local port="${1:-HDMI-1-1}";
local resolution="${2:-1920x1080}";
echo "Port : ${port}";
echo "Resolution : ${resolution}";
xrandr --addmode "${port}" "${resolution}";
xrandr --output "${port}" --mode "${resolution}";
}
outputVideo "${port}" "${resolution}";
| s373r/dotfiles | home/bin/output-video-to-the-second-monitor.sh | Shell | lgpl-3.0 | 319 |
#!/bin/sh
echo "Starting OA vanilla 0.8.x server on port 27960, screen oa-vanilla and auto restart it at 4:02 AM everyday, and check if down each hour"
# Add to cron some warning messages that will be shown to the players minutes prior to restarting the servers
sh oamps.sh -n 0 -c config.cfg -s oa-vanilla -e "say ^1WA... | lrq3000/oamps | samples/advanced-launcher.sh | Shell | lgpl-3.0 | 1,585 |
#!/bin/bash
lua5.1 generator/generate.lua
make
| CrackedP0t/LuaNoise | build.sh | Shell | lgpl-3.0 | 48 |
#!/bin/sh
# font setup things and other font related stuff: https://github.com/jwilm/alacritty/issues/489
echo "--- begin alacritty setup"
if [ ! -d "$HOME/tmp" ]; then
mkdir -p $HOME/tmp
fi
cd $HOME/tmp
git clone https://github.com/jwilm/alacritty.git
cd $HOME/tmp/alacritty
cargo build --release
make app
cp -r t... | megalithic/bits-and-bobs | alacritty/install.sh | Shell | unlicense | 418 |
# 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 | homophonous_logography/entropic/compute_relative_entropy.sh | Shell | apache-2.0 | 4,700 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.