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
#
# Bash Autocomplete
#
if [ "$1" == "ycliCommands" ]; then
return;
fi
currentDir=$(pwd);
cd "$YCLI_DIR"
if [ -d .git ]; then
git pull
npm install
source "$YCLI_DIR/ycli.sh"
else
npm install -g "$ycliName"
fi
cd "$currentDir"
echo "$ycliName has been ${cGreen}successfully${cReset} updated"
| daKmoR/ycli | ycli-scripts/self-update.sh | Shell | mit | 313 |
# ====================================================
# A script to check the exactness of the output
# produced by TimeBased test
# ====================================================
#
end[0]=203
end[1]=196
end[2]=193
end[3]=189
end[4]=210
end[5]=204
end[6]=191
end[7]=201
end[8]=223
end[9]=210
rm aggregated
cat ... | OuZhencong/logback | logback-core/target/test-output/multi-1712717090/verify.sh | Shell | mit | 666 |
#!/bin/bash
cd ../../
brew install boost --with-python
brew install boost-python ffmpeg xerces-c mono
brew cask install java
schemas="$(pwd)/Schemas"
echo "export MALMO_XSD_PATH=$schemas" >> ~/.bashrc
source ~/.bashrc
| carlo-/MalmoAgent | scripts/install_macosx.sh | Shell | mit | 218 |
python3.6 ex30.py
| zedshaw/learn-python3-thw-code | ex30.sh | Shell | mit | 18 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2014:0704
#
# Security announcement date: 2014-06-10 19:44:45 UTC
# Script generation date: 2017-01-17 21:18:59 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libcacard.i686:1.5.3-60.el7_0.2
# - l... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2014/RHSA-2014:0704.sh | Shell | mit | 2,128 |
#!/bin/sh
FLEET_VERSION=0.11.8
DOCKER_IMAGE_VERSION=${1:-"latest"}
# echo
echo "FLEET VERSION - "$FLEET_VERSION
echo "BUILD DOCKER IMAGE VERSION - "$DOCKER_IMAGE_VERSION
# build angular
cd angular
npm install
bower install
grunt build
cd ..
# build go app
go install
cp $GOPATH/bin/fleet-ui tmp/
curl -s -L https://g... | xueshanf/fleet-ui | build.sh | Shell | mit | 581 |
#!/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... | erdengbing/PAUserCenterModule | Example/Pods/Target Support Files/Pods-PAUserCenterModule_Example/Pods-PAUserCenterModule_Example-frameworks.sh | Shell | mit | 3,973 |
set -e
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/sha... | ggarnier/dotfiles | docker/install.sh | Shell | mit | 640 |
#!/bin/bash
/usr/bin/tmux new-session -s blockbuster-server -d 'cd /opt/blockbuster/blockbuster-server &&
/opt/blockbuster/env/bin/gunicorn blockbuster:app -b localhost:8000 --reload' \; split-window -d 'cd
/opt/blockbuster/blockbuster-server && export C_FORCE_ROOT="true" && /opt/blockbuster/env/bin/celery -A blockbus... | mattstibbs/blockbuster-server | provision/start_all.sh | Shell | mit | 384 |
#!/bin/bash
set -e
BINVER="2.36.1"
# get the source code
wget https://ftpmirror.gnu.org/binutils/binutils-$BINVER.tar.xz
tar -xf binutils-$BINVER.tar.xz
# build and install
mkdir -p binutils-$BINVER/build
cd binutils-$BINVER/build
../configure \
--target=avr \
--disable-nls \
--disable-werror
make -s
su... | stateos/IntrOS-ATtiny817-Xplained-Mini | .build-binutils.sh | Shell | mit | 373 |
#!/usr/bin/env sh
taiga_backup="/opt/chase_backup/taiga"
drone_backup="/opt/chase_backup/drone"
run_date=$(date +"%Y-%m-%d")
taiga_dir="/home/cwehlert/docker-scripts/full_taiga"
drone_dir="/home/cwehlert/docker-scripts/drone"
mkdir -p $taiga_backup/$run_date
mkdir -p $drone_backup/$run_date
cp $taiga_dir/* $taiga_b... | tcarrio/cit348-devops | assets/code/scripts/backup_containers.sh | Shell | mit | 380 |
BASEDIR=$(dirname $0)
OTHER=$BASEDIR/polkovnikov.ph/
(cd $BASEDIR; git add -A; git commit -m "Miscellaneous training"; git push)
inotifywait $OTHER -r -m -e CLOSE_WRITE | while read dir events file; do
if [[ $file =~ ^.*\.cpp$ ]] ; then
(cd $BASEDIR; git add -A; git commit -m "${file%.cpp}"; git push)
fi
done
| tctrain/topcoder | train.sh | Shell | mit | 319 |
declare -a _ack_options
declare -a _ack_types=()
_ack_options=(
"--invert-match" \
"--word-regexp" \
"--before-context" \
"--files-without-matches" \
"--color" \
"--recurse" \
"--context" \
"--count" \
"--help" \
"--after-context" \
"--no-filename" \
"--max-count" \
"--literal" \
"--no-recu... | JrCs/dotfiles | ack/completion.bash | Shell | mit | 1,852 |
#!/bin/bash
./node_modules/.bin/webdriver-manager update;
./node_modules/.bin/http-server -p $TEST_SERVER_PORT --silent &
HTTP_PID=$!
./node_modules/.bin/webdriver-manager start > /dev/null &
DRIVER_PID=$!
npm run build
node_modules/babel/bin/babel-node test/runner
TEST_RUNNER_EXIT=$?
kill $HTTP_PID
#kill $DRIVER... | guardian/scribe-plugin-content-cleaner | run-tests.sh | Shell | mit | 395 |
if [ "${PWD##*/}" == "build" ]; then
cd ..
./build/bin/Game
else
echo "Sorry, this script must be run from the 'build' directory."
echo "You are trying to run this script from the ${PWD##*/} directory"
exit 1
fi
| kermado/Total-Resistance | scripts/run.sh | Shell | mit | 217 |
#!/bin/bash
#
##########################################################################
#Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content
#Copyright (C) 2013
#Vincent C. Passaro (vince@buddhalabs.com)
#
##########################################################################
#
#################... | atomicturtle/t-stig | RHEL-06-000028.sh | Shell | mit | 2,705 |
#!/bin/bash
DATA_DIR=../data
BIN_DIR=../generated
SRC_DIR=../src
GZIPPED_DATA=$DATA_DIR/news.2012.en.shuffled.gz
TEXT_DATA=$DATA_DIR/news.2012.en.shuffled
NORM0=$DATA_DIR/news.2012.en.shuffled-norm0
PHRASE0=$DATA_DIR/news.2012.en.shuffled-norm0-phrase0
PHRASE1=$DATA_DIR/news.2012.en.shuffled-norm0-phrase1
LOWERCASE_P... | DoWhatILove/turtle | ai/natural language understanding/embedding/word2vec/scripts/create-lowercase-phrases-data.sh | Shell | mit | 1,806 |
#!/bin/bash
mkdir -p /usr/local/Git/GitHubSandbox/git
mkdir -p /usr/local/Git/GitHubSandbox/tom-weatherhead
cd /usr/local/Git/GitHubSandbox/git
git clone https://github.com/git/git.git
cd /usr/local/Git/GitHubSandbox/tom-weatherhead
git clone https://github.com/tom-weatherhead/bash-scripts.git
cd ~
mkdir Backup
mkdir ... | tom-weatherhead/bash-scripts | set_up_linux_unprivileged.sh | Shell | mit | 1,009 |
#!/bin/bash
#-----------------------------------
# - Required
# sudo apt-get install libffi-dev
# sudo apt-get install python-dev
#------------------------------------
sudo killall uwsgi || echo "No uwsgi was running"
cd ~/konsole
git fetch
git pull origin dev
git checkout dev
sudo rm -fR /var/www/konsole
sudo cp -R ~... | dj80hd/konsole | deploy.sh | Shell | mit | 645 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1461-1
#
# Security announcement date: 2012-06-05 00:00:00 UTC
# Script generation date: 2017-01-01 21:02:35 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - postgresql-9.1:9.1.4-0ubuntu12.04
#
... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2012/USN-1461-1.sh | Shell | mit | 672 |
#!/bin/sh
function check_compress () {
while getopts ":cn" opt; do
case $opt in
c)
return 1
;;
n)
return 0
;;
\?)
echo "Invalid option: -$OPTARG" >&2
exit 1
;;
esac
done
echo "-n or -c required" >&2
exit 1
}
if [ $# -lt 2 ]
th... | hashcube/DevkitHelper | scripts/map_crop.sh | Shell | mit | 964 |
#!/usr/bin/env bash
export tag=$(git describe --tags)
svermaker generate $tag
source buildhelper.tmp
if [ "$svermakerRelease" = true ] ; then
if GIT_DIR=./.git git rev-parse $svermakerBuildVersion >/dev/null 2>&1 ;then
echo "Release ${svermakerBuildVersion} already exists"
else
git tag $svermake... | Scardiecat/styx-grpc-pingpong | make_release.sh | Shell | mit | 389 |
#! /bin/bash -
sed -i -e 's/key_coupled //' -e 's/key_oasis3 //' $1
| marev711/ece-testsuite | scripts/rewrite_cpp_for_standalone.bash | Shell | mit | 68 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2913-3
#
# Security announcement date: 2016-02-24 00:00:00 UTC
# Script generation date: 2017-01-31 21:08:16 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libssl1.0.0:1.0.1-4ubuntu5.34
#
# La... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2016/USN-2913-3.sh | Shell | mit | 614 |
#!/bin/sh
tcpdump -w $1 & </dev/null &>/dev/null
| vtill/SecyrIT | test/pcap/pcap.sh | Shell | mit | 52 |
#!/usr/bin/bash
# Runs slice tree (several versions) for the synthetic graphs
# @Arlei Silva
source default.sh
for f in ${data_files[@]}
do
echo "$graph_compression -g $f.graph -v $f.data -o output -c WVB -b $budget_alg > out_wvb_$f.txt"
$graph_compression -g $f.graph -v $f.data -o output -c WVB ... | ucsb-igert/slice-tree | experiments/multi_slices/human/run_compression.sh | Shell | mit | 766 |
#!/usr/bin/env bash
# You must have virtualenv installed, and the virtualenv command in your path for this to work.
# Assuming you have python installed, you can install virtualenv using the command below.
# curl -O https://raw.github.com/pypa/virtualenv/master/virtualenv.py
# This should be run from the project direct... | cyface/athia | devscripts/virtualenv/setup_prod_env.sh | Shell | mit | 453 |
#! /bin/bash
# Initialise variables, script takes app key and session token as arguments
APP_KEY=$1
SESSION_TOKEN=$2
MARKET_ID=$3
HOST=https://api.betfair.com/exchange/betting
PORT=443
# List meta data for chosen market
function list_market_metadata() {
# number of results returned, can be increased
local MAX_RES... | picoDoc/betfair-KDBfirehose | bin/metadata_wget.bash | Shell | mit | 1,477 |
kafka_home=$HOME/.local/opt/kafka
if [ -f $kafka_home/bin/kafka-topics.sh ]; then
pathmunge $kafka_home/bin after
if [ ! -f $kafka_home/bin/kafka-topics ]; then
# We'll link to names without `.sh` suffix so usage is the same as
# when Kafka is installed on macOS using Homebrew.
for scri... | esamson/dotfiles | .bash_profile.d/kafka.sh | Shell | mit | 622 |
#!/bin/bash
exec bake $* --no-jira --no-dev
| byplayer/the_silver_searcher-cookbook | release.sh | Shell | mit | 44 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2016:0448
#
# Security announcement date: 2016-03-15 23:40:45 UTC
# Script generation date: 2017-01-01 21:11:45 UTC
#
# Operating System: CentOS 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - ctdb.x86_64:4.2.3-12.el7_2
# - ctdb-de... | Cyberwatch/cbw-security-fixes | CentOS_7/x86_64/2016/CESA-2016:0448.sh | Shell | mit | 5,437 |
# My awesome bash prompt
#
# Copyright (c) 2012 "Cowboy" Ben Alman
# Licensed under the MIT license.
# http://benalman.com/about/license/
#
# Adapted for myself -- Keith T. Star
#
# Example:
# [master:!?][cowboy@CowBook:~/.dotfiles]
# [11:14:45] $
#
# Read more (and see a screenshot) in the "Prompt" section of
# https:... | uberFoo/dotfiles | bash/prompt.sh | Shell | mit | 4,251 |
IFS= | grncdr/js-shell-parse | tests/fixtures/shellcheck-tests/assignment-word9/source.sh | Shell | mit | 5 |
rc=$?
if [[ $rc != 0 ]] ; then
echo "Failed to build rpm ${file}"
exit $rc
fi
cp --no-clobber RPMS/noarch/* $startDir/../repo/RPMS/noarch/
cp --no-clobber RPMS/x86_64/* $startDir/../repo/RPMS/x86_64/
| Danack/BastionRPM | scripts/copyAndRepo.sh | Shell | mit | 212 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-705-1
#
# Security announcement date: 2016-11-07 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:25 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - python-imaging:1.1.7-4+deb7u3
#
# La... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2016/DLA-705-1.sh | Shell | mit | 654 |
#!/bin/bash
# Clears trailing whitespaces in all files from current directory.
# Don't forget about <leader>s in Vi!
find . -type f -name '*.{c,cpp,h}' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
| calincru/Dotfiles | dev/scripts/clear_whitespaces.sh | Shell | mit | 202 |
#!/bin/bash
docker rm magicscrape
docker rmi cawaker/magicscrape:0.2
docker build -t cawaker/magicscrape:0.2 .
docker push cawaker/magicscrape:0.2
#docker run --name magicscrape -d --link mongo-1.magicapi.302c2a25 cawaker/magicscrape:0.1
| DigitalRogues/magicapi_ruby | scrape/rebuildImage.sh | Shell | mit | 243 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2014:1826
#
# Security announcement date: 2014-11-11 21:51:19 UTC
# Script generation date: 2017-01-01 21:15:46 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libvncserver.i686:0.9.9-9.el7_0.1
# -... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2014/RHSA-2014:1826.sh | Shell | mit | 1,434 |
#!/bin/bash
# get dependencies from repos
# - Eigen
export TMP_EIGEN=$TMP_DIR/Eigen
mkdir $TMP_EIGEN
wget https://bitbucket.org/eigen/eigen/get/f3a22f35b044.zip -O $TMP_EIGEN'/eigen_repo.zip'
unzip -qq -o $TMP_EIGEN'/eigen_repo.zip' -d $TMP_EIGEN
mv $TMP_EIGEN'/eigen-eigen-f3a22f35b044/Eigen' $TEST_INCLUDE_PATH'/Eige... | phineasng/MLearn | test/setup/install_dependencies.sh | Shell | mit | 1,065 |
#####################################################################
# Fix permissions, set up init
cp $DEVSTEP_PATH/bashrc $HOME/.bashrc && \
chown -R developer:developer $HOME && \
chown -R developer:developer $DEVSTEP_PATH && \
chown -R developer:developer $DEVSTEP_CONF && \
chmod u+s /usr/bin/sudo && \
ln -s $DEVS... | fgrehm/devstep | image/fix-permissions.sh | Shell | mit | 661 |
#!/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... | csjlengxiang/RealmHelper-ReamDataAble | RealmHelperDemo/Pods/Target Support Files/Pods-RealmHelperDemo/Pods-RealmHelperDemo-frameworks.sh | Shell | mit | 4,123 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2657-1
#
# Security announcement date: 2013-04-04 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:31 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - postgresql-8.4:8.4.17-0squeeze1
#
... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2013/DSA-2657-1.sh | Shell | mit | 648 |
#!/bin/bash
set -euxo pipefail
PROXY=${PROXY:-}
if [[ ! -z ${PROXY} ]]
then
if [[ ${PROXY} == */* ]]
then
PROXY=$(echo ${PROXY} | awk -F'/' '{print $1}')
echo "Proxy is set to: ${PROXY}"
fi
fi
if [[ -f /etc/os-release ]]
then
OS=$(cat /etc/os-release|sed -e 's/"//'|grep ID_LIKE|awk -F '=' '{print $2}... | KEAOSolutions/development_environment | ansible/install.sh | Shell | mit | 3,346 |
#!/bin/bash
sql enwiki -h db1029
| amire80/cxscripts | wikishared.sh | Shell | cc0-1.0 | 35 |
set -e
set -x
if [[ $INTEGRATION_TARGET = '' ]]; then
nosetests --with-cov --cov-report term-missing --cov regparser
flake8 .
else
eregs clear
./integration_test.py uninstall
./integration_test.py install $INTEGRATION_TARGET
./integration_test.py build $INTEGRATION_TARGET
if [[ $TRAVIS_PULL_REQUEST = 'fa... | cmc333333/regulations-parser | test-travis.sh | Shell | cc0-1.0 | 491 |
## Commands to be run for each population to
## 1) Create initial breseq output
## 2) Run on simulated reference genomes created by gdtools APPLY after curation
## 3) Check read depth coverage graphs for duplications and deletions
##
## All commands run on TACC
## 1) Create initial breseq output
POPULATION="Ara-3"
mkd... | barricklab/LTEE | bin/breseq.sh | Shell | cc0-1.0 | 2,147 |
#!/bin/sh
#
# (C) Copyright 2017 Pavel Tisnovsky
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#... | tisnik/clj-mrazik | database/dump_database.sh | Shell | epl-1.0 | 419 |
#!/usr/bin/env bash
# Copyright Bosch.IO GmbH, 2020.
# Part of the SW360 Portal Project.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal... | sw360/sw360chores | v2/liferay-360/build_local.sh | Shell | epl-1.0 | 704 |
#!/bin/bash
rm -rf $NEO4J_DB_DIR
| FTSRG/ingraph | graphs/ldbc-snb-bi/delete-neo4j-database.sh | Shell | epl-1.0 | 34 |
#!/bin/bash
# 1s is as 1e, but adding per-frame dropout to LSTM in location4
# as paper : http://www.danielpovey.com/files/2017_interspeech_dropout.pdf
# ./local/chain/compare_wer_general.sh --looped exp/chain_cleaned/tdnn_lstm1e_sp_bi exp/chain_cleaned/tdnn_lstm1s_sp_bi
# System tdnn_lstm1e_sp_bi tdnn... | michellemorales/OpenMM | kaldi/egs/tedlium/s5_r2/local/chain/tuning/run_tdnn_lstm_1s.sh | Shell | gpl-2.0 | 14,273 |
#!/bin/sh
UNAME_=`uname`
if [ $UNAME_ = "Darwin" ]; then
export CFLAGS="-Wall -gdwarf-2 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include/libxml2"
export CXXFLAGS="-Wall -gdwarf-2 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include/libxml2 -I/usr/X11R6/include"
export LDFLAGS="-L/usr/X11R6/lib -L$HOME/.local/lib"
export p... | oyranos-cms/icc-examin | icc_examin-build-local.sh | Shell | gpl-2.0 | 597 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-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/t2132-node-var-generated-file2.sh | Shell | gpl-2.0 | 1,088 |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/ec2-access.log"
# Grab all Security Groups IDs for DISALLOW action and export the IDs to a text file
sudo aws ec2 describe-security-groups --filters Name=tag:close-rdp-time,Values=17-00 N... | STARTSPACE/aws-access-to-ec2-by-timetable | rdp-3389/disallow-ad/rdp-disallow-ad-17.sh | Shell | gpl-2.0 | 807 |
#!/bin/bash
# 1.6_Format_the_partitions
#
# https://wiki.archlinux.org/index.php/Installation_guide#Format_the_partitions
#
# *----------------------------------------------------------------------------*
# generated by archlinux 20/02/2017 00:35:34
# *---------------------------------------------... | RC69/RCsite1 | archlinux/installation-guide/contents/1.6_Format_the_partitions.bash | Shell | gpl-2.0 | 903 |
# This file provides some common code that is intented to be called
# by the various boot-<arch> scripts.
# install_languages decompacts the language packs, you should give the path
# to the CD temporary tree.
# This function should be called for all bootable images.
install_languages() {
# Param $1 is the CD di... | udienz/ubuntu-cdimage | debian-cd/tools/boot/lucid/common.sh | Shell | gpl-2.0 | 3,329 |
#!/bin/sh
# $Id: preremove.sh $
## @file
# VirtualBox preremove script for Solaris Guest Additions.
#
#
# Copyright (C) 2008-2013 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or... | miguelinux/vbox | src/VBox/Additions/solaris/Installer/preremove.sh | Shell | gpl-2.0 | 2,223 |
#!/bin/bash
# This is to be run after run_nnet2_multisplice.sh.
# It demonstrates discriminative training for the online-nnet2 models
. cmd.sh
stage=1
train_stage=-10
use_gpu=true
srcdir=exp/nnet2_online/nnet_ms_a_online
criterion=smbr
learning_rate=0.0016
drop_frames=false # only relevant for MMI
. cmd.sh
. ./pa... | michellemorales/OpenMM | kaldi/egs/rm/s5/local/online/run_nnet2_multisplice_disc.sh | Shell | gpl-2.0 | 3,328 |
#! /bin/sh
dir="`pwd`"
version=0.9
distdir=ase-$version
zip="zip -9"
zip_recursive_flag="-r"
if [ -f ./7za.exe ] ; then
zip="./7za.exe a"
zip_recursive_flag=""
fi
if [ ! -f dist.sh ]; then
echo You must run dist.sh from misc/ directory
exit 1
fi
##########################################################... | Skiles/aseprite | misc/dist.sh | Shell | gpl-2.0 | 2,329 |
#!/usr/bin/env bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
set -e -u
# Warning: customize_airootfs.sh is deprecated! Support for it will be removed in a future archiso version.
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
locale-gen
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
systemctl mask refl... | gsanhueza/ArchISOMaker | airootfs/root/customize_airootfs.sh | Shell | gpl-2.0 | 335 |
#!/usr/bin/bash
ssh-keygen -t rsa -C "yourmail@here" -f ~/.ssh/$1
eval `ssh-agent -s`
ssh-add ~/.ssh/$1
cat ~/.ssh/${1}.pub | pbcopy
| KuroAku/Scripts-Snippets | add_ssh_key.sh | Shell | gpl-2.0 | 134 |
#! /bin/sh
#
# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation version 2.
#
# This program is distributed "as is" WITHOUT... | rogerq/ltp-ddt | testcases/ddt/scripts/gpio/gpio.sh | Shell | gpl-2.0 | 9,149 |
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
for i in lib/dracut/dracut-*; do
if [ -f $i ]; then
vinfo < $i
fi
done
unset i
| congwang/dracut | modules.d/10rpmversion/version.sh | Shell | gpl-2.0 | 215 |
#! /bin/sh
TOP_DIR="$(dirname $0)"
LAST_DIR="$PWD"
if test ! -f "${TOP_DIR}/configure.ac"; then
echo "You must execute this script from the top level directory."
exit 1
fi
AUTOCONF="${AUTOCONF:-autoconf}"
ACLOCAL="${ACLOCAL:-aclocal}"
AUTOMAKE="${AUTOMAKE:-automake}"
AUTOHEADER="${AUTOHEADER:-autoheader}"
LIBTOOLI... | Mkaysi/charybdis | autogen.sh | Shell | gpl-2.0 | 1,084 |
#! /bin/sh
builddir=`pwd`
rel_srcdir=`dirname $0`
test -z "$rel_srcdir" && rel_srcdir=.
srcdir=`cd $rel_srcdir && pwd`
echo "srcdir="$srcdir
if test -d $rel_srcdir/m4 ; then
aclocal_extra="-I m4"
elif test -d $rel_srcdir/moo/m4 ; then
aclocal_extra="-I moo/m4"
fi
cd $srcdir
echo "Generating configuration files... | BackupTheBerlios/ggap | autogen.sh | Shell | gpl-2.0 | 1,646 |
#!/bin/bash
hosts_tjxc=(`cat server.list.tjxc`)
size=${#hosts_tjxc[@]}
echo -e "\033[34m\r\n***************Let go !*****************\033[0m"
echo -e "\033[36m \033[0m"
echo -e "\033[31m TJXC \033[0m"
echo -e "\033[32m|------------IP---... | songbingyu/shell | check_rsync_thread.sh | Shell | gpl-2.0 | 1,796 |
#!/bin/bash
###############################################################################
#
# Kernel Build Script
#
###############################################################################
# 2011-10-24 effectivesky : modified
# 2010-12-29 allydrop : created
#######################... | VegaDevTeam/android_kernel_pantech_ef52k | clean_kernel.sh | Shell | gpl-2.0 | 611 |
#!/bin/sh
set +x
autoreconf --force --install -I config -I m4
rm -rf autom4te.cache
| Laizerox/TheLife | autogen.sh | Shell | gpl-2.0 | 86 |
#!/bin/bash
# export MARIADB_HOST_IP=`awk 'NR==1 {print $1}' /etc/hosts`
# set -e
source /usr/bin/fxn.sh
# set -x #use then debuging
if [[ ! -d $MOUNT ]]; then
mkdir -p $MOUNT
fi
NOW=$(date +"%Y-%m-%d-%H%M")
env > /root/.env
if [[ $AWS_S3 ]]; then
if [[ ! -f ~/.passwd-s3fs || ! -f /etc/passwd-s3fs ]]; then
... | globalfoodbook/ranger | templates/entrypoint.sh | Shell | gpl-2.0 | 2,011 |
#!/bin/bash
# You must have POSIX message queues support in your kernel
#
# Check CONFIG_POSIX_MQUEUE
#
if [ $UID -ne 0 ]; then
echo "You must be root to run this script"
exit 1
fi
mkdir -p /dev/mqueue
mount -t mqueue none /dev/mqueue
| lisa-project/lisa-user | userspace/cdpd/mqueue.sh | Shell | gpl-2.0 | 239 |
#!/bin/sh
UNSERMAKE="no" make -f Makefile.cvs
| bibletime/historic-bibletime | autogen.sh | Shell | gpl-2.0 | 46 |
#!/bin/bash
# this script runs fasta file against its parent's family
# using hmmer3 and hmmframe
if [ $# -ne 2 ];then
echo "Usage: <fasta file> <hmmframe output file>"
exit
fi
cat /dev/null >$2
cat $1 | while read line
do
seq_name=`echo $line | awk '{print substr($1,2)}'`
domain=`echo $line | awk '{print $2}'... | zhangy72/PseudoDomain | run_hmmframe_on_pseudogene.sh | Shell | gpl-2.0 | 734 |
#!/bin/bash
#
# Build Docker Image locally
docker build -t nlextract/nlextract:latest .
| nlextract/NLExtract | build-docker.sh | Shell | gpl-3.0 | 88 |
#!/bin/bash
#
# Compiles, runs, and analyzes results for various input parameters of buu code.
# Saves output to specified data directory.
#
# NOTE: does not currently analyze results. Use other scripts for this. All
# references to ansti.for have been commented out.
#
# Brent Barker, me@brentwbarker.net, 2006-07-08
# ... | brentwbarker/pbuu | runmany.sh | Shell | gpl-3.0 | 11,275 |
#!/bin/bash
LANGUAGE='fr_FR'
CSV_CONTACTS='/path/to/contacts.csv'
MOBILE_REGEXP='\+33[67][0-9]{8}'
TARGET_DONGLE='dongle0'
ASTERISK_PATH='/usr/sbin/asterisk'
| Encrypt/basl | config.sh | Shell | gpl-3.0 | 158 |
#!/bin/bash
#
# High-level functions: modifying internal state of system components etc.
#
source /usr/share/InnoRoute/tn_env.sh
source /usr/share/InnoRoute/tn_func_ll.sh
| InnoRoute/packages | TN_tools/files/tn_func.sh | Shell | gpl-3.0 | 173 |
#!/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 2/logs/w-11_0/20170124T211925+0000/00/00/computeusergroup_0_ID0000002.sh | Shell | gpl-3.0 | 1,783 |
cp -r ./* /home/sol315/site/test_site/
| Song-Li/dynamic_fingerprinting | research/client/local.sh | Shell | gpl-3.0 | 39 |
# colored man pages
# source: https://github.com/imkira/dotfiles/blob/master/.zsh/colored-man-pages.zsh
# https://russellparker.me/2018/02/23/adding-colors-to-man/
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;38;5;74m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TER... | roosta/dotfiles | conf/zsh/.zsh.d/colored_man_pages.zsh | Shell | gpl-3.0 | 420 |
opreport -a -c -g -l | d0k1/OProfilerByExample | profile_result_Total.sh | Shell | gpl-3.0 | 20 |
#!/bin/bash
set -euo pipefail
DBDIR=/data/db/seqservice
cd $DBDIR
# Directly via wget and formatting, update_blast.pl could also be done
wget -q ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/drosoph.aa.gz && gunzip drosoph.aa.gz && \
/data/soft/bin/makeblastdb -dbtype prot -parse_seqids -in drosoph.aa && \
/data/soft/... | toniher/seqservice | example-download.sh | Shell | gpl-3.0 | 986 |
#!/bin/sh
copyright-header --license GPL3 \
--add-path lib/:Z3DCameraViewer/:Z3DScanner/:LTSAcquisition/:QQCameraCalibration/:Z3DCameraCalibration/:Z3DCloudViewer/ \
--guess-extension \
--copyright-holder 'Nicolas Ulrich <nikolaseu@gmail.com>' \
... | nikolaseu/neuvision | utils/add-license-header.sh | Shell | gpl-3.0 | 551 |
#!/bin/bash
# Install the ecs-init package
yum install -y ecs-init
# Add AWS instance into Auto Scaling cluster
# ECS_CLUSTER should be as SAME as ${aws_ecs_cluster.ecs_cluster.name}" in configuration
echo "ECS_CLUSTER=terraform-ecs-cluster" > /etc/ecs/ecs.config
# Start the Docker daemon
service docker start
# St... | TerrenceMiao/docker | terraform/ecs/userdata/setup.bash | Shell | gpl-3.0 | 614 |
#! /bin/sh
OCAMLRUNPARAM=b=1 ./update_logs.sh --verbose
| worldforge/trurl | bt_update_logs.sh | Shell | gpl-3.0 | 56 |
#!/bin/sh
export BREW_NO_AUTO_UPDATE=1
export BREW_NO_ANALYTICS=1
# according to https://docs.travis-ci.com/user/caching#ccache-cache
brew install ccache
export PATH="/usr/local/opt/ccache/libexec:$PATH"
brew install libsndfile || true
brew install portaudio || true
brew install qt5 || true
brew link qt5 --force
# ... | gusano/supercollider | .travis/before-install-osx.sh | Shell | gpl-3.0 | 375 |
#!/bin/bash
cd /srv/server
node server.js
| drumrollhq/eak-docker | conf/services/node.sh | Shell | gpl-3.0 | 42 |
# 28_save_and_diff_system_release.sh
cp /etc/system-release "$VAR_DIR/$DS/system-release.after"
[[ ! -f "$VAR_DIR/$DS/system-release.before" ]] && return # should never be true
cmp -s "$VAR_DIR/$DS/system-release.before" "$VAR_DIR/$DS/system-release.after"
if (( $? == 1 )); then
LogPrint "System was upgraded to... | gdha/upgrade-ux | opt/upgrade-ux/scripts/postinstall/GNU/Linux/28_save_and_diff_system_release.sh | Shell | gpl-3.0 | 366 |
### Git branch that will be used.
git_branch='master'
### Domain of the website.
domain='example.org'
### Drupal 'admin' password.
admin_passwd='admin'
### Emails from the server are sent through the SMTP
### of a GMAIL account. Give the full email
### of the gmail account, and the password.
gmail_account='MyEmailA... | dashohoxha/dbox | install/settings.sh | Shell | gpl-3.0 | 750 |
#!/bin/bash
fnev="<fnev>"
jelszo="<jelszo>"
host="<host>.bestbox.be"
tavoli_mappa="/<fnev>/"
helyi_mappa="/var/www/rutorrent/share/users/<fnev>/"
###/var/www/rutorrent/share/users/<fnev>/
###/home/<fnev>/downloads/manual/
###/home/<fnev>/downloads/.session/
sudo apt-get install lftp --yes
trap "rm -f /tmp/<fnev>.lock... | fjdhgjaf/hostdz | egyeb/at.sh | Shell | gpl-3.0 | 653 |
#!/bin/bash
WORKDIR=$(pwd)
ENGDIR="${WORKDIR}/Eng"
CHSDIR="${WORKDIR}/Chinese Simplified"
ENGLINES=0
CHSLINES=0
ls ${ENGDIR} | while read XMLFILE
do
ENGLINES=$(wc -l "${ENGDIR}/${XMLFILE}" | awk '{print $1}')
CHSLINES=$(wc -l "${CHSDIR}/${XMLFILE}" | awk '{print $1}')
if [ x"${ENGLINES}" != x"${CHSLINES}" ]; then
... | kuletco/VanHelsingFinalCutCN | Strings/complinesnum.sh | Shell | gpl-3.0 | 381 |
RUNNAME="Displays"
runfile_exec()
{
local l i x y SCREENS RESOLUTIONS
((i=0))
while read l
do
SCREENS[i]="${l%% *}"
if [[ "$l" == *disconnected* ]]
then
RESOLUTIONS[i]=''
else
l="${l##*connected }"
l="${l%%+*}"
x="${l%%x*}"
y="${l##*x}"
if (( y > x ))
... | KoneetKiertoon/scripts | src/basiccheck.d/80-display.sh | Shell | gpl-3.0 | 707 |
#!/bin/sh
# functions, strings and other constants for shell scripts
# for relation between dit unit and speed in words/min
# VVVVV=64, CODEX=60, PARIS=50
SPEEDBASE=50
# default speed [words/minute]
DEFAULTWPM=23
# default priority (ROUTINE)
DEFAULTPRIORITY=42
# timeout [sec] for fetch operations
FETCHTIMEOUT=50
# m... | hb9kns/ambros | src/constants.sh | Shell | gpl-3.0 | 3,032 |
#!/bin/bash
# define job name, email and working dir
#$ -N Test2.MethyCoverageParser
# inherit environment variables
#$ -V
# specify walltime and RAM usage
#$ -l h_rt=71:00:00
#$ -l h_vmem=60G
# allows one to use module commands
. /etc/profile.d/modules.sh
# load the following modules upon login
module unload py... | superDross/MethyCoverageParser | test/test2.sh | Shell | gpl-3.0 | 2,168 |
#!/usr/bin/env bash
if [[ "${BASH_SOURCE[0]}" = /home/* ]]; then
username=$(echo "${BASH_SOURCE[0]}" | sed 's%^/home/\([^/]\+\)/.*%\1%g')
else
username=${USER}
fi
xenv="env DISPLAY=:0 XAUTHORITY=/run/user/$(id -u $username)/gdm/Xauthority"
$xenv xinput -list | grep -F REALFORCE | while read -r line; do
keyboard... | changyuheng/dotfiles | bin/linux/unswap-option-and-command-for-realforce-for-mac.sh | Shell | mpl-2.0 | 453 |
#! /bin/bash
##########################
# INIT
##########################
# the autograder directory
AG_DIR='/python_autograder'
if [[ ! -d /grade ]]; then
echo "ERROR: /grade not found! Mounting may have failed."
exit 1
fi
# the parent directory containing everything about this grading job
export JOB_DIR='/gra... | PrairieLearn/PrairieLearn | graders/python/python_autograder/run.sh | Shell | agpl-3.0 | 2,556 |
#!/bin/bash
# Version cible de la mise à jour de Nextcloud
VERSION="11.0.0"
# Nextcloud tarball checksum
NEXTCLOUD_SOURCE_SHA256="5bdfcb36c5cf470b9a6679034cabf88bf1e50a9f3e47c08d189cc2280b621429"
# Load common variables and helpers
source ./_common.sh
# Source app helpers
source /usr/share/yunohost/helpers
# Load ... | Rafi594/nextcloud_ynh | scripts/upgrade.d/upgrade.10.sh | Shell | agpl-3.0 | 448 |
#!/bin/bash
set -eux
update_branch() {
# Branch or pull a branch.
local_branch=$1
local_dir="$(basename $local_branch | cut -d ':' -f2)"
local_path="$HOME/$local_dir"
if [[ -d $local_path ]]; then
# Clear any changes that haven't been commited to the branch.
(cd $local_path; bzr re... | mjs/juju | acceptancetests/update-jenkins-slave.bash | Shell | agpl-3.0 | 2,663 |
GNU Bash
| AndovaBegarin/WordBash | meta/tags/.bash | Shell | agpl-3.0 | 9 |
#!/bin/bash
mkdir -p out.yml test
if [ -z $1 ]; then
rm -rf out.sv out.yml.sv
cp -r out.yml out.yml.sv
rm -f out.yml/*
for url in `ls html`; do
perl parse_depute.pl html/$url 1 > out.yml/$url
done
fi
fields=`cat out.yml/* | grep ": ." | grep -v "^ - " | sed 's/: .*$//' | sed 's/^ *//' | sort | uniq... | regardscitoyens/nosdeputes.fr | batch/depute/test_fields.sh | Shell | agpl-3.0 | 2,691 |
source common.sh
set -u
if [[ -z $(type -p git) ]]; then
echo "Git not installed; skipping Git submodule tests"
exit 99
fi
clearStore
rootRepo=$TEST_ROOT/gitSubmodulesRoot
subRepo=$TEST_ROOT/gitSubmodulesSub
rm -rf ${rootRepo} ${subRepo} $TEST_HOME/.cache/nix
initGitRepo() {
git init $1
git -C $1 ... | pikajude/nix | tests/fetchGitSubmodules.sh | Shell | lgpl-2.1 | 3,894 |
#!/bin/bash
# Actualiza solo el script bash. Version Beta (c) Antonio Taboada 2017
wget https://raw.githubusercontent.com/hackingyseguridad/scan/master/scan.sh
cp scan.sh.1 scan.sh
chmod 777 scan.sh
apt-get upgrade nmap
| hackingyseguridad/scan | update.sh | Shell | lgpl-2.1 | 220 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.