I’m forever trying to remember command line commands for Linux or Mac OS X. I picked up this list a while ago and keep around in a text file but decided to post it here so I can get to it whenever I don’t have my laptop with me. Some of the commands are bash built-in commands but most will work on either OS. Feel free to add to the list.

A
alias – Create an alias
alloc – List used and free memory
apropos – Search the whatis database for strings
awk – Find and Replace text within file(s)

B
basename – Convert a full pathname to just a filename
bash – Bourne-Again SHell
bg – Send to background
bind – Display readline key and function bindings
bless – Set volume bootability and startup disk options.
break – Exit from a For, While, Until or Select loop
builtin – Execute a shell builtin
bzip – Compress or decompress files
[click to continue…]

Black Friday 2011

by James on November 21, 2011


Just a short post to see who’s making their Black Friday plans? I’ve been told to expect being drug out of the house “very early” Friday morning or “very late” Thursday night depending on your perspective of such things. I’ll be taking the the video camera to record some of the ensuing madness. I can only hope the payoff will be blood and gore as people revert to their basic animal instincts and trample one another… stay tuned….

Schedule Random Post Time

by James on August 28, 2011


I’ll admit, I’m about as lazy a blogger as they come and when it comes to scheduling posts to be published in the future I really despise having to decide on what day and at what time the post should appear. After hacking a few other scripts to do something very similar I ran across a plugin called Date/Time Now Button created by someone named radiok. After checking it out I found it was pretty close to what I wanted but didn’t perform a random set. Since radiok already had the javascript worked out I just “adapted” that code to work the way I wanted it to.

Schedule Random Post Time adds a button to the post, page and comments that allows you to generate a random publish date. This plugin is useful for us lazy people that would rather not take the time trying to decide what date and time in the future to schedule a post for. Simply click the button and let it decide for you. It’s pretty simple really. Simply set the maximum number of hours into the future you want posts scheduled for in the settings, then just click the button and a random date between current time and your future time will be generated for you. Easy Peasy.

Installation is simple:

  1. Download the plugin from WordPress.org.
  2. Copy it to the wp-content/plugins directory of your blog.
  3. Enable the plugin in your admin panel.
  4. Set the maximum number of hours into the future you want posts scheduled for.
  5. An option for Schedule Random Post Time will appear under Settings.
  6. Enter the verification code for each service you wish to use

Support
If you like this plugin and want to support me, leave a comment or check out my donations and support page!

Webmaster Tools Verification

by James on August 26, 2011

All three of the major search engines offer some kind of website service. The most popular being Google Webmaster Tools. Yahoo offers Site Explorer and Bing has Webmaster Center. All three require that you verify your site and offer various methods to do so. This plugin uses the meta option and inserts a meta tag in your sites section of your site.

If you’ve used WordPress.com then this will look familiar since it’s based on that tool.

Installation is simple:

  1. Download the plugin from WordPress.org.
  2. Copy it to the wp-content/plugins directory of your blog.
  3. Enable the plugin in your admin panel.
  4. An option for Webmaster Tools Verification will appear under Settings.
  5. Enter the verification code for each service you wish to use

FAQ

  • Where do I get the verification code?
    Go to either Google Webmaster Tools, Yahoo Site Explorer, or Bing Webmaster Center, find the option to add/verify a new site then select the meta option. You be provided with a piece of code and instructions to add it to your site.
  • What do I do with the code once I have it?
    All you need is the actual content= code, the plugin will automatically format the meta tag when it inserts it.
    Ex.: Google will give you a piece of code like this: <meta name='google-site-verification' content='dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8'>
    You want to copy the code: dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8 and paste it in the input box for Google.
  • I’m using WPMU but I don’t want the plugin automatically activated for each site. Can I just put it in the wp-content/plugins directory so each blog owner can choose whether or not they want it activated?
    WPMU is no longer supported but the plugin should work fine with WordPress in network mode.

Support
If you like this plugin and want to support me, leave a comment or check out my donations and support page!

Choosing A Commerical PHP Framework

by James on July 11, 2011


One of the primary tasks my new J.O.B. requires is determining the development direction for a new SaaS product. On the surface it’s a relatively simple concept, capture client information send it off to a vendor via EDI formatted message and receive a result via the same. Process that result and do it again. On paper, it sounds simple. Why then has it been made to be so blasted complicated that several developers have worked on it and gotten nowhere?

Now that this puppy is mine to deal with I’m look at starting over from scratch. One thing I detest is picking up where someone else left off. Since we are primarily a PHP shop for our web development I’m comfortable staying in that arena, but like anything else, I don’t want to waste a bunch of time having to create what ultimately amounts to a framework to manage all the tedious things every app has to deal with (user management, security, session management, templating).

