Skip to content

Instantly share code, notes, and snippets.

View andregoncalves's full-sized avatar
🏠
Working from home

Andre Goncalves andregoncalves

🏠
Working from home
View GitHub Profile
@andregoncalves
andregoncalves / jquery.textchange.js
Created June 18, 2010 16:59 — forked from mkelly12/jquery.textchange.js
Added contenteditable support
(function ($) {
$.event.special.textchange = {
setup: function (data, namespaces) {
$(this).bind('keyup.textchange', $.event.special.textchange.handler);
$(this).bind('cut.textchange paste.textchange input.textchange', $.event.special.textchange.delayedHandler);
},
teardown: function (namespaces) {
Can you please answer the following questions so we can assess the project,
and judge if we would be a good match?
1. Is this a new project, or is this for an existing website or application?
- This is a project for a completely new site or application
- This is a project to update an existing site or application
2. Which of the following areas do you need help with?
Hi Bob,
Just wanted to inform you that we have not yet received payment of
invoice ####-##.
I'm sure you must have mistakenly overlooked this. I've included
a copy of the invoice for your convenience.
If payment has already been sent, please disregard this email. Do
not hesitate to contact me if you have any questions.
@andregoncalves
andregoncalves / class_decorator.ts
Last active May 3, 2021 07:07 — forked from remojansen/class_decorator.ts
[TypeScript Decorators] #typescript
function logClass(target: any) {
// save a reference to the original constructor
var original = target;
// a utility function to generate instances of a class
function construct(constructor, args) {
var c : any = function () {
return constructor.apply(this, args);
}