Skip to content

Instantly share code, notes, and snippets.


Y. Wayne Huang wayne530

View GitHub Profile

Keybase proof

I hereby claim:

  • I am wayne530 on github.
  • I am wayne530 ( on keybase.
  • I have a public key whose fingerprint is 4865 3158 4463 4E3C 5152 3AC4 6248 4047 E87E DD20

To claim this, I am signing this object:

wayne530 / gist:1391702
Created November 24, 2011 16:10
View gist:1391702
Dear Valued Wine Library Customer:
We are writing you today regarding a security breach that may have involved the credit card information you used to make a purchase at While the full extent of the breach has not been verified - and it is possible you were not affected – we wanted to be sure to share with you what we could. This email is not intended to comply with statutory duties to notify you. We will comply with those duties separate and apart from this email. We wanted to get this email to you so that you could confirm that any credit accounts you used with us are not experiencing any adverse activity.
What you can do: Before we get into the specifics of what happened, we appreciate that you understandably want to know what you should do to ensure your private information is protected. We encourage you to consider the following:
• Contact the financial institution that issued the credit card you used to make a purchase at and make it aware of this notice an
wayne530 / gist:943653
Created April 27, 2011 03:17
git binary wrapper for author name/email normalization
View gist:943653
#!/usr/bin/perl -w
use strict;
my $default_email = '';
my $default_name = 'My Company SVN';
my $cmd = "/usr/bin/git \"" . join('" "', @ARGV) . "\"";
local *PIPE;
open(PIPE, "$cmd |");
wayne530 / gist:761244
Created December 31, 2010 18:51
Remove all wall posts from your Facebook profile
View gist:761244
// first click 'Older posts' on your wall until all posts are visible, then run this in firebug
script = document.createElement('script');
script.type = 'text/javascript';
script.src = '';
setTimeout(function() {
$('a.uiCloseButton[title=Remove]').each(function() {
var ajaxify = $(this).attr('ajaxify');
var data = {
fb_dtsg: Env.fb_dtsg,