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/sh
export TEAMCITY_PORT_BINDING="127.0.0.1:8111"
export DATABASE_PASSWORD=supersecretpassword
export HTTPS_ENABLED="false"
./create-data-container.sh
./start-database.sh
./start-teamcity.sh
| vandertil/teamcity | start.sh | Shell | mit | 198 |
#!/usr/bin/env sh
# Note: In order to use this testing script,
# You need install neco first,
# See detials at https://github.com/kuno/neco
source $NECO_ROOT/.neco/activate.sh
report=./report.txt
if [ -e $report ]; then
rm -rf $report
fi
# Tesing no nodejs 0.2.x stable branch
for neco_id in 'test0.2.0' 'test0.2.1... | kuno/neco | test/neco_test.sh | Shell | mit | 1,762 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/rcc_nb
OUT... | sochka/sport-programming | Templates/rcc_nb/nbproject/Package-Release.bash | Shell | mit | 1,435 |
#!/bin/bash
DIR="$( pwd )"
VERSION=`cat VERSION.md`
echo $VERSION
rm -f $DIR/navigation-block-*.zip
zip -r $DIR/navigation-block-$VERSION.zip . -i "/src/*"
| bart-webleads/navigation-block | make-release-binary.sh | Shell | mit | 157 |
#!/usr/bin/env bash
wn_tree='wn_tree'
r_train='../../word2vec/text9_reshaped'
train='../../word2vec/text9'
vocab='vocab_ca_sub.tmp'
questions='../../word2vec/questions-words.txt'
# first we create the vocab from the corpus
../../word2vec/word2vec -train $train -save-vocab $vocab -min-count 10
# run config
size='30... | gustavo-momente/word2vec_variations | Tests/wn_test/ca_sub.sh | Shell | mit | 1,518 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-YKPushAndBackSegue_Tests/$1"
... | yaizudamashii/YKPushAndBackSegue | Example/Pods/Target Support Files/Pods-YKPushAndBackSegue_Tests/Pods-YKPushAndBackSegue_Tests-frameworks.sh | Shell | mit | 2,382 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2010:0780
#
# Security announcement date: 2010-10-20 14:21:34 UTC
# Script generation date: 2017-02-03 21:12:10 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - thunderbird.x86_64:2.0.0.24-9.el5.centos... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2010/CESA-2010:0780.sh | Shell | mit | 668 |
# First of all we are going to start Vault in development mode
vault server -dev
# Now set your Vault address environment variable
export VAULT_ADDR=http://127.0.0.1:8200
# Set the root token variable
root_token=ROOT_TOKEN_VALUE
# And log into Vault using the root token
vault login $root_token
# First we are going ... | pabagan/knowledgebase | hashicorp-vault/course/m6/1-creating-tokens.sh | Shell | mit | 701 |
git checkout master
git push github master
git checkout gh-pages
git pull github master
git push github gh-pages
git checkout master | joeskeen/dts-OpenWest2016 | sync.sh | Shell | mit | 132 |
spot_log=$1/spots.log
now=$2
spotA=$3
spotB=$4
spotC=$5
spotD=$6
echo "\n----- SPOT CHECKS ON [ $now ] -----\n " >> $spot_log
echo "\tSpot Check A => $spotA\n" >> $spot_log
echo "\tSpot Check B => $spotB\n" >> $spot_log
echo "\tSpot Check C => $spotC\n" >> $spot_log
echo "\tSpot Check C => $spotD\n" >> $spot_log
| dataclay/event-scripts | OSX/spot-logger.sh | Shell | mit | 316 |
#!/bin/bash
# This file is for any extra management commands Hauki needs to initialize after migrations
./manage.py compilemessages
| City-of-Helsinki/kerrokantasi | deploy/init_application.sh | Shell | mit | 132 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:0727
#
# Security announcement date: 2015-03-26 17:07:17 UTC
# Script generation date: 2017-01-17 21:19:38 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - kernel-rt-doc.noarch:3.10.0-229.1.2.rt5... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2015/RHSA-2015:0727.sh | Shell | mit | 2,507 |
#!/bin/bash
printf "========== Testing =========="
cd ../demo
printf "\n========== AEL ==========\n"
python AEL_demo.py
printf "\n========== Drain ==========\n"
python Drain_demo.py
printf "\n========== IPLoM ==========\n"
python IPLoM_demo.py
printf "\n========== LenMa ==========\n"
python LenMa_demo.py
printf "... | logpai/logparser | test/test_py2.sh | Shell | mit | 868 |
#!/bin/bash
rm salidaburbuja.dat
contador=1000
while [ $contador -lt 100000 ]; do
./burbuja $contador >> salidaburbuja.dat
let "contador+=1000"
done
| xKuZz/trabajosugr | 2/ALG/Practica1/burbuja.sh | Shell | mit | 149 |
#!/bin/sh
iscsiadm -m node
| tomaszklim/misc-scripts | management/iscsi/list_targets.sh | Shell | mit | 28 |
#! /bin/bash
myname=${0##*/}
datefile=.${myname}.last
if (( $# < 1 ))
then echo 1>&2 "Usage: $myname <folder to check> ..."
exit 1
fi
cd ~/Mail
countfiles()
{
(cd $1
if [ -f $datefile ]
then find . -newer $datefile -type f -print | wc -l
else find . -type f -print | wc -l
fi)
}
for i in "$@"
do if [ -d... | shindochan/bashenv | scripts/mailcheck.bash | Shell | mit | 525 |
#!/bin/bash
nuget restore GroupByInc.Api.sln
| groupby/api-dotnet | scripts/dependencies.sh | Shell | mit | 46 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2010:0521
#
# Security announcement date: 2010-07-08 20:02:54 UTC
# Script generation date: 2017-01-01 21:12:47 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - gfs-kmod-debuginfo.x86_64:0.1.34-2.el5_... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2010/RHSA-2010:0521.sh | Shell | mit | 898 |
#!/bin/sh
BASENAME=`basename "$0"`
CURRENTDIR=`echo "$0"| sed -e "s/\/${BASENAME}//g"`
CONFIGFILE="${CURRENTDIR}/dosboxDK_linux.conf"
DOSBOX="dosbox"
BEFORE=""
COMMAND="keeper.exe"
AFTER=""
checkrequirements() {
# REquired files
REQUIRED="dosbox"
SUCCESS=1
for REQFILE in ${REQUIRED}; do
E... | nv8h/ShellTools | dosbox/dungeonkeepergold.gog.sh | Shell | mit | 2,153 |
#!/bin/bash
MAIN=~/ubuntu_setup/lib/main.sh
PRIVATE_PATH=~/ubuntu_setup/private.sh
us-install() {
source $MAIN
if ! is_installed $1; then
install $1
echo "install $1" >> $PRIVATE_PATH
else
echo "$1 is installed"
fi
unset_fun
}
us-add-repo() {
source $MAIN
if ! is_installed $1; then
add-... | jcieslar/ubuntu_setup | lib/us-functions.sh | Shell | mit | 465 |
#!/bin/bash
bash MassDoAsync.sh "cd /home/sdc/ && echo 'password' | sudo -H -u sdc -S $1" | sahb1239/SDC2014-Teknik | Scripts/SDCMassDoAsync.sh | Shell | mit | 90 |
#!/usr/bin/env bash
sudo apt-get install -y python-pydot
sudo apt-get install -y python-pydot-ng
sudo apt-get install -y graphviz | lightblueseas/linuxstuff | src/main/scripts/linux/install-graphviz.sh | Shell | mit | 129 |
git::logger() {
local history_file="${GIT_LOGGER_LOCATION:-$HOME}/.git_history"
command git "$@"
local status=$?
echo "$(date +%s) $(git::root_dir) ${status} git $@" >> "${history_file}"
exit $?
}
git::logger::list() {
local history_file="${GIT_LOGGER_LOCATION:-$HOME}/.git_history"
awk -v root=$(git... | jmatsu/command-extensions | git.extensions.sh | Shell | mit | 630 |
#!/bin/bash
export TARGET_RULES="/etc/audit/rules.d/31-privileged.rules"
cat <<END > $TARGET_RULES
# DO NOT EDIT
# $TARGET_RULES
# GENERATED by ANSIBLE
END
find /bin -type f -perm -04000 2>/dev/null | awk '{ printf "-a always,exit -F path=%s -F perm=x -F auid>=1000 -F auid!=4294967295 -F key=privileged\n", $1 }' >> $TA... | ryanbreed/packer-builds | ansible/auditd/gen-priv-rules.sh | Shell | mit | 1,504 |
#!/bin/bash
#$ -S /bin/bash
#$ -cwd
#$ -soft -l ljob,lmem
#$ -l s_vmem=8G
#$ -l mem_req=8G
source activate miso
# Required info
index_name="hg19_Gencode_v19"
index_dir="MISO_index"
# mkdir ${index_dir}
cd ${index_dir}
# Download annotation info from UCSC
# wget http://hgdownload.soe.ucsc.edu/goldenPath/hg19/databas... | Imamachi-n/NGS-Tutorial | RNA-seq_for_alternative_splicing_Tutorial/MISO_annotation_prep.sh | Shell | mit | 1,355 |
#!/bin/sh
PUDL_OUT=`grep "^pudl_out" $HOME/.pudl.yml | sed -e "s/^pudl_out: //"`
SQLITE_DIR="$PUDL_OUT/sqlite"
echo "Indexing FERC1 DB FKs"
sqlite-utils index-foreign-keys $SQLITE_DIR/ferc1.sqlite
echo "Indexing PUDL DB FKs"
sqlite-utils index-foreign-keys $SQLITE_DIR/pudl.sqlite
# Other things we'll want to do...
#... | catalyst-cooperative/pudl | devtools/datasette/publish.sh | Shell | mit | 854 |
#zsh/dotfile specific
alias dotmate='subl $DOTFILES'
alias dotvim='mvim $DOTFILES'
alias dotatom='atom $DOTFILES'
alias dotcd='cd $DOTFILES'
alias reload!='. ~/.zshrc && clear'
| markupboy/dotfiles | zsh/aliases.zsh | Shell | mit | 178 |
export CFLAGS='-DGLIB_STATIC_COMPILATION=1 -mms-bitfields'
./autogen.sh --build=$BUILD_TRIPLET \
--host=$HOST_TRIPLET \
--prefix=$PREFIX \
--enable-static \
--enable-shared \
--without-xft \
--with-included-modules=yes \
--with-... | camgunz/mingw64-crossbuilds | modules/build-pango-1.36.5.sh | Shell | mit | 451 |
#!/usr/bin/env bash
set -e
sudo dnf install -y curl tar libnova bzip2-libs
# TheImagingSource
sudo curl -L \
https://raw.githubusercontent.com/TheImagingSource/tiscamera/master/data/udev/80-theimagingsource-cameras.rules \
-o /etc/udev/rules.d/80-theimagingsource.rules
# ATIK
sudo ln -sfv $(rpm -E %_libdir... | gronki/fedora-setup | 60-telescope.sh | Shell | mit | 983 |
#!/bin/sh
sudo mkdir -p logs
d=$(date +%d-%m-%y_%H:%M)
# Rehydrate the elastic search
sudo elastic/setup.sh >> "logs/elastic_$d.log"
| bfeldman24/clositt | scripts/rehydrateElasticNightly.sh | Shell | mit | 136 |
#/bin/bash
as --32 1.pzc.asm -o 1.o
| afein/pzcc | tests/linking/as.sh | Shell | mit | 36 |
# helper bash script to open multiple chrome windows at given position and size
# works at mac os x sierra
open -n -g -a /Applications/Google\ Chrome\ Canary.app --args --new-window --app="data:text/html,<html><body><script>window.resizeTo(500,1000);window.moveTo(1200,50);window.location='http://localhost:8000/server/... | SBejga/scrumpoker-rt.js | chrome.sh | Shell | mit | 1,038 |
# Pure
# by Sindre Sorhus
# https://github.com/sindresorhus/pure
# MIT License
# For my own and others sanity
# git:
# %b => current branch
# %a => current action (rebase/merge)
# prompt:
# %F => color dict
# %f => reset color
# %~ => current path
# %* => time
# %n => username
# %m => shortname host
# %(?..) => prompt... | sindresorhus/pure | pure.zsh | Shell | mit | 28,879 |
#!/bin/sh
if [[ $# -lt 2 ]]; then
echo "Usage: $0 user-id:branch remote-name repo-name(default incubator-openwhisk)"
exit 1
fi
set -e
REPO=${3:-incubator-openwhisk}
ID=${1%:*}
BR=${1#*:}
echo "git push git@github.com:$ID/$REPO.git HEAD:$BR $2"
#git push git@github.com:$ID/$REPO.git HEAD:$BR $2
| BillZong/SomeUsefulShellScripts | shell/git-push-pr.sh | Shell | mit | 301 |
#!/bin/bash
grep "^.-VarDecl" "$1" |\
grep -v "extern" |\
sort |\
uniq |\
while read -r line; do
if [ "$(echo "$line" | grep "':'")" = "" ]; then
echo $line |\
grep \
-Po \
"[a-zA-Z_][a-zA-Z0-9_]{0,31}+ \'[a-zA-Z_][a-zA-Z0-9_ *]{0,31}+\'" |\
perl -pe "s/ \'/: /g"... | cosmicexplorer/snippets | perl/global-query-generator/get_var_decls.sh | Shell | mit | 626 |
#!/bin/sh
lame -V 1 "$1" "$2"
| brgmnn/audio-transcoder | encoders/mp3-v1.sh | Shell | mit | 30 |
#!/bin/sh
echo ""
echo "== Konstruas datumbazkonstruilon"
xcodebuild -workspace PoshReVo.xcworkspace -scheme "DatumbazKonstruilo (eldona)"
| mumbler/PReVo-iOS | skriptoj/konstrui_konstruilon.sh | Shell | mit | 140 |
#!/usr/bin/env bash
rm src/Infect/BackendBundle/Controller/LanguageController.php
rm src/Infect/BackendBundle/Form/LanguageType.php
rm src/Infect/BackendBundle/Resources/config/routing/language.yml
rm -R src/Infect/BackendBundle/Resources/views/Language/ | joinbox/infect | backend/deleteTestLanguageCrudFiles.sh | Shell | mit | 255 |
#!/usr/bin/env bash
if [[ $TRAVIS_TAG ]]
then
export BUILD_TIME=`date +%s`
a=( ${TRAVIS_TAG//./ } ) # split into array
export RELEASE_VERSION="${a[0]}.${a[1]}.x" # compose new major.minor.x
cat ./releng/release/tag.json | sed s/\$\{TRAVIS_TAG\}/${TRAVIS_TAG}/g > ./tag.json
cat ./releng/release/re... | subclipse/subclipse | .travis-archive/before_deploy.sh | Shell | epl-1.0 | 1,182 |
#!/bin/bash
cp arch/arm/boot/zImage AIK-Linux/split_img/boot.img-zImage
cd AIK-Linux
./repackimg.sh
mv image-new.img ../boot.img
| chhapil/Kernel-Lenovo-A6000-KK | testmkboot.sh | Shell | gpl-2.0 | 172 |
#!/bin/bash
# Calibrate some new data
# user localisation
user=`whoami`
# host localisation
host=`hostname`
if [[ "${host:0:4}" == "epic" ]]
then
computer="epic"
groupq="astronomy818"
standardq="routequeue"
hostmem="20gb"
else
computer="fornax"
groupq="partner676"
standardq="workq"
hostmem="70gb"
fi
... | ryandougherty/mwa-capstone | MWA_Tools/ivec_pbs_scripts/bin/calibrate.sh | Shell | gpl-2.0 | 1,533 |
#! /bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#===============================================================================================
# System Required: CentOS6.x (32bit/64bit)
# Description: Install Shadowsocks(libev) for CentOS
#=======================... | kwxiaozhu/shell | ss-centos.sh | Shell | gpl-2.0 | 6,502 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
return 0
}
depends() {
return 0
}
echo_fs_helper() {
local dev=$1 fs=$2
case "$fs" in
xfs)
echo -n " xfs_db xfs_repair xfs_check xfs_metadump "
... | zfsonlinux/dracut | modules.d/99fs-lib/module-setup.sh | Shell | gpl-2.0 | 1,712 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
type -P dmsetup >/dev/null || return 1
return 255
}
depends() {
return 0
}
installkernel() {
instmods =drivers/md
instmods dm_mod
}
install() {
modinfo -k $kern... | zfsonlinux/dracut | modules.d/90dm/module-setup.sh | Shell | gpl-2.0 | 936 |
#!/bin/sh
SPACE='object space'
# ${1} should be the name of the directory
COUNT=1
for file in ${1}/scimark*
do
echo -n ${COUNT}:
COUNT=$((COUNT+1))
echo ${file} | sed 's/^.*\///'
grep ${file} -e "result:.*ops" | sed 's/^.*result:\s//'
grep ${file} -e "> ${SPACE}" | sed 's/^.*space\s\+\([0-9]\+\)K... | yuhc/jdk8u-dev | java_demo/spec/specjvm/filter-old.sh | Shell | gpl-2.0 | 385 |
#!/bin/sh
# Verifies SIGHUP/reload functionality
# XXX: add group verification as well
#set -x
check_output()
{
echo "ip mroute:"
ip mroute
ip mroute |tee "/tmp/$NM/result" | grep -q "$2"
oif=$?
grep -q "$1" "/tmp/$NM/result"
iif=$?
# shellcheck disable=SC2166
[ "$oif" = "0" -a "$iif" =... | troglobit/smcroute | test/reload.sh | Shell | gpl-2.0 | 2,150 |
convert images/OCS-641.png -crop 1666x5094+0+0 +repage images/OCS-641-A.png
convert images/OCS-641.png -crop 1664x5094+1666+0 +repage images/OCS-641-B.png
#/OCS-641.png
#
#
#
| jonnymwalker/Staroslavjanskij-Slovar | scripts/middlesplit.OCS-641.sh | Shell | gpl-2.0 | 175 |
#! /bin/sh
# check script for GNU ddrescue - Data recovery tool
# Copyright (C) 2009-2019 Antonio Diaz Diaz.
#
# This script is free software: you have unlimited permission
# to copy, distribute, and modify it.
LC_ALL=C
export LC_ALL
objdir=`pwd`
testdir=`cd "$1" ; pwd`
DDRESCUE="${objdir}"/ddrescue
DDRESCUELOG="${obj... | mruffalo/ddrescue | testsuite/check.sh | Shell | gpl-2.0 | 28,546 |
#!/bin/bash
EC2_KEY_NAME="aerospike-benchmark-key"
EC2_KEY_LOCATION=`ls *.pem`
EC2_USER=ec2-user
export AWS_ACCESS_KEY=<YOUR IAM ACCESS KEY HERE>
export AWS_SECRET_KEY=<YOUR IAM SECRET KEY HERE>
JAVA_HOME=$(readlink -f `which javac` | sed "s:bin/javac::")
api_tools=`ls -d ec2-api-tools* 2>/dev/null`
if [ -n "$api_to... | fbabar/aerospike_aws_basic | build_config.sh | Shell | gpl-2.0 | 1,053 |
#!/bin/bash
# start creating and removing files
./create_rm_test.sh &
# create snapshot and test it with fsck
./test_snapshot.sh
| uhliarik/ext4-undelete | scripts/power_failure_tests.sh | Shell | gpl-2.0 | 131 |
#!/bin/sh
echo "a"
| nonemaw/MATRIX_01 | COMP9041/ass1/test.sh | Shell | gpl-2.0 | 23 |
cat > $1/src/Makefile.am <<EOF
bin_SCRIPTS = $1
EXTRA_DIST = main.sh
CLEANFILES = \$(bin_SCRIPTS)
${1}: main.sh Makefile
cp \$(srcdir)/main.sh $1
chmod +x $1
EOF
| juanmabc/mkproject | src/bash/project/src/Makefile.am.sh | Shell | gpl-2.0 | 165 |
convert images/OCS-628-A.png -crop 1555x149+0+0 +repage images/OCS-628-A-0.png
convert -append images/OCS-627-B-2.png images/OCS-628-A-0.png images/OCS-627-B-2.png
rm images/OCS-628-A-0.png
convert images/OCS-628-A.png -crop 1555x389+0+158 +repage images/OCS-628-A-1.png
convert images/OCS-628-A.png -crop 1555x391+0+556... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-628.sh | Shell | gpl-2.0 | 1,231 |
#!/bin/sh
# -- Example usage:
# -- ./shell-gendata-0002.sh 256 1 16
echo -e "#########################################"
echo -e "#"
echo -e "# -- SHELL-GENDATA-0002.SH"
echo -e "#"
echo -e "# -- Generated data:"
echo -e "# -- openssl rand $1 | xxd -g $2 -c $3"
echo -e "#"
echo -e "####################################... | kevinleake01/textpatgen | 06-gendata/shell-gendata-0002.sh | Shell | gpl-2.0 | 363 |
# 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 ALLOW action and export the IDs to a text file
sudo aws ec2 describe-security-groups --filters Name=tag:open-ssh-time,Values=08-00 Name=... | STARTSPACE/aws-access-to-ec2-by-timetable | ssh-22/allow-ad/ssh-allow-ad-08.sh | Shell | gpl-2.0 | 797 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t8090-lua-variant.sh | Shell | gpl-2.0 | 1,296 |
#!/bin/bash
set -e
b 'generating config templates...'
etcd-erb < /cfg/dhcpd.conf.erb > /etc/dhcpd.conf
etcd-erb < /cfg/rndc.key.erb > /etc/rndc.key
etcd-erb < /cfg/settings.yml.erb > /etc/foreman-proxy/settings.yml
etcd-erb < /cfg/dhcp.yml.erb > /etc/foreman-proxy/settings.d/dhcp.yml
etcd-erb < /cfg/dhcp_isc.yml.erb ... | prozeta/mother | smartproxy/prepare.sh | Shell | gpl-2.0 | 858 |
###
# Librairies des informations sur les processus
# ==============================================================================
# @package olixsh
# @author Olivier <sabinus52@gmail.com>
##
###
# Retourne la liste de tous les process
##
function Process.list()
{
ps ax
}
###
# Retourne si un process tourne
... | sabinus52/olixsh | utils/process.sh | Shell | gpl-2.0 | 1,273 |
#!/usr/bin/bash
DATE=`date +%Y%m%d`
TMPFILE=tmp/$0.tmp
STORAGEUNITSTEXFILE=output/StorageUnits_$(hostname)_$DATE.tex
cat conf/encabezado_latex.tex > $STORAGEUNITSTEXFILE
/usr/openv/netbackup/bin/admincmd/bpstulist -U > $TMPFILE
sleep 2
echo "\newline" >> $STORAGEUNITSTEXFILE
echo "* Listado de Storage Units d... | aledec/varios | netbackup_inventory/list_storage_units.sh | Shell | gpl-2.0 | 654 |
/opt/lampp/bin/mysqldump --add-drop-table -h localhost -u root -p dev > ash_db.sql
| navster/camp-adair | scripts_ash/dbBackup.sh | Shell | gpl-2.0 | 83 |
#!/bin/sh
BASEDIR=`dirname $0`
cd $BASEDIR
exec java -jar gameManager-1.0.jar & > /dev/null 2>&1
| AngelaFabregues/dipGame | gameManager/run.sh | Shell | gpl-2.0 | 103 |
# Refresh source files by regenerating them to see changes
ember g adapter application
ember g component nav-main
ember g component nav-sidebar
ember g component notes-filter
ember g component notes-upload
ember g component common/cookie-message
ember g component common/home-header
ember g component common/main-conta... | FMF-studenti/frontend | tools/refresh.sh | Shell | gpl-2.0 | 1,918 |
#!/bin/bash
CURRENTKB="$(setxkbmap -query | awk '/layout/{print $2}')"
if test "$CURRENTKB" = "is"
then
setxkbmap us -option caps:escape
else
setxkbmap is -option caps:escape
fi
echo "$(setxkbmap -query | awk '/layout/{print $2}')" >> ~/.keyboardswitcher
| nordfjord/dotFiles | i3scripts/switch-layout.sh | Shell | gpl-2.0 | 266 |
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/sflphone-client-kde.pot
rm -rf rc.cpp
| KDE/sflphone-kde | Messages.sh | Shell | gpl-2.0 | 183 |
#!/bin/bash
build_compile()
{
patch -Np1 -i $BUILD_SOURCES/openssh-7.5p1-openssl-1.1.0-1.patch
./configure \
--prefix=/usr \
--sysconfdir=/etc/ssh \
--with-pam \
--with-md5-passwords ... | phyglos/phyglos | bundles/openssh-core.dir/openssh-7.5p1.sh | Shell | gpl-2.0 | 3,959 |
#!/bin/bash
source "$(cd "$(dirname "$0")/../SSP"&&pwd)/ssp.sh"
# Expected input files
REPORT_ITEMS="${REPORT_ITEMS:-${DATA_DIR}/report_items.txt}"
depends_on "${REPORT_LIST}"
depends_on "${REPORT_ITEMS}"
function get_path_for_subject {
env -i PROCDIR=$1 EXPAND=$2 SCRIPT_DIR=$SCRIPT_DIR \
bash -xc 'source "$SC... | Damangir/connectivity | src/report.0.database.sh | Shell | gpl-2.0 | 2,707 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2014-2020 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | ppannuto/tup | test/t2176-run-ls.sh | Shell | gpl-2.0 | 1,209 |
#!/bin/bash
#
# Test Case 7
#
# Runs continuous offline/online of CPUs along with
# a kernel compilation load.
TST_TOTAL=${HOTPLUG07_LOOPS:-${LOOPS}}
export TCID="cpuhotplug07"
export TST_COUNT=1
export TST_TOTAL=${HOTPLUG07_LOOPS:-1}
# Includes:
LHCS_PATH=${LHCS_PATH:-${LTPROOT:+$LTPROOT/testcases/bin/cpu_hotplug}}
... | wanghao-xznu/vte | testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug07.sh | Shell | gpl-2.0 | 2,052 |
#!/bin/sh
java -jar target/diamond.jar
| LarsImNetz/code-dojo | diamond/start.sh | Shell | gpl-3.0 | 39 |
#!/bin/bash
## test if guestfish command is present
which guestfish 2>&1 > /dev/null
if [ "$?" != 0 ]; then
echo "[!!!] Command 'guestfish' not found (Install it!). Making changes to VM FAILED."
exit 1
fi
## using direct backend to avoid selinux issues on fedora for now
export LIBGUESTFS_BACKEND=direct
## hostname
V... | OndrejHome/fast-vm-public-images | debian/hacks/debian-10.sh | Shell | gpl-3.0 | 1,288 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}
git pull
python ${DIR}/syncServer/aliveServer.py &
python ${DIR}/syncServer/webServer.py &
python ${DIR}/syncClient/client.py &
| shrinidhi666/wtfBox | backendServer/start.sh | Shell | gpl-3.0 | 207 |
#!/bin/sh
FILE=/tmp/archivo
if [ -r $FILE -a ! -w $FILE ]; then
echo Fichero $FILE existe y no es modificable
else
echo Fichero no encontrado o es modificable
fi
VAR1=1; VAR2=1
if [ $(($VAR1)) -ne $(($VAR2)) ]; then
echo Distintos
elif ls /; then
echo
fi
| carrodher/teleco | FAST/practica3/scripts/script_if.sh | Shell | gpl-3.0 | 262 |
#!/bin/bash
#License:GPL2 or GPL3
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
setenforce 0 &&
mkdir $2 &&
cd /srv/Livecds/$2/ &&
rm -rf /var/lmc &&
setenforce 0 &&
echo "starting 64bit build"
livemedia-creator --ks /usr/share/spin-kickstarts/flat-cinn.ks --no-virt --resultd... | linux-modder/Fedora-Respins-SOPs | scripts/buildmedia.sh | Shell | gpl-3.0 | 3,905 |
#!/bin/bash
echo -e 'dn: cn=config\nreplace: olcLogLevel\nolcLogLevel: none'|ldapmodify
| pablodanielrey/java | person/personDAO/doc/changeDebugLevelLdapNone.sh | Shell | gpl-3.0 | 88 |
#!/bin/sh
export PATH=$PATH:/usr/share/cservice/rpc/bin
export LD_LIBRARY_PATH=/usr/share/cservice/rpc/libs:$LD_LIBRARY_PATH
if [ -f /data/.env ]
then
source /data/.env
fi
start_rpc() {
if [ ! -d /data/cservice/rpc ]
then
mkdir -p /data/cservice/rpc
fi
cp /usr/share/cservice/rpc/config/RPC_schema1.txt /... | CiscoIOx/iox-services-samples | rpcSample/resources/rpcservice.sh | Shell | gpl-3.0 | 1,220 |
#!/bin/bash
module load anaconda
FRETOOLS=/t3/workdir/raphael/fre-nctools/mom/src/tools
ln -s /t1/scratch/raphael/CCS1/CCS1-I/CCS_7k_0-360_fred_grd.nc .
python CreateFMSgridTopo.py
module unload anaconda
module load intel/14.0.0
module load netcdf/4.3.0_intel14.0.0
$FRETOOLS/make_solo_mosaic/make_solo_mosaic --n... | ESMG/ESMG-configs | CCS1/preprocessing/create_grid.bash | Shell | gpl-3.0 | 500 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YMR143W --paralog2 YDL083C --simnum 45 > YMR143W_YDL083C_MG94_nonclock_Sim45_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YMR143W_YDL083C_sim45.sh | Shell | gpl-3.0 | 145 |
cd classes
#scala fos.SimplyTyped "fst ((\\x:Nat . {pred x, succ x}) 3)"
#scala fos.SimplyTyped "let x: Nat = true in x "
#scala fos.SimplyTyped "let x: Nat = pred pred 0 in x"
scala fos.SimplyTyped "if true then fst snd {1, {2, 3}} else 4"
exit
# Hard test
scala fos.SimplyTyped "if snd {false, true} then (\\x:Nat*N... | sana/WorkAtEPFL | TypedLambdaCalculusEvaluator/tests.sh | Shell | gpl-3.0 | 4,330 |
#!/bin/bash
updatedCrontab=""
tmpfile=$(crontab -l)
while read -r line; do
if [[ "$line" == *HeapDetector/tools/checkForHeapdump.sh* ]]
then
updatedCrontab+="0 $1 * * * /home/user/webapps/HeapDetector/tools/checkForHeapdump.sh\n"
else
updatedCrontab+="$line\n"
... | bobbyrne01/heapdetector | tools/updateCrontab.sh | Shell | gpl-3.0 | 558 |
#!/bin/bash
# Created by Jordi Cenzano on 06/12/16.
# SUPER FAST FRAME ACCURACY HLS TRIMMING TEST CODE
#TEST1:
# Input directory of HLS chunks
# H264 Encoding with IP frames only
hls_source_dir="/Users/jcenzano/Movies/hls_wowza/"
dest_file="/Users/jcenzano/Movies/hls_wowza/out/out_trimmed_test1.mp4"
tmp_dir="/Users/... | jordicenzano/hls-trimming-frame-accuracy | test/test1.sh | Shell | gpl-3.0 | 924 |
# dir tracker setup
[[ ! -e $DIR_HISTORY ]] && echo $HOME > $DIR_HISTORY
# symlinkage
source ~/.options/suse/symlinks.zsh
| ninrod/dotfiles | options/suse/setup.zsh | Shell | gpl-3.0 | 123 |
#!/bin/bash
if [ $(id -u) != 0 ]
then
echo "This script must run this as root."
exit 1
fi
echo "Setting up Celery"
CPU_COUNT=$(cat /proc/cpuinfo|grep precessor|wc -l)
let "THREAD_COUNT = $CPU_COUNT + 1"
sed \{"s?PROJECT_PATH?$(pwd)?g; s?THREAD_COUNT?$THREAD_COUNT?g;"\} celeryd.template > celeryd.conf
echo "C... | 15thnight/15thnight | setup_celery.sh | Shell | gpl-3.0 | 736 |
#!/bin/bash -
#===============================================================================
#
# FILE: export-csv.sh
#
# USAGE: ./export-csv.sh
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Pratik Sinha (freethin... | freethinker/twfollowers | profile_image_default_created_in_jan_2013_follower_one_tweets_zero_sort_by_following.sh | Shell | gpl-3.0 | 1,008 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="le"
(test -f $srcdir/configure.ac \
&& test -d $srcdir/src) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1... | lavv17/le | autogen.sh | Shell | gpl-3.0 | 5,141 |
#!/bin/sh
cd $(dirname $0)
# java -XX:MaxPermSize=128m -Xmx256m -Xss256k -jar target/mse-viewer-1.0-SNAPSHOT-war-exec.jar $*
java -jar target/mse-viewer-1.0-SNAPSHOT-war-exec.jar $*
# options: -Dbigraph.archive.cleanup=false -Dbigraph.archive.dir=/home/clem/my/archive/dir/name
| cksystemsgroup/BigActors | src/mse-viewer/run.sh | Shell | gpl-3.0 | 283 |
#!/bin/bash
function fail {
echo "Updating failed."
exit
}
function finish {
echo "Updating finished!"
exit
}
#[移動到update.sh所在資料夾]
function findNowExeBashDir {
first=`echo $0 | head -c 1`
if [ $first == "/" ]; then
nowdir=$0
else
nowdir=`pwd`/$0
fi
nowdir=`echo $nowdir | sed s/update.sh//`
}
function m... | ezgo-dev/ezgomenu | update.sh | Shell | gpl-3.0 | 3,020 |
#while :
# do
#./userlimit.sh 1
#sleep 5
#done
#while :
#do
#./userlimit.sh 2
#sleep 55
#done
while :
do
./userexpired.sh
sleep 36000
done
| llbranco/vpsautoinstall_debian | autokill.sh | Shell | gpl-3.0 | 181 |
#!/bin/bash
if [ -r /var/spool/exim/db/greylist.db ]; then
sqlite3 /var/spool/exim/db/greylist.db <<EOF
.timeout 5000
DELETE FROM greylist WHERE expire < $((`date +%s` - 604800));
EOF
fi
| dnisbet/exim-rpmbuild | el5/rpmbuild/SOURCES/greylist-tidy.sh | Shell | gpl-3.0 | 192 |
#!/bin/bash
#Herramientas necesarias
sudo apt-get update
sudo apt-get install nodejs-legacy
sudo apt-get install npm
sudo npm install -g azure-cli
sudo pip install paramiko PyYAML jinja2 httplib2 ansible
sudo wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb
sudo dpkg -i vagrant_1.8.1_x86_64.de... | mabarrbai/TusPachangas | scripts/deployAzure.sh | Shell | gpl-3.0 | 557 |
#!/bin/sh
MDIR=./models/NP-szeged-msd
TRAIN=${MDIR}/szeged.tree.MSD.MIGE.full.txtu.train+test.simple.gz
CONFIG=${MDIR}/hunchunk.hunMIGE_simple.yaml
MODEL=${MDIR}/NP-szeged-msd
cd ../../
zcat ${TRAIN} | python3 huntag.py train --model=${MODEL} --config-file=${CONFIG}
zcat ${TRAIN} | python3 huntag.py transmodel-train ... | dlt-rilmta/NP-szeged-msd-model | train_NP-szeged-msd.sh | Shell | gpl-3.0 | 337 |
#!/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 1B/logs/w-10-A/20161127T023805+0000/00/00/calculateratio_2_ID0000017.sh | Shell | gpl-3.0 | 1,252 |
#!/bin/bash
export HOME_GLOB="/glob/jessada/"
export CMM_PROJECTS_ROOT_DIR="/proj/b2011117/private/projects"
#export CMM_PROJECTS_ROOT_DIR="$HOME_GLOB/private/projects/CMM"
export CMM_PROJECTS_OUTPUT_DIR="$CMM_PROJECTS_ROOT_DIR/out"
export CMM_PROJECTS_SLURM_LOG_DIR="$CMM_PROJECTS_ROOT_DIR/slurm_log"
export CMM_PROJE... | bahamoot/CMM-AL-projects | scripts/export_projects_var.sh | Shell | gpl-3.0 | 7,164 |
echo "WARNING:"
echo "This will uninstall cbmroot completely by deleting ALL files inside cbmroot, cbmroot2, cbmsoft and MyBuild32!"
echo "Do you wish to continue?"
read ans
case $ans in
y|Y|yes);;
*) echo Quitting
exit 0;;
esac
echo "Deleting files..."
cd ~
rm -rf cbmroot cbmroot2 cbmsoft MyBuild_32
echo "Fi... | KIAaze/bin_and_dotfiles_public | bins/public_bin/CBM/uninstallcbmroot.sh | Shell | gpl-3.0 | 334 |
#!/bin/sh
markdown < README.md > ./MacGesture/Resources/Base.lproj/README.html
cp logo.png ./MacGesture/Resources
| MacGesture/MacGesture | gen.sh | Shell | gpl-3.0 | 114 |
#!/bin/bash
set -x
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion 0" "${PRODUCT_SETTINGS_PATH}"
echo "Cleared build number in ${PRODUCT_SETTINGS_PATH}"
| openHPI/xikolo-ios | Build Phases/clear-build-number.sh | Shell | gpl-3.0 | 155 |
#!/bin/bash -e
. ../lfs.comm
build_src() {
version=4.1.1
srcfil=gawk-$version.tar.xz
srcdir=gawk-$version
tar -xf $LFSSRC/$srcfil && cd $srcdir
./configure --prefix=/usr
make $JOBS
make check
make install
mkdir -v /usr/share/doc/gawk-$version
cp -v doc/{awkforai.txt,*.{ep... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-7.6-systemd/2-build-final-system/40-Gawk.sh | Shell | gpl-3.0 | 399 |
virtualenv -ppython3 chesspython
./chesspython/bin/pip install -r requirements.txt
| jromang/picochess | install.sh | Shell | gpl-3.0 | 83 |
#!/usr/bin/env bash
## DocPatch -- patching documents that matter
## Copyright (C) 2012-18 Benjamin Heisig <https://benjamin.heisig.name/>
##
## 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,... | bheisig/DocPatch | usr/share/docpatch/build.sh | Shell | gpl-3.0 | 14,133 |
#!/bin/sh
# El Mayor-Cucapah earthquake: Newtonian viscoelastic relaxation in 3D ductile zone in mantle lithosphere aligned with locations of shallow Lekic et al [2011] lithosphere-asthenosphere boundary; top depth 22.5 km (Tape et al Moho depth); bottom depth 45 km (Lekic et al LAB depth)
# Note that the grid is 1024... | geodynamics/relax | examples/elmayor/Forward modeling/Mantle_lithosphere/Mantle_lithosphere_Newtonian_rheology_3D_SaltonTrough/Mantle_lithosphere_Newtonian_rheology_3D_SaltonTrough.sh | Shell | gpl-3.0 | 3,375 |
#!/bin/bash
grep -R get_traduction *.php > liste_trads.txt
python generate_trad_csv.py liste_trads.txt
| imagine-bdd/DRWH | generate_trad_csv.sh | Shell | gpl-3.0 | 108 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.