code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env bash
/vagrant/provisions/shell/base.sh
/vagrant/provisions/shell/nodejs.sh
| JuanjoFR/realtime-web-client | provisions/shell/bootstrap.sh | Shell | mit | 91 |
#!/bin/bash
set -xe
is_defined() {
if [ -z "${!1}" ]; then
echo "ERROR: $1 not defined"
exit 1
fi
}
# Add a bunch of environment variable assertions here. Using this function,
# the start script will fail if the environment variables you expected are
# not defined. For example:
#
# is_defined my_setting
... | adamschmidt/golang-boilerplate | container/files/opt/app/start.sh | Shell | mit | 387 |
z_path=~/.zsh-plugins/z.sh
if [[ $(command -v brew) ]]; then
z_path=`brew --prefix`/etc/profile.d/z.sh
fi
if [[ -f $z_path ]]; then
. $z_path
fi
if [[ $(command -v thefuck) ]]; then
eval "$(thefuck --alias)"
fi
| morinap/dotfiles | zsh/plugins.zsh | Shell | mit | 219 |
#!/bin/bash
conda create --name mne python=2.7 ipython notebook
source activate mne
conda install mne pysurfer
| pchrapka/brain-modelling | experiments/exp34-mne-python/create-env.sh | Shell | mit | 112 |
#!/bin/bash
mkdir -p ../frogs
vipsthumbnail -c -o ../frogs/%s-128x128.jpg[Q=30] *.jpg
vipsthumbnail --size=180x90 -c -o ../frogs/%s-180x90.jpg[Q=30] *.jpg
| cilogi/cilogi-guides | offline/botanics/media/images/mkthumbs.bash | Shell | mit | 197 |
#cloud-config
mounts:
- [ /dev/xvdb, /media/ephemeral0, auto, "defaults,nobootwait", "0", "2" ]
- [ swap, null ]
apt_update: true
apt_sources:
- source: "deb http://apt.puppetlabs.com trusty main"
keyid: 4BD6EC30
filename: puppetlabs.list
- source: "deb http://apt.puppetlabs.com trusty dependencies"
keyid: 4BD6... | bubblehouse/puppet-aws | example/generic.sh | Shell | mit | 3,752 |
./audiofile1 -a ~/Music/vtest
if [ ! -f ~/.audiofile/lib.db ]; then
echo "Database not created."
exit 1
fi
./audiofile1 -r '%a/%b/%d.%n-%t-%b-%a.mp3'
if [ ! -f ~/Music/vtest/Scorpions/Blackout/1.7-Arizona-Blackout-Scorpions.mp3 ]; then
echo "Renamed files not created."
exit 2
fi
| mattvryan/audiofile | testandverify_1.sh | Shell | mit | 287 |
C_NAMESERVER="10.0.103.1"
C_DOMAIN="uatv.me"
C_GATEWAY="10.0.103.1"
# C_NAMESERVER="10.0.7.1"
# C_DOMAIN="uawifi.net.ua"
# C_GATEWAY="10.0.7.1"
NTP_SERVER1="0.ua.pool.ntp.org"
NTP_SERVER2="1.ua.pool.ntp.org"
NTP_SERVER3="2.ua.pool.ntp.org" | grengojbo/vmware-coreos | cluster01.sh | Shell | mit | 242 |
#!/bin/bash
mkdir .local/easybuild/modules/all/cufflinks
mkdir -p .local/easybuild/software/cufflinks/2.2.1
wget -c -P .local/easybuild/software/cufflinks/2.2.1 http://cufflinks.cbcb.umd.edu/downloads/cufflinks-2.2.1.Linux_x86_64.tar.gz
tar xvzf .local/easybuild/software/cufflinks/2.2.1/cufflinks-2.2.1.Linux_x86_64.ta... | adammaikai/OmicsPipe2.0 | dist/AWS_customBuild/cufflinks_install.sh | Shell | mit | 457 |
#!/bin/bash
PHP=`which php`
COMPOSER=`which composer`
NPM=`which npm`
PHPUNIT=`which phpunit`
PWD=`pwd`
export SYMFONY_ENV=prod
ERROR=`tput setab 1` # background red
GREEN=`tput setab 2` # background green
BACKGROUND=`tput setab 4` # background blue
INFO=`tput setaf 3` # yellow text
BLACKTEXT=`tput setaf 0`
COLOR=`t... | kisphp/newsletter | build.sh | Shell | mit | 1,378 |
#!/bin/bash
(x=`tput op` y=`printf %80s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done)
| midwire/bash.env | bin/colortest.sh | Shell | mit | 140 |
#! /bin/sh
VER_MAJOR=1
VER_MINOR=7
UUID1=84efce45-6968-4945-92f5-864af6aee9e2
UUID2=32b5da4e-b95b-450c-a287-83f8f2db7930
RESOURCE_PACK_NAME=TransparentGlass
RESOURCE_PACK_FILE_JAVA=${RESOURCE_PACK_NAME}.zip
RESOURCE_PACK_FILE_BEDROCK_WIN10=${RESOURCE_PACK_NAME}BE.zip
RESOURCE_PACK_FILE_BEDROCK_PORTABLE=${RESOURCE_PA... | cvsync/TransparentGlass | build.sh | Shell | mit | 2,715 |
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Provide version"
exit 42
fi
version=":$1"
docker push seges/tomcat$version
| seges/docker-tomcat | docker-push.sh | Shell | mit | 122 |
#!/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... | Chaatz/SocketIOChatClient | Example/Pods/Target Support Files/Pods-SocketIOChatClient_Tests/Pods-SocketIOChatClient_Tests-frameworks.sh | Shell | mit | 4,494 |
#!/bin/bash
export GIT_URL=https://raw.githubusercontent.com/eschweit-at-tibco/bw-devops/master
yum -y install unzip > /tmp/yum-unzip.log 2>&1
# install maven
cd /tmp
wget http://www.eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
tar xzf apache-maven-3.3.9-bin.tar.gz
mkdir /usr/local/m... | eschweit-at-tibco/bw-devops | ec2-scripts/jenkins.sh | Shell | mit | 3,732 |
#!/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... | hilenium/HISwiftExtensions | Example/Pods/Target Support Files/Pods-HISwiftExtensions_Tests/Pods-HISwiftExtensions_Tests-frameworks.sh | Shell | mit | 3,905 |
rake db:drop db:create db:migrate
| kkestell/travelogue-server | resetdb.sh | Shell | mit | 34 |
#!/bin/bash
## Moves apache conf from repo location to sites-available
#
# 000-encoded-default.conf
# 111-indexer-primary.conf
# 222-indexer-vis.conf
# 666-encoded-app.conf
#
##
src_dir='/home/ubuntu/encoded/cloud-config/configs/apache'
dest_dir='/etc/apache2/sites-available'
site_arr=('000-encoded-default.conf' '11... | ENCODE-DCC/encoded | cloud-config/configs/apache/build-conf.sh | Shell | mit | 732 |
#!/usr/bin/env bash
echo "Install LM server..."
go install github.com/viktor-br/links-manager-server/app/links-manager-server
cd $GOPATH
RUNNING=$(docker inspect -f {{.State.Running}} lm-test-server 2> /dev/null)
if [ "$RUNNING" = "" ]; then
echo "Container doesn't exist. Run..."
docker run -it -d --name lm... | viktor-br/links-manager-server | scripts/run-test-server.sh | Shell | mit | 733 |
#!/bin/sh
i=10
while [[ $i -gt 5 ]]; do
echo $i
((i--))
done
i=10
while [ $i -gt 5 ]; do
echo $i
: $((i-=1))
done
while read line;do
echo $line
done < /etc/hosts
| yuweijun/learning-programming | bash/test_while.sh | Shell | mit | 184 |
readonly ref_endpoint="${GITHUB_API_URL:-https://api.github.com}/repos/%s/git/refs/tags/%s"
readonly release_endpoint="${GITHUB_API_URL:-https://api.github.com}/repos/%s/releases"
readonly release_json='{"tag_name": "v%s", "name": "%s", "target_commitish": "%s"}'
release-create() {
declare reponame="$1" version="${2... | progrium/gh-release | bash/gh-release.bash | Shell | mit | 2,169 |
#!/bin/bash
# This is for log purposes
echo "[$(date)] Renew SSL cert script starting"
echo "Current path $PWD"
/home/thor/certbot/certbot-auto renew --no-self-upgrade --standalone --preferred-challenges http-01 --post-hook "hassctl restart" #--pre-hook "hassctl stop"
| Genestealer/Home-Assistant-Configuration | includes/shell_scripts/update_ssl.sh | Shell | mit | 269 |
#!/bin/sh
export DISPLAY=:0.0
rygel &
transmission-gtk &
cd alarm
nohup python alarm.py &
cd ..
cd www/home_server/
nohup ruby app.rb &
cd ../../
#xrandr --output LVDS1 --off
#cat
#xrandr --output LVDS1 --on
| tobykurien/HomeServer | scripts/start.sh | Shell | mit | 212 |
#!/bin/sh
./pod/dlpod.py http://radiofrance-podcast.net/podcast09/rss_16173.xml
| jeremiedecock/podcast-manager | dl_grand_bien_vous_fasse.sh | Shell | mit | 81 |
# now we have a tiff but the coordinate system is messed up. Let's warp it to WGS_1984 (epsg:4326)
# castle_forest is in UTM North U33 (epsg:32633) we get this from the documentation, not the data.
# using liblas' lasinfo tool, you can see that the coordinate system is messed up.
# see more info on the zone here: htt... | DanielCaldwell/ConvertingLidarToGeoTiff | scripts/03_georeference_tif.sh | Shell | mit | 929 |
set -euo pipefail
# Unpack the bootstrap tools tarball.
echo Unpacking the bootstrap tools...
$mkdir $out
$bzip2 -d < $tarball | (cd $out && $cpio -i)
export PATH=$out/bin
# Fix codesign wrapper paths
sed -i \
-e "1c\
#!$out/bin/bash" \
-e "s|[^( ]*\bsigtool\b|$out/bin/sigtool|g" \
$out/bin/codesign
updateIns... | NixOS/nixpkgs | pkgs/stdenv/darwin/unpack-bootstrap-tools-aarch64.sh | Shell | mit | 1,134 |
#!/bin/sh
# Build Google Test framework
echo "# Building Google Test framework"
cd trd/gtest/
cmake -H. -Bbuild
cmake --build build -- -j4
cd ../../
# Build Pool Controller Application
echo "# Building Pool Controller"
cmake -H. -Bbuild
cmake --build build -- -j4
| andlgr/pool-controller | build.sh | Shell | mit | 267 |
#!/usr/bin/env bash
koopa::fedora_dnf() { # {{{1
# """
# Use either 'dnf' or 'yum' to manage packages.
# @note Updated 2021-06-15.
# """
local app
if koopa::is_installed 'dnf'
then
app='dnf'
elif koopa::is_installed 'yum'
then
app='yum'
else
koopa::stop "... | steinbaugh/seqcloud | lang/shell/bash/functions/os/linux/distro/fedora/dnf.sh | Shell | mit | 1,271 |
if [ -f "$ASDF_DATA_DIR/plugins/java/set-java-home.zsh" ]; then
. "$ASDF_DATA_DIR/plugins/java/set-java-home.zsh"
fi
| ahaasler/dotfiles | java/asdf.zsh | Shell | mit | 118 |
#!/bin/bash
#SBATCH --partition=mono
#SBATCH --ntasks=1
#SBATCH --time=4-0:00
#SBATCH --mem-per-cpu=8000
#SBATCH -J Deep-DAE_SDAE_5_dec_real_RICA_sig
#SBATCH -e Deep-DAE_SDAE_5_dec_real_RICA_sig.err.txt
#SBATCH -o Deep-DAE_SDAE_5_dec_real_RICA_sig.out.txt
source /etc/profile.modules
module load gcc
module load matla... | aciditeam/matlab-ts | jobs/deepJobs_DAE_SDAE_5_dec_real_RICA_sig.sh | Shell | mit | 617 |
#!/bin/bash
#
alspro doctools.pro -g file_doc -p
| AppliedLogicSystems/ALSProlog | docs/src_help_md/lib_blt_xamps/1-x_libblt.sh | Shell | mit | 51 |
#!/bin/bash
# Bash script created by Mattia Campagnano on Mon Aug 14 13:05:21 EDT 2017
# Returns the number of networks and hosts obtainable from a given IP address.
echo -n "Enter IP address: "
read ip
octet1=$(echo $ip | cut -d "." -f1)
#echo "${octet1}"
if [ $octet1 -gt 0 ] && [ $octet1 -le 126 ]
then
def_mask... | infosecstark/subnet_calculator | subnet_calculator.bash | Shell | mit | 2,187 |
#!/bin/bash
# certbot certonly --rsa-key-size 4096 --webroot -w /var/vadweb -d vadweb.us -d www.vadweb.us
certbot renew --rsa-key-size 4096 --pre-hook "service nginx stop" --post-hook "service nginx start; /home/vadim/docker_registry/renew.sh"
| Vadman97/Vadweb | gen_ssl.bash | Shell | mit | 245 |
#!/usr/bin/env bash
time (
for c in $(ls -1a *.*.cmd); do
echo ----------------------------------------------------------
echo $c:
echo ----------------------------------------------------------
cat $c
echo ----------------------------------------------------------
. ./$c
done
)
| erikwilson/wiki-hop | import/runall.sh | Shell | mit | 295 |
#!/bin/bash
# setup-server.sh
# Setup a server install of Argumenta.
# Exit if any command exits with non-zero status.
set -e
# This script's real path.
SCRIPT_FILE=$(readlink -f "$0")
# This script's source directory.
SOURCE_DIR=$(readlink -f `dirname "$SCRIPT_FILE"`/..)
# The target install directory.
INSTALL_DI... | argumenta/argumenta | bin/setup-server.sh | Shell | mit | 5,709 |
#
# When run, this creates a file called $PWD/wrt-buildroot-manager.source that you can source from bashrc
#
DIR=`dirname "$0"`
DIR=`cd "$DIR"; pwd`
cat > wrt-buildroot-manager.source <<EOF
export WRT_BUILDROOT_DIR="$DIR"
export WRT_BUILDROOT_TEMPLATE="$DIR/template"
export PATH="$DIR:\$PATH"
EOF
| pastcompute/wrt-buildroot-manager | configure.sh | Shell | gpl-2.0 | 300 |
# restore files with TSM
# have to do this for each filespace
#-----<--------->-------
export starposition=1
star ()
{
set -- '/' '-' '\' '|';
test $starposition -gt 4 -o $starposition -lt 1 && starposition=1;
echo -n "${!starposition}";
echo -en "\r";
let starposition++
#sleep 0.1
}
#-----<----... | thumm/rear_deb | usr/share/rear/restore/TSM/default/40_restore_with_tsm.sh | Shell | gpl-2.0 | 1,276 |
#!/bin/bash -ue
#-*-sh-*-
#
# $Id: run_fake.sh $
#
# Author: Markus Stenberg <mstenber@cisco.com>
#
# Copyright (c) 2013 cisco Systems, Inc.
#
# Created: Thu Feb 7 13:57:59 2013 mstenber
# Last modified: Thu Aug 1 11:31:56 2013 mstenber
# Edit time: 14 min
#
. /usr/bin/luaenv.sh
mkdir -p $LOGDIR
ENABLE_M... | fingon/hnet-ttin | topology/home10-3isp/isp2/usr/bin/run_fake.sh | Shell | gpl-2.0 | 672 |
#!/bin/bash
#Icinga Plugin Script to display the connection status of the registered services to broker
#Broker IP & Port
ip="localhost"
port="39001"
# Broker server status messages
aliveMsg="Server is alive"
deadMsg="Server is not alive"
if [[ "`uname -m`" == "arm"* ]]; then
export ODEDIR=/home/nextra/build/Next... | inspire-international/namingServer-plugin_icinga | plugins/query_broker.sh | Shell | gpl-2.0 | 2,355 |
#! /bin/sh
#BEGIN DEPEND------------------------------------------------------------------
INPUT_MODULES='src/lib/perl5/COD/CIF/Data/CODNumbers.pm'
#END DEPEND--------------------------------------------------------------------
perl <<'END_SCRIPT'
#---------------------------------------------------------------------... | sauliusg/cod-tools | tests/shtests/have_equiv_timestamps_009.sh | Shell | gpl-2.0 | 1,484 |
./virtualenv/bin/teuthology-suite --suite upgrade:hammer --suite-branch wip-rgw-new-multisite --email owasserm@redhat.com --ceph wip-rgw-new-multisite --machine-type vps --distro ubuntu
#--dry-run
| oritwas/scripts | run_upgrade_suite.sh | Shell | gpl-2.0 | 198 |
#!/bin/sh
. $IPKG_INSTROOT/etc/moca.conf
CONFIG="/bin/config"
IFCONFIG="/sbin/ifconfig"
vlan_tag_mark=$($CONFIG get vlan_tag_enable)
vlan_tag_id_1=$($CONFIG get vlan_tag_id_1)
vlan_tag_id_2=$($CONFIG get vlan_tag_id_2)
stop()
{
killall clinkd
killall kclinkd
sleep 1
killall -9 clinkd
killall -9 kclinkd
rmmod C... | jameshilliard/WM2500RP-V1.0.0.34_gpl_src | package/moca-util/src/dni-scripts/moca-control.sh | Shell | gpl-2.0 | 10,263 |
#!/bin/sh
#
# TinyGL-Demos Auto-Building Script
# Created by Keripo
# For Project ZeroSlackr
# Last updated: Aug 22, 2008
#
echo ""
echo "==========================================="
echo ""
echo "TinyGL-Demos Auto-Building Script"
echo ""
# Cleanup
if [ -d build ]; then
echo "> Removing old build directory..."
rm -r... | ProjectZeroSlackr/ProjectZeroSlackr-SVN | packs/Media/TinyGL-Demos/build.sh | Shell | gpl-2.0 | 2,020 |
#! /bin/bash -
# ============================================================================
# TEST-SEREN.SH
# D. A. Hubber - 10/2/2009
#
# Automated script to run a complete suite of tests (or just individual tests)
# of the Seren SPH code.
#
# Usage:
# test-seren.sh [-comp] : Fortran compiler
# ... | dhubber/seren | scripts/test-seren.sh | Shell | gpl-2.0 | 15,630 |
#!/bin/bash
# Video editors
# created by Thomas Neuhold
#
# handbrake (video converter dvd -> mp4
# shotcut (video editor alternative to openshot)
export DEBIAN_FRONTEND=noninteractive
## Video-Konverter
apt-get -y install handbrake shotcut
## Shotcut
# Codecs für Shotcut
# apt-get -y install libsdl2-dev
# add-apt... | edvapp/autoinstall | laus/scriptsForClasses/AGI/325-installVideoEditors.sh | Shell | gpl-2.0 | 406 |
#!/bin/bash
DIRNAME=`dirname $0`
export SCRIPTDIR=`cd "$DIRNAME" && pwd`
ARCH=`uname -m`
. $SCRIPTDIR/shellpacks/common.sh
. $SCRIPTDIR/shellpacks/common-config.sh
cd $SHELLPACK_TOPLEVEL
for DIRNAME in $SHELLPACK_SOURCES $SHELLPACK_LOG $SHELLPACK_TEMP; do
if [ ! -e "$DIRNAME" ]; then
mkdir -p "$DIRNAME"
fi
done
... | wjn740/mmtests | prebuild-all.sh | Shell | gpl-2.0 | 2,302 |
#!/bin/sh
JAVA_HOME=/user/vbasile/home/.local/lib/jdk1.7.0_79
# get the code
cd ext/
git clone https://github.com/pippokill/lesk-wsd-dsm.git
cd lesk-wsd-dsm
# compile
ant jar -Dplatforms.JDK_1.7.home=$JAVA_HOME
# Download babelNet 2.5.1 indexes and API
wget http://babelnet.org/data/2.5/babelnet-2.5-index-bundle.tar... | Remper/learningbyreading | ext/install_lesk-wsd-dsm.sh | Shell | gpl-2.0 | 1,938 |
#!/bin/sh
echo "testing with $(python2 -V 2>&1)"
python2 $(which nosetests) --rednose -v --with-coverage --cover-erase tests/
if [ $? == 0 ]; then
echo
echo "testing with $(python3 -V 2>&1)"
python3 $(which nosetests-3) --rednose -v --with-coverage --cover-erase tests/
fi
| TechRunner2/i3-gaps-rice | .config/i3/bar/runtests.sh | Shell | gpl-2.0 | 279 |
#!/bin/bash
FAD_ONLY=${FAD_ONLY-true}
# by default, only generate suggestions from words that had src=fad in nobsme-dicts
# if env has false, generate suggestions from all words
if [[ -n $LOOKUP && $LOOKUP != "lookup -q -flags mbTT" ]]; then
echo "Warning: overriding strange value of LOOKUP: $LOOKUP"
fi
expor... | unhammer/evttohus | functions.sh | Shell | gpl-2.0 | 14,292 |
#!/bin/bash
. ../MasterTest.sh
CleanFiles run.000 mremd.opts Hamiltonians.dat absolute.groupfile.save
TESTDIR=`pwd`
TESTDIR=`dirname $TESTDIR`
if [ -z "$TESTDIR" ] ; then
echo "Error: Could not get absolute path."
exit 1
fi
cat > mremd.opts <<EOF
DIMENSION ../Temperatures.dat
DIMENSION Hamiltonians.dat
DIM... | drroe/CreateRemdDirs | test/Test_MREMD_Absolute/RunTest.sh | Shell | gpl-2.0 | 1,007 |
# Demonstrates: Implicit invocation of quick and full GC when out of memory
~/Work/src/agcs -i main.xml -c desc.xml -m 910 -n 10 -g DBI_L_MS -t
| jskelin/AGCS | misc/tests/plain/ex16/example2.sh | Shell | gpl-2.0 | 145 |
#!/usr/bin/env bash
. ./lib
rm -rf temp1
mkdir temp1
cd temp1
darcs init
echo hello world > foo
darcs add foo
darcs record -a -m add -A x
echo goodbye world >> foo
echo y/y | tr / \\012 | darcs revert
darcs show contents foo | cmp foo -
# Now let's test a trickier revert where changes commute nontrivially.
cat > foo... | DavidAlphaFox/darcs | tests/revert_interactive.sh | Shell | gpl-2.0 | 1,033 |
#!/bin/sh
# Setup Simple OpenVPN server for Amazon Linux, Centos, Ubuntu and Debian
# Copyright (C) 2012-2013 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 ... | viljoviitanen/setup-simple-openvpn | normal-setup.sh | Shell | gpl-2.0 | 8,171 |
#!/bin/bash
run () {
${RUN_DOCKER} -it \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
-e AWS_REGION \
-v "$(pwd)":/container/ \
"${CONTAINER_NAME}" "${CMD}"
}
| silarsis/personal_dev | docker/awscli/run.sh | Shell | gpl-2.0 | 187 |
#!/bin/sh
# This test file relies on the programs 'oscdump' and 'oscsend' which
# are available as part of the LibLo distribution. Currently they are
# present in the LibLo svn repository, but not yet part of a stable
# release.
# This script assumes Dimple is already running.
# Disable path mangling in MSYS2
expor... | radarsat1/dimple | test/grab.sh | Shell | gpl-2.0 | 868 |
#!/bin/bash
# default devices
dev_playback="default"
dev_capture="default"
bin="alsabat"
commands="$bin -P $dev_playback -C $dev_capture"
file_sin_mono="default_mono.wav"
file_sin_dual="default_dual.wav"
logdir="tmp"
# frequency range of signal
maxfreq=16547
minfreq=17
# features passes vs. features all
feature_pa... | 01org/bat | bat/alsabat-test.sh | Shell | gpl-2.0 | 3,233 |
#!/usr/bin/env bash
## Copyright (C) 2011 Ganesh Sittampalam <ganesh@earth.li>
##
## Test that darcs send uses the UTF-8 encoding for emails
## when non-ASCII characters are in the message
##
## Permission is hereby granted, free of charge, to any person
## obtaining a copy of this software and associated documentation... | DavidAlphaFox/darcs | tests/send-encoding.sh | Shell | gpl-2.0 | 1,717 |
#!/bin/bash
for rho in $(seq 4 4 8)
do
cd rho_$rho
for wfc in $(seq 20 10 250)
do
cd wfc_$wfc
energy=`grep ! pw.relax.out | awk '{print $5}'`
deltaE=`echo "scale=8; ($energy+36.89004179)*13.60569253*1000/2" | bc`
echo $wfc $deltaE >> ../../results_rho_$rho.dat
cd ..
done
cd ..
done
| leseixas/quantum_espresso-benchmark | Graphene/basis/PAW/get_energies.sh | Shell | gpl-2.0 | 318 |
java -Xms64m -Xmx256m -Djava.library.path="libs/jme/lib/natives" -classpath bin:./libs/jme/jME_2.0.jar xenogeddon.games.Xenogeddon $*
| tectronics/xenogeddon | start.sh | Shell | gpl-2.0 | 137 |
#!/bin/sh
# Script to download vervet genome, chlSab1
mkdir genomes/chlSab1
cd genomes/chlSab1
GENOME_FA=chlSab1.fa
wget \
'ftp://ftp.ensembl.org/pub/release-93/fasta/chlorocebus_sabaeus/dna/Chlorocebus_sabaeus.ChlSab1.1.dna_sm.toplevel.fa.gz' \
-O ${GENOME_FA}.gz
gunzip ${GENOME_FA}.gz
FIRST_SCAFFOLD_LIN... | bergeycm/NGS-map | genomes/download_chlSab1.sh | Shell | gpl-2.0 | 582 |
#! /bin/sh
# Copyright (C) 2011-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/ar-lib3.sh | Shell | gpl-2.0 | 1,060 |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | PJBrs/android_device_lenovo_kai | vendorsetup.sh | Shell | gpl-2.0 | 846 |
#!/bin/bash
# vim: set autoindent smartindent tabstop=2 shiftwidth=2 expandtab filetype=sh:
function vgrun
{
local COMMAND="$1"
local NAME="$2"
[[ -n "$COMMAND" ]] || { echo "Syntax: vgrun <command> <name>"; return; }
[[ -n "$NAME" ]] || { echo "Syntax vgrun <command> <name>"; return; }
valgrind \
--... | aurojr/steiner_tree | code/valgrind.sh | Shell | gpl-2.0 | 1,352 |
topdir=`pwd`/../../../
export PYTHONPATH=./:${topdir}/application/nbapi/c-swig/:${topdir}/application/nbapi/c-swig/.libs/:${topdir}/mul/.libs/:${topdir}/services/loadable/topo_routing/.libs/:${topdir}/common-libs/util-linux/libuuid/.libs/:${topdir}/application/fabric/.libs
| openmul/openmul | application/nbapi/py-tornado/pythonpath.sh | Shell | gpl-2.0 | 274 |
#!/bin/sh
#example type = "shellscript";
do_preinst()
{
echo "do_preinst"
exit 0
}
do_postinst()
{
echo "do_postinst"
exit 0
}
echo $0 $1 > /dev/ttyO0
case "$1" in
preinst)
echo "call do_preinst"
do_preinst
;;
postinst)
echo "call do_postinst"
do_postinst
;;
*)
echo "defa... | jyelloz/swupdate | examples/scripts/shellscript.sh | Shell | gpl-2.0 | 348 |
#/bin/bash
file=$1
outputfile=$(echo $file | cut -d '.' -f1)"_throughput.txt"
avg=10
if [ -f temp.txt ]; then
rm temp.txt
fi
if [ -f $outputfile ]; then
echo Warning: deleting existing outputfile $outputfile
rm $outputfile
fi
cat $file | grep "Perf" > temp.txt
endSec=0
endMin=0
endHour=0
endTime=0
intervalMB=0
whi... | cmusatyalab/GigaSight | tool/experiment_scripts/parsePeriodThroughput.sh | Shell | gpl-2.0 | 1,318 |
for num in 2000000 10000000 20000000
do
for i in {1..10}
do
fq='/xubo/project/alignment/CloudBWA/g38/time/cloudBWAnewg38L50c'$num'Nhs20Paired12time10num16k1.transformI'$i'.adam'
out='/xubo/project/alignment/CloudBWA/g38/time/cloudBWAnewg38L50c'$num'Nhs20Paired12time10num16k1.transform.DiscoverVariantI'$i'.adam'
hadoop... | xubo245/GCDSS | sh/discoverAndGenotypeTransform.sh | Shell | gpl-2.0 | 388 |
#!/bin/bash
function bu-custom-script-link () {
SCRIPT_REAL_PATH=$(realpath $1)
echo "${SCRIPT_REAL_PATH}"
ln -nfs ${SCRIPT_REAL_PATH} ${BASHUTILS_DIR}/custom-scripts
}
| opeshm/bash-utils | functions/bash-utils.sh | Shell | gpl-2.0 | 179 |
#!/bin/sh
# Clean up the results directory
rm -rf results
mkdir results
#Synthesize the Wrapper Files
echo 'Synthesizing example design with XST';
xst -ifn xst.scr
cp ben_mem_exdes.ngc ./results/
# Copy the netlist generated by Coregen
echo 'Copying files from the netlist directory... | Vadman97/ImageAES | vga/ipcore_dir/ben_mem/implement/implement.sh | Shell | gpl-3.0 | 1,033 |
cd /srv/chembiohub/
bash scripts/install_linux64.sh chembiohub Ubuntu
| thesgc/chembiohub_ws | deployment/packer/python_dependencies.sh | Shell | gpl-3.0 | 71 |
#!/bin/sh
SCRIPTDIR="$( cd "$(dirname $0)" && pwd )"
FIRMWAREDIR=/tmp/HomegearTemp/rootfs/rootfs.ubi/174024608/root/firmware
if test ! -d $FIRMWAREDIR; then
rm -Rf /tmp/HomegearTemp
[ $? -ne 0 ] && exit 1
mkdir /tmp/HomegearTemp
[ $? -ne 0 ] && exit 1
wget -P /tmp/HomegearTemp/ http://www.eq-3.de/Downloads/Softwa... | Homegear/Homegear-HomeMaticWired | misc/Data Directory/firmware/GetFirmwareUpdatesHomeMaticWired.sh | Shell | gpl-3.0 | 2,829 |
## vim:ts=4:sw=4:tw=200:nu:ai:nowrap:
##
## bashinator config for lvm-snaptool
##
## Created by Wolfram Schlich <wschlich@gentoo.org>
## Licensed under the GNU GPLv3
## Web: http://www.bashinator.org/projects/lvm-snaptool/
## Code: https://github.com/wschlich/lvm-snaptool/
##
##
## bashinator settings
##
## -- bashin... | wschlich/lvm-snaptool | bashinator.cfg.sh | Shell | gpl-3.0 | 7,989 |
#!/usr/bin/env bash
#
# Copyright (C) 2013 Norbert Thiebaud
# License: GPLv3
#
do_help()
{
cat <<EOF
bin_library_info.sh is a tool that create a unique filename for a binary tar file that
contain the build of the given source tarfile. the unicity is based on the source tarfile which contains
a md5 already and th... | beppec56/core | solenv/bin/bin_library_info.sh | Shell | gpl-3.0 | 4,361 |
#!/bin/bash
cp ./v4l/tbsctrl.o.x86_64 ./v4l/tbsctrl.o
cp ./v4l/tbs6680fe_driver.o.x86_64 ./v4l/tbs6680fe_driver.o
echo "TBS drivers configured for x86_64 platform."
| dahlSTROM/tbs-v4l | v4l-6680/tbs-x86_64.sh | Shell | gpl-3.0 | 168 |
#!/bin/sh
ESSENTIALPKGS="git vim vim-gtk build-essential zlib1g-dev libsndfile1-dev libsdl1.2-dev"
sudo apt-get install $ESSENTIALPKGS
## retrieve git and vim settings
curl https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/gitVimNORMALorROOT.sh | sh
| Jheengut/linuxTweaks | ubuntu/ubuntu1404Setup.sh | Shell | gpl-3.0 | 269 |
#!/usr/bin/env bash
set -e
# init
cd "$( dirname "${BASH_SOURCE[0]}" )"
source script/init.sh
# delete stuff
git clean --force -dX .
| johnmcfarlane/crag | nacl/nuke.sh | Shell | gpl-3.0 | 135 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YJL177W --paralog2 YKL180W --simnum 39 > YJL177W_YKL180W_MG94_nonclock_Sim39_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YJL177W_YKL180W_sim39.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash
#
# Usage: dump-to-tree.sh <directory>
#
# Materializes the filesystem dump on stdin (in the format produced by
# tree-to-dump.sh) into the given filesystem directory. The directory will be
# created if it does not exist.
#
set -euo pipefail
mkdir -p "$1"
cd "$1"
LINE_NUMBER=0
read_and_inc() {
LINE_NUM... | holocm/holo | util/dump-to-tree.sh | Shell | gpl-3.0 | 1,960 |
#!/bin/bash
#
# Copyright (C) 2017 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY... | elopio/snapcraft | tools/travis/collect_ppa_autopkgtests_results.sh | Shell | gpl-3.0 | 1,529 |
#!/bin/bash
# Use this script to automatically produce several graph pdfs
BASE_NAME=ceal_batch
declare -a EXP_NAMES=( \
exptree_eval \
list_quicksort \
list_mergesort \
);
declare -a EXP_SHORT_NAMES=( \
"exptree" \
"qs" \
"ms" \
);
TESTPOWERS="cp verf"
CHANGE_SIZES="1 4 8 64 128 512 1024 4096"... | matthewhammer/ceal | testpower/scripts/generate_graphs.sh | Shell | gpl-3.0 | 1,132 |
#!/bin/bash
### set password for the mysql user lbd
### get a new password for the mysql user 'lbd'
if [ "$mysql_passwd_lbd" = 'random' ]
then
mysql_passwd_lbd=$(mcookie | head -c 16)
elif [ -z "${mysql_passwd_lbd+xxx}" -o "$mysql_passwd_lbd" = '' ]
then
echo
echo "===> Please enter new password for the My... | dashohoxha/dbox | install/config/mysql_labdoo.sh | Shell | gpl-3.0 | 879 |
RUNNAME="RAM"
RUNASROOT=1
runfile_exec()
{
local l x i m n t BANK_FORM BANK_SIZE BANK_SPEED BANK_TYPE MEM_MAX MEM_NUM
((x=0))
((i=0))
while read l
do
if (( x == 2 ))
then
case "$l" in
'Maximum Capacity:'*)
MEM_MAX[i]="${l#*: }"
;;
'Number Of Devices:'*)
MEM... | KoneetKiertoon/scripts | src/basiccheck.d/70-memory.sh | Shell | gpl-3.0 | 3,279 |
#---------------------------------------------------------------------
# Function: AskQuestions Debian 8
# Ask for all needed user input
#---------------------------------------------------------------------
AskQuestions() {
START_TIME=$SECONDS
CFG_SETUP_WEB=true #Needed for Multiserver setup compatibility
CF... | a1ur3l/ispconfig_setup | distros/debian10/02_askquestions.sh | Shell | gpl-3.0 | 14,371 |
#!/bin/sh
docker stop nginx-test
| jianyingdeshitou/docker-debian8 | nginx-d8/test/stop.sh | Shell | gpl-3.0 | 33 |
#!/bin/sh -e
DEV=/dev/sdb
DEVALIAS=mypen
if [ "x$1" != "x" ]; then
DEV=$1
fi
cryptsetup luksOpen $DEV $DEVALIAS
pvscan
vgchange -a y cryptvg
mount /dev/cryptvg/home /home
mount /dev/cryptvg/grab /var/grab
| codders/odds-and-ends | bin/homecrypt.sh | Shell | gpl-3.0 | 207 |
#!/bin/bash
java -jar 'JAR files/Runnable Selenium Tests.jar' > logfile.log 2>&1 | waaghals/Tainted-Aberrant-Lion | tests/Selenium/executeSeleniumTests.sh | Shell | gpl-3.0 | 81 |
#! /usr/bin/env bash
cd `dirname "${BASH_SOURCE[0]}"`
execname='thinkgear2ft'
if [ `uname -s` == 'Linux' ]; then
if [ "`uname -a`" == 'armv6l' ]; then
arch='raspberrypi'
else
arch='glnx86';
fi
else # Mac
arch='maci'
fi
buffexe="buffer/bin/${execname}";
if [ -r ${execname} ]; then
buffexe="${exec... | jadref/buffer_bci | dataAcq/startMindwave.sh | Shell | gpl-3.0 | 561 |
#!/bin/bash
#
# Script para enlistar grupos en el directorio LDAP
#
# Reynaldo Martinez P - Gotic-ccun
# Marzo del 2011
#
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
#
# Verifico si el usuario ejecutor es root. Si no es root, se aborta !!
#
amiroot=`whoami`
case $amiroot in
root)
... | cgomeznt/OpenLdap | LDAP/bin/grouplist-ldap.sh | Shell | gpl-3.0 | 1,778 |
docker run \
--name neo4j -dit \
--publish=7474:7474 --publish=7687:7687 \
--volume=$HOME/neo4j/data:/data \
neo4j
http://ccnet1.tmit.bme.hu:7474/
user: neo4j
pass: kutya4 | vuchetichbalint/useful_python_scripts | etc/docker/neo4j.sh | Shell | gpl-3.0 | 190 |
#!/bin/bash
user=$1
if [ -z "$user" ]; then
echo "Please specify a user"
exit 1
fi
mkdir -p /home/$user/CEB
chown $user /home/$user/CEB
group=$(groups $user | sed -E 's/ ?: ?/ /' | cut -d' ' -f2)
echo "##### UPDATING /home/$user/CEB ... GROUP: $group"
rsync --dry-run --exclude={".*","tmp"} --update --delete -h... | fmmb/admin-tigre.iul.lab | update_CEB_info.sh | Shell | gpl-3.0 | 655 |
#!/bin/bash
mkdir logs
export dir=$(pwd)
export ERRFILE=${dir}/logs/${LOGFILE}
cat /etc/os-release
rm ${ERRFILE}
function check_error {
if [ "$1" != 0 ]; then
echo "Error $1"
exit $1
fi
}
function update_repos {
if [ "$CI_SERVER" == "" ];
then
return
fi
export DATA... | themanaworld/server-data | .tools/scripts/init.sh | Shell | gpl-3.0 | 4,729 |
#!/bin/bash
for b in `aws s3api list-buckets | jq ".Buckets | .[].Name"`; do aws s3api get-bucket-acl --bucket ${b:1:-1} > ${b:1:-1}.json; done
grep -r "AllUsers" *
| sharethis-github/awsRI | s3permcheck.sh | Shell | gpl-3.0 | 166 |
#!/bin/bash
# Build a release version for use
# with existing tests.
# Usage:
# ./build.sh
# ./build.sh <ARCH>
#
# Example:
# ./build.sh "x64"
set -ve
CC="$CC"
FLAGS="$FLAGS"
make distclean
make debug
make distclean
make
| nil0x42/duplicut | test/build.sh | Shell | gpl-3.0 | 232 |
#!/bin/sh
# PHP taint checking with graudit - PoC script
# Written by Wireghoul - http://www.justanotherhacker.com
# Released under the GPL licence
VERSION=0.1
if [ -z "$1" ]; then
echo "Usage: $0 /path/to/check"
exit 2
fi
graudit -z -d php "$1" | \
perl -ne 'if ($_ =~ m/\$(\S+?)\s*=\s*\$_(GET|POST|REQUEST|COOK... | wireghoul/graudit | misc/phptaint.sh | Shell | gpl-3.0 | 409 |
# gstreamer 1 for QtMultimedia
# gtk3 style for QtGui/QStyle
# libusb1 for tqtc-boot2qt/qdb
# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
sudo yum install -y \
gstreamer1-devel gstreamer1-plugins-base-devel \
gtk3-devel \
libusb1-devel \
speech-dispatcher-devel
| geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/coin/provisioning/qtci-linux-RHEL-7.2-x86_64/rhel_packages.sh | Shell | gpl-3.0 | 311 |
#!/bin/bash
rm -rf runs/advection_test 2> /dev/null
./setup advection_test -p problem.par.restart_test_v2
(
cd runs/advection_test
echo "run_id = ts1"
echo "Start: t = 0.0, nproc = 1"
mpiexec -n 1 ./piernik > ts1.out
echo "Restart: t = 1.0, nproc = 1"
mpiexec -n 1 ./piernik -n '$END_CONTR... | Xarthisius/piernik | problems/advection_test/restart_test_v2_jenkins.sh | Shell | gpl-3.0 | 813 |
#!/bin/sh
tmux new-session -s artemis -d
tmux send-keys -t artemis 'cd /home/administrator/myschool-ruby-scripts/list-monitoring' C-m
tmux send-keys -t artemis 'ruby processGroupMembers.rb' C-m
tmux new-window -t artemis
tmux send-keys -t artemis 'cd /home/administrator/myschool-ruby-scripts/list-monitoring' C-m
tmux s... | haritak/myschool-ruby-scripts | list-monitoring/startListMonitoring.sh | Shell | gpl-3.0 | 594 |
#!/bin/bash
###################################################################################################################
# Author : Louis DAUBIGNARD
# Date : 19/01/2015
#
# Description : Script pour :
# - executer une requete oracle
#
# Syntax : bddOracle.sh
#
###############################################... | Acisia/SHELL-UNIX | BDD-ORACLE/bddOracle.sh | Shell | gpl-3.0 | 1,288 |
#!/bin/sh
grep -i customlog /etc/httpd/conf/httpd.conf | grep -v "#" | awk '{print $2}' | sed 's/access.log//' | sort
| gohdan/scripts | bash/get_apache_log_pathes.sh | Shell | gpl-3.0 | 120 |
#!/bin/sh
BASENAME="ubuntu-16.04"
BUILDMARK="$(date +%Y-%m-%d-%H%M)"
IMG_NAME="$BASENAME-$BUILDMARK"
TMP_IMG_NAME="$BASENAME-tmp-$BUILDMARK"
IMG=ubuntu-16.04-server-cloudimg-amd64-disk1.img
IMG_URL=http://cloud-images.ubuntu.com/releases/16.04/release/$IMG
TMP_DIR=guest
if [ -f "$IMG" ]; then
rm $IMG
fi
wget ... | juliend88/os_image_factory | os/ubuntu-xenial-xerus/build.sh | Shell | gpl-3.0 | 2,813 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.