Skip to content

Instantly share code, notes, and snippets.

View pventurino's full-sized avatar

Pablo Venturino pventurino

View GitHub Profile
@pventurino
pventurino / Default (Linux).sublime-keymap
Created February 22, 2012 13:48 — forked from coldnebo/Default (Linux).sublime-keymap
simple scripts to prettify your xml and json in sublime text 2
[
{ "keys": ["ctrl+shift+x"], "command": "tidy_xml" },
{ "keys": ["ctrl+shift+j"], "command": "prettify_json" }
]
@pventurino
pventurino / compare_performance.java
Last active February 25, 2017 00:22
Salesforce algorithm performance testing template
/*
* Use to compare the performance of two or more algorithms
* in Salesforce that should bear the same result.
* Also available in http://pastebin.com/XDAtu4ip
*/
Integer loops = 1000;
Datetime stime, etime; // Start time, end time
String results = '';
### Keybase proof
I hereby claim:
* I am pventurino on github.
* I am pventurinoesimp (https://keybase.io/pventurinoesimp) on keybase.
* I have a public key ASDtfnsydMUzCGk5zqLwVgJWpf-JPBNu2UmT0Ym7CEyaago
To claim this, I am signing this object: