Skip to content

Instantly share code, notes, and snippets.

View TigerC10's full-sized avatar

Ian Cervantez TigerC10

View GitHub Profile
@TigerC10
TigerC10 / ColorizeConsole.js
Last active October 11, 2016 22:45
My new favorite logging snippet for NodeJS
(function () {
var resetColor = '\x1b[0m';
if (typeof module !== 'undefined' && module.exports) {
[
['log', '\x1b[0m'],
['info', '\x1b[36m'],
['warn', '\x1b[33m'],
['error', '\x1b[31m'],
].forEach(function(level) {
var method = level[0];
@TigerC10
TigerC10 / sorting-quiz.bundle-1049329190.js
Created May 9, 2016 15:37
Pottermore Quiz Source Code Snippet
e["default"] = {
wand: {
storyTitle: "Mr Ollivander",
storyUri: "https://www.pottermore.com/writing-by-jk-rowling/mr-ollivander",
quizTitle: "The Wand Ceremony",
quizIntroText: "Take your time and answer honestly - your answers are final."
},
"sorting-hat": {
storyTitle: "The Sorting Hat",
storyUri: "https://www.pottermore.com/writing-by-jk-rowling/the-sorting-hat",
@TigerC10
TigerC10 / t2200-fill-13e_data.xml
Created October 1, 2014 04:21
Blank Data For Canadian T2200 Form
<?xml version="1.0" encoding="UTF-8"?>
<form1>
<Page1>
<Employee_Info_sf>
<Last_Name_Fill />
<First_Name_Fill />
<Tax_Year_Fill />
<SIN_Comb />
<Home_Address_Fill />
<Business_Address_Fill />