Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
#!/bin/sh | |
echo "\033[30m Black" | |
echo "AAAAAAAAAAA" | |
echo "" | |
echo "\033[31m Red" | |
echo "AAAAAAAAAAA" | |
echo "" | |
echo "\033[32m Green" | |
echo "AAAAAAAAAAA" |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
<?php | |
array( | |
'/' => array('GP_Route_Index', 'index'), | |
/** | |
* No permission check | |
*/ | |
USE __DATABASE__; | |
SET @username = 'azizur'; | |
SET @password = MD5('password'); | |
SET @fullname = 'Azizur Rahman'; | |
SET @email = 'azizur@example.com'; | |
SET @url = 'http://azizur.com/'; | |
INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_status`, `display_name`) VALUES (@username, @password, @fullname, @email, @url, NOW(), '0', @fullname); |
var foo = function () { | |
return this; | |
}, | |
a = new foo(), | |
b = foo.apply({}); | |
console.log(a); // {} | |
console.log(b); // {} | |
a == b // false |
<?php | |
/* | |
Plugin Name: Simple Post Views Counter | |
Plugin URI: http://wordpress.org/extend/plugins/simple-post-views-counter/ | |
Description: This plugin will enable you to display how many times a post has been viewed. The hits/views are displayed in the posts entry meta. Please refer to the included readme file for proper install instructions and use. | |
Version: 1.2 | |
Author: RS Publishing | |
License: GPLv2 | |
*/ |
<?php | |
$urlPattern = '/^(?!mailto:)(?:(?:https?):\/\/)(?:\S+(?::\S*)?@)?(?:(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[0-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:www.)?)?(?:(?:[a-z\x{00a1}-\x{ffff}0-9]+-?-?_?)*[a-z\x{00a1}-\x{ffff}0-9]+)(?:\.(?:[a-z\x{00a1}-\x{ffff}0-9]+-?-?_?)*[a-z\x{00a1}-\x{ffff}0-9]+)*(?:\.(?:[a-z\x{00a1}-\x{ffff}]{2,})))|localhost)(?::(\d{1,5}))?(?:(?:\/|\?|#)[^\s]*)?$/iu'; |
$(document).ready(function(){ | |
setInterval(countdomains(), 1000); | |
function countdomains(){ | |
var cb; | |
$(".letters").each(function(){ | |
cb = $(this); | |
$.getJSON("/api/domain/countByLetter?letter="+$(this).data('letter'), null, function(data){ | |
cb.text(data); | |
}); | |
}); |
<?php | |
/* | |
* This is the contents of $_SESSION | |
* Array | |
* ( | |
* [qty] => 3 | |
* [sizes] => Array | |
* ( | |
* [0] => 10-x-12-x-1 | |
* [1] => 10-x-12-x-1 |
I hereby claim:
To claim this, I am signing this object: