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
Instead of using: | |
\usepackage[utf8]{inputenc} | |
\usepackage{babel} | |
use: | |
\usepackage{fontspec} | |
\usepackage{polyglossia} |
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 multiprocessing as mp | |
import time | |
import MPServer | |
if __name__ == "__main__": | |
#mp.set_start_method('fork') | |
print("[Client] start") |
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
pygmentize -f latex -O full -o mylisting.tex mylisting.src | |
pdflatex mylisting.tex |
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
;;; Clojure 1.9 spec : an example of a mutually-recursive spec | |
(ns oddeven | |
(:require [clojure.spec :as s])) | |
(s/def ::zero #{:zero}) | |
(s/def ::one #{:one}) | |
(s/def ::succ #{:succ}) | |
(s/def ::odd nil) | |
(s/def ::even (s/or :zero ::zero |
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
pdfjam --nup 2x1 --landscape input.pdf --outfile output.pdf |