Skip to main content

TFnet hosts a new blog.

I just finished setting up the first blog I am hosting on my site for someone other than myself. Brad has expressed interest in the blogging concept after I explained to him what it is. Although he is not the first person I have offered to host a blog for, he is the first one to accept.

I was finally able to setup the redirect for Brad’s subdomain: Who would have thought that a ”/” would make such a big difference? Hehe, it always helps to read the instructions. LoL After I added Brad’s subdomain, I wanted to redirect it to the subdirectory of his blog, seeing that at the moment in his subdomain there is not any other content. I tried doing that on Saturday night, but I managed to mess up the redirecting process. Every time I browsed to his subdomain I was redirected to nonexistent places and given weird errors. I emailed my host company and asked for some assistance with the problem and the DNS record. Expecting some kind of response I did not bother with it yesterday, but this morning I still have not received a reply to my emails from the hosting company, so I decided to give it a try again and mess with the redirect. While I was doing that I red a note under the redirect form which stated:
Note: If you wish to have filename redirection (example: -> http://redirecturl/test.html) be sure to end with a trailing / on the end of the url.

In bold letters on top of that. Heh, should have paid more attention to it before.

Although, the instructions are about files, I decided to try doing the same for directories as well. After all I was pretty much out of options until the host’s support team answers my emails. I had the chance to look at the code of some other .htaccess files when I was searching for some sort of a solution on Saturday, and there the “/” was present. I though why not, I can and did try editing the .htaccess file in Brad’s subdomain and adding the slash and modifying the code, but to no avail. That is of course until this early morning! I know that he DNS records have to be updated, but it never clicked in my mind that editing the .htaccess file would not be enough, I had to use the redirect form. The note above helped me to make the connection. LoL

Now it is all working. The SQL database is populated, and the admin account is created. I will create Brad’s account, and let him type away tomorrow. Meanwhile I will start customizing the look and feel of his blog. I am using the latest nightly build of WordPress 1.3 and I cannot way to start modifying the code and see what new things I can do with it.

The address to Brad's blog is:


Popular posts from this blog

Format MAC Address [JavaScript]

I am currently working on a project which will allow users to register their Wi-Fi enabled, non-web browser enabled, devices on the network. These are devices like printers, Apple TV, and Xbox*. One of the data points that have to be collected from the user is the device MAC address. The project customer wants that address to be properly formatted when they see it in the support ticket.

We have several options. We can format the address either on the back-end after the form has been submitted. Or we can format it on the front end via a separate text field for each character pair, but that is too many fields to handle. A better solution is to use a single field and format the user input at the time of input or upon submit. In those cases, the former is better because the data will already be formatted when the overall form input is being validation after the user clicks the “Submit” button.

We are going to format the user input as it is being provided, thus having proper data when vali…

How to setup Coda 2 to push to GitHub?

Setting up a new site in Coda 2 and cloning a GitHub remote repository is not that big of a deal. Where you will most likely run into problems is when you try to push your changes to the GitHub remote repository. Below I will show you how to update the Git config file in your local repository so you do not run into one of the following errors:
git push failed remote: Remote anonymous access to repository deniedgit push origin master Username: fatal: Could not read passwordThe GitHub repository address I am going to use is that of Source Code DNA: I will assume that you have already setup your Coda 2 site profile and cloned your repository, you have made some changes, and now you are ready to push those changes to your projects GitHub repo.

SNOOZ: Sound. Sleep.

I was on the Snooz Kickstarter page today, revisiting the project’s details and timeline progress. The device, which is a white-noise generating machine, recently became available for pre-order. Snooz is meant to be an alternative to having a TV or a stationary fan running at bed time. In my case, I bought it for my wife so we can get the TV out of the bedroom.

Whilst on the comments page I read the following comment, posted recently by Ken Tran:

I'm not a fan of the new fabric design. ...
I must disagree. If you take a look at the original design, which is all plastic and no style, I must say it is fugly. It is all utilitarian - not something I rally want to look at or see when I walk into the room. The final design, seen on the right, is something that beacons to be explored, looked at, utilized.

I am a big fan of Bang & Olufsen. They use fabric from Kvadrat in their line of products. Incorporating soft materials like fabric or leather in something which is meant to be place…