code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env bash
go get github.com/mitchellh/gox # && goxc -t > /dev/null 2>&1
| alixaxel/halBox | packages/ubuntu/trusty/go/gox.sh | Shell | mit | 83 |
#!/bin/bash
#
# Set up a super simple web server and make it accept GET and POST requests
# for Sensu plugin testing.
#
set -e
# base utilities that need to exist to start bootatraping
apt-get update
apt-get install -y build-essential
# setup the rubies
source /etc/profile
DATA_DIR=/tmp/kitchen/data
RUBY_HOME=${MY_R... | sensu-plugins/sensu-plugins-mesos | test/fixtures/bootstrap.sh | Shell | mit | 553 |
#! /bin/bash -x
# Emulator archive script. This will handle creating a folder which contains all
# the various pieces needed to run the emulator. This script can only be run
# after a full successful build has completed for QEMU.
dest=$1
mkdir -p $dest/{bin,android-emulator,system,prebuilts/qemu-kernel/arm}
# emulat... | silklabs/silk | bsp-gonk/board/qemu/archive.sh | Shell | mit | 1,626 |
#! /bin/bash
mv ~/Library/Developer/Xcode/UserData/CodeSnippets ~/Library/Developer/Xcode/UserData/CodeSnippets.backup
mv ~/Library/Developer/Xcode/UserData/FontAndColorThemes ~/Library/Developer/Xcode/UserData/FontAndColorThemes.backup
mv ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins ~/Library/Applica... | woshizilong/Xcode-Tools | setup_Xcode-Tools.sh | Shell | mit | 1,598 |
#!/bin/sh
# Check if it has root permission
if [[ "$UID" -ne "$ROOT_UID" ]] ; then
printf "죄송합니다! 관리자 권한으로 실행하여 주세요. 화면에 \"sudo 03_make_device_app.sh\" 이라고 입력합니다.\n"
exit 1
fi
printf "마지막 설정입니다. 이제 가상의 시뮬레이션 앱을 만들어 보도록 하겠습니다.(풍속 / 온도 / 습도 / 먼지농도)"
printf "처음 가상의 장치를 만들때 생성하였던 Key와 호스트 이름을 입력합니다.\n"
read -r -p "호스트... | janghe11/IoT_Hands-On-Lab | 03_iot-simulator/03_make_device_app.sh | Shell | mit | 1,278 |
if [ -d ./bin ]; then
echo "Cleaning bin directory..."
rm -rf ./bin/*
fi
echo "Installing dependencies..."
govendor sync
echo "Compiling assets..."
go-bindata -prefix assets/ -pkg main -o asset.go assets/
for GOOS in darwin windows linux; do
for GOARCH in 386 amd64; do
echo "Building $GOOS/$GOARCH..."
... | jacobmarshall/pokevision-cli | build.sh | Shell | mit | 844 |
## Install Steam
wget -P/tmp http://repo.steampowered.com/steam/archive/precise/steam_latest.deb
sudo gdebi /tmp/steam_latest.deb
rm /tmp/steam_latest.deb
| vakimov/dotfiles | linux_mint/bootstrap.steam.sh | Shell | mit | 157 |
#!/bin/bash
#
# Copyright (c) 2016 Intel Corporation. All rights reserved.
# Use of this source code is governed by a MIT-style license that can be
# found in the LICENSE file.
#
#set -x
# Run script as root, unless permissions are dropped elsewhere."
echo "Please input the test lasting time (seconds): "
read num
END... | lisa0314/node-realsense-1 | src/person-tracking/test/StableTest/getUsageRecord.sh | Shell | mit | 1,294 |
#!/bin/sh
cc=$1
file=$2
$cc -c $file -o ${file}.o || exit 1
readelf -s ${file}.o | awk '
BEGIN { missing=2; }
$8 ~ /(foo|puts)/ { missing -= 1; }
END { exit missing }';
exit $?
| larmel/c-compiler | test/c99/inline-extern.c.sh | Shell | mit | 183 |
#!/bin/bash
OPTIND=1
TESTED_CLIENT=0
TESTED_SERVER=0
TESTS_FAILED=0
SHOULD_REPORT=0
# if any code doesn't return 0, exit the script
set -o pipefail
# print each step of your code to the terminal
set -x
read -d '' HELP_STRING <<'EOF'
"This script is a testing and coverage reporting utility"
Usage:
./run_test... | andela-sjames/Django-ReactJS-Library-App | reactlibapp/scripts/run_tests.sh | Shell | mit | 1,920 |
#!/bin/bash
# Env JSON File
_envjson="env.json"
# Helper Functions
script_location() {
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
SOURCE="$DIR/$SOURCE"
done
echo $( cd -P "$( dirname "$SOURCE" )" && pwd )
}
... | geekjuice/headstart | bin/start.sh | Shell | mit | 1,092 |
#!/bin/sh
docker pull coderdojo/boot2zen
| niccokunzmann/cp-docker-development | docker/vm/build/01_pull_boot2zen.sh | Shell | mit | 42 |
#as -o swtch.o swtch.s
#cc -c -o swtch.o swtch.s
cc -g -c -o swtch.o swtch2.S
cc -g -c -o thread.o thread.c
cc -g -c -o mem.o mem.c
cc -g -c -o fmt.o fmt.c
cc -g -c -o assert.o assert.c
cc -g -c -o except.o except.c
cc -g -c -o chan.o chan.c
ar ruv libcii.a mem.o fmt.o assert.o except.o thread.o swtch.o chan.o
cc -g -... | wonghoifung/reviewing-c | cii/build_sieve.sh | Shell | mit | 374 |
#!/bin/sh
curl -O https://closure-library.googlecode.com/git/closure/goog/base.js
echo "Moving base google clousre to the build directory"
mv base.js build/
| Schuck-Johnson/csp-channel | scripts/get_google_closure_base.sh | Shell | mit | 157 |
#!/bin/sh
set -eo pipefail -o nounset
## Get .genome file
genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/hg19/hg19.genome
## Get GTF file
wget --quiet ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_34/GRCh37_mapping/gencode.v34lift37.long_noncoding_RNAs.gtf.... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/hg19/hg19-lncrna-annotations-chr-regions-gencode-v1/recipe.sh | Shell | mit | 747 |
#!/usr/bin/env bash
# abort if we get any error
set -e
_tag=$1
_branch="$(git rev-parse --abbrev-ref HEAD)"
if [ "${_tag}" == "" ]; then
echo "Missing version param. ex './scripts/tag_release.sh v5.1.1'"
exit 1
fi
if [ "${_branch}" == "master" ]; then
echo "you cannot tag releases from the master branch... | GridProtectionAlliance/openHistorian | Source/Applications/openHistorian/openHistorian/Grafana/scripts/tag_release.sh | Shell | mit | 892 |
#!/bin/bash
set -x
# Script para Configurar o RTC e localtime
# As perguntas são interativas através de TUI
# Uso: /script/ssh.sh <cmd>
# <cmd>: --first primeira instalação
# --daily chamado por /etc/cron.daily
# <em branco> só altera localtime
# O RTC tem que ficar ajustado e sincronizado... | isaacvitor/nfas | script/clock.sh | Shell | mit | 5,561 |
#
# Sets grep environment variables and defines grep aliases.
#
export GREP_COLOR='37;45'
alias grep='grep --color=auto'
| danielbayerlein/zsh-plugins | grep.plugin.zsh | Shell | mit | 123 |
#!/usr/bin/env bash
# Mother daemon collects system information and five-daemon-mgmt information and reacts.
# Keep things running with the traprestart function.
#
traprestart()
{
$0 "$$" &
exit 0
}
trap traprestart HUP TERM INT
# Mother Daemon by Keegan Bowen, 2014
# The Mother does a lot. Checks on her children ( t... | jpegleg/five-daemon-mgmt | mother-daemon.sh | Shell | mit | 5,591 |
#!/usr/bin/env bash
parallelshell 'tools/start.sh' 'tools/watch.sh' 'tools/browser-sync.sh'
| bbviana/alexandria | tools/dev.sh | Shell | mit | 93 |
#!/bin/bash
set -xe
mysqladmin -uroot -hdb create hakoblog || :
cat db/schema.sql | mysql -uroot -hdb hakoblog
mysqladmin -uroot -hdb create hakoblog_test || :
cat db/schema.sql | mysql -uroot -hdb hakoblog_test
| hakobe/hakoblog-python | prepare-db.sh | Shell | mit | 215 |
#!/bin/bash
# install openvpn
apt-get install openvpn
| danielfaulknor/ibd-packer | packer/scripts/debian/openvpn.sh | Shell | mit | 55 |
p 'g++ -S hello.cxx'
p 'c++filt -n <hello.s |fold'
| osamuaoki/fun2prog | hello/cxx/hello-s.sh | Shell | mit | 51 |
#!/bin/sh
###
sed 's/_/\./g' ../temp/jur.h.amp > ../temp/jur.h.1
sed 's/_/\./g' ../temp/jur.d.amp > ../temp/jur.d.1
sed 's/\\/ \\textbackslash /g' ../temp/jur.d.1 > ../temp/jur.d.2
sed 's/\\/ \\textbackslash /g' ../temp/jur.h.1 > ../temp/jur.h.2
sed 's/$/ \\\\ /g' ../temp/jur.d.2 > ../temp/jur.d.bs
sed 's/$/ ... | michal-fre/refugee-phrasebook.github.io | bash-scripts-for-pdf-generation/scripts/07_replace_shxxx.sh | Shell | mit | 2,349 |
#!/bin/sh
# http://www.gnu.org/software/bash/manual/bash.html#Bash-Conditional-Expressions
# git status --porcelain | grep "^A" | cut -c 4-
log_info () { echo "--- INF ---: $1"; }
log_error () { echo "--- ERR ---: $1"; }
# PROJECT_PATH=$(pwd)
PROJECT_PATH=$1
SKIP_COMMIT=1
alias git='git -C $PROJECT_PATH'
log_info ... | xieyunzi/dotfiles | crontab/.bin/auto_commit.sh | Shell | mit | 1,170 |
#!/bin/sh
#
# geninfocontrib_h.sh - infocontrib.h generator script
#
# written by Marco van den Heuvel <blackystardust68@yahoo.com>
# use system echo as it supports backslash expansion
ECHO=/bin/echo
rm -f try.tmp
$ECHO "\\\\n" >try.tmp
n1=`cat try.tmp | wc -c`
n2=`expr $n1 + 0`
if test x"$n2" = "x3"; then
linef... | century-arcade/src | c64/vice-2.4/src/geninfocontrib_h.sh | Shell | mit | 2,359 |
#!/bin/bash
# Copyright (C) 2016-2017 Claudio Luck <claudio.luck@gmail.com>
#
# MIT License
export LANG=C
export LC_ALL=C
function on_exit {
[ -z "$NF" -o ! -e "$NF" ] || rm -f "$NF"
[ -z "$NC" -o ! -e "$NC" ] || rm -f "$NC"
}
trap on_exit EXIT
NF=$(mktemp)
NC=$(mktemp)
mkdir -p /etc/nginx/proxy-trusts.pem.... | cluck/zeteco-infra | pastebin/loadbalancer/CHECK_proxy-trusts.sh | Shell | mit | 875 |
# Meteor packages used by this project, one per line.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
# Meteor Packages
meteor add standard-app-packages
meteor add backbone
meteor add accounts-base
meteor add accounts-password
meteor add accounts-twitter
meteor ad... | theartsnetwork/artytrends | packages-add.sh | Shell | mit | 2,234 |
git clone https://github.com/probmods/webppl.git ../webppl
git clone https://github.com/stuhlmueller/webppl-timeit.git ../webppl-timeit
git clone https://github.com/stuhlmueller/webppl-dp.git ../webppl-dp
git clone https://github.com/probmods/webppl-viz ../webppl-viz
npm link ../webppl-timeit
npm link ../webppl-dp
np... | jsalvatier/webppl-agents | install.sh | Shell | mit | 435 |
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE}")"
# echo "Updating local 'dotfiles' workspace via git ..."
# git pull origin master || exit 1
function doIt() {
echo "Copying local 'dotfiles' to home directory ..."
rsync --exclude ".git/" --exclude ".DS_Store" --exclude "install.sh" \
--exclude "README.md... | stevenbaker/dotfiles | install.sh | Shell | mit | 607 |
#!/usr/bin/env bash
###############################################################################
# Displays
###############################################################################
# Automatically adjust brightness
defaults write com.apple.BezelServices dAuto -bool true
sudo defaults write /Library/Preferen... | joeyhoer/starter | system/displays.sh | Shell | mit | 842 |
function peco-pkill() {
for pid in $(ps aux | peco --prompt "[peco-pkill]" | awk '{ print $2 }'); do
kill $pid
echo "Killed ${pid}"
done
}
alias pk="peco-pkill"
| togatoga/dotfiles | .peco/peco-pkill.zsh | Shell | mit | 167 |
#!/bin/sh -x
# http://blog.altermundi.net/article/playing-with-ath9k-spectral-scan/
# https://github.com/simonwunderlich/FFT_eval
phy=phy0
dev=wlan0
dbg=/sys/kernel/debug/ieee80211/$phy/ath9k
tmp=/tmp/fft_$$
if [ $(id -u) -eq 0 ]; then
if ! [ -d "$dbg" ]; then
echo "Missing $dbg, you need CONFIG_ATH9K_DEBUGFS=y" ... | grawity/bin | spectral-scan.sh | Shell | mit | 668 |
#!/usr/bin/env bash
echo '
------------------------------------------------------------
LOKRA STUDIO
- Project: ui-starter
- Description: build script
------------------------------------------------------------
'
rm -rf dist/
echo '
------------------------------------------------------------
Task: Build Product
----... | marulinho/Proyecto-Angular-Final | build.sh | Shell | mit | 1,047 |
#!/bin/bash
docker build -t nodespeed-ide ..
| whoGloo/nodespeed-ide | docker/make.sh | Shell | mit | 46 |
docker-compose down && docker-compose up --build -d && docker-compose ps | idchlife/typescript-project-starter-1 | start-app.sh | Shell | mit | 72 |
#!/bin/bash
#
# Run the epan unit tests
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
#
# 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 ... | zonque/wireshark | test/suite-wslua.sh | Shell | gpl-2.0 | 14,230 |
# System Settings
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export HOSTNAME=$(cat /etc/hostname)
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
export PS1
[ -r /etc/locale.conf ] && . /etc/locale.conf && export LANG
TERM="linux"
export TERM
alias ll='ls -al'
alias stop="sy... | unixer/sifbox-rc1 | packages/busybox/profile.d/system.sh | Shell | gpl-2.0 | 454 |
#!/bin/bash
# Example for running
docker run -e HOME=/root -t -i imiell/sd_xorg_libs /bin/bash
| ianmiell/shutit-distro | xorg_libs/bin/run.sh | Shell | gpl-2.0 | 95 |
#@section user_vars
: ${SFS_SCAN_NAMES="usr"}
: ${SFS_SCAN_EXTENSIONS="sfs squashfs"}
#@section functions
# void liram_scan_squashfs (
# sync_dir,
# *sfs_name=**SFS_SCAN_NAMES=,
# **SFS_SCAN_DIR="",
# **SFS_SCAN_EXTENSIONS,
# **SFS_SYNC_DIR!,
# )
#
liram_scan_squashfs() {
SFS_SYNC_DIR="${1:?}"
s... | dywisor/shlib | lib/initramfs/newroot/liram/squashfs.sh | Shell | gpl-2.0 | 1,102 |
#!/usr/bin/env bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
function test_dir() {
local PREV_DIR=`pwd`
cd $1
if test -d ".svn"
then
echo "==========" `pwd` "=========="
svn st
elif test -d ".git"
then
echo "==========" `pwd` "=========="
git status
elif test -d... | kapojko/scm-utils | st-all.bash | Shell | gpl-2.0 | 672 |
#!/bin/bash
#Script d'installation pour Linux
#On fait simplement le lien entre /usr/lib et ./lib avec des symlinks
#Retourne le repertoire courant
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
sudo ln -s $DIR/lib/linux/libfreeimage-3.17.0.so /usr/lib/libfreeimage.so.3
sudo ln -s $DIR/lib/linux/libglfw.so.3.1... | mobeaudoin/ogl-first-engine | install_linux.sh | Shell | gpl-2.0 | 671 |
#!/bin/bash
# Copyright 2016 Vimal Manohar
# 2016 Yiming Wang
# 2016 Johns Hopkins University (author: Daniel Povey)
# Apache 2.0
# This script demonstrates how to re-segment training data selecting only the
# "good" audio that matches the transcripts.
# The basic idea is to decode with an exis... | michellemorales/OpenMM | kaldi/egs/librispeech/s5/local/run_cleanup_segmentation.sh | Shell | gpl-2.0 | 2,492 |
NETCONF="firewall"
PHYS_LIST="a"
function prepare(){
mk_testnet net
mk_phys net a ip 172.16.0.1/24
mk_virt a 1 ip 192.168.99.1/24 mac 00:00:00:00:00:a1
mk_virt a 2 ip 192.168.99.2/24 mac 00:00:00:00:00:a2
mk_virt a 3 ip 192.168.99.3/24 mac 00:00:00:00:00:a3
mk_virt a 4 ip 192.168.99.4/24 mac 00:00:00:00:00:a4
}... | asch/lsdn | test/parts/qos.sh | Shell | gpl-2.0 | 571 |
#!/usr/bin/env bash
export PORT=8080
fresh
| adampresley/portfolio | start-dev.sh | Shell | gpl-2.0 | 45 |
#! /bin/sh
#
# This is a kernel build script for Asianux 2's 2.6.9 kernel.
#
die () {
echo $1
exit 1
}
cd /tmp/ || die "Can't chdir to /tmp/ ."
if [ ! -r kernel-2.6.9-89.17.AXS2.src.rpm ]
then
wget http://ftp.miraclelinux.com/pub/Miracle/ia32/standard/4.0/updates/SRPMS/kernel-2.6.9-89.17.AXS2.src.rpm || ... | renaudallard/kernel-froyo-GT-I9000 | specs/build-ax2-2.6.9.sh | Shell | gpl-2.0 | 3,344 |
case $0 in */*)D="${0%/*}";;*)D=.;;esac
. $D/../libsh/searchpath.sh
. $D/../libsh/assert.sh
X=/bin:/usr/bin:/usr/local/bin
assert [ "$(searchpath_find $X sh test -e)" = /bin/sh ]
assert [ "$(searchpath_find $X sh)" = /bin/sh ]
assert ! searchpath_find $X sh test -w
assert ! searchpath_find $X nonexistentexecutable tes... | quixotique/shellboost | test/test_searchpath.sh | Shell | gpl-2.0 | 1,697 |
#!/bin/sh
pid=trigger_owner
pidpw=trgown123
ORACLE_SID=trgprd
ORACLE_HOME=/u01/app/oracle/product/10.2.0
export ORACLE_SID ORACLE_HOME pid pidpw
PATH=$PATH:$ORACLE_HOME/bin
export PATH
cd /home/isoladm/app/log
echo >> fun2_dailybal.log
echo "START OF DAILY BALANCE CHECK @ `date`" >> fun2_dailybal.log
sqlplus -s ${... | zand3rs/fun2 | scripts/fun2_dailybal_chk.sh | Shell | gpl-2.0 | 565 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-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/t4133-graph-combine.sh | Shell | gpl-2.0 | 1,141 |
#! /bin/bash
# configure python environment
sudo yum install python27-devel -y
mv /usr/bin/python /usr/bin/python266
ln -s /usr/bin/python2.7 /usr/bin/python
sudo curl -o ez_setup.py https://bootstrap.pypa.io/ez_setup.py
sudo python ez_setup.py
sudo /usr/bin/easy_install-2.7 pip
sudo pip install virtualenv
cd $HOME
u... | pjryan126/solid-start-careers | init.sh | Shell | gpl-2.0 | 7,259 |
#!/usr/bin/env bash
OS=mac
PROJECT=zlib
VERSION="1.2.11"
DL_URL="https://zlib.net/zlib-$VERSION.tar.xz"
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
MAIN_DIR="$SCRIPT_DIR/.."
TARGET_DIR="$MAIN_DIR/libs/$PROJECT"
PROJECT_DIR="$MAIN_DIR/tmp/$PROJECT"
DOWNLOAD="$PROJECT_DIR/$PROJECT-$VERSION.tar.xz"
SRC_... | elsamuko/quat | scripts/build_zlib_mac.sh | Shell | gpl-2.0 | 2,290 |
#!/system/bin/sh
# Boeffla-Config controller interface
#
# *************************************
# SM-G900F Samsung Android 5.0 version
#
# V0.1
# *************************************
# ********************************
# Kernel specific initialisation
# ********************************
# kernel specification (hardw... | andip71/boeffla-kernel-samsung-s5 | ramdisk_boeffla/fs/res/bc/bccontroller.sh | Shell | gpl-2.0 | 58,261 |
ID=$(sudo docker run --privileged -d -p 22 joshjdevl/firefox /usr/sbin/sshd -D)
ID=${ID:0:12}
echo $ID
#PORT=$(sudo docker port $ID 22)
PORT=$(sudo docker inspect $ID | grep HostPort | tail -1 | awk '{print $2}' | tr -d '",\n’')
ssh -X chromium@localhost -p ${PORT}
| joshjdevl/docker-firefox | ssh.sh | Shell | gpl-2.0 | 270 |
#!/usr/bin/env bash
filename=$1
if [ -z $filename ]
then #test if the parameter exists
filename="default_map"
fi
if [ -e "$filename.yaml" ]
then #test if the file already exists
echo "$filename already exists. overrwite (Y/N)"
read answer
if test "$answer" != "Y" -a "$answer" != "y"
then exit ... | robotology/ikart | app/iKartRos/launch/save_map.sh | Shell | gpl-2.0 | 433 |
#!/bin/bash
mkdir logs/
MATLAB_INCLUDE="/usr/local/MATLAB/R2013b/extern/include"
MATLAB_LIB="/usr/local/MATLAB/R2013b/bin/glnxa64"
MATLAB_MAP_FILE="/usr/local/MATLAB/R2013b/extern/lib/glnxa64/mexFunction.map"
SOCKET_INCLUDE="../socket_functions"
icc -fpic -shared -DMATLAB_MEX_FILE -fno-omit-frame-pointer -pthread -... | sergeyvoronin/MatlabMexSockets | example_functions_mkl/compile.sh | Shell | gpl-2.0 | 1,186 |
#!/res/busybox sh
export PATH=/res/asset:$PATH
echo "1" > /sys/module/intelli_plug/parameters/intelli_plug_active
echo "1" > /sys/module/msm_thermal/parameters/enabled
echo "0" > /sys/module/msm_thermal/core_control/enabled
echo "1" > /sys/devices/system/cpu/cpu1/online
echo "1" > /sys/devices/system/cpu/cpu2/online
... | 1N4148/android_kernel_samsung_msm8974 | ramdisk/sbin/boot.sh | Shell | gpl-2.0 | 1,068 |
#!/bin/bash
# Skrypt uruchamiany przy starcie systemu. Dopoki nie zamontuje to proboje.
if [ -f /tmp/sshfsmonted ] ; then
echo "Zamontowane juz."
exit 0
else
is_not_mounted=1
while [ $is_not_mounted -ne 0 ] ; do
sshfs jpasz@jpaszpc:Dokumenty/Skany Dokumenty/Skany -o rw
sshfs jpasz@jpaszpc:Udostepnione ... | folkien/scripts | mountsshfs.sh | Shell | gpl-2.0 | 466 |
#!/bin/sh
ssh -p 22 root@averainy.info -D 127.0.0.1:7071 # 建立 ssh channel,并且不要关闭这个终端或者退出 ssh
| averainy/averainy | shell/ssh_socks.sh | Shell | gpl-2.0 | 128 |
#!/bin/bash
# MSM8X26 L release kernel build script v0.3
# nc.chaudhary@samsung.com
# aapav01@gmail.com <Customized>
BUILD_TOP_DIR=..
BUILD_KERNEL_DIR=$(pwd)
BUILD_CROSS_COMPILE=$(pwd)/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
BUILD_JOB_NUMBER=`grep processor /proc/cpuinfo|wc -l`
KERNEL_DEFCONFIG=msm8226-... | aditheking/G7102_MM_SWA_Opensource | build_msm8x26.sh | Shell | gpl-2.0 | 6,708 |
#!/bin/sh
NAME=bfdada.cov
lcov --quiet --base-directory . --directory . -c -o $NAME
lcov --quiet --remove $NAME "/usr*" -o $NAME
lcov --quiet --remove $NAME "/build*" -o $NAME
lcov --quiet --remove $NAME "/opt*" -o $NAME
lcov --quiet --remove $NAME "*/adainclude*" -o $NAME
lcov --quiet --remove $NAME "*/regtests*" -o $... | stcarrez/ada-bfd | coverage.sh | Shell | gpl-2.0 | 527 |
#!/bin/sh
##
## Visopsys
## Copyright (C) 1998-2015 J. Andrew McLaughlin
##
## image-usb.sh
##
# Installs the Visopsys system into a zipped USB image file
BLANKUSB=./blankusb.gz
INSTSCRIPT=./install.sh
MOUNTDIR=./tmp_mnt
ZIPLOG=./zip.log
echo ""
echo "Making Visopsys USB IMAGE file"
while [ "$1" != "" ] ; do
# ... | buddywithgol/visopsys | utils/image-usb.sh | Shell | gpl-2.0 | 2,361 |
#!/bin/sh
#
# Copyright (c) 2007 Shawn Pearce
#
test_description='test git fast-import utility'
. ./test-lib.sh
. "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash
# Print $1 bytes from stdin to stdout.
#
# This could be written as "head -c $1", but IRIX "head" does not
# support the -c option.
head_c () {... | moy/git | t/t9300-fast-import.sh | Shell | gpl-2.0 | 52,299 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-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/t8083-lua-include-dotdot.sh | Shell | gpl-2.0 | 1,081 |
FINEGRAINED_SUPPORTED=no
NAMEEXTRA=
run_bench() {
$SCRIPTDIR/shellpacks/shellpack-bench-vmr-createdelete
return $?
}
| wjn740/mmtests | drivers/driver-vmr-createdelete.sh | Shell | gpl-2.0 | 120 |
#!/bin/bash -e
#
# Copyright 2013-2019 (c) Yousong Zhou
#
# Install requirements
#
# pip install -r requirements.txt
#
# Example
#
# # github streisand
# ansible-playbook playbooks/streisand.yml -vvv
#
PKG_NAME=ansible
PKG_VERSION=2.8.2
PKG_SOURCE="$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_SOURCE_URL="http://releases.ansible.... | yousong/build-scripts | build-ansible.sh | Shell | gpl-2.0 | 468 |
#!/usr/bin/env bash
PROJDIR=$1
[[ -z "$PROJDIR" ]] || [[ ! -d "$PROJDIR" ]] && {
PROJDIR=$(pwd)
echo "Project dir is not specified, using current directory - $PROJDIR" >&2
# exit 1
}
PROJDIR=$(realpath "$PROJDIR")
export PROJDIR
cd "$PROJDIR" || exit 1
ctags -R ./
vim -c ":NERDTree $PROJDIR"
| flux242/dotfiles | .bin/vim_project.sh | Shell | gpl-2.0 | 302 |
#!/bin/bash
$CMD_DOUBLE_LONGER_SLEEP &
exec $CMD_PERF stat -a -e cpu-clock -I100 -- $CMD_LONGER_SLEEP 2> $LOGS_DIR/endless_wait.log
| rfmvh/perftool-testsuite | base_stat/auxiliary/exec_perf.sh | Shell | gpl-2.0 | 133 |
#!/bin/bash
NAME=MakeDesktopShortcuts
SCRIPT=makedesktopshortcuts
DESKTOPFILE=makedesktopshortcuts.desktop
if [ "$(id -u)" != "0" ]
then
echo "This script must be run as root" 1>&2
exit 1
else
echo "Press Enter to uninstall $NAME from your system"
read
rm -v "/usr/share/kde4/services/ServiceMe... | Faster3ck/MakeDesktopShortcuts | uninstall.sh | Shell | gpl-3.0 | 405 |
SERVER_IP0=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' dockerredis_master_1)
SERVER_IP1=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' dockerredis_slave_1)
SERVER_IP2=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' dockerredis_slave_2)
SENTINEL_IP1=$(docker inspect --format '... | gerschinner/redis-cluster-docker-compose | test.sh | Shell | gpl-3.0 | 2,649 |
#@ {
#@ "targets":
#@ [{
#@ "name":"signalflow.svg","dependencies":
#@ [{"ref":"dot","rel":"tool"}
#@ ,{"ref":"xsltproc","rel":"tool"}
#@ ,{"ref":"svgtopdf.sh","rel":"misc"}
#@ ,{"ref":"signalflow.dot","rel":"misc"}
#@ ,{"ref":"dotsvgfilter.xsl","rel":"misc"}]
#@ },{
#@ "name":"signalflow.svg.pdf","depend... | milasudril/anja | doc/signalflow.sh | Shell | gpl-3.0 | 880 |
#!/bin/bash
test_description='basic priority functionality
'
. ./test-lib.sh
test_todo_session 'priority usage' <<EOF
>>> todo.sh pri B B
usage: todo.sh pri ITEM# PRIORITY[, ITEM# PRIORITY, ...]
note: PRIORITY must be anywhere from A to Z.
=== 1
EOF
cat > todo.txt <<EOF
smell the uppercase Roses +flowers @outside
no... | todotxt/todo.txt-cli | tests/t1200-pri.sh | Shell | gpl-3.0 | 2,890 |
#!/bin/bash
#SBATCH -p general
#SBATCH -n 1
#SBATCH -N 1
#SBATCH --mem 8000
#SBATCH -t 1-00:00:00
#SBATCH -o faidx_%j.out
#SBATCH -e faidx_%j.err
#SBATCH --constrain=holyib
module load samtools
samtools faidx final.assembly.homo.fa
| ajshultz/whole-genome-reseq | make_faidx_hofi.sh | Shell | gpl-3.0 | 235 |
#!/usr/bin/env bash
# GeoNode installer script
#
# using getopts
#
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
while getopts 's:' OPTION
do
case $OPTION in
s) stepflag=1
stepval="$OPTARG"
;;
?) printf "Usage: %s: [-s value] configfile\n" $(basename $0) >&2
exit 2... | makinacorpus/geonode | shared/package/install.sh | Shell | gpl-3.0 | 8,600 |
#!/bin/sh
if ! pgrep --help 2>/dev/null >/dev/null; then
echo DONE 1
echo "pgrep is required" >&2
exit 1
fi
BASE_DIR="$(dirname "$(readlink -f "$0")")"
# load the data required for generating the callback
. "$BASE_DIR/env.sh"
URL_PREFIX="$CALLBACK_HOST/dynflow/tasks/$TASK_ID"
AUTH="$TASK_ID:$OTP"
CURL="c... | theforeman/smart_proxy_remote_execution_ssh | lib/smart_proxy_remote_execution_ssh/async_scripts/retrieve.sh | Shell | gpl-3.0 | 4,870 |
cleanup_loopback_image_file() {
losetup -d "$BLOCK_DEVICE"
}
register_cleanup "cleanup_loopback_image_file"
BLOCK_DEVICE="$(losetup --show -f "$IMAGEFILE")"
if ! [ -b "$BLOCK_DEVICE" ]; then
fatal "Block device '$BLOCK_DEVICE' is not available... WTF?"
fi
| ucib/ucib | plugins/misc/raw-image-file/tasks/03-loopback-image-file.sh | Shell | gpl-3.0 | 261 |
#@ {
#@ "targets":
#@ [{
#@ "name":"version.xml","dependencies":
#@ [
#@ {"ref":"../versioninfo.txt","rel":"misc"}
#@ ,{"ref":"cat","rel":"tool"}
#@ ]
#@ }]
#@ }
abort()
{
exit -1
}
trap 'abort' 0
set -eo pipefail
dir_target="$1"
in_dir="$2"
echo -e '<?xml version="1.0"?>
<content><subtitle>version ' ... | milasudril/anja | doc/version.sh | Shell | gpl-3.0 | 514 |
#Creates docker image and tag
sudo docker build --force-rm=true --no-cache=true --shm-size=1G -t fnietoga/oracledatabase:11.2.0.2-xe -f dockerfile.xe .
#sudo docker push fnietoga/oracledatabase:11.2.0.2-xe
#Run docker with custom scripts
#sudo docker events
sudo docker run --name oracle -p 1521:1521 -p 8089:8080... | fnietoga/dockerWcfOra | containers/oracle-11.2.0.2-xe/dockerCommands.sh | Shell | gpl-3.0 | 658 |
#!/bin/sh
KEYFILE="/tmp/fatrat-webui.key"
CONFIGFILE="/tmp/fatrat-webui.cnf"
CSRFILE="/tmp/fatrat-webui.csr"
CRTFILE="/tmp/fatrat-webui.crt"
PEMFILE="/tmp/fatrat-webui.pem"
if ! which sed >/dev/null; then
echo "No sed installed"
exit 1
fi
if ! which openssl >/dev/null; then
echo "No openssl installed"
exit 1... | LubosD/fatrat | data/genssl.sh | Shell | gpl-3.0 | 758 |
#!/bin/bash
# simple script to download and install the
# google logging library and ceres-solver library
wget http://google-glog.googlecode.com/files/glog-0.3.3.tar.gz
tar xvf glog-0.3.3.tar.gz
cd glog-0.3.3
./configure
make -j2
sudo make install
cd ..
wget http://ceres-solver.googlecode.com/files/ceres-solver-1.7.0.t... | Breakthru/sequential_nrsfm | sequential/build_ceres.sh | Shell | gpl-3.0 | 539 |
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
echo "Usage: $0 <vm_name> <image_url>"
exit 1
fi
# Some installers:
# debian8 (jessie): http://ftp.nl.debian.org/debian/dists/jessie/main/installer-amd64/
# ubuntu 16.04 (xenial): http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/
vm_name=$1
installer_u... | arthurljones/dotfiles | scripts/make_vm.sh | Shell | gpl-3.0 | 788 |
#!/bin/bash
set -e -u -o pipefail || exit 1
. "$( dirname "$( readlink -e "${0}" )" )/server-common.sh"
test "${#}" -eq 0 || { echo 'rabbitmq-bql: wrong arguments!' >&2 ; exit 1 ; }
test -e "${ESCP_RABBITMQ_SERVER_BIN}_bql/bql" || { echo 'rabbitmq-bql: `bql` not found!' >&2 ; exit 1 ; }
exec "${ESCP_RABBITMQ_SERVER... | cipriancraciun/extremely-simple-cluster-platform | components/rabbitmq-server/scripts/bql-shell.sh | Shell | gpl-3.0 | 409 |
#!/bin/bash
#######################################
# ### Raúl Caro Pastorino ### #
## ## ## ##
### # https://github.com/fryntiz/ # ###
## ## ## ##
# ### www.fryntiz.es ### #
#######################################
# Realiza un script que ad... | fryntiz/ciclosuperior | Scripts_Bash/Nivel medio/17_filtrar.sh | Shell | gpl-3.0 | 1,201 |
#!/bin/bash
WORKDIR=nsmb.d
DOL=${WORKDIR}/sys/main.dol
DOWNLOAD_LINK="https://www.dropbox.com/s/f7x8evfrc07bcbw/NSMBW%203%20The%20Final%20Levels.zip"
RIIVOLUTION_ZIP="NSMBW3_The final levels.zip"
RIIVOLUTION_DIR="NSMBW3"
GAMENAME="NSMBW3: The Final Levels"
XML_SOURCE="${RIIVOLUTION_DIR}"
XML_FILE="${RIIVOLUTION_DIR}"/... | Nanolx/patchimage | scripts/nsmbw/nsmbw3.sh | Shell | gpl-3.0 | 1,992 |
#!/bin/bash
# Original source: https://github.com/gauge/gauge/blob/master/script/mkdeb
# Usage:
# ./build/mkdeb.sh [--rebuild]
set -e
function err () {
echo "ERROR: $1"
exit 1
}
ROOT=`pwd -P`
DEPLOY_DIR="$ROOT/deploy"
BUILD_DIR="$ROOT/build"
OS=`uname -s | tr '[:upper:]' '[:lower:]'`
ARCH="i386"
NAME="gauge... | RabihHallage/gauge | build/mkdeb.sh | Shell | gpl-3.0 | 4,157 |
set -e
set -u
../../bin/dcd-client $1 file.d -c19 > actual1.txt
diff actual1.txt expected1.txt
../../bin/dcd-client $1 file.d -c37 > actual2.txt
diff actual2.txt expected2.txt
| Hackerpilot/DCD | tests/tc_template_param_props/run.sh | Shell | gpl-3.0 | 178 |
cd ~
touch .netrc
echo "machine github.com login [your-username] password [your-password]" >> .netrc
| arpan-chavda/my-ubuntu-scripts | configs/git_store.sh | Shell | gpl-3.0 | 101 |
i#!/usr/bin/env bash
clean=1 # Delete phpunit.phar after the tests are complete?
aftercmd="php phpunit.phar --bootstrap bootstrap.php src/tests"
gpg --fingerprint D8406D0D82947747293778314AA394086372C20A
if [ $? -ne 0 ]; then
echo -e "\033[33mDownloading PGP Public Key...\033[0m"
gpg --recv-keys D8406D0D8294774... | lecaoquochung/liho-ubun | php/install_phpunit.sh | Shell | gpl-3.0 | 1,625 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/instances/10_1_workflow_full_10files_secondary_w1_3sh_3rs_with_annot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161108T204604+0000/00/00/averageratioevent_0_ID0000024.sh | Shell | gpl-3.0 | 1,261 |
#!/bin/sh
if [ -d "./workspace/test_base/" ]; then
echo "The /worspace/test_base/ directory exists. Please remove (or backup before continuing)"
exit 0
fi
./1_from_csv.sh test_base.csv test_base
iter=100
./3_batch_from_dir.sh test_base $iter
| robertour/CulSim | experiments/genocide/test/test_experiment.sh | Shell | gpl-3.0 | 252 |
#!/usr/bin/env bash
set -x
readonly BOT_ROOT=/b
readonly BOT_ROOT_NAME=$1
readonly BOT_PASS=$2
#pushd /tmp
#curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh
#bash install-monitoring-agent.sh
#curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
#bash install-logging-agent.sh --s... | r0mai/metashell | 3rd/templight/libcxx/utils/docker/scripts/run_buildbot.sh | Shell | gpl-3.0 | 2,538 |
#!/bin/bash
# generate crt/csr/key/pem pair with openssl
OUT_NAME="vpn_cert"
OUT_PASSLESS_NAME="new_vpn_cert"
OUT_DIR="certs/"
OUT_DAYS=356
OUT_CRYPTOLEVEL=4096
OUT_CRYPTO="des3"
#create directory automagically if not exists
if [ -d "$OUT_DIR" ]
then
echo "we are creating the directory $OUT_DIR because it doe... | OliverLeitner/scripting | gencert.sh | Shell | gpl-3.0 | 1,971 |
python3 model_main.py \
--pipeline_config_path=training/ssd_mobilenet_v2_coco.config \
--model_dir=training \
--num_train_steps=15000 \
--num_eval_steps=2000 \
--alsologtostderr
| longlong2010/computer-vision | object-detection/run.sh | Shell | gpl-3.0 | 199 |
#!/bin/sh
exec tail -f \
/var/log/kern.log \
/var/log/syslog \
/var/log/mysql.log \
/var/log/messages \
/var/log/postgresql/postgresql-9.4-main.log
| heliogabalo/The-side-of-the-source | Codigo/Scripts/Logs/logs_monitor.sh | Shell | mpl-2.0 | 159 |
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the script phase was successful).
exit 0
fi
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_P... | yonadev/yona-app-ios | Yona/Pods/Target Support Files/Pods-Yona/Pods-Yona-frameworks.sh | Shell | mpl-2.0 | 7,708 |
#!/bin/bash
set -e
[ "$#" -ge 2 ] || { echo Usage: $0 model_family model_version >&2; exit 1; }
family="$1"
version="$2"
dir="udpipe-$family-$version"
[ -d "$dir" ] && { echo Release $dir already exists >&2; exit 1; }
mkdir "$dir"
cp LICENSE.CC-BY-NC-SA-4 "$dir"/LICENSE
make -C ../doc manual_model_${family}_readm... | ufal/udpipe | releases/release-model.sh | Shell | mpl-2.0 | 755 |
#!/bin/sh
# We recommend you run this as a pre-push hook: to reduce
# review turn-around time, we want all pushes to run tests
# locally. Using this hook will guarantee your hook gets
# updated as the repository changes.
#
# This hook tries to run as much as possible without taking
# too long.
#
# You can use it by ru... | mozilla-mobile/focus-android | quality/pre-push-recommended.sh | Shell | mpl-2.0 | 775 |
#!/bin/bash
echo Creating OpenMotics directory
mkdir -p /opt/openmotics/bin
mkdir -p /opt/openmotics/etc
mkdir -p /opt/openmotics/download
echo Copy OpenMotics software
cp -R python /opt/openmotics/
cp -R Updater /opt/openmotics/
cp -R static /opt/openmotics/
## Copy the bootloader
cp binaries/AN1310cl /opt/openmo... | openmotics/gateway | tools/installGateway.sh | Shell | agpl-3.0 | 4,066 |
#!/bin/bash
function step() { echo -e '\033[34;1m'"$*"'\033[0m'; }
function error() { echo -e '\033[31;1m'"$*"'\033[0m'; }
function warn() { echo -e '\033[33m'"$*"'\033[0m'; }
function fail() { error "$*"; exit -1; }
function run() { echo -e '\033[35;1m'Running: '\033[33;1m'"$*"'\033[0m'; "$@"; }
ALCOLEA_COUNTER_SERI... | Som-Energia/somenergia-generationkwh | scripts/genkwh_migrate_plantmeter_1_7_0_newplant.sh | Shell | agpl-3.0 | 2,211 |
#!/bin/bash
export OLD_PATH="$PATH"
export PATH="$PATH:$HOME/liteide/bin"
export GOPATH=$(pwd)
export GOBIN=$GOPATH/bin
export OLD_PS1="$PS1"
export PS1="(go $(basename $(pwd)))$PS1"
alias deactivate="unset GOPATH; unset GOBIN; unalias deactivate; export PS1=\"$OLD_PS1\"; unset OLD_PS1; export PATH=\"$OLD_PATH\"; u... | diegohce/camerata | goenv.sh | Shell | agpl-3.0 | 338 |
#lite -es6 -run dns
lite -d -v 2 -compile simple | luciotato/LiteScript | devel/util/tests/v0.6/soft-tabs/build.sh | Shell | agpl-3.0 | 48 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.