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 sh
## Add this to your wm startup file.
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
source ~/.dotfiles/polybar-variables.sh
PRIMARY=$(xrandr --query | grep " connected" | grep ... | davedissian/dotfiles | config/polybar/launch.sh | Shell | mit | 733 |
mvn package;
java -jar target/kansas-0.0.2.jar server Kansas.yml;
| livgrhm/kansas-api-dropwizard | kansas/start.sh | Shell | mit | 66 |
#!/bin/bash
# Keeping atlas variable without prefix as it's been shared by consul and tf at the moment.
export ATLAS_TOKEN=${ATLAS_TOKEN:?"Need to set ATLAS_TOKEN non-empty"}
export ATLAS_INFRASTRUCTURE=${ATLAS_INFRASTRUCTURE:-capgemini/apollo}
export TF_VAR_access_key=${TF_VAR_access_key:?"Need to set TF_VAR_access_... | mehulsbhatt/Apollo | bootstrap/aws-public/config-default.sh | Shell | mit | 1,711 |
#!/bin/bash
OOM_SCORE=`cat /proc/$(pidof mysqld)/oom_score`
if [ "$OOM_SCORE" -gt 20 ]
then
OOM_ADJUST=$((OOM_SCORE - 20))
echo "adjust oom_score_adj by $OOM_ADJUST"
echo "-$OOM_ADJUST" > /proc/$(pidof mysqld)/oom_score_adj
fi
| dorwardv/adjust_msqld_oom_score | adjust_mysqld_oom_score.sh | Shell | mit | 230 |
#!/usr/bin/env bash
JAZZY_EXECUTABLE=`which jazzy`
if [[ $? != 0 ]]; then
echo "error: The jazzy documentation generator must be installed. Visit https://github.com/realm/jazzy for installation information."
exit 1
fi
pushd "`dirname $0`/../.." > /dev/null
PUBLIC_GITHUB_URL="https://github.com/gilt/CleanroomASL"
i... | emaloney/CleanroomASL | BuildControl/bin/generateDocumentationForAPI.sh | Shell | mit | 1,391 |
###############################################################################
#
# This script will install everything that is needed so that there won't be
# anymore problems while configuration
#
# Author: Shubham Dokania
# E-mail: skd.1810@gmail.com
#
################################################################... | shubham1810/ML_Keras | install_everything.sh | Shell | mit | 759 |
#!/bin/bash
cd ../src/calculate_features_advanced/
python webgraphs.py
cd ../..
| bt3gl/NetAna-Complex-Network-Analysis | scripts_features_adv/run_webgraphs.sh | Shell | mit | 81 |
#!/bin/sh
#$ -S /bin/sh
#$ -cwd
#$ -V
#$ -m e
#$ -M ericmjl@mit.edu
#$ -pe whole_nodes 1
#############################################
python graph_cleaner.py "20150902_all_ird"
| ericmjl/influenza-reassortment-detector | graph_cleaner.sh | Shell | mit | 179 |
#!/usr/bin/env bash
phpcs_param="--standard=PSR2 ./src/"
echo "use php code beautifier and fixer"
./vendor/bin/phpcbf ${phpcs_param}
echo "check style"
./vendor/bin/phpcs ${phpcs_param}
echo "run phpunit"
./vendor/bin/phpunit
| dyweb/ring | run-check.sh | Shell | mit | 229 |
#!/bin/sh
# Don't ask ssh password all the time
if [ "$DOTFILES_KERNEL" = "Darwin" ]; then
git config --global credential.helper osxkeychain
else
git config --global credential.helper cache
fi
# better diffs
if which diff-so-fancy > /dev/null 2>&1; then
git config --global core.pager "diff-so-fancy | less --tab... | jstotz/dotfiles | git/install.sh | Shell | mit | 500 |
#!/bin/bash
# Exit on first error
set -e
SERVICE_NAME="weblab/fillo"
DOCKER_REGISTRY="$AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/$SERVICE_NAME"
# Get Docker Registry login token
eval "$(aws ecr get-login --region us-east-1)"
# Get new version
GIT_COMMIT_HASH=`git rev-parse --short HEAD`
SERVICE_VERSION=`node -... | weblabhq/fillo | bin/deploy.sh | Shell | mit | 1,049 |
#!/bin/bash
ssh -p22 $1 $2
| skyler/snap | ssh_wrapper.sh | Shell | mit | 28 |
#!/bin/sh
FAILSTATUS=""
check_pkg() {
pkgname=$1
add_define=$2
atleast_version=$3
printf "Checking for package ${pkgname}... "
if pkg-config --silence-errors "${pkgname}" ; then
echo "found"
if [ -n "$atleast_version" ] ; then
if ! pkg-config --atleast-version=$atleast_version ${pkgname} ; then
echo "... | x4121/newsbeuter | config.sh | Shell | mit | 3,218 |
#!/usr/bin/env bash
if ! grep -qs "rbenv init" ~/.bash_profile; then
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
fi
if ! grep -qs "rbenv init" ~/.zshrc; then
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"... | infinum/infinum_setup | scripts/ruby.sh | Shell | mit | 599 |
#!/bin/bash
FOLDER=test
cd $FOLDER
mkdir -p ./good_results
cd ./good_samples
for f in *.java
do
echo $f
mkdir -p ../good_results/$f
cp $f ../good_results/$f/code.java
../../jive $f ../good_results/$f/
# dot -Tps ../good_results/$f/AST_AbstractSyntaxTree.dot -o ../good_results/$f/AST_AbstractSyn... | alexeyqu/OntoTeamCompiler | jive/good_samples_test.sh | Shell | mit | 610 |
#/bin/bash
SCRIPTS_DIR=$(readlink -m "$(dirname $0)")
ANSIBLE_HOSTS=$SCRIPTS_DIR/ansible/resources/hosts
ansible-playbook -i $ANSIBLE_HOSTS $SCRIPTS_DIR/ansible/post_setup.yml
| andreptb/archlinux-my-setup | post_setup.sh | Shell | mit | 177 |
#!/bin/bash
"$NODEGIT_LFS_NODE_PATH" "$NODEGIT_LFS_ASKPASS_PATH" $@
| Axosoft/nodegit-lfs | askpass.sh | Shell | mit | 69 |
python train.py $1 | prabhatnagarajan/dqn | dqn/train.sh | Shell | mit | 18 |
#!/bin/sh -e
SYSTEM=$(uname)
if [ "${SYSTEM}" = Darwin ]; then
FIND='gfind'
else
FIND='find'
fi
${FIND} . -name '*.php' -exec cat {} \; | wc -l
| FunTimeCoding/php-utility | bin/show-project-lines-of-code.sh | Shell | mit | 155 |
#!/bin/bash
# get the absolute path of the executable
SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH=$SELF_PATH/$(basename -- "$0")
while [ -h $SELF_PATH ]; do
DIR=$(dirname -- "$SELF_PATH")
SYM=$(readlink $SELF_PATH)
SELF_PATH=$(cd $DIR && cd $(dirname -- "$SYM") && pwd)/$(basename -- "$SYM")
do... | adragomir/centos-7-ami | run.sh | Shell | mit | 2,189 |
#!/bin/bash
# do_crawl harvest_comt2.py
docker run --rm -v $(pwd)/$1:/srv/harvest.py -v $(pwd)/iso:/srv/iso \
axiom/thredds_iso_harvester
| mwengren/catalog | waf_generation_scripts/docker_thredds_iso_crawler/do_crawl.sh | Shell | mit | 140 |
#!/bin/bash
cd /home/pi/nine-mens-morris/board
sudo pkill -f "python3 mills.py"
python3 motors.py
| S7uXN37/NineMensMorrisBoard | board/kill.sh | Shell | mit | 98 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Timer.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=Timer.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
PACKAGE_... | dannyng85/dspic33-tutorial | projects/Timer/nbproject/Package-default.bash | Shell | mit | 1,345 |
# !/bin/bash
tar xzvf js-1.7.0.tar.gz &&
cat macos.patch | patch -p0 &&
cd js/src/ &&
export CFLAGS="-DJS_C_STRINGS_ARE_UTF8"
make -f Makefile.ref BUILD_OPT=1 &&
make -f Makefile.ref BUILD_OPT=1 export &&
cp *.h ../../dist/include/
mv ../../dist/lib64/* ../../dist/lib/
| deyunanhai/js_analysis | third-party/_build_js.sh | Shell | mit | 272 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2013:0884
#
# Security announcement date: 2013-05-30 20:28:52 UTC
# Script generation date: 2017-01-01 21:10:45 UTC
#
# Operating System: CentOS 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libtirpc.i686:0.2.1-6.el6_4
# - libtir... | Cyberwatch/cbw-security-fixes | CentOS_6/x86_64/2013/CESA-2013:0884.sh | Shell | mit | 973 |
#!/bin/bash
# create multiresolution windows icon
ICON_SRC=../../src/qt/res/icons/violetcoin.png
ICON_DST=../../src/qt/res/icons/violetcoin.ico
convert ${ICON_SRC} -resize 16x16 violetcoin-16.png
convert ${ICON_SRC} -resize 32x32 violetcoin-32.png
convert ${ICON_SRC} -resize 48x48 violetcoin-48.png
convert violetcoin-1... | VioletCoin/VioletCoin | share/qt/make_windows_icon.sh | Shell | mit | 375 |
#!/bin/sh
java -Xmx512m -cp lib/axis.jar:lib/commons-discovery-0.2.jar:lib/commons-logging-1.0.4.jar:lib/gepard.jar:lib/jaxrpc.jar:lib/saaj.jar:lib/wsdl4j-1.5.1.jar org.krumsiek.gepard.client.Start | kakitone/finishingTool | gepard-1.30/gepard.sh | Shell | mit | 197 |
export GUIDES=../neo4j-guides
rm -rf html
mkdir html
$GUIDES/run.sh index.adoc html/index.html +1 http://guides.neo4j.com/graphgists
s3cmd put -P html/index.html s3://guides.neo4j.com/graphgists
#. http://neo4j.com/graphgist/9d627127-003b-411a-b3ce-f8d3970c2afa[Bank Fraud Detection]
$GUIDES/run.sh fraud/bank-fraud... | neo4j-examples/graphgists | render-guides.sh | Shell | cc0-1.0 | 1,055 |
# ksh script for building graphviz
#
# Set the following variable to the root location of MS VC++ on your machine
# = Program Files/Microsoft Visual Studio
export PATH=/msdev/VC98/bin:/msdev/Common/MsDev98/bin:$PATH
export LIB='C:\progra~1\micros~3\vc98\lib'
export INCLUDE='C:\progra~1\micros~3\vc98\include'
ROOT=/C... | ceyhunc/graphviz-win | wmake.sh | Shell | epl-1.0 | 1,545 |
#!/bin/sh
set -ue
SL_OPTIONS="-I modules -I inputs"
sl="./sl ${SL_OPTIONS}"
DIR=`dirname $0`
PRG=`basename $0 .sh | sed -e 's/[0-9]*$//g'`
PRG=${DIR}/programs/${PRG}.snl
test $# -gt 0 && sl="$1 ${SL_OPTIONS}"
${sl} -- ${PRG} shtests/data/empty-line.txt
| sauliusg/starta | starta/shtests/readstdin_filename011.sh | Shell | gpl-2.0 | 257 |
# |------------------------|
# | Coolceph VIMRC |
# |------------------------|
# | _ |
# | __ __(_)___ ___ |
# | | | / / / __ `__ \ |
# | | |/ / / / / / / / |
# | |___/_/_/ /_/ /_/ |
# | |
# |------------------------|
#
# | ---------------------- |... | coolceph/vimrc | setup.sh | Shell | gpl-2.0 | 8,429 |
#!/bin/bash
php ./debug.php &1 &2 &3 &4
| pragres/recipescookbook.org | scripts/cron/debug.sh | Shell | gpl-2.0 | 40 |
#!/bin/bash
## set -x
ROOT=${MDD_ROOT:-/data/sanDiego/rsfcGraphAnalysis}
DATA=$ROOT/data
MDD_STANDARD=$ROOT/standard
subjects=$( cd $DATA ; ls -d [0-9][0-9][0-9]_[ABC]* )
#subjects=$*
motionThresholdPrecentage=0.2
threshold=20
for subject in $subjects ; do
if [[ ! -d $DATA/$subject/rsfcPreprocessed ]] ; then
... | colmconn/rsfcGraphAnalysis | makeMotionExclusionFiles.sh | Shell | gpl-2.0 | 1,142 |
#!/bin/bash
rsync -avz ~/.ladish/studios/2013-2014_SCNuFormula* ./
| orlammd/Sebkha-Chott_Setup | Ladish/bakladi.sh | Shell | gpl-2.0 | 67 |
#!/usr/bin/env bash
set -euo pipefail
desktop() {
cd "$(dirname ${BASH_SOURCE[0]})"
berks vendor
sudo chef-client -z -j config.json -c client.rb
}
desktop
| illegalprime/dotfiles | setup.sh | Shell | gpl-2.0 | 169 |
iptables -t mangle -A PREROUTING -p tcp -d 192.168.1.125/32 -j MARK --set-mark 99
ip rule add fwmark 99 lookup 100
ip route add local 0.0.0.0/0 dev lo table 100
echo 1 >/proc/sys/net/ipv4/ip_forward
| sblyy100/kernel | netfilter/tproxy/tproxy.sh | Shell | gpl-2.0 | 199 |
# -*- mode: shell-script -*-
# Copyright (C) 2009-2012 David Bird (Coova Technologies) <support@coova.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, either version 3 of the License, or
... | hieuit7/freewifi | sourcecoova/miniportal/uam.sh | Shell | gpl-2.0 | 1,308 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="gnome-subtitles"
(test -f $srcdir/configure.ac \
&& test -f $srcdir/README \
&& test -d $srcdir/src/GnomeSubtitles) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like ... | liaoyupeng/gnome-subtitles | autogen.sh | Shell | gpl-2.0 | 655 |
echo "Installing packages required for compiling..."
apt-get build-dep -y lirc
sudo apt-get install -y dialog automake autoconf libtool
echo "Installing packages complete - Starting build..."
echo "Running pre-compile scripts..."
./autogen.sh
./configure -with-driver=userspace
echo "Compiling Lirc driver: lirc_xbox"
cd... | Albinoman887/lirc | build-xbox.sh | Shell | gpl-2.0 | 835 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2018 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | jonatanolofsson/tup | test/t2134-run-stderr.sh | Shell | gpl-2.0 | 1,404 |
#!/bin/sh
. ~/.bash_profile
getUrl="http://reportsys.uc.local:18080/memFox/servlet/getHostlist?val=type=getHost;group=all"
setUrl="http://reportsys.uc.local:18080/memFox/servlet/getStatus?val=type=updateData;"
strPassParam="pid,version,uptime"
if [ `ps -ef |grep memFox | grep -v $$ | wc -l` -gt 2 ]; then
exi... | tonygatescxp/memFox | install/memFox-client-script/memFox.sh | Shell | gpl-2.0 | 3,127 |
convert images/OCS-240.png -crop 1650x5046+0+0 +repage images/OCS-240-A.png
convert images/OCS-240.png -crop 1608x5046+1650+0 +repage images/OCS-240-B.png
#/OCS-240.png
#
#
#
| jonnymwalker/Staroslavjanskij-Slovar | scripts/middlesplit.OCS-240.sh | Shell | gpl-2.0 | 175 |
DB_NAME=$1
DB_USER=$2
PRJ_DIR=`dirname $0`/../../../..
CREATE_SCHEMA_SQL=$PRJ_DIR/target/hibernate3/sql/screensaver_schema.sql
dropdb $DB_NAME -U $DB_USER && \
createdb $DB_NAME -U $DB_USER && \
(cd $PRJ_DIR/.. && mvn --projects core -am compile) && \
(cd $PRJ_DIR && mvn org.codehaus.mojo:hibernate3-maven-plugin:2.2:hb... | hmsiccbl/screensaver | core/src/main/scripts/dev/init-test-db.sh | Shell | gpl-2.0 | 377 |
#!/bin/bash
isource=$1
NPROC_SPECFEM=$2
compute_adjoint=$3
data_list=$4
measurement_list=$5
misfit_type_list=$6
WORKING_DIR=$7
Wscale=$8
wavelet_path=$9
if [ $isource -eq 1 ]; then
echo "adjoint source ..."
echo "NPROC_SPECFEM=$NPROC_SPECFEM"
echo "compute_adjoint=$compute_adjoint"
echo "data_list=$da... | yanhuay/seisDD | seisDD/scripts/adjoint_source.sh | Shell | gpl-3.0 | 1,243 |
#!/bin/bash
#------------------------------------------------------------------------------#
# mybup
# Backup all databases from a pool of hosts
# me@mrw0lf.com - federico@cipenso.io
#------------------------------------------------------------------------------#
# Configure a read-only user on the database server wit... | fcalzamiglia/mybup | mybup.sh | Shell | gpl-3.0 | 3,634 |
#!/bin/bash
#Check if the subjects are specified
if [ $# -lt 1 ]
then
echo "Please specify subject(s)!"
echo "Usage: $0 subject(s)"
echo "Wild card can be used."
exit 1
fi
#read label
while true; do
echo "Name of label (eg. lh.midtemporal):"
read lname
if [ -e ${lname}.... | kytk/fs-scripts | fs_maplabel2subj.sh | Shell | gpl-3.0 | 670 |
#!/usr/bin/env bash
libtoolize
aclocal
autoconf
autoheader
automake -a -v
./configure $@
| ua-i2cat/i2DASH | autogen.sh | Shell | gpl-3.0 | 91 |
#!/bin/bash
# configure-irods.sh
# Author: Michael J. Stealey <michael.j.stealey@gmail.com>
RESPFILE=$1
# Install iRODS
cd /RPMs/
# Install irods-icat
rpm -i $(ls -l | tr -s ' ' | grep irods-icat | cut -d ' ' -f 9)
# Install irods-database-plugin
rpm -i $(ls -l | tr -s ' ' | grep irods-database-plugin | cut -d ' ' -... | mjstealey/appstack-setup-irods | scripts/configure-irods.sh | Shell | gpl-3.0 | 693 |
#!/usr/bin/env bash
# bowtie2 for paired-end reads
usage="$(basename "$0") [-h] [-e email] [-c cpus] [-m ram] [-t time]
[-r reference] [-1 reads_1.fq] [-2 reads_2.fq] [-o output] --
bowtie2 for paired-end reads
qsub options:
-h show this useful help
-e <string> your email addre... | SGBC/sge_scripts | bowtie2.sh | Shell | gpl-3.0 | 4,010 |
THREADS=10
WGETFLAGS='-np -N'
echo -n "Enter link: "
read URL
for i in {1..$THREADS}; do
wget $WGETFLAGS $URL
done
| ansidev/my-shell-scripts | scripts/mget.sh | Shell | gpl-3.0 | 115 |
#Suomen näppäimistö käyttöönotto
setxkbmap fi
#Alku järjestelyt ja asennukset
sudo apt-get update
sudo apt install -y git
sudo apt install -y tree
sudo apt install -y puppet
sudo apt install -y ssh
#Projektin kloonaus
git clone https://github.com/guichly/puppet-tests.git
#lisää 9 riviin "ordering = manifest". https... | guichly/puppet-tests | SETUP/asennus.sh | Shell | gpl-3.0 | 823 |
#!/bin/bash
python RunBootstrap.py --paralog1 YLR406C --paralog2 YDL075W --bootnum 54 > YLR406C_YDL075W_Boot54_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YLR406C_YDL075W_Boot54.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YBR191W --paralog2 YPL079W --simnum 26 > YBR191W_YPL079W_MG94_nonclock_Sim26_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YBR191W_YPL079W_sim26.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash
set -e:
echo "compiling $1"
if [[ $1 == *.c ]]
then
gcc -ggdb `pkg-config --cflags opencv` -o `basename $1 .c` $1 `pkg-config --libs opencv`;
elif [[ $1 == *.cpp ]]
then
g++ -ggdb `pkg-config --cflags opencv` -o `basename $1 .cpp` $1 `pkg-config --libs opencv`;
else
echo "Please compile only .c ... | jitendra29mishra/OpencvInstallation | compileOpencv.sh | Shell | gpl-3.0 | 389 |
#!/bin/bash -e
[[ -z $ENV ]] && ENV="local"
[[ -z $NGINX_TAG ]] && export NGINX_TAG=latest
[[ -z $PM_TAG ]] && export PM_TAG=latest
[[ -z $CONFIG_BUCKET ]] && echo "export Bucket name" && exit 1
export CONFIG_BUCKET=$CONFIG_BUCKET
export MYSQL_HOST=$(ip addr | grep docker0 | grep inet | awk '{print $2}' | awk -F/ '{... | jaymell/photo_mapper | docker/scripts/compose-up.sh | Shell | gpl-3.0 | 381 |
#!/bin/sh
# FILE check-uptime.sh
# Changelog
## 2019.07.08 created.
## 2022.02.06 refined.
IP="$1"
PORT="$2"
ALIAS="$3"
SELF_PATH=$(dirname $0)
LOG=/tmp/csobot-uptime.log
PROXY="torsocks"
#PROXY="env https_proxy=http://192.168.100.6:8118"
nc -w 5 -z $IP $PORT ; ret=$?
if [ "$ret" -eq 0 ]; then
echo "$(date) | ${AL... | mdrights/CSObot | check-uptime.sh | Shell | gpl-3.0 | 489 |
#!/bin/sh
rootpassword=NULL
mysqlport=3306
apacheport=8083
sslport=433
apacheuser=apache1
apachegroup=apache
documentroot=/var/www/html3
host=test.cloud.com
ipaddress=10.98.241.47
arrStr=apache,mysql::server
/root/puppet-scripts/moduleInstall.sh $rootpassword $mysqlport $apacheport $sslport $apacheuser $apachegroup ... | pmanwatkar/integrationScripts | devops/puppet_scripts/parameter.sh | Shell | gpl-3.0 | 359 |
#!/bin/bash
#settings
debian_branch=debian
upstream_branch=upstream
new_version=$1
if [ -z "$new_version" ]; then
echo "required argument version not given, usage:"
echo "$0 <version>"
exit
fi
#function exiting if branch is not clean
function check_branch_clean {
if [ -n "$(git status -s)" ]; then
echo "branc... | superzerg/logic-analyzer | new_version.sh | Shell | gpl-3.0 | 3,697 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YDR418W --paralog2 YEL054C --simnum 7 > YDR418W_YEL054C_MG94_nonclock_Sim7_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YDR418W_YEL054C_sim7.sh | Shell | gpl-3.0 | 143 |
#!/bin/sh
java -cp java TheNameGame $1 2> /dev/null
| rupertl/the-name-game | java/the-name-game-driver.sh | Shell | gpl-3.0 | 53 |
#!/bin/bash
# Compile an FGPU benchmark in Xilinx SDK
#arg0: path to the benchmark, e.g. benchmarks/copy
if [ $# -ne 1 ]; then
echo "Please give the project path!"
exit 1
fi
benchmark=`basename $1`
path=`dirname $1`
path=`realpath $path`
cd `dirname $0`
source ./set_paths.sh
xsct -quiet -eval "setws $path; projec... | malkadi/FGPU | scripts/compile.sh | Shell | gpl-3.0 | 359 |
#!/bin/bash
if [ $# -lt 2 ]; then
echo "USAGE: sh server_file_on_port.sh [filename] [port]"
else
socat -d -d -d -u OPEN:$1,rdonly TCP-LISTEN:$2,reuseaddr,fork
fi | rchakra3/scripts | serve_file_on_port.sh | Shell | gpl-3.0 | 170 |
#!/bin/bash
# program location
exer_loc="exer09_01"
# process command line arguments and define testing functions
. ../testing/system_test.sh
# conduct tests ----------------------------------------------------------------
# this data was reused from some of the exercises in chapter 6
input='
Emma 84 6... | dpritchLibre/koenig_accelerated | chap09/test09_01.sh | Shell | gpl-3.0 | 1,687 |
# This file is part of DDMTestbed, a free Data Distribution Management benchmark
# Copyright (C) 2013 Francesco Bedini
#
# 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 ver... | nicholasricci/DDM_Framework | utils/bash/create_instances.sh | Shell | gpl-3.0 | 4,420 |
#Script for *WRT and some linux\unix systems:
#Осторожно, если вы используете hosts файл для назначения имени машинам, то вам следует настроить копирование ваших записей в примечании!
#Attention, if you use the hosts file for the name of the destination machine, then you should set up your accounts in note!
#!/bin/sh
... | Backet1911/NoAdsHosts | example.sh | Shell | gpl-3.0 | 1,002 |
# Plugin management functions for UCIB.
#
# 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 A... | ucib/ucib | lib/plugin.sh | Shell | gpl-3.0 | 3,426 |
#!/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-10_0/20170124T030211+0000/00/00/sessioncompute_2_ID0000005.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/bash
# Become root
if [ $UID -ne 0 ]; then
echo "-- Becoming root"
exec sudo $0
fi
if [ -z "`grep 'archlinuxfr' /etc/pacman.conf`" ]; then
cat << EOF >> /etc/pacman.conf
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/\$arch
EOF
pacman -Sy yaourt
else
echo yaourt already install... | jgkamat/bash | Setup/installYaourt.sh | Shell | gpl-3.0 | 329 |
#!/bin/sh
rm -rf simdjson-0.8.2
tar -xf simdjson-0.8.2.tar.gz
cd simdjson-0.8.2
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DSIMDJSON_JUST_LIBRARY=OFF
make -j $NUM_CPU_CORES
echo $? > ~/install-exit-status
cd ~
echo "#!/bin/sh
cd simdjson-0.8.2/build/benchmark
./bench_ondemand --benchmark_min_time=30 -... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/simdjson-1.2.0/install.sh | Shell | gpl-3.0 | 441 |
#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo "root please"
exit
fi
if [ $# -gt 0 ]; then
adapter=$3
else
read -p 'adapter (opt): ' adapter
fi
sudo iptables -t nat -A PREROUTING -i $adapter'0' -p udp -m udp --dport 53 -j REDIRECT --to-ports 5353
sudo iptables -t nat -A PREROUTING -i $adapter'0' -p tcp -m tcp --tcp... | somehibs/partition | tor_forwarding_profile.sh | Shell | gpl-3.0 | 376 |
#!/bin/bash
~/arduino-1.6.12/arduino > ide.out 2>&1 &
tail -f ide.out
| OpenElectronicsLab/OpenHardwareExG_Shield_Arduino_Library | launch-arduino-ide.sh | Shell | gpl-3.0 | 71 |
#! /bin/bash
function t(){
case $1 in
OCEAN) echo 0000CC:$2;;
C-SEA) echo 0044FF:$2;;
ICE-S) echo 0077FF:$2;;
G-RIV) echo 771188:$2;;
N-RIV) echo BB22FF:$2;;
R-FLT) echo 33BB33:$2;;
P-FLT) echo 55DD88:$2;;
DESRT) echo FFEE99:$2;;
TUNDR) echo AAAA99:$2;;
SWAMP) echo 448844:$2;;
PLATE) echo FFCC11:$2;;
H... | map-sym/py-emper | init-population.sh | Shell | gpl-3.0 | 2,593 |
rrdtool xport --start 1355312020 --end 1355314500 \
DEF:x=./xo_stats/abacus.rrd:new:AVERAGE \
XPORT:x:"Ativitye New"
| activitycentral/statistics-consolidation | test/xport_new.sh | Shell | gpl-3.0 | 117 |
#!/bin/bash
source ~/bin/common.sh || exit 1
source $CREDSFILE || exit 1
echo See https://help.ubuntu.com/12.04/serverguide/certificates-and-security.html
echo
echo "Enter basename for certificate (e.g. www.mydomain.com)"
read -r BASENAME
echo "Create certificate $BASENAME? yN"
read -r -n1 CHOICE
if [ "$CHOICE" !=... | joolz/hutspot | generate_cert.sh | Shell | gpl-3.0 | 1,114 |
#!/usr/bin/env bash
source "/usr/bin/pdfForts/common.sh"
# Check for required programs
reqCmds="unzip zip sed pdftk gs libreoffice unoconv kate"
checkPrograms
createStamp () {
origDir=$(pwd)
stampDir="${tmpStorage}/stampDir_${docNr}_${pgNr}"
mkdir -p "${stampDir}"
cp "${tplSelected}" "${stampDir}/st... | sjau/pdfForts | stampPDF/stampPDF.sh | Shell | gpl-3.0 | 5,415 |
oat posifilt kalman pos flt -c test.toml posifilt-kalman &
sleep 1
time oat posigen rand2D pos -n 1000
| jonnew/Oat | test/perf/posifilt-kalman.sh | Shell | gpl-3.0 | 103 |
# 23_save_shutdownlog.sh
[[ ! -f /etc/shutdownlog ]] && return
cp -p /etc/shutdownlog "$VAR_DIR/$DS/shutdownlog.before"
| gdha/upgrade-ux | opt/upgrade-ux/scripts/prep/hp/23_save_shutdownlog.sh | Shell | gpl-3.0 | 121 |
#!/bin/bash
# Simple shell-based filter. It is meant to be invoked as follows:
# /path/to/script -f sender recipients...
# Localize these. The -G option does nothing before Postfix 2.3.
INSPECT_DIR=/tmp/
SENDMAIL="/usr/sbin/sendmail -G -i" # NEVER NEVER NEVER use "-t" here.
# Exit codes from <sysexits.h>
EX_T... | pparent76/Omb-debstrap | setup-scripts/Local_postfix_conf/filter/filter_get_onion_associated.sh | Shell | gpl-3.0 | 3,463 |
#!/bin/sh
# cleanup the runtimes file
echo "Runtime of RevBayes tutorials in seconds:" > runtime.txt
echo "Number of wrong results:" > Test_results.txt
# Let us go through all tutorial directories
for d in */ ; do
# check if there is a scripts directory
if [ -d "$d/scripts" ]; then
# we ne... | revbayes/revbayes_tutorial | test.sh | Shell | gpl-3.0 | 1,370 |
#!/bin/bash -e
. ../../blfs.comm
# Setting up Video Devices
video_cfg() {
mkdir -pv $BUILDDIR/etc/X11/xorg.conf.d
cat > $BUILDDIR/etc/X11/xorg.conf.d/videocard-0.conf << "EOF"
Section "Device"
Identifier "radeon"
Driver "radeon"
VendorName "ATI"
Option "AccelMethod" "glamor"
EndSection
EOF... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-7.6-systemv/x/Xorg-config-7.7/build.sh | Shell | gpl-3.0 | 485 |
defaults write com.apple.screencapture location ~/Desktop/
defaults write com.apple.screencapture name "Screen Shot"
killall SystemUIServer
| jkuruzovich/MGMT6963 | scripts/screenshotdefault.sh | Shell | agpl-3.0 | 140 |
#!/usr/bin/env bash
# installed following this tutorial:
## https://gorails.com/setup/ubuntu/14.04
# install ruby dependencies
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev py... | asm-products/cake-it-web | vagrant/provision.sh | Shell | agpl-3.0 | 1,880 |
#!/bin/bash
sType=reg
export sType
if [[ $OSTYPE = linux-gnu ]]; then
bash ~/Minecraft-Servers/serverFiles/fStart.sh
elif [[ $OSTYPE = cygwin ]]; then
bash ~/Minecraft-Servers/serverFiles/fStart.sh
fi
| maxh76/Minecraft-Servers | serverFiles/regStart.sh | Shell | agpl-3.0 | 204 |
#!/bin/sh
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# \... | papyrussolution/OpenPapyrus | Src/OSF/CURL-7730/scripts/coverage.sh | Shell | agpl-3.0 | 1,463 |
#!/bin/sh
mysql -u ***_USER_*** -p***_PASSWORD_*** ***_DATABASE_*** -e "TRUNCATE ARTICLES; TRUNCATE ATTRIBUTES; TRUNCATE ATTRIBUTES_NAMES; TRUNCATE BUILDS; TRUNCATE ITEMS; TRUNCATE OTHER_NAMES; TRUNCATE PROCS_NAMES; TRUNCATE SETS; TRUNCATE SETS_NAMES; TRUNCATE SKILLS; TRUNCATE SKILLS_NAMES; TRUNCATE TAGS_NAMES;" | neooblaster/My-Grim-Dawn-Gear | SQL/cleanse_db.sh | Shell | agpl-3.0 | 313 |
#!/bin/bash
set -exuo pipefail
set +u
. /edx/var/jenkins/jobvenvs/virtualenv_tools.sh
# creates a venv with its location stored in variable "venvpath"
create_virtualenv --python=python3.8 --clear
. "$venvpath/bin/activate"
set -u
cd $WORKSPACE/configuration
pip install -r util/jenkins/requirements-cloudflare.txt
env
... | edx/jenkins-job-dsl | devops/resources/cloudflare-hit-rate.sh | Shell | agpl-3.0 | 467 |
#!/bin/bash
#
# script library for docker scripts
#
# \brief Get latest existing container id by image, no matter if the container is running or not.
# \param $1 The name of the docker image of the container
function get_latest_container_id {
docker ps --all | grep -i "$1" | awk '{print $1}' | head --lines ... | ubtue/ub_tools | docker/lib.sh | Shell | agpl-3.0 | 3,263 |
#!/bin/bash
find . -type d \( -path ./.git -o -path ./.github \) -prune -false -o -type f -name "*.$1" | xargs -I '{}' .github/workflows/check-header.sh "$1" '{}'
| Illarion-eV/Illarion-Content | .github/workflows/check-headers.sh | Shell | agpl-3.0 | 163 |
libtoolize --automake
aclocal
autoheader
automake --add-missing
autoconf
| ezrec/libp5glove | autogen.sh | Shell | lgpl-2.1 | 73 |
docker run -P -v `pwd`:/home/dealii/WaveBEM:rw mathlab/deal2lkit:8.5.pre.4-debugrelease /bin/sh -c "$@"
| mathLab/WaveBEM | scripts/dr.sh | Shell | lgpl-2.1 | 105 |
chroot chroot
export http_proxy=http://squid:3128
apt-get install git \
python \
rpm \
make \
python-setuptools \
python-m2crypto \
-y
| osynge/whenenv-rust | src/data/ad404baf/shell/vmcaster-debian-wheezy-prod-part-03.sh | Shell | lgpl-2.1 | 160 |
#!/bin/bash
hdiutil unflatten $1
Rez -a beta.r -o $1
hdiutil flatten $1
| open-eid/osx-installer | dmg.sh | Shell | lgpl-2.1 | 73 |
#! /bin/bash
sudo insmod ~/stash/silica/kernel/modules/parasite/pk.ko
| kuangjilong/xdk | drivers/x540-nic/insert_module.sh | Shell | lgpl-2.1 | 71 |
#!/bin/bash
/etc/init.d/openvpn start | ArmagNet/parpaing | www/incron/openvpn.start.sh | Shell | lgpl-3.0 | 38 |
./System/test.py
| kubow/HAC | test.sh | Shell | unlicense | 17 |
#!/bin/bash
# A generic script to rsync one document file to or from a remote location.
# Document location must correspond to a remote backup location.
# There are three parameters, second one is optional:
# $1: server (SSH)
# $2: mode (normal (default if not given), normaldry, reverse, reversedry)
# $3: the file to s... | ohel/dotfiles | scripts/backup_doc.sh | Shell | unlicense | 1,402 |
#----------------------------------------------------------------------------
#
# Package : classmate
# Version : 1.3.4, 1.5.1
# Source repo : https://github.com/FasterXML/java-classmate
# Tested on : RHEL 7.6
# Script License : Apache License Version 2.0
# Maintainer : Pratham Murkute <prathamm@us.ibm.com>
#
#... | ppc64le/build-scripts | c/classmate/classmate_rhel_7.6.sh | Shell | apache-2.0 | 3,004 |
#!/bin/bash
python3 ibc/data/policy_eval.py -- \
--alsologtostderr \
--num_episodes=200 \
--policy=particle_green_then_blue \
--task=PARTICLE \
--dataset_path=ibc/data/particle/2d_oracle_particle.tfrecord \
--replicas=10 \
--use_image_obs=False
| google-research/ibc | ibc/configs/particle/collect_data.sh | Shell | apache-2.0 | 254 |
#!/bin/bash
# shellcheck disable=SC2034,SC2153,SC2155,SC2164
# Copyright Istio Authors. All Rights Reserved.
#
# 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/lice... | istio/istio.io | archive/v1.10/docs/tasks/security/authentication/authn-policy/snips.sh | Shell | apache-2.0 | 14,034 |
#!/bin/bash
# Copyright 2017 - Present Kreshnik Gunga
# 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 l... | kgunga/devOrchestra | puppet/modules/baseconfig/files/on-system-up.sh | Shell | apache-2.0 | 2,033 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.