Popular posts from this blog
How Context Switching is killing your productivity at work
Multi-tasking is something that is part of our daily lives. We watch TV while we eat. We converse while making food. We listen to the radio while driving. Harmless enough right? Then why is multi-tasking at work such a productivity killer? Context switching is form of multi-tasking where you'll stop working on a task in lieu of another. This is most commonly due to external factors which can vary from a simple phone call or email all the way to changing of requirement priorities. The thing that we usually don't realize is how much time is actually wasted when jumping from task to task. Ever have the thought "now where was I again?" after finishing a conversation or an email reply?. This is the silent killer that I'm talking about. There is usually an amount of time lost trying to get back into the mindset or rhythm of the previous task. The place where I've noticed that is most heavily affected by context switching is the Support Desk. The pro
Integrating Code Syntax on a Blog or Website.
As a developer, one is used to seeing code snippets formatted in a specific way. Eg: public class FormatCodeClass{ { public void showFormattedMethod() { System.out.println("Yay"); } } Fortunately, most websites that support these snippets use some kind of library that can be used to render this easily. The one that I use on my blog is called Google Pretty Print. I'll be explaining how to integrate this into your website/Blogger. Step 1) Add the library to your HTML above the <body> tag Click on Themes, then on Edit HTML. Search for the <body> tag and copy <script src='https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js'/> above it. Step 2) Add in your preferred CSS above the </head> tag <!--Desert theme--> <style type='text/css'>pre .atn,pre .kwd,pre .tag{font-weight:700}pre.prettyprint{display:block;background-color:#333}pre .nocode{background-color:none;color:
Comments
Post a Comment