Skip to content

Instantly share code, notes, and snippets.

View cyancey76's full-sized avatar
🏠
Working from home

CJ Yancey cyancey76

🏠
Working from home
View GitHub Profile
@cyancey76
cyancey76 / brew-install-script.sh
Last active January 12, 2022 23:57 — forked from CliffordAnderson/brew-install-script.sh
Brew script for installing packages and applications on OSX
#!/bin/sh
# Homebrew Script for OSX
# To execute:
# save in your user folder and `sudo chmod u+x ./brew-install-script.sh && xattr -d com.apple.quarantine ./brew-install-script.sh && ./brew-install-script.sh`
echo "Installing brew..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Installing brew cask..."
@cyancey76
cyancey76 / chatnums.js
Last active December 5, 2018 22:06 — forked from mxew/chatNumberThing.js
Chat numbers for #indiediscotheque
var chatsolab = 1;
$("#chat-txt-message").bind("keyup", function() {
var start = this.selectionStart;
var lastChar = String.fromCharCode(this.value.charCodeAt(start - 1));
if( lastChar == "@" ) {
$("#chat-txt-message").val("@");
} else if( lastChar == "!" ) {
$("#chat-txt-message").val("!");
} else if( event.which == 13 ) {
@cyancey76
cyancey76 / hosts
Created May 13, 2017 05:58 — forked from consti/hosts
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost