How to iterate over all files in a directory:
This works on my MacBook, running Mac OSX Snow Leopard (10.6). Unix.
To list all files in your Documents folder, for example, enter in Terminal (Mac's command-line):
for file in ~/Documents/*; do echo "$file"; done;
To create hardlinks in the present working directory that point to files in your Documents folder, enter:
for file in ~/Documents/*; do ln "$file"; done;
This is my response to a comment made on my facebook page:
http://www.facebook.com/profile.php?id=514417&v=feed&story_fbid=59396232...
Nice Edwin.
Okay. so i'm kinda embarrassed to share this... but... i got honest with myself and reminded myself that:
1. get disturbed/get honest
I'm single and in a slump (it's been about a month since any action... haha... although i have been in a new place for the past 3 weeks. prague... have to build up new social circle of prospects.. haha.. there i go with the excuses again! :) )
let's get this party started. here's my share.
guess we're supposed to start with 1st week of PP2 but are skipping it? that's cool. i did the first 10 days of PP2 twice before, although a refresher wouldn't hurt since it's been a while. anyhow... i don't mind skipping it. on with the fun.
parts of day 1 audio that i liked:
-skepticism is being afraid to get your hopes up.
-in today's world, depression is merely a prozac deficiency. LOL!
-yeah, a ton of people talk the talk... but action is what matters. walk the walk.
How to use the mail() php function to send mail.
This works and is REALLY easy! And can be undone later. It's just editing a text file. I know it's scary and advanced (I was scared and confused at first), but just do it. It's fine. And if it doesn't work, you can change it back. Simple! :)
Going off my last post of musing about what the future holds in store for us, is it me or do we work way too hard these days?
With the age of computers and technology and this new age of information... our goal should be AUTOMATION...
Eventually, computers will be obsolete. Not in the general sense of the word, but personal computers specifically.
What is the point of a personal computer?
I use mine to write papers, make presentations or websites (and blog posts like this one), and to check email. You can also use computers to advertise and sell products and services (e-commerce).
So, yes, computers are useful, especially as a means of communication and business, but isn't there better?
echo vs. assignment and string concatenation inside a display function.
I made this function nav() to display the navigation
If ur gonna be doing a fair amount of css styling, you must download the firebug firefox extension (google firebug). if you don't have firefox, you could try firebug light or you might prefer downloading webkit. http://webkit.org/
Here is a response I made to this article: http://la.foodblogging.com/2005/07/31/337/
Pauline, you know how they tell you to go with your gut?