What was that command again? Linux History

September 14th, 2009 No comments

Here is a total noob hint.

You can see the last 500 or so commands you have entered in the command line on a Linux system with the following command:
history

Now, if you want to filter that list you can use grep. For example, if you want to see the files you have edited, you could:
history | grep nano
Assuming of course, that you use nano as your text editor.

Categories: linux, noob Tags:

The worlds shortest guide to cron

September 14th, 2009 No comments

You can see a guide to complete a cron entry here. It always seems a lot harder to find how to actually see and edit the schedule.

To see what you have in your cron schedule
crontab -l

To edit your cron schedule
crontab -e

Categories: linux Tags:

Google suggest cracks me up

February 10th, 2009 1 comment

I just totally

Categories: funny Tags:

How to get Mentholatum out of a rug

October 22nd, 2008 No comments

My daughter just dropped a big plop of Metholatum on our new rug. Drat! Searching on the web reveals that Dry Cleaning Solution is your best bet for removing it.
Riiiight. I’ll just head over to the pantry and get my bottle. I’ve never even SEEN dry cleaning fluid, let alone have any on hand.

I was able to get the stain out as follows:
You’ll need:

  • Rubbing Alcohol
  • Cotton Balls
  • A clean, dry towel

As always, whenever you are going to put something wet onto your rug, test it on an inconspicuous spot to make sure you aren’t going to mess it up, or fade the color. I ain’t responsible for your stain, or any damage you do to your stuff!

Here is how I got the stain out:

  1. GENTLY lift any large blobs of the goo out of the rug. Try not to mash any of the stuff into the rug fibers
  2. Saturate a cotton ball with rubbing alcohol and GENTLY dab the alcohol onto the Mentholatum that remains
  3. The alcohol seems to loosen / dissolve the Mentholatum, so try to wipe the goo as best you can. Gentle is the key word. Don’t mash the stuff into the rug any more than it already is
  4. Once a cotton ball gets all covered with Mentholatum, discard and saturate a new one. Repeat until as much of the Mentholatum is up from the rug.
  5. After the goo us up, dab the carpet with the towel to absorb any left over alcohol. Try and get the rug dry, if you can.

It worked for me, hopefully it will work for you!

Categories: cleaning, hack, lifehack Tags:

5 options for ethical mass emailing.

October 20th, 2008 2 comments

There are many reasons why someone might want to mass email to groups of people. Most often this might be for product announcements, updates, or general information. Often this tough to do without putting your name or your company’s name at risk for appearing on Spam blacklists.

Here are five options I’ve found for sending bulk email.
Lyris
Lyris Logo
What they say: “Improve inbox delivery, create landing pages and see what subscribers are up to after they click through with integrated email-deliverability analytics, Web analytics and Web content management.”

MailChimp
Mailchimp Logo
What they say: With MailChimp you decide whether to pay on a monthly basis or pay-as-you-go. The monthly fee is based on the number of email addresses in your contact list and starts at $15 per month. The pay-as-you-go works plan works like stamps. If you want to send to 500 people, you’ll need 500 “email credits.” Email credits start at three cents and go down to ½ a cent for orders over $1,000. Email credits “roll over” and never expire.

CampaignMonitor
What they say:
Campaign Monitor is built for designers who can create great looking emails for themselves and their clients, but need software to send each campaign, track the results and manage their subscribers.

ConstantContact

What they say: Email Marketing by Constant Contact makes it easy to create professional-looking emails—fast and with no technical expertise. With more than 300 easily customized email templates, a step-by step Email Wizard, and point-and-click interface, you can create high-impact email newsletters and promotions in just minutes

Vtrenz

What they say: Vtrenz, a Silverpop Solution, is the leading on-demand marketing automation solution, enabling direct marketing professionals to develop a dynamic, repeatable, and measurable lead generation process which increases response rates, accelerates sales opportunities, and provides clear visibility into marketing initiatives.

So there you have it, 5 options of varying capabilities and pricing that will help you and your company ethically mail bulk messages to your customers.

Categories: email Tags:

Found: Secret Stats page in Google Chrome

September 4th, 2008 2 comments

I was evaluating Google Chrome this morning, and in between crashes (and boy, do I get a lot of whole browser lockups!) I started messing with the URL bar and found this “secret page”.

