Skip to content

Instantly share code, notes, and snippets.

View onriv's full-sized avatar
🎯
Focusing

onriv onriv

🎯
Focusing
View GitHub Profile
@alphapapa
alphapapa / native-comp-convenience.org
Created September 19, 2020 20:01
Emacs native-comp branch convenience c ode

Emacs native-comp Recipes

For lack of a better term.

Update Docker image

  1. Update Andrea’s image.
@leiless
leiless / uv_pipe_ipc_echo.c
Created July 11, 2020 07:55
libuv pipe IPC echo client/server example
/*
* Created Jul 4, 2020.
*/
#include <unistd.h>
#include <uv.h>
#include "test.h"
#include "utils.h"
#include "assertf.h"
@gnachman
gnachman / .emacs
Created June 26, 2020 07:05
Make CSI u mode work in emacs
(unless (display-graphic-p)
(add-hook 'after-make-frame-functions
'(lambda
;; Take advantage of iterm2's CSI u support (https://gitlab.com/gnachman/iterm2/-/issues/8382).
(xterm--init-modify-other-keys)
;; Courtesy https://emacs.stackexchange.com/a/13957, modified per
;; https://gitlab.com/gnachman/iterm2/-/issues/8382#note_365264207
(defun character-apply-modifiers (c &rest modifiers)
"Apply modifiers to the character C.
@kaushikgopal
kaushikgopal / karabiner.edn
Last active June 13, 2025 03:29
My source Karabiner file in Goku's edn format - Now lives @ https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn
;; File has moved over to https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn
;; Feel free to raise github issues in that repo, if you have questions/comments/edits
#Reflow of any PDF to improve readability on most eBook-readers, using K2pdfopt (www.willus.com/k2pdfopt/) in MAC terminal/commandline/bash, especially useful for multi-column documents (e.g. scientific articles)
#COPY AND PASTE FOR TERMINAL, fill in the paths, filenames on the script:
myuser$ /path...to.../k2pdfopt '/path...to...PDFtoreflow/myPDF.pdf' -x -ui- -dev
# parameters: "-dev" : will fit for average device
# "-ui-" : run programatically (without opening the menu for drag & drop)
# "-x" : exit when done (usually asks for user to press ENTER to close)
#If you want to hear when is done, add:
@javajack
javajack / adoptopenjdk-openj9.txt
Created November 8, 2019 15:50
AdoptOpenJdk OpenJ9 Ubuntu Installation
Import the official AdoptOpenJDK GPG key
Import the AdoptOpenJDK DEB repo using add-apt-repository
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
sudo apt update
@fnky
fnky / variable-fonts.md
Last active August 22, 2025 02:35
Awesome Variable Fonts

Awesome Variable Fonts

A list of open source and free* variable fonts.

* Some fonts may require a license to be used for commerical use.

Open Source

@pedrominicz
pedrominicz / Everything.md
Last active May 28, 2024 21:56
Every Gist I've written.

The originality of these Gists varies drastically. Most are inspired by the work of others, in that case, all merit goes to the original authors. I have linked everything used as reference material on the Gists themselves.

Haskell

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.