Skip to content

Instantly share code, notes, and snippets.

View ibolmo's full-sized avatar

Olmo Maldonado ibolmo

View GitHub Profile
@dogoku
dogoku / A README.md
Last active December 29, 2022 02:58 — forked from tiffon/Find Results.hidden-tmLanguage
Search result syntax highlighting for Sublime Text

#ST2/3 Search result syntax highlighting

##Introduction and disclaimer

This is gist contains an edited Find Results.hidden-tmLanguage which adds syntax highlighting to your ST search results. As far as I know, there is no plugin that does this and for that reason it needs to be done via config.

DISCLAIMER: Use this HACK at your risk and backup the original files you are about to mess with.

##Usage Guide for Sublime Text 2

@arian
arian / Function.overload.js
Created April 17, 2011 14:09
Overload functions or methods by the types of the arguments
Function.overload = function(fns, thisArg){
var dflt = (typeOf(fns[fns.length - 1]) == 'function') ? fns.pop() : null;
return function(){
var args = Array.from(arguments),
self = thisArg || this;
overload: for (var i = 0, l = fns.length; i < l; i++){
var types = fns[i].slice(0, -1), length = types.length,
fn = fns[i][length];
@ibolmo
ibolmo / mac_keyboard_on_a_pc.ahk
Created March 17, 2010 18:11
Use your Mac mouse and keyboard on a Windows PC. You'll need to use http://www.autohotkey.com/
; Fix the alt and windows key
LAlt::LWin
LWin::LAlt
; For single button mice add ctrl+` key combination shortcut to the right mouse button
RWin::AppsKey
^`::RButton
; Utility Keys
F13::PrintScreen