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
(require 'moz) | |
;;; Usage | |
;; Run M-x moz-reload-on-save-mode to switch moz-reload on/off in the | |
;; current buffer. | |
;; When active, saving the buffer triggers Firefox | |
;; to reload its current page. | |
(define-minor-mode moz-reload-on-save-mode | |
"Moz Reload Minor Mode" |
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
(require 'moz) | |
;;; Usage | |
;; Run M-x moz-reload-on-save-mode to switch moz-reload on/off in the | |
;; current buffer. | |
;; When active, saving the buffer triggers Firefox | |
;; to reload its current page. | |
(define-minor-mode moz-reload-on-save-mode | |
"Moz Reload On Save Minor Mode" |
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
// g++ -o leak leak.cc -Iharfbuzz/src -Ifreetype/include -lharfbuzz -lfreetype | |
#include "hb-ft.h" | |
int main(int argc, char** argv) { | |
FT_Library library; | |
FT_Init_FreeType(&library); | |
FT_Face face; | |
FT_New_Face(library, "Chunkfive.otf", 0, &face); | |
FT_Set_Pixel_Sizes(face, 0, 40); |
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
a | |
;; 1. Eval this | |
(progn | |
(require 'fringe-helper) | |
(defun add-single-marker (pos) | |
(fringe-helper-insert-region | |
pos pos | |
(fringe-lib-load fringe-lib-zig-zag) |
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
; | |
;; 1. Defuns | |
(progn | |
(require 'fringe-helper) | |
(defun add-single-marker (pos) | |
(fringe-helper-insert-region | |
pos pos | |
(fringe-lib-load fringe-lib-zig-zag) |
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
_4100_characters = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
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
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri |
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
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri |
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
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri |
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
class DiConfig { | |
public: | |
template <class InstanceType, class Deleter, class ...Deps> | |
void add(InstanceFactoryFunction<InstanceType, Deleter, Deps...> instance_factory); | |
Injector build_injector(); | |
private: | |
using InitializerFn = std::function<void(Injector&)>; |