-
Lightweight i18n using DataScript
Jan 14, 2016 · 2 min read · Computer Software Functional Programming Clojure ClojureScript Database ·A lightweight ;-) i18n solution for ClojureScript that uses a DataScript database. It's inspired by Tower, a Clojure/Script i18n & L10n library. Update: later found the Tongue library (by Nikita Prokopov). Database example code 1(ns yournamespace.dst 2 (:require [datascript.core :as d])) 3 4;; Database schema (only …
Read More -
A dark theme approach for Emacs running under KDE (Debian Linux). Alternative approach Configure the Invert desktop effect under KDE system settings and use Ctrl-Meta-U to activate it for the Emacs window (which uses the regular light theme). This gives a very nice dark theme like effect, which is perfect for coding …
Read More -
With my Eclipse running under KDE (Debian Linux) the dark themes in Eclipse suffer from side effects. Like the disappearance of the little menu in the title area of the window's tabs. Alternative approach Configure the Invert desktop effect under KDE system settings and use Ctrl-Meta-U to activate it for the Eclipse …
Read More -
Photivo is a free and open source (GPL3) photo processor. It handles your RAW files as well as your bitmap files (TIFF, JPEG, BMP, PNG and many more) in a non-destructive 16 bit processing pipe with gimp workflow integration and batch mode. Linux build instructions The instructions to build Photivo under Linux can be …
Read More -
The goal of the instructions in this article is to install Debian on a hard disk that already has a functioning Windows 7 installation (with a master boot record – MBR). Here Debian Sid (a.k.a. Debian Unstable) –which is a rolling release distribution– is taken as an example but a regular Debian stable version can also …
Read More -
To configure specific compiler switches per package in Gentoo use these instructions. Modifying environmental variables per package The package.env file can be used to modify environmental variables per package. See /etc/portage/env in the Gentoo Wiki for details. Conflicting compiler switches In make.conf one …
Read More -
If a low-level backup is required then use these instructions. Rolling release If your Linux distribution has a rolling release model (e.g. Gentoo Linux) then you'll probably have to install it only once. With a non-rolling release distribution you'll have to do a system upgrade every now and then. Either way, the OS …
Read More -
The KDE desktop environment supports environment variables. These are active when logged in to KDE. Contrary to regular bash environment variables, which are active only when a bash shell is started. To set KDE environment variables create a file in the .kde4/env or .kde/env directory, e.g. as follows: 1export …
Read More -
Ever wanted to combine several PDF-files into a single file? Under Linux a simple command can be used to accomplish this. Use the command given below: 1gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=output.pdf input1.pdf input2.pdf (Note: this requires ghostscript to be installed.)
Read More -
Under Linux, you can use the isohybrid command to attempt to fix an ISO intended for a USB-stick, but that does not boot (because e.g. it expects a real DVD). Warning and disclaimer: do make sure that you make a copy of your image file first and execute the isohybrid command on the copy. The command to use is as …
Read More