- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
0.0.0.0 host.youtube.com | |
0.0.0.0 mx.youtube.com | |
0.0.0.0 admin.youtube.com | |
0.0.0.0 devel.youtube.com | |
0.0.0.0 stats.youtube.com | |
0.0.0.0 http.youtube.com | |
0.0.0.0 mx0.youtube.com | |
0.0.0.0 administration.youtube.com | |
0.0.0.0 development.youtube.com | |
0.0.0.0 svn.youtube.com |
;; Receive time as a string like "9d 11:28" | |
;; Outputs the number of minutes in that | |
;; The regex works with and without days. | |
;; MIT License | |
(defun my-minutes-in-org-time (time) | |
(let ((re "\\(\\([0-9]+\\)d \\)?\\([0-9]+\\):\\([0-9]+\\)") | |
(values '(2 3 4))) | |
(save-match-data | |
(catch 'exit | |
(if (not (string-match re time)) |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
#!/usr/bin/env/python | |
# | |
# More of a reference of using jinaj2 without actual template files. | |
# This is great for a simple output transformation to standard out. | |
# | |
# Of course you will need to "sudo pip install jinja2" first! | |
# | |
# I like to refer to the following to remember how to use jinja2 :) | |
# http://jinja.pocoo.org/docs/templates/ | |
# |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html