July 2008 Archives

2008 Jul 30
virtual.gifSetting up virtual hosts with XAMPP is very straight forward and could be done in less than 5 minutes. Although, your local XAMPP server will still work even if virtual hosts are not configured. You might want to ask, is there a need for my local XAMPP setup to configure virtual hosts? Apparently, virtual hosts are needed when

  • your on multiple domains
  • your need to test your projects with same configuration with the server
  • test your projects without touching your public server
  • your just organizing your projects into groups
  • or setup a local copy of your blog or website
What do we need?
This document assumes that you are working with Windows XP with XAMPP. If you don't have XAMPP, get it at their XAMPP for Windows download page. Just execute the exe file and follow the onscreen instructions.

Configuring Windows XP to accept hosts
Hosts is a file under Windows XP that is used to map IP addresses to a custom list of hosts or maybe domain names. The IP address should be placed in one line. The first column should contain the IP address and on the second column its corresponding hostname. The IP address may be separated by a space or by a tab. You can place comments by prepending your line this symbol '#' (pound sign). Initially the first line is added. Now lets add our domain tildemark.com

127.0.0.1       localhost
127.0.0.1       www.tildemark.com
127.0.0.1       tildemark.com

you can check your work by doing a ping to your configured host.
pinging-tildemark.com.jpg 

Configuring XAMPP to accecpt Virtual Hosts
  1. Got to your Apache folder in XAMPP and locate the conf files. The are usually located at <<local path>>\xampp\apache\conf\extra
  2. Open the file named httpd-vhosts.conf with a text editor
  3. If posible read the instructions so may have the idea on what you are doing
  4. Now paste the following code at the bottom of the file without touching the document.

    NameVirtualHost 127.0.0.1:80
    <VirtualHost 127.0.0.1:80>
      DocumentRoot E:/xampp/htdocs/    # change this line with your htdocs folder
      ServerName localhost
    </VirtualHost>

  5. Edit the line DocumentRoot with your own document root folder
  6. For each domain you are to configure paste the following lines below, just replace my domain name your corresponding domain:
<VirtualHost www.tildemark.com>
  DocumentRoot "E:\www\www.tildemark.com"
  ServerName www.tildemark.com
  ServerAlias www.tildemark.com

  CustomLog "E:\www\www.tildemark.com\www.tildemark.com-access_log" combined
  ErrorLog "E:\www\www.tildemark.com\www.tildemark.com-error_log"

  <Directory "E:\www\www.tildemark.com">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>



2008 Jul 22
rss-dummies.jpgWhat is RSS?
RSS is a document format for reading frequently updated websites in the internet. Similar to other document format like the MS Word documents or the PDF documents, the RSS also needs an interpreter called the "RSS Reader" as the MS Word Application for your MS Word documents and acrobat reader for your PDF documents. Each RSS document is called a "feed" or commonly as RSS Feed. RSS feeds are seen with the icon having an orange background with arcs usually found on the side bar of a blog.

How can RSS feed help me?
RSS are designed to help us read frequently updated websites in just one neat and simple application called the "RSS Reader". I use these programs at home to read my favorite blogs or forum and at work to read the messages from my projects. With this, i do not need to go to each of the websites i often visit just to check for any update but instead the RSS Reader does this for me. RSS Readers really made my life more easier as RSS stands for Really Simple Syndication

How do i get RSS?
You will need an RSS Reader, there are lots of applications that enables you to read RSS documents. Personally, I use the Google Reader but you might prefer some other applications. Lets just use it because it the only reader use for now. If you have a Google account then you can use it to read RSS feeds from there. Just click on the "add subscription" link and paste in your RSS feed. Now on the blogs that you read look for the RSS Logo, copy and paste the URL to your favorite RSS Reader in my case its Google Reader. Some feeds are marked private meaning you will need a password before we could read the contents. Some readers accepts authentication, at the office is use Sharp Reader Software.

rss-logo.jpgHow do I know the link I got is RSS?
The RSS reader is written in plain text, if you will try to open an RSS document with a text editor, you can actually read it but you might have a little more time understanding because of the way its written. The format the RSS document is written is called XML. XML is like an older brother of the other common technical word called HTML. XML and HTML are not the topic here so lets just ignore them for now. You will know its RSS because every RSS feed has this somewhere at the beginning of the document: <?xml version="1.0"> and it has an orange icon with a arcs in it. You can try using Tildemark Blogs RSS feed to use is as a sample or maybe subscribe to it.


2008 Jul 21
palit-7300GT-sonic.jpgIts been months since I had my PC with a video card. I got my old GeForce 7300 GT removed and placed on a PC without a video card. I tried to tweak the PC and ended up messing its video capabilities. So, since my PC works without a card, I did a generous donation and give away my only graphics card. Now, imagine me with my PC without a video card. Finally, after 6 months, I was able to buy the Palit GeForce 7300 GT Sonic video card. It's actually an old card considering I was once using 7300 GT but I'm out of budget and I really need a video card. GeForce 7300 GT Sonic still is using Direct X 9c shader, so no Windows Vista games for me since Windows Vista is using the new Direct X 10, but I don't like Windows Vista yet so i guess its ok for now. Maybe next year I'll upgrade my OS then I'll upgrade my video card. Anyway, GeForce 7300 GT Sonic is the overclocked version of the GeForce 7300 GT Card its a bit faster with a core speed up to 500MHz and memory speed up to 1000MHz at 256MB. The GeForce 7300 GT Sonic comes equipped with DDR3 instead of the DDR2 from the 7300 GT version. All the speed I need to max out the graphics quality of the games I play right now. Not really bad for a $50 video card, I wish I had some more and I could have bought the GeForce 8 series video card.

