Skip to content

Instantly share code, notes, and snippets.

View marianoviola's full-sized avatar

Mariano Viola marianoviola

View GitHub Profile
<!doctype html>
@marianoviola
marianoviola / README.md
Last active October 10, 2018 10:52
Vim digest

Editing with Vim

Modes

i Insert mode at cursor 
I Insert at beginning of line 
a Append at cursor 
A Append at the end of line
v visual mode

escape Exit insert mode

@marianoviola
marianoviola / jekyll-logo.svg
Last active June 15, 2017 17:22
A new logo for Jekyll (a proposal)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@marianoviola
marianoviola / install.sh
Created April 18, 2016 08:49
Mac OS X JavaScriptCore CLI
ln -s /System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources/jsc /usr/local/bin/jsc
@marianoviola
marianoviola / cs-jq-plugin-template.coffee
Created August 9, 2016 12:59 — forked from rjz/cs-jq-plugin-template.coffee
Coffeescript jQuery Plugin Class Template
# A class-based template for jQuery plugins in Coffeescript
#
# $('.target').myPlugin({ paramA: 'not-foo' });
# $('.target').myPlugin('myMethod', 'Hello, world');
#
# Check out Alan Hogan's original jQuery plugin template:
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template
#
(($, window) ->
@marianoviola
marianoviola / pubsub.md
Created August 10, 2016 17:21 — forked from addyosmani/pubsub.md
Four ways to do Pub/Sub with jQuery 1.7 and jQuery UI (in the future)

#Four Ways To Do Pub/Sub With jQuery and jQuery UI (in the future)

Between jQuery 1.7 and some of work going into future versions of jQuery UI, there are a ton of hot new ways for you to get your publish/subscribe on. Here are just four of them, three of which are new.

(PS: If you're unfamiliar with pub/sub, read the guide to it that Julian Aubourg and I wrote here http://msdn.microsoft.com/en-us/scriptjunkie/hh201955.aspx)

##Option 1: Using jQuery 1.7's $.Callbacks() feature:

$.Callbacks are a multi-purpose callbacks list object which can be used as a base layer to build new functionality including simple publish/subscribe systems. We haven't yet released the API documentation for this feature just yet, but for more information on it (including lots of examples), see my post on $.Callbacks() here:

@marianoviola
marianoviola / HEY-YOU.md
Created August 10, 2016 17:21 — forked from cowboy/HEY-YOU.md
jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.
@marianoviola
marianoviola / Contract Killer 3.md
Last active August 11, 2016 15:22
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

Keybase proof

I hereby claim:

  • I am marianoviola on github.
  • I am marianoviola (https://keybase.io/marianoviola) on keybase.
  • I have a public key ASBkOOLHowDpRsFm1pfhl2jjKftFxk6c8gxeBeSAZkUPHQo

To claim this, I am signing this object:

@marianoviola
marianoviola / mac-tweaks.md
Created December 14, 2016 15:26 — forked from koenbok/mac-tweaks.md
My Favorite Mac Tweaks

Skip verifying disk images

defaults write com.apple.frameworks.diskimages skip-verify true

Always hide the Desktop

defaults write com.apple.finder CreateDesktop false; killall Finder

Make terminal logins fast

touch ~/.hushlogin

Disable most animations