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 |
|---|---|---|---|---|---|
# Use `hub` as our git wrapper:
# http://defunkt.github.com/hub/
hub_path=$(which hub)
if (( $+commands[hub] ))
then
alias git=$hub_path
fi
# The rest of my fun git aliases
alias gl="git log --oneline --decorate --graph --date=relative"
alias gp='git push origin HEAD'
alias gc='git commit'
alias gb='git branch -vv... | iWader/dotfiles | git/aliases.zsh | Shell | mit | 1,059 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3075-1
#
# Security announcement date: 2016-09-08 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:36 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - libimlib2:1.4.6-2ubuntu0.1
#
# Last ve... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2016/USN-3075-1.sh | Shell | mit | 763 |
if [[ "$OSTYPE" = darwin* ]] ; then
# https://trac.webkit.org/wiki/JSC
# jsc (or JavaScriptCore) is a Safari javascript REPL
alias jsc="/System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources/jsc"
fi
| deepak/dotfiles | .oh-my-zsh/custom/plugins/js-repl/js-repl.plugin.zsh | Shell | mit | 235 |
#!/bin/bash
RES=0
##################### Functions definition
function check_result {
if [ "$1" -gt "0" ] ; then
RES=1
echo $2
exit 1
fi
}
echo "########################################"
echo "# Packages deps installation #"
echo "########################################"
# Install python
... | melon-boy/odroid-webserver | install-pkgs.sh | Shell | mit | 784 |
#!/bin/sh
prog=iir_sqp_slb_test.m
depends="iir_sqp_slb_test.m \
test_common.m print_polynomial.m print_pole_zero.m \
iir_slb.m iir_sqp_mmse.m \
iir_slb_set_empty_constraints.m iir_slb_constraints_are_empty.m \
iir_slb_show_constraints.m iir_slb_update_constraints.m \
armijo_kim.m cl2bp.m fixResultNaN.m iirA.m iirE.m ... | robertgj/DesignOfIIRFilters | test/00/t0017a.sh | Shell | mit | 3,828 |
#!/bin/bash
#This gets the number of balances showing to be plugged in to each pi
for pi in {1..6}; do
echo "Checking Gravi0$pi"
ssh nathan@gravimetrics.ibers ssh pi@gravi0$pi ls /dev/serial/by-id/ | wc -l
done
| NPPC-UK/Gravimetrics | Testing/count_online_balances.sh | Shell | mit | 222 |
#!/bin/bash
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS and Arch Linux
# https://github.com/Angristan/OpenVPN-install
if [[ "$EUID" -ne 0 ]]; then
echo "Sorry, you need to run this as root"
exit 1
fi
if [[ ! -e /dev/net/tun ]]; then
echo "TUN is not available"
exit 2
fi
if grep -qs "CentOS rel... | johnbeil/setup | openvpn-install.sh | Shell | mit | 24,667 |
#!/bin/sh
echo ---------------download libx264--------------------
ls -d ffmpeg_src/libx264_src && { echo ffmpeg_src/libx264_src already exist; exit 0; }
ls libx264.tgz || { wget -O libx264.tgz "http://git.videolan.org/?p=x264.git;a=snapshot;h=refs/heads/stable;sf=tgz" || exit 1; }
rm -fr x264*
tar -xvzf libx264.tgz |... | sjitech/ffmpeg-android | src/1_download_libx264.sh | Shell | mit | 409 |
#!/bin/bash
[ "$#" -ne 2 ] && { echo "Usage: $0 username worker-hostname"; exit 1; }
USERNAME=$1
WORKER=$2
WORKER_IP=$(curl -s http://localhost:8080/worker/$WORKER)
if [ "$WORKER_IP" == "127.0.0.1" ]; then
echo "Unknown worker $WORKER!"
exit 1
fi
ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostK... | ubnetdef/scoreengine | workers/scripts/ssh_worker.sh | Shell | mit | 359 |
#!/bin/bash
sudo docker build -t chain/dev .
| kkleidal/chain-api | docker/dev/build.sh | Shell | mit | 46 |
#!/bin/bash
rm -rf `find -name "*.json"` | liker12134/my-kernel-dev-environment | kernel_mailing_list/mm_community/cleanup_json.sh | Shell | mit | 40 |
#!/bin/bash
# Author: Beatrice Barbe
if test $# -ne 1 ; then
echo "usage: $0 <tun_number>";
exit 2;
fi
nber_tun=$1
x=1
REMOTE_NET="192.168.10.0"
REMOTE_NETMASK="255.255.255.0"
LOCAL_EXT="129.240.67.22"
REMOTE_EXT="192.168.10.1"
LOCAL_IP_TUNNEL="10.10."$x".9"
REMOTE_IP_TUNNEL="10.10."$x".10"
tun="tun"$x"9"
modpr... | smondet/promiwag | tools/gre_tunnels.sh | Shell | mit | 1,267 |
#!/bin/sh
# You should run this shells script in root mode.
# sudo su
# ./install-kubeadm.sh
# # refer : http://kubernetes.io/docs/getting-started-guides/kubeadm/
apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/ap... | hustbill/devops | kubernetes/aws/pre-install-k8s-packages.sh | Shell | mit | 1,064 |
#!/bin/sh
# import tested script
#. "../unittest.sh"
setUp() {
parser_testfile=$(mktemp -t "unittest.sh-parser-testfile-XXXXXX") || exit 1
printf '%s' '
#!/usr/bin/env bash
. "${source_file}"
source ~/source/file
some_func() {
return 0
}
test_some_func() {
return 0
}
. "${not_parsed}"
' >> "${parser_testf... | macie/unittest.sh | tests/test_parsers.sh | Shell | mit | 1,691 |
#!/bin/bash
now=`date "+%d%h%y_%H%M%S"`
cmd="julia train.jl --trainfiles data/nonsynth/src-train.txt data/nonsynth/targ-train.txt --devfiles data/nonsynth/src-val.txt data/nonsynth/targ-val.txt --savefile nn/model_${now}.jld --encvfile data/nonsynth/src.wv --decvfile data/nonsynth/targ.wv --epochs 25 --embedsize_src 2... | yolcu/regex | train.sh | Shell | mit | 621 |
#!/bin/sh
#execute script as root/sudo-user
sudo sh connector.sh
sudo sh converter.sh
sudo sh seperator.sh
sudo sh ubuntu.sh
connectorPath=""
while read "connector";
do
connectorPath=$connector
sudo chmod -R 777 $connector
done < tmpConnector.txt
converterPath=""
converterFile="/convertToTxt.py"
while read "conve... | sikienzl/TextExtractor | install/inst.sh | Shell | mit | 997 |
#!/bin/bash
cmp -i 348 -l "$1" "$2" | gawk '{printf "%08X %02X %02X\n", $1, strtonum(0$2), strtonum(0$3)}'
| MattVUIIS/raw2nii | tools/nii_body_diff.sh | Shell | mit | 107 |
# Script to identify sites that change longitudinally across the sequenced samples.
# This script is meant to be run from the top level of the Github repository.
# Current directory.
dir="analysis/figures/Permutations"
# Use the global frequency data in the GlobalFrequencies folder
# to identify sites that do not var... | ksxue/parallel-evolution | analysis/figures/Permutations/Run.sh | Shell | mit | 1,061 |
#!/bin/sh
MODULE=python3
docker build -t tarmaker:$MODULE tarmaker || {
echo "Something went wrong. Aborting."
exit 1
}
[ -f rootfs.tar ] && mv rootfs.tar rootfs.tar.old
[ -f rootfs.tar.md5 ] && mv rootfs.tar.md5 rootfs.tar.md5.old
docker run --name builder-$MODULE tarmaker:$MODULE
docker cp builder-... | dArignac/docker-python | run.sh | Shell | mit | 858 |
#!/usr/bin/env bash
NORM=$1
SSEQ=$2
if [ $(cat ${NORM} | grep -o ${SSEQ} | wc -l) == 0 ]
then echo KO
else echo OK
fi
cat q9660.stat | grep -w 0 | cut -d " " -f1 # Show non present AA in the sequence | bros-bioinfo/bros-bioinfo.github.io | COURS/M1/SEMESTRE1/ALGO_PROG/USI/TD/PROBLEME_ELIOT/test_sous_sequence.sh | Shell | mit | 201 |
#!/bin/bash
go test -coverprofile=/tmp/c.out
go tool cover -html=/tmp/c.out -o /var/www/error/coverage.html
| stamp/go-openvpn | coverage.sh | Shell | mit | 108 |
#!/bin/bash
GO_ARCHIVE=/go-1.7.tar.gz
export PATH=${PATH}:/usr/local/go/bin
if [[ -z "${GOPATH}" ]]; then
GOPATH=/golang
fi
set -o pipefail
IFS=$'\n\t'
if [[ ${BUILD_LOGLEVEL} -gt 1 ]]; then
printenv | sort
fi
function goCompile {
pushd $1 >/dev/null
TARGET=`echo ${SOURCE_REPOSITORY} | sed 's!\(http://\)\|\(h... | mchudgins/openshift-builders | golang/docker-entrypoint.sh | Shell | mit | 3,848 |
#!/bin/bash
#
# Runs the tests
# Takes 1 optional parameter: class
# If class parameter is given, then only test_CLASS_*.py will be run
# If we get a SIGINT, do we terminate the test(1) or exit(0)
SIGINTACT="1"
# Should we block stderr? This prevents ugly error messages when SIGINT is received
BLOCKERR="1"
#function... | sburnett/seattle | multiplexer/run_tests.sh | Shell | mit | 3,237 |
#!/usr/bin/env bash
set -e
dir=$(cd `dirname $0` && pwd)
cd "$dir/../.."
npm run readme-toc
git add README.md
| andre487/kv-keeper.js | .githooks/pre-commit/004-update-readme-toc.sh | Shell | mit | 112 |
#!/bin/bash
src="/media/daten_fat32/Daten/"
dst="/media/dlink_nas/Sicherungen/daten_fat32/Daten/"
command_common="rsync -hvrltDO --delete --modify-window=7200 --stats"
command_dirs="${src} ${dst}"
command_dry="${command_common} -n ${command_dirs}"
command="${command_common} ${command_dirs}"
if [ $# -eq 0 ];
then
... | ubmarco/dotfiles | tag-backup/backup_daten.sh | Shell | mit | 629 |
#!/bin/bash
set -ex
if [ $# -ne 1 ]; then
echo "Usage: `basename $0` <tag>"
exit 65
fi
TAG=$1
BRANCH=$(git rev-parse --abbrev-ref HEAD)
#
# Remove dependencies and re-install production composer dependencies
#
rm -fr vendor
composer install --no-dev
#
# Copy Readme
#
SCRATCH=$(mktemp -t tmp.XXXXXXXXXX)
cat RE... | gordalina/cachetool | bin/update-gh-pages.sh | Shell | mit | 1,358 |
#!~/bin/bash
python /workspace/UA/malindgren/repos/downscale/snap_scripts/epscor_sc/compute_decadal_grids_epscor_sc.py -b /workspace/Shared/Tech_Projects/EPSCoR_Southcentral/project_data/downscaled -o /workspace/Shared/Tech_Projects/EPSCoR_Southcentral/project_data/derived_grids/monthly_decadals -m ts323 -s historical... | ua-snap/downscale | snap_scripts/epscor_sc/run_atlas02_cru.bash | Shell | mit | 3,627 |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# w... | krunalsoni01/yocto-zbar | zbar-0.8/config/ltmain.sh | Shell | mit | 245,452 |
#!/usr/bin/env bash
#% 🔺 DIND_IMAGE %% Docker-in-Docker (dind) image %% wheniwork/harpoon
if [ ! -v DIND_IMAGE ]; then
export DIND_IMAGE=wheniwork/harpoon
fi
#% 🔺 DIND_STORAGE_DRIVER %% DinD Storage Driver %% aufs
if [ ! -v DIND_STORAGE_DRIVER ]; then
export DIND_STORAGE_DRIVER=aufs
fi
#% 🔺 DIND_HOME %% Home di... | bgetsug/harpoon | tasks/dind/handler.sh | Shell | mit | 1,372 |
#!/bin/bash
#
# Name: whichrepos.sh
# Auth: Frank Cass
# Date: 20181011
# Desc: Quickly identify which repositories you have cloned.
# Works best if all of your tools are stored in a single directory.
#
###
clear
echo "[*] Here are a list of git repo's you have cloned in $PWD: "
for i in $(ls -lrt -d -1 $PWD/* | gre... | routeback/bashscripts | remote_testing_appliance/whichrepos.sh | Shell | mit | 431 |
#!/bin/sh
datestring=`date "+%Y-%m-%d"`
sed -i '' "/^Release $1/ {
i\\
\\
There are currently no unreleased changes\\
\\
c\\
### Release $1, ${datestring}
a\\
\\
[Download](https://github.com/25A0/Quadtastic/releases/tag/$1)
}" .tmp/releasemessage
| 25A0/Quadtastic | changelog.sh | Shell | mit | 249 |
#!/bin/bash
#rm -r ./*
cmake .. \
-DCMAKE_CXX_COMPILER=$(which g++-4.9) \
-DCMAKE_C_COMPILER=$(which gcc-4.9) \
-DBUILD_DOC=OFF \
-DIMRESH_DEBUG=ON \
-DBUILD_EXAMPLES=ON ... | ComputationalRadiationPhysics/imresh | compile.sh | Shell | mit | 542 |
#!/bin/bash
set -o errexit
if [ ${EUID} != 0 ]; then
echo "This setup script is expecting to run as root."
exit 1
fi
dnf install libvirt swtpm swtpm-tools qemu-kvm virt-install -y
if [ "${DESKTOP_ENABLED}" = "y" ]; then
dnf install virt-manager -y
fi
#rm -f /etc/libvirt/qemu/networks/autostart/default.xml
s... | sstelfox/dotfiles | setup-scripts/virtualization.sh | Shell | mit | 353 |
echo "$hstnme" > /etc/hostname
| EquiParviSystems/ArchModularInstaller | PostInstall/01-HostName.part.sh | Shell | mit | 31 |
#!/bin/bash -l
#SBATCH
#SBATCH --job-name=glm_1_nodes_6_calls_shared.sh
#SBATCH --time=03:00:00
#SBATCH --mail-type=begin,end
#SBATCH --mail-user=karoraw1@jhu.edu
#SBATCH --nodes=1
#SBATCH --partition=shared
module load netcdf/intel/4.3.3.1 glm
cd /home-3/karoraw1@jhu.edu/work/kaw/GLM_Wrapper/GLM_Executables/examples... | karoraw1/GLM_Wrapper | MARCCTEST/glm_1_nodes_6_calls_shared.sh | Shell | mit | 1,014 |
#
# Swift
#
# A general-purpose, multi-paradigm, compiled programming language by Apple Inc.
# Link: https://developer.apple.com/swift/
# ------------------------------------------------------------------------------
# Configuration
# ------------------------------------------------------------------------------
SPAC... | nelsonghezzi/spaceship-zsh-theme | sections/swift.zsh | Shell | mit | 1,532 |
function zsh_stats() {
fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20
}
function uninstall_oh_my_zsh() {
env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh
}
function upgrade_oh_my_zsh() {
env ZSH=$Z... | devnall/oh-my-zsh | lib/functions.zsh | Shell | mit | 6,667 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | luizlopezm/ios-Luis-Trucking | Pods/Target Support Files/Pods-Luis TruckingUITests/Pods-Luis TruckingUITests-frameworks.sh | Shell | mit | 3,978 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE}")" && source "utils.sh"
declare -a FILES_TO_SYMLINK=(
"shell/bash_aliases"
"shell/bash_exports"
"shell/bash_functions"
"shell/bash_logout"
"shell/bash_options"
"shell/bash_profile"
"shell/bash_prompt"
"shell/bashrc"
"shell/curlrc"
"shel... | brendan-R/dotfiles | os/create_symbolic_links.sh | Shell | mit | 1,750 |
#!/bin/bash
chmod u+x bag.sh
chmod u+x fill.sh
chmod u+x imgconv.sh
chmod u+x rsrcconv.sh
chmod u+x unbag.sh
ln -s bag.sh bag
ln -s fill.sh fill
ln -s imgconv.sh imgconv
ln -s rsrcconv.sh rsrcconv
ln -s unbag.sh unbag
| npedotnet/npe-tools | bin/sh/init-npe-tools.sh | Shell | mit | 218 |
#!/bin/sh
RNDC="/opt/local/sbin/rndc"
STATS="/var/named/named.stats"
cat /dev/null > ${STATS}
${RNDC} stats
RESPONSES=`cat ${STATS} | grep 'responses sent' | awk '{print $1}'`
SUCCESSFUL=`cat ${STATS} | grep 'successful answer' | awk '{print $1}'`
ERRORS=`cat ${STATS} | grep 'query failures' | awk '{print $1}'`
if... | bixu/nad_plugins | node-agent.d/illumos/dns_stats.sh | Shell | mit | 620 |
export HISTSIZE=1000
export SAVEHIST=1000
export HISTFILE=$HOME/.zsh_history
# setopt inc_append_history
unsetopt share_history
setopt hist_expire_dups_first
setopt hist_ignore_dups
setopt hist_find_no_dups
| eprst/dotfiles | zsh/history.zsh | Shell | mit | 207 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2016:2089
#
# Security announcement date: 2016-10-20 12:54:32 UTC
# Script generation date: 2017-01-19 21:27:24 UTC
#
# Operating System: Red Hat 6
# Architecture: i386
#
# Vulnerable packages fix on version:
# - java-1.7.0-oracle.i686:1.7.0.121-1jpp.1.e... | Cyberwatch/cbw-security-fixes | Red_Hat_6/i386/2016/RHSA-2016:2089.sh | Shell | mit | 1,623 |
#!/bin/bash
#2gb genome data
wget -i links.txt
gunzip *.gz
cat *.fa > genome.dat
rm -rf *.fa
| erenyagdiran/string-matching-algorithms | data/data_builder.bash | Shell | mit | 94 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | cache0928/CCWeibo | CCWeibo/Pods/Target Support Files/Pods-CCWeibo/Pods-CCWeibo-frameworks.sh | Shell | mit | 3,984 |
#!/bin/bash
#
# Test qtshell on macOS
#
export QT_PLUGIN_PATH=$(pwd)
export QML_IMPORT_TRACE=1
cp ./qtshell.app/Contents/MacOS/qtshell macshell
./macshell
| skarbat/qtshell | run.sh | Shell | mit | 158 |
[ -d ./virtualenv ] || (
virtualenv --distribute ./virtualenv && \
source ./virtualenv/bin/activate && \
pip install -r requirements.txt
)
source ./virtualenv/bin/activate
npm install
export PATH=$PWD/node_modules/.bin:$PATH
| japsu/desugaala | env.sh | Shell | mit | 233 |
#!/bin/bash
cd ers_frontend
# launch brunch
brunch w -s
| dumoulinj/ers | scripts/run_brunch.sh | Shell | mit | 59 |
#!/bin/bash
Install_PHP-MySQL-Client()
{
cd $ltmh_dir/src
. ../tools/download.sh
. ../options.conf
src_url=http://www.cmake.org/files/v3.0/cmake-3.0.2.tar.gz && Download_src
src_url=http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-5.5.40.tar.gz && Download_src
if [ ! -e "`which cmake`" ];then
tar xzf cmake-3... | ielnehc/ltmh | shell/php-mysql-client.sh | Shell | mit | 809 |
#!/bin/bash
# tested on ubuntu 16.04 (gnome)
# tested on ubuntu 14.04.3 (gnome)
SCRIPT_NAME=$(basename $BASH_SOURCE)
SCRIPT_LOGFILE="./logs/"$(basename -s .sh $BASH_SOURCE)".log"
SCRIPT_ENVFILE="./logs/"$(basename -s .sh $BASH_SOURCE)".env"
mkdir -p ./logs && chmod 755 ./logs
echo "running "$SCRIPT_NAME
# checking ... | dchapkine/ubuntu-desktop-post-install | install_pip.sh | Shell | mit | 458 |
#! /bin/bash
set -e
gcc -g scaling.c aom/aom_dsp/fwd_txfm.c aom/aom_dsp/inv_txfm.c -Iaom/ -Iaom/build/ -o scaling
./scaling
| luctrudeau/VideoExperiments | dct/scaling/build.sh | Shell | mit | 126 |
convert -resize 512x512 icon_1024x1024.png icon_512x512.png
convert -resize 256x256 icon_1024x1024.png icon_256x256.png
convert -resize 128x128 icon_1024x1024.png icon_128x128.png
convert -resize 32x32 icon_1024x1024.png icon_32x32.png
convert -resize 16x16 icon_1024x1024.png icon_16x16.png
cp icon_1024x1024.png ico... | machawk1/wail | build/resize.sh | Shell | mit | 512 |
#!/usr/bin/env bash
./node_modules/.bin/eslint ./src
| D-Andreev/react-logger | scripts/lint.sh | Shell | mit | 54 |
#!/bin/sh
# Move to the local source directory
pushd /usr/local/src > /dev/null
# Compute core count
CORE_COUNT=$(cat /proc/cpuinfo | grep processor | wc -l)
# Install Python
wget -O Python-2.7.10.tar.gz \
https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
tar xzf Python-2.7.10.tar.gz
pushd Python-2.7.... | xeno-io/xeno-linux-worker-build | install-python.sh | Shell | mit | 532 |
#!/bin/bash
mysqldump --opt --add-drop-table ecd postcodegebieden > postcodegebieden.sql
mysqldump --opt --add-drop-table ecd stadsdelen > stadsdelen.sql
mysqldump --opt --add-drop-table ecd nationaliteiten > nationaliteiten.sql
mysqldump --opt --add-drop-table ecd landen > landen.sql
mysqldump --opt --add-drop-table ... | accelcloud/ecd | app/config_template/schema/dump.sh | Shell | mit | 517 |
#!/bin/bash
sudo apt-get install apache2 build-essential libcurl4-openssl-dev php5 php5-cli git libapache2-mod-php5 php5-mcrypt -y
# サンプルアプリケーションの配置
git clone https://github.com/suzuken/gihyo-coffee-sample.git /var/www/html/gihyo-coffee-sample
make -C /var/www/html/gihyo-coffee-sample install
sudo service apache2 resta... | suzuken/vagrant-td-es-kibana | bin/install-gihyo-coffee.sh | Shell | mit | 353 |
#!/bin/bash
# Builds the server and launches a non-daemonized cluster
# This file wouldn't be needed if we could integrate this into the gulp taks but PM2 doesn't seem to support --no-daemon flag programmatically
node ./node_modules/gulp/bin/gulp.js build
pm2 start ./dist/server.js --name nodeExpressBoilerplate "$@" ... | inakianduaga/node-express-boilerplate | serveCluster.sh | Shell | mit | 355 |
#!/bin/bash
curl -X POST http://localhost:7878/pump/off?key=$HYDRO_CONTROL_KEY
| aweijnitz/hydrobalcony | RaspberryPi/ttyDataServer.js/bin/stopPump.sh | Shell | mit | 80 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2012:0136
#
# Security announcement date: 2012-02-15 04:57:07 UTC
# Script generation date: 2017-01-01 21:13:50 UTC
#
# Operating System: Red Hat 5
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libvorbis.i386:1.1.2-3.el5_7.6
# - libv... | Cyberwatch/cbw-security-fixes | Red_Hat_5/i386/2012/RHSA-2012:0136.sh | Shell | mit | 884 |
#!/usr/bin/env roundup
# test: fixtures/roundup.rb
#
# This file has nothing useful to do, but it's good practice to have a test
# for each fixture.
describe "Roundup runs"
it_runs() {
true
}
| rcarver/config | test/acceptance/tests/roundup-test.sh | Shell | mit | 196 |
#!/bin/sh
set -e
: "${OUT_DIR:=./build}"
: "${PUBLIC_PATH:=/}"
if ! [ -f './config/config.js' ]; then
echo 'Copying config.js...'
cp ./config/config.dist.js ./config/config.js
echo 'Done!'
echo
fi
if ! [ -d './node_modules' ]; then
echo 'Installing required NPM modules...'
yarn install
echo 'Done!'
e... | clbn/freefeed-gamma | scripts/build.sh | Shell | mit | 484 |
#!/bin/bash
echo "installing client configuration..."
#install systemd service
cp linux-configs/client.conf /lib/systemd/system/canbusprotector.service
systemctl enable /lib/systemd/system/canbusprotector.service
#set up iptables
cp ./linux-configs/client.iptables.rules /etc/iptables.rules
cp ./linux-configs/client.ne... | digitalbond/canbus-protector | install_client.sh | Shell | mit | 604 |
#!/bin/bash
modules=$(dirname "$BASH_SOURCE")/node_modules
exec "$modules"/barrt/runner.sh
| mwolson/traffic-sharding-test | runner.sh | Shell | mit | 93 |
#!/bin/bash
echo Starting Git Pull
pwd
git pull https://github.com/mikebranstein/IoT master
echo Ending Git Pull
# node agent/vsoagent
# Ctrl-Z
# jobs
# bg 1 (to keep a job running in bg)
# fg 1 (to move a job to foreground) | mikebranstein/IoT | build/gitPull.sh | Shell | mit | 236 |
#!/bin/bash
# This script handles ?commands to irccat
# all our stuff is in a php script, take a look and replace the path etc:
php -f ./scripts/example.php "$@"
| londonhackspace/irccat | examples/example.sh | Shell | gpl-2.0 | 163 |
#!/bin/sh
killall -STOP madplay
| link4all/20170920openwrt | own_files/mt7628/files_tw7688/etc/play/pause.sh | Shell | gpl-2.0 | 34 |
echo "helo_name=mail.palepurple.co.uk
recipient=test@gmail.com
sender=test@palepurple.co.uk
client_address=81.133.46.190
queue_id=RahRharha
request=smtpd_access_policy
" | perl -I ../src/ -w ../src/policyd.pl
| palepurple/policyd-dnsbl-spf-geoip | tests/test-spf-pass-no-bl.sh | Shell | gpl-2.0 | 209 |
#!/bin/bash
./myscript 3>&1 1>stdout.logfile 2>&3- | tee -a stderr.logfile
##here first we duplicate file descript 1 into 3. Then we redirect stdoutput to a file. Then we duplicate file descriptor 3 into stderror, which causes the stderr and stdout to swap places, thus the output of stderr gets piped (like stdou... | mohammedkzia/BashCode | bc2.20.sh | Shell | gpl-2.0 | 602 |
#!/bin/sh
#if [ ! -d NFS/ubifs_results/update ];
#then
#mkdir NFS/ubifs_results
#mkdir NFS/ubifs_results/update
#fi
if [ ! -d NFS/jffs2_results/update ];
then
mkdir NFS/jffs2_results
mkdir NFS/jffs2_results/update
fi
# UBIFS all tests
#for i in $(seq 20)
#do
# for j in 150 300 450 600
# do
# ./ubifs_mesur... | Houarnoughi/Bench | test_run.sh | Shell | gpl-2.0 | 467 |
URL=http://downloads.dbpedia.org/3.9/en/
mkdir -p dbpedia
cd dbpedia
# set the default graph
echo "http://dbpedia.org" > ./global.graph
#download all ttl files from URL
wget -q -O - $URL | sed 's/"/\n/g' | grep "ttl.bz2$" | sed "s|^|$URL|g" | xargs wget
# virtuoso does not handle bz2 compressions
bunzip2 *.bz2
# r... | dbpedia/dbpedia-docs | scripts/download/dbpedia_download.sh | Shell | gpl-2.0 | 380 |
java \
-classpath \
js.jar \
org.mozilla.javascript.tools.shell.Main \
r.js \
-o \
concatenated-modules.build.js | FENIX-Platform/fenix-modular-interface | view/build/build.sh | Shell | gpl-2.0 | 112 |
#!/bin/bash
export JSM_FRONT_URL=localhost
export JSM_PURCHASES_EMAIL="example@gmail.com"
export JSM_ERRORS_EMAIL=example@gmail.com
export JSM_PAYMENT_METHOD=paymill
export JSM_SMTP_ADDRESS=smtp.gmail.com
export JSM_SMTP_DOMAIN=localhost.localdomain
export JSM_SMTP_HOST=smtp.gmail.com
export JSM_SMTP_PORT=587
export J... | joshuacox/docker-jekyll-store-microservice | test.sh | Shell | gpl-2.0 | 510 |
#! /bin/sh
# Copyright (C) 2001-2022 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 ... | autotools-mirror/automake | t/pr279.sh | Shell | gpl-2.0 | 1,320 |
#
# Copyright (C) 2013 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 applicable la... | eroneko/android_device_xiaomi_cancro | vendorsetup.sh | Shell | gpl-2.0 | 715 |
"START TIME:2015-12-01 04:13:15
END TIME:2015-12-01 04:12:15
START TIME:2015-12-01 04:12:15
END TIME:2015-12-01 04:10:15"
cat abc |cut -d':' -f2- | awk '{system("date +\"%s\" --date=\"" $0 "\"")}' | paste -d"-" - - | bc
| hiteshagrawal/python | info/amaz/a.sh | Shell | gpl-2.0 | 225 |
#!/bin/sh
CLASSES=$(cat xml/namespace*.xml |grep innerc|sed "s/.*\">//"|sed s/"<.*//"|grep -v ^std)
./reflect.py $CLASSES
| yangrongwei/osgedit | src/doxygen/reflect_all_auto.sh | Shell | gpl-2.0 | 124 |
#@section header
# this module provides newroot-specific function wrappers
#
# quickref
# int newroot_sfs_container_mount() -- sfs_name, mp
# void newroot_sfs_container_init() -- mp, size_m
# int newroot_sfs_container_import() -- sfs_file, sfs_name
# int newroot_sfs_container_lock()
# int newr... | dywisor/shlib | lib/initramfs/newroot/squashfs_container.sh | Shell | gpl-2.0 | 1,965 |
#!/bin/bash
# Script to deploy Huggin 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 option... | terminalcloud/apps | huginn_installer.sh | Shell | gpl-2.0 | 3,690 |
#!/bin/bash
# Copyright 2017 Aleksander Gajewski <adiog@brainfuck.pl>
# created: czw, 7 wrz 2017, 20:04:29
# modified: pon, 16 paź 2017, 12:43:12
# BASH_CLEANUP {{{
BASH_CLEANUP_FILE=`mktemp`
trap BASH_CLEANUP EXIT
function BASH_CLEANUP() {
BASH_CLEANUP_FILE_REV=`mktemp`
tac $BASH_CLEANUP_FILE > $BASH_CLEANU... | adiog/dotfiles | .bin/qsarea.sh | Shell | gpl-2.0 | 753 |
#!/bin/bash
VENDOR=ulefone
DEVICE=metal
OUTDIR=vendor/$VENDOR/$DEVICE
MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
(cat << EOF) > $MAKEFILE
# Copyright (C) 2015 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Li... | walter79/android_device_elephone_p8000 | setup-makefiles.sh | Shell | gpl-2.0 | 2,655 |
convert images/OCS-193.png -crop 1691x4946+0+0 +repage images/OCS-193-A.png
convert images/OCS-193.png -crop 1693x4946+1691+0 +repage images/OCS-193-B.png
#/OCS-193.png
#
#
#
| jonnymwalker/Staroslavjanskij-Slovar | scripts/middlesplit.OCS-193.sh | Shell | gpl-2.0 | 175 |
#!/usr/bin/env bash
#
# _________ ____ ____________ _______ ___________________
# ______ /__________ |/ /___ ____/________ ___ |__ ____/___ ____/
# _ __ / __ ___/__ / ______ \ ___ __ \__ /| |_ / __ __/
# / /_/ / _ / _ | ____/ / __ /_/ /_ ___ |/ /___ _ /___
# \__,_/... | drxspace/cronoconky | cronograph_blk/yahooweather/forecasts.sh | Shell | gpl-2.0 | 11,398 |
# ----------------------------------------------------------------------------
# Busca as últimas notícias em sites especializados em segurança.
# Obs.: Cada site tem uma letra identificadora que pode ser passada como
# parâmetro, para informar quais sites você quer pesquisar:
#
# Linux Security B)rasil ... | jgentina/funcoeszz | zz/zznoticiassec.sh | Shell | gpl-2.0 | 1,909 |
#!/bin/bash
set -e
#########################################################################
#
# Simple build scripts to build krenel(with rootfs) -- by Benn
#
#########################################################################
#Setup common variables
export ARCH=arm
export CROSS_COMPILE=arm-none-linu... | madprogrammer/linux-aurora | scripts/build_sun4i-lite.sh | Shell | gpl-2.0 | 5,046 |
#!/bin/bash
#
# This is the MAKE script which makes PHP and other necessary stuffs.
#
# After creating your amazing app, access SSH and run this script.
# And wait for ~1 hour (depends on your luck)
# And start coding!
#
export OPENSHIFT_RUNTIME_DIR=${OPENSHIFT_HOMEDIR}/app-root/runtime
export ROOT_DIR=${OPENSHIFT_RUN... | hkhako/OS_Dreamfactory2.0 | misc/make.sh | Shell | gpl-2.0 | 5,359 |
#! /bin/sh
# Copyright (C) 2002-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/gettext-config-rpath.sh | Shell | gpl-2.0 | 1,409 |
#!/bin/sh
/usr/bin/wbm-config > /tmp/wbm-config.log 2>&1
### Disable all protocols by default (including batadv)
### and point them to the raw wifi interface (no vlans)
for proto in babel bmx7 olsr olsr2 batadv ; do
uci set network.wbm1_$proto.ifname='@wbm1_base'
uci set network.wbm1_$proto.disabled=1
uci... | battlemesh/wibed-battlemesh-experiment | packages/wibed-battlemesh-experiment/files/etc/uci-defaults/battlemesh.sh | Shell | gpl-2.0 | 448 |
#!/bin/bash
#
# PM-QA validation test suite for the power management on Linux
#
# Copyright (C) 2011, Linaro Limited.
#
# 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 ... | yinquan529/platform-external-pm-qa | cpuhotplug/cpuhotplug_08.sh | Shell | gpl-2.0 | 1,724 |
#!/bin/bash
WORKFLOW_VERSION=$1
USER_WORKFLOW_NAME=$2
# The default workflow name is for Sanger, but this can be overridden by passing some other string as the second argument,
# for example:
# get_nodes_for_update.sh 1.0-SNAPSHOT HelloWorld
# will select nodes with the HelloWorld bundle, version 1.0-SNAPSHOT
WORKFLOW... | ICGC-TCGA-PanCancer/architecture-setup | archive/get_nodes_for_update.sh | Shell | gpl-2.0 | 4,350 |
tubeup --use-download-archive --metadata=collection:twitchstreams http://twitch.tv/videos/593268270
tubeup --use-download-archive --metadata=collection:twitchstreams http://twitch.tv/videos/591347412
tubeup --use-download-archive --metadata=collection:twitchstreams http://twitch.tv/videos/589571272
tubeup --use-downloa... | vxbinaca/archive-env-NG | temp/dimitri.sh | Shell | gpl-3.0 | 3,600 |
#!/bin/bash
# ref: https://gist.github.com/jakob/929ed728c96741a119798647a32618ca
set -e
mkdir clangd
cd clangd/
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
cd ../..
cd llvm/tools/clang/tools
svn co http://llvm.org/svn/llvm-project/c... | dna2github/dna2sevord | computer/lab/build/build-clangd.sh | Shell | gpl-3.0 | 505 |
#!/bin/bash -i
set -e
LOG_FILE=/dev/null
#git config --global user.email "david.eve.za@gmail.com"
#git config --global user.name "david-eve-za"
function createMEGABindings
{
echo "* Creating MEGA Java bindings"
mkdir -p examples/java/src/nz/mega/sdk
swig -c++ -Iinclude -java -package nz.mega.sdk -outdir ... | david-eve-za/misc | Mega-NG-Compile.sh | Shell | gpl-3.0 | 1,535 |
#!/bin/bash
echo "Start"
MY_PATH="/Users/EsaHeikkinen/MyProjects/LA"
SCRIPT_PATH=${MY_PATH}"/LogGen/"
OUTPUT_PATH=${MY_PATH}"/LogFile/"
python ${SCRIPT_PATH}LogGen.py \
-log_name "TLG_1" \
-event_versatility 3 \
-traces_max 2 \
-area_size "1000x600" \
-area_pixel_size "10" \
-date ... | ErasRasmuson/LA | LogGen/TLG_1.sh | Shell | gpl-3.0 | 834 |
VERSION=1.10.7
sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev
wget http://www.makemkv.com/download/makemkv-bin-$VERSION.tar.gz
wget http://www.makemkv.com/download/makemkv-oss-$VERSION.tar.gz
gunzip makemkv-*
tar -vxf makemkv-bin-$VERSION.... | MediaKraken/MediaKraken_Deployment | build/theater_client_makemkv (ubuntu).sh | Shell | gpl-3.0 | 520 |
version="$(wget -q -O - http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep -m1 -o '\"[0-9](\.[0-9]+)+' | cut -c2-)"
echo "Installing OpenCV" $version
mkdir OpenCV
cd OpenCV
echo "Removing any pre-installed ffmpeg and x264"
sudo apt-get -qq remove ffmpeg x264 libx264-dev
echo "Installing Dependenice... | ThyrixYang/LearningNotes | package_install/install_opencv.sh | Shell | gpl-3.0 | 1,346 |
#!/usr/bin/env bash
# Copyright (C) 2015 GRNET S.A.
#
# 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
# (at your option) any later version.
#
# This program i... | grnet/agkyra | make_package.sh | Shell | gpl-3.0 | 1,219 |
#!/bin/bash
#
# jmeter-ec2 - Install Script (Runs on remote ec2 server)
#
REMOTE_HOME=$1
INSTALL_JAVA=$2
JMETER_VERSION=$3
PLUGINS=( "http://jmeter-plugins.org/downloads/file/JMeterPlugins-Standard-1.1.1.zip" "http://jmeter-plugins.org/downloads/file/JMeterPlugins-ExtrasLibs-1.1.1.zip" )
function install_jmeter_plu... | apigee/jmeter-ec2 | install.sh | Shell | gpl-3.0 | 2,733 |
#!/bin/bash
set -euo pipefail
echo "deb [arch=amd64] http://research.cs.wisc.edu/htcondor/ubuntu/stable/ trusty contrib" | sudo tee -a /etc/apt/sources.list
wget -qO - http://research.cs.wisc.edu/htcondor/ubuntu/HTCondor-Release.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y condor openmp... | Lascilab/htcondor-pararell | scripts/node.sh | Shell | gpl-3.0 | 1,917 |
#!/bin/sh
# Compute rms differences between MEA/DED and Weimer model for various storms
prog="./storm_rms"
tprog="time2str"
outdir="output"
rm -rf $outdir
mkdir $outdir
# October 30 2003
ts=1067472000
echo "running date $($tprog -t $ts)"
$prog -i ~/Downloads/mserv/data/MEA/MEA_200310.dat -w ~/Downloads/mserv/MEA_Mod... | pa345/lib | mserv/run_storms.sh | Shell | gpl-3.0 | 3,102 |
tcpdump -ni any 'tcp and dst port 25' | oscm/shell | mail/tcpdump.sh | Shell | gpl-3.0 | 37 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.