Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Verifying that +lpalli is my blockchain ID. https://onename.com/lpalli
@lpalli
lpalli / debugObject.js
Created September 10, 2011 06:30
JavaScript debug
function debugObject( obj ) {
var output = '';
for (property in obj) {
output += property + ': ' + obj[property]+';\n';
}
alert(output);
}
@lpalli
lpalli / gist:946218
Created April 28, 2011 11:58
Utility to work with ESRIRegAsm.exe tool.
/// <summary>
/// The ArcGIS products.
/// </summary>
public enum Product {
/// <summary>
/// ArcGIS Desktop
/// </summary>
Desktop,
/// <summary>
/// ArcGIS Engine
@lpalli
lpalli / gist:721397
Created November 30, 2010 09:15
C# Singleton
#region Constructor and Singleton
private static readonly Singleton _instance = new Singleton();
public static Singleton Instance
{
get { return _instance; }
}
private Singleton()
@lpalli
lpalli / mediawiki-h4.user.js
Created June 19, 2010 12:05
MediaWiki - H4 100% for Greasemonkey
// MediaWiki - H4 100%
// version 0.1 BETA!
// 2010-03-17
// Copyright (c) 2010, Luca Palli
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
@lpalli
lpalli / openerp-confirm.user.js
Created June 19, 2010 12:03
OpenERP - Disable Confirm Button for Greasemonkey
// OpenERP - Disable Confirm Button
// version 0.1 BETA!
// 2010-03-25
// Copyright (c) 2010, Luca Palli
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
@lpalli
lpalli / quix.txt
Last active March 5, 2023 16:02
Quix custom file
@ My Bookmarklets
u http://en.utrace.de/?query=%s Locate IP addresses and domain names
it2en http://translate.google.com/translate_t?hl=&ie=UTF-8&text=%s&sl=it&tl=en# Translate from italian to english
en2it http://translate.google.com/translate_t?hl=&ie=UTF-8&text=%s&sl=en&tl=it# Translate from english to italian
fr2en http://translate.google.com/translate_t?hl=&ie=UTF-8&text=%s&sl=fr&tl=en# Translate from french to english
en2fr http://translate.google.com/translate_t?hl=&ie=UTF-8&text=%s&sl=it&tl=fr# Translate from english to french
it2fr http://translate.google.com/translate_t?hl=&ie=UTF-8&text=%s&sl=it&tl=fr# Translate from italian to french