Skip to content

Instantly share code, notes, and snippets.

@wilx
wilx / SaneTwitchChat.user.js
Last active May 17, 2020 16:16
Tampermonkey script that cleans up Twitch.tv chat a little bit.
// ==UserScript==
// @name Sane chat cleanup
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author wilx
// @match https://www.twitch.tv/*
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.js
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.js
// @require https://raw.githubusercontent.com/uzairfarooq/arrive/v2.4.1/minified/arrive.min.js
@wilx
wilx / .tex
Created November 18, 2019 06:11
\documentclass{article}
\usepackage{fontspec}
\usepackage{luatexja-fontspec}
\usepackage{microtype}
\begin{document}
\LaTeX
\end{document}
@wilx
wilx / mwe.log
Last active October 20, 2019 09:17
This is LuaTeX, Version 1.10.0 (TeX Live 2019) (format=lualatex 2019.10.20) 20 OCT 2019 11:14
restricted system commands enabled.
**mwe.tex
(./mwe.tex
LaTeX2e <2019-10-01> patch level 1
Lua module: luaotfload-main 2019-09-13 3.00 luaotfload entry point
Lua module: luaotfload-init 2019-09-13 3.00 luaotfload submodule / initializatio
n
Lua module: lualibs 2019-08-11 2.67 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2019-08-11 2.67 ConTeXt Lua libraries -- extended c
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
american,
]{article}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
This is LuaTeX, Version 1.10.0 (TeX Live 2019) (format=lualatex 2019.6.15) 28 JUN 2019 23:35
restricted system commands enabled.
**./test.tex
(./test.tex
LaTeX2e <2018-12-01>
Lua module: luaotfload-main 2019-05-18 2.97 luaotfload entry point
Lua module: luaotfload-init 2019-05-18 2.97 luaotfload submodule / initializatio
n
Lua module: lualibs 2019-05-18 2.65 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2019-05-18 2.65 ConTeXt Lua libraries -- extended c
\documentclass{article}
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\newfontfamily\tamilfont{Lohit Tamil}[]
\title{log4cplus README}
\date{}
\begin{document}
Test
\end{document}
/* The Computer Language Benchmarks Game
https://salsa.debian.org/benchmarksgame-team/benchmarksgame/
contributed by Mark C. Lewis
modified slightly by Chad Whipkey
converted from java to c++,added sse support, by Branimir Maksimovic
modified by Vaclav Zeman
modified by Vaclav Haisman to use explicit SSE2 intrinsics and constexpr
*/
@wilx
wilx / latexmk-deps-issue.md
Created September 16, 2018 17:32
latexmk -deps-out= issue

I am having issue with latexmk not outputing dependencies for make when I specify -deps-out=. The follwing is my Perl debugger session with some additional information obtained by ls. This was obtained using "7 August 2018. Version 4.59" using the follwing command line:

perl -d =latexmk -lualatex -gg -deps -deps-out=./tweet-document.deps  tweet-document.tex
b 2178
b 2180
b 2188
#include <cstdint>
#include <cmath>
std::uint8_t
cvt8to5(std::uint8_t x)
{
std::uint8_t x5 = x >> 3;
std::uint8_t x5p1 = x5 + !!(x != 0xFFu);
std::int_least16_t d1 = x - (x5 << 3);
std::int_least16_t d2 = std::abs(std::int_least16_t (x) - std::int_least16_t (x5p1 << 3));
@wilx
wilx / citations.nbib
Created June 7, 2018 16:30
NBIB test file
PMID- 27505283
OWN - NLM
STAT- MEDLINE
DA - 20160822
DCOM- 20170126
LR - 20170126
IS - 0022-0167 (Print)
IS - 0022-0167 (Linking)
VI - 63
IP - 5