Pages

Your Ad Here

This Blog is not to read or go through

because, I have never been such a mess


Search the blog instead

Monday, June 3, 2013

How To Fix “421 Cleartext Sessions Not Accepted” Error In Filezilla?

Server is enforcing TLS encryption for the connections. Hence, need to add prefix ftpes:// before the hostname of the server

if trying to connection to example.com,
simply change the hostname to ftpes://example.com

Refer to this article for more details if required. 

Tuesday, May 14, 2013

curl post (php)

//open connection
$ch = curl_init();

//set the url, number of POST vars, POST data
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_POST, count($fields));
curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string);

//execute post
$result = curl_exec($ch);

//close connection
curl_close($ch);

Sunday, March 17, 2013

Check ubuntu distribution information

$ cat /etc/lsb-release

Saturday, March 9, 2013

Mplayer and your own Theare (For Public)

$ mplayer -fs -vf mirror video.flv

Find a window with white curtain, and project from inside. Get a gang outside the window and run your own theatre .


It was COOL to see Sparrow SMS commercial blowup. wooooooooooooow

Friday, January 18, 2013

[Imagemagick] Explode Image into pieces

convert -crop 16x16 mascotsmall.png +repage mascot-%d.png

Monday, June 18, 2012

OLAP in mysql

SELECT field1, field2, count(field3), count(field4)
group by field1, field2
with rollup

Sunday, March 18, 2012

Git tags to Github

$ git tag -a TAGNAME
# -a means to annotate a tag with some description.

$ git push --tags
# push the local tags

To know more
http://gitref.org/branching/#tag

Your Ad Here