This file contains hidden or 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
| #!/bin/bash | |
| size="3300x2550" # 11" x 8" | |
| # size="3508x2480" # 297mm x 210mm | |
| cvtopts="+append -adaptive-resize $size -gravity center -extent $size -set density 300 -unsharp 0x5+0.3+0" | |
| if [[ ! -z $1 ]]; then | |
| N=$1 | |
| elif [[ $PWD =~ FILE([0-9]+) ]]; then |
This file contains hidden or 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
| unbind C-b | |
| bind-key C-a send-prefix | |
| set -g prefix C-a | |
| set -g mouse on | |
| set -g set-titles on | |
| set -g status off | |
| set -g escape-time 100 | |
| setw -g mode-keys vi |
This file contains hidden or 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
| #include "hash.h" | |
| #include <assert.h> | |
| void **hash_find(void **base, size_t n, void *key, | |
| size_t hash, int (*equal)(const void *, const void *)) | |
| { | |
| void **p, **q, **end; | |
| p = q = base + hash % n; | |
| end = base + n; |
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <alias> | |
| <family>sans-serif</family> | |
| <prefer> | |
| <family>Source Sans Pro</family> | |
| <family>Source Han Sans SC</family> | |
| </prefer> | |
| </alias> |
This file contains hidden or 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
| BEGIN { | |
| FS = "" | |
| AMOD = 65536 | |
| VMOD = 256 | |
| pc = 0 | |
| for (ch = 0; ch < VMOD; ch++) | |
| ORD[sprintf("%c", ch)] = ch | |
| } | |
| { |
This file contains hidden or 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
| % Brainf*** interpreter | |
| % Usage: | |
| % | |
| % tex bf <file> | |
| % | |
| % Be aware that this interpreter is very slow... | |
| \newcount\memptr \newcount\maxptr \newcount\minptr | |
| \newcount\memval \newcount\maxval \newcount\minval |
This file contains hidden or 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
| \def\writeln#{\immediate\write16} | |
| \def\readln#1{{\catcode`\^^M=9 \global\read16 to#1}} | |
| \newcount\seed \seed=1 | |
| \def\rand{\the\seed\randnext} | |
| \def\modulo#1#2{{\count255=#1\divide\count255 by#2\multiply\count255 by#2% | |
| \global\advance#1by-\count255}} | |
| \def\randnext{{% |
This file contains hidden or 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
| diff --git a/engine/tabsqlitedb.py b/engine/tabsqlitedb.py | |
| index 26d1f7f..b555adb 100644 | |
| --- a/engine/tabsqlitedb.py | |
| +++ b/engine/tabsqlitedb.py | |
| @@ -1169,16 +1169,9 @@ class tabsqlitedb: | |
| % {'p': phrase, 'r': self.rules}) | |
| if type(phrase) != type(u''): | |
| phrase = phrase.decode('UTF-8') | |
| - # Shouldn’t this function try first whether the system database | |
| - # already has an entry for this phrase and if yes return it |
This file contains hidden or 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
| HDAA 𫠠 HD | |
| AOI 𫠡 AO | |
| IDAA 𫠢 IA | |
| HDYO 𫠣 HY | |
| CIYM 𫠤 CY | |
| ZALO 𫠥 ZA | |
| AIMI 𫠦 AI | |
| MAAI 𫠧 ME | |
| MYA 𫠨 MY | |
| AZZZ 𫠩 AZ |
This file contains hidden or 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
| 一 | |
| 乙 | |
| 二 | |
| 十 | |
| 丁 | |
| 厂 | |
| 七 | |
| 卜 | |
| 八 | |
| 人 |