kd@
4/4/2020
in this time of covid-19, the DNA Lounge is here
With a no commercial music video webcast.
Remember when people used to complain that MTV didn’t play music videos any
more? Well, now you can relive those dreams you used to have.
Also they have a donation page if you
think this is worthwhile.
kd@
3/22/2020
crime pays but botany doesn’t
A youtube channel worth looking into-
kd@
7/14/2019
GJS Docs
I missed this announcement, and it’s been a long time coming- an official GJS docs site with up-to-date API documentation! https://gjs-docs.gnome.org
Shout out to everyone who finally made this happen.
kd@
7/14/2019
Writing to a file in gjs
Not hard if you know what to do-
#!/usr/bin/env gjs
const Gio = imports.gi.Gio
const file = Gio.File.new_for_path('/tmp/testfile')
file.replace_contents("test text please ignore\n", null, false, 0, null)
kd@
7/14/2019
Looking up executables in gjs
In case you want some safety before shelling out.
#!/usr/bin/env gjs
const GLib = imports.gi.GLib
const vim = GLib.find_program_in_path('vim')
print(vim)