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.
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: 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…
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.
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".
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: Sending mails via Gmail SMTP with authentication
This is a tutorial on how to send mails via Gmail SMTP with authentication using ruby.
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: 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…
Perl: How to Upload a file using perl CGI
This is a tutorial on how to upload a file using perl CGI.
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…
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…
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…