I’ve recently started using Toggl to track time spent on
various things. But I usually forget to turn it on when I’m actually working.
I wrote a little script that uses Node.JS to get my active
running timer on Toggl and display it on my
tmux-powerline. It displays nothing
if no timer is running.
The script can be found here:
Do remember to chmod +x the JS file and include it as a segment in your status
bar.
This blog runs on Octopress — which means that I write posts in Markdown.
I’m presently a big fan of Microformats and wanted
to include rel="me" links to other
websites that I use.
After searching a little for a clean solution, I realised that Markdown is
HTML-compatible - I
can simply write in the exact HTML I need for the link within my Markdown file.
Example:
Instead of writing something like
[@adhipg](http://twitter.com/adhipg)
and then trying to add custom attributes; I can simply write
So you have a nice big project that you’ve been working on for a while and you
are at a state where you think it will be nice to split a part of the project.
This can be to either create it as a library to use it with other projects or
just maintain it independantly.
There are two steps involved:
Splitting out the subpath from the repository and creating a new repository
from it.
Using this new git repository we’ve created in the main repository so that we
can continue working.
Let’s tackle them one at a time.
Splitting a subpath into a new repository
I’m assuming that we’re interested in keeping the git history - else, you can
simply just copy out the directory into a new folder and init it as a new
repository.