Skip to content

Instantly share code, notes, and snippets.

Alex Charlton AlexCharlton

Block or report user

Report or block AlexCharlton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
AlexCharlton / Cargo.toml
Created Feb 20, 2020
Conrod with wxWidgets POC OSX
View Cargo.toml
name = "wx-conrod-test"
version = "0.1.0"
authors = ["Alex Charlton"]
edition = "2018"
glium = "0.24"
conrod_core = { path = "../conrod/conrod_core" }
conrod_glium = { path = "../conrod/backends/conrod_glium" }
AlexCharlton /
Created Jan 23, 2020
Avoiding poisoning a lifetime
// First attempt to fix
pub struct A<'a> {
pub b: B<'a>,
pub struct B<'a> {
pub link: Option<&'a B<'a>>,
AlexCharlton / osc52e.el
Last active Dec 20, 2018
Copy text from emacs into xterm, hterm, trough screen and tmux, with support for graphical displays and multi-byte characters
View osc52e.el
;;;; This script can be loaded during emacs initialization to automatically
;;;; send `kill-region' and `kill-ring-save' regions to your system clipboard.
;;;; The OSC 52 terminal escape sequence is used to transfer the selection from
;;;; emacs to the host terminal.
;;;; It is based off of the osc52.el copyright the Chromium OS authors, but
;;;; was modified to add support for tmux, graphical displays, and
;;;; multi-byte strings.
;;;; It works in hterm, xterm, and other terminal emulators which support the
AlexCharlton / worker.config
Last active Jul 24, 2018
Elastic Beanstalk worker with graceful shutdown
View worker.config
mode: "000755"
owner: root
group: root
content: |
timeLimit=300 # 5 minutes
AlexCharlton / go.scm
Last active May 5, 2016
Go prototype in CHICKEN Scheme
View go.scm
(import chicken scheme)
(use hypergiant srfi-42 miscmacros)
;;; Game logic
;; Turns
(define turn (make-parameter 'black))
You can’t perform that action at this time.