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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
7e10b587d16d67516874d1a05e732b7f7e566d85 | Shell | makker-nl/vagrant | /Stage/commonScripts/opensource/kubernetes/co7InstallKubectl.sh | UTF-8 | 738 | 3.484375 | 3 | [] | no_license | #!/bin/bash
SCRIPTPATH=$(dirname $0)
#
# Install kubectl.
# @author: Martien van den Akker, VirtualSciences.
#
# Taken from: https://kubernetes.io/docs/tasks/tools/install-kubectl/
#
KUBE_VER=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
KUBE_URL="https://storage.googleapis.com/kubern... | true |
ac78e32d8f03a7eca032ff539b1d85450954dcd7 | Shell | petronny/aur3-mirror | /fspc/PKGBUILD | UTF-8 | 1,957 | 2.5625 | 3 | [] | no_license | # Contributor: Kvasthval
pkgname=fspc
pkgver=1.0.1
_altver=1_0_1
pkgrel=1
pkgdesc="Configuration tool for Sentelic touchpads."
arch=('i686' 'x86_64')
url=http://sourceforge.net/projects/fsp-lnxdrv/
license=('GPL')
makedepends=('cmake')
depends=('wxgtk')
source=(http://downloads.sourceforge.net/fsp-lnxdrv/fsp-lnxdrv-$pk... | true |
1ec4ea13426e3cb7a2375fa96cd684c814c2f1bd | Shell | terlar/pkgbuilds | /terminal/python-click-threading/PKGBUILD | UTF-8 | 1,970 | 2.5625 | 3 | [
"MIT"
] | permissive | # Maintainer: eolianoe <eolianoe At GoogleMAIL DoT com>
_pkgname=click-threading
pkgname=("python-${_pkgname}" "python2-${_pkgname}")
pkgver=0.4.3
pkgrel=1
pkgdesc="Multithreaded Click apps made easy"
arch=("any")
url="https://pypi.python.org/pypi/${_pkgname}"
license=("MIT")
makedepends=("python-setuptools"
... | true |
a30713d1cd366e0db1e7528a8e65bd1a91819314 | Shell | WIZARD-CXY/shadow | /src/offlineTest.sh | UTF-8 | 528 | 3.1875 | 3 | [] | no_license | #!/bin/bash
# This shell script will be used as automatically off-line test
if [ $# == 0 ];then
echo "USAGE: $0 testfileName(must exist (relative path),normally end with \"_\")"
exit
fi
python ../svm/tools/checkdata.py "$1"
if [ $? != 0 ];then
echo "testset data format error.Please check.Now EXIT"
exit
... | true |
0e6d986dea840559ed060dd725a0664ac2394803 | Shell | Topopiccione/vTU | /bin/vTUstop | UTF-8 | 1,186 | 2.96875 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash
#
# virtual Transcoding Unit
# Author of this file: Marco Beccari, Alessandro Petrini
# Italtel and Universita' degli studi di Milano, 2015-6
#
##
#
# vTUstop
#
##
#source /home/alevirt/Virt/vTU/sys/vTUsetting
source /vTU/sys/vTUsetting
pidDaemon=$(pgrep $VTUDAEMON)
if [ "$pidDaemon" == "" ]
then
if [ !... | true |
0a761c5e58e9e483be66f081da26b9355530331a | Shell | djulian2001/env_module_builds | /builds/modules/make/minpath_module.sh | UTF-8 | 9,475 | 3.71875 | 4 | [] | no_license | ##########################
# variables
#############
status
6x -
7x -
software:
- minpath
dependencies:
-
information source:
- http://omics.informatics.indiana.edu/MinPath/readme.txt
downloads:
- http://omics.informatics.indiana.edu/mg/get.php?justdoit=yes&software=minpath1.2.tar.gz
-
instructions:
-
... | true |
1d5c2a492116f5121873aeeca43129690cb42012 | Shell | zhemao/hodgepodge | /autosync.sh | UTF-8 | 488 | 3.671875 | 4 | [
"MIT"
] | permissive | #!/bin/sh
if [ -z $2 ]; then
echo "Usage: $0 localdir remotedir"
exit 1
fi
LOCALDIR=$1
REMOTEDIR=$2
rsync -avz --delete $LOCALDIR $REMOTEDIR
EVENTS="CREATE,CLOSE_WRITE,DELETE"
oldtime=`date +%S`
inotifywait -mr -e $EVENTS $LOCALDIR | \
while read dir event file; do
time=`date +%S`
timediff=`echo "$ti... | true |
91576d83a8a1de9486393442947bbe4a87b6c022 | Shell | nlnwa/maalfrid-api | /build.sh | UTF-8 | 394 | 2.9375 | 3 | [
"Apache-2.0"
] | permissive | #!/usr/bin/env sh
COMMAND=docker
SECURITY_OPT=""
if command -v podman > /dev/null 2>&1; then
SECURITY_OPT="--security-opt label=disable"
COMMAND=podman
fi
# generate go language proto files using official grpc/go docker image
${COMMAND} run ${SECURITY_OPT} --rm -v "$(pwd)":/go/src/github.com/nlnwa/maalfrid-ap... | true |
0d51b16dff309cd4f30bc2f4156e5f85de0d4cbb | Shell | cyberlooper/OpenFLIXR2.OnlineUpdate | /updates/openflixr/ipaddress | UTF-8 | 270 | 2.671875 | 3 | [
"MIT"
] | permissive | #!/bin/bash
IP=$(hostname -I | awk '{print $1}')
echo "------------------------------------------"
echo -e "OpenFLIXR Media Server: \033[36mhttp://$IP \033[0m"
echo -e "Setup Web: \033[32mhttp://$IP/setup\033[0m"
echo -e "Setup SSH: \033[32msudo setupopenflixr\033[0m"
| true |
4257402e2ce0c5817aca03e3d5df9fa9fbf91917 | Shell | Cryolite/intro | /boost/latest.sh | UTF-8 | 832 | 3.734375 | 4 | [] | no_license | #!/usr/bin/env bash
intro_root=`(cd \`dirname "$0"\`; cd ..; pwd)`
grep -Fq fc2dbd90-33e2-4684-b0f9-15fcf98c5918 "$intro_root/boost/latest.sh"
set -e
urls=('http://www.boost.org/users/history/')
timeout=30
tempdir=`mktemp -d`
trap 'rm -rf "$tempdir"' ERR HUP INT TERM QUIT
for url in "${urls[@]}"; do
curl -m $tim... | true |
c5518ceb5a4ba0103f118241cf8df27b713548bf | Shell | dayroned/django-template | /compose/local/django/entrypoint.sh | UTF-8 | 791 | 3.359375 | 3 | [] | no_license | #!/bin/sh
python << END
import sys
import time
import psycopg
suggest_unrecoverable_after = 30
start = time.time()
while True:
try:
psycopg.connect(
dbname="${POSTGRES_DB}",
user="${POSTGRES_USER}",
password="${POSTGRES_PASSWORD}",
host="${POSTGRES_HOST}",... | true |
25be2453dac2cf89e2d14f95e42e916fade75fdd | Shell | GinPonson/Quicksql | /conf/base-env.sh | UTF-8 | 1,682 | 2.984375 | 3 | [
"MIT"
] | permissive | #!/bin/bash
# This file is sourced when running qsql programs
# Copy it as base-env.sh and edit it that to configure qsql
# Options read when launching programs
# export SPARK_HOME= # [Required] - SPARK_HOME, to set spark home for qsql running. qsql needs spark 2.0 or above.
# export JAVA_HOME= # [Required] - JAV... | true |
23f8daaa140cefa3d3b2e4552950d3ae751d5b8c | Shell | CaptSpify/Scripts | /wget_multiple_files.sh | UTF-8 | 134 | 3.265625 | 3 | [] | no_license | #!/bin/bash
if [ $# -ne 1 ]; then
echo 1>&2 "Usage: $0 parent-directory"
exit 127
fi
for FILE in "$@" ; do
wget "$FILE"
done
| true |
9056223acd72f3205259aa403c1fd7b7076a0dc4 | Shell | nistormihai/deploy_scripts | /deprecated/newscoop/tw_theme_checkout.sh | UTF-8 | 294 | 2.6875 | 3 | [] | no_license | #!/bin/sh
#default:
THEMES_BRANCH='dev-themes'
#for stable branch:
test "$BRANCH" = 'wobs-stable' && THEMES_BRANCH='stable-themes'
git clone ssh://git@stash.sourcefabric.org:7999/tw/tages-woche-themes.git themes ;
cd themes
git checkout "$THEMES_BRANCH" &&
git pull origin "$THEMES_BRANCH"
| true |
ada375e37b20c1bd51dcde6305d637964dc1d60d | Shell | Elhee11/phone_hacking_6 | /bin/dtrace-loop | UTF-8 | 287 | 2.953125 | 3 | [] | no_license | #!/bin/bash
if [ -z $DTRACE_LOOP_ITER_COUNT ]; then DTRACE_LOOP_ITER_COUNT=0; fi
echo Starting iteration $DTRACE_LOOP_ITER_COUNT
dtrace-wait "$@" | tee dtrace_loop_log_`date +%Y%m%d%H%M%S`_$DTRACE_LOOP_ITER_COUNT.log
DTRACE_LOOP_ITER_COUNT=$((DTRACE_LOOP_ITER_COUNT+1)) exec $0 "$@"
| true |
72025b6e77b0d9d2a03f294e78800ea84f3ffd29 | Shell | trueos/trueos-core | /package-files/core/usr/local/share/trueos/scripts/rmzfsdir.sh | UTF-8 | 562 | 4.0625 | 4 | [] | no_license | #!/bin/sh
# Script to remove a directory, and if on ZFS remove the dataset for it
# Source our functions
. /usr/local/share/trueos/scripts/functions.sh
dir="$1"
if [ -z "$dir" ] ; then
exit_err "Missing directory to remove!"
fi
if [ "$dir" = "/" ] ; then
exit_err "Refusing to remove /"
fi
if [ ! -d "$dir" ] ... | true |
ef9052c7af4ff76bfdc6854aa0794381741a37d6 | Shell | tebanSalas/TMS | /tms/installer/Scripts/schedulesMonthly.sh | UTF-8 | 710 | 2.578125 | 3 | [] | no_license | #! /bin/sh
# Schedules
# Verificacion de Agendas Mensual
# Modificado por: Giovanni Amir Leiton B 20081226
# Uso: Debe ejecutarse con el usuario donde se instal el Applicacion Server
# Usar el java del Applicacion Server
#Variables a definir
JAVA_HOME=/usr/lib/jvm/jdk1.5.0_14
APP_HOME=/u01/glassfish
INSTANCE_NAM... | true |
713bb48e6c38334b78cc64f95cd68fcc54734c62 | Shell | hackerlank/libpack | /pmpi-tests/runtests.sh | UTF-8 | 112 | 2.75 | 3 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | #!/bin/sh
TESTS=`ls test_* | grep -v '\.'`
for i in $TESTS; do
mpirun -np 2 ./$i 2>/dev/null
done
exit 0
| true |
982f0536ace1ec9557fd06066c203a819a1902a5 | Shell | soon14/StudyAfterSchool | /BigData/WeBank/Docker/linkis/eureka.sh | UTF-8 | 1,414 | 2.703125 | 3 | [] | no_license | ###
# @Author: wjn
# @Date: 2020-03-04 14:44:47
# @LastEditors: wjn
# @LastEditTime: 2020-03-04 14:45:02
###
##Eurkea install
SERVER_NAME=eureka
SERVER_IP=$EUREKA_INSTALL_IP
SERVER_PORT=$EUREKA_PORT
SERVER_HOME=$LINKIS_INSTALL_HOME
echo "$SERVER_NAME-step1: create dir"
if test -z "$SERVER_IP"
then
SERVER_IP=$l... | true |
0e0f0fd928d7bbf05b6a5e60384786b85f8c7170 | Shell | gopalrajpurohit/bashutils | /bin/gitutils/gitpullexistingbranches.sh | UTF-8 | 252 | 3.265625 | 3 | [] | no_license | #!/bin/bash -x
BRANCH=$1
if [ -z "${BRANCH}" ]; then
exit;
fi
git checkout master || exit
git checkout ${BRANCH} || exit
git pull --rebase origin ${BRANCH} || exit
git branch -u origin/${BRANCH} ${BRANCH} || exit
git push origin ${BRANCH} || exit
| true |
3d7055b1ff4b88ef17e1a5fba07b92a4fb561d7e | Shell | ktan2020/webos | /centaur-node/scripts/copy-apps.sh | UTF-8 | 345 | 2.75 | 3 | [] | no_license | #!/bin/sh
DEST="/usr/palm/applications"
cd ../test/apps
DIRS=$(ls)
#echo $DIRS
for D in $DIRS; do
N="$D.zip"
zip -r "$N" "$D"
novacom put file://"/tmp/$N" < $N
novacom run file://"/usr/bin/unzip -o /tmp/$N -d $DEST"
done
novacom run file://"/sbin/stop LunaSysMgr"
novacom run file://"/sbin/star... | true |
546dd46e25ef18f2a4e86d3a4544a90dd0f44b3f | Shell | jnordling/onadata | /ona_ubuntu_setup.sh | UTF-8 | 2,865 | 2.65625 | 3 | [
"BSD-2-Clause"
] | permissive | #!/bin/bash
# SetUp Script For
echo "----- Starting Instalations -------"
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y default-jre
sudo apt-get install -y gcc
sudo apt-get install -y git
sudo apt-get install -y python-dev
sudo apt-get install -y python-virtualenv
sudo apt-get install -y libjp... | true |
53b877c8422ae0e0d7e6748161488550a08a6a68 | Shell | amosbird/serverconfig | /scripts/switchtest | UTF-8 | 1,280 | 3.515625 | 4 | [] | no_license | #!/bin/bash
# This script is from emanuele6 in #bspwm. It's used to grab window list of all desktop and write it to a tmp file
# Still under testing
: "${BSPATAB_WINFILE:=/tmp/bspwin10alttab_windows}"
: "${BSPATAB_CNTFILE:=/tmp/bspwin10alttab_counter}"
if [[ ! -e $BSPATAB_WINFILE || ! -e $BSPATAB_CNTFILE ]]; then
... | true |
27fb1d7ff554564bbad866394df1bc8c82782d8b | Shell | panta/restic-backup-docker | /entry.sh | UTF-8 | 1,723 | 3.953125 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/sh
set -e
echo "Starting container ..."
RESTIC_CMD=restic
if [ -n "${ROOT_CERT}" ]; then
RESTIC_CMD="${RESTIC_CMD} --cert ${ROOT_CERT}"
fi
# handle ssh config and keys
mkdir -p ~/.ssh
chmod 700 ~/.ssh
if [ -n "${SSH_CONFIG}" ] ; then
echo "${SSH_CONFIG}" > ~/.ssh/config
chmod 600 ~/.ssh/config
unset S... | true |
da3bd328d53276c03c05d6c6796a27d1c759c7d9 | Shell | spoudel501/Finalchallenegelab246 | /bash_file.sh | UTF-8 | 301 | 2.890625 | 3 | [] | no_license | !# /bin/bash
echo "Create group name "
read group_name
echo "Create username "
read user_name
groupadd $group_name
useradd -g $group_name -s /bin/bash $user_name
echo "abcd" | passwd --stdin $user_name > /dev/null
mkdir /$user_name
chown $user_name:$group_name /$user_name
chmod 1770 /$user_name
| true |
9bbb280b2af551d8070b173538153b5f3237e591 | Shell | nhsuk/user-feedback-store | /scripts/create_terraform_state.sh | UTF-8 | 1,344 | 3.546875 | 4 | [] | no_license | #!/bin/bash
for i in "$@"
do
case $i in
--env=*)
ENV="${i#*=}"
shift # past argument=value
;;
--region=*)
REGION="${i#*=}"
shift # past argument=value
;;
*)
# unknown option
;;
esac
done
if [[ -z "$ENV" ]]; then
echo "--env option must be provided"
exit 1
fi
i... | true |
83f53a1ec4e9142a23921186976236d8a9c32d55 | Shell | PapaMarky/BigDigitalClock | /src/ClockService | UTF-8 | 1,234 | 3.5625 | 4 | [] | no_license | #!/bin/sh
### BEGIN INIT INFO
# Provides: ClockService
# Required-Start: $remote_fs $syslog pigpiod
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description:
# Description: Start Clock Application at boot time
### END INIT INFO
DIR=/home/pi/BigDigitalClock/src
DAEMON=$DIR... | true |
9172b4a5d87479d104ace7a9ae9c8a78c41a04ba | Shell | soitanen/osm2fg | /osm_build_exact.sh | UTF-8 | 1,398 | 3.75 | 4 | [] | no_license | #!/bin/bash
echo "$(date): Start generating OSM buildings">>terrlog.txt
while getopts "n:s:w:e:" OPTION
do
case $OPTION in
n)
n=$OPTARG
;;
s)
s=$OPTARG
;;
w)
w=$OPTARG
;;
e)
e=$OPTARG
... | true |
8fb2bb371fda5bb039baa6d1a6b07bcfbd5c45bd | Shell | fabiolune/platform-lab-gitops | /scripts/generate_vault_tls_secret.sh | UTF-8 | 1,979 | 2.890625 | 3 | [] | no_license | SERVICE=vault
NAMESPACE=default
SECRET_NAME=vault-server-tls
TMPDIR=$(pwd)
CSR_NAME=vault-csr
SEALED_SECRETS_KEY=$1
openssl genrsa -out ${TMPDIR}/vault.key 2048
cat <<EOF >${TMPDIR}/csr.conf
[req]
req_extensions = v3_req
distinguished_name = req_distinguished_name
[req_distinguished_name]
[ v3_req ]
basicConstraints ... | true |
a07ddebbc8f89cf477e2a837eae7c41382d2db00 | Shell | kmuncie/dotfiles | /bash_profile | UTF-8 | 498 | 3.140625 | 3 | [
"MIT"
] | permissive | #!/usr/bin/env bash
# echo "Loading ${HOME}/.bash_profile"
# Enable bash-completion
[[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && . "/opt/homebrew/etc/profile.d/bash_completion.sh"
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# echo "Exporting PATH's"
if [ -f ~/dotfiles/path.sh ]; then
sour... | true |
8da74997c3964e608aeeaa10325b2550d0e25269 | Shell | chaimleib/dotfiles | /.bashrc.d/31-lssys.sh | UTF-8 | 8,685 | 3.9375 | 4 | [] | no_license | #/bin/bash
# Shows the machine type and OS.
# I'm using xargs to trim whitespace.
function _round() {
# Thanks, user85321!
# From http://askubuntu.com/questions/179898/how-to-round-decimals-using-bc-in-bash
#if have bc; then
# echo $(printf %.$2f $(echo "scale=$2;(((10^$2)*$1)+0.5)/(10^$2)" | bc))... | true |
2d16d4b1c493df27f6b3c3760d43855d1cf5a6d6 | Shell | universAAL/platform | /uAAL.pom/src/scripts/PreReleaseBranch.sh | UTF-8 | 465 | 2.875 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash
MY_DIR=`dirname $0`
. $MY_DIR/ReleaseCommon.sh
#Change versions
checkAndChangeVersion $1
checkNoSNAPSHOTS
gitCommit "Release $1 version."
#create branches
gitAll branch prerelease_$1
#WARNING: NO DEPLOY YET of Release version
change-version $2
quickCheckAndDeploy
gitCommit "New development version."
... | true |
277b946b070ea38299eb79a70c8364c6c05ebced | Shell | communityus-branch/docker-email | /demail-shell | UTF-8 | 361 | 3.640625 | 4 | [] | no_license | #!/bin/bash
if [ "$#" -eq 0 ]; then
args=( "/bin/bash" )
else
args=( "$@" )
fi
DOCKER_NAME=email_postfix
cid=$(docker ps -f name=${DOCKER_NAME} --format="{{.ID}}")
if [ -z "$cid" ]; then
echo "No running container for ${DOCKER_NAME}" 1>&2
else
echo ">>> " docker exec -i -t $cid "${args[@]}"
exec ... | true |
cbb9f07a0ad64bad87767fdc818247cbb054b0d2 | Shell | palmer-dabbelt/scrpits | /src/mailtimesheet.bash | UTF-8 | 1,404 | 3.3125 | 3 | [] | no_license | set -e
cd $HOME/work/paperwork/time_sheet
./generate.bash
tek
make -j
temp=$(mktemp -d)
current_time=$(date +%s)
current_dow=$(date -d @$current_time +%u)
end_time=$(($current_time + (5 - $current_dow) * 24 * 60 * 60))
end_date_pretty=$(date -d @$end_time +%D)
end_date_path=$(date -d @$end_time +%Y-%m-%d)
cat >$tem... | true |
a4af7423618738266a4a26657e6bda42793e2f99 | Shell | SentryXSI/app | /bin/ax | UTF-8 | 2,805 | 3.359375 | 3 | [
"MIT"
] | permissive | #!/usr/bin/env bash
# ------------------------------------------------------------------------------
#
# NinjaSentry A|X [ AdminX ]
#
# ------------------------------------------------------------------------------
#
# BattleStation CMS \\ App Skeleton CLI
#
# ----------------------------------------------------------... | true |
021bf1ac43b8a28dc2a77319314414fa0c48b8dc | Shell | 1097404502/xzh | /learn_openstack/编写cluster/create_cluster/create_vf_cluster/004_create_vm_by_vol.sh | UTF-8 | 2,281 | 3.25 | 3 | [] | no_license |
# img_id 代表 配置好 bond dhcp 的 虚机镜像,
# 注意 制作 zcloud 第一个镜像时, 需要 将 两张 网卡 的 bond 设置 成为 BOOTPROTO=dhcp, 并注销 ip 以及 网关 等.
img_name='zcloud'
flavor_name='zcloud_flavor'
vm_pwd='root@zetta'
# don't bigger than 90
vm_count="1"
echo_vm_vol_count="3"
sys_vol_size='100'
each_vol_size='100'
net_id='199'
net_name="ex${net_id}"
... | true |
71c70f2fb5444ddc1a712fa9bda3d5eae39c959b | Shell | Leolainen/dotfiles | /scripts/brew.zsh | UTF-8 | 3,637 | 3.75 | 4 | [] | no_license | #!usr/bin/env zsh
trap on_error SIGKILL SIGTERM
e='\033'
RESET="${e}[0m"
BOLD="${e}[1m"
CYAN="${e}[0;96m"
RED="${e}[0;91m"
YELLOW="${e}[0;93m"
GREEN="${e}[0;92m"
info() {
echo -e "${CYAN}${*}${RESET}"
}
ask() {
printf "${YELLOW}${*} [y/N]: ${RESET}"
}
error() {
echo -e "${RED}${*}${RESET}"
}
success() {
e... | true |
2433753974beecdbae52618e1d6c24b260dce5ac | Shell | lukmanshaikh/Drone | /runner_user.sh | UTF-8 | 1,531 | 2.921875 | 3 | [] | no_license | #!/bin/bash
# Copyright (C) 2019 The Raphielscape Company LLC.
#
# Licensed under the Raphielscape Public License, Version 1.b (the "License");
# you may not use this file except in compliance with the License.
#
# CI Runner Script for Generation of blobs
# We need this directive
# shellcheck disable=1090
##### Buil... | true |
b9b396e75659df4c77fda8156aee946c2ab35718 | Shell | mbaezner/tmux-build-debian | /build.sh | UTF-8 | 419 | 3.09375 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash
# https://github.com/tmux/tmux/wiki/Installing
echo " ----> Clone source code from repository"
git clone --depth 1 --branch "3.2" "https://github.com/tmux/tmux.git" /build/source
echo " ----> Change into source code directory"
cd /build/source
echo " ----> Generate configure script"
sh autogen.sh
echo ... | true |
7db1e6446a20b763486cb96321709e9c6b897e44 | Shell | sixianglianmeng/portal.xh-payment.com | /buildtest.sh | UTF-8 | 393 | 2.90625 | 3 | [] | no_license | #!/bin/bash
#npm run build:test
#&& echo 'git pushlist' && cd ../test-static.portal.payment.com/ && git add . && git commit -m 'publish' && git push -u origin master
folder="../test-stattic.portal.payment.com"
mkdir ../test-stattic.portal.payment.com
if [ ! -d "$folder" ]; then
mkdir "$folder"
fi
cd "$folder"
git ad... | true |
eac2490fbe9292512d3889b5457f0f52cb91eb95 | Shell | alexoneill/config | /bin-linux/bin/wpa-scan | UTF-8 | 1,150 | 3.953125 | 4 | [] | no_license | #!/bin/bash
# Distill down information about discovered networks
file=$(mktemp)
raw_file=$(mktemp)
iwlist wlp3s0 scan \
| tee $raw_file \
| grep "Address\|Quality\|Encryption\|ESSID" \
| sed -e "s/^ \+//g" \
| awk '{ if(NR % 4) printf("%s ", $0); else printf("%s\n", $0); }' \
| sed -e 's/.*Address: \([0-9A-Z... | true |
0636b94be9ddb43e03b3b91aabfd8fb77c4d746f | Shell | ashwanthkumar/webnaplo | /scripts/fetch_latest_from_git_update.sh | UTF-8 | 592 | 3.109375 | 3 | [] | no_license | # Webnaplo Automated Shell Script to periodically update the current repo
# from the server. It generally fetches the data from the 'master' branch of
# Webnaplo from the github account.
#
# Project Website - https://github.com/ashwanthkumar/webnaplo
# Author - Ashwanth Kumar <ashwanth@ashwanthkumar.in>
# Last Update... | true |
85ae14daec1079b00d1249c61c96811e04fe9555 | Shell | yuhanasy/.dotfiles | /.bashrc | UTF-8 | 1,245 | 3.15625 | 3 | [] | no_license | # cd into a directory by name
shopt -s autocd
# Aliases
# load aliases from ~/.zsh/aliases.zsh
source /Users/yuhanasy/.shell/aliases.bash
alias change="code ~/.bashrc" # Open .bashrc to be edited in VS Code
alias update="source ~/.bashrc" # Re-run source command on .bashrc to update current terminal session with new ... | true |
91ddfd5b38d562e928da7bcccd5fed8dcc4986e2 | Shell | frinknet/nanolin | /prime/etc/nanolin.d/release.remove | UTF-8 | 1,130 | 3.859375 | 4 | [] | no_license | #!/bin/sh
[ -n "$NLDBG" ] && echo "DEBUG: $0 $@"
REL="$(basename "$1" .tgz)"
DIR="/boot/$REL"
shift
# need a release to remove
[ -z "$REL" ] && echo "$NLHDR
Please specify a release to remove.
Usage:
$NLCLI ${NLACT/./ } <release>
Releases:
$(find /boot/ -maxdepth 1 -type d | grep 'G[0-9]\+$' | sed... | true |
f749db4cef915e39f032fb3b8ff831152812600a | Shell | oliv5/profile | /.rc.d/41_annex.sh | UTF-8 | 51,555 | 3.796875 | 4 | [] | no_license | #!/bin/sh
# Get annex version
annex_version() {
if [ $# -gt 0 ]; then
echo "$@" | awk -F'.' '{printf "%.d%.8d\n",$1,$2$3$4}'
else
git annex version | awk -F'[ .]' '/git-annex version:/ {printf "%.d%.8d\n",$3,$4}'
fi
}
annex_repo_version() {
git config --get annex.version 2>/dev/null || echo 0
}
# Chec... | true |
09db32d14afc902a6708c27cc607acd9a3bdc8ab | Shell | laxels/cra-template | /setup.bash | UTF-8 | 1,027 | 3.90625 | 4 | [] | no_license | #!/usr/bin/env bash
# Terminate on error
set -e
DESTINATION="$1"
APP_NAME="$2"
usage() {
echo "Usage: ./setup.bash <destination> <app-name>"
echo "Example: ./setup.bash ../project-dir \"My App\""
exit 1
}
if [ "$DESTINATION" == "" ] || [ "$APP_NAME" == "" ]; then
usage
fi
mkdir -p "$DESTINATION"
cp .eslint... | true |
c856c934d9538cc87d32bc0cbdc4f5ef61a258b8 | Shell | ofey404/misc | /cache-test/batch.sh | UTF-8 | 387 | 3.328125 | 3 | [] | no_license | #!/usr/bin/env bash
# set -x # for debug
set -euo pipefail # fail early
DATA_DIR="./data"
readonly DATA_DIR
main() {
local item_counts=("$@")
mkdir -p $DATA_DIR
for i in "${item_counts[@]}"; do
perf stat -e L1-dcache-loads \
-e L1-dcache-load-misses \
-e cache-references \
-e cache-misses \... | true |
98aff79e770e33a6874cc6a96e7e25913d7fae65 | Shell | chzh1418/NGSDataAnalysis | /HMCP-Seq/HMCPSeq_mm10_PE_Existing_v1 | UTF-8 | 16,665 | 3.03125 | 3 | [] | no_license | #!/bin/bash
# HMCP-Seq w/SpikeIns Standarized pipeline for mm10 Paired End
# Author: Edahi Gonzalez-Avalos
# Email: edahi@lji.org
# Date: 2019.03.15
# Versions logs
# v1.
# Mapping
# Used in:
# (1) /mnt/BioAdHoc/Groups/RaoLab/Edahi/00.Scripts/Bash/HMCPSeq_mm10_PE_Existing_v1 -s TonsilnaiveB-Redy43-repeat-input... | true |
005f777792769381831bf6fe4a90421066080ab2 | Shell | chartly/portfolio | /ditfw-gfx/deps/easyloggingpp/tools/release-ready-test.sh | UTF-8 | 1,945 | 3.171875 | 3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | #!/bin/bash
if [ "$1" = "" ];then
echo "Please specify root directory"
exit 1
fi
############### --------- Samples ------------ ############
## ------ STL ------- ##
cd $1/samples/STL/
echo "Building STL..."
echo "Using clang++ compiler"
sh build_all.sh clang++
sh run_all.sh
echo "Usi... | true |
e1e9d088c42f15779e0ad9f59bd28a359a28126a | Shell | nicodri/Project_cs283 | /src/setup.sh | UTF-8 | 333 | 3.234375 | 3 | [] | no_license | #!/bin/bash
# specify here which version to use
BINFILE=vlfeat-0.9.20-bin.tar.gz
echo 'downloading vlfeat binaries...'
curl -O http://www.vlfeat.org/download/$BINFILE
echo 'unpacking binaries'
tar xf $BINFILE
BINFOLDER=${BINFILE%.*}
BINFOLDER=${BINFOLDER%.*}
BINFOLDER=${BINFOLDER%-*}
mv $BINFOLDER vlfeat/
rm $BINFILE... | true |
c6f8d844d9e07976a1c8327623bc2a28a3a426fe | Shell | Karma-Revolutions/icub-packaging | /windows/src/build-package.sh | UTF-8 | 15,995 | 3.65625 | 4 | [] | no_license | #!/bin/bash
##############################################################################
#
# Copyright: (C) 2011 Department of Robotics Brain and Cognitive Sciences, Istituto Italiano di Tecnologia
# Authors: Lorenzo Natale
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
#
# Based on bu... | true |
4597e600f44b1eb703d136bbd61b1a0af31f3edc | Shell | speedoinsane/autoscripts | /mount-plex.sh | UTF-8 | 2,275 | 3.5625 | 4 | [] | no_license | #!/bin/bash
## plexdrive mount (chmod a+x mountplexdrive.sh)
## To mount the drive at reboot & to remount in case of failure type crontab -e and add 2 lines below (without ##):
## @reboot /path/mount-plex.sh
## 0 5 * * * /path/mount-plex.sh >/dev/null 2>&1
## GLOBAL VARS
LOGFILE="/home/speedo/scripts/logs/mount-plex... | true |
248f48376a692bb982f851b7291fd1ab296dedee | Shell | ssi379/dotfiles-mac | /.bash_aliases | UTF-8 | 5,475 | 2.671875 | 3 | [] | no_license | # some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Tell 'ls' to be colorful
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagacedx
export PS1='\n\[\033[01;35m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
# Tell grep to highlight matches
export GREP_OPTIONS='--color=auto'
# Set l... | true |
580f545eb1c14c60ea82c3c9354b1cbd3af62b61 | Shell | GTkernel/secure-mpc | /scripts/build_libs.sh | UTF-8 | 435 | 3.296875 | 3 | [] | no_license | #!/bin/bash
scriptpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
set -e
# emp-tool has to be first to put common.cmake in /usr/local
dirz="${scriptpath}/../emp-ot/
${scriptpath}/../emp-tool/
${scriptpath}/../emp-ag2pc/
${scriptpath}/../emp-agmpc/
${scriptpath}/../emp-sh2pc/"
echo "$dirz" | while read libdir; do... | true |
da0e41859aeb51c355a02260e65662e053990b16 | Shell | bhill-17/.dotfiles | /.bash_aliases | UTF-8 | 736 | 2.921875 | 3 | [] | no_license | # ls
alias la="clear; LC_COLLATE=C ls -hal"
alias l="clear; LC_COLLATE=C ls -hl"
alias lr="clear; LC_COLLATE=C ls -haltr"
# ssh
# alias ttu="clear; ssh -fNT -L 2222:myserver.ttu.edu:22 eraider_username@ssh.ttu.edu"
# git
alias gitlog="git log --oneline --graph --all --decorate --stat" # pretty graph of a projects l... | true |
bfd55e369f5181896ba385bc69984e48c604148d | Shell | ClaraBartels/ALICETreeCreator | /old/ALICEanalysis/testparallel/mergefiles.sh | UTF-8 | 474 | 3.25 | 3 | [] | no_license | #!/bin/bash
nfilesformerging=3
inputfile=listfilesMerging.txt
nameoutput="outputmerged"
nameoutputlist="lsoutputmergedlist.txt"
rm -rf $nameoutput
mkdir $nameoutput
split -l $nfilesformerging $inputfile $nameoutput/split-file
ls $nameoutput/split-file*> $nameoutputlist
while IFS='' read -r line || [[ -n "$line" ]];... | true |
946640c5e92af5759413110607fe79b180c49d0b | Shell | clckwrkbdgr/clckwrkbdgr.github.io | /_new_post.sh | UTF-8 | 1,045 | 3.671875 | 4 | [
"WTFPL"
] | permissive | #!/bin/bash
POST_TITLE="$1"
if [ -z "$POST_TITLE" ]; then
echo "Usage: post.sh <post_title>"
exit 1
fi
FILE_NAME=$(echo "$POST_TITLE" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z_0-9]/-/g' | sed 's/--\+/-/g' | sed 's/^-\+//' | sed 's/-\+$//')
if [ -z "$FILE_NAME" ]; then
echo "Filename must contain at least one sym... | true |
ed7771e7639f97591432b0367f8eb9e16ec53fb0 | Shell | blarghie/Simplified-iOS | /scripts/xcode-export-adhoc.sh | UTF-8 | 889 | 3.703125 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
# SUMMARY
# Exports an archive for SimplyE / Open eBooks generating the related ipa.
#
# SYNOPSIS
# xcode-export-adhoc.sh <app_name>
#
# PARAMETERS
# See xcode-settings.sh for possible parameters.
#
# USAGE
# Run this script from the root of Simplified-iOS repo, e.g.:
#
# ./scripts/xcode-export... | true |
b95f7ae0533fb3c52016c3449603f51456ba1963 | Shell | GRIDAPPSD/GOSS-GridAPPS-D | /run-gridappsd.sh | UTF-8 | 778 | 3.609375 | 4 | [] | no_license | #!/bin/bash
echo " "
if [ "$1" = "version" -o "$1" = "-v" -o "$1" = "--version" ]; then
if [ -f /gridappsd/dockerbuildversion.txt ]; then
echo -n "version: "
cat /gridappsd/dockerbuildversion.txt
else
echo "Error: can't find version"
fi
echo " "
exit 0
fi
# Setup the path for running the gridapp... | true |
713cb99a9a0dedb375d97ce6b9e4ada84458e43c | Shell | jf2000wh/mysql | /scripts/install_mysql.sh | UTF-8 | 7,078 | 3.59375 | 4 | [] | no_license | #!/bin/bash
###############################################################
#File Name : install_mysql.sh
#Arthor : kylin
#Created Time : Thu 17 Sep 2015 09:38:59 AM CST
#Email : kylinlingh@foxmail.com
#Blog : http://www.cnblogs.com/kylinlin/
#Github : https://githu... | true |
67081f5ed5e5730e3b6283217514d959e998c3d3 | Shell | OpenRoberta/openroberta-connector | /installers/release.sh | UTF-8 | 2,625 | 3.953125 | 4 | [
"MIT",
"Apache-2.0",
"GPL-3.0-only"
] | permissive | #!/bin/bash
# release - Release and installer creation script for the Open Roberta Lab connection program
CURRENT_TAG=$(git describe --tags)
usage() {
echo "Usage: release <linux/windows/osx>"
echo ""
echo "Specify the operating system that a release should be created for."
exit
}
create_linux() {
... | true |
53a5c1a307c684e4cd162955c832d53ca6581ad1 | Shell | juliusmandas/simplehoneypot | /ipcapture.sh | UTF-8 | 655 | 2.96875 | 3 | [] | no_license | flag="0";
while read line; do
#echo $line | grep -Eo ".+\.[0-9]{6}";
IP=$(echo $line | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}\.[0-9]{1,5}:" | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}");
PORT=$(echo $line | grep -Eo "\.[0-9]{1,5}\s" | grep -Eo "[0-9]{1,5}");
while read stored; do
IP2=$(echo $stored... | true |
f742472eecce4ef5bb91e7b563e1ee5e1a155f34 | Shell | hyeji-jeong/osbig | /while2.sh | UTF-8 | 129 | 3.15625 | 3 | [] | no_license |
#!/bin/sh
hap=0
i=1
while[$i-le 10]
do
hap='expr $hap + $i'
i='expr $i + 1'
done
echo "1부터 10까지의 합 : "$hap
exit 0
| true |
f4f1ec44e704172464d9efee891e70df388b46e9 | Shell | maxlath/maxlath.github.io | /scripts/build-css | UTF-8 | 565 | 3.390625 | 3 | [] | no_license | #!/usr/bin/env bash
timestamp=$(date +%s)
tmpbuild=/tmp/build-${timestamp}.css
echo 'concatenating css files...'
cat src/css/*css > $tmpbuild
sass src/scss/main.scss >> $tmpbuild
# Run only when build is run without option: especially "fast".
# postcss allows to have the same input and output file
# sparing us some i... | true |
90e42a8a9f733e2cdf569abb5273cc5b68ecd664 | Shell | goeckslab/genomics-scripts | /sambam/generate_bam_coverage_over_bed.sh | UTF-8 | 975 | 4.21875 | 4 | [] | no_license | #!/bin/sh
#
# Computes mean read coverage for a set of BAMs in a directory using regions from an input BED file.
#
# Parameter testing and evaluation.
if [ $# -ne "1" ]
then
echo "Usage: `basename $0` <input.bed>"
exit -1
fi
# Get script directory.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
INPUT_BE... | true |
94c2c30b3ae7ac0fddd6957153478f2eb67aad10 | Shell | GunterMueller/tinydb | /bin/fetch-tpch.sh | UTF-8 | 588 | 3.484375 | 3 | [] | no_license | #!/bin/bash
DATA_FILE=http://www-db.in.tum.de/teaching/ss13/qo/tpch.7z
OUTPUT_FILE=tpch.7z
TARGET_DIR=data
cd `dirname $0`/..
command -v wget >/dev/null 2>&1 || {
command -v curl >/dev/null 2>&1 || {
echo >&2 "Neither wget nor curl available. Cannot run."
exit 1
}
dl="curl -C - $DATA_FILE -o $TARGET_DI... | true |
c7011bf3c74a4aa673f6610f93ab1d8c5972e7ed | Shell | bezhermoso/dotfiles | /nodejs/inventory.sh | UTF-8 | 640 | 3.71875 | 4 | [] | no_license | #!/usr/bin/env bash
function _npm-inventory() {
local versions="$(nodenv versions --bare --skip-aliases)"
_npm-install-version "system"
for v in $versions; do
_npm-install-version $v
done
}
function _npm-install-version() {
local version=$1
#echo '# version '$v
if [[ "$version" != "system" ]]; then
... | true |
6ce32c2ec7836a967070cb66c95d26d233b313cb | Shell | bioconda/bioconda-recipes | /recipes/gfa1/build.sh | UTF-8 | 489 | 2.53125 | 3 | [
"MIT"
] | permissive | #!/bin/bash
export C_INCLUDE_PATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib
#make -j8 INCLUDES="-I$PREFIX/include" CFLAGS="-L$PREFIX/lib"
make CFLAGS="${CFLAGS} -fcommon" CC=$CC
cd misc
#make -j8 INCLUDES="-I$PREFIX/include -I../" CFLAGS="-L$PREFIX/lib"
make CFLAGS="${CFLAGS} -fcommon" CC=$CC
cd ..
mkdi... | true |
5f109a4132eac2fde12f36b60d60e2c1e77fe5fc | Shell | bbandaru/openstack | /openstack-controller/keystone.sh | UTF-8 | 2,951 | 2.859375 | 3 | [
"MIT"
] | permissive | #!/bin/bash
source ./config
# Install keystone
yum -y install openstack-keystone python-keystoneclient
# Create databases for keystone
mysql -u root -p${SQL_PWD} -e "CREATE DATABASE keystone;"
mysql -u root -p${SQL_PWD} -e "GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY '$SERVICE_PWD';"... | true |
137aec0b5d1e888f54e8a3bda77528fa3f204b60 | Shell | costalopes71/bash-programming-study | /module1_intro/homework1.sh | UTF-8 | 276 | 3.40625 | 3 | [] | no_license | #! /usr/bin/env bash
if [ $# -lt 1 ]; then
echo "ERRO: o comando deve conter ao menos 1 (um) parâmetro"
exit 1
fi
# -x file : retorna true se o arquivo tem permissao de escrita
[ -x $0 ] && echo "Tem permissao de escrita"
[ $1 -gt 10 ] && echo "Script:" $0 " PID:" $$ | true |
d0fcb9c4c6de442a6f84fa972287e1069a64544b | Shell | galtekar/berkeley-replay | /bench/build.sh | UTF-8 | 1,642 | 3.765625 | 4 | [] | no_license | #!/bin/sh
# Script to build and install all applications in suite.
# When script is done, the build output for each app should be in
# $BENCH_ROOT/build, while the runnable installation should be in
# $BENCH_ROOT/bin.
BUILD_ROOT=$BENCH_ROOT/build
BIN_ROOT=$BENCH_ROOT/bin
SRC_ROOT=$BENCH_ROOT/src
# Hypertable
functio... | true |
fd4504000a8d68105f2f80e12331a1d70501d721 | Shell | abhidg/devtools | /finddeps | UTF-8 | 988 | 3.609375 | 4 | [] | no_license | #!/bin/bash
#
# finddeps - find packages that depend on a given depname
#
if [ "$1" = "" ]; then
echo "usage: finddeps <depname>"
echo ""
echo "Find packages that depend on a given depname."
echo "Run this script from the top-level directory of your ABS tree."
echo ""
exit 0
fi
match=$1
tld=$(... | true |
b5398d230ba0eb9d6f43913404b8758ee1ea1d9b | Shell | LeslRo/AgeEstimation | /AgeEstimationServer/stop.sh | UTF-8 | 520 | 3.359375 | 3 | [] | no_license | #!/bin/bash
basepath=$(cd `dirname $0`; pwd)
export PROJECTNAME=AgeEstimationServer
export PROJECTDIR=${basepath}
export PROCESSNAME=${PROJECTDIR}/manage.py
pid=`ps -ef |grep "${PROCESSNAME}" |grep -v "grep" |awk '{print $2}'`
if [[ $pid ]]; then
kill -9 $pid
if [[ $? -eq 0 ]];then
echo "[\033[32mOK\033[... | true |
e424fde71abacc694db083a4afe655f3cc338ffa | Shell | onurkarayalcin/bigdata-machineLearning | /RunReader.sh | UTF-8 | 646 | 2.9375 | 3 | [] | no_license | #!/bin/bash
//All the files needed to be analysed are exported from local directories
export path=/media/cakir/cakir_data/snowmass2/
export Ntuplerpath=/home/cakir/NtuplerAnalyzer
export macropath=/home/cakir/Desktop/PlottingTool
//These two function defined previously are used with some specific parameters
ListOfSce... | true |
11207d0d3b54e8702d7e93ffb89d649ee6520bfd | Shell | weymouth/lotus_projects | /sizeImpulse/tecplot/runZip | UTF-8 | 475 | 3.09375 | 3 | [] | no_license | #!/bin/sh
function archiveDIR
{
pwd
zip log fort.1? fort.?
for i in 1 2 3 4 5 6 7 8 9; do
if [ `ls -1p fort.$i??.plt | grep -vc "/$"` -ne 0 ]; then
tar -zcvf tec$i.plt.tgz fort.$i??.plt
rm fort.$i??.plt
fi
if [ `ls -1p fort.$i?? | grep -vc "/$"` -ne 0 ]; then
tar -zcvf tec$i.tgz fort.$i??
rm f... | true |
a051eab84ab03326aa9681567da647b088fccb26 | Shell | Rowling2392/pema-mdawo | /pema_job.pbs | UTF-8 | 880 | 3 | 3 | [] | no_license | #!/bin/bash -l
# ~~~~~~~ A. PBS-related part ~~~~~~~
#PBS -A lp_h_mdaw
#PBS -l nodes=1:ppn=6
#PBS -l walltime=01:00:00
#PBS -l pmem=5gb
#PBS -m bae
# >>>>> Replace my email with yours <<<<<<<
#PBS -M haris-zaf@hcmr.gr
# ~~~~~~~ B. PEMA execution command ~~~~~~~
# In the following line, these 3 comman... | true |
b0cc5f97f2c53123ca8c6e82e9f1c1fed55f9d04 | Shell | fr34k8/prowler | /include/outputs_bucket | UTF-8 | 1,697 | 3.890625 | 4 | [
"Apache-2.0"
] | permissive | #!/usr/bin/env bash
# Prowler - the handy cloud security tool (copyright 2021) by Toni de la Fuente
#
# 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... | true |
48f5ce4d2495d54461cfa279a8e05d02e7d629af | Shell | toniocus/okta-scripts | /env.sh | UTF-8 | 1,751 | 3.234375 | 3 | [] | no_license | if [[ ! $PS1 =~ "(ta)" ]]
then
echo "Setting Telecom Arg environment....."
export SFORCE_HOME=/opt/sfdx
PATH=$TA_HOME/bin:$TA_HOME/maven/bin:$SFORCE_HOME/bin:$PATH
if [ -f $FORCE_HOME/bin/sf ]
then
eval $(sf autocomplete:script bash)
fi
if [ -f ~/bin/sdk-java.sh ]
then
source sdk-java... | true |
be65adab25aca6d5d5f1dce10bcba8380bebf250 | Shell | rigelproject/rigel-sim | /rigel-sim/test/non_rtm/fmadd/run_prog | UTF-8 | 587 | 2.65625 | 3 | [] | no_license | #!/usr/bin/env bash
source ../../common.sh
${MAKE} clean && ${MAKE}
BENCHMARK=fmadd.tasks
NAME_STRING="FMADD (non_rtm)"
ARGS=""
THREADS=1
CLUSTERS=1
TEST_STRING="$THREADS thread $CLUSTERS cluster"
$RIGELSIM $ARGS -threads $THREADS -clusters $CLUSTERS $BENCHMARK 2> threads_1.out 1> cerr.out
cat RUN_OUTPUT/rigelprin... | true |
f7ffb6dd0765044fcea245a186f9009638399d3f | Shell | jakassel/pyunicorn | /tools/publish | UTF-8 | 2,900 | 3.71875 | 4 | [
"BSD-3-Clause"
] | permissive | #! /usr/bin/env bash
# -*- coding: utf-8 -*-
#
# This file is part of pyunicorn.
# Copyright (C) 2008--2019 Jonathan F. Donges and pyunicorn authors
# URL: <http://www.pik-potsdam.de/members/donges/software>
# License: BSD (3-clause)
#
# Please acknowledge and cite the use of this software and its authors
# when result... | true |
bc4285c774c66819333fcb0afee772adf6da0de6 | Shell | devit-tel/kong-terraform-aws | /cloud-init.sh | UTF-8 | 7,872 | 3.4375 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/sh
# Function to grab SSM parameters
aws_get_parameter() {
aws ssm --region ${REGION} get-parameter \
--name "${PARAMETER_PATH}/$1" \
--with-decryption \
--output text \
--query Parameter.Value 2>/dev/null
}
# Enable auto updates
echo "Enabling auto updates"
echo unattended-... | true |
12541eb53dcc8e5931d413a70a7ea51d98902126 | Shell | mc-suchecki/elka | /SOI/typ.sh | UTF-8 | 446 | 3.640625 | 4 | [] | no_license | #!/bin/sh
if test $# -lt 1
then
echo "usage: `basename $0` [-d|-f] [--] [files]" 1>&2
exit 1
fi
if test "x$1" == "x-d" || test "x$1" == "x-f"
then
parametr="$1"
shift
else
parametr="-f"
fi
if test "x$1" == "x--"
then
shift
fi
for i in "$@"
do
if test $parametr $i
then
echo $i
... | true |
c6a04e01db4c7ebeaa1f273a87c96a2a60d1fc80 | Shell | nsxsoft/f5-bd-gslb-tool | /src/gslb-rollback | UTF-8 | 1,107 | 3.84375 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
set -e
usage() {
cat <<USAGE
This command restores the gslbState.uncommited.yaml file using the file gslbState.commited.yaml without commiting this configuration into F5 Cloud Services. To complete the rollback it is required to use the gslb-commit afterwards.
Note that in the case that the publishing ... | true |
9224a1a35192d50265926ce7cc6f81048838e4e2 | Shell | mmog46/ESP-rModels | /training/cg_ctl/coupling/cfg/timeillum | UTF-8 | 711 | 2.921875 | 3 | [] | no_license | #! /bin/sh
SALT=$1
RSAZI=$2
QDIRILL=$3
QDIFILL=$4
ZONE=$5
BLIND=$6
# Enter here the problem name:
NAME="1Cou"
echo "Generating sky with: SALT = $SALT, RSAZI = $RSAZI"
echo " QDIRILL = $QDIRILL, QDIFILL = $QDIFILL"
gendaylit -ang $1 $2 -L $3 $4 -g .10 > $NAME.sky
if [ $BLIND = 0 ]
then
oconv ... | true |
66b6220a8b095b7ddb762a1a7e8980f2c7f428d4 | Shell | zamlz-wsl/dotfiles | /bin/xbps-update | UTF-8 | 637 | 3.875 | 4 | [] | no_license | #!/usr/bin/env sh
# simple update script for xbps
PKG_FILE="/etc/xbps.d/packages"
PKG_TEMP="/tmp/.void_pkg_list"
MISSING_PKGS=""
grep -v '^\s*$\|^\s*\#' $PKG_FILE > $PKG_TEMP
# There is probably a better way to do this but I wanted something up and
# running fast!
while read -r pkg; do
if [ -z "$(xpkg -m | grep... | true |
4e1ea5352ca47a02480c1890112b82ed97c6fa57 | Shell | mrihtar/Docker-helper-scripts | /bashrc | UTF-8 | 176 | 3.359375 | 3 | [
"MIT"
] | permissive | dka() {
id=`dkap $1`
if [ -z "$id" ]; then
echo "No docker containers found" 1>&2
return 1
fi
docker start $id
[ $? -ne 0 ] && return 1
docker attach $id
}
| true |
60d4c4826d4b55c441fe9f793fcd024f17a3c62f | Shell | Moxa-Linux/moxa-security-utils | /etc/mx-security/level2_plus/run/SR7.3 | UTF-8 | 3,280 | 3.59375 | 4 | [] | no_license | #!/bin/bash
#
# Copyright (C) MOXA Inc. All rights reserved.
# Copyright (C) 2016 Wes Huang <Wes.Huang@moxa.com>
#
# This software is distributed under the terms of the
# MOXA License. See the file COPYING-MOXA for details.
#
. /etc/mx-security/mxsec_functions
backup-sys-encrypt () {
local b... | true |
ea33623f68c63b71a48557367c9a179d38fff6f9 | Shell | delkyd/alfheim_linux-PKGBUILDS | /flightgear-git/PKGBUILD | UTF-8 | 1,210 | 2.625 | 3 | [] | no_license | # Maintainer: Glen D'souza <gdsouza@linuxmail.org>
# Contributor: jmf <jmf at mesecons dot net>
# Contributor: Pascal Groschwitz <p.groschwitz@googlemail.com>
pkgname=flightgear-git
pkgver=20170526
pkgrel=1
_gitname=flightgear
pkgdesc="An open-source, multi-platform flight simulator"
arch=('i686' 'x86_64')
url="http:/... | true |
777a5dd29e41251d4fbcf09c8393c039907d33e4 | Shell | chaffin/scripsit | /BuildPages.sh | UTF-8 | 1,544 | 3 | 3 | [] | no_license | #!/bin/bash
#
dir='build/docs'
filename='doc_SSP.html'
clean='temp'
cd $dir
echo "<!DOCTYPE html>" > $filename
echo "<html>" >> $filename
echo "<head>" >> $filename
echo "<title>Risk Management Framework — RMF</title>" >> $filename
echo "<meta charset=utf-8>" >> $filename
echo "<meta name=\"author\" content=\"Lar... | true |
cf926a106d3bb24bc8eb949ef107f905335acfc8 | Shell | ariidah/script | /bash/qrencode/qren.sh | UTF-8 | 966 | 3.484375 | 3 | [] | no_license | #!/bin/bash
homedir='/sdcard/DCIM/Camera/'
backtitle="QRencode + ImageMagick"
info="Input *ANY* [$homedir]"
x=58;y=8
default=""
#default="`openssl rand -base64 15`"
font='/system/fonts/Roboto-Regular.ttf'
#escape slash
homedir=`echo $homedir|sed 's@\/@\\\/@g'`
function generateqr(){
usrinput=`whiptail --backtitle "... | true |
3696c5de897e652e65ecad23f0f3a78df8fe37b1 | Shell | cuizhenzhu/assignment1 | /funny.sh | UTF-8 | 94 | 2.78125 | 3 | [] | no_license | if [[ $# -eq 0 ]] ; then
echo 'This is NOT funny'
exit 0
fi
echo 'This is funny'
| true |
8e618daf84ea6c39255435d47dd7674fdfc1e6ae | Shell | FauxFaux/debian-control | /a/alsa-tools/ld10k1_1.1.3-1_amd64/postrm | UTF-8 | 551 | 3.125 | 3 | [] | no_license | #!/bin/sh
set -e
#if [ remove = "$1" ]; then
# dpkg-divert --package ld10k1 --remove --rename \
# --divert /usr/share/alsa/cards/EMU10K1.conf.real \
# /usr/share/alsa/cards/EMU10K1.conf
#fi
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d ld10k1 remove >/dev/null
fi
... | true |
c7edaa9ab7a6c5998a707372ebdead753e46f699 | Shell | JH-Dev-Twitch/Scoops.Mobile | /src/scoops/android/app/appcenter-post-clone.sh | UTF-8 | 1,913 | 3.3125 | 3 | [] | no_license | #!/usr/bin/env bash
#Place this script in project/android/app/
GOOGLE_JSON_FILE_PATH=$APPCENTER_SOURCE_DIRECTORY/src/scoops/android/app/google-services.json
CONFIG_FILE_PATH=$APPCENTER_SOURCE_DIRECTORY/src/scoops/tool/configuration_setup.dart
MAIN_DART_FILE_PATH=$APPCENTER_SOURCE_DIRECTORY/src/scoops/lib/main.dart
ech... | true |
77ed0c08a26819f560dd4a8408501548015b535e | Shell | megavolts/ArchLinux | /ThinkpadX1Yoga_Gen6/X1Yoga.sh | UTF-8 | 20,199 | 2.71875 | 3 | [] | no_license | # /bin/bash
# Dual boot with windows
# With 2 DISK
# /dev/nvme0n1p1 512.0MiB EF00 EFI system partition
# /dev/nvme1n1p1 8300 Linux Filesystem on LVM
# /dev/nvme1n1p2 1.5TiB
# 1 2048 1050623 512.0 MiB EF00 EFI system partition
# 2 1050624 1083391 16.0 MiB 0C01 Micr... | true |
4667db09b3e405d4075d08d88c8770165bb71431 | Shell | GsDevKit/GsDevKit_ansible | /roles/gemstone/files/seaside/runSeasideGems | UTF-8 | 2,718 | 4.09375 | 4 | [
"MIT"
] | permissive | #!/bin/bash
#
# runSeasideGems [start | stop | restart]
#
# The default setup is to run 4 vms ... three listening on ports 9001-9003
# as Seaside adaptor gems and one maintenance vm
#
#
SeasideAdaptor="$2"
PORTS="$3"
topaz_start()
{
echo "Starting Gems...."
for port in $PORTS; do
if [ -e $GEMSTONE_DATA... | true |
80d68d47117ebc17ccfbf221d4bffb0254dc6f88 | Shell | xxping90/Todolist | /app/src/androidTest/run1.sh | UTF-8 | 3,307 | 3.53125 | 4 | [] | no_license | #!/bin/sh
testautoRootPath=/sdcard/Robotium
junitReportPath=$testautoRootPath/report
#删除sdcard 上错误截图、junit报告、记录crash的文件,避免对本次运行的干扰
echo "delete all screenshots in sdcard"
adb shell rm -rf /sdcard/Robotium-Screenshots/*
#下面启动自动化测试用例时必须指定reportDir 为$junitReportPath
adb shell rm -rf $junitReportPath/*
#在源码实现的crash.t... | true |
84f60b944723eb918c97be6f1ab21c05d232e113 | Shell | liqiang0330/i3ForDebian9 | /proxychains-ng/src/proxyresolv | UTF-8 | 431 | 3.46875 | 3 | [
"Apache-2.0",
"GPL-2.0-only"
] | permissive | #!/bin/sh
# This is a legacy script that uses "dig" to do DNS lookups via TCP.
# it is not actively maintained since proxychains no longer depends
# on it. i leave it here as a bonus.
# DNS server used to resolve names
DNS_SERVER=8.8.8.8
if [ $# = 0 ] ; then
echo " usage:"
echo " proxyresolv <hostname> "
exit
fi... | true |
3ee7c4218e70eeb2b8f4532e9d3f762b59aaadf4 | Shell | buo/dotfiles | /alfred/install.sh | UTF-8 | 132 | 2.640625 | 3 | [
"MIT"
] | permissive | #!/bin/bash
if [ -d "/Applications/Alfred 4.app" ]; then
echo "Alfred 4.app already installed."
else
brew cask instal alfred
fi | true |
ad7747e716ed6e866cb62af183fdbf05a56928e7 | Shell | isabella232/faux-core | /faux/unzip/plan.sh | UTF-8 | 229 | 2.609375 | 3 | [] | no_license | pkg_name="unzip"
pkg_origin="faux"
pkg_version="6.0"
pkg_deps=(faux/bzip2 faux/glibc)
pkg_build_deps=(faux/gcc faux/make)
do_build() { :; }
do_install() { :; }
if [ -v FIRST_PASS ]; then
pkg_deps=()
pkg_build_deps=()
fi
| true |
260cba9b953314a5da6e3a26558a041103406964 | Shell | KingKoopa/multitudes-web | /multitudes_web.sh | UTF-8 | 1,663 | 3.96875 | 4 | [] | no_license | #!/bin/bash
#
PROJECT_NAME=multitudes-0.0.1-SNAPSHOT
PROJECT_HOME=/home/ec2-user/multitudes_web
LOG=logs/multitudes_web-0.0.1.log
JVM_OPTS="-Xmx128m -Xms128m"
getpid() {
pid=`pgrep -f "java.*$PROJECT_NAME"`
}
start() {
getpid
if [ -n "$pid" ]; then
echo "$PROJECT_NAME (pid $pid) is already running... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.