Skip to content

Instantly share code, notes, and snippets.

View michaeldvr's full-sized avatar

michael michaeldvr

  • Japan
View GitHub Profile
@plentz
plentz / nginx.conf
Last active October 22, 2025 16:10
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@tgpfeiffer
tgpfeiffer / japanese-full.tex
Last active November 15, 2021 17:57
How to typeset Japanese with advanced features in (Xe)LaTeX.
\documentclass[12pt]{article}
\usepackage{xltxtra, setspace}
%% fonts
% xeCJK options from <http://mesokosmos.blogger.de/stories/1818274/>:
\usepackage[%
boldfont,
CJKnumber,
@skeeto
skeeto / .gitignore
Created September 3, 2012 22:17
Rectangle area challenge
rect

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@kogakure
kogakure / .gitignore
Last active November 10, 2025 10:58
Git: .gitignore file for LaTeX projects
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst