background preloader

Productivity

Facebook Twitter

Philosophy

Mac. Katas. ThinkingRock GTD. Promptu Launcher - Rocket Your Productivity. Vim as a refactoring tool and some examples in C sharp. You can use Vim as a refactoring tool. The advantages are: You automate repetitive writing tasks. You learn refactoring. You can expect much from a refactoring tool but if you have a look at the commercial refactoring tools there is much (not all!) Vim can do too. I give you three examples, all in C#. Example 1: The Extract Method refactoring Edit Sphagetti code example: public string CreateMenu(string startMenu,string file) { string strOutput = ""; int i = 0; ArrayList startArray = new ArrayList(); string strVariable = ""; string strTemp = ""; XmlDocument XMLDoc = new XmlDocument(); try { XMLDoc.Load(file); } catch (Exception e) { strOutput = e.GetBaseException().ToString(); return strOutput; } XmlNodeList nodeList = XMLDoc.DocumentElement.ChildNodes; ...

Imagine 50 lines of code here. Use the extract method refactoring to make a composed method. I use a Vim function (see below) to build the exracted method. I highlight the code part I want to extract and press \em (for extract method). Edit. The Pomodoro Technique™ What is The Pomodoro Technique? EASY for anyone to use!

Improves productivity IMMEDIATELY! FUN to do! Why Pomodoro? The Pomodoro Technique isn’t like any other time-management method on the market today. For many people, time is an enemy. Essential to the Pomodoro Technique is the notion that taking short, scheduled breaks while working eliminates the “running on fumes” feeling you get when you’ve pushed yourself too hard. Whether it’s a call, a Facebook message, or suddenly realizing you need to change the oil in your car, many distracting thoughts and events come up when you’re at work. Most of us are intimately acquainted with the guilt that comes from procrastinating. Who does the technique work for? These are all ways real folks use the Pomodoro Technique: Motivate yourself to write.Limit distractions.Keep track of how long you’re spending brainstorming / writing / revising.Reduce back and neck pain by walking around during Pomodoro breaks.Draft a book in three weeks.

How It works. How to Find Your Project's Sweet Spot - Steven DeMaio - HarvardBusiness.org. 43 Folders | Time, Attention, and Creative Work.