Archive for the ‘HOWTOs’ Category

All posts in HOWTOs category.

Making the Most of Your Backups

Having a backup of your data is crucial. Being able to successfully restore your data is even more crucial.

For the last three weeks, I have been spending two hours a week on organizing/reorganizing all my data. One of my goals for 2012 is to be 100% sure I am backing up what I need and ONLY what I need. I have two backup drives here in my office that I use with Apple’s Time Machine. I also then backup remotely once a week to Amazon S3 using JungleDisk. I also have data on a remote server for all my web sites (including this one) that gets backed up on/off site. A few weeks ago I decided to centralize all my remote data on Amazon S3. All media/uploads/theme files/etc get served up from Amazon S3 which not only helps with my centralization of data – but it also speeds things up a bit too.

Now that I have everything flowing into one place – I realized I am backing up a lot of stuff. Stuff that does not need to be backed up and will only cause frustration and increased storage cost. So – when thinking (or re-thinking) about backups, make sure you also consider what you are backing up. I found I was backing up backup archives, photos I would never use/look at, etc that were completely a waste of space. By going through all of my content I was able to save significantly in space/cost in my backup solution.

So – if you have a backup plan – make sure you know how to restore from it (and actually test it). If you do not have a backup plan – take a few minutes to look into doing something ASAP. You will lose data at some time – that is a guarantee. You can either take a few minutes now and get something in place or you can spend hours/potentially thousands to restore “that data you really need”. Your choice. This has been your annual reminder.

The Delicate Balance of Parenting

Posted by: Jen | No Comments »

Categorized: Hints, HOWTOs, People, People and Places

I love my kids more than I ever thought possible. Once and awhile everything fits together nicely and you feel like you everything is in balance. Most days however there is a constant multi-dimensional game of tug of war going on with both parents over how to do x, y, and z with the kids.

For an example – let’s talk about a problem for most parents…listening. If the child is not listening, what do you do? Do you talk to them about the importance of listening, ask them to politely listen, give them multiple chances to listen (repeating their name over and over until they listen), give them positive reinforcement? Or do you raise your voice and/or give them a consequence if they do not listen?

While one parent generally believe in one way to accomplish getting the child to listen – they are usually not on the same page as the other parent. Not only do you have a strike a balance of consequences (bad/good) you also have to strike a balance between you and the other parent (assuming there is another parent). This is not only very delicate but also very exhausting. Finding this balance seems to be something that goes on just about everyday in my household – especially with three kids under the age of five and two adults who are both stubborn and non-pushovers.

We struggle to find a good balance on how to deal with certain situations (like listening) but at the end of the day – we try and find a common voice so we do not confuse the kids. I might not necessarily agree with the options put forth or the method of trying to correct the child’s behavior but I can always live with that. It is also understood if those options or methods do not work – we can try it another way at a later date. Overall – it is important to show the child you are in control and agree with the other parent at least on some level.

Real life example: this past weekend my oldest son was not behaving as we expected. We had been trying to give him positive feedback, had a sticker chart for him, and had clearly defined good behaviors which would result in a reward once the sticker chart was full. No voice raising, time outs, etc. Everything appeared to be going well until Saturday when Evan mis-behaved at soccer. I ended up taking a harder approach to curbing bad behavior by raising my voice (not in public), not giving him multiple chances, etc. While we – the parents – were not in total agreement on this, both of us realized the positive feedback was not the end all approach and was clearly not working and it was time to shift gears. We – as the parents – discussed ways of handling this and at the end of the weekend – although I was being more vocal and less patience of Evan – he stuck to me like glue and wanted to be with me, play with me, and wanted my input on more than usual. This was not expected and I think we feared it would be the opposite but it goes to show you kids respond differently to different parenting styles. Finding that balance is key.

Tagged:

How to Transfer Purchases in iTunes

Posted by: Jen | No Comments »

Categorized: Apple, Help and Ideas, HOWTOs

Ever need to transfer your purchases from your iPad or iPhone from one computer to another? After getting the alert multiple times I figured it was time to learn. To transfer your purchases – you need to control click on your device (after connecting it to the computer you want to transfer the items to) in the iTunes “Device” list and then select “Transfer Purchases…”

More information: http://support.apple.com/kb/ht1848

iTunes Screensaver in Mac OS X

Posted by: Jen | No Comments »

Categorized: Apple, HOWTOs

I generally use the Cosmos screensaver but I recently decided to check out some of the other options. I really thought the iTunes screensaver looked cool – as it shows all your cover art. I then accidentally hovered over one of the album covers and noticed I could actually click on it and switch the current iTunes song. Super cool and a nice touch Apple. I just wish I would have stumbled onto this earlier.

PS – how did I take a screenshot of a screensaver? I opened my System Preferences, clicked on “Desktop and Screensaver”, held down command and shift, clicked in “Test” under screensaver and hit the number 3 to take a full screenshot.

Clear Safari 5.1 Cache

Posted by: Jen | No Comments »

Categorized: HOWTOs

When working on projects – I generally need to refresh pages multiple times (to see CSS changes, etc). I generally work with my browser’s cache disabled (Develop Menu > Disable Caches in Safari) but I noticed that simply pressing the return button on a page/site in Safari 5.1 did not work. It was driving me absolutely crazy. I then decided to click on the reload button in the address bar (far rich side) (looks like a circular arrow). This actually reloaded the page properly. I am not really sure why simply pressing return (to reload the page) did not work – especially with the cache “disabled” – but by clicking on the reload icon works to display the page without any cache issues. I hope this helps someone else!

Tagged: , ,

HOWTO: Change Your QuickBooks Web Connect Account

Posted by: Jen | No Comments »

Categorized: Business, HOWTOs

