Skip to content

Instantly share code, notes, and snippets.

@chromicant
chromicant / init.vim
Created November 27, 2019 18:25
neovim config
" vim:fdm=marker et ft=vim sts=2 sw=2 ts=2
" Initialization {{{
scriptencoding utf-8
let s:plug_file = stdpath('data') . '/site/autoload/plug.vim'
" Download vim-plug if it doesn't already exist
if ! filereadable(s:plug_file)
silent exec '!curl -fLo ' . shellescape(s:plug_file) .
\ ' --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
#include <config.h>
#include <setjmp.h>
#include "gdk_imlib.h"
#define id _gdk_imlib_data
#include "gdk_imlib_private.h"
unsigned char *
loader_xpm(FILE *file, int *w, int *h, int *t)
{
unsigned char *data, *ptr, *end;
@chromicant
chromicant / gist:d982abee8d9cf28af7cd1f4ba81238e6
Created May 8, 2019 21:01
Containerise/Temp Containers settings for Firefox
!**.githubuserrcontent.com , Github
!*.duckduckgo.com , DDG
!*.facebook.com , Facebook
!*.fsnx.us.eu.org , FSNX
!*.g.co , Google
!*.github.com , Github
!*.github.io , Github
!*.goo.gl , Google
!*.gooogle.com , Google
!*.gstatic.com , Google
@chromicant
chromicant / IosevkaConfigGen.hs
Created April 12, 2019 19:36 — forked from mrkgnao/IosevkaConfigGen.hs
Render Iosevka ligatures to Private Use Area glyphs, for Emacs
{-# LANGUAGE RecordWildCards, Arrows #-}
import Numeric
import Data.Char
import Control.Monad
import Data.Monoid ((<>))
import Data.List (nub, sort, reverse)
data RepeatBounds = RB

Keybase proof

I hereby claim:

  • I am chromicant on github.
  • I am crichton (https://keybase.io/crichton) on keybase.
  • I have a public key ASCRQzVjX-LbDVajWVnCkzeIEpehjspEJEK_zJBJHNSxOgo

To claim this, I am signing this object: