Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jlouiss's full-sized avatar

Jean jlouiss

View GitHub Profile
@jlouiss
jlouiss / sites.md
Last active December 16, 2017 12:58
@jlouiss
jlouiss / postgres_guide
Created January 18, 2018 21:19 — forked from tacionery/postgres_guide
install postgresql on antergos
# uninstall postgresql if necessary
$ sudo pacman -R postgresql postgresql-libs
# remove postgres files
$ sudo rm -rfv /var/lib/postgres
# proceed with the installation
$ sudo pacman -S postgresql postgresql-libs
# setup password for postgres
$ sudo passwd postgres
@jlouiss
jlouiss / pok3r-notes.md
Created April 9, 2018 07:14
Pok3r notes

Pok3r Notes

  • enable the third dipswitch after setting custom bindings
  • FN + R doesn't work with the third dipswitch turned off
@jlouiss
jlouiss / fix-infinality.md
Created September 15, 2018 15:44 — forked from cryzed/fix-infinality.md
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!

Screenshots

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

https://github.com/googlei18n/noto-emoji/issues/36#issuecomment-343655365
[ugjka@archee ~]$ cat /etc/fonts/conf.d/50-noto-color-emoji.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="scan">
<test name="family">
(defun factorial (n)
(if (= n 0) 1
(* n (factorial (- n 1)))))
(print "Hello world")
@jlouiss
jlouiss / lisp-simple-database.lsp
Created July 15, 2020 16:52
Credit: Practical Common Lisp
(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 ()