Skip to content

Instantly share code, notes, and snippets.

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

Kevin Oh aflashyrhetoric

🏠
Working from home
View GitHub Profile
console.log("hi");
@aflashyrhetoric
aflashyrhetoric / Messenger Anonymize.js
Last active May 16, 2016 22:49
Changes names on messenger.com.
// Gets all the names
var names = document.getElementsByClassName("_1ht6");
var nameHeaders = document.getElementsByClassName("_3oh-");
// New name variable, leave empty to delete names (not recommended)
var newName = "";
// Changes names to newName
[].slice.call(names).forEach( function ( name ) { name.innerHTML = newName;});
// Changes nameHeaders and conversation messages to John Doe
# Install rubygems to enable gems
sudo apt-get install rubygems
# Install gist library
gem install gist
# Download Bash_Aliases
curl https://gist.githubusercontent.com/aflashyrhetoric/07e290c11ce089a5dfae/raw/97c3aa73c61032a6f3622a8f4fea45c8f2f3f86a/bash_aliases ~/.bash_aliases
# Source BashAliases
source ~/.bash_aliases
# Download Vimrc
curl https://gist.githubusercontent.com/aflashyrhetoric/d0b1c9a5e3716f08f4c8/raw/2fca45aff1225053e1bd96c086ef96097bfee6ad/.vimrc ~/.vimrc
"----------------Vundle Stuff ------------------"
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"call vundle#begin('~/some/path/here')
" - Go To Plugins
@aflashyrhetoric
aflashyrhetoric / Contract Killer 3.md
Last active August 29, 2015 14:26 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');