luatz 0.3 Released
I’m happy to announce a new release of luatz: 0.3
A lua library for time and date manipulation.
Features include:- Normalisation of broken down date objects
- allows for complex time/date manipulation logic e.g. “What day is it in 2 days, 5 hours from now?”
New in this release:
- Lua 5.3 support
- Fix bug in rfc-3339 serialisation (#4)
Also, Happy 2015 everyone!
luatz 0.2 Release
I’m happy to announce a new release of luatz: 0.2
My lua library to work with dates and times.
Features include:- A
os.date
compatible class “timetable” supporting normalisation
- Conversion between locations (time zones) using your local zoneinfo database.
- RFC-3339 parsing
- Works with 5.1, 5.2 and LuaJIT.
New in this release:- Support for fractional timetable component normalisation
- e.g.
.month=6.5
, .day=1
(which could be read as “the first day after the middle of June”) normalises to .month=2
, .day=16
- Top level aliases for common operations
- Own implementation of
stftime
formatting (locales are not yet complete)
- Uses ljsyscall for more accurate time when available
AUR (en) - lua-systemd
AUR (en) - lua-systemd
Lua systemd bindings now up on AUR (Arch Linux User Repository)
5.1 package also available: https://aur.archlinux.org/packages/lua51-systemd/
This comes off the back of a rockspec => PKGBUILD convertor I’ve been working on https://gist.github.com/daurnimator/11148106
Systemd bindings for Lua
Systemd bindings for Lua
Today I took a dive into systemd, trying to learn how it works, and what features it provides.
As I played around with unit files and creating my own services, I started wanting to do it all via lua. So I spent the morning writing some C bindings to libsystemd.
The fruits of this labour can be tracked over at github and downloaded from moonrocks
How to mount a VirtualBox VDI image - Be the signal
How to mount a VirtualBox VDI image - Be the signal
Blog post with a method to mount virtualbox (vdi) images via nbd and qemu-nbd