code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
echo "Building leanix-sdk-csharp client example..."
cd /var/samples/client
nuget install ../../src/LeanIX/packages.config -OutputDirectory ../../src/packages
xbuild LeanIX.sln /p:WarningLevel=0
echo "Running leanix-sdk-csharp client example..."
echo ""
echo ""
cd SampleClient/bin/Debug
mono SampleClient.ex... | leanix/leanix-sdk-csharp | samples/run_client.sh | Shell | mit | 351 |
NAME=fatfs
SRC_DIR=$PWD/src/$NAME
INCLUDE_DIR=$PWD/include/$NAME
INTERFACE_DIR=$PWD/interface/$NAME
mkdir -p $SRC_DIR
mkdir -p $INCLUDE_DIR
DL_DIR=dl/$NAME
mkdir -p $DL_DIR
pushd $DL_DIR
wget http://elm-chan.org/fsw/ff/ff11.zip
yes A | unzip ff11.zip
rm ff11.zip
popd
# Move the library source into the src dir
mv... | UnicornRaceEngineering/g5-nodes | third_party/get_fatfs.sh | Shell | mit | 619 |
#!/bin/bash
timestamp=$(date +%c)
echo "pulling from github"
git pull
echo "adding and commiting changes"
git add --all
git commit -m "$timestamp"
echo "pushing to master"
git push origin master
unset timestamp
| gpi-it/GuardiansX | deployment/commitandpush.sh | Shell | mit | 214 |
DEBUG=myapp ./bin/www
| jessecooper/EdPurp | debug.sh | Shell | mit | 22 |
#!/bin/bash
# Change to parent of this script's directory.
GIT_SITE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
cd $GIT_SITE_ROOT
PID_FILE=$GIT_SITE_ROOT/run/git.adamheins.com.pid
if [ -f "$PID_FILE" ]; then
# Kill the process indicated by the PID file and remove it.
kill -9 $(cat "$PID_FILE")
rm -f "$PID_FILE"
e... | adamheins/git.adamheins.com | sh/stop.bash | Shell | mit | 494 |
#!/bin/bash
#JAVA 7 / 8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java7-installer
sudo update-java-alternatives -s java-8-oracle
sudo update-java-alternatives -s java-7-oracle | rrialq/MyPC-install-scripts | xwindowApplications/chrome.sh | Shell | mit | 271 |
rm out*
rm NET*
rm top*
rm RT*
| ronakshah725/bgp_ospf_final | rem.sh | Shell | mit | 31 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2174-1
#
# Security announcement date: 2011-02-26 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:13 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - avahi:0.6.27-2+squeeze1
#
# Last ver... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2011/DSA-2174-1.sh | Shell | mit | 616 |
#
# Movidius NCSDK Build Script
# @author Loreto Parisi (loretoparisi at gmail dot com)
# v1.0.0
# @2018 Loreto Parisi (loretoparisi at gmail dot com)
#
IMAGE=movidius
#docker run --rm -it --privileged --device=/dev/tty.usbserial $IMAGE bash
docker run --rm -it $IMAGE bash
| loretoparisi/docker | movidius/run.sh | Shell | mit | 277 |
#!/bin/bash
name=`echo $1 | cut -f1 -d'.'`
Rscript exportcitations.R $1 $name.bib
| gadenbuie/getcitations | getcitations.sh | Shell | mit | 82 |
$GOPATH/bin/primitive -i original.jpg -o 30.png -n 30 -m 5 -r 256 -s 1024 -a 255 -v
$GOPATH/bin/primitive -i original.jpg -o 40.png -n 40 -m 5 -r 256 -s 1024 -a 255 -v
$GOPATH/bin/primitive -i original.jpg -o 60.png -n 60 -m 5 -r 256 -s 1024 -a 255 -v
$GOPATH/bin/primitive -i original.jpg -o 120.png -n 120 -m 5 -r 256 ... | zns18/zns18.github.io | assets/images/beach/run.sh | Shell | mit | 337 |
python makeatlas.py
cp *.png *.json ../javascript/assets/sprites/
| paulscottrobson/atari-cosmos | sprites-js/build.sh | Shell | mit | 66 |
if [[ ! -o interactive ]]; then
return
fi
compctl -K _base base
_base() {
local word words completions
read -cA words
word="${words[2]}"
if [ "${#words}" -eq 2 ]; then
completions="$(base commands)"
else
completions="$(base completions "${word}")"
fi
reply=("${(ps:\n:)completions}")
}
| capotej/base | completions/base.zsh | Shell | mit | 316 |
#!/bin/bash
GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
PATH="$PATH:$GEM_HOME/bin"
jekyll s --draft --config _config.yml,_config_local.yml -H 0.0.0.0 -l
| Settis/settis.github.io | runLocally.sh | Shell | mit | 152 |
#!/bin/bash
IMAGES=(centos_python_pip scientific_python image_python bioformats)
for IMAGE in ${IMAGES[@]}; do
echo "Building jicscicomp/$IMAGE"
cd $IMAGE
docker build -t jicscicomp/$IMAGE .
cd ..
done
| JIC-CSB/scicomp_docker | image_descriptions/make_images.sh | Shell | mit | 220 |
TEST=test/axioms/axiom_gen/TreeSet
cd ../../../../
./jsk.sh ${TEST}/TreeSetTester$1.java ${TEST}/Object.java ${TEST}/Integer.java ${TEST}/TreeSet$1.java --no-lib
cd ${TEST}
rm *~
| plum-umd/java-sketch | test/axioms/axiom_gen/TreeSet/run.sh | Shell | mit | 181 |
#!/bin/bash
# Set up helper files that let vim know where to find important files while working
# under a project path. This is customized to whatever project I'm currently working on,
# so it will likely need modification for future project.
# Usage: This script should be symlinked into the root directory of a pro... | ksimek/dotfiles | .scripts/setup_project_vimfiles.sh | Shell | mit | 1,554 |
#!/bin/bash
sleep 100 | timjwright/godoit | test_wrapper_sleep.sh | Shell | mit | 21 |
#!/bin/bash
export ASK_SUDO_PASSWORD=1
export SERV_USER=ubuntu
export SERV_NAME=example-ubuntu-server.net
export APP_NAME=YesodApp
export APP_PORT=3000
bundle exec rake spec
| cosmo0920/ansible-playbook-for-keter-deploy | start-spec-example.bash | Shell | mit | 175 |
sudo apt-get -y install dnstracer
| sslavov93/kali-linux-tools | scripts/dnstracer.sh | Shell | mit | 34 |
#!/bin/sh
echo "Type the REPODIR (default is private), followed by [ENTER]:"
read REPODIR
if [ -z "$REPODIR" ]; then
REPODIR="private"
fi
echo "The REPODIR is $REPODIR"
echo "Type the CODEDIR (default is src), followed by [ENTER]:"
read CODEDIR
if [ -z "$CODEDIR" ]; then
CODEDIR="src"
fi
echo "The ... | Symphony9/Git-bare-repository-generator | genhook.sh | Shell | mit | 2,293 |
./test.sh 10 10 locale
./test.sh 10 100 locale
./test.sh 10 1000 locale
./test.sh 20 10 locale
./test.sh 20 100 locale
./test.sh 20 1000 locale
./test.sh 50 10 locale
./test.sh 50 100 locale
./test.sh 50 1000 locale
./test.sh 100 10 locale
./test.sh 100 100 locale
./test.sh 100 1000 locale
./test.sh 200 10 locale
./tes... | Zihui-Zhong/RecycledNotebook | fullTestAmelioration.sh | Shell | mit | 518 |
#!/bin/bash
echo 'Run this script as sudo...'
# exit on error
set -e
INSTALLER_PATH=/opt/installers/nnn
mkdir -p $INSTALLER_PATH
DESTINATION_PATH=/usr/local/bin
VERSION=3.4
wget -O $INSTALLER_PATH/nnn-${VERSION}.tar.gz https://github.com/jarun/nnn/archive/v${VERSION}.tar.gz
cd $INSTALLER_PATH && tar xfzv nnn-${V... | tiagoprn/devops | shellscripts/installers/install_nnn.sh | Shell | mit | 491 |
## Replaces first occurence of a given string to another in a string variable
## @param varname - the name of the variable
## @param search - the string to be searched
## @param replace - the string to be replaced by
function b.str.replace {
local varname="$(eval echo \$$1)" search="$2" replace="$3"
echo ${varname/... | bangsh/bangsh | modules/str.sh | Shell | mit | 1,433 |
#!/bin/bash
# Backup MySQL database using mysqldump, storing in AWS S3.
# SEE: http://aws.amazon.com/cli/
# This must be configured (aws configure).
# Set the following environment variables:
# - BACKUP_DATABASE
# - BACKUP_S3
set -e
tmpdir=`mktemp -d -t backup_mysql_tmpdir.XXXXXX`
trap "{ rm -rf $tmpdir; }" EXIT... | tiredpixel/dev-tiredpixel | 2014-05-06-mysql-backup-aws-s3/mysql_backup_aws_s3.sh | Shell | mit | 563 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for ... | panosmdma/SlackOnly-SlackBuilds | network/openconnect/doinst.sh | Shell | mit | 600 |
#!/bin/bash
#SBATCH -n 1
#SBATCH --cpus-per-task=1
#SBATCH --qos=highio
#SBATCH --time=24:00:00
# Download a bunch of primate data from the NCBI Trace archive
TRACE_URL=ftp://ftp-private.ncbi.nlm.nih.gov/pub/TraceDB/
DATALIST=${TOPDIR}/trace_datasets_round2.txt
TRACEDIR=${TOPDIR}/trace
# Make a directory
if [[ ! -... | sivakasinathan/cenpb | code/get_trace_data.sh | Shell | mit | 769 |
#!/bin/bash
if [ -f windows_2008_r2_virtualbox.box ]; then
rm windows_2008_r2_virtualbox.box
fi
packer build -only=virtualbox-iso windows_2008_r2.json
if [ -f windows_2008_r2_virtualbox.box ]; then
vagrant box add windows_2008_r2 windows_2008_r2_virtualbox.box --force
#rm windows_2008_r2_virtualbox.box
fi
| seal-mis/packer-windows | build_windows_2008_r2_virtualbox.sh | Shell | mit | 316 |
#!/bin/bash -e
export VODAFONE_USERNAME="<SET TO YOUR USERNAME/EMAIL>"
export VODAFONE_PASSWORD="<SET TO YOUR PASSWORD>"
export DISPLAY=:99
Xvfb $DISPLAY -ac &
XVFB_PID=$!
vodafone-scraper alert --minutes=540 --megabytes=450
kill $XVFB_PID
| paulfurley/vodafone-scraper | examples/vodafone-alert.sh | Shell | mit | 244 |
#!/bin/bash
#
# control.sh
#
# A control script to run SusumuTakuan,
# the L5R DiscordBot
#
cmd=$1
branch=`git branch | cut -d " " -f2`
if [ "$branch" = "master" ]; then
#master branch
susumu="takuan"
elif [ "$branch" = "develop" ]; then
#develop branch
susumu="takuantest"
fi
if [ "$cmd" = "start" ]; then
... | gryffon/SusumuTakuan | control.sh | Shell | mit | 608 |
#!/bin/sh
rm -v *.o *.elf *.hex *.ihex *.oct *.bin *.raw *.motorola
| jeremiedecock/snippets | atmel_mega_avr/blink_led_pololu_3pi_PD1/clean.sh | Shell | mit | 69 |
DIR=${1:-$(dirname $0)}
for f in $(find $DIR -name '*.ltz'); do
$DIR/../check.sh $f || exit -2
done
| fab13n/lamtez | test/run-tests.sh | Shell | mit | 103 |
#!/bin/sh
#ensure we are executing from the containing directory
# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
# get the directory of this script
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd ... | kraveio/aws-bootstrap | blueprint/vpc/ansible/install-requirements.sh | Shell | mit | 691 |
#!/bin/sh
#
# download and install the BEAM toolbox
#
# Copyright (C) 2014 EOX IT Services GmbH
#======================================================================
. `dirname $0`/../lib_logging.sh
#. `dirname $0`/lib_logging.sh
info "Installing BEAM-Toolbox ... "
#===========================================... | DREAM-ODA-OS/ODA-OS_subsystem | scripts/install.d/25_beam_install.sh | Shell | mit | 4,107 |
#!/usr/bin/env bash
##
# Deploys current application instance.
#
# The "app deploy" action triggers by default the "app update" action on given
# remote instance.
#
# @see cwt/app/update.sh
#
# @example
# # Deploy target defaults to the 'prod' remote instance.
# make app-deploy
# # Or :
# cwt/extensions/remote... | Paulmicha/common-web-tools | cwt/extensions/remote/app/deploy.sh | Shell | mit | 618 |
#!/bin/bash
max=10
for i in `seq 2 $max`
do
curl -H "Content-Type: application/json" -X POST -d @edgeCases/11.json 127.0.0.1:3003
done
| hitripod/HighChartsMailSender | stressTest.sh | Shell | mit | 139 |
## perform imputation repeatedly to evalue the accuracy
module load parallel
SCRIPT=`echo $0`
SCRIPT_PATH=$(perl -MCwd -MFile::Basename -e '$s=shift; $abs= Cwd::abs_path($s); print dirname($abs), "\n"' $SCRIPT)
ORIG_VCF=$1
PROBABILITY=$2
beagle=$3
REFPANEL=$4
cycles=10
chrs=$(perl -ne 'next if /\#/; $h{$1}=1 if /^(\... | swang8/Perl_scripts_misc | agseq/imputation/run.sh | Shell | mit | 1,803 |
#!/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... | maheshverma/SamplePod | Example/Pods/Target Support Files/Pods-OS X Example/Pods-OS X Example-frameworks.sh | Shell | mit | 4,061 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:1439
#
# Security announcement date: 2015-07-22 06:38:01 UTC
# Script generation date: 2017-01-01 21:16:28 UTC
#
# Operating System: Red Hat 6
# Architecture: i386
#
# Vulnerable packages fix on version:
# - wpa_supplicant.i686:0.7.3-6.el6
# - wpa... | Cyberwatch/cbw-security-fixes | Red_Hat_6/i386/2015/RHSA-2015:1439.sh | Shell | mit | 764 |
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Make sure we’re using the latest Hom... | johnbaker/dotfiles | brew.sh | Shell | mit | 3,026 |
#!/bin/bash
# get source directory from arguments
SOURCE_DIR=$1
# get destination file path from arguments
DEST_FILE=$2
#initialize output file with xml declaration
echo '<?xml version="1.0" encoding="UTF-8"?>' > $DEST_FILE
# append opening docSet tag
echo '<d:docSet' >> $DEST_FILE
echo 'xmlns:d="http://lib.ncsu.ed... | NCSU-Libraries/fits_aggregator | fits_aggregator.sh | Shell | mit | 950 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2913-1
#
# Security announcement date: 2016-02-24 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:13 UTC
#
# Operating System: Ubuntu 15.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - ca-certificates:20160104ubuntu0.15.10.1
#
... | Cyberwatch/cbw-security-fixes | Ubuntu_15.10/i686/2016/USN-2913-1.sh | Shell | mit | 638 |
#!/bin/sh -f
xv_path="/home/huchao/vivado/Vivado/2015.2"
ExecStep()
{
"$@"
RETVAL=$?
if [ $RETVAL -ne 0 ]
then
exit $RETVAL
fi
}
echo "xvlog -m64 --relax -prj lab1_1_2_tb_vlog.prj"
ExecStep $xv_path/bin/xvlog -m64 --relax -prj lab1_1_2_tb_vlog.prj 2>&1 | tee compile.log
| chaohu/Daily-Learning | Verilog/lab2/lab2_1/lab1_1_2/lab1_2.sim/sim_1/behav/compile.sh | Shell | mit | 271 |
#!/bin/sh
make -C /Users/pro/Desktop/Fall2015/COMS557/project_557_2015_tg/Homework_3 -f /Users/pro/Desktop/Fall2015/COMS557/project_557_2015_tg/Homework_3/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.make$CONFIGURATION all
| tsgao/project_557_2015_tg | Homework_3/HCI557_ass3_p1.build/Debug/ZERO_CHECK.build/Script-2BB5E9F9A1504E4EAE06489A.sh | Shell | mit | 223 |
git clone https://github.com/wesbos/Cobalt2-Alfred-Theme.git
| ccollins/dotfiles | alfred/install.sh | Shell | mit | 61 |
_gen_fzf_default_opts() {
local base03="234"
local base02="235"
local base01="240"
local base00="241"
local base0="244"
local base1="245"
local base2="254"
local base3="230"
local yellow="136"
local orange="166"
local red="160"
local magenta="125"
local violet="61"
local blue="33"
local cy... | dnlserrano/dotfiles | scripts/fzf.sh | Shell | mit | 556 |
DIR=$(cd "$(dirname $0)" && pwd)
# Apply
$DIR/apply.sh
# Install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Install plugs
vim +PlugInstall +qall
| shoebillk/dotfiles | vim/install.sh | Shell | mit | 242 |
#!/bin/sh
##PJM -L rscgrp=regular-cache
#PJM -L rscgrp=debug-flat
#PJM -L elapse=00:30:00
#PJM -g xg18i004
#PJM -N findBound
#PJM -j
#PJM -L node=96
#PJM --mpi proc=3072
#PJM --omp thread=1
echo "../r004m/run.b1.00_h030-060_0.60_h010-100/time010.00-050.00/" > input.list
echo "./hoge" >> input.list
echo "10 10" >> inp... | atrtnkw/sph | tool.hgas/findBound/ofp.sh | Shell | mit | 656 |
#!/bin/bash -e
# install fisher plugin manager
[ "$(which fish)" ] || exit 1
# Install fisher plugin manager for fish
if [ ! -e ~/.config/fish/functions/fisher.fish ] ; then
fish -c "curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher"
fi
# More Fish plugins:
# https://awesomeopensource... | dvidelabs/config | .config/setup/fish.sh | Shell | mit | 622 |
#!/bin/bash
# build, test and generate docs in this phase
set -ex
. "$(dirname $0)/utils.sh"
main() {
# Test a normal debug build.
cargo build --target "$TARGET" --verbose --all
# Show the output of the most recent build.rs stderr.
set +x
stderr="$(find "target/$TARGET/debug" -name stderr -prin... | nrc/rustc-perf | collector/benchmarks/ripgrep/ci/script.sh | Shell | mit | 1,158 |
for f in *.cl; do /opt/SPIRV-LLVM/build/bin/clang -cc1 -triple spir-unknown-unknown -O3 -cl-std=CL1.2 -cl-kernel-arg-info -cl-single-precision-constant -Wno-unused-parameter -Wno-undefined-inline -Wno-unused-local-typedef -Wno-gcc-compat -DNO_SCALE -DCT=float4 -DFT=float -DWT=float -DST=int -DT=int -DLOCAL_SIZE=8 -DB... | doe300/VC4C | testing/OpenCV/compile_all.sh | Shell | mit | 613 |
#!/bin/bash
# $1 = branch
# $2+ = args
bash run.sh $2 $3 $4 $5 $6 $7 $8 $9 | tee log
if [[ $REGRESSION_ENV -eq 1 ]]; then
pass_line=`cat log | grep "PASS"`
if [[ ${pass_line} = *": 1"* ]]; then
pass=1
elif [[ ${pass_line} = *": 0"* ]]; then
pass=0
else
pass="?"
fi
timeout_wc=`cat log | grep "TIMEOUT" |... | stanford-ppl/spatial-lang | spatial/core/resources/chiselgen/app-level/scripts/regression_run.sh | Shell | mit | 1,273 |
#! /usr/bin/env bash
./node_modules/.bin/intern-client config=tests/intern
| graphicore/obtainJS | runtest.sh | Shell | mit | 75 |
#################################################################
# Copyright (C) 2016 Sean Guo. All rights reserved.
#
# > File Name: < 2_usb.sh >
# > Author: < Sean Guo >
# > Mail: < iseanxp+code@gmail.com >
# > Created Time: < 2016/02/28 >
# > Last Changed:
# >... | SeanXP/ARM-Tiny6410 | linux/kernel/2_usb.sh | Shell | mit | 750 |
#!/usr/bin/env bash
set -ex
cd /data2/malmo_1/latest/Minecraft/
./launchClient.sh -port 11100 &
cd /data2/malmo_2/latest/Minecraft/
./launchClient.sh -port 11200 &
cd /data2/malmo_3/latest/Minecraft/
./launchClient.sh -port 11300 &
| matpalm/malmomo | start_3_malmos.sh | Shell | mit | 235 |
http://bchavez.bitarmory.com/archive/2013/01/16/compiling-kernel-modules-for-raspberry-pi.aspx
#git clone https://github.com/raspberrypi/linux.git
#git clone https://github.com/raspberrypi/tools.git
export CCPREFIX=/home/topic/rasp/kernel_new/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- ... | willemwouters/linux-device-drivers | raspberry_pi/scripts/prepareEnv.sh | Shell | mit | 373 |
#!/bin/bash
####################################################################
# Name: export_databases.sh
# Author: Kenny Robinson, @almostengr
# Usage: export_databases.sh
# Description: Export all the databases to a file.
####################################################################
source ./config.sh
if... | bitsecondal/ubuntu-automation | mysql/export_databases.sh | Shell | mit | 522 |
#!/usr/bin/env bash
#---------------------------------------------------------------------------------------------------
# Deploys the latest Docker image for Codekvast Login to the staging environment
#---------------------------------------------------------------------------------------------------
source $(dirname... | crispab/codekvast | deploy/deploy-login-to-staging.sh | Shell | mit | 476 |
#!/usr/bin/env bash
###############################################################################
# Google Chrome & Google Chrome Canary
###############################################################################
# # Disable backswipe
# defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool ... | drvdijk/dotfiles | macos/apps/google-chrome.sh | Shell | mit | 796 |
#!/usr/bin/env bash
# TODO: change configuration
# https://docs.influxdata.com/influxdb/v1.2/administration/config/
# default
# cache-max-memory-size = 1G
# cache-snapshot-memory-size = 24MB
# The cache snapshot memory size is the size at which the engine will snapshot the cache and write it to a TSM file, freeing up ... | xephonhq/xephon-k | _legacy/script/influxdb/pull_influxdb.sh | Shell | mit | 653 |
#!/bin/bash
LATEXMK_OPT="-pdf -xelatex -shell-escape -8bit -f"
DOCUMENT="spec"
if [ ! -f './rail/rail' ]; then
# Compile the rail utility
make -sC ./rail
if [ ! $? -eq 0 ]; then
echo failed to compile rail
echo please ensure thet both flex and bison are presented
exit 1
fi
fi
# make page
latex... | Jack-Q/picol | doc/specification/rail-compile.sh | Shell | mit | 615 |
#!/bin/bash
# $Id$ $Revision$
# where everything is
graphviz_host=www.graphviz.org
SRCDIR=CURRENT
if test .$1 != . ;then
SRCDIR=$1
fi
if test .$SRCDIR = .CURRENT ; then
GRAPHVIZ_PUB_PATH=/data/pub/graphviz/development/
else
GRAPHVIZ_PUB_PATH=/data/pub/graphviz/stable/
fi
work=$HOME/tmp/gviz
PREFIX=$HOME/F... | ellson/graphviz-build | macosx/graphviz-lion-bin-pkg.sh | Shell | epl-1.0 | 1,385 |
#!/usr/bin/env bash
###############################################################################
# Copyright (c) 2016, 2021 Red Hat Inc and others
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/leg... | stzilli/kapua | deployment/docker/unix/docker-deploy.sh | Shell | epl-1.0 | 2,306 |
#!/sbin/busybox sh
if [ -f /system/bin/bootanimation.bin ]; then
/system/bin/bootanimation.bin
elif [ -f /data/local/bootanimation.zip ] || [ -f /system/media/bootanimation.zip ]; then
/sbin/bootanimation
else
/system/bin/samsungani
fi;
| simone201/neak-kernel-sgs2 | aosp-initramfs/sbin/bootanimation.sh | Shell | gpl-2.0 | 244 |
#!/bin/sh
# Abort provisioning if some select items are already installed. We'll assume if
# these are present, everything is. Test for modules directory in /data/claysoil and
# for nginx. This is mainly meant for Vagrant.
which apache2ctl >/dev/null &&
{ echo "Vagrant test setup already installed. If you are running ... | mauritsl/vagrant-cassandra-php | vagrant/provision.sh | Shell | gpl-2.0 | 1,774 |
#! /bin/sh
# Copyright (C) 2002-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 ... | Starlink/automake | t/suffix-custom-subobj.sh | Shell | gpl-2.0 | 1,437 |
# calculate and visualize a trajectory
./nuco \
--Ap=80 --Zp=36 --At=197 --Zt=79 \
--E=10 \
--b=10 \
--method=relativistic --accuracy=1e-7
cat << EOF > visualize.gnuplot
set xlabel "x [fm]"
set ylabel "y [fm]"
set grid
set term wxt size 500,1000
set key top left box opaque spacing 1.5 width 1
set multiplot la... | miree/nuco | examples/trajectory_Kr_on_Au_01.sh | Shell | gpl-2.0 | 908 |
#!/bin/bash
cd `dirname $0`
. ./common.sh
usage="
Prepares softether vpn server
Usage:
$(basename $0) <server-ip> --username <username> --password <plaintext password> [--ip <static_ip>] [--vpn-hub <hub name>]
[--connection_name <name>] [--nicname <vpn adapter name>] [--port <Server's IP port>]
... | adamryczkowski/puppet-bootstrap | softether-client.sh | Shell | gpl-2.0 | 5,832 |
#! /bin/bash
set -e
pip install -r requirements.txt
python ./chatbot.py
| bbriggs/sithmail-tipbot | sithmail-tipbot/legobot-entrypoint.sh | Shell | gpl-2.0 | 73 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/exercici14_m... | pdavila13/Programacion_C | Modular/Exercici14_Modular/nbproject/Package-Debug.bash | Shell | gpl-2.0 | 1,505 |
#!/bin/bash
###############################################################################
# To all DEV around the world :) #
# to build this kernel you need to be ROOT and to have bash as script loader #
# do this: ... | Maqical/Firestorm | build_kernel.sh | Shell | gpl-2.0 | 7,274 |
#!/bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
echo "Permission denied, should be run as root"
exit 1
fi
cwd=$(pwd)
# internal variables
red=$(tput setaf 1)
green=$(tput setaf 2)
restcor=$(tput sgr0)
# Update
apt-get update && apt-get upgrade -y
apt-get install -y jq rng-tools shadowsocks-libev
# Clone repo... | d0u9/scripts | one_key_ss/setup.sh | Shell | gpl-2.0 | 1,853 |
#!/bin/bash
#go through all the combination
rm -rf out
mkdir -p out
#Create cell 4x2x1
supercell -s 4x2x1 -i PZT-PbZr05Ti05O3.cif -m -o out/PZT421 > /dev/null
#Create table
for i in {0..9}
do
echo $((i+1))
for y in 0.25000 0.75000
do
for x in 0.12500 0.37500 0.62500 0.87500
do
vl=`grep -E "(Zr1|T... | orex/supercell | data/examples/PZT/df_cfg.bash | Shell | gpl-2.0 | 466 |
#!/bin/sh
distdir="$1"
top_srcdir="$2"
if ( cd $top_srcdir; svn status ) 2>&1 | fgrep -v "$distdir" | grep .; then
echo bad svn status >&2
exit 1
else
:
fi
find $distdir \
-name autom4te.cache -prune -o \
-name .svn -prune -o \
-type f \
\! -name '*~' \
\! -name Makefile.in \
\! -name con... | masm11/xmms2_applet | check.sh | Shell | gpl-2.0 | 1,971 |
#!/bin/bash
# This script updates the dolphin-emu.pot file to match the strings in
# the source code.
cd "$(dirname "$0")/.."
# Scan the source code for strings and put them in dolphin-emu.pot
SRCDIR=Source
find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | \
xgettext -s -p ./Languages/po -o dolphin-emu.pot... | BlueSplash/dolphin | Languages/update-source-strings.sh | Shell | gpl-2.0 | 1,152 |
#! /bin/sh
#export PREFIX=$HOME/opt/nest
export PREFIX=/opt/nest
export PATH=$PATH:$PREFIX/bin
export PYTHONPATH=$PREFIX/lib/python2.7/site-packages:$PYTHONPATH
echo $PYTHONPATH
echo $PREFIX
| magnastrazh/NEUCOGAR | nest/dopamine/test_files/env_setup.sh | Shell | gpl-2.0 | 191 |
#!/bin/bash
# Copyright (c) 2013 Lawrence Livermore National Laboratory
#
# 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 distributed in the hope that it will be ... | nsnam/ns-3-dev-git | utils/coverity-report.sh | Shell | gpl-2.0 | 1,818 |
#!/bin/sh
ifconfig eth0 addr `./nfeth-config --get-atari-ip eth0` netmask `./nfeth-config --get-netmask eth0` up
route add default eth0 gw `./nfeth-config --get-host-ip eth0`
| aranym/aranym | atari/network/ethernet/nfeth-config/eth0-config.sh | Shell | gpl-2.0 | 175 |
#!/bin/bash
# BK_EXAMINATION: it is a string that identifies your "examination"
# BK_INPUT: it is a string that identifies your test (used to build the name of the directory where you execute)
#export BK_EXAMINATION=ReachabilityDeadlock
export PATH="$PATH:$HOME/BenchKit/bin/"
debug ()
{
echo "bkh:" "$*" >&2
}
info... | cesaro/cunf-mcc2014 | scripts/BenchKit_head.sh | Shell | gpl-2.0 | 3,464 |
###############################################################################
# UNIT TEST A19b FOR kocos.pl
###############################################################################
# Test A19b - Checks if the program finds correct 2nd order
# co-occurrences from Hindi transliterated data
# ... | BjoernKW/TextNSP | Testing/kocos/unit/testA19b.sh | Shell | gpl-2.0 | 1,940 |
#!/bin/sh
# vim: set sw=4 et ts=4 sts=4 tw=80 :
# Copyright 2010 Ali Polatel <alip@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
test_description='sandbox utimes(2)'
. ./test-lib.sh
test_done
| alip/pandora | tests/t013-utimes.sh | Shell | gpl-2.0 | 228 |
#!/bin/bash
# 1m is as 1l, but having the dropout end at 0.1
# see run_tdnn_lstm_1k.sh for results.
# 1l is as 1k, but having the dropout end at the end of training.
# 1k is as 1e, but introducing a dropout schedule.
# 1e is as 1b, but reducing decay-time from 40 to 20.
# 1d is as 1b, but adding decay-time=40 to ... | michellemorales/OpenMM | kaldi/egs/tedlium/s5_r2/local/chain/tuning/run_tdnn_lstm_1m.sh | Shell | gpl-2.0 | 14,028 |
#!/bin/bash
set -ev
pre-commit run --all-files || ( git status --short ; git diff ; echo "** The files above do not have the correct indentation. **" ; echo "To fix, see instructions at https://github.com/wannier-developers/wannier90/wiki/ContributorsGuide#automatic-pre-commits-spaces-indentation-" ; exit 1 )
| paulatz/wannier90 | test-suite/tools/run_precommit.sh | Shell | gpl-2.0 | 313 |
#!/bin/sh
test_description='tests remote-svn'
. ./test-lib.sh
MARKSPATH=.git/info/fast-import/remote-svn
if ! test_have_prereq PYTHON
then
skip_all='skipping remote-svn tests, python not available'
test_done
fi
# Override svnrdump with our simulator
PATH="$HOME:$PATH"
export PATH PYTHON_PATH GIT_BUILD_DIR
write... | brunosantiagovazquez/git | t/t9020-remote-svn.sh | Shell | gpl-2.0 | 2,349 |
#!/bin/bash
##################################################
# #
# Script to test optirg and graphirg #
# Generate 4 jpeg files : #
# optimized vs non-optimized #
# canvas vs tree-displayed #
# ... | Lycania/CacheSim | application/arm_sim/gliss2/test/optirg/test.sh | Shell | gpl-2.0 | 1,680 |
TOPDIR=..
NAME=codecgraph
VERSION=`git log -1 --pretty=format:%ci|cut -f1 -d' '|sed 's!-!!g'`
PKG=$NAME-$VERSION
| cmatsuoka/codecgraph | page/build-common.sh | Shell | gpl-2.0 | 113 |
#!/bin/bash
set -e
EXACT=1
CPUS=`grep -c processor /proc/cpuinfo`
# build the code
CROSS_COMPILE=/home/ian/toolchain/android-toolchain-eabi/bin/arm-linux-androideabi-
[ -d out ] || mkdir out
make -j${CPUS} O=out ARCH=arm CROSS_COMPILE=$CROSS_COMPILE uImage modules
mkdir out/modules_for_android
make O=out ARCH=arm... | fards/ainol_elfii_common | linaro_kernel_build_cmds.sh | Shell | gpl-2.0 | 374 |
#!/bin/sh
# Copyright (C) 2015 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Licens... | shehbazj/DyRe | test/shell/snapshot-remove-dmsetup.sh | Shell | gpl-2.0 | 1,813 |
#!/bin/bash
# this script is a modified version of run_tdnn_5g.sh. It uses
# the new transition model and the python version of training scripts.
set -e
# configs for 'chain'
stage=0
train_stage=-10
get_egs_stage=-10
dir=exp/chain/tdnn_5n
# training options
num_epochs=12
initial_effective_lrate=0.005
final_effect... | michellemorales/OpenMM | kaldi/egs/rm/s5/local/chain/run_tdnn_5n.sh | Shell | gpl-2.0 | 5,100 |
#
# Copyright (c) 2013 Qualcomm Atheros, Inc..
#
# All Rights Reserved.
# Qualcomm Atheros Confidential and Proprietary.
#
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
for dir in /var/run/hostapd-*; do
[ -d "$dir" ] || continue
for vap_dir in $dir/ath*; do
[ -r "$vap_dir" ] || continue
hostapd_cli ... | itgb/opCloudRouter | qca/feeds/wlan_10_2/qca-hostap/files/wps-hotplug.sh | Shell | gpl-2.0 | 378 |
#!/usr/bin/env bash
build() {
# this appears to be required to make sure we pull in correct cache
yum clean --disablerepo=* --enablerepo=local all
# build RPMs
cd $BUILD_PATH
fedpkg clone -a $1
cd $1
fedpkg sources
fedpkg prep
yum-builddep -y $1.spec
fedpkg --dist=$DIST_TAG loc... | leifmadsen/asterisk-docker-builder | buildit.sh | Shell | gpl-2.0 | 801 |
#!/bin/bash
tfdir="tf"
halofitdir="halofit"
frankendir="FrankenEmu"
cambdir="camb"
classdir="class"
echo "Downloading of cosmological codes started"
if [ ! -d "$tfdir" ]; then
mkdir -p $tfdir
echo "Downloading Eisenstein & Hu's transfer function code..."
wget http://background.uchicago.edu/~whu/transfer/tf_fit.c -... | santiagocasas/cosmomathica | ext/download.sh | Shell | gpl-2.0 | 2,261 |
command="python /home/fernandosjp/Desktop/Fernando/GitHub/tesouro-investor/alert.py"
job="*/2 * * * * $command"
cat <(fgrep -i -v "$command" <(crontab -l)) <(echo "$job") | crontab -
| fernandosjp/tesouro-investor | cron.sh | Shell | gpl-2.0 | 184 |
#! /bin/sh
$EXTRACTRC *.ui *.rc >> rc.cpp || exit 11
$XGETTEXT *.cpp -o $podir/tablessolver.pot
| wyuka/calligra | sheets/plugins/solver/Messages.sh | Shell | gpl-2.0 | 96 |
#! /bin/sh
$EXTRACTRC --tag-group=koffice functions/*.xml > xml_doc.cpp
$EXTRACTRC chart/*.ui dialogs/*.ui part/dialogs/*.ui *.kcfg *.rc >> rc.cpp
$EXTRACTATTR --attr=optionWidget,name ui/CellToolOptionWidgets.xml --context="Option widget title" >> rc.cpp
$XGETTEXT *.cpp chart/*.cpp commands/*.cpp database/*.cpp dialo... | wyuka/calligra | sheets/Messages.sh | Shell | gpl-2.0 | 464 |
LOG=wip-2712-fail
rm -rf /tmp/$LOG
PYTHONPATH=/home/owasserm/ceph-qa-suite \
./virtualenv/bin/teuthology -v --archive /tmp/$LOG --owner owasserm@owasserm.redhat.com mine.yaml $LOG.yaml
| oritwas/scripts | run_failed_teu.sh | Shell | gpl-2.0 | 190 |
convert images/OCS-153-A.png -crop 1509x537+0+0 +repage images/OCS-153-A-0.png
convert -append images/OCS-152-B-11.png images/OCS-153-A-0.png images/OCS-152-B-11.png
rm images/OCS-153-A-0.png
convert images/OCS-153-A.png -crop 1509x397+0+544 +repage images/OCS-153-A-1.png
convert images/OCS-153-A.png -crop 1509x465+0+9... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-153.sh | Shell | gpl-2.0 | 1,970 |
#!/bin/sh
# Copyright Roger Meier <roger@bufferoverflow.ch>
# SPDX-License-Identifier: Apache-2.0 BSD-2-Clause GPL-2.0+ MIT WTFPL
echo "Providing R libraries"
sudo DEBIAN_FRONTEND=noninteractive apt-get -qqy install r-base r-base-dev \
r-cran-zoo r-cran-xts \
r-cran-xtable r-cran-reshape r-cran-stringr r-cran-scale... | dauer-afk/codeface | integration-scripts/install_codeface_R.sh | Shell | gpl-2.0 | 471 |
export KERNEL_PATH=`pwd`
export JET_PATH=`pwd`/../..
export MYDROID=${JET_PATH}/mydroid
export PATH=$PATH:${MYDROID}/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/
export CROSS_COMPILE=${MYDROID}/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
export PATH=${MYDROID}/../u-boot/tools:$PATH
#make ARCH=arm dis... | ReconInstruments/jet_kernel | build_kernel.sh | Shell | gpl-2.0 | 501 |
#!/bin/sh
if [ $# -eq 0 ]; then
echo "Usage: $0 library [compiler]"
exit 0
fi
if [ $# -eq 1 ]; then
CXX=g++
else
CXX=$2
fi
FILE=$1
echo "int main(){}" | $CXX -l$FILE -o /dev/null -x c++ - > /dev/null 2>&1
RES=$?
exit $RES
| Frontier789/Flib | src/scripts/testLib.sh | Shell | gpl-2.0 | 233 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.