blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 4 115 | path stringlengths 2 970 | src_encoding stringclasses 28
values | length_bytes int64 31 5.38M | score float64 2.52 5.28 | int_score int64 3 5 | detected_licenses listlengths 0 161 | license_type stringclasses 2
values | text stringlengths 31 5.39M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
d1ccae76ded51fa6d7b2d8ebf55e41b0e2503599 | Shell | santiaro90/conduit | /scripts/run-tests-api | UTF-8 | 852 | 3.609375 | 4 | [] | no_license | #!/bin/bash
set -e -x
if [[ $# -lt 2 ]]; then
echo 'run-tests-api: you must provide the stack and service to test'
echo
echo 'Usage: run-tests-api <api> <service>'
echo ' api a subfolder of ./api'
echo ' service the service defined in ./api/$api/docker/docker-compose.test.yml'
echo ' t... | true |
d09aad7ed4c4af9f78fd22e21f893ce3cec64c3b | Shell | Accacio/dots | /configs/bash/.bashrc.d/prompt.bash | UTF-8 | 2,056 | 3.75 | 4 | [] | no_license | # set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
e... | true |
d09f099a940cfbf37ccc62c2aa0d552637488916 | Shell | OpenGDSMobile/Linker | /CentOS7/1_presets.sh | UTF-8 | 947 | 2.984375 | 3 | [
"MIT"
] | permissive | #!/bin/bash
###user name setup ###
userName=${1:?"Requires an argument: user ID"}
echo "Input user ID: $userName"
str="$userName ALL=(ALL) NOPASSWD:ALL"
echo $str>tomcatUser
###Sudo user privileges acquired###
su -c "cp tomcatUser /etc/sudoers.d/"
###Zsh install ###
sudo yum update -y
sudo yum install zsh git wget... | true |
34e5e8d7db00af90788fc53aea5462fcf22a95b0 | Shell | kaiana/deprecated | /netflix-chrome-icon/usr/bin/netflix-icon | UTF-8 | 1,114 | 3.609375 | 4 | [] | no_license | #!/bin/bash
#
# Autor: Tales Mendonca
# Contato: talesam@gmail.com
# Licença: GPL
# Data: Agosto 2014
# Simples script para executar o Netflix diretamente
####################################################
#Confere se um número é maior ou igual ao outro
if [ "$(google-chrome --version | cut -f3 -d" " | cut -f1 -d".... | true |
efa15bab9846cbde4cbd1cee44189f973e65a9e4 | Shell | mileserickson/amiel_dotfiles | /bash/10functions.sh | UTF-8 | 46 | 2.53125 | 3 | [] | no_license |
function __command_exists {
hash $1 2>&-
}
| true |
f784006d7d11deb7ae0f81d0d466f2335283f815 | Shell | danchoi/sphinxesc | /test.sh | UTF-8 | 557 | 3.328125 | 3 | [
"MIT"
] | permissive | #/bin/bash
printf "%-30s%-30s%-30s%-10s\n" INPUT EXPECTED RESULT PASS
cat tests.txt | grep -v '^#' | grep -v '^ *$' | # skip blank lines
sed -e 's/ *#.*$//' -e 's/ *$//' | # clear comments and whitespace
awk -F ' *:: *' -v OFS="\t" '{$1=$1; print}' | # turn :: field separator into tab
while IFS=$'\t' read... | true |
7b3200b4dba44fe89a275b9f4bec53590b850bd9 | Shell | VConstans/projet_mpi | /script_cpu.sh | UTF-8 | 542 | 3.1875 | 3 | [] | no_license | #! /bin/bash
if [ -f res_100 ]
then
rm cpu_res_*
fi
if [ -f graph.plot ]
then
rm cpu_graph.plot
fi
nbilot=20
iteration=20
taille=600
if [ $# -eq 1 ]
then
nbilot=$3
fi
coeur=1
while [ $coeur -le 4 ]
do
i=0
while [ $i -lt $iteration ]
do
mpirun ./gen_lab $nbilot $taille $taille >> cpu_res_$coeur
mpirun -n... | true |
fdba8407a154d5964ba5d14716668e958b392d92 | Shell | amesk/scripts | /machines/vottl-amesk/bin/win2utf | UTF-8 | 270 | 3.75 | 4 | [] | no_license | #!/bin/sh
set -x
[ $# -eq 0 ] && usage
usage(){
echo "Usage: $0 <infile> [<outfile>]"
exit 1
}
if [ $# eq 2 ] ; then
outfile=$2
else
outfile=$1
fi
infile=$1
iconv -f CP1251 -t UTF-8 "$infile" > "$infile.temp" || exit 1
mv "$infile.temp" "$outfile"
| true |
d11d441b0fc47ce6cf01fcbdb3f8b065dcfc96b7 | Shell | LGSInnovations/edison-debian-image | /edison-image-edison-ext4/var/lib/dpkg/info/libnss-mdns.postinst | UTF-8 | 3,352 | 3.828125 | 4 | [] | no_license | #!/bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section
log() {
echo "$*"
}
# try to insert mdns entries to the "hosts" line in /etc/nsswitch.conf to
# automatically enable nss-mdns support; do not change the configuration if the
# "h... | true |
79b821613127e74b0a843f07aa577dbfd4566286 | Shell | mspasiano/design-angular-kit | /update-assets.sh | UTF-8 | 481 | 2.578125 | 3 | [
"BSD-3-Clause"
] | permissive | #!/bin/sh
# Aggiorna i numeri di versione nei file package.json
PACKAGE_VERSION=$(node -pe "require('./dist/design-angular-kit/package.json').version")
sed -i -E -e "s/\"version\": \"[0-9]+\.[0-9]+\.[0-9]+\"/\"version\": \"${PACKAGE_VERSION}\"/g" ./package.json
sed -i -E -e "s/\"version\": \"[0-9]+\.[0-9]+\.[0-9]+\"/\... | true |
2110300d715819a0885758b4beb5e44c11a96c05 | Shell | fbrute/lovy | /sounding/src/main/sql/tephi avec temp_virt et temp_pot/apply_sql.sh | UTF-8 | 222 | 2.828125 | 3 | [] | no_license | #!/bin/bash
for file in `ls *.sql`; do
#echo $file
#echo "${file%%.*}"
basename="${file%%.*}"
echo $file
output_filename=${basename}.txt
`mysql -u dbmeteodb --password=dbmeteodb dbmeteodb`
done
| true |
b546a2add95373fae2a2881c235698588d3296bb | Shell | onlinekid/my | /core/rocknroll | UTF-8 | 3,089 | 2.65625 | 3 | [] | no_license | #! /usr/bin/env zsh
setopt EXTENDED_GLOB
source $MY/core/helper
mkdir -p ~/{__tmp,Projects}
source $MY/core/brew
# handle zprezto
if [ -d "$HOME/.zprezto" ]; then
echo_space
echo_title_update "prezto"
cd "$HOME/.zprezto/"
git pull
git submodule update --init --recursive
cd -
# git --git-dir="$HOME/.zp... | true |
3c7218bc61edc41b60fee8ec7ad7eaa4aafe7065 | Shell | kislay17/scripts | /Delete_File_Linenum.sh | UTF-8 | 759 | 3.015625 | 3 | [] | no_license | #!/bin/bash
source /home/vagrant/scripts/Check.sh #source command inherits all function fromCheck.sh script
#Deletes a line number from a file
read -p "Enter the Dir path :" Dpath #reads the file path
Dir_check $Dir #calls Dir_check function for directory exsistence
read -p "Enter the file name :" Fname #reads file na... | true |
72b3e8f4ac16e9d0b203496a10468ea35ded2334 | Shell | zstyblik/jenkins-integration | /scripts/auth.sh | UTF-8 | 461 | 2.53125 | 3 | [
"MIT"
] | permissive | set -x
curl -L https://raw.githubusercontent.com/sd2e/sd2e-cli/master/install/install.sh | sh
source ~/.bashrc
tenants-init -t sd2e
client="sd2e_client_$BUILD_TAG"
echo "Writing Client"
echo $client > client.bak
clients-create -S -N $client -D "My client used for interacting with SD2E" -u $AGAVE_USER -p $AGAVE_PASSW... | true |
62aecaf4bd60aeda1a6387c12843457cf7c7f0f7 | Shell | aavidad/grx-konekta | /DEBIAN/postinst | UTF-8 | 435 | 3.109375 | 3 | [] | no_license | #!/bin/bash
LOG=/var/log/grx-konekta-install.log
if [ -f /usr/lib/x86_64-linux-gnu/libpcap.so.1.8.1 ]
then
if [ -f /usr/lib/x86_64-linux-gnu/libpcap.so.1 ]
then echo "Ya existe un enlace al archivo libpcap.so.1" >>$LOG
else
ln -s /usr/lib/x86_64-linux-gnu/libpcap.so.1.8.1 /usr/lib/x86_64-linux-gnu/libpcap... | true |
84e061ff1c14568119983182dcadd883261e3521 | Shell | CreatorKit/build | /getver.sh | UTF-8 | 233 | 3.375 | 3 | [] | no_license | #!/usr/bin/env bash
export LANG=C
export LC_ALL=C
[ -n $1 ] && cd $1
try_git() {
[ -e .git ] || return 1
REV="$(git log | grep -m 1 commit | awk '{print substr ($2, 0, 7)}')"
[ -n "$REV" ]
}
try_git || REV="unknown"
echo "$REV"
| true |
11623b9246c4526abae93aee33c299ecec57fa8f | Shell | edwary08/Release | /FTTHRelease.sh | UTF-8 | 15,226 | 3.546875 | 4 | [] | no_license | #!/bin/bash
#Something you need to prepare before you run this script
#Need to create the KEY_FOLDER(GW7557LG_RSA_Keys) and copy the private and public key to that
function setoption() {
####################Read setting from config file####################
PWD=`pwd`
filename="${PWD}/FTTHRelease.cfg"
IFS="="
echo "Read... | true |
17c26a3351d622e1ab7eba8fbb50453d66bd9d77 | Shell | NedScott/dvr_install | /qnap/shared/HDHomeRunDVR.sh | UTF-8 | 1,794 | 3.765625 | 4 | [
"LicenseRef-scancode-public-domain"
] | permissive | #!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="HDHomeRunDVR"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
HDHOMERUN_BIN=hdhomerun_record_linux
HDHOMERUN_WRAP_ARMv7=hdhr_wrapper_arm7
HDHOMERUN_WRAP_i686=hdhr_wrapper_i686
HDHOMERUN_WRAP_X86_64=hdhr_wrapper_x86_64
HDHOMERUN_USER=httpdusr
HDHOMERUN_CONF=HDH... | true |
8c4834c28519943b3ffb797157a72083a46eb382 | Shell | kpdecker/heroku-buildpack-lumbar | /bin/detect | UTF-8 | 118 | 2.78125 | 3 | [
"MIT"
] | permissive | #!/usr/bin/env bash
if [ -f $1/lumbar.json ]; then
echo "Lumbar"
exit 0
else
echo "no lumbar file"
exit 1
fi
| true |
11a79492a9d203fe0ca4124fad5814fa09635b70 | Shell | Pheoxy/archNAS_old | /archNAS-build.sh | UTF-8 | 13,594 | 4 | 4 | [] | no_license | #!/bin/bash
# Set date
date=$(date +"%Y.%m.%d")
# Set the version here
export version="archNAS-$date-dual.iso"
# Set the ISO label here
export iso_label="archnas"
# Location variables all directories must exist
export aN="`dirname $(readlink -f "$0")`"
export customiso="$aN/customiso"
export mntdir="$aN/mnt"
# Lin... | true |
7b72b7d25d1e74fb39fe155cd2a2b5c7b1c23bc0 | Shell | allthingsclowd/Consul_Connect_Envoy_Example | /scripts/install_consul.sh | UTF-8 | 6,926 | 3.15625 | 3 | [] | no_license | #!/usr/bin/env bash
generate_certificate_config () {
if [ ! -d /etc/consul.d ]; then
sudo mkdir --parents /etc/consul.d
fi
sudo tee /etc/consul.d/consul_cert_setup.json <<EOF
{
"datacenter": "allthingscloud1",
"data_dir": "/usr/local/consul",
"encrypt" : "${ConsulKeygenOutput}",
"log_level": "INFO... | true |
f64c2a067f28aedc4b76d34610899e90c841a29a | Shell | GabrielRavier/my_sokoban | /tests/libmy/test.sh | UTF-8 | 842 | 3.8125 | 4 | [] | no_license | #!/usr/bin/env bash
# Execute tests from the directory that which contains the script
cd "$(dirname "$0")"
TESTS_BINARY=$(realpath ../../lib/my/tests_binary)
TESTS_SUPPRESSIONS=$(realpath lsan_suppressions)
do_test_process()
{
LSAN_OPTIONS=suppressions=${TESTS_SUPPRESSIONS}:print_suppressions=0 $TESTS_BINARY --f... | true |
246c9bc34f8f306467d230cff29e1587daca2628 | Shell | kiranravindrant/MiniBootcamp-Assignments | /DAY5/SelectionPracticeProblem/UsingSwitchCase/DisplayTheWeek.txt | UTF-8 | 370 | 3.34375 | 3 | [] | no_license | #! /bin/bash -x
#variable
number=$(( RANDOM%7 + 1))
#selection
case $number in
1) echo $number= 1 "sunday" ;;
2) echo $number= 2 "monday" ;;
3) echo $number= 3 "tuesday" ;;
4) echo $number= 4 "wednesday" ;;
5) echo $number= 5 "tuesday" ;;
6) echo $number= 6 "friday"... | true |
80a1d313e034b99af155c85f6ce871a9c0ccfc2c | Shell | dpfau/eos | /eos.sh | UTF-8 | 912 | 3.5625 | 4 | [] | no_license | #!/bin/sh
#
# Eos - the Greek Deity of Dawn. Every day, this script creates a
# new cron job to execute itself the next day at dawn, rewrites the
# date of the most recent update, and pushes itself to GitHub.
#
# David Pfau, waiting for a connecting flight in Fiumicino, 1 July 2014
#
# Last Updated Mon Apr 27 06:14:01 ... | true |
c1d94a85f91dee15d353f91b76ddfe63fb3c00db | Shell | TonalidadeHidrica/taiko-wiki-data-analysis | /misc/scripts/script2.sh | UTF-8 | 677 | 3.578125 | 4 | [
"MIT"
] | permissive | #!/bin/bash
set -eux
for full_file in /tmp/taiko-wiki/zips/*.zip
do
filename=$(basename $full_file)
echo $filename
year=${filename:16:4}
month=${filename:20:2}
day=${filename:22:2}
hour=${filename:25:2}
minute=${filename:27:2}
second=${filename:29:2}
date="${year}-${month}-${day}T${hour}:${minute}:... | true |
8f08cb4dedf175a11e646598378fec46d546be18 | Shell | dougmpx/xiaoli | /tasks/errdb_cleaner.task | UTF-8 | 382 | 2.984375 | 3 | [] | no_license | #!/bin/bash
#: Title : errdb_cleaner.task
#: Date : 2012-07-24
#: Author : "Ery Lee" <ery.lee@gmail.com> from opengoss.com
#: Version : 1.0
#: Description : errdb cleaner
DATE_TO_CLEAN=`date +%Y%m%d -d "-3day"`
[ -z "$ERRDB_HOME" ] && ERRDB_HOME=/opt/errdb
cd $ERRDB_HOME/var/journal/ && rm -rf... | true |
9c6cbb11efc34ff119204615fc2d49938f992ec7 | Shell | FernaldLab/_scripts | /countBasesFasta.sh | UTF-8 | 693 | 3.015625 | 3 | [] | no_license | #!/bin/bash
# Counts the number of each base in a fasta file, and prints this number.
homeFolder="/Users/burtonigenomics/Desktop/Katrina/"
# The path to the folder with the genome files
GENOMES=$homeFolder"Astatotilapia_burtoni.BROADAB2fix.noexons.gtf.ribosomalProteins.bed.collapsed.fa "\
$homeFolder"Astatotilapia_b... | true |
4e0fdfe954719d405d1005a927f7d897dd58dc7e | Shell | RhostMUSH/trunk | /Server/game/db_check | UTF-8 | 312 | 3.109375 | 3 | [] | no_license | #!/bin/sh
PATH=/bin:/usr/bin:
#
# Convert from arbitrary format to MUSH V2 GDBM format.
#
case $# in
1) ./dbconvert $1 Cw >/dev/null 2>&1 ;;
2) ./dbconvert $1 Cw <$2 >/dev/null 2>&1 ;;
3) ./dbconvert $1 Cw <$2 >/dev/null 2>$3 ;;
*) echo Usage: $0 'gdbm_file [source_file [log_file]]'; exit 1 ;;
esac
exit 0
| true |
91a0cffe162b3179351e900171f1c27edb00689b | Shell | HBClab/fsl-docker | /generate_fsl_dockerfile.sh | UTF-8 | 310 | 3.03125 | 3 | [] | no_license | #!/bin/sh
set -e
# Generate Dockerfile or Singularity recipe.
generate() {
docker run --rm kaczmarj/neurodocker:0.6.0 generate "$1" \
--base=neurodebian:stretch-non-free \
--pkg-manager=apt \
--fsl version=6.0.1 \
--user=neuro \
--workdir='/home/neuro'
}
generate docker > Dockerfile
| true |
79160e3c77286d8dabce47ac3a83c28a7cf23b24 | Shell | fga-eps-mds/2018.2-Integra-Vendas | /api/install-kubectl.sh | UTF-8 | 578 | 2.984375 | 3 | [
"MIT"
] | permissive | #install kubectl
apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
touch /etc/apt/sources.list.d/kubernetes.list
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list
apt-get upda... | true |
3734d78f4d5405be5dc751f1d46b53dc295359ca | Shell | lrobinot/dotfiles | /setup.sh | UTF-8 | 4,263 | 3.671875 | 4 | [] | no_license | #!/bin/bash
top=$(git rev-parse --show-toplevel)
#set -x
set -e
# Colors
ESC_SEQ="\e["
COL_RESET=$ESC_SEQ"39m"
COL_RED=$ESC_SEQ"31m"
COL_GREEN=$ESC_SEQ"32m"
COL_YELLOW=$ESC_SEQ"33m"
message() {
/bin/echo -e "\n${COL_GREEN}*** ${1}${COL_RESET}"
}
ok() {
/bin/echo -e "${COL_GREEN}[ok]${COL_RESET}"
}
running() {... | true |
607fca462de4648b717b9f6ecb65618bf97c43ac | Shell | dylanorion/xtract | /xtract_variant.sh | UTF-8 | 2,740 | 3.96875 | 4 | [] | no_license | #!/bin/bash
# -------- readme
# Name of script: rnxtract.sh
# Purpose: a pipeline to extract a gene of interest from cDNA
# Dependencies: hisat2, samtools, bcftools, and EMBOSS
# Author: Dylan O. Burge
# Contact: dylan.o.burge@gmail.com
# Last modified: 20 April 2017
# -------- setup
# make a directory for your run: ... | true |
b03f53b8aedd682ce76cf47d2916a657824d376b | Shell | ikubex/RR | /support/getResponses.sh | UTF-8 | 642 | 3.734375 | 4 | [] | no_license | #!/bin/bash
# $1 is $BODIES (basepath for where to find the file)
# $2 is filename of file in $BODIES (response from web page)
# $3 is $SCRIPTS_DATA (output directory for script content)
# $4 is $SCRIPTS_URL (output directory for urls of scripts
# shellcheck disable=SC2002
END_POINTS=$(cat "$1/$2" | grep -Eoi "src=\"[^... | true |
c24c88c2d014d9f9bfad1afacae73597737e0a2b | Shell | wpsharks/travis-ci | /src/docker/tests/wordpress | UTF-8 | 7,920 | 3.71875 | 4 | [] | no_license | #!/usr/bin/env bash
# Maybe install/configure WordPress.
if [[ -n "${CI_RUN_WP:-}" ]]; then
echo; # Double-space a new section.
echo '--- WordPress Installation Process -----------------------------------';
echo; # Space before WP-CLI output that follows.
# Remove existing `/app`.
rm --force --recursive ... | true |
5678aa70356bc6511690a0dcdc7b4da40e078ce3 | Shell | YoshikiShibata/gpl | /ch04/ex11/run.bash | UTF-8 | 821 | 3.0625 | 3 | [] | no_license | #!/bin/bash
# Copyright (C) 2016 Yoshiki Shibata. All rights reserved.
go list golang.org/x/crypto/ssh
if [ $? != 0 ]
then
echo "Installing golang.org/x/crypto/ssh ..."
go get golang.org/x/crypto/ssh
echo "Done"
fi
go build -o issue
if [ $? != 0 ]
then
exit 1
fi
echo ""
echo "Create Issue"
./issue -create -ti... | true |
9070c11793be43ec663160b938170f8747cce5a7 | Shell | petsc/petsc | /lib/petsc/bin/maint/findvisibleprivatefunctions | UTF-8 | 1,763 | 3.25 | 3 | [
"BSD-2-Clause"
] | permissive | #!/bin/sh
export PETSC_DIR=$PWD
export PETSC_ARCH=arch-fvpf
./configure --with-shared-libraries=1
make
LOGFILE=visibleprivatefunctions.lst
/bin/rm -f ${LOGFILE}
echo ========================================== > ${LOGFILE}
echo "Starting visibleprivatefunctions:" >> ${LOGFILE}
echo "`date +'%a, %d %b %Y %H:%M:%S %z'... | true |
b50dab80e4909398d54f4ff05447d10ec1b7cdcf | Shell | IvanciniGT/cursoProgramacionBash | /monitorizacion/servidores.sh | UTF-8 | 8,552 | 3.8125 | 4 | [] | no_license | #!/bin/bash
FICHERO_SERVIDORES=./servidores/servidores.db
function menu_servidores(){
menu --title "Gestión de servidores" \
--options "Alta de servidor|Baja de servidor|Modificar Servidor|Listado servidores" \
--functions "echo alta_servidor baja_servidor modificar_servidor listar_servidores" \... | true |
dcebd8d044287f57c5162bb17e7c6cdc18027c43 | Shell | charlesdunbar/europa | /run.sh | UTF-8 | 398 | 2.8125 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash -e
if [ -z "$EUROPA_CONFIG" ]; then
EUROPA_CONFIG=EuropaConfig.json
fi
export STAGE=beta
DEPS_CLASSPATH=`cat target/.classpath`
CLASSPATH=target/classes/:$DEPS_CLASSPATH
JVM_ARGS="-Duser.timezone=UTC -Xmx2000M -Xms2000M"
$JAVA_HOME/bin/java $JVM_ARGS -cp $CLASSPATH com.distelli.europa.Europa --stage b... | true |
b5db6c92f5d9a924f4c1b27aad4c1469dfbb1c7f | Shell | hpcc-docker-kubernetes/HPCC-Docker | /config_hpcc.sh | UTF-8 | 4,916 | 3.578125 | 4 | [] | no_license | #!/bin/bash
SCRIPT_DIR=$(dirname $0)
function get_roxie_ips()
{
max_index=${MAX_ROXIE_INDEX}
[ -z "$max_index" ] && max_index=20
touch roxie_ips.txt
for i in $(seq 1 $max_index)
do
ip=$(getent hosts hpcc-roxie_${i} | cut -d' ' -f1)
[ -n "$ip" ] && echo "${ip}" >> roxie_ips.txt
done
}
fu... | true |
83a9066254b499762f5d1f8860bdf66c5ef4c38e | Shell | dsreenivasulu/archive-analysis | /hadoop-streaming/wats/generate-wat-job-local-arcs.sh | UTF-8 | 1,090 | 4.0625 | 4 | [] | no_license | #!/usr/bin/env bash
# Author: vinay
# Runs a Job to generate WAT files for ARC files stored in a local directory.
if [ $# != 2 ] ; then
echo "Usage: TOOL <LOCALARCDIR> <LOCALWATDIR>"
echo "LOCALARCDIR: LOCAL directory location containing ARC files"
echo "LOCALWATDIR: LOCAL directory location for the resul... | true |
3289fe6142c6835a9f5a3fbd2270bf2cdcfe1bb8 | Shell | great-fork/tmoe-linux | /share/old-version/tools/gui/startxsdl | UTF-8 | 3,392 | 3.4375 | 3 | [] | no_license | #!/usr/bin/env bash
###################
export DISPLAY=127.0.0.1:0
export PULSE_SERVER=tcp:127.0.0.1:4713
AUTO_START_DBUS=true
###############
TMOE_LINUX_DIR='/usr/local/etc/tmoe-linux'
TMOE_GIT_DIR="${TMOE_LINUX_DIR}/git"
TMOE_TOOL_DIR="${TMOE_GIT_DIR}/share/old-version/tools"
XSESSION_FILE='/etc/X11/xinit/Xsession'
... | true |
6927b522fc6cd6a78de6778874d4a9beb9b745f9 | Shell | outtersg/guili | /util.guili.compil.sh | UTF-8 | 2,760 | 3.4375 | 3 | [
"MIT"
] | permissive | #!/bin/sh
# Copyright (c) 2011,2020 Guillaume Outters
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, m... | true |
ba8e344ce8eacce34cfd8b68ba810fa0d66b8036 | Shell | drtoast/dotfiles | /bash/aliases.sh | UTF-8 | 244 | 2.546875 | 3 | [] | no_license | case `uname` in
Linux)
alias ls='ls --color=auto'
;;
esac
alias ll='ls -al'
# Git
alias gds='git diff --staged'
alias gs='git status -sbu'
alias git-delete-merged='git branch --merged | egrep -v "(^\*|master)" | xargs git branch -d'
| true |
97f9f082c494312f41284a9aedffa5ecf5e40eb5 | Shell | rberg2/ci-management | /jjb/fabric/shell/include-raw-buildimages-on-tag-only.sh | UTF-8 | 1,375 | 2.921875 | 3 | [] | no_license | #!/bin/bash -eu
set -o pipefail
rm -rf ${WORKSPACE}/gopath/src/github.com/hyperledger/fabric
mkdir -p ${WORKSPACE}/gopath/src/github.com/hyperledger/fabric
WD="${WORKSPACE}/gopath/src/github.com/hyperledger/fabric"
FABRIC_REPO_NAME=fabric
cd ${WORKSPACE}/gopath/src/github.com/hyperledger/$FABRIC_REPO_NAME
git clone g... | true |
c18669c13571b7006ffa5bf07c1a3fc71e31d9f6 | Shell | touist/touist | /.github/workflows/win-install-yices2.sh | UTF-8 | 797 | 2.625 | 3 | [
"MIT"
] | permissive | #! /bin/sh
set -x
set -e
HOST=x86_64-w64-mingw32
opam install -y ocamlfind
if ! opam exec -- ocamlfind query yices2; then
curl -L https://github.com/maelvls/ocamlyices2/releases/download/v0.0.4/gmp-6.2.1-static-x86_64-w64-mingw32.tar.gz | tar xz
libgmp=$PWD/gmp-6.2.1-static-x86_64-w64-mingw32/libgmp.a
e... | true |
91d0a4d55069eda908a865d8e3323be0fa430ad3 | Shell | SymbioticLab/Kayak | /scripts/run-tenant-scalability | UTF-8 | 3,812 | 3.421875 | 3 | [] | no_license | #!/bin/bash
#
# Copyright (c) 2018 University of Utah
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR... | true |
c916ab51d8f031583f04496c14afe9e6901113a2 | Shell | gnarf/node-web-git-proxy | /build-command.sh.template | UTF-8 | 400 | 2.703125 | 3 | [
"MIT"
] | permissive | #!/bin/bash -x
{
set -e
if test -f package.json ; then
npm --no-color prune
npm --no-color install
npm --no-color update
fi
if test -f grunt.js ; then
grunt --no-color --gruntfile grunt.js
elif test -f Gruntfile.js ; then
grunt --no-color --gruntfile Gruntfile.js
elif test -f Makefile ; then
make
el... | true |
ee32e89c75340c1fefbbbc7131fdb129d731bc01 | Shell | cbolk/OfficeMonitoring | /rpi/scripts/pushsensors10m.sh | UTF-8 | 498 | 2.71875 | 3 | [] | no_license | #!/bin/bash
#
set -e
if [ -a /home/pi/scripts/transfer.ok ]; then
python /home/pi/scripts/gensqlsensordata.py /home/pi/repository/LOG.txt > /home/pi/repository/sensordata.sql
rm /home/pi/scripts/transfer.ok
else
python /home/pi/scripts/gensqlsensordata.py /home/pi/repository/LOG.txt >> /home/pi/repository/sensordat... | true |
3dba89b47ee5a7f1638e4ae661ada9f99d2414bf | Shell | xdc0209/kiwi_linux_optimizer | /01_configure_linux/03_enhance_bash_history/bash_history.bashrc.sh | UTF-8 | 1,399 | 2.84375 | 3 | [
"MIT"
] | permissive | # ----------------------------- kiwi bash history start ---------------------------------
# 保证新登录的用户不会显示上一个用户的最后一条命令。##
echo "#### New USER LONGIN ####" >>~/.bash_history
# 使用readonly,防止有经验的用户使用覆盖的方式的恶意绕过历史命令记录。##
readonly HISTFILESIZE=9999
readonly HISTSIZE=9999
# 清空HISTCONTROL变量,禁用前导空格不记录功能。##
readonly HISTCONTROL="... | true |
ba5a0f8f25a5a786359bf5702c10748e29f98ea6 | Shell | rafaelchavesfreitas/teste1 | /dev-scripts/start-dev.sh | UTF-8 | 1,364 | 3.828125 | 4 | [] | no_license | #!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CDIR=$( pwd )
cd $DIR
BUILD="0"
DOWN="0"
SLEEP_TIME="0"
if [ ! -d "../docker-data/postgres" ]; then
SLEEP_TIME=15
fi
for i in "$@"
do
case $i in
-b|--build)
BUILD="1"
shift
;;
-d|--down)
DOWN="1"
shi... | true |
16b8a8cb4084c51a717cd3fab19f0e2f19d02fe9 | Shell | bmangesh/CIS_Benchmarks | /CIS_Ubuntu_18.04.sh | UTF-8 | 41,098 | 3.5 | 4 | [] | no_license | #!/bin/bash
Author: Mangesh Bharsakle
###############################
# CIS Benchmark FOR Ubuntu 18.04
###############################
WIDTH=79
CIS_LEVEL=1
INCLUDE_UNSCORED=0
WIDTH=79
if [ $CIS_LEVEL -gt 1 ];then
RESULT_FIELD=10
else
RESULT_FIELD=6
fi
MSG_FIELD=$(($WIDTH - $RESULT_FIELD))
RED=$(tput setaf 1)
GREEN=... | true |
7f3949593a69b7a8b3a503d96aca95e0423ce299 | Shell | jaganmskcc/NGS_scripts | /GATK_pipeline_v2_part2.sh | UTF-8 | 9,189 | 3.234375 | 3 | [] | no_license | #!/bin/bash
#
# all submission arguments here
########################################################################################################
# PART 2: From raw basecalls to GATK-ready reads
########################################################################################################
## Recalibra... | true |
c7ff9e5a224eb6f0f19fd3ad2bde64ef62962fb0 | Shell | kondziu/gritty-scripts-of-death | /bash/convert_directory | UTF-8 | 1,553 | 4.5 | 4 | [] | no_license | #!/bin/bash
# Convert directory
#
# Convert text files in the directory from one encoding to another,
# all in a simple GUI. Converts between UTF-8 and WINDOWS-1250.
#
# Requires:
# zenity
# iconv
# Author:
# Konrad Siek
# Get directory to convert files in
directory=$(\
zenity \
--file-selection \
--director... | true |
4ca36e2dffe07564288eeaa9282d28a44d6461b7 | Shell | sdwlig/keaton | /tools/recache | UTF-8 | 793 | 3.046875 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash
FIND=find
# On MacOSX, using: brew install findutils
if [ -f /usr/local/opt/findutils/libexec/gnubin/find ]; then
FIND=/usr/local/opt/findutils/libexec/gnubin/find
fi
cd nginx 2>/dev/null
##!/usr/bin/env node
# var fs = require('fs');
# eval(fs.readFileSync('recache.js')+'');
if [ ! -d node_modules ]... | true |
ac33f7f4ed0b45b6db1683a968824b9a6eee13a3 | Shell | ericgj/cloudrun-monorepo-test | /bin/init | UTF-8 | 338 | 2.671875 | 3 | [] | no_license | #!/usr/bin/env bash
set -eou pipefail
# Note: only run when initializing the project for the first time.
# If you are cloning an existing repo, run init-clone.
echo "Creating development virtualenv..." >&2
bin/init-virtualenv
echo "Initializing GCP project..." >&2
bin/init-project
echo "Creating base images..." >&2... | true |
5466aadd22f9510425e9f16ed2de32a479902e8b | Shell | jorgealcubilla/Master-Data-Science | /Shell/Master_class_03v7_pag01_CSV.sh | UTF-8 | 405 | 2.734375 | 3 | [] | no_license | #!/bin/bash
# Shell script: section#1
# 1. Create a script that accepts a CSV filename as input ($1 inside your script) and returns the model of the
# aircraft with the highest number of engines. (use it on ~/Data/opentraveldata/optd_aircraft.csv)
FILE="$1"
csvsort -d '^' -c nb_engines -r $FILE | csvgrep -c nb_engi... | true |
ec2a13c2e0cbc4780b0bcfcf494b5f523e143eaa | Shell | hmrc/assets-frontend | /server.sh | UTF-8 | 645 | 3.9375 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
output() {
printf "\n$1\n"
}
deps() {
echo "Checking for dependencies..."
npm install
}
if [[ -n $1 ]]; then
case "$1" in
"dev") deps && output "Starting gulp in dev mode..."
npm run dev:all
;;
"release") deps && output "Starting gulp release task..."
npm run release
;;
"te... | true |
42e018c0810b3093bccbc9c6f2c885bf465c2b39 | Shell | fosslinux/gophernicus | /debian/postinst | UTF-8 | 1,136 | 3.59375 | 4 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | #!/bin/sh
#DEBHELPER#
# Source debconf library.
. /usr/share/debconf/confmodule
# Configuration
HOSTNAME="`hostname`"
ROOT=/var/gopher
PACKAGE=gophernicus
LOGDIR=/var/log/$PACKAGE
LIBDIR=/usr/lib/$PACKAGE
BINARY=gophernicus
DEFAULT=/etc/default/$PACKAGE
USER=nobody
# Get hostname from debconf
db_get gophernicus/fqd... | true |
960c1da10da9083ad30577ef7f82c8457ef29b24 | Shell | stevekonikov/woop.us | /watch.sh | UTF-8 | 409 | 2.828125 | 3 | [] | no_license | #!/bin/bash
git-watch \
--url=http://git.watch/github/ScalaWilliam/woop.us \
--push-execute='
ref="%ref%"
if [ "$ref" = "refs/heads/master" ]; then
cd /home/ws/woop.us &&
git pull origin $ref &&
cd out &&
git pull origin gh-pages &&
rm -rf ./* &&
cd .. &&
php generator.php &&
cd out &&
git add -A . &&
git commit -a -m... | true |
73d13b8283cf8c4ff41afb2910769235c12d1009 | Shell | S2E/testsuite | /basic3-linux-kernel-cov/fix-config.sh | UTF-8 | 334 | 2.625 | 3 | [
"MIT"
] | permissive | #!/bin/sh
set -e
echo "Patching s2e-config.lua..."
PROJECT_NAME="$(basename $PROJECT_DIR)"
cat << EOF >> $PROJECT_DIR/s2e-config.lua
pluginsConfig.ModuleExecutionDetector = {
mod_0 = {
moduleName = "vmlinux",
},
logLevel="info"
}
EOF
cat << EOF >> $PROJECT_DIR/bootstrap.sh
${S2ECMD} flush_tbs
... | true |
93ee09c185e181d9576837754ada19b8a1dc9bd4 | Shell | binun/italy | /docker/runReplicas.sh | UTF-8 | 588 | 3.09375 | 3 | [] | no_license | #/bin/bash -i
source ./platforms.sh
for platform in "${platforms[@]}"
do
dbidfile=$platform.txt
dbid=$(cat $dbidfile)
echo "Running intercepting agent $dbidfile"
docker exec $dbid sh -c "java -jar /interceptor.jar $platform" &
done
#sleep 1;
docker ps -f 'name=replica_' | awk '{print $1}' | grep -v 'CONT... | true |
6d9d215d630dc042e0de3739e2833b449c8c2514 | Shell | kashu/website.backup | /backup.my.website.sh | UTF-8 | 749 | 3.546875 | 4 | [] | no_license | #!/bin/bash
#Author: kashu
#Date: 2018-01-21
#Filename: website.backup.sh
#Description: Backup my website and upload to dropbox.com
BAK=/root/backup
LOG=${BAK}/bak.log
DATE=`date +%Y%m%d`
if [ -s "/backup/${DATE}.tar.xz" -a -s "/backup/${DATE}.sql.xz" ]; then exit; fi
tar -Jcvpf ${BAK}/${DATE}.tar.xz /var/www/html/kas... | true |
f01fa353adca11d8210dbd2ba1a5a2697835e435 | Shell | gsgatlin/optimus-rpms | /bumblebee/sources/bumblebeed.svinit | UTF-8 | 883 | 4.03125 | 4 | [] | no_license | #!/bin/sh
#
# : bumblebeed,v 1.0 2012/05/06 gsgatlin
# Startup script for the bumblebeed daemon, RedHat style.
#
# chkconfig: - 50 10
# description: Bumblebee supporting nVidia Optimus cards
. /etc/init.d/functions
NAME=bumblebeed
BIN='/usr/sbin/bumblebeed'
[ -x "$BIN" ] || exit 1
RETVAL=0
start(){
echo -n $"... | true |
40d0d728c7075f8e1ff21c6fbe59dd976bdc0396 | Shell | zaiah/vmsuite | /vmdefaults.sh | UTF-8 | 3,785 | 3.75 | 4 | [] | no_license | #!/bin/bash -
#-----------------------------------------------------#
# vmdefaults.sh
#
# Set all the defaults for different elements of nodes.
#
# ---------
# Licensing
# ---------
#
# Copyright (c) 2013 Vokayent
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and... | true |
a1733a7846fe3c4e6fc79c02d4cb36e7587a2cc6 | Shell | kdoroschak/seqc | /scripts/seqc_pipeline.sh | UTF-8 | 3,162 | 4.15625 | 4 | [] | no_license | #!/bin/bash
# Run as ./seqc_pipeline.sh <output directory> <accessions file>
# ex: ./seqc_pipeline.sh ~/nobackup/AGR_A_1 A_accessions/AGR_A_1_accessions.txt
# Other notes:
# I installed samtools at: ./software/tophat-2.1.0.Linux_x86_64/samtools_0.1.1
# It seems like I must have had to get the binaries through the t... | true |
658d6bf7ad13d2ad3782c7e4a2f26fb5101f0ff6 | Shell | fluxoti/php | /7.2/web/entrypoint.sh | UTF-8 | 434 | 2.953125 | 3 | [] | no_license | #!/bin/bash
sudo sed -i -e "s/memory_limit = 128M/memory_limit = 512M/g" /etc/php7/php.ini
sudo sed -i -e "s/pm.max_children = 5/pm.max_children = 30/g" /etc/php7/php-fpm.d/www.conf
echo "Aliasing $FRAMEWORK"
sudo ln -s /etc/nginx/sites/$FRAMEWORK.conf /etc/nginx/sites/enabled.conf
# Starts FPM
nohup /usr/sbin/php-f... | true |
a26d5dbb7b5ab0920eda5f6d3fa14dcd00378071 | Shell | KevinHines13/hcDNN | /setup.sh | UTF-8 | 167 | 2.5625 | 3 | [
"MIT"
] | permissive | #! /bin/sh
BUILD_DIR=build
CUDNN_PATH=${HOME}/cudnn
if [ ! -d ${BUILD_DIR} ]; then
mkdir ${BUILD_DIR}
fi
cd ${BUILD_DIR}
CXX=hcc cmake -DCMAKE_BUILD_TYPE=debug ..
| true |
62eb74c77f33738ad5717602ccc0f28a4d33be26 | Shell | micheam/go-astviewer | /resources/genfontimage.sh | UTF-8 | 113 | 2.53125 | 3 | [] | no_license | #! /usr/bin/env bash
set -eu
for ttf in `ls *.ttf`;do
fontimage $ttf --o fontimages/$ttf.png --fontname
done
| true |
1babea4662bb57473633a55b98da5317212f0ed1 | Shell | hy0kl/pspider | /shell/control.sh | UTF-8 | 6,261 | 3.015625 | 3 | [] | no_license | #!/bin/sh
# author: hy0kle@gmail.com
# date: 2012.03
# version: 0.1
# use SHIFT + 5, ^_*
# parse data, find really new song by shell.
#set -x
Usage="$0 <runtype:start|stop|parse>"
if [ $# -lt 1 ];then
echo "$Usage"
exit 1
fi
runtype=$1
if [ "$runtype" != "start" ] && [ "$runtype" != "stop" ] && [ "parse" != ... | true |
3aa05814b59d0b3c147016ab4f5323ed4dd89831 | Shell | aur-archive/ktap-git | /PKGBUILD | UTF-8 | 1,132 | 2.859375 | 3 | [] | no_license | pkgname=('ktap-git')
true && pkgname=('ktap-git' 'ktap-utils-git')
pkgrel=1
pkgver=20130522
pkgdesc='KTAP kernel module and userpace tool'
arch=('i686' 'x86_64')
url='https://github.com/ktap/ktap'
license=('GPL')
makedepends=('git')
md5sums=('SKIP')
_gitname='ktap'
source="$_gitname::git+https://github.com/ktap/ktap.gi... | true |
27ca3b029887f9657d813066d778484453e8f507 | Shell | spaceuptech/docker-runtimes | /web-app/start.sh | UTF-8 | 369 | 3 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/sh
mkdir public
mkdir -p "public$PREFIX"
echo "Downloading the package ..."
wget --header "Authorization: Bearer $REGISTRY_TOKEN" -O file.zip "$REGISTRY_URL/v1/registry/deployment/$PROJECT/$NAME.zip"
echo "Done!"
echo "Extracting archive ..."
unzip -u file.zip -d "public$PREFIX"
rm file.zip
echo "Done!"
echo "Ho... | true |
ec44c21758981366eb364eb21fb4d2842dedc862 | Shell | lorenzo-deepcode/buildit-all | /artifact-fetcher/pipeline.sh | UTF-8 | 1,723 | 3.953125 | 4 | [] | no_license | setUpGit() {
git config --local user.name "$GIT_USERNAME"
git config --local user.email "$GIT_EMAIL"
}
build() {
gradle build
}
deploy() {
gradle bintrayUpload -PbintrayUser=buildit -PbintrayKey=$BINTRAY_TOKEN -PdryRun=false
}
bump() {
setUpGit
git checkout master
setProperty version $(incrementV... | true |
f350e0fdd04c26f9f07e0ebb7d0dcde81bd20c8d | Shell | mr-south-guo/rde-env-lnx | /env/template/terminal | UTF-8 | 1,290 | 3.65625 | 4 | [
"MIT"
] | permissive | #!/bin/bash
# This will get the `true` script's path, not the symlink's
SCRIPTFULLPATH=$( readlink -f "$0" )
# Use this script's name as the action.
# Note: Using `basename` allows instead of ${SCRIPTFULLPATH##*/} allows getting symlink name
RDE_ENV_ACTION=$(basename "$0")
# The root directory of this env.
RDE_ENV_H... | true |
a4c6c4c2febff243a754ee94131882178b127bf8 | Shell | penginmura/iosdc18-cfp-search | /bin/deploy-local-k8s.sh | UTF-8 | 1,019 | 2.96875 | 3 | [
"MIT"
] | permissive | #!/bin/bash
cd `dirname $0`
#
# Build docker images
#
docker build -t iosdc-web ../web
docker build -t iosdc-nginx ../nginx
docker build -t iosdc-scraper ../scraper
docker build -t iosdc-scraper-patch ../scraper-patch
#
# Cluster
#
# volume
VOLUME_PATH="$(cd ../; pwd)/tmp/volume"
sed -i '.bak' "s|{{VOLUME_PATH}}|... | true |
f713d7e531a26c45a3932ba852441c950af195a2 | Shell | Biocodings/hlaTyper | /data/comparison/bin/Run_hlaminer.sbatch | UTF-8 | 4,109 | 3.375 | 3 | [] | no_license | #!/bin/sh -e
#SBATCH --time=14:00:00
##SBATCH --time=30:00:00
##SBATCH --time=60:00:00
#SBATCH --mem=16gb
#SBATCH --job-name=hlaminer
###SBATCH --out out/hlaminer.out
#SBATCH --out out/hlaminer_%A_%a.out
echo $SLURM_JOBID
############################################################
# NOTE: needed to alter parseXMLbla... | true |
1e5a86a86bf5c01ec4fe5f2ece24d240e5ba5556 | Shell | hinamae/shell | /no131 | UTF-8 | 466 | 3.421875 | 3 | [] | no_license | #!/bin/bash
#メニュープロンプト文の定義
PS3='Menu: '
#メニュー表示の定義 メニューの各項目はinはのリストとして指定する
#$itemには選択されたリストの文字列が、$REPLYには入力された整数値が代入される
select item in "list file" "current directory" "exit"
do
case "$REPLY" in
1)
ls
;;
2)
pwd
;;
3)
exit
;;
*)
echo "ERROR: unknown command"
;;
esac
echo
done
| true |
420221919de033833453fdadb2e896b98d0221d9 | Shell | Ciantic/microservices-and-kubernetes-experiments | /04-knative/start.sh | UTF-8 | 792 | 3.171875 | 3 | [] | no_license | #!/bin/bash
set -e
# This has to be the most awful way to install any software, usually it doesn't
# work, if it does it takes literally 15 minutes or more for the pods to settle.
# And all for hello world?
# Setup
kind create cluster --config kube-config.yaml
export KUBECONFIG="$(kind get kubeconfig-path --name="ki... | true |
3cb31207c7797de5017f878d0bb3b1536df02069 | Shell | tmack91/Sysadmin-Solaris | /ilom-netconfig.sh | UTF-8 | 978 | 3.671875 | 4 | [
"Apache-2.0"
] | permissive | #!/usr/bin/ksh
#
# Print the network configuration of the ILOM
#
# robert.will.brown@gmail.com - 16/Apr/209
PATH=/usr/sbin:/usr/bin
LED="sys.locate.led"
if [ ! -x /usr/sbin/ipmitool ]; then
echo "No ipmitool"
exit 1
fi
if [ "`uname -p`" != "i386" ]; then
echo "platform `uname -p` not supported"
exit 1
fi
SYS_CON... | true |
0aede9dbbb60048e764723ebaccd2db88240e908 | Shell | hschne/reveal.js-starter | /bootstrap.sh | UTF-8 | 991 | 4.28125 | 4 | [
"MIT"
] | permissive | #!/usr/bin/env bash
set -e
main() {
local name;
if [[ ! -z $1 ]]; then
name=$1
else
printf "Please specify a name for your presentation: "
read -e -r name;
echo ""
fi
[[ -z name ]] && die "The presentation name must not be empty"
msg "Cloning Reveal.js Starter..."
git clone "https://g... | true |
6d7889be4783715e7fb69f9ce2edc9e201a9fa4e | Shell | albertoesmp/vimrc | /theme/install.sh | UTF-8 | 763 | 3.40625 | 3 | [] | no_license | #!/bin/bash
# -----------------------------------------------
# Author: A. M. Esmoris
# Script to install the XFCE4 simple dark theme
# -----------------------------------------------
# -------------- #
# --- VARS --- #
# -------------- #
THEME_FOLDER='Xfce-Simple-Dark-10'
THEME_ZIP='Xfce-Simple-Dark-v10.zip'
THEM... | true |
c23efd0074e50f0f2f7277000b45a116bc030833 | Shell | burlen/llvmpipe-bench | /longhorn/data/pslic-scaling.sh | UTF-8 | 2,832 | 2.90625 | 3 | [] | no_license | #!/bin/bash
ACCT=TG-STA110013S
export PV_HOME=/scratch/01237/bloring/ParaView/next/PV
module swap mvapich2 mvapich2/1.4
module load python/2.6.5
function submit {
local jobname=$PV_JOBNAME
local logfile=$PV_LOGFILE
local queue=normal
local f="/some/file"
local over_limit=1
local match=0
local njobs=0
... | true |
e178a610da42f7a9133f6234ee2d6215a4d02f42 | Shell | ilventu/aur-mirror | /cgminer-git-adl/PKGBUILD | UTF-8 | 2,786 | 2.859375 | 3 | [] | no_license | # Maintainer: deusstultus <deusstultus@gmail.com>
# Contributor: deusstultus < deusstultus@gmail.com >
# Derived from cgminer-git package http://aur.archlinux.org/packages.php?ID=58194
_pkgname=cgminer
pkgname=cgminer-git-adl
pkgver=20120709
pkgrel=1
pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, fo... | true |
58e3cb0d71304ce83e715b39369ae687827d801a | Shell | sb15/server-config | /config/cmd/cmd.sh | UTF-8 | 6,145 | 3.25 | 3 | [] | no_license | #!/bin/bash
NC='\033[0m'
DEFAULT_COLOR='\033[0;39m'
BLACK_COLOR='\033[0;30m'
RED_COLOR='\033[0;31m'
GREEN_COLOR='\033[0;32m'
YELLOW_COLOR='\033[0;33m'
BLUE_COLOR='\033[0;34m'
MAGENTA_COLOR='\033[0;35m'
CYAN_COLOR='\033[0;36m'
LIGHT_GRAY_COLOR='\033[0;37m'
DARK_GRAY_COLOR='\033[0;90m'
LIGHT_RED_COLOR='\033[0;91m'
LIGHT... | true |
065393ba53404f8a90e4dcd8176bb7dd599f3713 | Shell | barrygolden/JuliaBox | /scripts/install/mount_fs.sh | UTF-8 | 3,058 | 4.21875 | 4 | [
"MIT"
] | permissive | #! /usr/bin/env bash
# Mount JuliaBox loopback volumes
if [ $# -ne 4 ]
then
echo "Usage: sudo mount_fs.sh <ndisks> <ds_size_mb> <fs_user_id> <ebs(0/1)>"
exit 1
fi
if [ "root" != `whoami` ]
then
echo "Must be run as superuser"
exit 1
fi
NDISKS=$1
FS_SIZE_MB=$2
ID=$3
HAVE_EBS=$4
echo "Creating and mounti... | true |
9a5d056d39cbdb5354051a2ac18d561b8f457b5d | Shell | bazo-blockchain/lazo | /hooks/pre-commit | UTF-8 | 255 | 3.546875 | 4 | [
"MIT"
] | permissive | #!/bin/sh
# Format the staged Go files only
for i in $(git diff --name-only --cached --diff-filter=d | grep ".go"); do
formattedFile=$(gofmt -l -w -s "$i")
[[ -z "$formattedFile" ]] || echo "Auto formatted: $formattedFile"
git add "$i";
done; | true |
da4209681a71cb4397e688e899ca0438bbdb2b46 | Shell | pajamapants3000/LFS_scripts | /files/profile.d/bash_envar.sh | UTF-8 | 403 | 2.578125 | 3 | [
"MIT"
] | permissive | #
# /etc/profile.d/bash_envar.sh
# All environment vars that should always be made available
KDE_PREFIX=/opt/kde
KF5_PREFIX=/opt/kf5
LXQT_PREFIX=/opt/lxqt
LXQTDIR=/opt/lxqt
RAZORQT_PREFIX=/opt/razorqt
RAZORQTDIR=/opt/razorqt
EDE_PREFIX=/opt/enlightenment
EDEDIR=/opt/enlightenment
QT4DIR=/opt/qt4
QT5DIR=/opt/qt5
# The... | true |
4d13241a37503a5cd286021a5973492803731f90 | Shell | PoonNgeonPoonThong/mobile-toolkit | /android/acheckdevice | UTF-8 | 5,436 | 3.359375 | 3 | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | #!/bin/bash
LOCATION=$(dirname "$0")
source "$LOCATION"/../common_tools
GSM_URL='https://www.gsmarena.com/res.php3?sSearch='
echo_info(){
MANUFACTURER=$(adb -s "$SELECTED_DEVICE" shell getprop ro.product.manufacturer | tr -cd '[[:alnum:]]._-')
MODEL=$(adb -s "$SELECTED_DEVICE" shell getprop ro.product.model | tr ... | true |
5925f6417f420cf0094e784a3d154231a01e7a0b | Shell | Fourstick/LearnStuff | /Scripts/processCheck.sh | UTF-8 | 351 | 3.59375 | 4 | [] | no_license | #!/bin/bash
### checking if the Process Running in the background Or not
ERR_EXIT_CODE=105623
read -p "Please enter the Process which is Running in the Background..." PATTERN
tmp=`ps -ef | grep $PATTERN`
echo -e "\t ${tmp}"
for ele in ${tmp}
do
if [[ ! -z $ele ]]
then
echo " ${ele}"
else
echo "No Such ... | true |
b6e1f036fa281fe2d262724e77a1c6c12ace56ac | Shell | VerKnowSys/ServeD | /bin/ignitersinstall | UTF-8 | 319 | 3.0625 | 3 | [] | no_license | #!/bin/sh
default_igniters_dir="/Users/Common/Igniters"
if [ ! -d "${default_igniters_dir}" ]; then
mkdir -p "${default_igniters_dir}"
else
printf "Igniters directory exists."
fi
echo "Installing SvdService Igniters to ${default_igniters_dir}"
cp -vr $(pwd)/basesystem/universal/* ${default_igniters_dir}/
| true |
7c374203660da581d88018b2b59647bafc6beabc | Shell | david-hill/wolfe | /var/lib/jenkins/reproducer/reproduce_rhosp13.sh | UTF-8 | 1,102 | 2.828125 | 3 | [] | no_license | type=official
#type=internal
lockedrhelrelease=0
cd /var/lib/jenkins/cloud/
rc=$?
if [ $rc -eq 0 ]; then
# git checkout 13.0
echo
rc=$?
if [ $rc -eq 0 ]; then
sed -i 's/rhel=.*/rhel=7.9/g' setup.cfg.local
rc=$?
if [ $rc -eq 0 ]; then
sed -i "s/lockedrhelrelease=.*/lockedrhelrelease=0/g" setup.c... | true |
d7537a41ffd9873dad89777b786a1ef1e59bfd2c | Shell | fperignon/siconos | /Build/tools/create-all-in-one-source.sh | UTF-8 | 1,341 | 4.15625 | 4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | #!/bin/sh
case $1 in -x) set -x; shift ;; esac
#set -e
#set -x
# Usage :: cd /path/to/siconos; sh Build/tools/create-source-pkg.sh;
# archives are created in DESTDIR = BASE_DESTDIR-VERSION
# You can tune the BASE_DESTDIR variable
# You have to checkout at the right git branch/commit/tag
if [ "$#" -ne 1 ]; then
echo... | true |
22e3e425005d328063d396ed13787b06e918e486 | Shell | TheGolurk/learning | /bash/dbtables.sh | UTF-8 | 114 | 2.9375 | 3 | [] | no_license | #!/bin/bash
DBS=`mysql -uroot -e"show databases"`
for b in $DBS ;
do
mysql -uroot -e"show tables from $b"
done
| true |
f2421959398c39a1446890eba21d19d0b9f80e0b | Shell | fleutot/homebin | /monitor_laptop_set.sh | UTF-8 | 666 | 3.390625 | 3 | [] | no_license | #!/bin/bash
echo "monitor_laptop_set" > /tmp/xmonad.log
# Note no space before "connected", which means "disconnected" will also match.
ALL_MONITORS_STR=$(xrandr --current | grep "connected " | awk 'BEGIN { ORS = " "}; {print $1}' )
read -r -a ALL_MONITORS <<< "$ALL_MONITORS_STR"
for m in ${ALL_MONITORS[@]} ; do
... | true |
b5c269cb89c2efb6585a1d05ad467f67563f0ecb | Shell | SeanTheGuyThatAlwaysHasComputerTrouble/awips2 | /rpms/build/release/prepareWorkspace.sh | UTF-8 | 715 | 3.59375 | 4 | [] | no_license | #!/bin/bash
# Next, we need to prepare our workspace because Hudson does not have 'export' capability.
echo "INFO: Begin - Preparing Workspace"
# Remove all SVN metadata.
find ./ -name .svn -exec rm -rf {} \;
# There are a few projects we need to move around. We want all of the individual cave,
# cots, edexOsgi, nat... | true |
5c223b81b5d2abfce0495ef31d8cd9dbbc6715d2 | Shell | RemyKaloustian/EZConcurrency | /compile.sh | UTF-8 | 478 | 3.078125 | 3 | [] | no_license | ###########################
# Compilation program #
# author : @CésarCollé #
###########################
#PATH= "$( "$(dirname "$0")"/makefile && pwd)"
# make
# PATH_="$(cd "$(dirname "$0")"&&pwd)"/
# pwd
# cd $PATH_ && make clean
# cd $PATH_ && make
if [ "$1" = "debug" ]; then
make clean
make ARG=-DDEBUG... | true |
9a4c83e3e631f36dea1e616716ca0c2b40bb0891 | Shell | GusBricker/fancy-sauce | /install_later | UTF-8 | 1,856 | 4.3125 | 4 | [
"MIT"
] | permissive | #!/bin/bash
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${DIR}/include/common.sh
function Usage()
{
cat <<-__EOF__
Usage: install_later <package> <install later script> <cache directory>
Sets up a package to be installed later in a given root file system.
This consists of downloading the package... | true |
0d6e9c648c7295fc7b07f2f624c59767e40a145f | Shell | MaleicAcid/in-situ-processing-datAcron | /scripts/deleteSimulatedStream.sh | UTF-8 | 682 | 3.046875 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash
# Get the bootstrap servers & toic name from the config.properties file
IFS=''
while read line
do
prop=$(echo $line | awk -F"=" '{print $1}')
set -- $prop
if [ $prop == "zookeeper" ]; then
zookeeper=$(echo $line | awk -F"=" '{print $2}')
set -- $zookeeper
fi
if [ $prop == "inputStreamTopicName" ... | true |
7bd88a4748c78ed32d5eca5809af2c45d3b1dd46 | Shell | CGrahamS/lifecollage-java-api | /src/main/shell/setup.docker.sh | UTF-8 | 1,015 | 3.796875 | 4 | [] | no_license | #!/bin/bash
#RUN AS ROOT!
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo "SETTING UP EC2 INSTANCE WITH DOCKER AND GIT"
#Update the installed packages and package cache
yum update -y
#Update the installed packages and package cache
yum upgrade -y
#Install git on the insta... | true |
79292202b4289eb94deb2aec9a4e6822a91ae4e5 | Shell | xionon/shell-provisioning | /postgresql/install.sh | UTF-8 | 283 | 3.171875 | 3 | [] | no_license | #!/usr/bin/env bash
set -e
echo "======INSTALLING POSTGRESQL"
if [ ! `which psql` ]
then
apt-get install -y postgresql postgresql-contrib postgresql-server-dev-all
sudo -u postgres createuser -s vagrant
# sudo -u postgres createdb -O vagrant book
else
echo "...skipping"
fi
| true |
0acc368e2f98ca5f2795598585ab740604678357 | Shell | sirdavesmith/javascript-cypress-automation-snippets | /cypress/ci-scripts/convert-test-results-to-html.sh | UTF-8 | 586 | 2.6875 | 3 | [
"MIT"
] | permissive | #!/bin/bash
# this is meant to be run from root dir
echo "converting test results to html..."
echo "BRANCH=$BRANCH"
ls -al cypress-test-results/$BRANCH/json
mkdir -p cypress-test-results/$BRANCH/json &&
mkdir -p cypress-test-results/$BRANCH/combined-json &&
npx mochawesome-merge@1.0.7 --reportDir cypress-test-results... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.