Website & Software Development – Owasso, OK and Tulsa Area – Two Miles Solutions, LLC https://www.twomilessolutions.com Better People, Better Code, Going the Extra Mile Mon, 30 Jun 2014 21:01:43 +0000 en-US hourly 1 How to update WordPress and WordPress Plugins https://www.twomilessolutions.com/2011/06/16/how-to-update-wordpress-and-wordpress-plugins/ Fri, 17 Jun 2011 04:14:22 +0000 http://www.twomilessolutions.com/?p=418 No related posts. ]]> As promised, here is a video outlining how to update WordPress and WordPress plugins.

//www.youtube.com/watch?v=7BPYtI8IPjA

Share

]]>
MAJOR ANNOUNCEMENT https://www.twomilessolutions.com/2011/05/12/major-announcement/ https://www.twomilessolutions.com/2011/05/12/major-announcement/#comments Thu, 12 May 2011 21:39:16 +0000 http://www.twomilessolutions.com/?p=410 No related posts. ]]> On Monday, May 9th, 2011, I accepted a position on the Web Application Services Team of ConocoPhillips on Bartlesville, OK.

If you would like to read more about what went into the decision, please go to my personal blog at http://www.milestogofromhere.com.

Your first question is probably what does this mean for Two Miles Solutions, LLC…

Customers that have currently active projects will be contacted separately and will be handled appropriately.

Two Miles Solutions, LLC will no longer be a custom development shop. The Two Miles Solutions, LLC website will become an online store for products we have already developed or will develop in the future, but we will no longer be building custom websites or software for companies.

We are still researching companies that will be able to properly service our clients but have yet to find someone who does exactly what we do. Companies in the Madison area that do things similar to what we do are:

– Astuteo web design: http://astuteo.com/

– EXP Design: http://www.expdesign.net

– Homepage Construction Company: http://www.homepageconstructionco.com/

As new resources become available I will make them known. Please check the http://www.twomilessolutions.com website for more details as time progresses.

For customers who have WordPress based websites, you will definitely want to check the Two Miles Solutions, LLC website as I will be publishing video tutorials to the website that walk you through aspects of maintaining your website that Two Miles Solutions, LLC traditionally handled. I will also be notifying you of configuration changes that I will be making so that you will be more in control of what goes on with your accounts. As a final measure, I will be writing up documentation for each of my customers that outlines what their solutions entail so that if you need changes in the future you will have all the information that they you need.

Share

]]>
https://www.twomilessolutions.com/2011/05/12/major-announcement/feed/ 1
Book Review: The Go-Giver – Bob Burg & John David Mann https://www.twomilessolutions.com/2010/07/31/book-review-the-go-giver-bob-burg-john-david-mann/ https://www.twomilessolutions.com/2010/07/31/book-review-the-go-giver-bob-burg-john-david-mann/#comments Sun, 01 Aug 2010 05:22:43 +0000 http://www.twomilessolutions.com/2010/07/31/book-review-the-go-giver-bob-burg-john-david-mann/ Related posts:
  1. Book Review: The 4-Hour Workweek by Timothy Ferriss
]]>
0907gogiverI received this book from a networking contact of mine who wanted to help me make the best run at my business possible.  It sat on the shelf for quite a while until just recently when I was looking through my book collection looking for a book to read.  I’m really glad that I picked it up.  The Go-Giver is written in the style of such great books as Raving Fans and The Wealthy Barber.  It starts of with the reader meeting the main character, in this case Joe, who is told that he needs to meet with a certain guru to get where he wants to go.  The guru teaches him the 5 principles of stratospheric success and Joe’s life and business are transformed.  While not a new method of teaching I loved this book and learned a lot from it.  The 5 principles are easy to grasp and sink your teeth into, but you don’t feel like you are sitting in a lecture hall.  Ever since reading HTML Goodies in college (the book that taught me how to write my first website…look at me now!) I have always loved books that sought to teach me something that did so through story or conversation.  If I am learning something, I want it to be engaging, I already went to school, I am learning now because I want to, please make it an enjoyable experience.  The Go-Giver delivers, and not only in the business realm, these principles can be applied to all areas of life.  I loved this read and would recommend it to anyone who wants to take their business or their life to the next level. 

Overall I give The Go-Giver 4.5 out of 5.0, you should definitely check it out.

