based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
- Check if italic font is supported:
$ echo -e "\e[3mitalic\e[23m"
- Also check:
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
| import java.util.*; | |
| @SuppressWarnings("ALL") | |
| class Test { | |
| static class ReifiedList<T> extends AbstractList<T> { | |
| private final List<T> delegate = new ArrayList<>(); | |
| private final Class<?> type; | |
| @SafeVarargs | |
| ReifiedList(@Deprecated T... unused) { |
| commit ea830e03d4d4562b1ff225940f65bceddd9cad6c | |
| Author: Hayaki Saito <saitoha@me.com> | |
| Date: Sun Jun 11 23:46:45 2017 +0900 | |
| Add sixel graphics support | |
| Signed-off-by: Hayaki Saito <saitoha@me.com> | |
| diff --git a/Makefile b/Makefile | |
| index d8595fe..a25d040 100644 |
based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
$ echo -e "\e[3mitalic\e[23m"
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
| # Edit this configuration file to define what should be installed on | |
| # your system. Help is available in the configuration.nix(5) man page | |
| # and in the NixOS manual (accessible by running ‘nixos-help’). | |
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ # Include the results of the hardware scan. | |
| ./hardware-configuration.nix |
| { config, pkgs, ... }: | |
| let | |
| hostname = "luz3"; | |
| in { | |
| imports = | |
| [ # Include the results of the hardware scan. | |
| ./hardware-configuration.nix | |
| # I use VirtualBox to connect to Windows and Linux guests |
| import kafka.server.KafkaConfig; | |
| import kafka.server.KafkaServer; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.List; | |
| import java.util.Properties; |
| (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
| (add-to-list 'auto-mode-alist '("\\.Rmd\\'" . markdown-mode)) | |
| (add-to-list 'auto-mode-alist '("\\.rmd\\'" . markdown-mode)) | |
| (add-hook 'markdown-mode-hook 'turn-on-outline-minor-mode) | |
| (defun rmarkdown-new-chunk (name) | |
| "Insert a new R chunk." | |
| (interactive "sChunk name: ") | |
| (insert "\n```{r " name "}\n") | |
| (save-excursion |
| /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
| /* ========================================================================== | |
| HTML5 display definitions | |
| ========================================================================== */ | |
| /** | |
| * Correct `block` display not defined in IE 8/9. | |
| */ |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |