Skip to content

Instantly share code, notes, and snippets.

View dblokhin's full-sized avatar
😇

Dmitriy Blokhin dblokhin

😇
View GitHub Profile
@dblokhin
dblokhin / ANSI.md
Created October 13, 2021 13:08 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27
@dblokhin
dblokhin / chrome-os-crostini-error-20.md
Created April 22, 2021 08:37 — forked from SayantanRC/chrome-os-crostini-error-20.md
Chrome OS - Crostini fails to start with vmshell error 20

Chrome OS - Crostini fails to start with vmshell error 20

This I found out to be an sshd problem. Somehow the systemd service cros-sftp of the container was not working.
All the below steps are from crosh terminal.

Start the container from crosh

From crosh terminal (Alt+Ctrl+T):

vmc start termina
@dblokhin
dblokhin / introrx.md
Created November 20, 2018 08:01 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@dblokhin
dblokhin / event.js
Created October 7, 2018 23:59 — forked from wildlyinaccurate/event.js
Really simple Javascript custom event system
var Event = function() {
var self = this;
self.queue = {};
self.fired = [];
return {
fire: function(event) {