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

Mountain Lion, Git “Command Not Found” (2 min fix)

I found this while trying to figure out why I’m getting the error.

1. open your ~/.bash_profile,

if you use textmate it would be :
$ sudo mate ~/.bash_profile

2. add this line to the file:
export PATH=$PATH:/usr/local/git/bin/

3. Save & close the file and type on the terminal:
$ source ~/.bash_profile

*All* the credits go to these guys:

http://www.hongkiat.com/blog/mountain-lion-git-fix/
http://stackoverflow.com/questions/6810059/git-on-mac-os-x-lion

Version controlled comments on Facebook

Did you know that Facebook now has version control for comments. For non geek people out there: It stores your initial comment just in case you want to go back to it.

How to use this:

  1. Comment on a status update.
  2. Click the edit button below your comment.
  3. Make changes to your comment and update.
  4. Click on edit again and you will see a list of the comments you’ve already made.

How to add a subtask in Asana:

 

 

 

The project management system that I love and use for every project has just got added a much requested feature. Now you can create sub tasks inside existing tasks to break them them up even further. The nice thing about this is that subtasks are full tasks that can be assigned to a team member and receive comments.

Image

How to create a Sub Task In ASANA:

There are two ways to do this.

1. Click on the Subtask Icon next to the due date

2.  Click the downwards arrow above the tasks name and select  “Add Subtask”

You can find out more about this on the official  Asana: blog http://blog.asana.com/2012/10/introducing-asana-subtasks/

Enjoy!