Posts tagged with ‘router’

 

  • Archives

  • Categories

This kinda caught me by surprise:

Thomson ST536 claiming a network error

Thomson ST536 claiming a network error

(Thomson ST536 claiming a network error.)

You mean routers do that these days?

 

Take a look at all the wires around my computer. I have wires for the modem, the router, the computer, the netbook, the external hard disk, the iPod, the cable television thingy and all my other computer peripherals:

All the wires around my computer

At one point of time I actually wanted to wireless most of my computer set up. I started with the keyboard and mouse set up. I bought one of those wireless desktop set from Microsoft. It worked but not all the time.

There was this slight lag when typing, probably a 0.1 second lag but it’s there and I feel it. It’s enough to make to prefer wires. I talked to Uzyn that time he encountered a similar problem too. Once in a while, the mouse wouldn’t really response and that ticks me off greatly (when I couldn’t click and hold to select my units on the screen successfully).

As you can see much of my computer table is made of metal and that probably affected the wireless to some extend. Today I live with the wires. Things are really messy but at least they work. Wireless? No thanks.

[By the way, the elongated cylindric thing is a CD holder and does not contain beer.]

 

CakePHP 1.2 comes with in built PagesController which helps you easily create static pages. It’s easy to set up, you just have to put your pages view in /views/pages/. All the codes are for routes.php.

<?php
# View is in /views/pages/home.ctp
Router::connect(‘/’, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘home’));
?>

The page title ($pageTitle) would be ‘Home’ for the above.

If you want your URL to be /about/my-company, you can do the following:

<?php
# View is in /views/pages/about/my_company.ctp
Router::connect(
  ‘/about/my-company’,
  array(
    ‘controller’ => ‘pages’,
    ‘action’ => ‘display’,
    ‘about’,
    ‘my_company’,
  )
);
?>

The page title would be ‘My Company’ this time since underscores are converted to spaces. Pretty useful.

 

My internet’s really slow today for some reason. Gmail’s slow. Google’s slow. Digg.com’s slow. The only fast site is my router control panel.

I restarted the router and modem to no avail. I think it’s rebelling or something, since I haven’t let it rest for quite a little while.

 

WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.