git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9
mv 6fb35afd237e42ef25f9 ConvertTo-Markdown
cd ConvertTo-Markdown
; Citing http://www.emacswiki.org/emacs/WritingRussianWithDvorak: | |
; "As you know, all the cyrillic InputMethods work in a way that assumes your keyboard is in QWERTY layout. However, | |
; if you’re using dvorak keyboard layout, you may discover that, for example, cyrillic-jcuken input method can’t work ; properly since all the ascii symbols on your keyboard are mapped to appropriate cyrillic ones according to the | |
; qwerty->jcuken translation rules. | |
; Thus, one of the possible solutions is to define your own input method which translate symbols according to | |
; dvorak->jcuken rules." | |
; | |
; Это такой input method, только для Colemak. | |
; Нужно положить этот файл в ~/.emacs.d и вставить в ~/.emacs строки: | |
; (load-file "~/.emacs.d/russian-colemak.el") |
;;; calfw-git.el --- calendar view for git-log | |
;; Copyright (C) 2014 SAKURAI Masashi | |
;; Author: SAKURAI Masashi <m.sakurai at kiwanami.net> | |
;; Keywords: calendar | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
<meta charset="utf-8"> | |
<style >*{ | |
margin | |
:0;} | |
a {color : gold } | |
[e] {font-weight : bold } | |
[s] {white-space : pre } | |
[t] {text-decoration : overline } |
hand_shutdown "key 290 mod1" | |
hand_capmouse "key 291 mod1" | |
hand_fullscr "key 13 mod2" | |
hand_pause "key 19 mod2" | |
hand_mapper "key 282 mod1" | |
hand_speedlock "key 293 mod2" | |
hand_recwave "key 287 mod1" | |
hand_caprawmidi "key 289 mod1 mod2" | |
hand_scrshot "key 286 mod1" | |
hand_video "key 286 mod1 mod2" |
I recently happened upon a very interesting implementation of popen()
(different API, same idea) called popen-noshell using clone(2)
, and so I opened an issue requesting use of vfork(2)
or posix_spawn()
for portability. It turns out that on Linux there's an important advantage to using clone(2)
. I think I should capture the things I wrote there in a better place. A gist, a blog, whatever.
This is not a paper. I assume reader familiarity with
fork()
in particular and Unix in general, though, of course, I link to relevant wiki pages, so if the unfamiliar reader is willing to go down the rabbit hole, they should be able to come ou
# Assuming you're a regular user that has doas allowances for vmctl | |
mkdir -p ~/vmm | |
cd ~/vmm | |
# Grab the the one of the virt iso's of Alpine Linux | |
curl https://nl.alpinelinux.org/alpine/v3.6/releases/x86_64/alpine-virt-3.6.0-x86_64.iso -o alpine-virt-3.6.0-x86_64.iso | |
# Make a new virtual disk image, change the size as needed | |
vmctl create alpine-virt.img -s 6G |
How to compile AVRA https://github.com/Ro5bert/avra | |
with MS Visual Studio 2019 | |
New Project > Console Application > C++ | |
(create it empty without any files) | |
Import all .c and .h files from AVRA src folder | |
In file.c, you will need to change line | |
#include <unistd.h> into: |