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 |
|---|---|---|---|---|---|
if [ "$GHCVER" = "ghcjs" ]; then
phantomjs --web-security=no jsbits/options.js result/bin/ghcjs-tests.jsexe/index.html;
fi
| dmjio/hackernews | build/phantomjs.sh | Shell | mit | 125 |
#!/bin/sh
prog=deczky3_socp_test.m
depends="deczky3_socp_test.m \
test_common.m print_polynomial.m print_pole_zero.m \
armijo_kim.m \
fixResultNaN.m iirA.m iirE.m iirT.m iirP.m local_max.m iir_slb.m \
iir_socp_mmse.m iir_slb_exchange_constraints.m iir_slb_constraints_are_empty.m \
iir_slb_set_empty_constraints.m iir_... | robertgj/DesignOfIIRFilters | test/00/t0063a.sh | Shell | mit | 1,830 |
# or_dir.bash: functions to be used as guards in recipes.
# see https://github.com/pepaslabs/deploy.sh
#
# usage:
#
# root_or_die
#
# each function should emit an echo_step_error and exit if the condition
# isn't met.
# meta
function die_x_for_y_only()
{
local x="${1}"
local y="${2}"
echo_step_error ... | pepaslabs/deploy.sh | lib/deploy.sh/or_die.bash | Shell | mit | 882 |
[server@localhost pgame_ydjd]$ cat shutDownServer.sh
#!/bin/sh
/home/server/sanguo/pgame_ydjd/run.sh com.kueem.pgame.net.netty.ShutdownServer | qifanyang/tool | tool/antdemo/self/shutdownservr.sh | Shell | mit | 142 |
#!/bin/bash
echo "This is the INFO hook-PRE-sync script example!"
exit 2
| SpoddyCoder/clonepi | dev/hook-tests/pre-sync-info.sh | Shell | mit | 74 |
#!/bin/sh
if [ ! ${branch_eg} ]
then
echo "please set branch_eg, for example release/eg/26"
exit
fi
echo "branch_eg is ${branch_eg}"
read -p "Continue? (y/n) " -n 1
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo
else
exit
fi
for repo in \
eg-web-search \
eg-web-common \
en... | warelab/gramene-ensembl | scripts/misc-scripts/fetch_eg_packages.sh | Shell | mit | 710 |
#!/bin/bash
# Script Name: AtoMiC Certbot Installer
echo
echo -e "${GREEN}AtoMiC Certbot Installer Script$ENDCOLOR"
source "$SCRIPTPATH/utils/python/python-installer.sh"
source "$SCRIPTPATH/utils/certbot/certbot-constants.sh"
source "$SCRIPTPATH/utils/certbot/certbot-repository-configurator.sh"
source "$SCRIPTPATH/inc... | TommyE123/AtoMiC-ToolKit | utils/certbot/certbot-installer.sh | Shell | mit | 495 |
#!/bin/bash
name="norx"
hidden_dir="/home/$name/.$name"
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
if [ ! -d $hidden_dir ]; then
sudo -u $name mkdir $hidden_dir
fi
if [ ! -f "$hidden_dir/.done_profile" ]; then
# Set locale to when user logs into the V... | bengler/norx | sh/base_setup.sh | Shell | mit | 4,757 |
#!/bin/bash
set -eu
os="${1:-linux}"
arch="${2:-amd64}"
stack_name="buildkite-aws-stack-test-${os}-${arch}-${BUILDKITE_BUILD_NUMBER}"
stack_queue_name="testqueue-${os}-${arch}-${BUILDKITE_BUILD_NUMBER}"
# download parfait binary
wget -N https://github.com/lox/parfait/releases/download/v1.1.3/parfait_linux_amd64
mv pa... | buildkite/elastic-ci-stack-for-aws | .buildkite/steps/launch.sh | Shell | mit | 2,868 |
#!/usr/bin/env bash
echo "Install nexus repository manager. Port:8081"
sudo docker volume create --name nexus-data
sudo docker run -d --restart=always -p 8081:8081 --name nexus -v nexus-data:/nexus-data sonatype/nexus3 | wizardbyron/provisioners | facility/nexus/nexus.sh | Shell | mit | 218 |
##depends:none
# rtg-tools, BSD License
cd ${TMPDIR_PATH}/
wget https://github.com/RealTimeGenomics/rtg-tools/releases/download/3.8.3/rtg-tools-3.8.3-linux-x64.zip
unzip rtg-tools-3.8.3-linux-x64.zip -d ${TOOLS_PATH}
cd ${TOOLS_PATH}
ln -s rtg-tools-3.8.3 rtg
| chipster/chipster-tools | setup/bundles/bundle_binaries/modules/external_tools/rtg-tools.bash | Shell | mit | 274 |
#!/bin/bash
nvm use v4.3.2
node data/datagen.js
node-lambda package -p build -n looks-like -e production -f deploy.env -x "alexa data spec test .gitignore build-package.sh"
| nstublen/alexa-looks-like-game | build-package.sh | Shell | mit | 174 |
#! /bin/bash
OUTF=rem-duplicates.sh;
echo "#! /bin/sh" > $OUTF;
echo "" >> $OUTF;
find "$@" -type f -print0 | xargs -0 -n1 md5sum | sort --key=1,32 | uniq -w 32 -d --all-repeated=separate | sed -r 's/^[0-9a-f]*( )*//;s/([^a-zA-Z0-9./_-])/\\\1/g;s/(.+)/#rm \1/' >> $OUTF;
chmod a+x $OUTF
| kindasimple/play | scripts/dupes/find_dupes.sh | Shell | mit | 314 |
#!/usr/bin/env bash
# Install the latest miniconda package manager
# All must be run as root
[ $(/usr/bin/id -u) -ne 0 ] \
&& echo 'Must be run as root!' \
&& exit 1
# Distro-speciic Dependencies =====================================
if [ -n "$(type yum 2>/dev/null)" ]; then ## CentOS/Fedora ##
# R... | jakebrinkmann/dotfiles | install/conda.sh | Shell | mit | 1,173 |
echo "Input the number of lines to read from the tail:"
read number_of_lines
echo `tail -n $number_of_lines cols1_2.txt > tail_"$number_of_lines".txt`
| yasutaka/nlp_100 | johnny/第2章/15.sh | Shell | mit | 153 |
#!/bin/bash
# This script generates json configuration files for check-web using values
# from the SSM parameter store.
# The following environment variables must be set:
if [[ -z ${DEPLOY_ENV+x} || -z ${DEPLOYDIR+x} || -z ${AWS_DEFAULT_REGION+x} ]]; then
echo "DEPLOY_ENV, DEPLOYDIR, and AWS_DEFAULT_REGION must be ... | meedan/check-web | production/bin/create_configs.sh | Shell | mit | 1,252 |
#!/bin/bash
sudo yum install python git
sudo yum install python-pip
sudo pip install --upgrade pip
sudo pip install markdown
sudo yum install pycrypto
# git clone https://www.github.com/zamalchi/hoursapp.git
# cd hoursapp
#../launcher.sh
| TechSquareInc/hours | installers/centos7-installer.sh | Shell | mit | 243 |
#!/bin/bash
#!/bin/bash
python ./manage.py dumpdata --format json \
--indent 4 \
--output './cinemair/fixtures/initial_data.json' \
'cinemas.Cinema' \
'movies.Movie' \
'shows.Show... | Cinemair/cinemair-server | scripts/regenerate_fixtures.sh | Shell | mit | 322 |
#! /bin/bash
if [ -n "$1" ]; then pushd $1 ; fi
echo ""
echo "[LuaSkin shared] --> [LuaSkin threaded]:"
ack --objc '\[LuaSkin\s+shared\]'
echo ""
echo "refTable -> [skin refTableFor:USERDATA_TAG]"
ack --objc '[lL]uaRef:\w+'
ack --objc 'luaUnref:\w+'
echo""
echo "Non-unique refTable:"
ack --objc "\w+\s*=\s*\[\w+\s+r... | asmagill/hs._asm.luathread | evaluate.sh | Shell | mit | 571 |
#!/bin/bash
#
# <Replace with the description and/or purpose of this shell script.>
# Declare global variables
#
# <Replace with the variables of your shell script.>
HOSTNAME=$(hostname)
DATETIME=$(date)
# Declare functions
#
# <Replace with the functions of your shell script.>
function hello() {
if [ $# -eq 0 ]
... | leovant/examples | shell/template.sh | Shell | mit | 681 |
#!/usr/bin/env bash
#
# (c) 2017-2018 Konstantin Gredeskoul
#
# MIT License, distributed as part of `sym` ruby gem.
# • https://github.com/kigster/sym
#
#==============================================================================
#
# The purpose of this script is to transparently edit application secrets in
# Rails ... | kigster/sym | bin/sym.symit.bash | Shell | mit | 24,207 |
#!/bin/bash
cd /opt
rm -fr mold-api
git clone -b $BRANCH https://github.com/mo-ld/mold-api.git
cd mold-api
/bin/bash -l -c "rvm requirements && rvm install 2.3.0 && gem install bundler --no-ri --no-rdoc && bundle install"
wait
source /etc/profile.d/rvm.sh
rvm use ruby-2.3.0
cd /opt/mold-api/
unicorn -p 9393 --env prod... | mo-ld/mold-dock | docker-mold-api/mold-api-entry.debug.sh | Shell | mit | 327 |
#!/bin/bash
cd ~/dev/
if [ "$1" == "www" ]; then
npm install &>/dev/null
bower install &>/dev/null
cd backend && forever start server.js
fi
if [ "$1" == "nas" ]; then
npm install &>/dev/null
cd nas && forever start server.js
fi | jirojo2/cdps | run.sh | Shell | mit | 235 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: unicorn
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Manage unicorn server
# Description: Start, stop, restart unicorn server for a specific applicatio... | volontarian/murd.ch | config/unicorn_init.sh | Shell | mit | 1,749 |
#!/bin/bash
# Microsoft IIS Internal IP Leak Validator
# By Luis "connection" Santana
# HackTalk Security
if [ $# -ne 2 ]; then
echo Usage: $0 IP Port
exit
fi
echo [*] sending Get request to $1 on port $2
printf "GET / HTTP/1.0\r\nCONNECTION: CLOSE\r\n\r\n" | nc $1 $2 | grep Content-Location:
echo [*] done
| connection/validation-scripts | HTTP/internalIpLeak.sh | Shell | mit | 320 |
# This file was generated on 2015-03-15T22:57:16-07:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
function is_mri {
if ruby -e "exit(!defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby')"; then
# RUBY_ENGINE only returns 'ruby' on MRI.
# MRI 1.... | eugeneius/rspec-core | script/predicate_functions.sh | Shell | mit | 1,232 |
#!/bin/bash
if test "$1" = "run"; then
port=8080
if [ $2 ]; then
port=$2
fi
bundle exec jekyll serve --watch --host=0.0.0.0 --port=$port
elif test "$1" = "build"; then
bundle exec jekyll build --destination=dist
elif test "$1" = "deploy"; then
bundle exec jekyll build --destination=dist
cos-upload lo... | lxy444/lxy444.github.io | blog.sh | Shell | mit | 430 |
#!/bin/bash
git checkout gh-pages
git merge master
./gradlew clean asciidoctor
cp -R build/asciidoc/html5/* .
git commit -a -m "Updated files"
git push origin gh-pages
git checkout master | kiview/testcontainers-grails-workshop | update_ghpages.sh | Shell | mit | 188 |
DISTNAME=arch
RELVER=
BASEURL=http://mirror.vpsfree.cz/archlinux/iso/latest
# Using the Bootstrap Image
rline=`curl $BASEURL/md5sums.txt | grep bootstrap | grep x86_64`
bfile=${rline##* }
RELVER=`echo $bfile | awk -F- '{print $3}'`
wget -P $DOWNLOAD $BASEURL/$bfile
md5s=`md5sum $DOWNLOAD/$bfile`
if [ ${rline%% *} !=... | pvanek/build-vpsfree-templates | templates/arch.sh | Shell | mit | 1,867 |
#!/usr/bin/env bash
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
| smyrick/dot-files | bash-profile/tools/nodejs.sh | Shell | mit | 79 |
pushd `dirname $0` > /dev/null
SCRIPTPATH=`pwd`
popd > /dev/null
JARPATH="$SCRIPTPATH/target"
if [ ! -d "$JARPATH" ]; then
echo "Cumulonimbus does not exists. Probably not yet built. Please use \"mvn clean install\""
exit 1
fi
java -jar "$JARPATH"/cumulonimbus-*.jar $@ | martinjmares/javaone2015-cloudone | cumulonimbus/start.sh | Shell | mit | 276 |
#!/bin/bash
# Mounting is done here instead of etcd because of bug https://bugs.launchpad.net/cloud-init/+bug/1692093
# Once the bug is fixed, replace the below with the cloud init changes replaced in https://github.com/Azure/acs-engine/pull/661.
set -x
DISK=/dev/sdc
PARTITION=${DISK}1
MOUNTPOINT=/var/lib/etcddis... | rjtsdl/acs-engine | parts/k8s/kubernetes_mountetcd.sh | Shell | mit | 923 |
#!/usr/bin/env sh
git clone --depth=1 https://github.com/eriklarko/golang-hello-world.git /go/src
| SaferSocietyGroup/suab | examples/golang-hello/checkout-code.sh | Shell | mit | 99 |
adb shell am start -n com.playstation.remoteplay/.RpActivityMain
sleep 5
adb shell input tap 850 460
source Xperia_Z2_Tablet/coords_portrait
#source Xperia_Z2_Tablet/coords_landscape
| snipem/ps4-remote-play-control | startremoteplay.sh | Shell | mit | 183 |
#!/bin/bash
SMP=4
MEM=2048
#NETWORK=e1000
NETWORK=virtio
GRAPHIC= #-nographic
GRAPHIC_FLAG=0
QEMU=$(which qemu-system-x86_64)
$QEMU -cpu host,level=9 -enable-kvm -smp $SMP -m $MEM $GRAPHIC -hda qemu.img -net nic,model=$NETWORK -net "user,hostfwd=tcp::5556-:22" -gdb tcp::9999 &
#-monitor telnet:127.0.0.1:1234,server,... | Granary/granary2 | scripts/vmlaunch.sh | Shell | mit | 391 |
#!/usr/bin/bash
seq -f '%.0f' 3 2 8000000 | factor | gawk '/ .* /{next} BEGIN{f=0;t=1;fifo[0]=2} {while(fifo[f]<$2){print fifo[f];fifo[t]=fifo[f]**2;f+=1;t+=1}} {print $2; fifo[t]=$2*$2;t+=1}' | head -500500 | gawk 'BEGIN{s=1}{s=(s*$1)%500500507}END{print s}'
| DestructHub/ProjectEuler | Problem500/Bash/solution_1.sh | Shell | mit | 260 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3154-1
#
# Security announcement date: 2015-02-05 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:13 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - ntp:1:4.2.6.p5+dfsg-2+deb7u2
#
# Last... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2015/DSA-3154-1.sh | Shell | mit | 650 |
#!/bin/bash
HEADER="#pragma once
#include \"../SubSystem.h\"
class $1 : public SubSystem {
public:
$1();
~$1();
virtual void Startup();
virtual void Update(const double deltaTime);
virtual void Shutdown();
private:
};
"
BODY="#include \"$1.h\"
$1::$1(){
}
$1::~$1(){
}
void $1::Startup() {
}
void $1::Update... | exnotime/Tephra | src/Core/subsystem/systems/CreateSubsystem.sh | Shell | mit | 424 |
#!/usr/bin/env bash
clean() {
rm -f $file1
}
trap clean EXIT
file1=`mktemp`
docker run --rm $1 steamcmd +quit > $file1 || exit 1
| BraisGabin/dst-server | test/steamcmd-path/run.sh | Shell | mit | 132 |
: ${baseURL:="https://api.respoke.io/v1"}
: ${appToken:?"appToken required"}
curl -X POST -H "App-Token: $appToken" -H 'Content-type: application/json' \
$baseURL/turn
# {
# "username": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.0000000000",
# "password": "XXXXXXXXXXXX+XXXX... | respoke/docs | examples/turn.sh | Shell | mit | 428 |
export GRADLE_HOME=/Users/williamwatson/Documents/java-libs/gradle-2.11
export PATH="$GRADLE_HOME/bin:$PATH"
| wwatson/dotfiles | java/path.zsh | Shell | mit | 109 |
#!/bin/bash
#ssh pi@axiom 'cd ~/git/hrl_autobed_dev/autobed_web/scripts/; touch test_file'
touch ~/ros_workspace/git/hrl_autobed_dev/autobed_web/scripts/test_file
#./autobed_kill.sh
echo "this is a test" | gt-ros-pkg/hrl_autobed_dev | autobed_web/scripts/test.sh | Shell | mit | 206 |
../../contrib/docker/forwindows/requirements.sh | vergecurrency/raspi | building/windows/requirements.sh | Shell | mit | 47 |
#--
#-- Stop FitNesse
#--
#-- set INSTALLDIR to the directory in which FitNesse was installed
INSTALLDIR=/appl/testautomation/fitnesse
#--
pidfile=$INSTALLDIR/fit.pid
[[ -f $pidfile ]] && { kill `cat $pidfile` ; rm $pidfile ; }
| consag/fitnessefixtures | linuxscripts/stopFitNesse.sh | Shell | epl-1.0 | 229 |
#!/bin/bash
touch /home/pi/shutdown.log;
php /home/pi/BatteryAlert.php >> /home/pi/shutdown.log;
ssh root@10.1.1.4 'sh /vmfs/volumes/datastore1/scripts/ESXIShutdown.sh' >> /home/pi/shutdown.log;
ssh -p 1022 root@10.1.1.1 'shutdown -r now' >> /home/pi/shutdown.log;
shutdown 0;
| zzzz401/APC-Battery-ESXI-Shutdown | PowerFailure.sh | Shell | gpl-2.0 | 277 |
#!/bin/bash
#
# Script to make an installable package of the plugin.
#
# Uses xcodebuild, pkgbuild and productbuild.
#
# Create a clean install directory...
if test -d build/Package; then
sudo chmod -R u+w build/Package
sudo rm -rf build/Package
fi
mkdir -p build/Package/Root
mkdir -p build/Package/Resources
# Inst... | shysaur/ChiptuneMDImporter | makepackage.sh | Shell | gpl-2.0 | 1,381 |
#!/bin/bash
service postgresql start
service celeryd start
rm -f /var/run/redis_6379.pid
service redis_6379 start
#service httpd start
/usr/sbin/apachectl -D FOREGROUND
| fredericlemoine/lsd-web | docker_files/init_docker.sh | Shell | gpl-2.0 | 170 |
#!/bin/bash
#
# Create a new repo.
# THIS HAS TO BE RUN ON THE GIT SERVER!
# WARNING:
# This file is maintained within ansible
# All local changes will be lost.
# Figure out the environment we're running in
GITROOT=/var/lib/dist-git/git/rpms
# check if a moron is driving me
if [ ! -d $GITROOT ] ; then
# we're ... | pombredanne/dist-git | scripts/dist-git/git_package.sh | Shell | gpl-2.0 | 3,903 |
#!/bin/sh
# script for execution of deployed applications
#
# Sets up the MCR environment for the current $ARCH and executes
# the specified command.
#
exe_name=$0
exe_dir=`dirname "$0"`
echo "------------------------------------------"
if [ "x$1" = "x" ]; then
echo Usage:
echo $0 \<deployedMCRroot\> args
else
... | cevo-public/TreePar-MatlabPlugin | Compiled/run_ReadTreeFcn.sh | Shell | gpl-2.0 | 840 |
#!/bin/bash
#
# Johnathon Trumble
# john.trumble@oracle.com
# March 18, 2015
#
# Post-domain-extension configuration script
#
# CHANGELOG
# 03/18/2015 - Tweaked logic to determine if AdminServer is running
# 03/19/2015 - Added JOC configuration
# Added logging configuration update
# 03/23/2015 - Added NodeManager ... | trumble117/wcc_deploy | fmwsetup/scripts/10-post_domain_config.sh | Shell | gpl-2.0 | 6,774 |
rm -rf simv* csrc simv.daidir
vcs \
-sverilog \
-timescale="1ns/1ns" \
FlyBehavior.sv \
FlyWithWings.sv \
FlyNoWay.sv \
QuackBehavior.sv \
Quack.sv \
MuteQuack.sv \
Squeak.sv \
Duck.sv \
MallardDuck.sv \
DecoyDuck.sv \
RubberDuck.sv \
ModelDuck.sv \
MiniDuckS... | tenthousandfailures/systemverilog-design-patterns | strategypattern/example/run_synopsys.sh | Shell | gpl-2.0 | 365 |
#!/bin/bash
DOTFILES=$HOME/.dotfiles
echo "creating symlinks"
linkables=$( ls -1 -d **/*.symlink )
for file in $linkables ; do
target="$HOME/.$( basename $file ".symlink" )"
echo "creating symlink for $file"
ln -s $DOTFILES/$file $target
done
mkdir $HOME/.config/matplotlib
ln -s $DOTFILES/config/matplotl... | romain-fontugne/dotfiles | install/link.sh | Shell | gpl-2.0 | 465 |
#!/bin/bash
BASE_DIR=$(dirname $0)
cd $BASE_DIR
CURRENT_DIR=`pwd`
lnif() {
if [ -e "$1" ]; then
ln -sf "$1" "$2"
fi
}
today=`date +%Y%m%d`
list=( \
bashrc \
zshrc \
profile.robc \
profile.devel \
byobu \
dot_emacs \
fetchmailrc \
... | robbie-cao/xnix-config | install.sh | Shell | gpl-2.0 | 1,578 |
#!/bin/bash
[ "${FNRDEBUG:-0}" -gt 1 ] && set -x
# Synopsis {{{1
# The 'multi' source outputs at most $MAXREC (500) records to the tree
# list widget. Each row displays its own icon, which is chosen in
# alphabetical order from the icon cache. The row label is the icon
# name. Activating a row brings up a demo Xdi... | step-/find-n-run | usr/share/findnrun/doc/examples/multi-field-tap.sh | Shell | gpl-2.0 | 4,407 |
#!/bin/bash
# Iridium browser OSX signing script for outside of Mac App Store
# Copyright (C) 2015 struktur AG <opensource@struktur.de>
# 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 v... | guorendong/iridium-browser-osx | code_signing/sign.sh | Shell | gpl-2.0 | 4,154 |
## setting up dotfiles
set -u
# zsh
ln -ivs $PWD/zshrc ~/.zshrc
ln -ivs $PWD/zshenv ~/.zshenv
ln -ivs $PWD/git-prompt.sh ~/.git-prompt.sh
ln -ivs $PWD/zprofile ~/.zprofile
# emacs
mkdir -vp ~/.emacs.d/
ln -ivs $PWD/init.el ~/.emacs.d/init.el
test -e ~/.emacs && echo '!!!warning .emacs file exists. should be removed'
... | ryna4c2e/dotfiles | setup.sh | Shell | gpl-2.0 | 854 |
sudo defaults write /System/Library/LaunchDaemons/com.apple.coreservices.appleevents ExitTimeOut -int 5
sudo defaults write /System/Library/LaunchDaemons/com.apple.securityd ExitTimeOut -int 5
sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ExitTimeOut -int 5
sudo defaults write /System/Librar... | erikdejonge/devenv | setfastshutdown.sh | Shell | gpl-2.0 | 496 |
find_cmd_val()
{
if [ -n "$QUERY_STRING" ]
then
query1=$(echo "$QUERY_STRING" | cut -d"&" -f1)
cmd=$(echo "$query1" | cut -d"=" -f1)
if [ "$cmd" = "cmd" ]
then
echo "$(echo "$query1" | cut -d"=" -f2)"
else
echo "Unknown cmd"
fi
else
echo "No query string"
fi
}
print_footer()... | ReinhardProbst/WBM | htdocs/OL91/cgi-bin/upgrade.sh | Shell | gpl-2.0 | 1,879 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | atmark-techno/atmark-dist | user/imagemagick/tests/rwfile_PNM_bilevel.sh | Shell | gpl-2.0 | 362 |
#!/usr/bin/env bash
# Author: cbweaver (https://github.com/cbweaver)
# Description: Handle output to stdout and stderr
reset_all="\033[0m"
reset_bold="\033[21m"
bold="\033[1m"
black="\033[0;30m"
dark_gray="\033[1;30m"
blue="\033[0;34m"
light_blue="\033[1;34m"
green="\033[0;32m"
light_green="\033[1;32m"
cyan="\033[0;3... | cbweaver/cms-manager | lib/output.sh | Shell | gpl-2.0 | 1,984 |
. ./init.sh
# commits every 1000 rows
# sql thread stops normally (simulating offline backup job)
mysql $S1 test -e "set global relay_log_purge=0"
mysql $S2 test -e "set global relay_log_purge=0"
mysql $S3 test -e "set global relay_log_purge=0"
mysql $S4 test -e "set global relay_log_purge=0"
mysql $S3 test -e "flus... | cenalulu/mha4mysql-manager-dp | tests/t/t_large_data_sql_fail.sh | Shell | gpl-2.0 | 1,047 |
#!/bin/sh
pwd=`pwd`
contege="${pwd}/pre-built/ConTeGe.jar"
contegeLibs="${pwd}/lib/scala-lib-2.11.8.jar:${pwd}/lib/asm-tree-4.0.jar:${pwd}/lib/asm-4.0.jar:${pwd}/lib/tools.jar:${pwd}/lib/testSkeleton.jar:${pwd}/lib/commons-io-2.0.1.jar:${pwd}/lib/jpf.jar:${pwd}/lib/bcel-5.2.jar"
contegeOwnLibs="${pwd}/ownLibs/javaMod... | michaelpradel/ConTeGe | scripts/ClassTester_pre-built.sh | Shell | gpl-2.0 | 1,368 |
#!/usr/bin/env bash
cd ..
java -jar video/target/video-0.0.1.jar serve video/media/sample-thor.mp4 "C:/Program Files/VideoLAN/VLC" | at15/cs433 | video/serve-stream.sh | Shell | gpl-2.0 | 130 |
#!/bin/sh
# --------------------------------------------------------------------------
# install script for Osx
# --------------------------------------------------------------------------
# Processing Wrapper for the Oculus Rift library
# http://github.com/xohm/SimpleOculusRift
# --------------------------------------... | xohm/SimpleOculusRift | installOsx.sh | Shell | gpl-2.0 | 1,202 |
#!/bin/bash
# For RHEL or Fedora
# installing kubeadm
# https://kubernetes.io/docs/setup/independent/install-kubeadm/
# kubeadm config print init-defaults
# https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta1
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https:/... | jijianwen/Learn | Linux/container/geektime/11_deploy_k8s_cluster/install_kubeadm.sh | Shell | gpl-2.0 | 2,155 |
git mv $1 archive/
cp $2 ~/sources/kinoraw_repo/
cd ~/sources/kinoraw_repo/
git add $2
git rm $1
git commit -a -m "new kinoraw_tools release"
git push | kinoraw/kinoraw_tools | commit_release.sh | Shell | gpl-2.0 | 150 |
#!/bin/bash
[ -z "$RTAGS_DISABLED" ] && [ -x "$(which rc)" ] && rc --silent --compile "$@" &
[ -n "$RTAGS_RMAKE" ] && exit 0
compiler="$1"
shift
$compiler "$@"
exit $?
| hitmoon/emacs-conf | emacs.d/elpa/rtags-20200221.36/rtags-2.38/bin/rtags-gcc-prefix.sh | Shell | gpl-2.0 | 169 |
#!/usr/bin/env bash
# Author: Jon Schipp
# Nagios Exit Codes
OK=0
WARNING=1
CRITICAL=2
UNKNOWN=3
usage()
{
cat <<EOF
Nagios plug-in that checks packet rate for traffic specified with a bpf
Options:
-i Network interface
-f <bpf> Filter in libpcap syntax
-t <int> Time interval in seconds (def: 1)
-w <int... | jonschipp/nagios-plugins | check_traffic.sh | Shell | gpl-2.0 | 2,422 |
#!/usr/bin/env bash
#
# XStream Complete Test Suite, version 1
# script to run the complete collection of test suites.
##########################################
#
#
#
#
#
#
readonly XDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source "${XDIR}/TestFramework/TestSuite.sh" ${XDIR};
function XStreamTestSui... | ncdesouza/xstream | frontend/test/XStreamTestSuite.sh | Shell | gpl-2.0 | 479 |
#!/bin/sh
set -ex
# Build jcgo.jar and "auxbin" .jar files; generate Java source files of "rflg_out".
#
# Prerequisites:
# * Oracle JDK 1.6.0 (or 1.4.2_19)
# * curl ftp://ftp.gnu.org/gnu/classpath/classpath-0.93.tar.gz | tar zxf -
# * mkdir -p contrib/swt
# * unzip swt-3.8-win32-win32-x86.zip src.zip -d contrib/swt/sw... | ivmai/JCGO | mkjcgo/build-java.sh | Shell | gpl-2.0 | 2,976 |
#!/bin/bash
#Bitscout project
#Copyright Kaspersky Lab
. ./scripts/functions
UNPACKED_INITRD=0
if [ ! -d "./build.$GLOBAL_BASEARCH/initrd" ]
then
statusprint "Unpacking initrd.."
scripts/initrd_unpack.sh
UNPACKED_INITRD=1
fi
if [ $GLOBAL_TARGET = "iso" ]; then
statusprint "Fixing casper find_livefs method.."... | vitaly-kamluk/bitscout | scripts/initrd_findlivefs_fix.sh | Shell | gpl-2.0 | 892 |
#!/bin/bash
export PATH=/data/apps/bin:$PATH
cd /data/Lacuna-Server/bin
perl clean_up_empires.pl >>/tmp/hourly.log 2>>/tmp/hourly.log
perl sanitize_ss.pl >>/tmp/hourly.log 2>>/tmp/hourly.log
perl summarize_economy.pl >>/tmp/hourly.log 2>>/tmp/hourly.log
perl generate_news_feeds.pl >>/tmp/news_feeds.log 2>>/tmp/news_fee... | Imzogelmo/Lacuna-Server-Open | bin/run_hourly.sh | Shell | gpl-2.0 | 1,135 |
# ----------------------------------------------------------------------------
# Mostra a classificação e jogos do torneio Libertadores da América.
# Opções:
# <número> | <fase>: Mostra jogos da fase selecionada
# fases: pre ou primeira, grupos ou segunda, oitavas
# -g <número>: Jogos da segunda fase do grupo sele... | gmgall/funcoeszz | zz/zzlibertadores.sh | Shell | gpl-2.0 | 6,275 |
#!/bin/bash
# usage:
# video.is.AV1.sh FILE='xyz.mkv'
# THIS ALLOWS INJECTING VARS into the local namespace
# might not be very secure, be careful how you declare & check variables
for ARGUMENT in "$@"; do
KEY=$(echo $ARGUMENT | cut -f1 -d=)
VALUE=$(echo $ARGUMENT | cut -f2- -d=)
declare $KEY="$VALUE"
done
... | quamis/scripts-sh | video/video.is.AV1.sh | Shell | gpl-2.0 | 466 |
#!/bin/sh
#
# Copyright (C) 2010 The Android Open Source Project
#
# 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 app... | rex-xxx/mt6572_x201 | ndk/build/tools/build-stlport.sh | Shell | gpl-2.0 | 5,885 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-2020 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... | ppannuto/tup | test/t6025-change-multi-output3.sh | Shell | gpl-2.0 | 1,214 |
#/bin/sh
# file: simulate_mti.sh
#
# (c) Copyright 2008 - 2011 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 ... | orbancedric/DeepGate | other/Mojo Projects/Mojo-SDRAM/ipcore_dir/sdram_clk_gen/simulation/timing/simulate_mti.sh | Shell | gpl-3.0 | 2,635 |
#desc:Weekday
date +%w
| opalenzuela/opendomo-automation | usr/local/opendomo/bin/weekday.sh | Shell | gpl-3.0 | 23 |
#!/bin/bash
sudo update-alternatives --remove-all ControlPanel
sudo update-alternatives --remove \
itweb-settings \
/usr/lib/jvm/jdk-7-oracle-x64/jre/bin/ControlPanel
sudo update-alternatives --install \
/usr/bin/itweb-settings \
itweb-settings \
/usr/lib/jvm/jdk-7-oracle-x64/jre/bin/ControlPanel \
317
sudo... | jmanoel7/my_shell_scripts | bin/configure-ControlPanel-debian.sh | Shell | gpl-3.0 | 407 |
#!/bin/sh
export GR_DONT_LOAD_PREFS=1
export srcdir=/home/katsikas/gnuradio/gnuradio-core/src/python/gnuradio/gr
export PATH=/home/katsikas/gnuradio/build/gnuradio-core/src/python/gnuradio/gr:$PATH
export LD_LIBRARY_PATH=/home/katsikas/gnuradio/build/volk/lib:/home/katsikas/gnuradio/build/gruel/src/lib:/home/katsikas/g... | katsikas/gnuradio | build/gnuradio-core/src/python/gnuradio/gr/qa_frequency_modulator_test.sh | Shell | gpl-3.0 | 622 |
# Updates for the 1.67.0 Release
PHP=${1}
echo "wp --allow-root plugin activate classic-editor"
wp --allow-root plugin activate classic-editor
wp --allow-root core update-db | proudcity/wp-proud-composer | updates/release-1.67.0.sh | Shell | gpl-3.0 | 175 |
#!/bin/bash
DESTDIR_SQ=/usr
bindir_SQ=/bin
perfexec_instdir_SQ=/libexec
OUTPUT=./
INSTALL=install
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
$(INSTALL) $(OUTPUT)perf '$(DESTDIR_SQ)$(bindir_SQ)'
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace'
$(INSTALL) -d -... | gatieme/EnergyEfficient | script/script_result/install_perf/install_perf.sh | Shell | gpl-3.0 | 1,277 |
#!/bin/bash
# Network Interface Wizard
# CS 126, Lab 8
# Thurman Gillespy, 2/11/17
# get some defaults
NUMETH=$(ip a | grep eth[0-9]: | wc -l)
ETHLIST=$(ip a | grep eth[0-9]: | awk '{print $2}' | sed 's/://')
DEFNAMESERVER=$(cat /etc/resolv.conf | grep name | awk '{print $2}')
#might be more than 1, so pick the first
... | tgill880/CS126 | bin/netwiz.sh | Shell | gpl-3.0 | 4,865 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YBR191W --paralog2 YPL079W --simnum 20 > YBR191W_YPL079W_MG94_nonclock_Sim20_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YBR191W_YPL079W_sim20.sh | Shell | gpl-3.0 | 145 |
#!/bin/sh
#production binary for bootloader
#dfu-util -a 0 --dfuse-address 0x08010000 -D /tmp/ArduCopter.build/revomini_Revolution.bin
# bare metal binary
#dfu-util -a 0 --dfuse-address 0x08000000:unprotect:force -D /tmp/ArduCopter.build/revomini_Revolution.bin
dfu-util -a 0 --dfuse-address 0x08000000:leave -D ../../... | dgrat/ardupilot | libraries/AP_HAL_F4Light/boards/revomini_Revolution/support/UPLOAD-DFU-plane.sh | Shell | gpl-3.0 | 367 |
host='https://cgit.freedesktop.org/'
for folder in `curl -s $host/libreoffice/dictionaries/tree/ | grep 'ls-dir' | cut -d "'" -f 6`; do
for file in `curl -s $host$folder | grep 'ls-blob' | grep 'hyph_.*\.dic' | cut -d "'" -f 6`; do
wget -N `echo $host$file | sed 's/tree/plain/'`
done
done
| kaysinds/PoopDog | dicts/en/pyphen/dictionaries/update.sh | Shell | gpl-3.0 | 307 |
#!/bin/sh
DIR="$( cd "$( dirname "$0" )" && pwd )"
mkdir /usr/src/acpi_call-0.0.1
cp $DIR/dkms.conf $DIR/src/* /usr/src/acpi_call-0.0.1
dkms add -m acpi_call -v 0.0.1
dkms build -m acpi_call -v 0.0.1
dkms install -m acpi_call -v 0.0.1
| z0rc/debumblebee | install-files/contrib/acpi_call/install.sh | Shell | gpl-3.0 | 237 |
#########################################
# GNU GPL License v3 #
# Author: Amir Yahyavi #
#########################################
#!/bin/bash
source deploynodes.sh
startnodes | yahyavi/solrcloud | scripts/startnodes.sh | Shell | gpl-3.0 | 214 |
#/bin/bash
echo rm -rf SXI/flatten
rm -rf SXI/flatten
echo mkdir SXI/flatten
mkdir SXI/flatten
echo cd SXI
cd SXI
echo ../../flatten-hierarchy flatten DriverBoard.*.sch J?.sch TCE.sch
time ../../flatten-hierarchy flatten DriverBoard.*.sch J?.sch TCE.sch
| xcthulhu/lambda-geda | tests/flatten_SXI.sh | Shell | gpl-3.0 | 255 |
#!/usr/bin/env bash
for file in $(find . -name "updatefilelist.txt"); do
filename=${file##*/} # Learn filename in string path, filename=$(basename $file)
path=${file%$filename} # Learn up directory updirname=$(dirname $file)
variable="filelist.txt"
mv $file ${path}${variable}
done
| pleycpl/scripts-shell | change_filename_in_directory.sh | Shell | gpl-3.0 | 313 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
node $DIR/../scripts/get_serialnumber.js
serialnumber=$(<$DIR/../conf/serialnumber)
echo $serialnumber
docker rm -f ehealth_platform
docker run --name ehealth_platform --net=host -it --privileged -d -p 127.0.1.1:3000:3000 -v /dev/ttyACM0:/dev/ttyACM0... | mibzzz/ehealth-platform | bin/run_app.sh | Shell | gpl-3.0 | 379 |
#! /bin/sh
g++ simplest_ffmpeg_video_filter.cpp -g -o simplest_ffmpeg_video_filter.exe \
-I /usr/local/include -L /usr/local/lib \
-lmingw32 -lSDLmain -lSDL -lavformat -lavcodec -lavutil -lavfilter -lswscale
| YuxuanLing/trunk | trunk/code/study/ffmpeg/simplest_ffmpeg_video_filter/simplest_ffmpeg_video_filter/compile_mingw.sh | Shell | gpl-3.0 | 212 |
sudo avrdude -B5 -p m328p -c usbasp -P usb -v -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0xFD:m
| jsoloPDX/Inductive-Proximity-MIDI-Controller-PSU-Capstone-Project-11 | T11-firmware/fuses.sh | Shell | gpl-3.0 | 100 |
#!/bin/bash
# ffmpegupreverse
# a script to reverse the installation ONLY of x264 and ffmpeg by my ffmpegup and / or newinstall scripts
# taken from the excellet tutorial found here:
# http://ubuntuforums.org/showthread.php?t=786095&highlight=ffmpeg+x264+latest
# all props to fakeoutdoorsman, not me
# check http://cod... | kent1D/mediaspip_scripts | exemples/ffmpegupreversev1.1.sh | Shell | gpl-3.0 | 5,146 |
#!/bin/bash
set -e
box_name="${BOX_NAME:=localhost}"
os_major_release="${OS_MAJOR_RELEASE:=7}"
os_minor_release="${OS_MINOR_RELEASE:=3}"
salt_short_release="${SALT_SHORT_RELEASE:=2016.11}"
salt_master="${SALT_MASTER:=10.0.2.2}"
enable_mysql_support="${ENABLE_MYSQL_SUPPORT:=0}"
ensure_minion_starts_on_boot() {
#sys... | belt/workflows | packer/scripts/setup_salt_minion.sh | Shell | gpl-3.0 | 1,415 |
#!/bin/bash
# Copyright (c) 2010-2014, Brian Case
#
# 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, merg... | winkey/grib_contour | share/examples/archive.bash | Shell | gpl-3.0 | 21,295 |
#! /bin/sh
echo "switch to user lippman"
# ensure new user can create file
cd /tmp
rm setuid_demo
rm setgid_demo
rm setuid_setgid_demo
echo "remove testing file ok"
| goodpaperman/apue | 04.chapter/permission/setuid_setgid_order_3.sh | Shell | gpl-3.0 | 166 |
#!/bin/bash
# vim: ts=4:sw=4
. ~/plescripts/plelib.sh
. ~/plescripts/networklib.sh
. ~/plescripts/global.cfg
EXEC_CMD_ACTION=EXEC
typeset test_iso_ol7=yes
typeset -r ME=$0
typeset -r PARAMS="$*"
typeset -r str_usage=\
"Usage : $ME [-skip_test_iso_ol7]
Ce script vérifie que le virtual-host remplie les conditions néce... | PhilippeLeroux/plescripts | validate_config.sh | Shell | gpl-3.0 | 8,604 |
# ################################################################################
# Copyright (C) 2014 PLEYNET & Partners <contact@pleynet.lu>
#
# A Luxembourgish Company, PLEYNET & Partners, www.pleynet.lu
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Gene... | Dessoul/DoubleBackup | Changer_mode.sh | Shell | gpl-3.0 | 2,105 |
#!/bin/bash -ex
#
# DeepSea integration test "suites/ceph-test/pynfs.sh"
#
# This script runs DeepSea stages 0-4 to deploy a Ceph cluster with MDS and
# NFS-Ganesha. After stage 4 completes, it runs the PyNFS test suite.
#
# The script makes no assumptions beyond those listed in qa/README.
#
# This script takes an opt... | LenzGr/DeepSea | qa/suites/ceph-test/pynfs.sh | Shell | gpl-3.0 | 2,803 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.