Sunday, April 22, 2012

[Ubuntu][Sqlite3] Display all Tables

Here's how to display all tables on ubuntu terminal

Activate sqlite3:
sqlite3 my_database_name.db

Display all tables:
SELECT name FROM sqlite_master WHERE type='table' ORDER BY name;

Friday, April 20, 2012

[HTML][Javascript] Mailto + Subject and Body

When we create a link that points to our mail we commonly use this:
<a href="mailto:my_email@test.com">Send me your Feedback!</a>

How about adding a subject on the email? Yes, we can also do that.
<a href="mailto:my_email@test.com?subject=my subject">Send me your Feedback!</a>

How about adding an email content? Another check!
<a href="mailto:my_email@test.com?subject=my subject&body=my content here">
    Send me your Feedback!</a>

Thursday, April 19, 2012

[HTML] Marquee Party!

Hey! I've been searching on something to do when I came across a site that has a moving text. At first, I thought that it's some javascript code or something that makes it move but when I use firebug to look at the code I saw that it's using the <marquee> tag. I haven't use the marquee tag for a long time so I decided to explore the said tag once again.
Related Posts Plugin for WordPress, Blogger...