So I’ve spent a good deal of time looking at the various PHP frameworks out there but I’ve decided that only two are really worth the effort. Zend or Code Igniter. Zend is the obvious choice, because it’s less a framework than it is a collection of libraries. The major downside to Zend is obviously the learning curve and while CI that’s still an issue with CI, from what I can tell the curve isn’t quite as long as it is with Zend.

That said, Zend is most likely overkill for what I’m looking to build at the moment, but I also foresee a near term future that includes rebuilding some current fat client applications to be more web based thus requiring the need of multiple PHP programmers, as well as, I’m sure some requirement that the app I’m currently working on be able to integrate to some degree with that future.

The whole thought process here is the fact that I really am not a fan of any of the frameworks. However I also despise continually creating functions that do the same things over and over again. I also do not want to have to worry with maintaining a core framework myself. I’d much rather be able to just drop-in a module to update some functionality and not worry about having to build it myself. Plus, I like the idea of having a coding standard enforced on all developers, something else I despised from past endeavors. There’s also some concern over licensing, etc., with Zend there’s a high confidence that we’ll not run into any future legal issues, some of the other frameworks don’t give me that same warm and fuzzy.

So there’s my dilemma. Any thoughts on one vs the other? Rolling your own?

The Growth of Mobile Marketing

by James on April 21, 2011

We keep saying that Mobile Marketing is HOT!!! But what are the numbers? Here’s an Infographic depicting how many people have Smartphones and what the demographics are. Would you be surprised to learn that the most active group in mobile socialization IS NOT teenagers? I was.

Join my iZigg team TODAY!!!

http://www.izigg.com/mobiletxt


Do you seriously want to become rich? Here’s the secret — and it’s got nothing to do with building an online social network, or even getting the government to bail out your bank. To paraphrase Mr. McGuire from The Graduate, I want to say one word to you. Just one word.

Mobile.
‘It is the fastest-growing giant industry of the economic history of mankind, and it’s barely begun.’

Like, duh, yeah, you knew that mobile phones were the next big thing, what, a dozen years ago? And in between playing Angry Birds and tweeting from the Apple Store, you didn’t need reminding that apps were going to make us all millionaires.

Except … there’s a far more fundamental business opportunity facing you right at this moment, and most people are unaware of the vast economic possibilities right in front of them. Quite simply, the mobile internet is undergoing such unprecedented growth today that anyone with a smart, relevant idea has a head start in building a profitable mobile business.

A few numbers will explain why mobile is today’s big growth opportunity. Remember how excited we got a decade ago about this new thing called the desktop internet, which AOL was persuading consumers to sign up to en masse using a blitz of CD-Roms? A little over three years after AOL

had launched its service, it had 9 million customers, which is pretty good going.

Yet in the same timescale after launch, Apple had sold 120 million of its mobile online devices (iPads, iPhones and iPod Touches).

As Morgan Stanley points out, that’s a growth curve for the mobile internet that’s around 12 times as steep as that for the desktop internet when rolled out — and we all remember how transformative that was. The speed of mobile-internet take-up, says Morgan Stanley, is a revolution “the likes of which we haven’t seen before”.

Here are a few other numbers.

The money won’t be in smartphone apps. It’s in reaching the billions who simply want to be connected, whether by SMS or old-fashioned services such as WAP.

In Kenya, where a 4-year-old business called M-Pesa lets you send and receive cash through your cellphone, it’s proved so popular — replacing the banks in ordinary citizens’ lives — that a quarter of the entire Kenyan GDP now passes through it. That’s behavior change on a massive scale.

A couple of months ago, Twitter co-founder Jack Dorsey launched a new business called Square that allows anyone with a smartphone to send and receive credit-card payments by plugging a small plastic card-reader into their phone. Already he’s forecasting $1.1 billion in transactions by June.

Then, there is the amazingly fast-growing industry in virtual goods traded on mobile devices in games such as Farmville and Pet Society. Last year, we spent $1.6 billion on virtual goods in iPhone apps alone — four times as much as was spent on advertising in App Store apps.

Mad numbers, right? So what does all this mean for you? This, says Finnish mobile-industry consultant Tomi Ahonen, is just the start — because mobile is going to get much, much bigger. “It is the fastest-growing giant industry of the economic history of mankind,” Ahonen says, “and it’s barely begun.” Because, though it’s worth $1.1 trillion now — 10 times as big as radio — over the next two decades that value will rise to $5 trillion. And who wouldn’t want a piece?