Share

]]>
https://www.twomilessolutions.com/2010/07/31/book-review-the-go-giver-bob-burg-john-david-mann/feed/ 3
4/23/2010 – Follow Friday https://www.twomilessolutions.com/2010/04/23/4232010-follow-friday/ Fri, 23 Apr 2010 15:36:46 +0000 http://www.twomilessolutions.com/2010/04/23/4232010-follow-friday/ Related posts:
  1. Social Media Profiles: To link or not to link, that is the question…
]]>
follow_friday If you are on Twitter, you are probably familiar with the concept of FollowFriday or #FF.  The idea behind FollowFriday is that you share people in your network that you think that others who are followers of yours should be following.  I don’t think this should be limited to just Twitter, that is why I have decided to start featuring 2 people on my personal and business blogs that I feel you should be following.  So without further ado, two people you should be following are:

Enjoy getting to know these guys, let me know of anyone you think I should be following.

Share

]]>
.NET Style Properties (Getters/Setters) in PHP https://www.twomilessolutions.com/2010/02/22/net-style-properties-getterssetters-in-php/ https://www.twomilessolutions.com/2010/02/22/net-style-properties-getterssetters-in-php/#comments Mon, 22 Feb 2010 14:00:00 +0000 http://www.twomilessolutions.com/2010/02/22/net-style-properties-getterssetters-in-php/ Related posts:
  1. PHP Coding: chmod() my new best friend
]]>
DSC01202 On any given day, I can be programming in one of many languages (C# .NET, PHP, JavaScript, CSS, & HTML [I know I may be pushing it calling CSS & HTML languages], and soon Visual Basic .NET because of a collaborative project).  Don’t get me wrong, I love that part of my job.  It keeps me sharp.  Sure there is the occasional mishap where I forget that the . is the member accessor in the .NET languages, but it is the concatenation operator in PHP and I will throw the occasional $ into my C# code…

Another thing to know is that I am an object oriented programmer to the core…I am currently cleaning up after another developer who was not an object oriented guy…grr…there is data access code everywhere and he didn’t know the definition of object…finally I just took the functionality down because it was so bug ridden that whenever I would fix one bug, it would expose another.  One thing that has constantly bugged me since I started coding in PHP that I didn’t like its method of using __get and __set for getters and setters (mainly because I still use a modified version of Hungarian notation, but that is a discussion for another blog post, so I didn’t like what the getters and setters would look like).

Then, tonight, as I was coding, I had an epiphany, I could use PHP’s optional operator syntax for a function to get something close to what I would want.  So, where I would have coded this before:

   1:  <?php
   2:   
   3:  class Test {
   4:   
   5:  private $m_intId;
   6:   
   7:  public function setId($value) {
   8:   
   9:  $this->m_intId = $value;
  10:   
  11:  }
  12:   
  13:  public function getId() {
  14:   
  15:  return $this->m_intId();
  16:   
  17:  }
  18:   
  19:  }
  20:   
  21:  ?>

where I would do the following to access it $objTest->setId(1); or $intId = $objTest->getId(); (I would have to explicitly call the getter or setter)

Tonight I realized, I could code it this way:

   1:  <?php
   2:   
   3:  class Test {
   4:   
   5:  private $m_intId;
   6:   
   7:  public function Id($value = 0) {
   8:   
   9:  if($value != 0) {
  10:   
  11:  $this->m_intId = $value;
  12:   
  13:  } else {
  14:   
  15:  return $this->m_intId;
  16:   
  17:  }
  18:   
  19:  }
  20:   
  21:  ?>

Now, I can access the id by doing the following: $objTest->Id(5); or $intId = $objTest->Id();

What are your thoughts developers?

Share

]]>
https://www.twomilessolutions.com/2010/02/22/net-style-properties-getterssetters-in-php/feed/ 4
Beginner’s Guide to Facebook Fan Pages https://www.twomilessolutions.com/2010/01/12/beginners-guide-to-facebook-fan-pages/ Tue, 12 Jan 2010 23:16:28 +0000 http://www.twomilessolutions.com/2010/01/12/beginners-guide-to-facebook-fan-pages/ Related posts:
  1. Social Media Profiles: To link or not to link, that is the question…
]]>
So you are a celebrity, band, or business owner and you want to create a Page for your business.  What a lot of people don’t know is that it is against the Facebook terms of service to promote your band or business with a Facebook personal profile.  So now what?  That’s where Facebook Pages come in.  This tutorial will walk you through creating your own Fan Page.

