Field Formatters in Org table
Using field-formatters to format results of Org table formulae.
Using field-formatters to format results of Org table formulae.
Huh? 😕
Well, a mechanic usually wouldn’t give you a time estimate in seconds, but a tool I am using prints something like this at the end:
The simulation took 54227.9 seconds in CPU time.
That triggered me to write a “little” script to convert seconds to human time i.e. time in days, hours, minutes and seconds.
I never quite liked the trend to have upper-cased keywords in Org
documents, like #+TITLE
.
So it was a pleasure to see that trend start changing in this Org
commit.. so that that same keyword would now be written as #+title
.
The Org and Worg git repos can be committed to only via ssh protocol (and not https), and for technical reasons, I cannot commit to those repos via ssh from my primary development machine. So I ended up with a flow that involves pushing commits to those repos using my Nexus 6p phone.
Magit is how I git, and I love to primarily work from the
∗magit-log∗ buffer (M-x magit-status
, l b). But the default
column widths were not optimal on a Nexus 6p 5.7" screen. And that’s
what inspired this tweak, which looks great on a regular desktop
monitor too.
While learning the Nim language and trying to correlate that with my Python 3 knowledge, I came across this awesome comparison table of string manipulation functions between the two languages.
My utmost gratitude goes to the developers of Nim, Python, Org,
ob-nim
and ob-python
, and of course Hugo which allowed me to
publish my notes in this presentable format.
I use emacs – with a server1 and client setup – so that I
can quickly open new files in it using emacsclient
. My typical setup
is to have xterm
+ tmux
on one monitor and a single emacs(client)
frame on another. But there are times when I do not want to
shift focus from one monitor to another, like when I just need to
review some log file. So I started using an alias to emacs -nw -Q
to
quickly open log files, review, filter, and C-x C-c
.
Of course, that’s not where this post ends. An alias was no longer adequate to do what I wanted it to do more ..
Outdated post on how to build hugo
from source with the latest
commit from the goorgeous package.
“Installing” go
is simply extracting its release archive, putting it
somewhere in you $HOME
and pointing GOROOT
and PATH
env vars to
it.
To connect to a machine with ip MACHINE, you simply need to enter the below at command-line:
ftp MACHINE
See below for a list of commands you would typically use once you ftp
to a machine.