Using VI to search for specific patterns

So this is a short little something I was working on tonight. Yes tonight as in a saturday night. I am a workaholic.

Anyway, if you would like to search for the following pattern using VI or if you would like to use syntax highlighting using your own vim file.

Patter: ##/##/##@##:##:##

Search command:

:/[0-9]./[0-9].{3}.@[0-9].:[0-9].:[0-9]

or the much cooler one

:/d./d./d.@d.:d.:d

For all your wildcard needs, remember to refer back to the awesome VI doc site here. Enjoy.

~david macias

Audioslave – Be Yourself

The first single from Audioslave’s new album which is not out yet. If this song is anything like the rest of the songs in this album, then I will be there Tuesday when it hits the shelves. Song, reminds me a little of "I am the highway" from their freshmen cd, which IMHO was the best track of the whole cd.

I’ll let the lyrics speak for themselves.

~david maciasSomeone falls to pieces
sleepin all alone
Someone kills the pain
spinning in the silence
to finally drift away
Someone gets excited
in a chapel yard
catches a bouquet
another lays a dozen white roses on a grave

So be yourself is all that you can do
So be yourself is all that you can do

Someone finds salvation in everyone
and another only fame
Someone tries to hide themself
down inside their selfish brain
Someone swears his true love
until the end of time
Another runs away
separate or united?
healthy or insane?

So be yourself is all that you can do
So be yourself is all that you can do
So be yourself is all that you can do
So be yourself is all that you can do

You can be fading out
and pulled apart
or been in love
every single memory of
could have been faces of love
Don’t lose any sleep tonight
i’m sure everything will end up alright
you may win love

but to be yourself is all that you can do
So be yourself is all that you can do

Chicago?!?

So, I have been in Chicago for a couple of days now. I love traveling, I enjoy being on the road and would like to do more of it if possible.

However, this trip has not been fun. Got here Sunday and by around Tuesday I was feeling a little sick, maybe had something to do with the guy who was sick in my training class. Well, Tuesday around 7 PM I passed out, slept until 7 AM the next morning. Today (Wednesday) I still felt a little under the weather, but after a nap and dinner I was feeling much better. So I got to thinking, why would I get sick all of a sudden, then get much better within 48 hours?Stress. I think my body gets majorly down when I push myself too hard. Thus, resulting in some defencies on the imnune system. Now, is this a sign of age? Am I getting older and weaker? I don’t think so. If anything I think I am working harder than I had before, but only time will tell.

I think I need some vitamins.

~david macias