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
174ee2772149f5aae70e7e36464cadcaa57869bb
Shell
Zandrr/devvm
/roles/devvm/files/bashrc
UTF-8
427
2.515625
3
[]
no_license
export EDITOR=vim # Git Aliases alias gs="git status" alias gd="git diff --patience --ignore-space-change" alias gcb="git checkout -b" alias gb="git branch" alias ga="git add" alias gh="git hist" alias be="bundle exec" alias gm="git checkout master" alias gcm="git commit -m" # Random Aliases alias notes="vim ~/Deskt...
true
ed81315b5a9ea80178fb61867526372732691a16
Shell
Peterschuellermann/Cloud-Computing-Benchmark
/aws-ec2.sh
UTF-8
2,327
3.53125
4
[]
no_license
#!bin/bash # importing and generating key pair if [[ ! -f $HOME/KEY ]]; then mkdir ~/KEY fi if [[ ! -f $HOME/KEY/CC17key.pem ]]; then openssl genrsa -out $HOME/KEY/CC17key.pem 2048 fi openssl rsa -in $HOME/KEY/CC17key.pem -pubout > $HOME/KEY/CC17key.pub sed -e '2,$!d' -e '$d' $HOME/KEY/CC17key.pub >> $HOME/KEY...
true
525f42e2bb62c6abc3621007c95801ee807c0ca1
Shell
ddysher/.unixrc
/tools/scripts/install_server.sh
UTF-8
6,319
3.53125
4
[]
no_license
#!/bin/bash set +x # Installation script for ubuntu15.04 remote host. function InstallAll() { InstallBasicPackages InstallShadowsocks InstallOwncloud InstallZnc if false; then ChangeHostname "vultr.guest" "pitaya" # Only Used for vultr cloudprovider CreateUser "deyuan" # Optionll...
true
6b14923885c37ad3ea0b791b7a691a2ecae9e1f3
Shell
cebutech/vagrant
/install_vagrant.sh
UTF-8
1,027
2.625
3
[]
no_license
#update url's for packages as they are released #adding comments #adding more comments cd ~ mkdir vagrant_env cd vagrant_env rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm rpm -K rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm ...
true
5cdfb852f5fc4532ec6ed04358f4437cadab75f0
Shell
wnj-santrong/aio
/WebRoot/shell/clearLog.sh
UTF-8
698
3.34375
3
[]
no_license
#!/bin/sh # clear tomcat log tomcat_home=/opt/AIO/Service/webservice/apache-tomcat-7.0.54 filelist=`ls $tomcat_home/logs/ | grep catalina` filecount=`ls $tomcat_home/logs/ | grep catalina | wc -l` filelimit=15 # keep 15 files if [ $filecount -gt $filelimit ]; then delcount=$(($filecount-$filelimit)) i=0 for file in...
true
f0e1b98816e10a33b1673c257037dbddef9e8d49
Shell
ezzedin779/holberton-system_engineering-devops
/0x0F-load_balancer/0-custom_http_response-header
UTF-8
746
2.921875
3
[]
no_license
#!/usr/bin/env bash # configurirng my HTTP Header of the 2 servers sudo apt-get update sudo apt-get install -y nginx sudo mkdir -p /var/www/html sudo touch /var/www/html/index.html echo "Holberton School" > /var/www/html/index.html sudo touch /var/www/html/404.html echo "Ceci n'est pas une page" > /var/www/html/404.ht...
true
250f06619058888296f79b4ea91fd31ef12a63d8
Shell
keizo042/dotfile
/script/haskell.sh
UTF-8
228
2.546875
3
[]
no_license
#!/bin/bash DEPS="ghc-mod hasktags codex hscope pointfree pointful hoogle stylish-haskell hindent hdevtools" RESOLVER="lts-8.20" for dep in $DEPS; do printf "install %s\n" $dep stack install --resolver $RESOLVER $dep done
true
cdf29356a82d6883ba65bb850883e2a02fe95c0c
Shell
dubanoze/actility_gw
/lrr/com/cmd_shells/exportlog.sh
UTF-8
1,180
3.515625
4
[]
no_license
#!/bin/sh #default values HOST="" PORT="" USER="" PASS="" SFTP="1" LOGDIR="" while [ $# -gt 0 ] do case $1 in -A) shift HOST="${1}" shift ;; -P) shift PORT="${1}" shift ;; -U) shift USER="${1}" shift ;; -W) shift PASS="${1}" shift ;; -S) shift SFTP="${1}" ...
true
990d103ac467e411ebdffaa3b6d2c991df41b30b
Shell
essa/docker-mysql-repl
/create_repl.sh
UTF-8
3,076
3.328125
3
[]
no_license
#!/bin/bash # modified from # https://github.com/paulczar/docker-wordpress/blob/master/docker # DOCKER_IMAGE=essa/mysql-repl echo echo "Create MySQL Tier" echo "-----------------" echo "* Create MySQL01" if [ -d data/mysql ]; then echo "using existing DB" else mkdir -p data/mysql cp ./initialize_db.sh data/mysq...
true
d5ea948e71c17b6c3d1596ca8d3800108a97dd50
Shell
alldatacenter/alldata
/studio/micro-services/CloudEon/cloudeon-stack/EDP-1.0.0/spark/render/init-history-hdfs-dir.sh.ftl
UTF-8
612
2.90625
3
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
#!/bin/bash HDFS_HOME="$HADOOP_HOME" HDFS_CONF_DIR="/opt/edp/${service.serviceName}/conf" SPARK_HISTORY_LOGS_DIR="${conf['spark.history.fs.logDirectory']}" /bin/bash -c "$HDFS_HOME/bin/hadoop --config $HDFS_CONF_DIR fs -test -e $SPARK_HISTORY_LOGS_DIR" if [ $? -eq 0 ] ;then echo "$SPARK_HISTORY_LOGS_DIR ...
true
f7bb079408312b0ed0dbe383c2ae642e0beaef8e
Shell
BTBTravis/generative-sketches
/preview.sh
UTF-8
155
3.203125
3
[]
no_license
#!/bin/bash echo "Previewing $1" if [ $# -eq 1 ] then echo "Creating index.html" sed "s/001/$1/" preview.html > index.html http-server . fi
true
38019329e6da9c3674eae645c90350bf77b9dc70
Shell
teo-devel/vagrant-arch64-base
/system_files/auto-reflector/auto-reflector.sh
UTF-8
727
3.640625
4
[ "Apache-2.0" ]
permissive
#!/bin/env bash error() { local parent_lineno="$1" local message="$2" local code="${3:-1}" if [[ -n "$message" ]] ; then echo ":: ERROR :: Error on or near line ${parent_lineno}: ${message}; exiting with status ${code}" else echo ":: ERROR :: Error on or near line ${parent_lineno}; exiting with statu...
true
1a01ce92d73678ab34948a146c46c4e33018bd17
Shell
papagalu/samba-resource
/assets/out
UTF-8
685
3.453125
3
[]
no_license
#!/bin/bash # vim: set ft=sh set -e exec 3>&1 # make stdout available as fd 3 for the result exec 1>&2 # redirect all output to stderr for logging from=$1 if [ -z "$from" ]; then echo "usage: $0 <path/to/source>" exit 1 fi # for jq PATH=/usr/local/bin:$PATH payload=$(mktemp $TMPDIR/samba-resource-request.XXXXX...
true
b5140c30bc3afeaaddf4de662f1ec1732c870533
Shell
codeprimate/arid
/.shell_aliases
UTF-8
2,488
2.828125
3
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
# vim: set ft=zsh: # ALIASES #alias ls='ls --color=auto -G' #alias ll='ls --color=auto -lGh' #alias la='ls --color=auto -lG -a' alias console='script/console' alias c='bundle exec pry -r ./config/environment.rb' alias server='script/server' alias log='bundle exec rake log:clear; tail -f log/development.log' alias log...
true
536184686f70b8d17712df52ca5fa02858de0bd4
Shell
zfs-linux/test
/testing/zfs-test-script/zfs_script_time.sh
UTF-8
1,733
3.671875
4
[]
no_license
#!/bin/bash ############################################################################### ## Written By : ## Purpose : Check atime ctime and mtime after file operation ############################################################################### # run this script should be require root # here create zpool /myta...
true
390bafcf4b7de85f52348e3cbde9f14adfab0112
Shell
cracer/Intelligent-Intrusion-Response-System
/scripts/ire-server/get-logs.sh
UTF-8
671
3.359375
3
[]
no_license
#!/bin/bash CONTAINER_NAME="ire-server" LOGFILE_PATH="/app/iirs/ire.log" LOGFILE_NAME="ire.log" GRAPH_PATH="/app/iirs/tmp/attack_graph_received.json" GRAPH_NAME="attack_graph_received.json" function info_message () { echo -e "\e[95m[*] $1\e[0m" } info_message "Copying the logfile from $CONTAINER_NAME" sudo docke...
true
739b0776fa6ef5f91352d45d9cd41009e36d8e84
Shell
gfelizola/dotfiles-1
/src/shell/aliases/bash_aliases
UTF-8
946
2.765625
3
[ "MIT" ]
permissive
#!/bin/bash alias ..="cd .." alias ...="cd ../.." alias ....="cd ../../.." alias cd..="cd .." # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - alias :q="exit" alias c="clear" alias ch="history -c && > ~/.bash_history" alias e="vim --" alias g="hub" alias ip="dig +short myip.opendns.com @resolv...
true
1afac926a82e90ae60c0db9a6c6353a804fe797e
Shell
fossabot/dotfiles-20
/zsh/.zshrc
UTF-8
481
2.859375
3
[]
no_license
#!zsh ANTIGEN=$HOME/.antigen.zsh [ -f $ANTIGEN ] || curl -L git.io/antigen > $ANTIGEN if [[ -f $ANTIGEN ]]; then source $ANTIGEN antigen use oh-my-zsh antigen bundle history antigen bundle common-aliases antigen bundle command-not-found antigen bundle git antigen bundle gnu-utils antigen bundle z...
true
e966b8fa19c214b2234e7564435e15c79b3b5802
Shell
laristra/portage
/jenkins/build_matrix_entry_varan.sh
UTF-8
4,990
3.890625
4
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/usr/bin/env bash # This script is executed on Jenkins using # # $WORKSPACE/jenkins/build_matrix_entry_varan.sh BUILD_TYPE <VER> <WONTON_VER> # # BUILD_TYPE - pr, nightly, install # # if VER is abset, the HEAD of the master branch will be taken. If # WONTON_VER is absent, the HEAD of the master branch of wonton...
true
b94917ccc216aaea16883904973a32e3d4f18fcf
Shell
robvogelaar/tditracer
/minimal-tdi-tests/runsim003.sh
UTF-8
2,069
2.84375
3
[]
no_license
#!/bin/sh kill -9 $(pidof simserver) kill -9 $(pidof sleeper) proc() { LD_PRELOAD=libtdi.so TRACEBUFFERSIZE=1 REMOVE=0 SELFINFO=100 ./simserver /tmp/s$1 & sleep 1 local fcounter=1 while [ $fcounter -le `expr $4` ] do echo "mmap $2" | ./simclient /tmp/s$1 echo "code libcode$1.so f$fcoun...
true
780deecb89aee5e901691138a2b1d12eb13ad734
Shell
Notoriousjayy/Programming-Language-Pragmatics
/Bash/Control Flow/Chapter 13 scripts/test1.sh
UTF-8
163
2.9375
3
[]
no_license
#!/bin/bash # basic for command # Reading values in a list for test in Alabama Alaska Arizona Arkansas California Colorado do echo "The next state is $test" done
true
46d41df11fbd9df98b702458aa8d77df80cbeb84
Shell
alexanderfield/vbox-machines
/vagrant-sandboxes/docker/run.sh
UTF-8
846
3.703125
4
[]
no_license
#!/bin/bash DOCKER_FILE=docker-engine-1.7.1-1.el7.centos.x86_64.rpm DOCKER_FILE_TRUSTED_HASH=de3009d88a0b8a74a9d40a44e2e1101d if [ ! -f $DOCKER_FILE ]; then wget https://get.docker.com/rpm/1.7.1/centos-7/RPMS/x86_64/$DOCKER_FILE HASH_TO_TEST="$(md5 -r $DOCKER_FILE | awk '{ print $1}')" if [ $HASH_TO_TEST != $DO...
true
be5f2fb34cc270682405668f7ba7110e2d617d88
Shell
opsnull/system-config
/lib/misc/wait-for-desktop-env
UTF-8
255
3
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/usr/bin/env bash wait_win=xfce4-panel if test "$(get-about-me desktop-env)" = kde; then wait_win=Plasma fi while test "$(sawfish-client -e '(window-exists-p "'${wait_win}'")')" != t; do log "waiting for ${wait_win} to start" sleep 1 done
true
e0df59b5d5c222da410db1988a4aa65c4888d651
Shell
OpenStackweb/openstack-org
/scripts/bootstrap.sh
UTF-8
1,880
3.046875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright (c) 2019 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
true
690d7c6ff41469e845572aface999893bac6641b
Shell
hellnest/archpwn
/repo/bluetooth/bluesnarfer/PKGBUILD
UTF-8
622
2.671875
3
[]
no_license
# Contributor: Francesco Piccinno <stack.box@gmail.com> pkgname=bluesnarfer pkgver=0.1 pkgrel=2 pkgdesc="Bluesnarfer will download the phonebook of any mobile device vulnerable to bluesnarfing." url="http://www.alighieri.org/project.html" groups=('archpwn' 'archpwn-bluetooth') license=('GPL') arch=(i686 x86_64) makede...
true
459ad4ea5e4f3ed52f258137217fdd8181528821
Shell
wangchengww/Peach
/ucscgb/run.sh
UTF-8
8,331
3.3125
3
[]
no_license
#!/bin/bash ######################################################################### # http://stackoverflow.com/questions/230266/vi-vim-how-to-pipe-visually-selected-text-to-a-unix-command-and-append-output-to # http://stackoverflow.com/questions/3752785/what-can-you-execute-on-visually-selected-text-in-vim # # You ...
true
21c991280709054117917c1f9bbae70c8e51f4da
Shell
veraabad/dotfiles
/scripts/bootstrap-rpi.sh
UTF-8
762
3.375
3
[]
no_license
#!/usr/bin/env bash # @Author: Abad Vera # @Date: 06/06/2020 # @Last Modified by: Abad Vera # @Last Modified time: 09/25/2020 # Installer for raspberry pi # Go to dotfiles directory cd "$(dirname $0)/.." DOTFILES_DIR=$(pwd -P) SCRIPT_DIR="scripts" set -e source ./$SCRIPT_DIR/print_source.sh source ./$SCRIPT_DIR...
true
eb54b18704e738602012db70b9a81f134b246e46
Shell
najamk/assignment1_task1
/funny.sh
UTF-8
553
4.125
4
[]
no_license
#!/bin/bash # The script will return "This is funny." if any argument is given. # Executing script without an argument will result in "This is NOT funny." # The argument in the first paramter position is stored as a variable "var". var=$1 # Then the variable is tested with the paramter -z which returns true ...
true
c4afd561e7cc99e1be8bd17391ba09c54a6db2be
Shell
loganlinn/dotfiles
/bin/termcopy
UTF-8
2,221
4.0625
4
[ "MIT" ]
permissive
#!/bin/zsh # Usage: termcopy [FILE...] # # Copies the contents of the given files (or stdin if no files are given) to # the terminal that runs this program. If this program is run inside tmux(1), # then it also copies the given contents into tmux's current clipboard buffer. # If this program is run inside X11, then i...
true
4d66cb4f667c69c91ba9323553dad711fd393b39
Shell
atwoz/vimeko
/sources_non_forked/vim-diff-enhanced/test/test.sh
UTF-8
545
3.296875
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "Vim" ]
permissive
#!/bin/sh # set -ex for i in */; do cd "$i" algorithm=$(cat ./diff.txt) ( LC_ALL=C vim -N --cmd ":let g:enhanced_diff_debug=1" -c ':set acd' \ -c ":EnhancedDiff $algorithm" -c ':botright vsp +next' -c ':windo :diffthis' -c ':qa!' file* \ > /dev/null ) 2>&1 | sed '/Vim: Warning: Output is not to a t...
true
d7f2a5c3cd46bbd33df81cfd2efe3e29182a55bf
Shell
ferrigno/osa-hpc-scripts
/JEMX1_onescw.sh
UTF-8
2,847
2.796875
3
[ "MIT" ]
permissive
#!/bin/bash # # PARAMETER # # par1: scwid without extension e.g. "00520010010" # par2: tbin for the lc extraction in sec # note that the script assumes the scw are found in the archive # and at peculiar location for the input catalogue # ### GRID SETUP # #$ -S /bin/bash #$ -j y #$ -o /gpfs0/ferrigno/INTEGRAL/nrt...
true
b73a09532a5fc625747159059bff8b88becbe1f7
Shell
nadeemahmad/dotfiles
/files/.bash_profile
UTF-8
400
3.546875
4
[]
no_license
#!/usr/bin/env bash export BASE_DIR="${HOME}/.base" if [ ! -d "${BASE_DIR}" ]; then git clone --recursive --quiet "git@github.com:nadeemahmad/dotfiles.git" "${BASE_DIR}" bash "${BASE_DIR}/build.sh" fi # Load common configuration if [ -f ~/.profile ]; then source ~/.profile fi # Load zsh if it's available if [ -...
true
e83412e26e82a4739c8c78d4a2e1b87b487c3ed8
Shell
sharksync/sharktank
/create-github-release.sh
UTF-8
1,409
3.5
4
[]
no_license
#!/usr/bin/env bash # Check dependencies. set -e xargs=$(which gxargs || which xargs) # Validate settings. [ "$TRACE" ] && set -x CONFIG=$@ for line in $CONFIG; do eval "$line" done # Define variables. GH_API="https://api.github.com" GH_REPO="$GH_API/repos/$owner/$repo" GH_RELEASES="$GH_REPO/releases" AUTH="Auth...
true
35cd6a9baec84207b63784903afe456f7e50c015
Shell
remainlife/linux
/shell/lnmp_php-7.2.2.sh
UTF-8
3,190
2.859375
3
[]
no_license
#!/bin/bash # lnmp之php-7.2.2的安装 # author ctocode-zwj <982215226@qq.com> # 判断用户或用户组是否存在,不存在则创建 user=www group=www #create group if not exists egrep "^$group" /etc/group >& /dev/null if [ $? -ne 0 ] then groupadd $group fi #create user if not exists egrep "^$user" /etc/passwd >& /dev/null if [ $? -ne 0 ] then u...
true
9da01594acb5bc24d53a30dfb374757614670ac9
Shell
maxkao/dotfiles-22
/etc/bash/07-bashrc.virtualenvwrapper.sh
UTF-8
7,543
3.640625
4
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash ### bashrc.virtualenvwrapper.sh # # Installing Virtualenvwrapper: # apt: # sudo apt-get install virtualenvwrapper # pip: # [sudo] pip install -U pip virtualenvwrapper # ## Configure dotfiles/virtualenv root/prefix environment variables # __WRK workspace root # PROJECT_HOME virt...
true
6a3fd6bc4cd426546798bca63bfaf36f1ee6b7a6
Shell
phpmanual/br
/.compile.sh
UTF-8
332
2.78125
3
[ "MIT" ]
permissive
#!/usr/bin/env sh # make the script fail for any failed command set -e # make the script display the commands it runs to help debugging failures set -x svn checkout https://svn.php.net/repository/phpdoc/modules/doc-pt_BR doc-pt_BR 1> /dev/null \ && tree -L 2 \ && mkdir -p out \ && ./generate-html.php > out...
true
f4cc8d00d7f987c1002bcb1bfa9d22d9a816238a
Shell
voteleobrown/homebase
/scripts/install_vundle.sh
UTF-8
409
2.53125
3
[]
no_license
echo "Cloning Vundle repository to $HOME/.vim/bundle/Vundle.vim" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim echo "Done." echo "Deleting old Vundle configuration if present." sed -i '/" BEGIN VUNDLE/,/" END VUNDLE/d' $HOME/.vimrc echo "Inserting new configuration from vundle.txt." ca...
true
299e4abaf6626ebad4a540bfb4181360214f110b
Shell
manbruh/MANBRUH
/bash/lab 2/improveddice.sh
UTF-8
1,593
4.3125
4
[]
no_license
#!/bin/bash # # this script rolls a pair of six-sided dice and displays both the rolls # # Task 1: # put the number of sides in a variable which is used as the range for the random number # put the bias, or minimum value for the generated number in another variable # roll the dice using the variables for the range ...
true
d3895c118799d98a6454fcd0647d3906448c0e72
Shell
jc1518/OpenShiftV3-Nagios-Plugin
/openshift_pv_check.sh
UTF-8
1,837
4.03125
4
[]
no_license
#!/bin/bash # Monitor Openshift V3 persisent storage usage project=$1 your_token='thisisyourtokenpleasekeepitsecure' url='https://api.mycompany.openshift.com' if [ -z $1 ]; then echo "Project name is required" exit 3 fi export KUBECONFIG=/usr/local/nagios/libexec/kubeconfig message_text="Disk Usage:"...
true
9e45b2758df56070fee8f7cb58e9fc2bd052135b
Shell
ibm-avocados/docker-cp4i-2020.4
/scripts/install-cs.sh
UTF-8
4,660
3.609375
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # Copyright [2018] IBM Corp. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
true
0b91b78e43ce51ed6c35cf3bcb571d02cb668e5c
Shell
Ulyouth/TurboLearner
/Simulations/Sampling/genSamples.sh
UTF-8
8,274
3.84375
4
[]
no_license
#!/bin/bash ########################################################################### # NAME: genSamples.sh # AUTHOR: Ulyouth # DATE: 10.06.2020 # DESC: A script to generate sCO2 case samples using OpenFOAM for # varying Myong-Kasagi model coefficients. The coefficients # at the moment are: A*,...
true
3f669f3c1e7c15a3d479fdb8ef6195e168f2ce66
Shell
doct15/example-node
/bin/startup.sh
UTF-8
421
2.796875
3
[]
no_license
#!/usr/bin/env bash if [ -z "{{AWS_ACCESS_KEY_ID}}" ]; then echo "AWS_ACCESS_KEY_ID is empty" fi if [ -z "{{AWS_SECRET_ACCESS_KEY}}" ]; then echo "AWS_SECRET_ACCESS_KEY is empty" fi if [ -z "{{&S3_CONFIG_BUCKET}}" ]; then echo "S3_CONFIG_BUCKET is empty" fi echo '{{&S3_CONFIG_BUCKET}}' aws s3 sync {{&S3_C...
true
97a2f0e9ef7312610c37ffce82e14a99402a0806
Shell
ajallooe/.dotfiles
/bash_profile
UTF-8
2,697
2.828125
3
[]
no_license
#!/bin/bash # Editor export EDITOR="vim" # Upgraded ls alias ls='ls -GFh' alias rm='rm -i' # Setting path homebrew=/usr/local/bin:/usr/local/sbin export PATH=$homebrew:$PATH export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future export PATH="/Users/ajallooe/settings:$PATH" #export PYTHON...
true
834a691366d24aa29f7e5308ba7c22d0a36703d1
Shell
ellipsis-index/zeekay-dot-files
/ellipsis.sh
UTF-8
489
3.03125
3
[]
no_license
#!/usr/bin/env bash mod.install() { ellipsis.link_files "$mod_path/common" case "$(ellipsis.platform)" in cygwin*) ellipsis.link_files "$mod_path/platform/cygwin" ;; darwin) ellipsis.link_files "$mod_path/platform/osx" ;; freebsd) ...
true
aa06a4a35b3b0def7cc0785da55d72d280386011
Shell
mtrebot/script
/go
UTF-8
232
2.75
3
[]
no_license
#!/bin/bash cp * ./script for D in *; do if [ -d "${D}" ]; then if [ "${D}" != "Servers" ]; then cd "${D}" echo "---===<<<*>>>===--- ${D} ----===<<<*>>>===---" expect ../sync cd .. fi fi done
true
7b05c4ef5ec722d2dfe630dada8278857b23d0df
Shell
stenstorp/aljos
/scripts/chroot-build.sh
UTF-8
3,812
3.921875
4
[ "MIT" ]
permissive
#!/bin/bash source variables/variables.common COMPONENT=$1 unset name version source _prepare _configure _make _install source ${COMPONENTS_DIR}/${COMPONENT}/info source ${COMPONENTS_DIR}/${COMPONENT}/build filename="${source##*/}" if [ -z "${folder}" ]; then folder=${name}-${version} fi if [ ! -e ${COMPONEN...
true
d66816cb287efd5ec95f8eed5c97d3b7fc07e819
Shell
dumbo25/garage-door
/usr/local/bin/garage.sh
UTF-8
1,673
3.390625
3
[]
no_license
#!/bin/bash # check if the garage door is open. # enter a crontab: */5 * * * * sudo /usr/local/bin/garage.sh # If open send an alert and write to syslog up=0 mobile='your-number@txt.att.net' sensor=5 gpio -g mode $sensor down sleep 1 # get current time currTime=`date +%k%M` # get whether or not on vacation # I get ...
true
5972946224d522080a28b171e28daf441b1743b6
Shell
jeroldleslie/deployments
/ansible/roles/odyssey_event_gen_code/templates/odyssey-event-gen.j2
UTF-8
3,280
3.75
4
[]
no_license
#!/bin/bash ODYSSEY_EVENT_GEN_BIN={{odyssey_home}}/odyssey-event-gen/bin DESC="Odyssey Event Gen" NAME=Odyssey_Event_Gen DAEMON="mvn -Dmaven.tomcat.port=8181 tomcat:run" DAEMON_ARGS=" -f {{odyssey_home}}/odyssey-event-gen/pom.xml" PIDFILE=$ODYSSEY_EVENT_GEN_BIN/$NAME.pid SCRIPTNAME=$NAME LOG=$ODYSSEY_EVENT_GEN_BIN/$NAM...
true
cc74b5d50f04ca0453de45aab3c1617c6a455d99
Shell
Chacon11/bddExample
/travis-kafka.sh
UTF-8
414
2.515625
3
[ "Unlicense" ]
permissive
#!/bin/sh set -eu MIRROR=http://apache.rediris.es/kafka/1.0.0/kafka_2.11-1.0.0.tgz test -f kafka.tgz || wget $MIRROR -O kafka.tgz mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1 kafka/bin/zookeeper-server-start.sh -daemon kafka/config/zookeeper.properties echo "delete.topic.enable=true" >> kafka/c...
true
aac4a062a1cd666143b26cf4948a382243170fe8
Shell
jzbor/dotfiles
/.scripts/dwm/dwmvolume.sh
UTF-8
1,277
3.546875
4
[]
no_license
#!/bin/sh # Dependencies: volume.sh pacmd pactl sh xmenu select_volume () { menu=" 100% volume.sh --set 100 90% pademelon-tools volume --set 90 80% pademelon-tools volume --set 80 70% pademelon-tools volume --set 70 60% pademelon-tools volume --set 60 50% pademelon-tools volum...
true
b3aa36b3afffce772f7a5c9574bff92a9335f500
Shell
nanchengking/fische
/deploy.sh
UTF-8
315
2.8125
3
[]
no_license
#!/usr/bin/env bash cd .. pwd #压缩 project=fische echo '删除原有压缩包……' rm ./${project}.tar.gz echo '开始压缩新包' tar zcvf ${project}.tar.gz ./${project} echo '压缩结束,开始上传新压缩包' ali_scp push ${project}.tar.gz #解压:tar zxvf pageCenter.tar.gz echo '上传成功'
true
bcafcf95935a9e2c455a1cea786c429896e61e9a
Shell
pedrohsdias/php-laravel
/docker-entrypoint.sh
UTF-8
775
3.25
3
[]
no_license
#!/bin/bash DIR="/var/www/html/$NOME_PROJETO/" if [ "$(ls -A $DIR)" ]; then if [! "$(ls -A $DIR/vendor/)" ]; then printf "\t#########################\n\t### Vendor não existe ###\n\t#########################\n\n Para baixar dependencias execute: docker run --rm -it -v $NOME_PROJETO:/app composer install ...
true
b89f88cd84e504e13d2d2b60f95133d716b84c7c
Shell
rache1shin/ssurnd
/DB/FASTQ_EXPORT/myfastqexport.sh
UTF-8
536
3.078125
3
[]
no_license
#!/bin/bash F_OR_P=$(php FASTQ_EXPORT_REFER.php $1 $2) FASTQ_COL=$1_${2%.*}_F if [ -z $F_OR_P ] then php FULL_FASTQ_EXPORT.php $FASTQ_COL > BEFORE_SORT_FASTQ.txt cat BEFORE_SORT_FASTQ.txt | sort -k1,1 -n | cut -f 2- | tr "\t" "\n" > $2 else php FASTQ_ID_EXPORT.php $FASTQ_COL > BEFORE_SORT_ID.txt php SAM_SEQ_QUAL_EXPORT...
true
e755fa4c3fccb7e74af12704d51c4358764ae3b8
Shell
Cris140/vc_tacotron
/download_data.sh
UTF-8
1,364
2.9375
3
[ "MIT", "CC-BY-3.0", "CC-BY-4.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash #download dataset wget http://festvox.org/cmu_arctic/cmu_arctic/packed/cmu_us_bdl_arctic-0.95-release.zip -P /tmp wget http://festvox.org/cmu_arctic/cmu_arctic/packed/cmu_us_clb_arctic-0.95-release.zip -P /tmp # wget http://festvox.org/cmu_arctic/cmu_arctic/packed/cmu_us_rms_arctic-0.95-release.zip -P /tm...
true
f4f053e8d8ad83d6f40e640222071d8417129b30
Shell
trauts/psycho
/doc/example5/0.read_me
UTF-8
364
2.65625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#! /bin/sh export MATS=8 export ITEMS=1 export SETS=16 # run each file in numerical order - ie # 1.check_me # check the materials # 2.latin_me # latin square them # 3.random_me # randomise the latin squares # 4.output_me # you now have an output directory containing booklets (well, almost) # # 5.tidy_me # delete...
true
8280add7e96e2cd1dda2edba5c12a0f31f5aca5a
Shell
bhartiroshan/om
/scripts/downloads.sh
UTF-8
130
2.890625
3
[]
no_license
#!/bin/bash download_mms(){ local DOWNLOADURL=$1 local MMSFOLDER=$2 curl --output $MMSFOLDER.tar.gz $DOWNLOAD_URL }
true
68ec8e65ccbbd6ece5cb7e9b73eac1ba6f18b018
Shell
timoguin/shell-functions
/source-all.sh
UTF-8
406
3.578125
4
[ "Unlicense" ]
permissive
#!/bin/bash # ============================================================================= # Sources all functions # ============================================================================= echo "Sourcing all functions" for func in **/*.sh; do . "$func" || err=true if [ "$err" == "true" ]; then echo "S...
true
8e6bc90ca7f09d08779df049dafd88e7454dccd1
Shell
guillaumerosinosky/harness
/it/header.sh
UTF-8
450
2.765625
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Reset NC='\033[0m' # Text Reset # Regular Colors RED='\033[0;31m' # Red GREEN='\033[0;32m' # Green YELLOW='\033[0;33m' # Yellow BLUE='\033[0;34m' # Blue PURPLE='\033[0;35m' # Purple CYAN='\033[0;36m' # Cyan WHITE='\033[0;37m' # White ...
true
9fce944749b9d1d1dbc64f579d5d988fff01bab9
Shell
TheUCoin/theucoin
/contrib/init/theucoind.init
UTF-8
1,309
3.65625
4
[ "MIT" ]
permissive
#!/bin/bash # # theucoind The TheUCoin core server. # # # chkconfig: 345 80 20 # description: theucoind # processname: theucoind # # Source function library. . /etc/init.d/functions # you can override defaults in /etc/sysconfig/theucoind, see below if [ -f /etc/sysconfig/theucoind ]; then . /etc/sysconfig/th...
true
fb7ff7e7f683d988ad209d37cc0eea569afa9fc2
Shell
oneKelvinSmith/homesick-dotfiles
/home/.brew
UTF-8
932
2.671875
3
[]
no_license
#! /bin/sh -x # Check for Homebrew, # Install if we don't have it if test ! $(which brew); then echo "Installing homebrew..." ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi # Update homebrew recipes brew update # Tap casks for betas, etc brew tap caskroom/cask brew t...
true
ad40ea1200aa3f29083c120677b21ce2c7a298d2
Shell
gtcno/opendistro-elasticsearch
/scripts/generate_kubernetes_secrets.sh
UTF-8
1,190
2.984375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e SCRIPTPATH=$(dirname $(realpath -s $0)) cd $SCRIPTPATH/.. NAMESPACE=$1 RELEASE_NAME=$2 PASSWORD=$3 HASH=$(docker run amazon/opendistro-for-elasticsearch sh /usr/share/elasticsearch/plugins/opendistro_security/tools/hash.sh -p $PASSWORD) echo "generate kubernetes secret for $RELEASE_NAME cert...
true
b43ada34ff77bc70a7763256d389c2cc27c11f8e
Shell
alisw/alidist
/openloops.sh
UTF-8
1,339
3.125
3
[]
no_license
package: Openloops version: "%(tag_basename)s" tag: "OpenLoops-2.1.2" source: https://gitlab.com/openloops/OpenLoops.git requires: - "GCC-Toolchain:(?!osx)" - "Python:(?!osx)" - "Python-modules:(?!osx)" - "Python-system:(osx.*)" build_requires: - alibuild-recipe-tools --- #!/bin/bash -e rsync -a --delete --ex...
true
c84edbbbf9eee0cd2407ba9e04c556540df0b96d
Shell
unoexperto/nginx-docker-images
/transmission-seedbox/docker/scripts/static-configuration.sh
UTF-8
796
2.6875
3
[ "MIT" ]
permissive
#!/bin/bash # Apache ############################################################################### # Set configuration rm -f /etc/apache2/sites-enabled/* cp /docker/configurations/web.conf /etc/apache2/sites-available ln -s /etc/apache2/sites-available/web.conf /etc/apache2/sites-enabled/web.conf # Activate htacc...
true
53e541c621e8f9383b88dd43b44961e8916a14ea
Shell
sijiaoh/dotfiles
/lib/brew_path.sh
UTF-8
312
3.078125
3
[]
no_license
. ${DOTFILES_ROOT}/lib/os.sh if test ${OS} = 'linux'; then export PATH="/home/linuxbrew/.linuxbrew/bin:${PATH}" export MANPATH="/home/linuxbrew/.linuxbrew/share/man:${MANPATH:-""}" export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-""}" else eval "$(/opt/homebrew/bin/brew shellenv)" fi
true
281a27086b4d60eddb231e9fa25da2a7306a0580
Shell
zdrazil/my-preferences
/.zshrc
UTF-8
3,736
2.828125
3
[]
no_license
# allow shortcut ctrl-W to delete parts of path only # e.g. a/b/c + ctrl-W -> results in a/b autoload -U select-word-style select-word-style bash autoload -Uz compinit compinit if [ -f "$HOME/.config/bash-like/commonrc" ]; then . "$HOME/.config/bash-like/commonrc" fi if [ -f "$MY_CONFIG_HOME/bash-like/append_pa...
true
718e47a85ca57173af00df225855d88251f9593d
Shell
rzygler/old-sysadmin-scripts
/mysql/export/export_db_tables.sh
UTF-8
594
3.75
4
[]
no_license
#!/bin/bash ### ### Dump table structure and data ### ### @author Rich Zygler ### ### vars to hold program locations PROG_CAT="/bin/cat" PROG_DATE="/bin/date" PROG_MYSQLDUMP="/usr/bin/mysqldump" ### other vars DATA_FILE="/home/rzygler/scripts/db_tables_to_export.txt" OUT_FILE="/home/rzygler/scripts/export.sql" #...
true
189aa40ba9e2b98754b59be2e6a5af83d43037ab
Shell
wasuaje/clasideu
/micrositios/hdl_micrositios2.sh
UTF-8
2,602
4.21875
4
[]
no_license
#!/bin/bash # Argumentos = -p proyecto -m micrositio -a accion [A]ctivar | [D]esactivar # Para trabajar con micrositios usar hdl_micrositios -m nombrelmicrositio -a A (para activar) ó # hdl_micrositios -m nombrelmicrositio -a D (para desactivar) # # Para trabajar con proyectos usar hdl_micrositios -m nombrel...
true
f831f4fed5285f3f005550089337ce2743c48ce8
Shell
cdelimitrou/charmander
/bin/invm/deploy_scheduler.sh
UTF-8
603
3.078125
3
[ "MIT" ]
permissive
#/bin/bash set -e DIR=$PWD UPSTART=/etc/init/charmander-scheduler.conf export PATH=$PATH:/usr/local/go/bin export GOPATH=$DIR if [ -e $UPSTART ]; then if ( initctl status charmander-scheduler | grep start ); then initctl stop charmander-scheduler fi fi go get -u github.com/att-innovate/charmander-sc...
true
ddfdcea217c703c49ca05049a1d6f6c7fca9e65f
Shell
swiftycloud/swifty
/deps.sh
UTF-8
1,945
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash if [ "x${GOPATH}" != "x$(pwd)/vendor:$(pwd)" ]; then echo "Set GOPATH to $(pwd)/vendor:$(pwd)" exit 1 fi VGOPATH="$(pwd)/vendor" if [ -d "${VGOPATH}/src" ]; then echo "Vendor is populated" exit 0 fi set -x set -e # We need 6.0.0 version of the k8s client libs. When built, the lib # gets the protobuf...
true
d6260124516be41fbf32d10bbe5efc3981de07ac
Shell
jimscratch/linux-comfy-chair
/modules/python.sh
UTF-8
1,630
3.046875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # python.sh # next install python (both 2.x and 3.x trees) using Pyenv # will probably stop installing python2 in the near future as it is EOL. curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash # install a couple of plugins... git clone git://github.c...
true
1ace00c792592afc094ed20dca41826eaf521edf
Shell
abenxiang/vpstoolbox_clone
/install/qbt-origin.sh
UTF-8
1,516
2.953125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash ## Qbt_origin模组 Qbt_origin moudle install_qbt_o(){ set +e clear TERM=ansi whiptail --title "安装中" --infobox "安装Qbt原版中..." 7 68 colorEcho ${INFO} "安装原版Qbittorrent(Install Qbittorrent ing)" if [[ ${dist} == debian ]]; then apt-get update apt-get install qbittorrent-nox -y elif [[ ${dist} == ubun...
true
5e199c1b3adbbc07389bf0f515aa625128f73f14
Shell
wate123/2d_game
/changeTime.sh
UTF-8
72
2.59375
3
[]
no_license
while [ 1 ] do OUTPUT=$(date +%m%d%H%M%Y) $OUTPUT sleep 3s done
true
05d50c6bdb0cf04c47c661baf7dbc39fdfc393f8
Shell
Azariagmt/shell-practice-files
/ask
UTF-8
239
3.03125
3
[]
no_license
#!/bin/bash #read name and age echo "Please enter your name" read name echo "and your age please!" read age if test $age -ge 18 then echo "Hello $name you can vote and drink now!" else echo "Hello $name you are $age, still a bwabyy!" fi
true
d96d62dac1d03dfe95c8beb083e6b7e74874108f
Shell
cloudera/hue
/tools/ops/hue_history_cron.sh
UTF-8
4,093
3.359375
3
[ "CC-BY-3.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "ZPL-2.0", "Unlicense", "LGPL-3.0-only", "CC0-1.0", "LicenseRef-scancode-other-permissive", "CNRI-Python", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-or-later", "Python-2.0", "GPL-3.0...
permissive
#!/bin/bash # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use ...
true
59a8feff9eccc0f36e4f15ed1a7cde96d87e9f37
Shell
httplib2/httplib2
/script/generate-tls
UTF-8
2,232
3.640625
4
[ "MIT" ]
permissive
#!/bin/bash set -eu target_dir="${1:-.}" days=7300 rsa_bits=2048 org="httplib2-test" server_cn="localhost" subj_prefix="/C=ZZ/ST=./L=./O=$org/OU=." main() { cd "$target_dir" gen check } check() { echo "- check keys" >&2 openssl rsa -in ca.key -check -noout openssl rsa -in client.key -check -noout openssl rsa ...
true
4ddd18dc824f792b1b8b0651b6f0a8e835f402a3
Shell
ajprax/bento-cluster
/bin/bento
UTF-8
11,035
3.859375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # -*- coding: utf-8 -*- # -*- mode: shell -*- # (c) Copyright 2014 WibiData, Inc. # # See the NOTICE file distributed with this work for additional # information regarding copyright ownership. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in ...
true
97ef08b3830f8e6c35f72c9b9bd2c72052f57fff
Shell
kkellner/certbot-dns
/pipeline/setpipeline.sh
UTF-8
547
3.296875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eu pipeline_name="generate-cert" if [ -z ${fly_target:-} ]; then echo "need to set fly_target environment variable"; exit 1; fi DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) export fly_target=${fly_target} echo "Concourse API target ${fly_target}" echo "Location: $(basename $DIR)" pushd $D...
true
bbba009434d2bbd9474fa4f871e7556235887bda
Shell
0ldMate/PentestingStuff
/tools/ptl/bash/CVE-2016-2098.sh
UTF-8
563
3.3125
3
[]
no_license
#!/bin/bash echo '[+] CVE-2016-2098 POC' if [ -z "$3" ] then echo '[-] USAGE: /bin/bash' $0 '<host> <URI> <cmd>' echo '[~] Example: /bin/bash' $0 '"http://target.com" "pages?id" "whoami"' exit -1 fi host=$1 uri=$2 cmd=$3 while [ "$cmd" != 'exit' ] do ...
true
2b79f53d2933c8aa9dd1d77d4af5c72812cd6c75
Shell
xiaoluo260/gluster
/file_life_cycle/install.sh
UTF-8
316
2.84375
3
[]
no_license
#!/bin/bash cd `dirname $0` if [ -d "/opt/" ];then \cp -rf ../file_life_cycle /opt/ fi # file_life_cycle.service配置 if [ ! -e "/etc/systemd/system/file_life_cycle.service" ];then \cp -f ./script/file_life_cycle.service /etc/systemd/system/ fi # locate配置 \cp -f ./src/config/updatedb.conf /etc/updatedb.conf
true
a55183e1d40cd0d5216e60ae776097c81c17504a
Shell
sandprickle/misc
/bin/favorite-wallpaper
UTF-8
1,369
4.03125
4
[]
no_license
#!/usr/bin/env bash # Filename: favorite-wallpaper # Description: Marks/unmarks wallpapers as favorite. # Maintainer: Jeremy Cantrell <jmcantrell@gmail.com> # Last Modified: Sun 2010-10-03 02:57:01 (-0400) # I wrote this script as a helper for my wallpaper manager, Wally, but I # suppose it could be useful ...
true
fc44b66be6d7bb3b2158601e9bfb8336f3d76429
Shell
aabmass/aabmass.github.io
/deploy-ghpages.sh
UTF-8
354
2.84375
3
[]
no_license
#!/bin/bash # cd to the directory of this script cd "$(dirname "$0")" rm -rf dist/ tmp/ ember build -prod cd pub-branch git checkout master rm -rf * cp -R ../dist/* . git add -A # starts with the -m message than opens the editor git commit -m "Deployed on `date`" -e git push # need to delete these afterwards or emb...
true
eafc150dac1fcedb2741c22f2532ed56e9a3fb95
Shell
joeljosephmamalssery/shellScript
/break.sh
UTF-8
103
3.109375
3
[]
no_license
a=0 while [ $a -lt 10 ] do if [ $a -eq 7 ] then break else echo $a a=`expr $a + 1` fi done
true
be0a21eb301662b7f5527c5c9517ff80c8576a76
Shell
katyhuff/tools
/env/bash_profile
UTF-8
1,651
2.921875
3
[]
no_license
source ~/.bashrc export EC2_HOME=~/.ec2 PATH=${PATH}:EC2_HOME/bin export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/ MKL_NUM_THREADS=1 export MKL_NUM_THREADS ## # Your previous /Users/khuff/.bash_profile file was backed up as /Users/khuff/.bash_profile.macports-saved_2010-12-24_at_20:11:48 ## # Mac...
true
318b607538c99061fabea06e48fd4b15c2bf7b93
Shell
nslay/bleak
/Experiments/Data/madelon/MakeDB.sh
UTF-8
1,655
3.6875
4
[]
no_license
#!/bin/sh GetExeName() { base_="$1" for exe_ in "${base_}" "${base_}.exe" do if which "${exe_}" > /dev/null 2>&1 then echo "${exe_}" return 0 fi done return 1 } MakeCsvFile() { dataFile_=$1 labelFile_=$2 outCsv_=$3 awk 'BEGIN { line=0; lastFile="" } { gsub("\\r","") } ...
true
dd48ca0597286a49df251d7f1ff6adb35c094ad3
Shell
ewave-com/devbox-windows
/tools/main.ps1
UTF-8
6,435
3.59375
4
[]
no_license
#!/usr/bin/env bash # import global variables . require_once "$devbox_root/tools/system/constants.ps1" # import output functions (print messages) . require_once "$devbox_root/tools/system/output.ps1" # import devbox state function . require_once "${devbox_root}/tools/devbox/devbox-state.ps1" # import infrastructure fu...
true
9edd6acdca48f3723d8f7aa87768533ddf81a89b
Shell
nk53/bash_utils_macos
/fullpath
UTF-8
124
3.203125
3
[ "MIT" ]
permissive
#!/bin/bash # The opposite of basename if [ -e "$1" ]; then echo $PWD/$1 exit 0 fi echo "No such file: $1" exit 1
true
a15cb0ece4e1e0e370eb6fd0ef686dce3d799e84
Shell
ilventu/aur-mirror
/lkeyholetv/PKGBUILD
UTF-8
3,108
2.71875
3
[]
no_license
# Contributor/Maintainer: ilikenwf/Matt Parnell <parwok@gmail.com> pkgname=lkeyholetv pkgver=1.26 pkgrel=1 pkgdesc="Live TV Viewer (Mostly Japanese Streams)...Server only works on windows version" arch=('i686' 'x86_64') provides=('keyholetv') url="http://www.v2p.jp/video/english/" depends=('alsa-lib' 'gtk2' 'cairo' '...
true
1ca4b3c80fac3782e4be7511b0befe64bc5ebb69
Shell
parsoj/counter-db
/bin/challenge_executable
UTF-8
294
2.828125
3
[]
no_license
#!/bin/bash if ! which go >/dev/null; then echo "This App is written in Golang. Please install Go 1.6" exit 1 fi if [ "$GOPATH" = "" ]; then echo "please set the environment variable GOPATH to point to the 'challenge' directory" exit 1 fi go run $GOPATH/src/db/server/server.go
true
6e61b164f6b1e9fa5c9e0a891408dcdc1c595462
Shell
Jackojc/dots
/scripts/dmenu/usb/prompt_usb_mount
UTF-8
399
3.640625
4
[]
no_license
#!/usr/bin/env sh THING=$(usb_get_unmounted) if [ -z "$THING" ]; then notify_usb "no mountable drives!" exit 1 fi TARGET=$(echo "$THING" | dmenu -p "mount") if [ -z "$TARGET" ]; then exit 1 fi BLOCKNAME=$(echo "$TARGET" | awk '{print $1}') usb_mount $BLOCKNAME && notify_usb "$TARGET is now mounted...
true
0f4cf453304551c5250c1af55d98bf5384a3e797
Shell
dingyu1/business-tests
/auto-test/delivery/network/basic_function/onboard_Function_001.sh
UTF-8
5,375
3.484375
3
[]
no_license
#!/bin/bash #***************************************************************************************** # *用例ID:Function_001 # *用例名称:李仁性 # *用例功能:板载端口检查 # *作者:LWX638710 #...
true
c8c001cf28670a1a8053d0a5f29f4837fb0892bc
Shell
jbjonesjr/devnation-federal-2017
/probot-demo/setup.sh
UTF-8
4,014
3.125
3
[]
no_license
#!/bin/bash # Configuration . ./config.sh || { echo "FAILED: Could not configure" && exit 1 ; } # Additional Configuration # NONE # See https://docs.openshift.com/enterprise/latest for general openshift docs echo "Create a Devnation Fedevnation-visitorsderal 2017 demo environment" echo " --> make sure we are logged...
true
ed1a45f200465762f943e0e40d4d1b596b6dfa8d
Shell
RVxLab/dotfiles
/dotfiles/scripts/bin/laravel.starship.sh
UTF-8
2,332
4.09375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euo pipefail STARSHIP_CACHE_DIR="/tmp/starship-cache" JSON_FILE="$STARSHIP_CACHE_DIR/laravel.json" VERSION_NOT_FOUND="___VERS_NOT_FOUND___" check_artisan() { if [ -f "$PWD/artisan" ] && [ -d "$PWD/vendor" ] then return 0 else return 1 fi } get_laravel_versio...
true
d72ca73756697920cbef6a54036c61b950989d18
Shell
tadruj/tadruj.github.io
/code/devops/vagrant/hhvm/bin/mysql.rm
UTF-8
397
3.15625
3
[]
no_license
#!/bin/bash if [ -z "$1" ]; then echo "Usage: mysql.rm <username>" exit fi echo -n "Enter MySQL root pass:" read MYSQL_PASS mysql -uroot -p${MYSQL_PASS} -e "drop database ${1}" mysql mysql -uroot -p${MYSQL_PASS} -e "delete from user where user='${1}'" mysql mysql -uroot -p${MYSQL_PASS} -e "delete from db where ...
true
305981901f1d79c9bc633721ea92b3e93ef44dfa
Shell
jarek1402b2/deterministic-kernel
/kernel-build/linux-3.2.53-mempo-0.1.16-shell/build.sh
UTF-8
1,736
3.625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash -e # do NOT run this directly, run build-run.sh linuxdir="$1" if [ -z "$linuxdir" ] ; then echo "ERROR undefined linuxdir." ; exit 1 fi echo "Building linuxdir=$linuxdir" echo "Creating sources info" bash /home/kernelbuild/make-source-info echo "Loading env" . env.sh export CONCURRENCY_LEVEL=8 export ...
true
2c2d59fdd8fa6621fed5a229dc406aeb2e38721e
Shell
baveku/FlutterStructureDemo
/i18n_generator.sh
UTF-8
1,288
3.25
3
[]
no_license
# bin/sh # Design By BachVQ # Color Shell RED='\033[0;31m' GREEN='\033[0;32m' LIGHTGREEN='\033[1;32m' LIGHTCYAN='\033[1;36m' NC='\033[0m' # No Color PURPLE='\033[1;35m' echo "${RED}-----------STEP 1: Remove all File Form Lang------------${NC}" echo "${RED}REMOVING${NC}" rm -rf lib/assets/lang/* echo "${RED}DONE${NC}...
true
3bf3bf062e73c072bba4bf90cd55a3e848073412
Shell
McGill-DMaS/Kam1n0-Community
/kam1n0-builds/linux-tar-gz/build-distribution.sh
UTF-8
931
3
3
[ "Apache-2.0" ]
permissive
#!/bin/sh DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" rm -rf $DIR/bins mkdir $DIR/bins/ mkdir $DIR/bins/server/ mkdir $DIR/bins/ida-plugin/ cd $DIR/../../kam1n0 echo $DIR/../../kam1n0 mvn -DskipTests clean echo Exit Code = $? if [ ! $? -eq 0 ]; then cd $DIR echo maven build fa...
true
a8ced050b86a75aace58f835307837e5c2b16e4f
Shell
sentakuhm/.dotfiles
/.config/hypr/scripts/volume
UTF-8
1,220
4.125
4
[]
no_license
#!/usr/bin/env sh send_notification() { volume=$(pamixer --get-volume) if [ "${volume}" -gt 70 ]; then icon=notification-audio-volume-high elif [ "${volume}" -gt 40 ]; then icon=notification-audio-volume-medium elif [ "${volume}" -gt 0 ]; then icon=notification-audio-volume-low else icon=notificati...
true
ab3f3eda66ee2c7a98d42bb9b57e4ce52d9a212b
Shell
anantgehi/May-2021-batch-notes
/Lab Exam Backups/OS_Lab_Exam_Backup/q3
UTF-8
782
2.734375
3
[]
no_license
#!/bin/bash find ~ -maxdepth 1 -type f #Output: #/home/surya/.bash_logout #/home/surya/.bashrc #/home/surya/.ICEauthority #/home/surya/.esd_auth #/home/surya/.bash_history #/home/surya/.bash_profile.swo #/home/surya/.bash_profile #/home/surya/.lesshst #/home/surya/.viminfo # Used find command in home directory set...
true
eae88bf22ca087c3c44ab5c0ab286690c468ad96
Shell
steinvenic/deepin-wine-ubuntu
/online_install.sh
UTF-8
1,095
2.96875
3
[]
no_license
#!/bin/bash -e TMP_DIR="$(mktemp -d)" DOWNLOAD_URL_PREFIX="https://github.com/wszqkzqk/deepin-wine-ubuntu/blob/master" echo "开始下载deepin-wine安装包, 请稍后..." wget -P "${TMP_DIR}" --content-disposition -c -T10 --tries=10 -q --show-progress "${DOWNLOAD_URL_PREFIX}"/{1.1udis86_1.72-2_i386.deb,1.2deepin-fonts-wine_2.18-12_all...
true
3796bcabbf2440a49e86c02443287053d41705d4
Shell
akashhello/Assignment
/GetOsVersion/test.sh
UTF-8
215
3.125
3
[]
no_license
#!/bin/bash var="129 148 181" vars=( $var ) echo "First word of var: '${vars[0]}'" echo "Second word of var: '${vars[1]}'" echo "Third word of var: '${vars[2]}'" echo "Number of words in var: '${#vars[@]}'"
true