cc3tw-cover.jpgI reinstalled the game Command and Conquer 3: Tiberium Wars and started playing it the whole day. I wasn't able to finish playing the game before because of the video card experiment I did. So, this time I'm going to finish the game with maximum graphics quality. I'm now playing the Normal mode but after i finish this I'll start again with the hard mode. mammothtank.jpgI just love the Mammoth Tank with its Rail Gun Upgrade its almost unstoppable in the battle field. With this tank, you only need about 3 or 4 to finish a mission. Its very powerful and its huge, just don't get hit by an EMP or they just be sitting ducks. I also like the dig skill for the Rifflemen but it costs 300 credits and the Shadow soldiers could easily kill them in one shot even if their rank is already star.


GDI-lt-Kirce-James.jpgEvery time I get to the mission briefing, I have noticed that GDI Lt. Kirce James is so familar to me. I tried replaying the mission briefing just to recall her. Then i realized she was Jennifer Morrison or Doctor Allison Cameron from the TV series House. Why didn't I noticed her before, I was really surprised to see her doing the mission briefing. Well, she didn't have that military look but I like her being a doctor.


2008 Jul 18
I hate spam and its everywhere, in the forums, in my comments, emails, and even in blog posts. Email spam is so hard to stop if you don't have a good spam blocker. Once your in, there's no going back. I don't recommend you clicking on the link that says 'click here to unsubscribe' because it only confirms that the email address you are using is indeed active which results to more spam.

The most efficient way to battle spam is to avoid them. Don't got to p0rn site, sites that offer pirated software or any illegal stuff. another way is to change your email link into an image. In that way automated programs that harvests email address may not be able to pick it up. A web site that provides an image for your email address called email icon generator might be useful for you. See some samples below

tildemark-gmail.png
tildemark-hotmail.png
tildemark-live.png
tildemark-msn.png
tildemark-yahoo.png



2008 Jul 14
Not being able to see the differences between colors is a bit trouble some. Imagine yourself looking at the traffic light and not seeing and red color. These people will see yellowish brown color instead of the red color. Red-green color blind is also called Protanopia, people that are less sensitive to red light and Deuteranopia for people who are less sensitive to the green light.  Some study determined that about 10% of the male population are color blind. I am happy I do not belong to those 10%.

That is why link urls should stay underlined to help people with color blindness see it immediately. since we are not able to adjust CSS being used on the website we browse, we will just instead use our own CSS page by specifying it on our browser. if you are color blind, this page will help you a lot. If you are not color blind, i don't recommend you using it because it would be weird.

First lets create our own CSS file and specify it via our browser settings later.


* {
  color: #000 !important;
  background: #fff !important;
}

a {
  text-decoration: underline !important;
  color: #fff !important;
  background: #000 !important;
}


the !important specifier must be present on your CSS codes to tell the browser its important and must override the other CSS codes.

Using Internet Explorer navigate to 
  • Tools -> Internet Options
  • Click on the Accessibility button
  • Place a check on the 'Format documents using my style sheet' option
  • Browse to the location where you saved your CSS file above.
  • then click OK
If you are using Firefox go to your profile folder and edit your userCrome.css file of your userContent.css file. just copy-paste the CSS code above to the bottom portion of the file.

About this Archive

This page is an archive of entries from July 2008 listed from newest to oldest.

June 2008 is the previous archive.

August 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Recent Activity

Today

  • tildemark tweeted, "@jjdoblados SmartBro wont work with linux because the installer is an exe file. plus SMARTBRO sucks my dialup connection is even faster."
  • tildemark tweeted, "i think i accidentally drank 2 dosage of my medication. now, im feeling dizzy. is there a way i cound unswallow it?"

Monday

  • tildemark tweeted, "I'm feeling tired. i hope the clock will run a bit faster this time."
  • tildemark tweeted, "got sick for about 3 days. ended up finishing nwn2."

Thursday

  • tildemark tweeted, "im planning to move again, but i dont know where."

Sunday

  • tildemark tweeted, "I drank 3 sachets of instant coffee, ang now i cant sleep even if my eyes are sleepy? I can hear voices.wtf"

Friday

  • tildemark tweeted, "im so sleepy. Zzzzzzzz"

Sunday

  • tildemark tweeted, "some of my scipts are not working with godaddy. but works fine on the others. not mention their poorly coded admin page"

Thursday

  • tildemark tweeted, "so many pending tasks i need to finish. need more coffee !!!"
  • tildemark tweeted, "@gmtristan i dont think that is true."