Skip to content

Instantly share code, notes, and snippets.

View StanBright's full-sized avatar

Stan Bright StanBright

View GitHub Profile
@StanBright
StanBright / domain_check.sh
Last active July 23, 2021 04:26
Domain Name Search
#!/bin/bash
# Name: Check for domain name availability (as featured on https://stanbright.com/domain-name-search)
#
# To use this script, add it to your ~/bin directory and make it executable.
# Then you can search for specific domains like this: > domain_check.sh my-new-domain
#
# Alternatively:
# - Generate domain name ideas based on a keyword: https://www.saashub.com/namebounce-alternatives
# - Search domain names as you type: https://www.saashub.com/domaintyper-alternatives
@StanBright
StanBright / .deliver_config
Created May 24, 2017 10:11 — forked from andreapavoni/.deliver_config
Edeliver configuration to deploy a Phoenix app compiling and digesting assets locally
# MYAPP/.deliver/config
APP="<APP NAME>"
MAIN_HOST="<BUILD & PRODUCTION HOST>"
MAIN_USER="<MAIN USER FOR BUILD AND DEPLOY>"
BUILD_HOST="${MAIN_HOST}"
BUILD_USER="${MAIN_USER}"
BUILD_AT="/tmp/edeliver/${APP}/builds"
class Array
def to_hash
hash = Hash.new
for pair in self
if ( pair.size == 2 and
pair[0].class == Symbol and
pair[1].class == Fixnum )
hash[pair[0]] = pair[1]