- SQLBolt (web)
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
| :: Build script. | |
| @echo off | |
| setlocal | |
| set VSLANG=1033 | |
| set flags=/nologo /std:c++14 /Zi /W4 /wd4100 | |
| if not exist win32_precomp.pch ( | |
| cl %flags% /Yc"win32_precomp.hpp" /c win32_precomp.cpp |
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
| Some things that I did when half-reading https://blinry.org/tiny-linux/ | |
| Some other commands used: | |
| git clone --depth=1 --branch=v6.12 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git | |
| make tinyconfig | |
| make menuconfig | |
| make -j4 | |
| diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c | |
| index 96842ce81..8f0ab7094 100644 |
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
| ; How to compile this file: | |
| ; $ nasm -felf64 -o hello.o hello-linux64.asm | |
| ; $ ld -o hello.out hello.o | |
| ; $ ./hello.out | |
| ; | |
| ; Elements of a NASM program: | |
| ; * labels | |
| ; * instructions | |
| ; * operands | |
| ; * directives |
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
| <!-- Replace the comments with the fonts and save this file as ~/.config/fontconfig/fonts.conf --> | |
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> | |
| <fontconfig> | |
| <alias> | |
| <family>serif</family> | |
| <prefer><family><!-- SERIF FONT HERE --></family></prefer> | |
| </alias> | |
| <alias> | |
| <family>sans-serif</family> |
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/sh | |
| set -ef | |
| # About --date=STRING: https://www.gnu.org/software/coreutils/manual/html_node/General-date-syntax.html | |
| usage() { | |
| echo 'usage: datediff [-d|-h|-m|-s] [DATE1] DATE2' >&2 | |
| exit 1 | |
| } |