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 |
|---|---|---|---|---|---|
export PATH=$PATH:/opt/apache-cassandra/bin
| tklo/ansible-role-pithos | roles/andrewrothstein.cassandra/files/etc/profile.d/cassandra.sh | Shell | mit | 44 |
#!/bin/bash
set -ev
ng build --target=production --environment=prod;
firebase deploy --project=prod --token "$FIREBASE_TOKEN" --non-interactive
exit 0;
| shusson/sgc | deploy/prod.sh | Shell | mit | 155 |
#!/bin/bash
ls -lF /Users/alexryan/alpine/git/flereImsahoWebApp/flereImsaho.war
#scp -i ~/keys/music2.pem /Users/alexryan/alpine/git/flereImsahoWebApp/flereImsaho.war ubuntu@music:/home/ubuntu/tmp
rsync --progress -rave "ssh -i $KEYS/music2.pem" /Users/alexryan/alpine/git/flereImsahoWebApp/flereImsaho.war ubuntu@music... | alexryan/flere-imsaho | bin/push_webapp_to_aws.sh | Shell | mit | 340 |
#!/bin/sh
mkdir -p build-aux
aclocal \
&& automake --gnu --add-missing \
&& autoconf
| jaseg/lx106-hal | bootstrap.sh | Shell | mit | 88 |
#!/bin/bash
mkdir /tmp/dotnet-script
if [[ -z $1 ]]; then
version=$(curl https://api.github.com/repos/filipw/dotnet-script/releases/latest | grep -Eo "\"tag_name\":\s*\"(.*)\"" | cut -d'"' -f4)
else
version=$1
fi
currentVersion=$(dotnet script -v | tr -d '\n')
if [[ $? -eq 0 ]]; then
if [ "$version" =... | filipw/dotnet-script | install/install.sh | Shell | mit | 845 |
#!/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()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-GlobantPod_Tests/$1"
local de... | rgalante/GalantePod | Example/Pods/Target Support Files/Pods-GlobantPod_Tests/Pods-GlobantPod_Tests-frameworks.sh | Shell | mit | 2,314 |
#!/usr/bin/env bash
mkdir -p ~/.i3
cp ./config ~/.i3/
| prinsmike/manjaro-setup | i3/install.sh | Shell | mit | 55 |
#!/bin/sh
sed -i \
-e 's/#eeeeee/rgb(0%,0%,0%)/g' \
-e 's/#555555/rgb(100%,100%,100%)/g' \
-e 's/#444444/rgb(50%,0%,0%)/g' \
-e 's/#3971ed/rgb(0%,50%,0%)/g' \
-e 's/#ffffff/rgb(50%,0%,50%)/g' \
-e 's/#333333/rgb(0%,0%,50%)/g' \
*.svg
| ostanovka777/dotfiles | themes/oomox-numix/assets/sed.sh | Shell | mit | 272 |
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
DIR="$(pwd)"
cd ..
export SWIFT_VERSION=swift-4.1-RELEASE
wget https://swift.org/builds/swift-4.1-release/ubuntu1404/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu14.04.tar.gz
tar xzf swift-4.1-RELEASE-ubuntu14.04.tar.gz
export PATH="${PWD}/swift-4.1-RELE... | randop/GeoApi | Scripts/InstallSwift.sh | Shell | mit | 601 |
#!/usr/bin/env bash
set -ue
#CONFIGURATION
workdir="$HOME/.bg/" #Clobberful working directory
tiles=4 #Size of image: 1 2 4 8 16
url="http://himawari8-dl.nict.go.jp/himawari8/img/D531106/${tiles}d/550/"
delay=120 #Images are only available after a certain (varying) delay
outputfile="${workdir}final.png"
#DEPENDENCIES
... | p512/LiveEarth | bg.sh | Shell | mit | 2,219 |
#!/bin/sh
set -e
# This file does lots of running around before launching httpd
# Try to set servername
if [ -n "${APACHE_SERVERNAME}" ]
then
echo "Setting ServerName to '${APACHE_SERVERNAME}' in /etc/httpd/conf.d/server_name.conf."
echo "ServerName ${APACHE_SERVERNAME}" >/etc/httpd/conf.d/server_name.conf
fi
... | iitggithub/apache | apache.sh | Shell | mit | 2,761 |
#!/bin/sh
jazzy -m "StreamOneSDK" \
-a "StreamOne" \
-u https://streamone.nl \
-g https://github.com/StreamOneNL/iOS-SDK-ObjC \
--github-file-prefix https://github.com/StreamOneNL/iOS-SDK-ObjC/blob/master \
--module-version 3.0 \
-x '-project,StreamOneSDK.xcodeproj,-scheme,StreamOneSDK-iOS' \
-c | StreamOneNL/iOS-SDK-ObjC | jazzy.sh | Shell | mit | 304 |
#!/bin/bash
# This shell script will execute a clean build.
# Exit if any command fails
set -e
# Reset current directory
echo "Removing build directory..."
rm -rf build
# Create build directory
echo "Creating build directory..."
mkdir build
cd build
# Build
echo "Executing CMake..."
cmake ..
echo "Executing make..."
... | MoonCheesez/stack | OpenGL_Playground/clean_build.sh | Shell | mit | 474 |
#!/bin/bash
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
echo "cleaning up udev rules"
rm -r /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
rm -rf /dev/.udev/
rm /lib/udev/rules.... | JustinAzoff/packer-brobuntu-12.04 | scripts/vm_cleanup.sh | Shell | mit | 1,211 |
#!/bin/sh -ex
cd $(dirname $0)
./build-perftest-data.sh
cargo build --release
./build-perftest-cxx.sh
# vim: set ts=4 sw=4 et:
| stepancheg/rust-protobuf | test-crates/perftest/vs-cxx/build-perftest.sh | Shell | mit | 130 |
#!/bin/bash
source "$(dirname $(realpath $0))/paths.sh"
function print-help() {
printf "Usage: $0 [options]\n\n" >&2
printf "Options: \n" >&2
printf " -t %-15s Specify the template to use\n\n" "<template>" >&2
printf " -l %-15s List the available templates\n\n" >&2
printf " -p %-15s Specify the playground na... | b0o/playground | scripts/play.sh | Shell | mit | 7,256 |
function removeEarlier() {
# Remove < 0.7.0 version
if [ -f ~/bin/simdem.py ]; then
echo "Since version 0.7.0 Simdem is installed in a different way, we need to remove the old Simdem version."
rm ~/bin/simdem.py
rm ~/bin/simdem
fi
if [ -f /usr/local/bin/simdem.py ]; then
echo "Since version 0.7.0 Simde... | rgardler/simdem | scripts/install.sh | Shell | mit | 2,123 |
#!/bin/sh
set -e
set -x
set -u
IMAGE=get-image-glfw-image
CONTAINER=get-image-glfw-container
docker build -t ${IMAGE} .
docker stop ${CONTAINER} || true
docker rm ${CONTAINER} || true
docker create -e CI_BUILD_REF -e GITHUB_TOKEN -ti --name ${CONTAINER} ${IMAGE}
docker start -a ${CONTAINER} | cat
| graphicsfuzz/get-image-glfw | docker_build_create_start.sh | Shell | mit | 303 |
#!/bin/bash
# Script to prepare input files for SFrame analysis at ULB cluster. During its run it also checks the accessibility and readability of files and computes the total number of events.
# Prerequisities: 1) valid grid proxy (voms-proxy-init --voms cms:/cms/becms) 2) Set-up ROOT and SFrame environments
# Usag... | jpavel/cms-ucl-tau | ZHtautauAnalysis/config/MakeSFInputFile_local.sh | Shell | mit | 2,573 |
#!/usr/bin/env bash
SECRETKEY=""
API_ROUTE="hook/docker/build"
HOST_PORT="8080"
HOST_IP="10.0.0.110" #staging
while [[ $# -gt 1 ]]
do
key="$1"
case $key in
-e|--env)
ENVIRONMENT=$(echo "$2" | awk '{print tolower($0)}')
shift # past argument
;;
-p|--project)
PROJECT=$(e... | danieloliveira079/saltstack-container-scheduler | utils/operator.sh | Shell | mit | 1,790 |
#! bash
# bash completion for the `ruby` command.
#
# Copyright (c) 2009-2010 Daniel Luz <dev at mernen dot com>.
# Distributed under the MIT license.
# http://mernen.com/projects/completion-ruby
#
# To use, source this file on bash:
# . completion-ruby
__ruby() {
local cmd=$1
local cur=$2
local prev=$3
COMP... | midwire/bash.env | plugins/ruby/_ruby.sh | Shell | mit | 1,633 |
#!/usr/bin/env sh
## Add this to your wm startup file.
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -r -c ~/.config/polybar/config.ini main &
| rzani/dotfiles | polybar/launch.sh | Shell | mit | 300 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
rm $NEW
fi
}
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ -e $OLD ]; then
... | panosmdma/SlackOnly-SlackBuilds | network/bitlbee/doinst.sh | Shell | mit | 537 |
#!/usr/bin/env bash
apidoc -i src/ -o build/apidoc/
| godong9/weather-server | apidoc.sh | Shell | mit | 53 |
grep -e '.*TODO.*' --include \*.ts\* -R app | sed 's/^/WARNING: /'
| tomduncalf/typescript-react-redux-skeleton | src/tools/check-todos.sh | Shell | mit | 67 |
#
# Deploying the EFK Stack
#
export KIBANA_URL=kibana.apps.microserviceslab.com
export MASTER_URL=https://ip-172-31-46-214.eu-west-1.compute.internal:8443
#
# Specifying Deployer Parameters
#
# Parameters for the EFK DEPLOYMENT may be specified in the form of a:
# - ConfigMap,
# - a secret,
# - or template para... | javiroman/reproducible-research | ansible-projects/OCP-on-AWS/default-vpc-ocp/test/04-logs-aggregation/03-deploy-logging-EFK-componets.sh | Shell | mit | 3,534 |
#!/usr/bin/env bash
function check_server_ping() {
if [ "${enable_ping}" != 'false' ]
then
ping -c ${ping_count} -W ${ping_wait} -i ${ping_interval} "${server}" &> /dev/null
if [ $? -eq 0 ]
then
return 0
else
echo "Unable to ping the server specified, exiting"
return 1
fi
fi... | covermymeds/dbdeployer | functions/check_server_ping.sh | Shell | mit | 335 |
#!/bin/bash
if test `puppet --version | cut -d. -f 1` -lt 3; then
apt-get install --yes lsb-release
DISTRIB_CODENAME=$(lsb_release --codename --short)
DEB="puppetlabs-release-${DISTRIB_CODENAME}.deb"
DEB_PROVIDES="/etc/apt/sources.list.d/puppetlabs.list" # Assume that this file's existence means we hav... | sammys/kalastack | scripts/upgrade_puppet.sh | Shell | mit | 725 |
#!/bin/sh
#
# Copyright (c) 2014 Juan Batiz-Benet
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test daemon command"
. lib/test-lib.sh
test_init_ipfs
test_launch_ipfs_daemon
# this errors if we didn't --init $IPFS_PATH correctly
test_expect_success "'ipfs config Identity.PeerID' work... | shadoxx/go-ipfs | test/sharness/t0060-daemon.sh | Shell | mit | 3,714 |
./../../../bin/ring ../../codegen/parsec.ring opengl21.cf ring_opengl21.c ring_opengl21.rh
| ring-lang/ring | extensions/ringopengl/opengl21/gencode.sh | Shell | mit | 91 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-64-1
#
# Security announcement date: 2014-09-26 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:49 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - curl:7.21.0-2.1+squeeze9
#
# Last ve... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2014/DLA-64-1.sh | Shell | mit | 621 |
#/bin/env bash
systemctl --user unmask dunst
systemctl --user daemon-reload
| yoannfleurydev/dotfiles | bin/startnotif.sh | Shell | mit | 78 |
#!/bin/bash
kill -9 $(ps -A | grep '[r]eact-native/scripts/../cli.js' | awk '{print $1}')
kill -9 $(ps -A | grep '[w]ml' | awk '{print $1}')
mv .watchmanconfig .template.watchmanconfig
wml rm all
watchman watch-del-all
git checkout -- package.json
rm -rf ../react-native-nested-listview-examples/node_modules
cd .... | fjmorant/react-native-nested-listview | stop-watch.sh | Shell | mit | 381 |
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
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... | EyreFree/EFCountingLabel | Example/Pods/Target Support Files/Pods-EFCountingLabel_Example/Pods-EFCountingLabel_Example-frameworks.sh | Shell | mit | 7,901 |
#!/usr/bin/env bash
# @description Installs the default version of PHP
set -eo pipefail
VVV_BASE_PHPVERSION=${VVV_BASE_PHPVERSION:-"7.4"}
function php_before_packages() {
cp -f "/srv/provision/core/php/ondrej-ppa-pin" "/etc/apt/preferences.d/ondrej-ppa-pin"
}
vvv_add_hook before_packages php_before_packages
functi... | Varying-Vagrant-Vagrants/VVV | provision/core/php/provision.sh | Shell | mit | 5,257 |
#!/bin/sh
MY_HOST_ALIAS=$1
#INSTANCE_ID=`ec2-run-instances -t t1.micro ami-6c06f305 -k mysshkey 2>&1 | awk '/^INSTANCE/ {print $2}'` #ubuntu image
INSTANCE_ID=`ec2-run-instances -t t1.micro ami-7c827015 -k mysshkey 2>&1 | awk '/^INSTANCE/ {print $2}'` #centos image
INSTANCE_HOSTNAME=pending
while [ "${INSTANCE... | bdurrow/design-center | examples/verticalsysadmin_training_examples/4-030-EC2-0220-system_provisioning_and_integration_Start_micro_instance.sh | Shell | mit | 1,686 |
#!/bin/sh
docker create -it --env="DISPLAY" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
topy_env
export containerId=$(docker ps -l -q)
xhost +local:`docker inspect --format=' {{ .Config.Hostname }}' $containerId`
docker start $containerId -i
| ph1ash/topy_playground | linux_gen_topy_env.sh | Shell | mit | 285 |
#!/bin/sh
# the repository name must exist in the environment
if [ -z $REPOSITORY ]; then
echo 'Missing repository name...exiting...'
exit 1
fi
# extract sources and prepare for build
tar -xf tar-1.30.tar.xz
cd tar-1.30
mkdir build && cd build
PREFIX=/usr/local
FORCE_UNSAFE_CONFIGURE=1 \
CFLAGS='-O3 -s' \
LD... | MetaBarj0/scripts | docker/share/images/tar/build-sources.sh | Shell | mit | 544 |
#!/usr/bin/env bash
git add .
git commit -m "add automate scripts and other scripts."
git push
| tencrance/cool-config | useful_code/gitbatch.sh | Shell | mit | 95 |
#!/bin/bash
__COMMENTS__='
# OS: ubuntu 14.04 trusty
# nodejs: 6.9.1
# npm: 3.10.8
# sudo: required
# need "GIT_USER_NAME" "GIT_USER_EMAIL" "GIT_REPO_TOKEN" variable in env.
# how to use: in travis, use the script to run, eg:
# source travis_ci_init.sh
# sh travis_ci_init.sh
# ./travis_ci_init.sh
'
node --v... | AlbertZhao/AZTopTabBar | travis_ci_init.sh | Shell | mit | 890 |
#!/bin/sh
## ./recovery tsl tsl-schema.sql tsl-data.sql
/usr/local/opt/mysql\@5.5/bin/mysql -uroot -proot < $2
/usr/local/opt/mysql\@5.5/bin/mysql -uroot -proot $1 < $3
| jrchens/tsl | tsl-admin/src/main/resources/db/recovery.sh | Shell | mit | 173 |
alias yappee="rake enable:editor"
alias yapped="rake enable:dashboard"
alias yappep="rake enable:preview"
alias yappea="rake enable:account"
| princeofdarkness76/dotfiles | home/.zsh/yapp.zsh | Shell | mit | 141 |
#!/bin/sh
root=$(cd $(dirname $0) && pwd)
for src in $(find $root -name '*.symlink'); do
dest=$HOME/.${src#$root/}
dest=${dest%.*}
[ -e $dest ] || ln -s $src $dest
done
#bundle_root=$HOME/.vim/bundle
#neobundle_dir=$bundle_root/neobundle.vim
#mkdir -p $bundle_root
#
#[ ! -d $neobundle_dir ] && git clone https... | ryo0301/dotfiles | init.sh | Shell | mit | 402 |
#! /bin/bash
VERSION=0.13.18
make dist
mkdir -p ../deb/
rm -rf ../deb/*
cp -v stimfit-${VERSION}.tar.gz ../deb/
cp -v stimfit-${VERSION}.tar.gz ../deb/stimfit_${VERSION}.orig.tar.gz
cd ../deb/
tar -xzf stimfit_${VERSION}.orig.tar.gz
cd stimfit-${VERSION}
cp -rv ../../../dist/debian ./
debuild -S -sa
sudo pbuilder bui... | SunilProgramer/stimfit | dist/debian/mkdeb.sh | Shell | gpl-2.0 | 332 |
#!/bin/bash
/usr/lib/jvm/java-8-oracle/bin/java -Dfile.encoding=UTF-8 -classpath ./target/classes:./lib/simmetrics-core-3.2.1.jar:./lib/guava-18.0.jar:./lib/commons-codec-1.10.jar:./lib/junit-4.12.jar:./lib/hamcrest-core-1.3.jar:./lib/slf4j-api-1.7.12.jar:./lib/logback-access-1.1.3.jar:./lib/logback-core-1.1.3.jar:./li... | cotrino/languagenetwork | run.sh | Shell | gpl-2.0 | 498 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-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/t4081-exit-failure4.sh | Shell | gpl-2.0 | 1,324 |
#!/bin/bash
shopt -s extdebug
repetition_count=0
DIR=$( cd "$( dirname "${BASH_SOURCE[1]}" )" && pwd )
_ERR_HDR_FMT="%.8s %s@%s:%s:%s"
_ERR_MSG_FMT="[${_ERR_HDR_FMT}]%s \$"
msg() {
printf "$_ERR_MSG_FMT" $(date +%T) $USER $HOSTNAME $DIR/${BASH_SOURCE[2]##*/} ${BASH_LINENO[1]}
echo " ${@}"
}
msg2() {
printf "$_ER... | adamryczkowski/puppet-lxc | files/common.sh | Shell | gpl-2.0 | 6,990 |
#!/bin/sh
verbose=false
if [ "x$1" = "x-v" ]; then
verbose=true
out=/dev/stdout
err=/dev/stderr
else
out=/dev/null
err=/dev/null
fi
## make & makeopts
if gmake --version > /dev/null 2>&1; then
make=gmake;
else
make=make;
fi
makeopts="--quiet --no-print-directory -j"
make_print() {
ec... | spinlock/ucore | i386/lab2_memory/proj5.1/tools/grade.sh | Shell | gpl-2.0 | 6,989 |
#!/bin/sh -e
# Script to cross-compile FoFiX's dependency libraries for Win32.
# (Derived from a similar script I wrote for Performous.)
# Copyright (C) 2010 John Stumpo
#
# 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
# th... | donut87/fofix | win32/makedeps-cross.sh | Shell | gpl-2.0 | 13,491 |
#!/bin/bash
# gha_build.sh
#
# This file is part of NEST.
#
# Copyright (C) 2004 The NEST Initiative
#
# NEST 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 opt... | SepehrMN/nest-simulator | extras/gha_build.sh | Shell | gpl-2.0 | 12,890 |
#! /bin/sh
# Copyright (C) 2011-2017 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 ... | pylam/automake | t/self-check-explicit-skips.sh | Shell | gpl-2.0 | 1,620 |
#!/bin/bash
set -ex
# Case 1: if there is a /src directory with a clone of the
# operations/dns repository, work there
if [[ -d /src/.git ]]; then
pushd /src
# Case 2: running on a submitted change - typically in CI
elif [[ -n "$ZUUL_REF" ]]; then
pushd "$DNSDIR"
# Prepare patch set from zuul merger
g... | wikimedia/integration-config | dockerfiles/operations-dnslint/run.sh | Shell | gpl-2.0 | 637 |
#!/bin/bash
# build_system_post-bash_extended.sh
# -------------------------------------------------------
# InterGenOS: A Linux from Source Project
# build: .003
# URL: http://intergenstudios.com/intergen_os/
# Github: https://github.com/InterGenOS
# ---------------------------------------------------
# InterGenStudio... | InterGenOS/build_003 | build_system_post-bash_extended.sh | Shell | gpl-2.0 | 30,491 |
#!/bin/bash
###########################################################################################
# This script was copied from egs/fisher_swbd/s5/local/score.sh
# The source commit was e69198c3dc5633f98eb88e1cdf20b2521a598f21
# Changes made:
# - Changed to use steps/score_kaldi.sh instead of local/score_basic.... | michellemorales/OpenMM | kaldi/egs/multi_en/s5/local/score.sh | Shell | gpl-2.0 | 1,859 |
#! /bin/sh
# Copyright (C) 2011-2013 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 ... | GavinSmith0123/automake-amplain | t/missing-auxfile-stops-makefiles-creation.sh | Shell | gpl-2.0 | 1,810 |
#!/bin/bash
WORKING_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$WORKING_DIR"
KERNEL_SUFFIX="-danny"
if [ "$1" = "config" ]; then
echo -e "\033[1;36m---GETTING LOCAL KERNEL CONFIG---\033[1;0m"
make localmodconfig # get current kernel params
# set our own kernel suffix
echo -e "\033[... | cosmicexplorer/linux | install-arch-kernel.sh | Shell | gpl-2.0 | 2,587 |
#! /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/t6060-broken-update39.sh | Shell | gpl-2.0 | 1,746 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2008-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t2002-link-objects.sh | Shell | gpl-2.0 | 1,140 |
#!/bin/sh
#
# PHP code statistics.
#
files=(www/*.php www/classes/*.php)
lines=0
for file in ${files[@]}
do
lines=$((lines + $(cat $file | wc -l)))
done
echo "$lines lines of PHP code in "${#files[@]}' PHP files.'
#
# CSS code statistics.
# Ignore minified CSS files, they are 3rd party libraries.
#
files=(www/c... | StudA-EPR/EPR-CRC | code-stats.sh | Shell | gpl-2.0 | 770 |
#!/bin/sh
ver=`grep "X-KDE-PluginInfo-Version" metadata.desktop | sed 's/.*=//'`
zip ~/kdictionary-$ver.plasmoid -r contents
zip ~/kdictionary-$ver.plasmoid metadata.desktop COPYING README.md | librehat/kdictionary | mkplasmoid.sh | Shell | gpl-2.0 | 193 |
#!/bin/bash
testcount=0
testpass=0
failedtests=""
function test {
testcount=$(($testcount+1))
./interpreter -i $1
if [ $? -eq 0 ]; then
testpass=$(($testpass+1))
else
failedtests=$failedtests$1" "
fi
}
test tests/arithmetic.src
printf "%d/%d tests passed\n" $testpass $testcount
if [ $testpass -eq $testcoun... | johan-bjareholt/interpreter-test2 | test.sh | Shell | gpl-2.0 | 448 |
reset
./uninstall.sh
./install.sh
python src/rebus/tests.py | barseghyanartur/rebus | test.sh | Shell | gpl-2.0 | 59 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t7050-ghost-entries.sh | Shell | gpl-2.0 | 1,667 |
#!/bin/bash
coffee -o . src/xls2json.coffee
./x2j.njs bookshop.xls category category.json
#npm publish
| kai1987/xls-to-dynamic-json | test.sh | Shell | gpl-2.0 | 104 |
#!/bin/sh
usage() {
echo "Usage: $0 [ctb|pku] filename encoding kBest" >&2
echo " ctb : use Chinese Treebank segmentation" >&2
echo " pku : Beijing University segmentation" >&2
echo " kBest: print kBest best segmenations; 0 means kBest mode is off." >&2
echo >&2
echo "Example: $0 ctb test.simp.utf8 UTF-... | tabladrum/CoreNLP | doc/segmenter/segment-05202008.sh | Shell | gpl-2.0 | 1,531 |
#!/bin/bash
#
# $Id: win64-setup.sh 46613 2012-12-19 06:52:56Z etxrab $
# 64-bit wrapper for win-setup.sh.
export DOWNLOAD_TAG="2012-12-19"
export WIRESHARK_TARGET_PLATFORM="win64"
WIN_SETUP=`echo $0 | sed -e s/win64/win/`
exec $WIN_SETUP $@
| MavEtJu/wireshark-lean | tools/win64-setup.sh | Shell | gpl-2.0 | 246 |
#!/bin/bash
#
# Shell script to call a program, and flag it's execution in case there
# is any output from the program.
#
# Copyright (C) 2010 Robert Lange <sd2k9@sethdepot.org>
# Licensed under the GNU General Public License, version 2
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# CURRENTLY FLAGGING IS D... | sd2k9/mail2web | watcher_report_output.sh | Shell | gpl-2.0 | 1,798 |
#!/bin/bash
#set -x
custom_cfg=$1
master_cfg=/etc/my.cnf
option_list="/root/mysql_option_list_55.txt"
if [ "$custom_cfg" == "" ]
then
echo -e "No parameter! \n Usage: $0 custom-config"
exit 2
fi
if [ ! -f "$custom_cfg" ]
then
echo "no such file"
exit 3
fi
function validate_option {
... | mszel-pythian/ansible_mha | roles/mysql/files/root/mysql_parse_config.sh | Shell | gpl-2.0 | 1,643 |
/root/jt3 /dev/input/js0
| tkrmnz/mbb | run_js2.sh | Shell | gpl-2.0 | 26 |
#!/bin/sh
# Setup Simple OpenVPN server for Amazon Linux and Centos
# Copyright (C) 2012 Viljo Viitanen <viljo.viitanen@iki.fi>
#
# 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 Fou... | mutaku/setup-simple-openvpn | setup.sh | Shell | gpl-2.0 | 5,295 |
#!/bin/bash
cd `dirname $0`
. ./common.sh
#Program wstawia zadane --base repozytorium na początek historii repozytorium --child, produkując repozytorium, które wygląda tak, jakby ktoś do repozytorium --base dodał masę commitów (łącznie z branch) tak, że ostateczne repozytorium wygląda tak, jak --child.
#Ścieżka do utw... | adamryczkowski/puppet-bootstrap | todo/insert-repo-as-base-of-another.sh | Shell | gpl-2.0 | 2,669 |
#! /bin/sh
# Copyright (C) 2010-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/vartypo2.sh | Shell | gpl-2.0 | 2,536 |
#!/bin/bash
if [ $# -eq 0 ]; then
echo "usage: capture-filesystem-info.bash <seconds-to-run> <seconds-between-checks> <data-directory> <mysql-user> <mysql-socket> <mysql-database> <storage-engine> <log-file-name>"
exit 1
fi
RUN_TIME_SECONDS=$1
WAIT_TIME_SECONDS=$2
DB_DIR=$3
MYSQL_USER=$4
MYSQL_SOCKET=$5
MYSQL_DAT... | Percona-QA/toku-qa | bin/capture-filesystem-info.bash | Shell | gpl-2.0 | 1,958 |
#!/bin/sh
set -e
qmake
make
lrelease convert-freebox.pro
rm -rf pkg; mkdir pkg
mkdir -p pkg/bin
mkdir -p pkg/share/applications
mkdir -p pkg/share/pixmaps
mkdir -p pkg/lib/convert-freebox/modules
mkdir -p pkg/lib/convert-freebox/translations
cp translations/*.qm pkg/lib/convert-freebox/translations/
find ./build-vl... | funman/convert-freebox | build-unix.sh | Shell | gpl-2.0 | 761 |
#! /bin/sh
# Script to convert an Amiga executable named filesys into a series of
# dw(...) statements.
# This assumes that the first four lines only contain hunk information.
# That is what you get if you assemble/link with a68k/blink
od -v -t xC -w8 filesys |tail -n +5 | sed -e "s,^.......,," \
-e "s,[012345... | lunixbochs/fs-uae-gles | src/filesys.sh | Shell | gpl-2.0 | 375 |
#!/bin/bash
#use 'echo $?' command after the program terminates to find the status
count=0
firstLine=0
initialCount=0
PROCLIST=(
"/usr/sbin/asterisk"
"/usr/sbin/safe_asterisk"
)
initialCount=${#PROCLIST[@]}
for proc in ${PROCLIST[*]}; do
PCOUNT=$(ps aux | grep $proc | grep -v grep | wc -l)
if ... | Evangileon/failover | ProcessChecker.sh | Shell | gpl-2.0 | 1,058 |
#! /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/t4093-refactor-rm-group.sh | Shell | gpl-2.0 | 1,052 |
#Pingall
ansible -i development -u root -m ping all
#Run playbook
ansible-playbook -i development -u root site.yml -vvv
| psachdev6375/provisioning-with-ansible | important-commands.sh | Shell | gpl-3.0 | 123 |
#!/bin/sh
#-------------------------------------------------------------------------------
# A convenient way to run all the integration tests for servers
#
# It supposes that DIRAC is installed in $SERVERINSTALLDIR
#-------------------------------------------------------------------------------
echo -e '*************... | andresailer/DIRAC | tests/Integration/all_integration_server_tests.sh | Shell | gpl-3.0 | 4,394 |
#!/bin/bash -e
if [ -z "$ARTIFACT_SSH_KEY" ]; then
echo "ARTIFACT_SSH_KEY must be set"
exit 1
fi
if [ -z "$3" ]; then
echo "usage $0 app src dst"
exit 1
fi
APP=$1
SRC=$2
DST=$3
if [ ! -e $SRC ]; then
echo "nothing to upload, $SRC does not exist"
exit 0
fi
ls -la $SRC
echo "$ARTIFACT_SSH_KEY" | bas... | syncloud/lib | bin/syncloud-upload-artifact.sh | Shell | gpl-3.0 | 518 |
#!/bin/sh
DAY=`date +%a`
DAY=${DAY:0:2}
#OTHER=`date +"%e %b, %H:%M"`
#echo "$DAY $OTHER"
echo -n `date +%H:%M`
| RavuAlHemio/bashets | userscripts/date.sh | Shell | gpl-3.0 | 113 |
docker run --rm -v $(pwd)/../:/src -u1000 antonienko/compass-watch compile /src/Private --force
| in2code-de/in2publish_core | Resources/Private/compile-sass.sh | Shell | gpl-3.0 | 96 |
#!/bin/sh
# script by Shien Ikiru (c) 2015 <shienikiru@gmail.com>
# wget --no-check-certificate https://raw.githubusercontent.com/nauval2007/debian7os/master/install-softether.sh
# installing softether for debian
# initialisasi var
export DEBIAN_FRONTEND=noninteractive
OS=`uname -m`;
MYIP=`ifconfig | grep -Eo 'inet (... | nauval2007/debian7os | install-softether.sh | Shell | gpl-3.0 | 13,451 |
#!/bin/bash
# Copyright 2013-2015, Derrick Wood, Jennifer Lu <jlu26@jhmi.edu>
#
# This file is part of the Kraken taxonomic sequence classification system.
#
# Kraken is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Found... | DerrickWood/kraken | scripts/upgrade_db.sh | Shell | gpl-3.0 | 2,514 |
#! /bin/sh -ve
# Please make sure that you update the path to the current OVS directory.
DIR=~/ovs/utilities
$DIR/ovs-ofctl --protocols=OpenFlow15 del-flows br0
# Add baseerat headers
$DIR/ovs-ofctl --protocols=OpenFlow15 add-flow br0 "table=0,priority=32768,ipv4__dstAddr=0xC0A8380B \
acti... | Baseerat/ansible | testbeds/vmware/files/p4_programs/baseerat_vswitch_5_headers_combined.sh | Shell | gpl-3.0 | 1,094 |
#!/bin/bash
BASEDIR='/home/ph123693/Documents/2D/results/'
TWODRUNIDVEC=('44254' '44256' '44258' '44326' '44329' '44330' '44327' '44332' '44333');
cd ${BASEDIR};
for twodrunid in ${TWODRUNIDVEC[@]}
do
echo ">> updating diag of ${twodrunid}";
cd w2d_${twodrunid}*/gnuplot/;
bash script_all.sh;
cd ${BASEDIR};
... | RayleighsJeans/MA-kerfd | results/scripts/update_diagnostics.sh | Shell | gpl-3.0 | 325 |
function InstallPkg()
{
yum -y install --nogpgcheck "$@"
}
function InstallLocalPkg()
{
yum -y localinstall --nogpgcheck "$@"
}
function ProcessPkg()
{
if [ $(uname -i) = "i386" ]; then
file="$file32"
get="$get32"
elif [ $(uname -i) = "x86_64" ]; then
file="$file64"
get="$get64"
fi
GetFile
InstallLocalPkg "$file"
}
| igosnusantara/fedorautils | lib/ProcFiles.sh | Shell | gpl-3.0 | 319 |
#! /bin/sh
# $Id: updateminiupnpcstrings.sh,v 1.2 2009/06/04 09:13:53 nanard Exp $
FILE=miniupnpcstrings.h
# detecting the OS name and version
OS_NAME=`uname -s`
OS_VERSION=`uname -r`
if [ -f /etc/debian_version ]; then
OS_NAME=Debian
OS_VERSION=`cat /etc/debian_version`
fi
# use lsb_release (Linux Standard Base) w... | ximion/Clementine-LibDanceTag | 3rdparty/libportfwd/third-party/miniupnpc-20090605/updateminiupnpcstrings.sh | Shell | gpl-3.0 | 894 |
#!/bin/bash
PROBLEM=toh
LOG_DIR=~/log
ivASP_LOG_DIR=$LOG_DIR/ivASP/$PROBLEM
iclingo_LOG_DIR=$LOG_DIR/iclingo/$PROBLEM
if [ ! -d "$ivASP_LOG_DIR" ]
then
mkdir -p "$ivASP_LOG_DIR"
fi
if [ ! -d "$iclingo_LOG_DIR" ]
then
mkdir -p "$iclingo_LOG_DIR"
fi
for f in instances/*
do
name=`basename $f`
timeout 3600 iva... | lilac/iASP | benchmark/towersofhanoi/batch.sh | Shell | gpl-3.0 | 484 |
#!/bin/bash
###########################################################################
# eclipse-installer will install Eclipse with Java, PHP, Python, C++,
# Ruby, and ShellEd on Ubuntu and MacOS. It will also setup the Eclipse
# launch script to move OpenJDK to the /run/shm RAM Disk for
# Ubuntu.
#
# Copyright (... | Chadarius/eclipse-installer | eclipse-installer.sh | Shell | gpl-3.0 | 9,226 |
#!/bin/sh
export HOMEBREW_NO_ANALYTICS=1
brew install libsndfile || brew install libsndfile || exit 1
brew install portaudio || exit 2
brew install ccache || exit 3
brew install qt5 || exit 4
brew link qt5 --force || exit 5
# according to https://docs.travis-ci.com/user/caching#ccache-cache
export PATH="/usr/local/o... | llloret/supercollider | .travis/before-install-osx.sh | Shell | gpl-3.0 | 403 |
#!/bin/bash
# (c) Yoan AGOSTINI <yoan {DOT IS HERE} agostini {AT IS HERE} gmail {DOT IS HERE} com>
# (c) Ronan LEBON <ronan {DOT IS HERE} lebon {AT IS HERE} gmail {DOT IS HERE} com>
# (c) Ingesup
# MyWaf is free software: you can redistribute it and/or modify it under the terms of the
# GNU General Public License as ... | aNaoy/MyWaf | mywafinstall.sh | Shell | gpl-3.0 | 3,569 |
#!/bin/bash
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
ssh -i insecure_key root@$(docker inspect --format="{{ .NetworkSettings.IPAddress }}" contaxner-mysql-server)
| drlinux/contaxner | mysql-server/ssh-login.sh | Shell | gpl-3.0 | 193 |
#!/bin/bash
python RunBootstrap.py --paralog1 YMR143W --paralog2 YDL083C --bootnum 100 > YMR143W_YDL083C_Boot100_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YMR143W_YDL083C_Boot100.sh | Shell | gpl-3.0 | 130 |
sudo apt-get update
sudo apt-get install htop vim emacs git-core bzr python-software-properties p7zip-full
| jrgifford/Ubuntu-Scripts | base-sysadmin.sh | Shell | gpl-3.0 | 107 |
#!/bin/bash
#***************************************************
# $ ./superTool.sh install|uninstall|update
#***************************************************
PATH_DEST="/opt"
NAME_PROGRAM="
Arachni/arachni
scrapy/dirbot
fwaeytens/dnsenum
golismero/golismero
NikolaiT/GoogleScraper
rapid7/metasploit-framework
sull... | fluproject/Security-bash-scripts | superTool.sh | Shell | gpl-3.0 | 3,019 |
#!/bin/bash
#samples
#sbatch /n/holylfs/LABS/edwards_lab/ashultz/HFWGReseq/whole-genome-reseq/ANGSD/run_SFS_Merged.sbatch AU_90
sleep 1
#sbatch /n/holylfs/LABS/edwards_lab/ashultz/HFWGReseq/whole-genome-reseq/ANGSD/run_SFS_Merged.sbatch AU_01
sleep 1
sbatch /n/holylfs/LABS/edwards_lab/ashultz/HFWGReseq/whole-genome... | ajshultz/whole-genome-reseq | ANGSD/submit_SFS_Merged.sh | Shell | gpl-3.0 | 1,755 |
#!/bin/bash
#
# ETL for Top10NL using Stetl.
#
# Author: Just van den Broecke
#
# For substitutable args see all strings in {arg} in etl-top10nl.cfg
# <db> <host> <port> <user> <password> <schema> <temp_dir> <max_features> <gml_files> <multi_opts>
# gml_files=/Users/just/geodata/top10nl/TOP10NL_GML_50D_Blokken_septem... | sebastic/stetl | examples/top10nl/etl-top10nl.sh | Shell | gpl-3.0 | 937 |
!Configuração Roteador RT-01 Rede: 192.168.10.0/24
enable
configure terminal
!Configurando o Gateway Padrão para o ISP (Verificar sua rede)
ip default-gateway 209.165.201.XXX
!Configurando a Rota Padrão para o ISP
ip route 0.0.0.0 0.0.0.0 serial 0/0/1
!Configurando o Protocolo de Roteam... | vaamonde/netacad | modulo-02/capitulo-08/03-Etapa-01.sh | Shell | gpl-3.0 | 1,530 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | jason-callaway/stig-fix | cat3/gen005526.sh | Shell | gpl-3.0 | 2,689 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.