Awhile back I changed banks (bank buyout/name change) and have been fighting with Quickbooks (2010) when I do my web connect imports. When I go yo “Online Banking” > Import within QuickBooks – I have the account I want to use open, but when the .qbo file opens, it goes to my old account (previous bank). This was driving me crazy and I finally decided it was time to fix this.

To disassociate an account/fix this issue:

  1. Select the Lists menu and then select Chart of Accounts.
  2. Select the account you wish to unlink from imported online transactions, and then select Edit from the Action pop-up menu.
  3. Click Online Settings.
  4. Click the Download Transactions drop-down arrow.
  5. Select Not enabled, and then click Save.
  6. In the Edit Account window, click OK.

You can then have Quickbooks use your new account name – especially helpful when switching banks, or if your bank name changes.

Once you have removed the association from the old account – to set up the new account to properly import the transactions – you just need to make sure the account window is correctly open (new bank name) before importing.

(Documentation taken from: http://support.quickbooks.intuit.com/support/Articles/HOW12320)

Tagged:

Find JS Code Issues and Errors With JSLint

Ever have a page not load properly in IE 7 but it loads fine – without error – with all other browsers? After you validate all your CSS/HTML and the error or funky behavior persists…and you have made sure your doctype is correct – what can you do? Validate your JS using JS Lint.

What is JSLint?

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool.

I just got done with some cross browser consulting (my favorite) – and one of the pages would not load properly in IE 7 due to a JS error which did not make sense to me. I loaded up the offending JS in JSLint and within a few minutes – I figured out what the issue was and how to solve it.

JSLint is invaluable if you do any work with JS – so keep the link handy! You will thank me – and JSLint.

HOWTO: Target Firefox for Specific CSS

Posted by: Jen | 2 Comments »

Categorized: CSS, HOWTOs, Web Development

Generally – the best way to handle CSS is to keep it simple, clean, and without any hacks. From now and again there are some times when I need to write CSS specific to IE (using conditional comments). I recently came across a site where I needed to target Firefox because of a width issue. This is the first time in my many years I ran into this – and tried a number of hopeful solutions but nothing worked. I then found that if I used: @-moz-document url-prefix(){} that that would work out and only Firefox would use the styles within that.

Example:

.font_example {font-size:1.1em;}
@-moz-document url-prefix() {
     .font_example {font-size:1.075em;}
}

Safari, Chrome, IE, etc will use the first .font_example code while Firefox will use the code within @-moz-document url-prefix(){}.

While this is not recommended for everyday usage – when and if you hit a wall, this could be something that will save a lot of time and headaches!

How NOT to Take/Make a Business Call

Posted by: Jen | No Comments »

Categorized: Business, HOWTOs, Serenity Now!

It is unbelievable how some people act on a conference call or even a business related call. From my experience here are some pointers on how NOT to impress your colleagues/clients/developers. (All based on actual things I have experienced)

  • Make a business call while in the drive-thru at McDonanlds…and then ask me to hold while you order your “Big Breakfast”. You called me – why couldn’t you wait until at least after ordering?
    What it tells me: You do not respect my time and this will not be the last inappropriate call. Anything is game.
  • Have multiple conversations while on a call. Setting up a call with me, then talk to your co-workers about unrelated topics in between actually taking to me – who you called is just not acceptable.
    What it tells me: You are over scheduled or have no idea how to stay focused. Reviewing the project with you is going to be a bear.
  • Answer another line, without asking me to hold so I can hear the drama with you and your spouse.
    What it tells me: You lack discretion and inappropriate comments are soon to follow.
  • Yell at your co-workers while on the phone. If this is how you treat someone that you work with day in and day out – perhaps I should stay clear from you and your business.
    What it tells me: You have respect issues and interactions with you are going to be rough.
  • Talk to your kids while on the phone. Telling them to “go watch TV” or anything else while Daddy is on the phone just does not cut it. If you work at home – make sure your family members have boundaries.
    What it tells me: You have no boundaries and are going to expect me to work all hours of the day (since you do as well).
  • Take a call with very loud background noise. I have been on conference calls with people who had to literally mute their line when they were not talking because of the background noise. If you cannot find somewhere quiet to take/make a call – perhaps you should just wait.
    What it tells me: You think your time is worth more than mine.
  • Make the call, but then answer all call-waiting incoming calls. I know there are exceptions and emergencies, but if we have a 30 minute call scheduled and you put me on hold more than three times, perhaps this is not great time to take the call.
    What it tells me: You have a lot of other higher priorities than what is being discussed.

Seriously – phone calls should be to the point and between the parties on both ends done with mutual respect. This is not rocket-science – it is just a matter of time and respect.

Working With WordPress Shortcodes in Template Files

Posted by: Jen | No Comments »

Categorized: HOWTOs

Ever need to include the functionality of a shortcode in a WordPress template file?

Awhile back I needed to create a template that auto changed some of the shortcode parameters depending on the URL it was accessed from. (Think single gallery page – that depending on the GET variables of the page – would show a specific and that gallery specific options. Instead of creating multiple gallery pages with the gallery shortcode hardcoded in – I decided to make one gallery page and then change the contents by simply modifying the URL using some GET variables which worked out great.

Example:
URL: http://www.example.com/gallery/?gallery-id=23

do_shortcode( '[jappler-gallery id=" '. intval( $_GET['gallery-id'] ).']' );

That code right there will then show the gallery with the ID 23 specified in the URL (?gallery-id=23).
This is just a quick way to utilize shortcodes inside the templates themselves while allowing you to make pages a bit more dynamic!

*Make sure to sanitize your GET variables.

Documentation on do_shortcode(): http://codex.wordpress.org/Function_Reference/do_shortcode