Skip to content

Instantly share code, notes, and snippets.

View lulzsun's full-sized avatar
🐶
Hire me!

Jimmy Quach lulzsun

🐶
Hire me!
View GitHub Profile
@designbyadrian
designbyadrian / Console.log() override.js
Created August 18, 2014 14:41
Hijack console.log, console.warn, and console.error without breaking the default browser function.
var cl,ce,cw;
if(window.console && console.log){
cl = console.log;
console.log = function(){
MyLogFunction(arguments);
cl.apply(this, arguments)
}
}
@smsohan
smsohan / CSharpAsyncAwait.cs
Created September 16, 2011 22:11
C# async and await example
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Threading.Tasks;
namespace AsyncCSharp
{
class Program