Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Mullenweg m

View GitHub Profile
View post-stats.php
<table cellspacing="10">
<tr>
<th width="50"></th>
<th>Posts</th>
<th>Avg. Words</th>
<th>Total Words</th>
<th>Avg. Comments</th>
<th>Total Comments</th>
</tr>
<?php
@m
m / gist:bab8d366d2e826ba2311
Last active Dec 4, 2019
freedom zero mark pilgrim text
View gist:bab8d366d2e826ba2311
Movable Type has never been Free Software, as defined by the Free Software
Foundation. It has never been open source software, as defined by the Open
Source Initiative. Six Apart survived and thrived in the blogging community
because Movable Type was “free enough.”
Many people misunderstand
Free Software and the GNU General Public License. Many people equate the GPL to
the boogeyman, because it’s “viral”, and that sounds like a bad thing.
@m
m / gist:f27ae57113e34392c6d5
Created May 30, 2015
Auto-unsubscribe on Unroll.me
View gist:f27ae57113e34392c6d5
var i = 0;
function unroll_me_unsubscribe() {
// Bail if share modal (indicating free limit reached) is encountered.
if ( jQuery( '#fb-root' ).length > 0 ) { return; }
var unsub_link = jQuery( '.LetterList a.uicon-set-unsubscribe:first' );
if ( unsub_link.length > 0 ) {
document.getElementById( unsub_link.attr( 'id' ) ).click();
if ( i++ < 6000 ) { /* Upper limit in case something goes wrong. */
setTimeout( unroll_me_unsubscribe, 1500 );
}