You can create a page in one of two places:

Facebook.com

http://www.facebook.com

or

002_facebook_com_pages

http://www.facebook.com/pages

After you fill out the basic information for your page you may be directed to the Ads and Pages application, if not, you can access it by clicking the button shown in the picture below.

003_facebook_com_pages_home

After you are directed to the Ads & Pages application, click the pages link to access your page.

004_facebook_com_pages_business_dashboard

After clicking pages you will see a list of pages that you are an administrator for.  You have a couple options, if you click your page name (#1) you will be directed to what users will see when they see your page.

005_facebook_com_pages_pages_manage

If you click Edit Page (#2) you will be taken to the admin screen (expanded view below).

006_facebook_com_pages_pages_edit

Edit the settings to your liking as well as add users who you want to be able to administer the page.  When you are done, click the view page link at the top of the screen.  You will be taken to a page like this.

007_facebook_com_twomilessolutions

Make sure you write something about your company in the box on the left, then click the info tab to edit your information.

008_facebook_com_pages_Inner-View-Consult

Once on the Info tab click the Edit Information link and you will see a screen like this.

009_facebook_com_pages_Inner-View-Consult_279613585020#_pages_Inner-View-Consult

After you edit the basic information, click on the Detailed Information header and you will see a section like this.

010

Once you are ready, publish the page by clicking the link at the top of the page.

011

Now tell your friends about your page and let them become fans.  After you have 25 fans, go to http://www.facebook.com/username and you can set a vanity URL for your page.

004.5

Please let me know if this tutorial has helped you out or if you have any questions.

Share

]]>
Seven Questions about the last year https://www.twomilessolutions.com/2009/12/31/seven-questions-about-the-last-year/ Thu, 31 Dec 2009 21:57:07 +0000 http://www.twomilessolutions.com/?p=298 No related posts. ]]> On December 29th, 2009 Michael Hyatt posted a very thought provoking article on processing what the last year has contained.  You can read it here.  The gist is that there are 7 questions you should ask yourself about the last year.  This post is my attempt to process these questions for myself from a business perspective.   I will be doing resolution/goal setting posts next week, but here is a look back.

  1. If the last year were a movie of your life, what would the genre be?
    I would have to say suspense.  Two Miles Solutions, LLC will be celebrating its 3rd birthday in March of 2010 so we are still on that upward curve where you don’t know sometimes where that next paycheck is coming from.  This is especially true given what the economic climate in our country was this year.  All that being said, Two Miles Solutions, LLC is ending the year on a great foot and things look very good for 2010.
  2. What were the two or three major themes that kept recurring?
    – Gaining a deeper understanding…this was a year where I grew a lot as an individual, from a business owner perspective, I have learned quite a lot about the politics that you have to play as a business owner sometimes and as much as you try and stay out of the BS, it finds you.  I have learned how to use a lot of cool tools this year and have developed quite the toolbox for myself to help other customers.
    –  Survival of the Fittest…as most of you know this was a tough year economically for a lot of people because of the recession, many businesses shut down, but Two Miles Solutions, LLC is still alive and kicking and looking forward to what 2010 will contain.
  3. What did you accomplish this past year that you are the most proud of?
    I think the first thing I have to say is that I survived.  A lot of business owners I know had to close shop this year.  I am proud to say that Two Miles Solutions, LLC is right on the verge of some really cool things that look to be shaping up for the 2010 calendar year.
  4. What do you feel you should have been acknowledged for but weren’t?
    This one is a personal question that I don’t feel I should post for the world to see.
  5. What disappointments or regrets did you experience this last year?
    There are a few projects that I worked on this year that should have gained traction but for one reason or another didn’t.  All four projects hold the promise of residual income that will allow me to spend less time working and more time with my family, but for reasons I can’t elaborate to the entire world (most if not all of them completely out of my control) none of them turned out the way we expected.  Things are looking better for 2010 on all four projects, but we will see.
  6. What was missing from last year as you look back?
    Sleep.  Most people who know me know that I don’t get a whole lot of sleep.  I hope to change this in 2010 and going forward.
  7. What were major life-lessons you learned this past year?
    When with your family, you need to disconnect from the office.  This is a huge thing for me given that I work from home.  What this means for me is that sometimes I leave my cell phone in my office so that I am not checking my email at the dinner table.
    – Sometimes you just need a break.  As much as I would like to think that I am superman, I am not, sometimes I just need to stop and relax.

