February 20, 2008
Somebody wanted this.
function ripper($url) {
$page = appr_curl_function($url);
if ($page === false)
{
die(”Something wack happened”);
}
preg_match(’/watch_fullscreen\?video_id=(.*?)&l=(.*?)+&t=(.*?)&/’, $page, $match);
$match1 = “http://www.youtube.com/get_video?video_id=”;
if(!$match[1]){
die(”Some Informative Error Messgae Here”);
}
$match1 .= $match[1];
$match1 .= “&t=”;
$match1 .= $match[3];
return $match1;
}
Should work. Write yourself necessary things in the appr_curl_function()
No Comments » |
Drupal, PHP, Programming, cURL |
Permalink
Posted by p6
February 20, 2008
Yamini 2008 @ IIMB:
Reached IIMB towards the end of the first piece (the first concert, rather) by Sowmya. “Kurrai Onrum Illai” was the last piece that was nearly done with as I got there.
What followed was Shashank’s brilliant concert. Amongst the most stunning flute virtuosoes ever, so far as I’m concerned. Truly, a remarkable rendition. Read the rest of this entry »
No Comments » |
Music |
Permalink
Posted by p6
January 24, 2008
Finally, a programming language I can actually like!
http://shakespearelang.sourceforge.net/
There ’s always something in the universe that you can get good at. I’ve heard of somebody who composed palindromic poems in Sanskrit and somebody who came up with a programming language with the code syntax being completely in whitespaces. I guess this endeavor deserves to make it to that list too.
Much in the same context, One more thing that comes to my mind are Kasper’s (The Typo3 Man) PHPoems. I’m too lazy to find the links. Go look up google and read ‘em up sometime.
No Comments » |
PHP, Programming, Wtf |
Permalink
Posted by p6
January 24, 2008
http://drupal.org/node/202638
Valid Reason so far as I can fathom. Unfortunate that Dub only had to get repeatedly dismissed and flamed at.
Dries is a great man, but really.. the proposition of open-source communities being under the fatherhood of benevolent dictators, especially ones with new startups and in the hands of legalities and venture capitalists..isn’t particularly an ideal proposition.
I’m all for democratization, personally. Looks like it’s not to be, however.
No Comments » |
Drupal, PHP, Programming |
Permalink
Posted by p6
January 24, 2008
Pretty lame, this.
http://www.hiveminds.co.uk/forum/node/3654
I knew of a certain Mr Pillai who supposedly made a lot of money out of cybersquatting (most notably on sydney2000.com, I think). Very very lame though. I don ‘t think this dude’s going to get away with the hijacking.
His track-record isn’t too great with the rest of the Drupal junta either. He’s been consistently writing half-baked, fallacious and lame stuff against Drupal for a while now as in here.
No Comments » |
Content Management, Drupal, PHP |
Permalink
Posted by p6
January 24, 2008
Night 1.
- Early start to our man’s place.
- Chronic hunting for footwear.
- Decision to abandon excess medical paraphernalia.
Read the rest of this entry »
1 Comment |
Tacit, Travel, Untaggable, Wtf |
Permalink
Posted by p6