No seriously, it says “Shh! This page is secret.” To it seems to give all sorts of stats about timing of events, and consumption of resources by the browser. To see it in your own copy of Chrome, just type “about:stats” in the location bar.

Google Chrome secret stats page

Mac’s are intuitive, right?

July 18th, 2008 2 comments

I’ve been trying to help a friend work on her website, and got this message. Once you get labeled as a computer geek, you get these questions all the time.

On Fri, Jul 18, 2008 at 10:11 AM, xxx xxxxxxx wrote:

Mike,

BIG QUESTION??? PC or MAC? I have a new apple computer that I hate. It is supposed to be for the [business --ed], but no one knows how to use it since all the staff has PC. do you have a preference, mac or pc?

I find the switch from PC to Mac to be one of the most frustrating things “regular” computer users do — because it often does not live up to false expectations. The novice to intermediate user hears how wonderfully easy and intuitive a Mac is, then buy one, and sit in front of their shiny new computer and go “huh? Now what?” There is this mystique that OSX is just so obvious to use, and everything is just where you expect it to be, but really, that’s a myth. You need training on it, just like any other equipment.

Once you get accustomed to one way of doing things, it is really hard to break out of it. I know I experience this all the time when I have to use a Mac — I just can’t find things where I expect them to be. When switching between OS’s I tend to have better luck finding things on Gnome / Ubuntu than on a Mac. Maybe that just indicates who the developers of Gnome were trying to target their product for.

Even something like the Ipod suffers from the same thing. I’ve heard time and time again how “intuitive” the Ipod is, but I have had to tell far too many people who have handled mine how to turn it on, turn it off, change the volume etc… I think people interchange intuitiveness for experience. Once you have learned how to use any ipod, it is reasonably intuitive to use. But I have watched people stare at that dumb little machine to try and figure out why it won’t turn off, even after they switch the hold button back and forth a hundred times. Even after having the thing for a long time I don’t successfully turn it off first time, every time. I think that borders on inexcusable.

In my opinion the design of the ipod (at least the “classic” — I’m trying to avoid the iPhone) actually gets in the way of a good user experience. Even something as simple as changing the volume shouldn’t require thought and explanation. Just try to change the volume on your 5g ipod while playing a game of solitaire on the train. Intuitive, indeed.

I wish there was an alternative that had as many accessories as the iPod. I would switch.

Categories: iPod Tags:

Solution: e text editor freezes on startup / launch

May 30th, 2008 No comments

I am a big ol fan of the text mate clone for windows known simply as “e

However, when I tried to start it up today, it would hang when opening the recently used documents. I love this feature where E simply opens all the document that were open when you last closed the app. Handy!

Bust since the progress bar is a modal dialog box when the program opend, you are in deep doo-doo if something happens that causes e to lock up when trying to open those documents upon starup.

Apparently this can happen if you happen to BSOD while e is open (even if e is not the culprit.

Here is how to fix it.

Go to c:\Documents and Settings\[your user name]\Application Data\e\

and delete e.db (if you are nervous about this, rename it to something like “e-CORRUPT.db”

Restart e.

E should start back up in it;s plain vanilla configuration.

Good luck!

Categories: Quick Tips, programming Tags:

Solution: My Blackberry is typing in Arabic

May 30th, 2008 15 comments

I recently touched something on my blackberry and from that point on, it would only type in Arabic characters. Very confusing.

Here is how to fix it.

First, it appears that the keyboard “shortcut” I touched to make this start happening was ALT+ENTER, the first and last keys on the the third row down from the top on the keyboard. Apparently, that default is on for the 8X00 model Blackberries.

Get back to English characters.
To get back to the English characters, go to Options (the ‘wrench’ icon) then Language, then select “English (United States)” — or whatever is appropriate for you.

To turn off the shortcut:
Next, go to the bottom of that screen and change “Use Input Language Shortcut” to “No”.

You should be back in business.

Hope this helps!

Categories: blackberry Tags:

Editing PHP.ini in XAMPP

May 21st, 2008 5 comments

I do a fair amount of development work on my laptop using XAMPP. I must admint that I have not read the documentation as thoroughly as I should, so I was very pleased when I found Chris Meller’s post on turning on CURL for XAMPP.

Simply remember that the only PHP.ini file that really matters is the one found in /apache/bin/php.ini.

After you edit the file, restart the Apache server, and you are on your way.

Categories: php, programming, xampp Tags: