Skip to content

Instantly share code, notes, and snippets.

View mmcgraw73's full-sized avatar
🫏
the donkey

Michael McGraw mmcgraw73

🫏
the donkey
View GitHub Profile
@glaucocustodio
glaucocustodio / Default.sublime-theme
Created January 5, 2015 16:30
Increase font size and row padding from Sublime Text 3's sidebar
// for the ST3 users who don't have the Default.sublime-theme file (which is actually the default configuration),
// the simplest procedure is:
// 1- Navigate to Sublime Text -> Preferences -> Browse Packages
// 2- Open the User directory
// 3- Create a file named Default.sublime-theme with the following content (modify font.size as required):
[
{
"class": "sidebar_label",
"color": [0, 0, 0],
"font.size": 16
@benwells
benwells / oo.js
Created March 26, 2014 13:10
Define Object Methods inside class vs. added to prototype
/**
* Define a method inside of a JavaScript Object. In this instance, the method gets
* recreated with each Class Instance. Sometimes desirable, sometimes not.
*/
function Wizard () {
this.name = "The Wiz";
this.level = 1;
this.shoot = function () {
alert('Imma Shoot You!');
};