Ahonen has just written an extraordinary 24,000-word blog post on where he sees the opportunities. The internet, he points out, did not change everything, as has often been claimed: Sure, it reaches 1.7 billion people, but that’s nothing on the 5 billion with a mobile.

Very few industries can serve us, and make money out of us, from early childhood to old age, he says — and even reach us in our sleep, thanks to our habit of keeping our phone close to the pillow with the ringer on. So this magical technology will inevitably transform “retail, banking, insurance, travel, entertainment, education, health, government, farming, fishing, forestry — everything!”

Where do you start, then? According to Ahonen, the money won’t be in smartphone apps. iPhones reach just 2 percent of the planet — and apps generate tiny revenue compared with more traditional text-messaging and multimedia-messaging services. Last year, we sent something like 6,100,000,000,000 text messages — that’s 200,000 every second. With 4.2 billion active SMS users, think of a service that can persuade just a million or two of them to pay you a few pennies. You can deliver everything from horoscopes to airline tickets to cash with SMS. Old-school, but proven.

Nor is the money in location-based niche services such as Foursquare, Ahonen says, or in glitzy browser-based video. It’s in reaching the billions who simply want to be connected, whether by SMS or old-fashioned services such as WAP. And they’ll spend if you offer them a service.

After all, the world’s richest man is no longer Bill Gates. It’s Carlos Slim — who, remember, made his fortune in the mobile industry. And he won’t be the last.

Join my iZigg team TODAY!!!

http://www.izigg.com/mobiletxt

Make Money Texting with iZigg Mobile

by James on March 27, 2011

We are a nation and a world of texters, with no end in sight, but how do you capitalize on the Mobile Revolution?

Through the use of mobile marketing, a business now has the opportunity to connect with their prospective and existing customer base through the one device that is connected to over 95% of US consumers, the mobile phone.

Through SMS messaging a business can start a conversation and stay connected in real time. The iZigg 90210 Mobile Media Platform can be effectively utilized by individuals, businesses, and organizations alike.

The FACTS:

* U.S. mobile advertising rose from $421 million in 2006 to $2.8 billion in 2007. (Source: emarketer)

* On a whole, mobile advertising is estimated to grow at an annual average of 45% to reach $28.8 billion within the next 5 years.

* Over the next 5 years, 52% of major brands are projected to spend 5% to 25% of entire ad budget on mobile marketing. (Source: Visiongain – Mobile Advertising And Marketing 2006 – 2011)

* There are twice as many active SMS users as active users of email.

* 70% of Direct Marketing Association survey takers reacted to SMS messages sent from suppliers, compared to only a 30% success rate for email.

* Acquisition in this space has been extremely active over the past 6 months; Quattro Wireless (Acquired by Apple for $275M), AdMob (Acquired by Google for $750M).

STRENGTHS OF iZigg’s UNIQUE APPROACH:

Why iZigg and why now? iZigg is perfectly positioned to be at the forefront of one of the largest and most profitable communication transitions in history. The adoption rate of mobile phones is maturing, and the concept of using social media and mobile to connect real time with customers and group members is becoming mainstream. This is the point in time where the leaders in an industry emerge from a growing number of competitors in a crowded marketplace. iZigg will be the leader in the mobile marketing revolution based on the following core strengths:

#1: Access to the most recognized short code in the world = BRAND POWER

The core element to mobile messaging is obtaining a short-code that is distinct, reputable, and easy to remember. iZigg has obtained one of the most recognized 5 digit codes in the global marketplace: 90210.

iZigg was able obtain Text 90210 from Eytan Elbaz one of the founders of Applied Semantics, which was later acquired by Google and ultimately became the foundation the AdSense platform. Through this acquisition, iZigg now has built in brand equity unmatched in the mobile media space. With 90210 they are creating a marketplace for countless keywords (similar to domain URL’s on the Internet) that allows individuals, businesses and groups to easily connect with their base. Imagine airing a television ad that asks an audience to text FORD to 90210 or a sign in a window of a restaurant that says Text Pizza Hut to 90210. As more and more businesses look to separate themselves from the pack, they can do so by having their own their business name at 90210.

#2: Harnessing the power of PEOPLE

iZigg brings unparalleled distinction to the industry through person-to-person marketing allowing any individual, regardless of time restraints, experience, or education level, the ability to offer our entire platform of mobile solutions. This sales strategy negates the cold market sales approach by utilizing warm market relationships for aggressive and effective market penetration. Success in the mobile landscape will come to those who can utilize personal relationships to truly aggregate the eyes.