Hopefully, you found this post insightful, I would recommend doing the same as you get ready to start the new year and set goals for the upcoming year.  You can’t figure out where you are going if you don’t know where you have been.

Share

]]>
Social Media Profiles: To link or not to link, that is the question… https://www.twomilessolutions.com/2009/12/08/social-media-profiles-to-link-or-not-to-link-that-is-the-question/ https://www.twomilessolutions.com/2009/12/08/social-media-profiles-to-link-or-not-to-link-that-is-the-question/#comments Tue, 08 Dec 2009 09:05:16 +0000 http://www.twomilessolutions.com/?p=292 No related posts. ]]> Twitter, Facebook, LinkedIn, FriendFeed, Digg, StumbleUpon, Flickr, Google Profiles, MySpace, the list goes on and on…  If you have no idea what I am talking about, read no further, but if you have profiles or pages on at least 2 of these sites, please continue to read.

Are you still with me?  Good.  I’m glad you came.

As a part of my job, I set clients up with blogs and social media profiles to help them get their name out into cyberspace in a way that their customers can find them.  A lot of times, I am dealing with someone who does not sit in front of a computer all day so in order to help them better manage their online presence, I recommend them linking their Social Media profiles.  For a typical business, I recommend they have a Facebook Fan Page for their business as well as at least a Twitter account, and most of the time, depending on who they are trying to reach, an account on LinkedIn.  All three of these websites offer some degree of interconnectivity, see graphic below…

social media mess

Not only that but as you can see from the graphic, there are services like Ping.fm and hootsuite.com that allow you to aggregate your profiles (the list of applications here is endless) and there you are standing off to the side trying to coordinate this mess.

What is the typical person to do?

First off, what are all these things?  (Starting from the top left)

  1. Twitter – this is what is called a microblogging service.  It gives you 140 characters to broadcast your life to people who have decided to “follow” you…
  2. Facebook Profile – this is a social networking site where you can connect with friends.  I have over 700 friends on Facebook, but here is the kicker, I either know every single one of the people or have done business with them at some point.  Facebook DOES NOT allow you to have a profile for business entities…that is where the next item comes into play.
  3. Facebook Fan Page – this is Facebook’s answer to the business world.  Using a fan page you create a Facebook presence for your business.  This is the officially accepted way of doing the Facebook thing for your business.  With this page, you do not have to be friends with all of your business contacts, but they can become fans of your organization and can receive your updates.
  4. Me – substitute your picture if you would like, but the center of your social media universe, if all is in check, is yourself.
  5. LinkedIn – this is a business network social media site.  In the Madison, WI area LinkedIn is pretty active.  I have both business contacts and personal contacts on this site mainly because some of the people I went to college with who are now in the business world are on LinkedIn.
  6. Aggregate services like Ping.fm & HootSuite – these services try to bring some semblance of order to your social media world.

Now that I have given a brief explanation of what these services are, I will now address the main focus of my blog post…should you link your accounts?  Built into each of these services is the inherent ability to link to other accounts…for instance your Facebook Fan Page can be linked up with your Twitter account so that if you publish a status update it will automagically be published to Twitter, the same thing is true for your LinkedIn profile…throw a couple blogs into the list with plugins that update your statuses who knows where a status update could end up.

If you are just getting into the social media scene then I would recommend just linking your few accounts and going for it.  For more advanced users, or those who are like me and have profiles that are a mix of business and personal (I know, shame on me…), I recommend using a service like Ping.fm or hootsuite.com.  Personally, I use hootsuite.com.  They do not have support yet for Facebook Fan Pages, but I am online enough that I can update that status manually.  Here is how my accounts are set up.

  • Facebook profile: This is a primarily personal account, but since I am a business owner and friends of mine are business people, I have a lot of connections.
  • Facebook Fan Page: This is strictly business, no personal information is posted to this account.
  • Twitter: what is this account not…personal, business, ministry, you name it, it’s on there for me.
  • LinkedIn: again another amalgam between personal and business due to the nature of the friends and colleagues of mine who are on these mediums.

