Skip to content

Instantly share code, notes, and snippets.

View khanov's full-sized avatar
:shipit:
real artists ship

Salavat Khanov khanov

:shipit:
real artists ship
View GitHub Profile
[
{
"trigger": {
"url-filter": "evil-tracker\\.js"
},
"action": {
"type": "block"
}
},
{
@khanov
khanov / Binary Tree Printer.swift
Last active July 14, 2021 02:17
Binary Tree ASCII Printer
import Foundation
// Ideally Node should be a struct.
// However Swift doesn't allow recursive value types at the moment.
class Node {
var left, right: Node?
var value: String
init(value: String = "") {

Keybase proof

I hereby claim:

  • I am khanov on github.
  • I am khanov (https://keybase.io/khanov) on keybase.
  • I have a public key whose fingerprint is FF62 BC41 6E9E EC98 D525 099C 9CC6 3B78 DB50 8B3A

To claim this, I am signing this object: