Skip to content

Instantly share code, notes, and snippets.

@julien-gargot
julien-gargot / index.html
Last active May 14, 2018 12:20
Workshop Fâbles, Chaumont 2018
<!DOCTYPE html>
<html lang="fr" dir="ltr">
<head>
<meta charset="utf-8">
<title>Workshop Fâbles, Chaumont 2018</title>
<link rel="stylesheet" href="pantoufle.css">
<link rel="stylesheet" href="sketch.css">
<script src="p5.js"></script>
<script src="sketch.js"></script>
</head>
@julien-gargot
julien-gargot / .Xresources
Created March 30, 2018 16:01
Base configuration for hinting and antialiasing typography under Arch Linux
!~/.Xresources
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintsmedium
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
@julien-gargot
julien-gargot / createUsers.php
Created May 24, 2017 14:36
Create users from array for Kirby CMS.
<?php
kirby()->routes(array(
array(
'pattern' => 'create',
'action' => function() {
if( !kirby()->site()->user() || kirby()->site()->user() != "root" )
{
go("login");
@julien-gargot
julien-gargot / fiddle.css
Last active March 30, 2017 12:05
Create “print” design from your browser for thermal printer. (Pantoufle basic structure.)
/* =Pantoufle Thermal printer
* v0.1
* ---------------------------------------------------------------------------*/
body {
margin: 0;
width: 48mm;
}
*, *::after, *::before {
@julien-gargot
julien-gargot / fiddle.css
Last active March 30, 2017 08:51
Create “print” design from your browser. (Pantoufle basic structure.)
/* =Pantoufle
* v0.2.3
* ---------------------------------------------------------------------------*/
.hide {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;