Throw on top of this that I currently run 2 blogs (a business and personal blog) and will soon be running 2 more (ministry related) my ducks must be in a row.  That is why I recommend NOT linking your accounts unless you absolutely have to or are not online very often (I disabled the Facebook Fan Page link to my Twitter account, but I keep LinkedIn linked to Twitter because it gives you the choice on whether or not you want to publish).  This will keep you from inadvertently posting a status update to the wrong site.  Instead I use hootsuite because it gives me this cool little area:

three_amigos_of_social_media

What this allows me to do is be selective of my account updates because I can choose which networks I want my update to go to.

Hopefully you found this post to be informative, please discuss in the comments.

Share

]]>
https://www.twomilessolutions.com/2009/12/08/social-media-profiles-to-link-or-not-to-link-that-is-the-question/feed/ 2
.NET: One line could save your 64-bit bacon! https://www.twomilessolutions.com/2009/11/05/net-one-line-could-save-your-64-bit-bacon/ Fri, 06 Nov 2009 05:44:13 +0000 http://www.twomilessolutions.com/?p=286 No related posts. ]]> I have a customer that recently had to purchase a new computer due to her previous computer finally biting the dust.  Knowing what programs she was running on her computer, I advised her that she should purchase a 32-bit version of Vista (then upgrade to the 32-bit version of Windows 7 when it came out).

She bought a 32-bit machine that was running Vista and everything seemed fine except the OS was corrupt.  So she took the computer back in to have it replaced and they gave her a shiny new Windows 7 machine (she was only days away from the release of Windows 7) .  She asked them to give her the same computer, but they gave her a 64-bit version of Windows 7 so when she went to install her programs she ran into a ton of problems because the programs were not written for the 64-bit versions of the operating system (a lot of legacy applications are not written for 64-bit operating systems, this isn’t Microsoft’s fault, this is a fault of the application programmers).

I have a small application that I wrote that for ease of use and not having to install any other programs, I chose to use Microsoft Access as the database for the application (say what you will, it was a side project that turned into something I could sell), but there is no 64-bit JET driver for reading Access databases so for 64-bit operating systems, I was hosed, until I found out that one line could change everything.

In the csproj file of your C# .NET application, in the first property group, add this line:

<PlatformTarget>x86</PlatformTarget>

So your property group should look something like this:

<PropertyGroup>
<PlatformTarget>x86</PlatformTarget>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A16625F1-A4BA-46FA-BD05-737257A18EBD}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>UPurMEMORY</RootNamespace>
<AssemblyName>UPurMEMORY</AssemblyName>
<ApplicationIcon>UPurMEMORY.48.ico</ApplicationIcon>
<FileUpgradeFlags></FileUpgradeFlags>
<UpgradeBackupLocation></UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>

That one little line saved my bacon and allows me to sell that piece of software for $10 to anyone who runs a 64-bit operating system.  I’m not saying this will solve all of your problems, but it helped me.

Related Links:

UPurMEMORY – memorization utility ($10.00 USD)
Windows 7 Home Premium (upgrade)
Windows 7 Professional (upgrade)
Windows 7 Ultimate (upgrade)

Related Posts:

What’s the big deal about Windows 7?

Share

]]>
PHP Coding: chmod() my new best friend https://www.twomilessolutions.com/2009/11/05/php-coding-chmod-my-new-best-friend/ Thu, 05 Nov 2009 09:18:13 +0000 http://www.twomilessolutions.com/?p=283 No related posts. ]]> phpFor all of you coders out there, I just found a new best friend, its name is chmod().  For those of you familiar with Unix/Linux this command will look familiar.

Background: I was implementing an online store for a customer who already had an existing website, but wanted to be able to sell her goods online (I’m trying to keep things vague on purpose when describing the website).  I built her a custom content management system for her online store that allowed her to upload pictures of her goods and input pricing data.  My code would take the image she uploaded, save it, then copy it and resize the copy to make a thumbnail image.  For whatever reason though, her web host was locking down permissions on the first file.  This became problematic because it doesn’t do any good to have a file that you can’t read…

Solution: After using the move_uploaded_file() command I used the chmod() command to reset the file permissions.

Here is the format of the chmod() function: chmod($filename$mode );

I also ran into a gotcha that I didn’t expect…when specifying the mode, do not specify it as a string, (ie. “755”), instead you specify it as a number (ie. 755), even further though, you have to throw in a leading zero (ie. 0755).

Hopefully, you found this post helpful, happy coding.

Share

]]>