Start your Journey now

At this point in my life I am happy. I have a relationship with my heavenly Father through Jesus. I have a loving wife with who’m I’m excited to share the rest of my life with and together we are working towards common goals.

This blog post will serve as the official starting point of my Journey. I publish this in faith as I believe there will be others asking me about my journey and how I made and and i’d like to share my ups downs and what I have done but more specifically the mind set behind my success as a Software Engineer. Continue reading Start your Journey now

Your story matters, share it

We all have those times when really need inspiration. Most times we find it in the simplest places. It’s in books, blogs, talks even the little children, other times we draw inspiration from our industry leaders and people we look up to.

The leader you choose not to see

When speaking about great leaders our thoughts often go out to great names like Nelson Mandela, Winston Churchill and like, but you often fail to notice the leader staring back at you in the mirror. This leader , the one you fail to see, has a lot more to give than you can currently imagine.

Lead from where you are

Often we look for the position and the acceptance from other people before we will take charge and lead from our current position. We sometimes pass on each great opportunity because of fear.

Show us what you’ve got

Consider this for a moment. No matter how you see yourself, Someone looks up to you. So do them a favour. Tell your story. Share your journey with them. Talk about your failures and success. Share the the gift of your precious life.

I’m slowly sharing mine, so go on share yours. Blog about it, make a video or add it to your about me page. Host a talk. What ever you do, share it !

Let consistency be your trump card

When I see a kid so brilliant I often wonder if it is worth trying to compete.  I mean if I were to be a classically trained pianist at age 30, seeing  a kid at age 4 I would question my abilities in comparison to his.

The common thread

We all desire to be the best and to be recognised as such. Hence the ladders we climb in the corporate world, tribes and communities. Although we are not all like this it is a common trend that can’t be ignored.

Consistency trumps the WizKid

I am a firm believer that great men are not born, but that they are made. I am well aware that there are wiz kids out there who simply excel without the level of experience any normal human being would need, but they are not the what keep our economy afloat. They dazzle us but the aim is not to simply be impressive the aim is be consistent.

In some instances with a sheer stroke of luck the genius in the room takes home the bacon, but it has been proven over time that slow and steady wins the race.

Life Lessons learnt in support

On 1 December 2012, I started working full time as a support ninja at WooThemes.

Besides motoring away everyday at making clients happy, I have also been monitoring my progress along the way. Now by monitoring I mean physically counting the tickets and doing analytics and basic reflection. During  this time  I have found out that there are some valuable life lessons and disciplines that I got from simply doing support from day to day.

I’m continually learning, but I’ll be happy to share my lessons with you:

Continue reading Life Lessons learnt in support

Remove Disqus comments from WordPress pages

You have just installed the Disqus comment system on your WordPress blog and now you see it appearing all over the show, on both pages and posts alike. I ran into the same issue and for obvious reasons only wanted to show it on single blog posts and would love to share how I fixed this with you.

There are only two simple steps so be sure to do exactly as I explain.

Step 1

Disqus is added to your posts and page alike through the WorPress ‘comments_template’ filter. In order to override this we  will have to disable this filter from being called by the plugin. To do this add the following code to your theme’s functions.php:

This will only disable Disqus, but will still show the default comment system, which we’ll remove in the next step.

Step 2

The final step will simply be to remove the default comment system from pages as well. To save you some time there is already a plugin that does this: http://wordpress.org/plugins/disable-comments/

After installing and activating this plugin. Go over to the settings and make sure you select by post type option ensure that only blog posts are unchecked ( meaning comments will be hidden for the checked post types).

 

Git vimdiff Mergetool Cheat sheet

Your project is going absolutely great. You’re committing regularly and you’re getting close to the release date and then you that the is a (CONFLICT).

You see something like : file.extension : needs merge ,?
Then you google ans see that opening a merg tool will help and then suddenly you’re dumbstruck and you can’t even move.

The first thing I wanted to do was to the heck out of there.

Press “ESC” then press ” : ” after that enter ” qall! ” , after this make sure to selecet no when you’re prompted with “Was the merge successful? [y/n]” . Unless you’ve fixed it select no.

Secondly, what’s up the 4 windows? Please not the descriptions below are not in order 1,3,2,4:

1. The target branch, which is the one you’re on now. This is where you would like to merg the other branch into, but this window is only used as a reference to see what the current branch looks like.

3. The remote/merge branch which is the branch that you would like to merge into the local/target branch above (1).

2. The most common ancestor of the target (1) and the merge(3) branch.

4. The final branch into which you would like to merge the target and the merg branch. This a computer generated file into which the most common items is merged but this is where you need to pull items from target (1) and merge(3) into, to give you the final file.

Now the first thing you should note about the four windows is that you can have the cursor in any one of the four and work from there. To move the cursor around you press:

‘CTRL + W’  ‘ CTRL + W’    (press it twice)

The second thing you would like to do is move from one conflict area to the next.

‘]c’  (right square bracket ‘c’) move you to the next conflicting text

‘[c’   (left square bracket ‘c’) moves you to the previos conflicting text.

:ls identify the windows (names and numbers) This is important so you can combine it with diffput and diffget commands below.

:diffget  *     diff get takes a change and brings it into the current working window. It is important for you to use this with the identity that you find when  running :ls . You can also use ‘do’ as a shortened version (without the colon)

:diffput modify another buffer from the current focus area.

I’ll add more and change this cheat sheet as I discover this tool.

Generate a link list of all Zendesk articles in a specific forum

I needed to print out a list of links for all articles in a specific forum, for use in our Project management system. I had to go through all the items to ensure that they are compatible with the latest version of our Canvas Theme.

I’ve used chrome for this and suggest you do the same as I don’t know how to replicate this other browsers.

1) Navigate to the specific forum on the Zendesk agent panel. In this case canvas.

link lists for a specific zendesk forum

2) Scroll down to the bottom of the page and click more until all the items are displayed on the page:

zendesk_forum_link_lists_click_more

3) Then Open the chrome developers console and click on console:

zendesk_forum_link_lists developer_console

4) Past the code below inside the console and press enter ( be sure to change line:4  from  support.woothemes.com support your own domain):

[code language=”javascript”]
var count = 0;
jQuery(“#content_entries .frame .item”).each(function(index){
count++;
console.log(“http://support.woothemes.com”+jQuery(“.item-info h1 span a”, this).attr(“href”) );
});
console.log(count);
[/code]

5) You will now see a nice list of  items which you can copy as a todo list on your project management software. Trello allows you to paste this whole list and creates individual to do list items .

zendesk_forum_link_lists_nice_LIST