I hereby claim:
- I am tremidkhar on github.
- I am tremidkhar (https://keybase.io/tremidkhar) on keybase.
- I have a public key ASD_7WnPMvcuPc-DCJOhOYjahQd1vyKRb-lBWinz65hXkQo
To claim this, I am signing this object:
<?php | |
final class SVG { | |
/** | |
* Setup the hooks. | |
*/ | |
public static function setup_hooks() { | |
add_filter( 'wp_kses_allowed_html', array( __CLASS__, 'add_kses_svg_support' ), 10, 2 ); | |
} |
I hereby claim:
To claim this, I am signing this object:
/* | |
You know how Twitter never loads all the followers but you have to keep scrolling? Well, | |
this script automatically keeps scrolling to the end of the follower list. | |
30-05-2017 | |
(c) 2017 - Loran Kloeze - loran@ralon.nl | |
Usage | |
- Go to https://www.twitter.com/twitter_handle/followers (change twitter_handle in i.e. realdonaldtrump) | |
- Open up the console (F12) (Firefox users: type 'allow pasting' if you haven't done so yet) | |
- Select the contents of this complete file and copy/paste it to the console and hit enter |
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
function have_valid_gravatar( $email ) { | |
$header = @get_headers( 'http://www.gravatar.com/avatar/' . md5( strtolower( trim ( $email ) ) ) . '?d=404' ); | |
if ( preg_match( "|200|", $header[0] ) ) { | |
$result = true; | |
} else { | |
$result = false; | |
} |