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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
fb311b1cd1de01bb1ce0fe67b8b0554a8d6b581d | Shell | EtiennePasteur/Subfixx | /lang-handler.sh | UTF-8 | 270 | 3.25 | 3 | [] | no_license | findSubtitle() {
local FILNAME="${SEARCHING_FILE%%.*}"
FOUND=false
if [ -f "$FILNAME.$1.srt" ]; then
SHORT_NAME=$(basename -- "$FILNAME")
echo "$SHORT_NAME.$1.srt"
fi
}
SUBTITLES=()
SUBTITLES+=("$(findSubtitle "fr")")
SUBTITLES+=("$(findSubtitle "en")") | true |
7972938fc263ba4e9d84a717d72cd3d943d2cace | Shell | arkovask/skriptimine2 | /praks8/yl1 | UTF-8 | 364 | 3.25 | 3 | [] | no_license | #!/bin/bash
#
#
summa=0 #Määratakse muutuja "summa"
for (( arv=0; arv<11; arv++ )) #For tsükkel
do
jaak=$(( arv % 2 )) #Muutuja "jaak" kus võetakse arvu jääk
if [ $jaak -eq 0 ] #If, kui jääk on võrdne nulliga
then
summa=$(( $summa + $arv )) #Muutuja "summa" muutmine
fi
done
echo "Paaris arvude summa vahemikust 1 ... | true |
e36f83a6114cbfdfab735dcbcd55c3380060f379 | Shell | raj-maurya/Competitive-Programming | /shell_script/shell4.sh | UTF-8 | 109 | 2.796875 | 3 | [] | no_license | clear
#this is demo!to print a file!!
if cat $1
then
echo -e "\n\nFile $1. found successfully echoed"
fi
| true |
dfe211e41f3ae2538351e6d214753a9aa2f7943c | Shell | joeytribbiani7/experiment | /Assignment2_proper/owner_ch.sh | UTF-8 | 433 | 3.46875 | 3 | [] | no_license | #!/bin/sh
mkdir owner_dic
if [ $? -eq 0 ]
then
echo "Directory has been created"
else
echo "Directory already exists"
fi
cd owner_dic
touch sample.txt
if [ $? -eq 0 ]
then
echo "File has been created"
else
echo "File already exists"
fi
cd ..
user="$(whoami)"
chown -R $user ./owner_dic
if [ $? -eq 0 ]... | true |
bd7d2a693fa60f0ea42c7ba794746a9159d21d9d | Shell | ojbfive/ziti | /quickstart/docker/image/entryRouter.sh | UTF-8 | 2,313 | 3.234375 | 3 | [
"Apache-2.0"
] | permissive | #!/bin/bash
. ziti.env
router_name=$(hostname)
echo "Generating a key, a server certificate and client certificate for ${router_name}"
echo ".......... Generating key for ${router_name}"
ziti pki create key --pki-root="${ZITI_PKI}" --ca-name="${intermediate_name}" --key-file="${router_name}"
echo ".......... Generatin... | true |
a18558ff03db4d8dff1d4e8b74136272fb127ac1 | Shell | cbuahin/ci-tools | /darwin/run-nrtests.zsh | UTF-8 | 2,917 | 3.84375 | 4 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | #!/usr/bin/env zsh
#
# run-nrtests.zsh - Runs numerical regression test
#
# Date Created: 04/01/2020
# Updated: 08/21/2020
#
# Author: See AUTHORS
#
# Dependencies:
# python -m pip install -r requirements.txt
#
# Environment Variables:
# PROJECT
# BUILD_HOME - relative path
# TEST_HOME - ... | true |
be7b0a50b659eaa5cdbfabb7a0a795745d957b27 | Shell | HortonworksUniversity/Operations-Labs | /build/security/ambari-bootstrap-master/extras/ranger/prep-mysql.sh | UTF-8 | 501 | 2.625 | 3 | [] | no_license | #!/usr/bin/env bash
mypass="${mypass:-BadPass#1}"
db_root_password="${mypass}"
sudo yum -y -q install mysql-server mysql-connector-java
sudo chkconfig mysqld on
sudo service mysqld start
sudo ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
cat << EOF | mysql -u root
GRANT ... | true |
7684cab224d123422556c6c0f0f61eae281605d1 | Shell | yoursunny/OpenWrt-packages | /named-data/nfd-service/files/nfd.service | UTF-8 | 2,975 | 3.453125 | 3 | [] | no_license | #!/bin/sh /etc/rc.common
START=51
STOP=51
USE_PROCD=1
EXTRA_COMMANDS='authorize connect'
EXTRA_HELP='
authorize
Authorize default identity in $HOME keychain to register prefixes.
connect [save] FACE ROUTE ROUTE ...
Create face and add routes.
Optionally "save" to UCI... | true |
36ea2e52600c6f8ab09eb6378b91ab47fef9d411 | Shell | rickroty/igatemonitor | /logging/run.sh | UTF-8 | 281 | 2.59375 | 3 | [] | no_license | if [ ! "$(docker ps -q -f name=logging)" ]; then
if [ "$(docker ps -aq -f status=exited -f name=logging)" ]; then
# cleanup
docker rm logging
fi
docker run -d --name logging -p 24224:24224 -v /home/pi/projects/igatemonitor:/host -it logging:latest
fi
| true |
3a16c784a26709078f6c056c10580d9fa961518b | Shell | muhammadali448/scriptProgramsOS | /scriptingPrograms/script2.sh | UTF-8 | 470 | 3.5 | 4 | [] | no_license | let "a=1"
clear
while test $a -eq 1
do
echo " Commands Menu "
echo "================================"
echo "1. Who is logged in"
echo "2. Date Time"
echo "q Quit"
echo "================================"
echo -n "Enter your choice:"
read b
case "$b" in
1)
echo "Who is logged in:"
echo "$(whoami)"
sleep 2
clea... | true |
424c3916351850ca79e8e126211adeafb1830d0e | Shell | j-kan/lj-spectral | /dsaupd/run-ksample.sh | UTF-8 | 670 | 2.578125 | 3 | [] | no_license | DIR=sample-297987-Lrw-Nev-8
echo $DIR
mkdir $DIR
echo "======> Started ", `date` > $DIR/output.txt
./kmsample297987-8.exe -g usample.pairs -d Lrw-8-eigenvectors.txt -o $DIR --normalize RW -r 10 >> $DIR/output.txt
echo "======> Finished ", `date` >> $DIR/output.txt
email -s $DIR jkan@iconstructs.com < `tail -12 $DIR/... | true |
42435a6a1dbc94278f9836c7d16d318e434b1fa2 | Shell | juliangrosshauser/dotfiles | /zshenv | UTF-8 | 1,011 | 3.09375 | 3 | [
"MIT"
] | permissive | if [[ "$OSTYPE" == "darwin"* ]]; then
# Fix the MANPATH not being set
export MANPATH="$MANPATH"
export CC=clang
export CXX=clang++
# Don't automatically update Homebrew when installing packages etc.
export HOMEBREW_NO_AUTO_UPDATE=1
fi
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export ... | true |
f0e0469d59c94f202b957eb6f15ac6bfbe0200f3 | Shell | appdess/modernapps-masterclass | /tkg/tito-app/demo-magic/tito-demo-deploy.sh | UTF-8 | 1,845 | 3.15625 | 3 | [] | no_license | #!/usr/bin/env bash
########################
# include the magic
########################
. ./demo-magic.sh
########################
# Configure the options
########################
#
# speed at which to simulate typing. bigger num = faster
#
# TYPE_SPEED=20
#
# custom prompt
#
# see http://www.tldp.org/HOWTO/Bash... | true |
a8e150826ac4c9d04bf56470a19428ae7e034c03 | Shell | distroy/profiles | /zsh/install | UTF-8 | 380 | 2.546875 | 3 | [] | no_license | #!/bin/bash
#
# Copyright (C) distroy
#
cd "$(dirname "${BASH_SOURCE[0]}")"
SOURCE_DIR="$PWD"
WRITE_FILE=$HOME/.zshrc
# zshrc
cat >>$WRITE_FILE <<EOF
# ld zshrc
# LD_CD_ROOT_DIR=
# LD_CD_MIN_DEPTH=1
# LD_CD_MAX_DEPTH=1
source ${SOURCE_DIR/#$HOME/\$HOME}/zshrc
source ${SOURCE_DIR/#$HOME/\$HOME}/zshrc.key
EOF
git cl... | true |
8b612fb54e8db7e7e78f44e1db181ac3e3fad243 | Shell | lavecoral/DaFlow | /docker/images/hadoop/base/export_container_ip.sh | UTF-8 | 908 | 3.609375 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
#############################################################################################################
## COPIED FROM ##
## https://github.com/apache/incubator-hudi/blob/master/docker/hoodie/hadoop/base/expo... | true |
036198fea645e67dd8dacdde4a5b11dfc4069421 | Shell | chouer19/RlClient2 | /waypoints/rm.sh | UTF-8 | 63 | 2.515625 | 3 | [] | no_license | i=1
while [[ $i -lt 16 ]]
do
rm $i.txt
let i=$i+1
done
| true |
69dd4b8f8cb4fa290a2fb9a099c3d5d6427a6846 | Shell | wenlizhe/shell_test | /code/bak/remote_ctrl/killall.sh | UTF-8 | 979 | 3.9375 | 4 | [] | no_license | #!/bin/bash
#
# 服务器控制脚本
# ajianzheng
#
# Source function library.
#. /etc/rc.d/init.d/functions
source common.sh
SCRIPT_NAME=$0
ALL_PARAM=0
function help() {
echo "---------------------------------------------------------"
echo -e "\033[32m" "Usage: ${SCRIPT_NAME} {all|4|5|6|7|8}" "\033[0m"
echo "------... | true |
9541cb16758b4b8ff6a08d7d55ce2fc2f9f641a4 | Shell | kazoo135/shell-script-tutorials | /positional-args1.sh | UTF-8 | 360 | 3.0625 | 3 | [] | no_license | # using Positional arguments first example
echo "To change your file name, first enter the source file"
read sourcefile
echo "Now begin typing your content us crtl-d to stop writing"
cat > $sourcefile
echo "To change enter new name for file"
read destfile
mv $sourcefile $destfile
echo "Here is the contents of your fi... | true |
2fc95a7bc41a270a05b16444d166092323ddab8a | Shell | drumsco/dotfiles | /home/.zashrc | UTF-8 | 5,878 | 2.796875 | 3 | [] | no_license | # bash, zsh共通設定
# .zashenvに設定するとDirDiff.vimでのLANG設定(https://github.com/tmsanrinsha/DirDiff.vim/commit/84f11927ae9a915cd7a0d330a1abba26a9982e32)を上書きしてしまうのでここに書く
# 以下のようなエラーが出る場合は
# perl: warning: Setting locale failed.
# perl: warning: Please check that your locale settings:
# LANGUAGE = "en_US:",
# ... | true |
3cfb6c6bbb16dd69feaafcc5da9829b2785b38f4 | Shell | amustafa/dotfiles | /neovim/install.sh | UTF-8 | 976 | 2.8125 | 3 | [] | no_license | #if [ "`uname -s`" = Darwin ]; then
# brew install neovim
#else
# python download_latest_neovim.py
#fi
#pyenv shell use nvim
pip install neovim
pip install flake8
pip install jedi
pip install yapf
pip install tox
NVIM_APP_DIR=${HOME}/opt
NVIM_CONFIG_HOME=${HOME}/.config/nvim
NVIM_DATA_DIR=${HOME}/.local
if [ -... | true |
9bf39269104d586acd30aaab4c6547a59c3ddc2a | Shell | masarakki/dotfiles | /install/ruby | UTF-8 | 211 | 3.015625 | 3 | [] | no_license | #!/bin/sh
ruby_version=`rbenv install -l | grep -E "^[ 0-9\.]+$" | sort -V | tail -n 1`
if [ -z "`rbenv versions | grep $ruby_version`" ]; then
rbenv install $ruby_version
rbenv global $ruby_version
fi
| true |
f179a0df9a4c4044cd1623e971a9f96b23a2eee5 | Shell | ReedRichard/k8s-rabbit-pod-autoscaler | /autoscale.sh | UTF-8 | 3,305 | 4.09375 | 4 | [
"MIT"
] | permissive | #!/bin/bash
namespace=""
deployment=""
getCurrentPods() {
current=$(kubectl -n $namespace describe deploy $deployment | \
grep desired | awk '{print $2}' | head -n1)
if [[ $current != "" ]]; then
echo $current
else
# If kube api request fails, retry after 3 seconds
sleep 3
current=$(kubect... | true |
801eacc8f2409c0441ff99978437e4dc2f28225d | Shell | SenseGrow/qca9377a | /WLAN-AIO/rootfs/wlan-load.sh | UTF-8 | 3,638 | 3.25 | 3 | [] | no_license | #!/bin/sh
#
# WFA-start-usb-single.sh : Start script for Wi-Fi Direct Testing.
#
#
# Parameters
#
TOPDIR=`pwd`
MODULE_PATH=${TOPDIR}/lib/modules
WPA_SUPPLICANT=${TOPDIR}/sbin/wpa_supplicant
WPA_CLI=${TOPDIR}/sbin/wpa_cli
SIGMA_DUT=${TOPDIR}/sbin/sigma_dut
IW=${TOPDIR}/sbin/iw
WFA_SCRIPTS_PATH=${TOPDIR}/home/a... | true |
65ba7557c108ecd5e38e2f682ce85715b4389544 | Shell | matthieudelaro/docker-nginx-akeneo | /start.sh | UTF-8 | 1,060 | 3.84375 | 4 | [
"MIT"
] | permissive | #!/bin/bash
MACHINE_NAME=
source .env
DOCKER_EXEC="docker exec akeneo_pim_app "
function print_msg()
{
printf "$1\n"
}
# This is a hack around mounting Linux volumes on docker-machines properly
# @see https://github.com/docker/machine/issues/3234#issuecomment-202596213
if [ -n "${MACHINE_NAME}" ] && [ "`uname... | true |
345df411f440fa13539be4c03337dd721bf8ca66 | Shell | iforgotband/kubler | /dock/kubler/images/busybox/build.sh | UTF-8 | 847 | 3 | 3 | [
"BSD-2-Clause"
] | permissive | #
# Kubler phase 1 config, pick installed packages and/or customize the build
#
_packages="sys-apps/busybox"
#
# This hook is called just before starting the build of the root fs
#
configure_rootfs_build()
{
update_use 'sys-apps/busybox' '+make-symlinks +static'
}
#
# This hook is called just before packaging th... | true |
b1d664af306cf4b564ff946e7596e882a4376631 | Shell | michaelwan/GitDeploy | /script/dev/release.sh | UTF-8 | 1,003 | 3.84375 | 4 | [] | no_license | #!/bin/sh
DATE=`date +%d%m%Y`
export DATE
cd ${GIT_SERVER_REPOSITORY}
#stash any local changes
git stash
#check if there is any local changes
STASH_LIST="$(git stash list)"
#this if will output a error msg when STASH_LIST is not empty, but the operation is still correct.
if [ -z ${STASH_LIST:-""} ]
then
#pull chan... | true |
c16d529b87f3e53b371ffe5ebb3894b04aa352b1 | Shell | ubuntu1213/shell | /12/test13.sh | UTF-8 | 506 | 3.953125 | 4 | [] | no_license | #!/bin/bash
# Check if either a directory or file exists
#
item_name=$HOME/sentinel
echo
echo "The item being checked: $item_name"
echo
if [ -e $item_name ]
then #Item does exist
echo "The item, $item_name, does exist."
echo "But is it a file?"
echo
if [ -f $item_name ]
then #Item is a file
echo "Yes, $item_na... | true |
9c858264576c6ef237b689b7e2ac64cfeaf3812c | Shell | krishnawattamwar/botler_server | /uat/monitoring/serverDown.sh | UTF-8 | 530 | 3.21875 | 3 | [] | no_license | #!/bin/sh
SERVERIP_PROD="Botler Prod"
NOTIFYEMAIL="itsupport@graymatrix.com"
#NOTIFYEMAIL1="krishna.wattamwar@graymatrix.com"
COUNT_PROD=$(curl http://10.198.0.4 -k -s -f -o /dev/null --connect-timeout 30 && echo "SUCCESS" || echo "FAIL")
MSG=""
if [ $COUNT_PROD != "SUCCESS" ];
then
MSG="${MSG}$SERVERIP_PROD Server i... | true |
ae8809ee42ae5dd9522204d6383624dfe9667dda | Shell | fengchuiguo1994/sprite-pipeline | /scripts/HiCorrector_1.2/example/run_export_norm_data.sh | UTF-8 | 1,376 | 3.609375 | 4 | [
"MIT"
] | permissive | checkMakeDirectory(){
echo -e "checking directory: $1"
if [ ! -e "$1" ]; then
echo -e "\tmakedir $1"
mkdir -p "$1"
fi
}
# export_norm_data <input raw matrix file> <#rows/columns> <has header line in input file?> <has header column input file?> <memory size (MB)> <input bias vector file> <fixed row sum after nor... | true |
4c2af894df26483d376cf76dc6425b9eb772ba53 | Shell | druidfi/docker-images | /misc/s3-sync/entrypoint.sh | UTF-8 | 628 | 3.359375 | 3 | [] | no_license | #!/bin/sh
# shellcheck disable=SC2086
DATA_PATH="/data/"
: "${ACCESS_KEY:?"ACCESS_KEY env variable is required"}"
: "${SECRET_KEY:?"SECRET_KEY env variable is required"}"
REGION=${REGION:-eu-central-1}
S3CMD_BIN="/usr/bin/s3cmd --region=$REGION"
S3CMD_BIN="$S3CMD_BIN --access_key=$ACCESS_KEY"
S3CMD_BIN="$S3CMD_BIN -... | true |
6d19ce188b80aee74819c926cab8082a363de224 | Shell | hermish/toronto-data | /io/import.sh | UTF-8 | 191 | 3.015625 | 3 | [] | no_license | #!/bin/bash
# Downloads and unzips the data, address found in the source file
location=$(sed -n '1p' < literals/source.txt)
curl "$location" -o data/dinesafe.zip
unzip data/dinesafe -d data
| true |
d1f2ef168395153449b30622fa3345b070ba0263 | Shell | kryptonat/settings-and-dot-files | /setup.sh | UTF-8 | 243 | 2.640625 | 3 | [] | no_license | #/bin/bash
set -x
dotfiles=$(cd $(dirname $0) && pwd)
ln -s $dotfiles/bashrc ~/.bashrc || true
ln -s $dotfiles/bash_profile ~/.bash_profile || true
ln -s $dotfiles/bash_aliases ~/.bash_aliases || true
| true |
2de6f3172be122fa835fa7afdeedf4784529b7b1 | Shell | Pankaj-Ra/ECEP_C-CPP | /ECEP/LinuxSystem/Templates/Function/function_3.sh | UTF-8 | 247 | 3.953125 | 4 | [] | no_license | #!/bin/bash
clear
function check()
{
if [ -e "./$1" ]
then
echo "Succeeded"
return 0
else
echo "Failed"
return 1
fi
}
echo -n "Enter the name of a file: "
read X
if check $X
then
echo $X exists!
else
echo $X does not exists!
fi
| true |
a26d619ae67b5eb3e2bbf6b11c3defe60db47555 | Shell | ziyiliunian/shell-test | /40-md5校验文件.sh | UTF-8 | 202 | 3.078125 | 3 | [] | no_license | #!/bin/bash
#仅仅是循环得出md5码···==
#by dr
read -p "请输入文件名或者目录名" file_dr
for i in $(ls $file_dr)
do
md5sum "$i" >> ./md5.txt
done
echo "文件md5存为md5.txt"
| true |
fad3c360a9ded765539c2432f54338895d5f4cf2 | Shell | ciena-blueplanet/ember-prop-types | /.travis/maybe-publish-gh-pages.sh | UTF-8 | 794 | 3.453125 | 3 | [
"MIT"
] | permissive | #!/bin/bash
source $(npm root -g)/pr-bumper/.travis/is-bump-commit.sh
if isBumpCommit
then
echo "Skipping pr-bumper gh-pages publish step for version bump commit"
exit 0
fi
VERSION=`node -e "console.log(require('./package.json').version)"`
TMP_GH_PAGES_DIR=.gh-pages-demo
# We only want to deploy to gh-pages fro... | true |
7e9e0ef30f95bd54d12d57ad00ad1148937ad2b2 | Shell | langmead-lab/reference_flow-experiments | /scripts/bash_exp/mass_buildfq_from_vcf.sh | UTF-8 | 1,161 | 2.859375 | 3 | [
"MIT"
] | permissive | STORAGE=/net/langmead-bigmem-ib.bluecrab.cluster/storage
SCRATCH=/home-1/bsolomo9\@jhu.edu/scratch/bsolomo9/genome_relaxation/
#RELAX=/scratch/groups/blangme2/naechyun/relaxing/
RELAX=/home-1/bsolomo9\@jhu.edu/genome_relaxation/
DATE=$(date +"%m-%d-%Y")
RANDSIZE=100
RANDSET=${SCRATCH}/1000G_R${RANDSIZE}_${DATE}.txt
RAN... | true |
4416587d169186443aa7a6d4fa62aaf2215c7b12 | Shell | abhidarbey/hyperledger-brooklyn-sawtooth | /scripts/accounts.sh | UTF-8 | 1,596 | 3.53125 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
# Copyright 2018 by Blockchain Technology Partners Limited
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... | true |
d16b770f14eed4267005983a106f9fc4a19cdd92 | Shell | anjingbin/starccm | /postgresql/src/bin/pgaccess/pgaccess.sh | UTF-8 | 239 | 2.65625 | 3 | [
"PostgreSQL",
"BSD-2-Clause"
] | permissive | #!/bin/sh
PATH_TO_WISH='@WISH@'
PGACCESS_HOME='@PGACCESSHOME@'
PGLIB='@PGLIB@'
PGPORT="${PGPORT:-@DEF_PGPORT@}"
export PATH_TO_WISH
export PGACCESS_HOME
export PGLIB
export PGPORT
exec "${PATH_TO_WISH}" "${PGACCESS_HOME}/main.tcl" "$@"
| true |
07d519b19edc60970a474a5d014044c407bf2c57 | Shell | dannil76/krillo | /bin/get_token.sh | UTF-8 | 298 | 2.578125 | 3 | [] | no_license | #!/bin/bash
TOKEN=$(curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"username": "demo", "password": "demo1234!"}' \
http://krillo22.caupo.se/rest/V1/integration/admin/token)
# Get rid of quotes
echo $TOKEN | sed -e "s/^\"//" -e "s/\"$//"
exit 0
| true |
8c97e5f4f6c9822c7fceaee4a5e14a7b39b76f62 | Shell | rowanpang/rtl8192su | /fsIns.sh | UTF-8 | 481 | 2.734375 | 3 | [] | no_license | #!/usr/bin/bash
MODDIR="/lib/modules/$(uname -r)/kernel"
drvWIFI="$MODDIR/drivers/net/wireless"
rtl="$drvWIFI/realtek/rtlwifi"
rtl8192su="$rtl/rtl8192su"
KMOD_SRC="./rtlwifi"
mkdir -p $rtl8192su
bak=".bak.`date +%Y%m%d-%H%M%S`"
install -v --suffix=$bak $KMOD_SRC/rtlwifi.ko $rtl
install -v --suffix=$bak $KMOD_SRC/... | true |
0a444c9d19703e682ff000999cb593e75fcbe2a5 | Shell | Mik317/Openframe-Image | /install.sh | UTF-8 | 2,182 | 3.703125 | 4 | [] | no_license | #!/bin/bash
#
# Be VERY Careful. This script may be executed with admin privileges.
echo "Installing glslViewer..."
if ! [ -z "$TRAVIS" ]; then
echo "TRAVIS env, don't install"
exit 0
fi
os=$(uname)
arq=$(uname -m)
# does glslViewer already exist?
if hash glslViewer 2>/dev/null; then
echo "glslViewer al... | true |
1c9aecd4b66cf14e3a815a25057dec851f551426 | Shell | petronny/aur3-mirror | /sdlmess-svn/PKGBUILD | UTF-8 | 2,354 | 2.8125 | 3 | [] | no_license | # Contributor: Anton Shestakov <engored*ya.ru>
# Maintainer: Anton Shestakov <engored*ya.ru>
pkgname=sdlmess-svn
pkgver=20688
pkgrel=1
pkgdesc='A port of the popular Multiple Emulator Super System using SDL, SVN version.'
url='http://www.mess.org/'
license=('custom:MAME License')
arch=('i686' 'x86_64')
depends=('sdl>=... | true |
93ce607805025d582e30af845310f866e180c990 | Shell | enmata/cmpsite | /testing/testing_wrapper-remote-tls.sh | UTF-8 | 537 | 2.546875 | 3 | [] | no_license | #!/bin/bash
echo "--Creating virtual environment--"
cd testing
virtualenv -q testing_venv
source testing_venv/bin/activate
echo "--Installing dependencies--"
pip3 install -q -r requirements_testing_wrapper_remote.txt
echo "--Setting execution environment--"
export DJANGO_BASE_URL="https://192.168.99.107:443/secure"
... | true |
8ba6ff08907e74ed8b26d78fa1734a8cef0aef27 | Shell | Panagiotis-INS/Mini_Projects | /Rick Script/Rick.sh | UTF-8 | 169 | 2.546875 | 3 | [] | no_license | #!/bin/bash
##
#code version
enc=cGFkZGluZ3BhZGRpbmdwYWRkaW5nIGh0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9ZFF3NHc5V2dYY1EgcGFkZGlucGFkZGluZ3BhZGRpbmcK
xdg-open `echo $enc |base64 -d |cut -d " " -f 2`;
exit 0;
#
#command version
xdg-open `echo "cGFkZGluZ3BhZGRpbmdwYWRkaW5nIGh0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9ZFF3N... | true |
427306f86873a2f308b5b89f076edd65bda548ff | Shell | LeDarkSide/packages | /cloud/script.bash | UTF-8 | 6,821 | 4.03125 | 4 | [] | no_license | #!/bin/bash
# ----------------------------
# ------- data.bash ---------
# ---- autor : Leo Sudreau ---
# ---- version : 0.8 ---------
# ----------------------------
#
# Le scripts à pour but de synchroniser différents comptes en lignes, permettant d'avoir tout ces dossier en ligne au lancement de l'environement de t... | true |
2d9902f13f2d83a293208e349643b94d7ef9b774 | Shell | ilibx/magenta-os | /kernel/lib/version/buildid.sh | UTF-8 | 652 | 3.234375 | 3 | [
"MIT",
"BSD-3-Clause"
] | permissive | #!/usr/bin/env bash
# Copyright 2016 The Fuchsia Authors
# Copyright (c) 2015 Travis Geiselbrecht
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
eval `date -u +'BYR=%Y BMON=%-m BDOM=%-d BHR=%-H BMIN=%-M'`
chr () {
... | true |
2a4829804b3930a07bcb0aba263d0a9e47ee4799 | Shell | espnet/espnet | /egs2/googlei18n_lowresource/tts1/local/data.sh | UTF-8 | 4,007 | 3.515625 | 4 | [
"Apache-2.0"
] | permissive | #!/usr/bin/env bash
set -e
set -u
set -o pipefail
log() {
local fname=${BASH_SOURCE[1]##*/}
echo -e "$(date '+%Y-%m-%dT%H:%M:%S') (${fname}:${BASH_LINENO[0]}:${FUNCNAME[1]}) $*"
}
SECONDS=0
stage=1
stop_stage=3
threshold=35
sex=both
lang=es_ar
openslr_id=61
nj=40
log "$0 $*"
. utils/parse_options.sh
if [ $... | true |
5731afb40fb66f23749b1ab91ff5d9052b130509 | Shell | ContainerDroid/gnu | /bin/run | UTF-8 | 1,631 | 3.109375 | 3 | [] | no_license | #!/bin/bash
device='0b0a41d90297661a'
cmdline='console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead androidboot.selinux=permissive user_debug=31 msm_watchdog_v2.enable=1'
#bootimage='android-boot.img'
bootimage='recovery.img'
rootfs='alarm'
bootimage_folder=${bootimage%.img}
kernel=${bootimage_folder}/${bootimag... | true |
9f4b90712fc93b05058098ec89e78289f60b6591 | Shell | 4lm/ClairMeta | /.travis/bintray.sh | UTF-8 | 2,030 | 3.9375 | 4 | [] | permissive | #!/bin/bash
set -x
API=https://api.bintray.com
PACKAGE_DESCRIPTOR=bintray-package.json
DEB=$1
PCK_NAME=$(dpkg-deb -f ${DEB} Package)
PCK_VERSION=$(dpkg-deb -f ${DEB} Version)+${DISTRIBUTION}
PCK_DESC=$(dpkg-deb -f ${DEB} Description)
FILE_TARGET_PATH=$(basename $DEB)
main() {
CURL="curl -u${BINTRAY_USER}:${BINTRA... | true |
31c061d487a27f331675f2bc83562cb1b940715a | Shell | osvaldofonseca/client | /scripts/peering-config | UTF-8 | 1,066 | 3.296875 | 3 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | export varrun="$progdir/var"
export bird_sock="$varrun/bird.ctl"
export bird_cfgs="$progdir/configs/bird"
export bird_routes="$bird_cfgs/route-announcements"
export bird_filters="$bird_cfgs/prefix-filters"
export openvpn_cfgs="$progdir/configs/openvpn"
export mux2dev_db="$varrun/mux2dev.txt"
export prefix_db="$progd... | true |
d0174d62cc5099e6345d937dea64ab6e2ddcb549 | Shell | alexec/argo-cloudops | /images/cdk/build.sh | UTF-8 | 574 | 3.8125 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
set -e
cdk_version=$1
repo=$2
usage() {
echo "$0 CDK_VERSION REPO"
}
if [ -z $cdk_version ]; then
usage
exit 1
fi
if [ -z $repo ]; then
usage
exit 1
fi
build_dir=$TMPDIR/docker-cdk
rm -rf $build_dir
mkdir -p $build_dir
cp Dockerfile $build_dir
cp requirements.txt $build_dir
cp .... | true |
4e7149ba65344495571910e6133f86da1a7c2213 | Shell | hanifr/cpu-health-monit | /uninstall.sh | UTF-8 | 860 | 3.625 | 4 | [
"MIT"
] | permissive | #!/bin/bash
VERSION=1.0
# printing greetings
echo "MoneroOcean mining uninstall script v$VERSION."
echo "(please report issues to support@moneroocean.stream email with full output of this script with extra \"-x\" \"bash\" option)"
echo
if [ -z $HOME ]; then
echo "ERROR: Please define HOME environment variable to ... | true |
3eafa4d74ee8784e99dc9f1ec0ffafe7cc04c022 | Shell | gtfierro/conix-network-filter | /get-remote-tcpdump.sh | UTF-8 | 117 | 2.546875 | 3 | [
"BSD-3-Clause"
] | permissive | #!/bin/bash
host=$1
iface=$2
mkfifo /tmp/pcap
ssh $host "sudo sh -c 'tcpdump -i $iface -s0 -U -n -w -'" > /tmp/pcap
| true |
015b1f358701e127f022e502c199c5a42b142439 | Shell | Mayar0-0/Laravel-FCM | /scripts/make-documentation.sh | UTF-8 | 1,307 | 4.03125 | 4 | [
"MIT"
] | permissive | #!/bin/bash
set -e
REPOSITORY_ROOT="$(dirname $0)/../"
BUILD_ROOT="$(realpath ${REPOSITORY_ROOT}/build)"
function downloadRelease() {
rm -f "${BUILD_ROOT}/doctum.phar"
curl -# -o "${BUILD_ROOT}/doctum.phar" -O https://doctum.long-term.support/releases/5/doctum.phar
chmod +x "${BUILD_ROOT}/doctum.phar"
}
... | true |
1df7ba0173b19f49fca95936269180c2e16ec861 | Shell | ElitCoder/kobla-base | /build.sh | UTF-8 | 147 | 2.640625 | 3 | [
"MIT"
] | permissive | # Check dependencies
./check_dep.sh
# Build
if [ ! -d build ]; then
mkdir -p build && cd build
meson ..
cd ..
fi
cd build
ninja
cd .. | true |
00c124aa2fdd0fc8064660ea70358e6b1c64f1ad | Shell | wackyvik/docker-confluence | /image/support-files/confluence-init.sh | UTF-8 | 7,462 | 3.359375 | 3 | [
"MIT"
] | permissive | #!/bin/bash
# Prerequisities and checks start.
# --- Add /etc/hosts records
if [ -f /etc/hosts.install ]; then
/bin/cat /etc/hosts.install >>/etc/hosts
fi
# --- Fix file permissions.
/usr/bin/find /var/atlassian/confluence -type d -exec /bin/chmod 750 '{}' ';'
/usr/bin/find /var/atlassian/confluence -type f -exe... | true |
2273d9ad79577d5a8cf71d6c8ac681bb75b5db74 | Shell | im-ant/IFT6135-rep-learning | /A3-generative-models/arg-job_q3_gan.script | UTF-8 | 1,292 | 2.515625 | 3 | [] | no_license | #!/bin/bash
# ============================================================================
# Script submitted to sbatch to run job on Mila cluster
#
# ============================================================================
set -e
# ===========================
# Variable set-up
# Training variables
NUM_EPOCHS=100... | true |
d62ae87aa209df1fbfea856a46db8209976c36cc | Shell | ramp-eu/STAR | /src/ROSE-AP/docker/uploadcsv.sh | UTF-8 | 1,175 | 2.84375 | 3 | [
"MIT",
"Apache-2.0"
] | permissive | #!/bin/bash
sed -e "s/FIWAREHOST/$FIWAREHOST/g"
echo $FIWAREHOST
sleep 5
ip=$FIWAREHOST
id="StitchJob"
csvfile="app/data.csv"
echo DOING : curl create entities
#make sure you execute this line only once, comment if you need to update existing entities
./createcsv.sh $csvfile
echo DOING : curl get entities
curl --loca... | true |
d616aaf2a01ae3a4a1b13a7c8f8f3a2b82ce9f97 | Shell | yanghoon/backup-test | /test-rclone-rcat.sh | UTF-8 | 494 | 3.15625 | 3 | [] | no_license | #!/bin/bash
RCLONE=s3-demo:zcp-backup-gitea
FILE=rcat-test.tgz
DIST=".tmp/${FILE%.*}"
echo -e ".git\n.tmp\n.gitignore" > .exclude
## https://rclone.org/commands/rclone_rcat/
## https://blog.ls-al.com/tar-to-object-storage-using-rclone/
time tar --exclude-from=.exclude -zcvpf - . | rclone rcat $RCLONE/$FILE -vv
rclon... | true |
f20c15c2f6da2a5da713c71864d6ef567a6e657f | Shell | nickgarkusha/xcode-continuous-integration | /examples/mapbox/mapbox-gl-native-ios_open_iframework.sh | UTF-8 | 1,630 | 3.015625 | 3 | [
"MIT"
] | permissive | #!/bin/sh
# Post-Integration Script
# mapbox_gl_native_ios_open_iframework
# MARK: - Update PATH
echo $PATH
export PATH=/usr/local/bin:.:$PATH
echo $PATH
# set verbose
set -v
# MARK: - project specific build commands
# Log the explicit path to the Workspace
echo xed ${XCS_PRIMARY_REPO_DIR}/platform/ios/ios.xcworks... | true |
1b6c96a51c80eb6942a255068848eda732eae70b | Shell | Ruxton/shell_config | /.profile.d/android.bash | UTF-8 | 3,838 | 3.984375 | 4 | [] | no_license | function droidshot() {
local formatter="%03d"
local file="$1"
local n=1
local fn=$(printf "${formatter}" $n)
if [[ "$file" == "" ]]; then
file="droidshot-"$(date "+%d-%m-%Y-")
files=`ls ${file}* 2>/dev/null|awk '{print $1}'`
ext=".png"
for i in $files; do
if [[ "${file}${fn}${ext}" == ... | true |
37ed8146aba22268afc4d3a0986783f3257e2053 | Shell | zessx/sass-init | /sass-init.sh | UTF-8 | 537 | 3.8125 | 4 | [
"MIT"
] | permissive | #!/bin/bash
# sass-init.sh: a shell script to generate a Sass architecture from a Manifest file
# $1: manifest
# $2: syntax (scss | sass)
# $3: prefix (prefix | no-prefix)
for i in `grep -P '^\s*@import\s+([\x27\x22]).+\1' $1 | sed -r 's/.*([\x27\x22])(.+)\1.*/\2/'`;
do
DIR=`dirname $i`
FIL=`basename $i`
EXT=".s... | true |
1294703ebadf04b2bea763650a1a0dc278cdae3f | Shell | bstrahija/dotfiles | /osx | UTF-8 | 13,457 | 3.046875 | 3 | [] | no_license | #!/usr/bin/env bash
# ==============================================================================
# OSX customizations
#
# These are only that I currently use, but here are some more:
# * http://mths.be/osx (main source of modifications)
# * http://secrets.blacktree.com/
# * http://www.defaults-write.co... | true |
2ba88423b8f590bfbbeefd67173eb4d52a081448 | Shell | Aniverse/inexistence | /00.Installation/script/zuozhong | UTF-8 | 4,361 | 3.53125 | 4 | [] | no_license | #!/bin/bash
#
# https://github.com/Aniverse/inexistence
# Author: Aniverse
################################################################################################
script_update=2020.03.29
script_version=r11002
outputpath="/log/torrents"
##########################################################################... | true |
b8994c837d87d51f46da19e5aae3ac401b27d917 | Shell | samip5/archlinux-docker | /pacstrap-docker | UTF-8 | 822 | 3.90625 | 4 | [] | no_license | #!/bin/bash
out() { printf "$1 $2\n" "${@:3}"; }
error() { out "==> ERROR:" "$@"; } >&2
die() { error "$@"; exit 1; }
(( $# )) || die "No root directory specified"
newroot=$1; shift
pacman_args=("${@:-base}")
if [[ $EUID -ne 0 ]]; then
die "This script must be run as root"
fi
[[ -d $newroot ]] || die "%s is not a ... | true |
e60b122894b4f92cfbdc71ba340b3bd9a4299ce5 | Shell | pradiptapks/nfv-sdn-troubleshooting | /ovn-dvr1.sh | UTF-8 | 2,502 | 3.296875 | 3 | [] | no_license | echo "Enter OVN Controller Node IP"; read ovn_node;
echo "Enter OVN Compute Node IP"; read comp_node;
echo "Enter Neutron External Network ID"; read ext_id;
echo "Enter External OVS Bridge name"; read br_name;
file=/tmp/ovn-dvr-content.txt
>$file
echofun() {
echo -e "\n\n$1" | tee -a $file
}
source /home/stack/ov... | true |
acd56a832218e15107a83eb4bef7b6f3bc850ef1 | Shell | metral/rax_config | /ubuntu_12.04/setup_xentools.sh | UTF-8 | 351 | 2.921875 | 3 | [] | no_license | #!/bin/bash
wget http://boot.rackspace.com/files/xentools/xs-tools-6.2.0.iso
mkdir xentmp
mount -o loop xs-tools-6.2.0.iso xentmp
pushd xentmp/Linux
# Force install (as 12.04 even though this is 14.04)
# since xenserver tools only supports upto ubuntu 12.04
os_minorver="04" ./install.sh -d "ubuntu" -m "12" -n
popd
... | true |
dbe763f45bb959e4d45be622eecef4d0c6d81a3c | Shell | Tesora/tesora-config | /install_puppet.sh | UTF-8 | 6,071 | 3.421875 | 3 | [] | no_license | #!/bin/bash
# Copyright 2013 OpenStack Foundation.
# Copyright 2013 Hewlett-Packard Development Company, L.P.
# Copyright 2013 Red Hat, Inc.
#
# 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
#... | true |
6c52750fcc6cb73100b705a527d04bf37c9b41ed | Shell | crzmp3/linux_lab2 | /weather.sh | UTF-8 | 219 | 2.640625 | 3 | [] | no_license | #!/bin/bash
while true; do
http -b http://meteo.by > url.txt
grep -n -A 7 '<p class="t ">' url.txt > url_new.txt
sed -n 7p url_new.txt | awk '{print $2}'
sleep $(awk -F "=" '/timeout/ {print $2}' config.ini)
done
| true |
1735ee819411379052a21fa2335270dddc89d230 | Shell | B-Translator/old_btr_server | /modules/custom/btrCore/data/get/mandriva.sh | UTF-8 | 552 | 3.578125 | 4 | [] | no_license | #!/bin/bash
echo "===== GETTING MANDRIVA ====="
cd $(dirname $0)
. ./inc.sh
change_dir mandriva
### get a list of .po files for our languages
svn_url=http://svn.mandriva.com/svn/soft
svn ls -R $svn_url > svn_mandriva.txt
langs=$(echo $languages | sed -e 's/ /\\|/g')
cat svn_mandriva.txt | grep -e "\($langs\)\.po" > s... | true |
baaa3c7d5ff5d9eb48bc7f80536a78b136a614ac | Shell | wang-xinzhi/junto | /bin/junto | UTF-8 | 1,338 | 3.8125 | 4 | [
"Apache-2.0"
] | permissive | #!/bin/bash
JARS=`echo $JUNTO_DIR/lib/*.jar $JUNTO_DIR/target/*.jar $JUNTO_DIR/lib_managed/compile/*.jar | tr ' ' ':'`
SCALA_LIB="$HOME/.sbt/boot/scala-2.9.1/lib/scala-library.jar"
JARS_MANAGED=
if [ -e $JUNTO_DIR/lib_managed ]
then
JARS_MANAGED=`find $JUNTO_DIR/lib_managed -name '*.jar' -print | tr '\n' ':'`
fi
... | true |
0801ed52a306205cafa057be9a64cf8e3887d00e | Shell | brydavis/fizzbuzz | /main.sh | UTF-8 | 265 | 3.328125 | 3 | [
"MIT"
] | permissive | #!/usr/bin/env bash
fizzbuzz () {
for i in `seq 0 $1`;
do
if (( $i % 5 == 0 && $i % 3 == 0 ))
then
echo "FizzBuzz"
elif (( $i % 3 == 0 ))
then
echo "Fizz"
elif (( $i % 5 == 0 ))
then
echo "Buzz"
else
echo $i
fi
done
}
fizzbuzz 100
| true |
c3af921307d0404125a8615e087f0e61f3a326ee | Shell | jbyck/dotfiles | /heroku/install.sh | UTF-8 | 194 | 2.875 | 3 | [
"MIT"
] | permissive | #!/bin/sh
#
# Heroku
#
# This installs the Heroku toolbelt
if test ! $(which heroku)
then
echo " Installing Heroku for you."
wget -qO- https://toolbelt.heroku.com/install.sh | sh
fi
exit 0
| true |
05de23a1c41747674a4d82d9472524b195b33db6 | Shell | jacobkahn/dotfiles | /zsh/aliases.zsh | UTF-8 | 996 | 3.125 | 3 | [] | no_license | # Easier navigation: .., ..., ...., .....
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
##### Shortcuts #####
# Navigation
alias d="cd ~/Documents/Dropbox"
alias dl="cd ~/Downloads"
alias dt="cd ~/Desktop"
alias p="$PROJECTS"
# Chrome
alias chrome='/Applications/Google\ C... | true |
f016e6b70a66efb1cd0559d1f0feb0be76a42f4b | Shell | espasov/read-mapping-code-amoA | /read_mapping_amoA.sh | UTF-8 | 8,681 | 3.5625 | 4 | [] | no_license | #!/bin/bash
# code for performing read-mapping of metagenomic reads to specific amoA sequences to determine relative abundance of amoA genes for Nitrospira
# The code is modified from Jackson Tsuji's ATLAS co-assembly code available at https://github.com/jmtsuji/atlas-extensions/blob/master/co-assembly.sh
#read_ma... | true |
551679ae32f2ffdc406bb545b975b845b5ad286d | Shell | KomarovEA/Zabbix-ELK | /Task4/logstash-install.sh | UTF-8 | 1,068 | 3.15625 | 3 | [] | no_license | #!/bin/bash
### This script installing Logstash agent on Tomcat's VM ###
### Input parameters: <Elasticsearch + Kibana server's address> <Tomcat + Logstash agent VM's address> ###
cd ~
#Install Java
yum -y -d1 install java-1.8.0-openjdk-devel
yum -y -d1 install net-tools
# Install Logstash
rpm --import https://artifac... | true |
180707cd42f84ef6162b75489fdef65a0850bcd3 | Shell | shizonic/sensible-shell | /.local/share/kyrat/lib/core.sh | UTF-8 | 5,771 | 4 | 4 | [
"MIT"
] | permissive | #!/usr/bin/env bash
KYRAT_HOME=${KYRAT_HOME:-${HOME}/.config/kyrat}
BASE64=base64
BASH=bash
CAT=cat
GUNZIP=gunzip
GZIP=gzip
SSH=ssh
# PATH needs to be updated since GNU Coreutils is required in OSX environments
GNUBIN="/usr/local/opt/coreutils/libexec/gnubin"
BASE_DIRS=("/tmp" "\$HOME")
NOT_EXISTING_COMMAND=111
NO_... | true |
81bb9532a864456f139f6046065857e90b457b07 | Shell | dcode/docked_crits | /docker-entrypoint.sh | UTF-8 | 1,210 | 2.9375 | 3 | [] | no_license | #!/usr/bin/env bash
ADMIN_ORG="ACME, Inc"
ADMIN_FIRSTNAME="Wiley"
ADMIN_LASTNAME="Coyote"
if [ ! -f /data/crits/crits/config/database.py ]; then
cp /data/crits/crits/config/database_example.py /data/crits/crits/config/database.py && \
SC=$(cat /dev/urandom | LC_CTYPE=C tr -dc 'abcdefghijklmnopqrstuvwxyz012345... | true |
d624ba5ae64d542737803e01b659c8b7dad5ae6d | Shell | humberaquino/ogahunt | /web/scripts/utils/grab-version | UTF-8 | 207 | 3.40625 | 3 | [
"MIT"
] | permissive | #!/bin/bash
ver=$(cat VERSION | tr -d '\n')
case $1 in
sha1)
sha=$(git rev-parse HEAD | head -c 8 | tr -d '\n')
echo "v${ver}_${sha}"
;;
*)
echo -n "v$ver"
;;
esac
| true |
6f873495b685c2bcf3f83503abba0a064c21b1f7 | Shell | Chollohookah/ShishasCrawler | /cron-script.sh | UTF-8 | 1,500 | 2.828125 | 3 | [] | no_license | #!/bin/bash
echo "" > $HOME/data/zuloshisha.json
echo "" > $HOME/data/bengalas.json
echo "" > $HOME/data/hispacachimba.json
echo "" > $HOME/data/medusa.json
echo "" > $HOME/data/tgs.json
echo "" > $HOME/data/bakkali.json
/usr/local/bin/scrapy runspider $HOME/ShishasCrawler/cachimbosa/cachimbosa/spiders/paginas/zulos... | true |
e45fe892e4db986d0b602e8429de91c3098ef778 | Shell | davidlennick/killswitch-examples | /ids-example/elk/kibana/upload-dash.sh | UTF-8 | 447 | 2.875 | 3 | [] | no_license | #!/bin/bash
kibana_url=http://127.0.0.1:5601
# wait for kibana
# curl -s -o /dev/null -w ''%{http_code}'' $kibana_url
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' $kibana_url/status)" != "200" ]];
do
sleep 2;
done
until curl -X POST -H "kbn-xsrf: true" \
"$kibana_url/api/saved_objects/_import" \... | true |
e84292d4094d024f70dc151d6c3e4503b9ff3174 | Shell | MichaelCurrin/logos | /download_logos.sh | UTF-8 | 959 | 3.40625 | 3 | [
"CC0-1.0"
] | permissive | #!/bin/bash -e
# Download logos.
cd assets/img
# Comments include the name on shields.io in case you use logo field there.
LOGOS=(
ansible
c
circleci
cmake
css3
dart
deno
docker
eslint
git
github
githubactions
gnubash # gnu-bash
go
graphql
html5
java
javascript
jekyll
kubernete... | true |
ca84efca0c0f2ffaa20160d8a64d25478d6ea3b1 | Shell | Langhalsdino/balena-stress-test | /stress-test/entrypoint.sh | UTF-8 | 127 | 2.703125 | 3 | [] | no_license | #!/bin/bash
count=0
while [ True ]; do
echo "Running performance test #$count"
pyperformance run
((++count))
done | true |
eef722f6ca80a5c58b98c8307b0757f497914682 | Shell | delkyd/alfheim_linux-PKGBUILDS | /ryzom-client/PKGBUILD | UTF-8 | 2,794 | 2.765625 | 3 | [] | no_license | # Maintainer: PitBall
pkgname=ryzom-client
pkgver=0.12.0.r8921
pkgrel=1
pkgdesc="Ryzom is a Free to Play MMORPG .This version is for playing on an official server"
arch=('i686' 'x86_64')
url="http://www.ryzom.com/"
license=('AGPL3')
depends=('ryzom-data' 'curl' 'freealut' 'libvorbis' 'libjpeg' 'giflib' 'rrdtool'
... | true |
04ee39603495f9ad74ae6fceb05c726d64c180a0 | Shell | fanta12138/sstk | /ssc/articulations/get_model_ids_with_articulations.sh | UTF-8 | 281 | 2.703125 | 3 | [
"MIT"
] | permissive | #!/bin/zsh
BASE_URL=${1:-http://ec2-18-188-96-100.us-east-2.compute.amazonaws.com/articulations/}
wget -O articulations.json ${BASE_URL}/articulation-annotations/list\?format\=json
jq '.[]["modelId"]' articulations.json | sed -e 's/"//g' | cut -d'.' -f2 > articulatedModelIds.txt | true |
80f30ebbc6ed09ce126d47da44d2ffabaeba060a | Shell | billybissic/Magnificent-Control-Panel | /scripts/install-package.sh | UTF-8 | 8,218 | 3.640625 | 4 | [] | no_license | #!/bin/bash
###########
#
# MIT License
#
# Copyright (c) 2018 Billy Bissic
#
# 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... | true |
6a518deb7e5c60cef9a6814ae10a7ffa3a698b0c | Shell | The-Peso-G/babel | /scripts/integration-tests/e2e-create-react-app.sh | UTF-8 | 1,084 | 3.03125 | 3 | [
"MIT"
] | permissive | #!/bin/bash
#==============================================================================#
# SETUP #
#==============================================================================#
# Start in scripts/integration-tests/ even if run from root dir... | true |
8cef5c19206018edf5993aa45dffae6e53fd2df9 | Shell | bdecoste/istio_proxy_build_image | /src/lightstep/bootstrap.sh | UTF-8 | 309 | 2.578125 | 3 | [
"MIT"
] | permissive | #!/bin/sh
# In case this source is being cross-compiled.
make maintainer-clean 2> /dev/null
rm -rf autom4te.cache 2> /dev/null
LIBTOOLIZE=libtoolize
if [ `uname` = 'Darwin' ]; then
LIBTOOLIZE=glibtoolize
fi
${LIBTOOLIZE} --copy --automake
aclocal -I m4
autoheader
autoconf
automake --copy --add-missing
| true |
da1e5239ff9f767a37c696d93c1063eb9b902538 | Shell | kmadejski/launchpad | /payload/dev/solr/entrypoint.bash | UTF-8 | 593 | 2.5625 | 3 | [
"MIT"
] | permissive | #!/usr/bin/env bash
mkdir -p /ezsolr/server/ez
if [ ! -f /ezsolr/server/ez/solr.xml ]; then
cp /opt/solr/server/solr/solr.xml /ezsolr/server/ez
cp /opt/solr/server/solr/configsets/basic_configs/conf/{currency.xml,solrconfig.xml,stopwords.txt,synonyms.txt,elevate.xml} /ezsolr/server/ez/template
sed -i.bak '... | true |
f405df8054f6189eb9e3152d8a59c2b026048dbd | Shell | LaloVene/Bash-Course | /11-Declare-Command.sh | UTF-8 | 179 | 3.203125 | 3 | [] | no_license | #! /bin/bash
# Prints the current shell environment
declare -p
# Declares a variable
declare my_variable="Hello World"
# Read only variable
declare -r my_read_variable="Hello World" | true |
68cb796ddfc2520ecaee0eb25bf32af5565c451e | Shell | wicadmin/Goldenorb | /ext-rooter-basic/files/usr/lib/rooter/modeswitch.sh | UTF-8 | 12,681 | 3.515625 | 4 | [] | no_license | . /lib/functions/procd.sh
MODCNT=6
ROOTER=/usr/lib/rooter
ROOTER_LINK="/tmp/links"
modeswitch="/usr/bin/usb_modeswitch"
log() {
logger -t "usb-modeswitch" "$@"
}
sanitize() {
sed -e 's/[[:space:]]\+$//; s/[[:space:]]\+/_/g' "$@"
}
find_usb_attrs() {
local usb_dir="/sys$DEVPATH"
[ -f "$usb_dir/idVendor" ] || u... | true |
503c6ca23bde658c57e69b5f89739819726f0554 | Shell | horizontalz/Scripts | /DO-postflight | UTF-8 | 3,774 | 3.234375 | 3 | [] | no_license | #!/bin/sh
# Standard settings for images.
# Script is meant to be run as a postflight script in a .pkg file. Also installs startup settings script as a Launchd item which is inside the package /Contents/Resources directory.
# Checks the system default user template for the presence of
# the Library/Preferences direct... | true |
f1d9628d895d09161bdf5ab32419f3681cb3f53c | Shell | BasketaksSjargong/dotfiles | /wallpapers/wallpaper_time.sh | UTF-8 | 610 | 3.15625 | 3 | [] | no_license | #!/bin/bash
# Change the wallpaper according to time of day
# Script Source: http://www.reddit.com/user/orfix
# Wallpapers Source: http://imgur.com/a/VZ9H2
TIME=$(date +"%H")
FOLDER='/home/ivar/dotfiles/wallpapers'
export DISPLAY=:0.0 # run "env | grep DISPLAY"
case ${TIME} in
0[5-7]) feh --bg-scale ${FO... | true |
fd659b73b5d713b7e71d7cfb41ecf434e677995a | Shell | kasthack-labs/smart_parser | /tools/robots/dlrobot/tests/declaration_link_long/run.sh | UTF-8 | 265 | 2.84375 | 3 | [] | no_license | DUMMY=$1
WEB_ADDR=$2
set -e
function check_folder() {
local folder=$1
python3 ../declaration_link/test.py --web-addr $WEB_ADDR --start-page $folder/sved.html | tr -d '\r' > $folder.found_links
git diff --exit-code $folder.found_links
}
check_folder admkrsk
| true |
bf5701b29834f8d7ac6e98ce70681080f80b884c | Shell | colinblack/game_server | /fmh5/tools/lastdaycoin_rank.sh | UTF-8 | 1,687 | 3.265625 | 3 | [] | no_license | #!/bin/bash
###########数据库信息################
#HOSTNAMES=("10.214.195.42" "10.214.194.181" "10.214.197.39" "10.214.194.72")
HOSTNAMES=("192.168.100.237")
PORT="3306"
USERNAME="root"
PASSWORD="1234"
DBNAME="sg17_s"
##########其它变量信息
#PERDBNUM=10
#DBNUM=40
PERDBNUM=3
DBNUM=3
LIMITNUM=100
lastDayCoinRank="/data/release/sg... | true |
fb4c17425f438a812cfbd0c67ca49bd8bb51868b | Shell | shawnallen85/ansible-fedora-workstation | /setup-ansible.sh | UTF-8 | 378 | 3.5 | 4 | [
"MIT"
] | permissive | #!/bin/bash
if (( $EUID != 0 )); then
echo "Please run as root"
exit
fi
while true; do
read -p "Do you wish to install Anisble? " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
* ) echo "Please answer Yes or No.";;
esac
done
source /etc/os-release
ANSIBLE_VERSION=2.9.2-1.f... | true |
0005799c28fbc85010089685f678b2061c51d160 | Shell | Sy2n0/magpieCTF-2021 | /challenges/web-exploitation/sweatin-in-latex/source/cleanpdfdir.sh | UTF-8 | 122 | 2.96875 | 3 | [
"MIT"
] | permissive | #!/bin/bash
DIR=/var/www/html/pdf/
SIZE=$(du -sm $DIR | grep -oP "\d+")
if [[ $SIZE -gt 100 ]]; then
rm -r $DIR*.pdf
fi
| true |
3f58b39b714415f7d276b5c18fb6a62fa67e24df | Shell | jcwillox/ds-client | /tests/run_test_results.sh | UTF-8 | 382 | 3.015625 | 3 | [] | no_license | #!/usr/bin/env bash
shopt -s globstar
# ensure we are in the same directory as the script
DIR=$(dirname "$0")
cd "$DIR" || exit
echo "INFO: compiling java files"
javac "$(realpath ../src/main)"/**/*.java -d .
export NO_LOGGING=true
echo "INFO: running tests"
./test_results -n -c S2testConfigs/ "java main.Main" "$@"... | true |
2b89eb86fdb684566dd0085b888a8169fbe1b162 | Shell | sbelharizi/ProvisionOnDemand | /aws/VM/docker/create.sh | UTF-8 | 511 | 2.703125 | 3 | [] | no_license | #!/bin/bash
echo "let's start !"
#echo $POD_PROJECT_LOCATION/common/utils/terraform_script/create.sh
. $POD_PROJECT_LOCATION/common/utils/terraform_script/create.sh
#terraform init
#terraform plan -out plan.terraform
#echo "APPLICATION DU PLAN TERRAFORM"
#terraform apply "plan.terraform"
#on sources les ip ext... | true |
f67fe0dbdc36363bb16fe69e7a8003950615fd3f | Shell | FdLSifu/pulseicon | /pulse/ConfigurePulse_x86_64.sh | UTF-8 | 24,063 | 3.078125 | 3 | [] | no_license | #!/bin/bash
# Copyright (c) 2017-2020 by Pulse Secure, LLC. All rights reserved
INSTALLDIR=/usr/local/pulse
LOG=$INSTALLDIR/postinstall.log
HOMEDIR=$(eval echo ~$SUDO_USER)
# Redirect the stdout/stderr into postinstall log
echo "Starting Post Install Script " > $LOG
# no-same-owner is required to get root permission... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.