iZigg provides lucrative compensation to individuals opting to become agents of the 90210 brand and assist in our national, and soon international, expansion path.

What is mobile media?

It’s no secret today that we use our mobile phones for just about everything. People carry their mobile phones with them everywhere. Whether you’re a business professional or business owner, if you’re not communicating via mobile, you are not communicating effectively with today’s consumers. The mobile revolution is upon us. iZigg is building the largest world-wide mobile media community where businesses and people can now stay connected through the world’s most recognizable Mobile Media shortcode, 90210.

So how does it all work? It’s really easy. There are three simple steps to putting iZigg 90210 to work for you: 1) Personalize. 2) Promote. 3) Play.

Step 1: Personalize – Simply choose your personal name, business name, or desired keyword at 90210.

Step 2: Promote – Share it with the world. Tell everyone. Put it in your store. Display it on your website.

Step 3: Play – It’s game time. Create your message or special offer, select your group, and hit send.

Even better, if you’re on the run, pick up your mobile phone and type one text message like you’re sending it to a friend but instantly send it to your entire group. Whether it’s a group of 100, 5,000 or more!

Mobile media is also about receiving the information you are looking for on the go. With iZigg’s first of it’s kind, exclusive 90210 channels, you can receive the information that you want, when you want it, right at your fingertips on your mobile phone. Whether you want fun, factual, or informative, there is a 90210 channel for you. For example, text CELEB to 90210 for the latest in celebrity news. Text DIET to 90210 for healthy tips, or GREEN to 90210 for tips on saving the environment. 90210 channels give you the information you want, on the go.

With iZigg 90210, it’s just that easy. We put YOU in control of the Mobile Revolution.

Who is the the most important person to promote and brand in today’s economy? YOU! Personal branding on Facebook. Personal branding on Twitter. Personal branding on countless social networks.

But how do you personally brand and make your mark in the mobile revolution? By securing your name on the world’s most famous mobile media short-code: 90210

Now, no matter where you go, and no matter who you see, simply tell people to text your name to 90210, and they instantly receive your complete contact details, and they are also connected into your social network channels immediately.

Professionally branding your business is also simple and effective. Choose multiple keywords associated with your business and instantly launch the most powerful mobile media branding campaign for your company. No coupons to print or distribute. Communicate in real time with consumers on the go.

Take your personal or business branding to a whole new level with 90210.

Why iZigg? With iZigg 90210, it’s all about YOU!

They’re Looking For Me!

by James on March 16, 2011


I’ve seen this one around the net many times but it’s funny every time I read it. Parent’s this is why you get gray hair.

The boss of a big company needed to call one of his employees about an urgent problem with one of the main computers. He dialed the employee’s home phone number and was greeted with a child’s whispered, “Hello?”

Feeling put out at the inconvenience of having to talk to a youngster the boss asked, “Is your Daddy home?”

“Yes”, whispered the small voice.

“May I talk with him?” the man asked.

To the surprise of the boss, the small voice whispered, “No.”

Wanting to talk with an adult, the boss asked, “Is your Mommy there?”

“Yes”, came the answer. “May I talk with her?”

Again the small voice whispered, “No”.

Knowing that it was not likely that a young child would be left home alone, the boss decided he would just leave a message with the person who should be there watching over the child. “Is there anyone there besides you?”, the boss asked the child.

“Yes” whispered the child, “A policeman.”

Wondering what a cop would be doing at his employee’s home, the boss asked, “May I speak with the policeman”?

“No, he’s busy”, whispered the child.

“Busy doing what?, asked the boss.

“Talking to Daddy and Mommy and the Fireman,” came the whispered answer.

Growing concerned and even worried as he heard what sounded like a helicopter through the ear piece on the phone the boss asked, “What is that noise?”

“A hello-copper”, answered the whispering voice.

“What is going on there?”, asked the boss, now alarmed.

In an awed whispering voice the child answered, “The search team just landed the hello-copper.”

Alarmed, concerned and more than just a little frustrated the boss asked, “Why are they there”?

Still whispering, the young voice replied along with a muffled giggle….

“They’re looking for me!”

The Discussion Flow Chart

by James on March 15, 2011


Thank you for requesting to have a discussion with me about this topic. Discussions are a dialog between people in which the participants are willing to alter their position if it makes sense to do so. Sometimes, people confuse “discussion” with “sermon” or “lecture”. These non-discussions are a waste of time since all parties are intractable in the their existing views.

So that our time is not wasted please use this guide to determine whether we can actually have a discussion about this topic.