Skip to content
Writing

Notes, fixes and guides.

Sixteen years of working notes — Linux and networking, Django and Laravel deployment, SwiftUI, AWS. Written down mostly so I can find them again.

General Feb 12, 2013 1 min read

intad.pag2p.co sidepage.co streamride.net, are they Malware?

intad.pag2p.co/dva1/int, sidepage.co and ui.streamride.net has been creating a panic to internet users around the globe. Everyone who first encounters it thinks that their computer is infected by a…

PERL Dec 19, 2012 1 min read

Perl: Send an Email with attachment through Gmail SMTP

This is a tutorial on how to send an email with attachment via Gmail SMTP. Here i am using Email::MIME to create the email/message object. Email::Sender::Simple (sendmail) is…

Heroku Sep 24, 2012 1 min read

How to Import/restore data into Heroku postgres database from a dump file

I was working on a rails app and i had a huge amount of data in my local Postgres database. This is what i did to import data into the database at heroku from a dump file of my local database.

Android Sep 23, 2012 1 min read

Java: Change the Call Forward Number on an Android phone programmatically

We can easily set/change the call forward number on gsm Android phones. Here i am showing you to change/set the call forward number for "Unconditional forwarding".

Heroku Sep 23, 2012 2 min read

Rails: How to Update the Source code of an existing app on Heroku

Recently, i was working on an existing rails app hosted on Heroku. After making few updates to the code, i was wondering on how to get it updated on Heroku. This is what i did on my ubuntu machine.

Ruby Sep 15, 2012 1 min read

Ruby: Sending mails via Gmail SMTP with authentication

This is a tutorial on how to send mails via Gmail SMTP with authentication using ruby.

PERL Sep 7, 2012 1 min read

Perl: Send an E-Mail using Email::Simple and Email::Sender

Email::Simple is the first deliverable of the "Perl Email Project." The Email:: namespace was begun as a reaction against the increasing complexity and bugginess of Perl's existing email…

PostgreSql Aug 21, 2012 1 min read

PostgreSQL: Dump(Backup) and Restore a Database

Backup pg_dump is the utility i am using for backing up a PostgreSQL database. It makes consistent backups even if the database is being used concurrently. pg_dump does…

HTML Aug 17, 2012 1 min read

Perl: How to Upload a file using perl CGI

This is a tutorial on how to upload a file using perl CGI.

Coding Jul 25, 2012 1 min read

How to make a Div (Lightbox) appear over a Flash / Youtube embedded video

Do you have a Flash / Youtube video on your website, and have you ever tried to put a Lightbox on top of everything on your site? It…

Shell Jun 21, 2012 1 min read

SED: Shell command to find and replace text inside a directory (multiple files)

I have been using this command for a long time now. Whenever i am in need of this command, i won't be remembering the correct syntax. So, i…

PHP Jun 20, 2012 1 min read

WordPress: Fix – Parameter 1 to fdl_the_content() expected to be a reference – error

Today, i moved my blog to a new server. Everything was set up easily. But, when i pulled out a blog post, everything was working correctly, except that…