This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "wx-conrod-test" | |
version = "0.1.0" | |
authors = ["Alex Charlton"] | |
edition = "2018" | |
[dependencies] | |
glium = "0.24" | |
conrod_core = { path = "../conrod/conrod_core" } | |
conrod_glium = { path = "../conrod/backends/conrod_glium" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First attempt to fix | |
// https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b976d7a37c585dbbf484f1d5af20a6ac | |
#[derive(Debug)] | |
pub struct A<'a> { | |
pub b: B<'a>, | |
} | |
#[derive(Debug)] | |
pub struct B<'a> { | |
pub link: Option<&'a B<'a>>, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
/usr/local/bin/worker: | |
mode: "000755" | |
owner: root | |
group: root | |
content: | | |
#!/bin/sh | |
restartLimit=10 | |
timeLimit=300 # 5 minutes | |
crashCount=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(import chicken scheme) | |
(use hypergiant srfi-42 miscmacros) | |
;;; | |
;;; Game logic | |
;;; | |
;; Turns | |
(define turn (make-parameter 'black)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; 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 |