code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
set -e
echo "################################################################################"
echo "# REBUILDING WITHOUT NODE_ENV"
echo "################################################################################"
unset NODE_ENV
docker run ${DOCKER_RUN_OPTS} npm run build
echo "####################... | nickclar/spark-js-sdk | tooling/pre-release.sh | Shell | mit | 532 |
#!/bin/sh
PLATFORM="linux"
TREE_DIR="../../tree/libtess2"
SRC_DIR="$TREE_DIR/src"
BUILD_DIR="build/$PLATFORM"
INSTALL_DIR="tmp/$PLATFORM"
SRC_PATH="$(pwd)/$SRC_DIR"
INSTALL_PATH="$(pwd)/$INSTALL_DIR"
if [ ! -d "$SRC_PATH" ]; then
echo "SOURCE NOT FOUND!"
exit 1
fi
# ---
TOOLCHAIN_FILE="$CROSS_PATH/core/cmake/... | arielm/chronotext-cross | deps/libtess2/build.linux.sh | Shell | mit | 865 |
#!/bin/bash
set -e
echo "SMELT BUILD MODEL SCRIPT"
MODEL_ROOT="model"
MAKE_NPROC=$(nproc)
export SMLT_HOSTNAME=$(hostname)
export SMLT_MACHINE=$(hostname -s)
if [[ "$1" == "-d" ]]; then
LOGFILE=/dev/stdout
else
LOGFILE=$(readlink -f $MODEL_ROOT/create_overlays_${SMLT_MACHINE}.log)
fi
LIKWID_PATH="$MODEL_R... | libsmelt/libsmelt | scripts/create_overlays.sh | Shell | mit | 1,015 |
#!/usr/bin/env bash
#
# Copyright (c) 2008-2022 the Urho3D project.
#
# 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, co... | urho3d/Urho3D | script/cmake_arm.sh | Shell | mit | 1,205 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2361-1
#
# Security announcement date: 2014-09-24 00:00:00 UTC
# Script generation date: 2017-01-04 21:04:14 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libnss3:2:3.17.1-0ubuntu0.14.04.1
#
... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/x86_64/2014/USN-2361-1.sh | Shell | mit | 646 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2010:0938
#
# Security announcement date: 2010-12-01 23:38:06 UTC
# Script generation date: 2016-05-12 18:10:00 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - glassfish-jaxb.noarch:2.1.4-1.17.patch0... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2010/RHSA-2010:0938.sh | Shell | mit | 4,595 |
#!/bin/sh
cd /src
npm start
| newlight77/raspberry-cluster | server/run.sh | Shell | mit | 29 |
#!/bin/bash
# Base folder
mkdir -p ~/robocup/ultron
cd ~/robocup/ultron
# Add python 3.6 repository if necessary
case $(lsb_release -rs) in
18.04) echo "You have 18.04 you don't need an unofficial repo! Hooray!"
;;
*)
echo "You don't have 18.04 so you need an unofficial repo. sadf"
sudo add-apt-repository ppa:jonat... | RoboCupULaval/StrategyIA | scripts/install_ultron.sh | Shell | mit | 997 |
#!/bin/sh
SCRIPT_PATH=`dirname $0`
echo "amqp-coffee Compiling coffeescript to bin/"
echo $SCRIPT_PATH
rm -rf $SCRIPT_PATH/../bin
mkdir $SCRIPT_PATH/../bin
cp -r $SCRIPT_PATH/../src $SCRIPT_PATH/../bin/
# compile all coffeescript files
find $SCRIPT_PATH/../bin -name "*.coffee" | xargs $SCRIPT_PATH/../node_modules/co... | dropbox/amqp-coffee | scripts/compile.sh | Shell | mit | 438 |
# CFG SYS 1
PROCS=3
| ECP-CANDLE/Supervisor | archives/workflows/simple_uq/test/cfg-sys-1.sh | Shell | mit | 22 |
#!/usr/bin/env bash
block="server {
listen ${4:-80};
listen ${5:-443} ssl;
server_name $2;
root \"$3\";
index index.html index.htm index.php app_dev.php;
charset utf-8;
location / {
try_files \$uri \$uri/ /app_dev.php?\$query_string;
}
location = /favicon.ico { access_lo... | jason-chang/centstead | scripts/serves/symfony2.sh | Shell | mit | 1,876 |
if [ ! -n "$WERCKER_DATADOG_EVENT_TOKEN" ]; then
error 'Please specify token property'
exit 1
fi
if [ ! -n "$WERCKER_DATADOG_EVENT_TITLE" ]; then
error 'Please specify title property'
exit 1
fi
if [ ! -n "$WERCKER_DATADOG_EVENT_TEXT" ]; then
error 'Please specify text property'
exit 1
fi
if [ ! -n "$WERC... | WeAreFarmGeek/wercker-datadog-event-step | run.sh | Shell | mit | 964 |
cat generated/positions/shard-list.txt | util/shuffle | parallel -j+0 --eta './generate-analysis.py --hash=512 --out=generated/analysis/19/{/.}-res.txt --done=generated/analysis/19/{/.}-done.txt --depth=19 --engine=/usr/local/bin/stockfish {} > generated/analysis/19/{/.}.out 2> generated/analysis/19/{/.}.err' >& d19... | rozim/KaggleFindingElo | d19.sh | Shell | mit | 324 |
#!/bin/bash
# Configuration Setup
source ./config
# Install NTP
yum -y install ntp cronie
systemctl enable ntpd.service
systemctl start ntpd.service
systemctl enable crond.service
systemctl start crond.service
# Set up OpenStack repos
yum -y install yum-plugin-priorities epel-release ethtool
yum -y install http://r... | brad-x/openstack | openstack-network/common.sh | Shell | mit | 792 |
#!/bin/sh
# file: implement.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 a ... | chrismasters/fpga-space-invaders | project/ipcore_dir/clocks/implement/implement.sh | Shell | mit | 3,387 |
"$CLOUD_REBUILD" MsgLinux 32 dll debug same | xylsxyls/xueyelingshuang | src/MsgLinux/version_debug.sh | Shell | mit | 43 |
export PATH="/home/marcel/bin/:/usr/bin:/usr/local/bin:/usr/lib/jvm/java-7-openjdk/bin/:$PATH"
export XDG_CONFIG_HOME="$HOME/.config"
export EDITOR="/usr/sbin/vim"
export VISUAL="/usr/sbin/vim"
export CHEATCOLORS=true
export CHERE_INVOKING=1
export TERM=xterm-256color
# Prevent "Couldn't connect to accessibility bus"... | Iambecomeroot/dotfiles | omzsh/exports.sh | Shell | mit | 931 |
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../utils.sh"
install_apps() {
brew_install "FFmpeg" "ffmpeg"
brew_install "Git" "git"
brew_install "Yarn" "yarn"
brew_install "MidnightCommander" "mc"
brew_install "tmux" "tmux"
brew_install "tmux (pasteboard)" "reattach-to-user-name... | abogdan/dotfiles | setup/misc.sh | Shell | mit | 893 |
#!/usr/bin/env bash
source script.sh
function catch() {
case $1 in
0) echo "setup succeeded"
;;
1) echo "script.sh: failed @ clonePhoneCatRepo@14()";
;;
2) echo "script.sh: failed @ checkoutPhoneCatRepoStep12()";
;;
4) echo "script.sh: failed... | bradyhouse/house | fiddles/angular/fiddle-0016-PhoneCatStep12/setup.sh | Shell | mit | 835 |
#!/bin/bash
#bootstrap a minimal chef enviroment
# installs:
# chef
# berkshelf
#reference: http://gettingstartedwithchef.com
DOTCHEF=~/.chef
#Git repo for your cookbooks
REPODIR=~/chef-repo
#Location of ruby install
RUBY_HOME=/opt/chef/embedded
function set_redhat {
PLATFORM="redhat"
PKG_INSTALLER="yum"
P... | stevendborrelli/chef-init | bootstrap.sh | Shell | mit | 2,345 |
#!/bin/bash
sudo yum -y install epel-release
sudo yum -y install gcc curl wget
sudo yum -y install kernel ntp logwatch
sudo yum -y install mod24_ssl openssl openssl-devel
sudo yum -y install httpd
| shifumin/setupfiles | setup_yum_packages.sh | Shell | mit | 199 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2016:1267
#
# Security announcement date: 2016-06-21 21:34:44 UTC
# Script generation date: 2017-01-01 21:17:17 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - setroubleshoot.x86_64:3.0.47-12.el6_8
#... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2016/RHSA-2016:1267.sh | Shell | mit | 1,165 |
alias reload!='. ~/.zshrc'
alias p="cd $PROJECTS"
alias h="cd ~"
alias d="cd ~/dotfiles"
alias g="git"
alias v="vim"
# ssh into vuw server
# for auto-password entry
# 1) ssh-keygen -t rsa -b 2048
# a) specify file to save key to
# b) use blank passphrase
# 2) ssh-copy-id id@server
alias ssh-vuw="ssh hardwiwill@bar... | willhs/dotfiles | zsh/aliases.zsh | Shell | mit | 657 |
#!/bin/bash
# experiment 5: testing bigger LSTM network on 4096 2d and 3d matrix with pure random walk
th main.lua -w world_4096_3d.txt -model lstm -m model_4096_3d_lstm512_b200_l2 -l 2 -n 512 -seqlen 50 -batchsize 200 -maxiter 10000 -dropout 0 -maxnoturnsteps 1
th main.lua -w world_4096_2d.txt -model lstm -m model_40... | andreaskoepf/matrixwalk | run_experiment.sh | Shell | mit | 1,697 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2016:1944
#
# Security announcement date: 2016-09-28 13:40:22 UTC
# Script generation date: 2017-01-16 21:17:40 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - bind-debuginfo.i686:9.8.2-0.47.rc1.el6_... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2016/RHSA-2016:1944.sh | Shell | mit | 1,859 |
#!/usr/bin/env bash
# Use this instead of Nodegit. It's big and unwieldy.
MISC_ASSET_PATH=$(grep "const MISC_PATH" _scripts/eleventy/config.js | cut -d\" -f2)
# Now sync the static assets
if [[ ! -e "$MISC_ASSET_PATH" ]]; then
echo "Could could find the misc assets folder."
exit 1
fi
DATE=$(date "+%Y-%m-%dT... | afreeorange/log | _scripts/push.sh | Shell | mit | 631 |
#! /usr/bin/env sh
set -eu
gnustep_install() {
git clone -b 1.9 https://github.com/gnustep/libobjc2.git
mkdir libobjc2/build
cd libobjc2/build
export CC="clang"
export CXX="clang++"
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/libobjc2_staging ../
make install
}
for arch in $IOS_ARCHS; do
... | SSheldon/rust-objc | travis_install.sh | Shell | mit | 581 |
#!/bin/bash
handlebars `ls widgets/*.handlebars` -f js/templates.js
| 42trees/godash | buildtemplates.sh | Shell | mit | 68 |
#!/usr/bin/env sh
set -e
git stash save
gulp --prod
REV=`git rev-parse HEAD`
git checkout gh-pages
git rm -rf .
git checkout master -- .gitignore
mv dist/* . && rm -rf dist # might to be changed if you have hidden files
git add .
git commit -m "deployed $REV"
git push --all
git checkout master
git stash pop | niko-matses/nikomatses.com | deploy.sh | Shell | mit | 308 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2016:1217
#
# Security announcement date: 2016-06-08 17:06:49 UTC
# Script generation date: 2017-01-25 21:23:43 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - firefox.i386:45.2.0-1.el5_11
# - fire... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2016/RHSA-2016:1217.sh | Shell | mit | 1,106 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2191-1
#
# Security announcement date: 2014-05-01 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:47 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - icedtea-6-jre-cacao:6b31-1.13.3-1ubunt... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2014/USN-2191-1.sh | Shell | mit | 3,101 |
#!/bin/bash
sudo cp bm_util /usr/bin/bm_util
if [[ $? -ne 0 ]]; then
echo -e "Couldn't copy bm_util to /usr/bin/. Installation failed."
exit 1
fi
cp bm_bash ~/.bm_bash
if [[ $? -ne 0 ]]; then
echo -e "Couldn't copy bm_bash to ~/.bm_bash. Installation failed."
exit 1
fi
grep --quiet "^source ~/.bm_bash... | shrsv/bm | install.sh | Shell | mit | 499 |
gcc -std=c99 -Ofast -Wall -Werror -pedantic -o pci_maker.exe pci_maker.c strxtoi.c
| korun/dcs-system | pci/compile.sh | Shell | mit | 83 |
git clone https://github.com/chriskempson/base16-shell.git $HOME/.config/base16-shell
git clone --recursive https://github.com/sorin-ionescu/prezto.git $HOME/.zprezto
| DiogoDoreto/dotfiles | zsh/install.sh | Shell | mit | 167 |
#!/bin/sh
PLATFORM="linux"
TREE_DIR="../../tree/gtest"
SRC_DIR="$TREE_DIR/src"
BUILD_DIR="build/$PLATFORM"
INSTALL_DIR="tmp/$PLATFORM"
SRC_PATH="$(pwd)/$SRC_DIR"
INSTALL_PATH="$(pwd)/$INSTALL_DIR"
if [ ! -d "$SRC_PATH" ]; then
echo "SOURCE NOT FOUND!"
exit 1
fi
# ---
TOOLCHAIN_FILE="$CROSS_PATH/core/cmake/too... | arielm/chronotext-cross | deps/gtest/build.linux.sh | Shell | mit | 854 |
# generated from catkin/cmake/env-hooks/05.catkin-test-results.sh.develspace.in
export CATKIN_TEST_RESULTS_DIR="/home/ubuntu/ros/catkin_ws/src/rover5_ros/build/test_results"
export ROS_TEST_RESULTS_DIR="$CATKIN_TEST_RESULTS_DIR"
| chcbaram/rover5_ros | build/devel/etc/catkin/profile.d/05.catkin-test-results.sh | Shell | mit | 230 |
#!/usr/bin/env bash
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $script_dir/../external/libshellscript/libshellscript/libshellscript.sh
install_path=$HOME/.shell/kube-ps1
mkdir -p $(dirname $install_path)
if ! [[ -e $install_path ]]; then
print_information "installing kube-ps1"
git c... | colajam93/dotfiles | kube-ps1/install.sh | Shell | mit | 422 |
export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
path=("${GOPATH}/bin:${GOROOT}/bin" $path)
| cheremushki/dotfiles | golang/path.zsh | Shell | mit | 119 |
#!/bin/bash
# This script is designed to work with ubuntu 16.04 LTS
# ensure system is updated and has basic build tools
# sudo apt-get update
# sudo apt-get --assume-yes upgrade
# sudo apt-get --assume-yes install tmux build-essential gcc g++ make binutils
# sudo apt-get --assume-yes install software-properties-comm... | stevenliuyi/dotfiles | install/ubuntu_gpu.sh | Shell | mit | 1,593 |
#!/bin/sh
./node_modules/.bin/babel src/ --out-dir .tmp/
./node_modules/.bin/browserify -r ./.tmp/sandy.js:Sandy > dist/sandy.js
| parambirs/aui-demos | node_modules/@atlassian/aui/node_modules/sandy/build/build.sh | Shell | mit | 129 |
#!/bin/bash
#Usage ./run_testsolver.sh [problem] [nsims] [reps] [verbosity] [min_time] [max_time] [other_flags] [algorithm]
problem=$1
nsims=$2
reps=$3
verbosity=$4
min_time=$5
max_time=$6
other_flags=$7
algorithm=$8
echo "../testsolver.out $problem --heuristic=hmin --precompute-h --n=$nsims --reps=$reps --v=$verbosi... | luisenp/mdp-lib | scripts/run_testsolver.sh | Shell | mit | 594 |
#!/bin/bash
geoc vector draw -f vector_draw.png -i naturalearth.gpkg -l countries -m "layertype=layer file=naturalearth.gpkg layername=ocean style=ocean.sld" \
| jericks/geoc | examples/vector_draw.sh | Shell | mit | 160 |
#!/bin/bash
# Automatically change a Blink(1)'s color based on system load
# Using which for convenience at the moment
# blink1-tool needs to be in your PATH
BLINK1_TOOL=`which blink1-tool`
# How long to sleep between polling
# If this is too low and the system is borderline it would swap
# back and forth. Also, sinc... | peterfpeterson/dotfiles | bin/load-to-blink1.sh | Shell | mit | 2,086 |
#!/bin/sh
VERSION=5.3.0
tar --files-from=file.list -xjvf ../gcc-$VERSION.tar.bz2
mv gcc-$VERSION gcc-$VERSION-orig
cp -rf ./gcc-$VERSION-new ./gcc-$VERSION
diff -b --unified -Nr gcc-$VERSION-orig gcc-$VERSION > gcc-$VERSION-a2x-newlib.patch
mv gcc-$VERSION-a2x-newlib.patch ../../patches
rm -rf ./gcc-$VERSION
rm... | radix-platform/toolchains | sources/GNU/gcc/gcc-5.3.0/create-5.3.0-a2x-newlib-patch/create.patch.sh | Shell | mit | 345 |
#!/usr/bin/env bash
WORKING_DIR=/your/path/to/MyDict
PYTHON=python3
${PYTHON} ${WORKING_DIR}/main.py
| zhuzhenpeng/MyDict | mydict.sh | Shell | mit | 102 |
#!/bin/bash
# Script to provide IP Address score as per projecthoneypot
# Input your HTTP:bl API Key from the site in the "KEY" field below:
KEY='';
SUFFIX="dnsbl.httpbl.org";
echo "Enter IP Address:";
read IPADDRESS;
REVERSEIP=$(echo "$IPADDRESS" | awk -F. '{print $4"."$3"."$2"."$1}');
RESULT=$(eval $echo "dig +short... | aarvee11/ProjectHoneyPotTool | checkip.sh | Shell | mit | 1,998 |
source "$ZINIT_HOME/$ZINIT_BIN_DIR_NAME/zinit.zsh"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
zinit light "zsh-users/zsh-autosuggestions"
zinit light "zdharma/fast-syntax-highlighting"
zinit light "zsh-users/zsh-completions"
zinit light "zsh-users/zsh-history-substring-search"
zinit load "sorin-iones... | atnanasi/dotfiles | .zsh/rc/30-zinit.zsh | Shell | mit | 490 |
#!/bin/bash
targetDir="iContainer"
if [ "$#" -gt 0 ]; then
targetDir=$1
fi
targetFile="$targetDir.tar.gz"
# 1. compile sources
echo " > compiling sources ..."
# 1. compile less files
cd less
./style.sh
cd -
# 2. compile sources
grunt deploy
# 2. create deployment package
echo " > creating deployment directory ... | icypher-zizek/icontainer | deploy.sh | Shell | mit | 672 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-387-1
#
# Security announcement date: 2016-01-14 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:06 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - openssh:1:5.5p1-6+squeeze8
#
# Last... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2016/DLA-387-1.sh | Shell | mit | 646 |
#!/bin/sh
IP=192.168.0.101
timer=30
events=500
throttle=350
adb usb
sleep 2
adb tcpip 5555
sleep 5
#TODO: Get args from terminal
adb connect $IP
sleep 3
connectStatus=`adb devices|wc -l`
if [[ $connectStatus -gt 3 ]]; then
echo "Safe to Disconnect"
for i in `seq $timer 1`;
do
echo $i
sleep 1
done... | rahatm1/AndroidMonkeyPrank | AndroidMonkeyPrank.sh | Shell | mit | 532 |
# https://www.reddit.com/r/zsh/comments/eblqvq/del_pgup_and_pgdown_input_in_terminal/fb7337q/
# If NumLock is off, translate keys to make them appear the same as with NumLock on.
bindkey -s '^[OM' '^M' # enter
bindkey -s '^[Ok' '+'
bindkey -s '^[Om' '-'
bindkey -s '^[Oj' '*'
bindkey -s '^[Oo' '/'
bindkey -s '^[OX' '='... | pdelre/dotfiles | zsh/bindkey.zsh | Shell | mit | 2,100 |
echo 'Fusing and updating gtest sources/headers for NBA...'
echo 'NOTE: You need to run "git pull" in 3rdparty/googletest manually first.'
TMPDIR=/tmp/nba-gtest-update
NBADIR=..
mkdir -p $TMPDIR
python2 googletest/googletest/scripts/fuse_gtest_files.py $TMPDIR
cp googletest/googletest/src/gtest_main.cc $TMPDIR/gtest
# ... | ANLAB-KAIST/NBA | 3rdparty/update-googletest.sh | Shell | mit | 618 |
#!/bin/bash
# tiny script to check if all of the stations in
# the station list file still resolve as some
# channels are periodically removed.
STATIONS_FILE="stations"
for url in $(cut -d '|' -f 3 "$STATIONS_FILE" | awk '{printf "https://somafm.com%s\n", $1}') ; do
printf "checking %s..." "$url"
curl --max-time 1... | bcicen/somacli | check_stations.sh | Shell | mit | 414 |
# 4
read -r -d '' INST_GITIGNORE <<EOM
# ignore logs
logs/
# tls certs
letsencrypt/
acme/
ocsp/
EOM
read -r -d '' INST_CONFIGFILE <<"EOM"
#
# configfile for caddy manager
#
#CADDY_DIR=caddy
#SERVICES_DIR=services
#PROJECT=demo
# Network for services to connect to caddy
#CADDYNET=CADDYNET
# Mail address for Let's ... | firecyberice/caddy | lib/templates.sh | Shell | mit | 11,047 |
#!/bin/bash
/usr/bin/hhvm --config ./hhvm.ini --mode server -u www-data | vearutop/pinba-pure-php | benchmark/start-hhvm.sh | Shell | mit | 72 |
#!/bin/bash
if [ -z "${BASH_VERSION+Defined?}" ]; then
echo "bash-pack: No shell interpreter other than Bash is supported"
exit 1
fi
# enable / disable bash-debug based on environment variable.
#
# Globals:
# bash_debug set to 1 to enable xtrace
enable_bash_debug() {
[ "${bash_debug:-0}" = 0 ] ||
... | codemedic/bash-pack | init.sh | Shell | mit | 3,702 |
#!/bin/bash
if [ -z "$BACKEND_ID" -o -z "$SERVER_ID" -o -z "$URL" -o -z "$VULCAN_URL" -o -z "$TIMEOUT_SECS" ]; then
echo "register-healthcheck requires the following variables:" >&2
echo ' $BACKEND_ID $SERVER_ID $URL $VULCAN_URL $TIMEOUT_SECS' >&2
exit 1
fi
function ttl_param {
if [ -n "$FRONTEND_TTL_SECS" ]... | octoblu/docker-register-sidekick | register-healthcheck.sh | Shell | mit | 1,004 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2013:0831
#
# Security announcement date: 2013-05-17 00:35:37 UTC
# Script generation date: 2017-01-01 21:10:45 UTC
#
# Operating System: CentOS 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libvirt-client.i686:0.10.2-18.el6_4.5
# ... | Cyberwatch/cbw-security-fixes | CentOS_6/x86_64/2013/CESA-2013:0831.sh | Shell | mit | 1,462 |
#!/bin/sh
# Hinomoto Installation Script
# Written in 2012 by 伴上段
#
# To the extent possible under law, the author(s) have dedicated all copyright
# and related and neighboring rights to this software to the public domain
# worldwide. This software is distributed without any warranty.
#
# You should have received a co... | jtvaughan/hinomoto | install.sh | Shell | cc0-1.0 | 1,047 |
#*******************************************************************************
# Copyright (c) 2010-2014, Gabor Szarnyas, Istvan Rath and Daniel Varro
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this dis... | FTSRG-archive/4store-graph-driver | scripts/4s-discover.sh | Shell | epl-1.0 | 872 |
#! /bin/sh
# Copyright (C) 1997-2018 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 ... | komh/automake-os2 | t/depend3.sh | Shell | gpl-2.0 | 1,386 |
#!/bin/sh
export reportpath="/var/raptor/scan_results"
export zip_upload_dir="/var/raptor/uploads"
export git_clone_dir="/var/raptor/clones"
#IMPORTANT: Do NOT add the trailing slash after the URLs.
############PUBLIC###############
#your-public-github-endpoint-here
export ext_git_url="https://github.com"
#your-publ... | dpnishant/raptor | start.sh | Shell | gpl-2.0 | 885 |
echo "vm.swappiness = 10" >> /etc/sysctl.conf
sysctl vm.swappiness=10
addgroup supergroup
adduser root supergroup
adduser vagrant supergroup
# Add group and user for Hadoop Monitor web application
export PASSWORD=`openssl passwd -1 password`
addgroup webgroup
useradd -m -s /bin/bash -g webgroup webuser -p $PASSWORD
... | medined/Accumulo_Snapshot_By_Vagrant | files/setup.sh | Shell | gpl-2.0 | 2,200 |
#!/bin/sh
#collect_data.sh
#author: wgc
filename=`date +%y%m%d`
touch $filename
data=$1
while read -r line
do
../paris-traceroute --algo=exhaustive $line >> paris-traceroute$filename 2>&1
done < $data
| wgcitgkaka/paris_Cplus_0.1 | src/test/collect_data.sh | Shell | gpl-2.0 | 204 |
#!/bin/sh
if [ -z "${CFG_TARGET}" ] ; then
CFG_TARGET=`pwd`/target
echo "CFG_TARGET=${CFG_TARGET}"
fi
if [ -z "${CFG_SOURCE}" ] ; then
CFG_SOURCE=`pwd`/source
echo "CFG_SOURCE=${CFG_SOURCE}"
fi
if [ -z "${CFG_BUILD}" ] ; then
CFG_BUILD=`pwd`/build
echo "CFG_BUILD=${CFG_BUILD}"
fi
if [ -z "${CFG_LINUX_CONFIG}" ] ... | robacklin/linux-3.7.2 | quick-make.sh | Shell | gpl-2.0 | 878 |
#!/bin/bash
################################################
# Tool to program a polytouchdemo on Karo TX #
# Please send feedback to: #
# dominik.peuker@glyn.de #
# Dominik Peuker November 2014 #
# Glyn GmbH & Co. KG #
# ... | jitter77/practice | template.sh | Shell | gpl-2.0 | 7,612 |
#!/bin/bash
. `dirname $0`/functions.sh
rm -f reloc3 reloc3lib*.so reloc3.log
rm -f prelink.cache
$CC -shared -O2 -fpic -o reloc3lib1.so $srcdir/reloc3lib1.c
$CC -shared -O2 -fpic -o reloc3lib2.so $srcdir/reloc1lib2.c reloc3lib1.so
BINS="reloc3"
LIBS="reloc3lib1.so reloc3lib2.so"
$CCLINK -o reloc3 $srcdir/reloc3.c -Wl,... | ystk/debian-prelink | testsuite/reloc3.sh | Shell | gpl-2.0 | 762 |
#!/bin/sh
proj=$1
if [ "$proj" == "" ]; then
echo oracc-project-runtime.sh: must give project on command line
exit 1
fi
if [ -w $ORACC_HOME/$proj/00any ]; then
destdir=$ORACC_HOME/$proj/00any
else
destdir=$ORACC/00any
fi
if [ ! -w $destdir ]; then
echo oracc-project-runtime.sh: cannot write to $dest... | oracc/oracc | misc/admin/oracc-project-runtime.sh | Shell | gpl-2.0 | 594 |
# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the ... | mmplayer/MySQL | support-files/mysql.spec.sh | Shell | gpl-2.0 | 82,091 |
#!/usr/bin/env bash
# This is a test
###CLEAR VARIABLES
DOWNLOAD_SET=""
DOWNLOADER=""
PKGMAN=""
TEST="0"
# !!!TEST copy this line wherever you need the script to stop in a test
if [ "$TEST" == "1" ] ; then return 0 ; fi
DOWNLOAD_SELECTION=""
UNKNOWN_OPT=""
###SET VARIABLES
DOWNLOAD_DATE="`date +%Y-%m`"
WORKINGDIR=$... | qbit/Lynx-Program-Downloader | lpd.sh | Shell | gpl-2.0 | 11,074 |
#!/bin/bash
#
#FILE
# /usr/sbin/container-rsync.sh
# $Id$
#
#PURPOSE
# Test alpha dev script for unxsVZ hot spare container sync
# Keep a container on this host rsync'd with a source container on a remote host
#
#AUTHOR/LEGAL
# (C) 2009- Gary Wallis for Unixservice. GPLv2 Licensed.
#
#
if [ "$1" == "" ] || [ "$2" == "... | unxs0/unxsVZ | tools/openvz/container-rsync.sh | Shell | gpl-2.0 | 1,414 |
set -e # Abort on error
./bin/trailing_whitespace_test.sh
./bin/indentation.sh
./bin/hlint_health.sh
./bin/sanity.sh
| NorfairKing/the-notes | bin/code_health.sh | Shell | gpl-2.0 | 117 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2011-2018 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... | jonatanolofsson/tup | test/t7052-autoupdate8.sh | Shell | gpl-2.0 | 1,479 |
#!/bin/sh
#Install Docker
#sudo which wget
#sudo apt-get update $ sudo apt-get install wget
#wget -qO- https://get.docker.com/ | sh
#echo "Docker Setup complete"
#install NodeJs
#sudo apt-get update
#sudo apt-get install nodejs
#sudo apt-get install npm
#echo "NodeJS setup Complete"
###########################
# St... | ManoloBrn/Open-CloudCompiler | Setup/Install.sh | Shell | gpl-2.0 | 567 |
#!/bin/bash -x
echo "[Toromino's Scripts] TCleaner will clean your Downloads folder!"
mkdir $HOME/Downloads/TCleaner/
mkdir $HOME/Downloads/TCleaner/Music/
mkdir $HOME/Downloads/TCleaner/Pictures/
mkdir $HOME/Downloads/TCleaner/Compressed/
mkdir $HOME/Downloads/TCleaner/Packages/
mkdir $HOME/Downloads/TCleaner/Shell-S... | Toromino/TCleaner | TCleaner.sh | Shell | gpl-2.0 | 1,547 |
# No bug for the moment, want to raise libtool issue in general.
EAPI="5"
source "${PORTDIR}/${CATEGORY}/${PN}/${BASH_SOURCE[0]##*/}"
EAPI="5"
inherit libtool
eval "
src_prepare() {
$(function_body src_prepare)
elibtoolize
# Fool make to use g-ir-scanner from PATH.
touch gtk/g-ir-scanner || die
}"
| chewi/cross-boss | overlay/x11-libs/gtk+/ebuild:3.sh | Shell | gpl-2.0 | 307 |
#!/bin/sh
cd "$( dirname "${BASH_SOURCE[0]}" )"
PROJECT="org.kde.activeWindowControl"
NAME="plasma_applet_$PROJECT"
# svn checkout svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/scripts
# export PATH=/path/to/l10n-kf5/scripts:$PATH
extract-messages.sh
sed -e "s,Report-Msgid-Bugs-To: http://bugs.kde.org,Report-Msgid-... | kotelnik/plasma-applet-active-window-control | translations/update-translations.sh | Shell | gpl-2.0 | 618 |
#!/bin/sh
echo "Starting thiolsTemp app"
echo "Creating scanning thread"
sudo hcitool -i hci0 lescan --passive --duplicates >> /dev/null &
echo "Creating parser scanning thread"
sudo hcidump -i ^Ci0 -R |./parser/bleParser
| Slyde/thiolsTemp | thiosTemp.sh | Shell | gpl-2.0 | 227 |
###
# Librairies de gestions des containeurs Docker
# ==============================================================================
# @package olixsh
# @author Olivier
##
###
# Paramètres
##
OLIX_DOCKER_NAME=
###
# Vérifie si le binaire est installé
##
function Docker.installed()
{
debug "Docker.installed ()"
... | sabinus52/olixsh | utils/docker.sh | Shell | gpl-2.0 | 1,070 |
#/bin/bash
echo "Building help..."
basedir=$(pwd)
cd promet/help
rm -r $BUILD_DIR
mkdir $BUILD_DIR
cp help.db $BUILD_DIR
$SQLITE3 $BUILD_DIR/help.db "delete from DOCUMENTS where TYPE<>'W';delete from HISTORY;delete from REPORTS;delete from ACCHISTORY;delete from TEMPLATES;delete from DOCPAGES;delete from DELETEDITEMS;d... | cutec-chris/promet-erp | promet/help/build.sh | Shell | gpl-2.0 | 753 |
#!/bin/sh
exitnode=0
# Exit Code
function finish {
echo "[acs] Stopping Automatic Cinema Server"
exitnode=1
}
trap finish 2 3 8 15
# startup mongo & node
while (( $exitnode == 0 ))
do
./AutomaticCinemaServer
done
| urshofer/automatic-cinema-server | start.sh | Shell | gpl-2.0 | 220 |
#!/bin/sh
./scripts/generator.py > Good-songs-to-play.ad
sudo docker run --privileged=true -v $PWD:/documents asciidoctor/docker-asciidoctor asciidoctor -v -a stylesheet=stylesheets/minimal.css Good-songs-to-play.ad -o index.html
sudo docker run --privileged=true -v $PWD:/documents asciidoctor/docker-asciidoctor asciid... | TheVasin/good-songs-to-play | scripts/publish_with_docker.sh | Shell | gpl-2.0 | 551 |
#!/bin/sh
# Start telnet server
eval `flash TELNET_ACCESS_PORT WEB_WAN_ACCESS_PORT TR069_ENABLED`
if [ -x "/usr/sbin/telnetd" ]; then
echo -n $TELNET_ACCESS_PORT > /var/telnet_port
/usr/sbin/telnetd -l /bin/cli -p $TELNET_ACCESS_PORT
fi
# Start debug telnet server
#eval `flash DEBUG`
#if [ $DEBUG = 1 ]; then
# teln... | xandlom/keenetic-firmware | package/base-scripts/all/services.sh | Shell | gpl-2.0 | 732 |
#!/usr/bin/env bash
# Script information
SCRIPT_NAME="WordPress Plugin The Test Suite Installer"
SCRIPT_VERSION="1.0.1"
# Scripts defining custom functions
source $(dirname $0)/include/download.sh
source $(dirname $0)/include/info.sh
source $(dirname $0)/include/downloadWPCLI.sh
source $(dirname $0)/include/downloadC... | michaeluno/custom-scrollbar | test/install.sh | Shell | gpl-2.0 | 13,448 |
if [ -d tmp ]; then
echo -n "Restarting Nginx ... "
rm -f tmp/restart.txt
touch tmp/restart.txt
fi
| taq/traquitana | config/nginx.sh | Shell | gpl-2.0 | 111 |
#!/bin/sh
logger "Called $0"
exit 0
| olvrlrnz/exec_process | scripts/ret0.sh | Shell | gpl-2.0 | 37 |
#!/bin/bash
while test 1=1
do
./webservice.sh >log.txt 2>error_log.txt
echo "Restarting.. `date`"
done
| LUMII-AILab/Webservices | production.sh | Shell | gpl-3.0 | 107 |
#!/usr/bin/env bash
mkdir -p bundle
mkdir -p autoload
mkdir -p colors
# Install pathogen.
pathogenFile='autoload/pathogen.vim'
echo $pathogenFile
if [ -f $pathogenFile ]
then
echo "Pathogen.vim exists, out with the old and in with the new."
rm $pathogenFile
fi
wget -P autoload https://raw.githubusercontent... | dinnerTime/vimrc | setup_env.sh | Shell | gpl-3.0 | 856 |
#!/system/bin/sh
export TMPDIR=/tmp/
mktempS() {
v=$TMPDIR/tmp.$RANDOM
mkdir -p $v
echo $v
}
if ! which mktemp;then
alias mktemp=mktempS
fi
if [ "$#" == 0 ];then
echo "Usage: $0 <original boot.img> [eng|user]"
exit 1
fi
set -e
if [ -f "$2" ];then
scr="$(readlink -f "$2")"
used_scr=1
else
scr="$PWD/changes... | DavisNT/super-bootimg | scripts/bootimg.sh | Shell | gpl-3.0 | 6,501 |
#!/usr/bin/env bash
#
# This script assumes a linux environment
set -e
DES=$1
mkdir -p $DES/js
cp src/js/base64-custom.js $DES/js
cp src/js/biditrie.js $DES/js
cp src/js/dynamic-net-filtering.js $DES/js
cp src/js/filtering-context.js $DES/js
cp src/js/hnswitches.js $DES/... | gorhill/uBlock | tools/make-nodejs.sh | Shell | gpl-3.0 | 1,465 |
#!/bin/bash
java -jar c:/my/local/repos/chair/droidmate/dev/droidmate/projects/core/src/main/resources/apktool.jar decode --no-src --force $1 | konrad-jamrozik/droidmate | dev/droidmate/scripts/decode_apk.sh | Shell | gpl-3.0 | 142 |
# 18_shutdown_hpsmh.sh
if (( PREVIEW )) ; then
Log "Stopping HP System Mgmt Homepage processes [not done in preview]"
else
LogPrint "Stopping HP System Mgmt Homepage processes"
[[ -x /sbin/init.d/hpsmh ]] && /sbin/init.d/hpsmh stop >&2
# as SMH caused update-ux to hang we do a 2th check
netstat -a |... | gdha/upgrade-ux | opt/upgrade-ux/scripts/preinstall/hp/18_shutdown_hpsmh.sh | Shell | gpl-3.0 | 449 |
sudo apt-get install build-essential g++
| williford/.settings | common-apt-packages-install.sh | Shell | gpl-3.0 | 41 |
#!/bin/bash
get_tarball_path() {
if [ $# -lt 1 ]; then
echo "ERROR: Failed to get tarball path. No search path argument given"
return 1
fi
echo "$(find $1 -name procalc_*.orig.tar.gz)"
}
get_tarball_name() {
if [ $# -lt 1 ]; then
echo "ERROR: Failed to get tarball path. No search path argument gi... | RobJinman/pro_office_calc | release/functions.sh | Shell | gpl-3.0 | 807 |
#!/bin/bash
# the round function:
round()
{
echo $(printf %.$2f $(echo "scale=$2;(((10^$2)*$1)+0.5)/(10^$2)" | bc))
};
# Checking parameters number
if [ $# = 0 ]; then
rep="."
typ="-s"
elif [ $# = 1 ]; then
rep=$1
typ="-s"
elif [ $# = 2 ]; then
if [ $2 != "-s" ] && [ $2 != "-r" ]; then
echo "Usage: script [dir... | PokerChichi/TidyMyKey | test_files/script.sh | Shell | gpl-3.0 | 2,113 |
g++ -Wall -Wl,-rpath=libevent/libevent-2.0.21-stable/lib/:cppfastdevelop/cppfoundation/bin/ \
-g server.cpp io_cb.cpp thread_worker.cpp -O0 -o server \
-Llibevent/libevent-2.0.21-stable/lib -Lcppfastdevelop/cppfoundation/bin \
-Ilibevent/libevent-2.0.21-stable/include -Icppfastdevelop/cppfoundation/include \
-leven... | dungeonsnd/test-code | dev_examples/libevent_multithreads/build.sh | Shell | gpl-3.0 | 345 |
#!/bin/bash
echo '===> Running pre-commit checks for amd' | doppler yellow
mk sniff-amd
| nbloomf/nbloomf.md | hooks/pre-commit.sh | Shell | gpl-3.0 | 90 |
Rscript method1-PigeonAllPups-1.R 11B_splitXY/100A-rmXY/0_cov5reads 1011B_splitXY/100A-rmXY/0_cov5reads/method1-PigeonAllPups-1/NC-vs-IVFfresh
Rscript method1-PigeonAllPups-1.R 11B_splitXY/100A-rmXY/1_cov10reads 1011B_splitXY/100A-rmXY/1_cov10reads/method1-PigeonAllPups-1/NC-vs-IVFfresh ... | CTLife/SomeRecords | forRRBS/method1-PigeonAllPups.sh | Shell | gpl-3.0 | 1,961 |
Rscript analyzeDMRs.R \
--file=5_DMR/2E_AlldiffMesites_q0.05_diff0.txt \
--outDir=5_DMR_Annotation \
--RefGenome=hg38 \
--RegionName=1000_Twins_AllPups_essential/A-rmXY/6_Analyze_Tiles_by_methylKit/1_NC1_vs_NC2/5_DMR \
> analyzeDMRs.runLog.txt 2>&1
| CTLife/SomeRecords | forRRBS/merge_annotation/analyzeDMRs.sh | Shell | gpl-3.0 | 281 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of GNUHAWK.
#
# GNUHAWK is free software: you can redistribute it and/or modify is under the
# terms of the GNU General Public License as published by the Free Sof... | RedhawkSDR/integration-gnuhawk | components/streams_to_vector_cc_3i/build.sh | Shell | gpl-3.0 | 1,606 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.