Skip to content

Instantly share code, notes, and snippets.

View wayne530's full-sized avatar

Y. Wayne Huang wayne530

View GitHub Profile
@wayne530
wayne530 / gist:761244
Created December 31, 2010 18:51
Remove all wall posts from your Facebook profile
// 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 = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';
document.getElementsByTagName("head")[0].appendChild(script);
setTimeout(function() {
$('a.uiCloseButton[title=Remove]').each(function() {
var ajaxify = $(this).attr('ajaxify');
var data = {
fb_dtsg: Env.fb_dtsg,
@wayne530
wayne530 / gist:943653
Created April 27, 2011 03:17
git binary wrapper for author name/email normalization
#!/usr/bin/perl -w
use strict;
my $default_email = 'svn@mycompany.com';
my $default_name = 'My Company SVN';
my $cmd = "/usr/bin/git \"" . join('" "', @ARGV) . "\"";
local *PIPE;
open(PIPE, "$cmd |");
@wayne530
wayne530 / gist:1391702
Created November 24, 2011 16:10
n00bs
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 WineLibrary.com. 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 WineLibrary.com and make it aware of this notice an

Keybase proof

I hereby claim:

  • I am wayne530 on github.
  • I am wayne530 (https://keybase.io/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: