Skip to content

Instantly share code, notes, and snippets.

A vida é dura pra quem é mole, a vida é mole pra quem é duro

Jean Louis Borba Rosa Salbego jlouiss

A vida é dura pra quem é mole, a vida é mole pra quem é duro
View GitHub Profile
jlouiss / lisp-web-server.lsp
Created Jul 15, 2020
Credit: Land of Lisp
View lisp-web-server.lsp
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; version 2 of the License.
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; GNU General Public License for more details.
; Partial Author: Conrad Barski, M.D.
jlouiss / lisp-html-server.lsp
Created Jul 15, 2020
Credit: Practical Common Lisp
View lisp-html-server.lsp
(in-package :com.gigamonkeys.url-function)
;;; API
(defmacro define-url-function (name (request &rest params) &body body)
(with-gensyms (entity)
(let ((params (mapcar #'normalize-param params)))
(defun ,name (,request ,entity)
jlouiss / lisp-simple-database.lsp
Created Jul 15, 2020
Credit: Practical Common Lisp
View lisp-simple-database.lsp
(in-package :com.gigamonkeys.simple-db)
(defvar *db* nil)
(defun make-cd (title artist rating ripped)
(list :title title :artist artist :rating rating :ripped ripped))
(defun add-record (cd) (push cd *db*))
(defun dump-db ()
View lisp-factorial.lsp
(defun factorial (n)
(if (= n 0) 1
(* n (factorial (- n 1)))))
View Web
View gist:cbb6a430590605a82c987964c218ab2c
[ugjka@archee ~]$ cat /etc/fonts/conf.d/50-noto-color-emoji.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target="scan">
<test name="family">
jlouiss /
Created Sep 15, 2018 — forked from cryzed/
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!


Results after following the guide as of 11.01.2017 13:08:


Pok3r Notes

  • enable the third dipswitch after setting custom bindings
  • FN + R doesn't work with the third dipswitch turned off
You can’t perform that action at this time.