Skip to content

Instantly share code, notes, and snippets.

@Irvel
Irvel / trpl2-nostarch-nofonts.book
Last active October 29, 2017 21:11
Tweaks to The Rust Programming Language Second Edition .book config
# This is the .book file found here https://github.com/lise-henry/books/
# But with a couple of changes to fix the TOC and tweak the styling
title: "The Rust Programming Language"
author: "Steve Klabnik and Carol Nichols, with Contributions from the Rust Community"
lang: en
date: 2017-10-28
crowbook.html_as_text: false
tex.hyperref: true
rendering.highlight: syntect
@Irvel
Irvel / gist:6562c89c6e9f499660ac
Created January 22, 2016 18:39
C++11 Sublime Build system for OSX
{
"cmd": ["clang++", "-Wall", "-std=c++11", "-stdlib=libc++", "${file}", "-o", "${file_path}/${file_base_name}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Run",