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
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '');
console.log('Server running at');
aflashyrhetoric / Contract Killer
Last active August 29, 2015 14:26 — forked from malarkey/Contract Killer
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

"----------------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
# Install rubygems to enable gems
sudo apt-get install rubygems
# Install gist library
gem install gist
# Download Bash_Aliases
curl ~/.bash_aliases
# Source BashAliases
source ~/.bash_aliases
# Download Vimrc
curl ~/.vimrc
aflashyrhetoric / Messenger Anonymize.js
Last active May 16, 2016 22:49
Changes names on
// 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
[] function ( name ) { name.innerHTML = newName;});
// Changes nameHeaders and conversation messages to John Doe

Using Github Gists to VC bash_aliases

Version Control your .bash_aliases file using:

I'll use a sample .bash_aliases file for the tut:

# ~/.bash_aliases
.wixAdsdesktopWADBottom { visibility: hidden !important; display: none !important; }
aflashyrhetoric / HACKMD Alternative Test
Created January 20, 2017 16:05
A test to see if Github Gists are a better alternative to HackMD
This is some testing junks
* This script converts API data from Backlog Syntax to Markdown.
* It can also output to Markdown and JSON.
// Lib Imports
const fs = require('fs');
const path = require('path');
const chalk = require('chalk');
const readline = require('readline');