Skip to content

Instantly share code, notes, and snippets.

View funivan's full-sized avatar
⌨️
deliver bits

Ivan Shcherbak funivan

⌨️
deliver bits
View GitHub Profile
public function getHtml($url, $follow = true, $level = 100) {
echo "\n\n=======GET====================\n";
echo $url . "\n";
echo "\n";
return parent::getHtml($url, $follow, $level);
}
public function postHtml($url, $post, $follow = true, $level = 5) {
echo "\n\n=======POST====================\n";
echo $url . "\n";
@funivan
funivan / jquery.onezero-0.1.js
Created June 8, 2012 14:29
Make my site One Zero site
/**
* oneZero plugin for true coders
*
* How to use
*
* $('html').oneZero(); //replace all chars that is valid for default regex in html node
*
* $('#footer').oneZero({charsPattern:/^[0-9]$/i}); //replace all numerical chars in #footer node
*
*