graph
subgraph Fixes that Fail
C -- s --> A
B -- Delay --> C((Unintended Consequences))
subgraph B1
A((Problem Symptom)) -- s --> B((Fix))
B -- o --> A
end
end
This file contains 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
const A_TYPE = "a"; | |
const B_TYPE = "b"; | |
type AProps = { | |
type: typeof A_TYPE; | |
foo: string; | |
bar: number; | |
}; | |
type BProps = { |
- Item
- Sub thing
- Item 2
This file contains 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
require 'front_matter_parser' | |
require 'csv' | |
# Usage: ParseFrontMatterData.new.save_csv | |
# Will create `data.csv` in the current working directory | |
class ParseFrontMatterData | |
attr_accessor :blog_files, :front_matters | |
def initialize | |
@blog_files = get_blog_files |
This file contains 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
shasum -a 256 Gemfile.lock | awk '{ print $1 }' | openssl base64 |
This file contains 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
git ls-tree --full-tree -r HEAD | awk '{ print $4 "," $3 }' >> closures.csv | |
cat closures.csv | awk -F "," '{ print $1 }' | xargs -L 1 git log --follow --diff-filter=A --find-renames=40% -- | ag commit | awk '{ print $2 }' > creations | |
This file contains 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
;; -*- mode: emacs-lisp -*- | |
;;; Emacs is a platform written in 1976 (yes, almost half a century ago) for | |
;;; writing software to make you more productive, masquerading as a text | |
;;; editor. -- Steve Yegge | |
;;; Use Paredit | |
(unless (package-installed-p 'paredit) | |
(package-install 'paredit)) | |
(require 'paredit) |
This file contains 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
require 'thread' | |
class Witch | |
def initialize(name, left_wand, right_wand) | |
@name = name | |
@left_wand = left_wand | |
@right_wand = right_wand | |
while true | |
conjure | |
dine |
NewerOlder