Skip to content

Instantly share code, notes, and snippets.

View mlapshin's full-sized avatar
Arbeit macht frei

Mike Lapshin mlapshin

Arbeit macht frei
  • Health Samurai
  • Manhattan Beach, CA
View GitHub Profile
View bundle.xml
<?xml version="1.0" encoding="UTF-8"?>
<a:type value="history"/>
<a:total value="3"/>
<a:id value="bab099e8-e164-462e-a732-7cbab339d082"/>
View gist:5292328d19221eea2949b6c871241203
(ns aidbox-ui.components.code-editor
(:require [reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as str]
(defn- get-code-block-type [token-info]
(-> token-info
(aget "state")
mlapshin /
Created October 4, 2018 08:10
Techwriting Guidlines

Simple rules to follow when you write technical docs.

  1. Explain stupid things. Do not overestimate reader's understanding. Make you instructions and explanations so straightforward and verbose so your mom could follow them;

  2. Do not put periods at the end of headers. "Introduction", not "Introduction.";

  3. Let abbreviations to be abbreviations. They should be all

View gist:d33a4c78b1a2dadb9d39cf7abb5e094a
[WTF Node?] open handles:
- File descriptors: (note: stdio always exists)
- fd 1 (tty) (stdio)
- fd 2 (tty) (stdio)
- Servers:
- :::46568 (HTTP)
- Listeners:
- request: app @ /var/jenkins_home/workspace/Narus_narus-web_stable-P5U42K5RDW5AN4K3GCTG4BCJ6MTTTEEUWK5ZF64POBLM75ADVL6Q/backend/node_modules/supertest/index.js:20
- Timers:
Unable to determine callsite for "Function". Did you require `wtfnode` at the top of your entry point?
View gist:1c86d1446831e53fa04a8e53ad133bfa
(setq js-indent-level 2)
(setq js2-basic-offset 2)
(use-package web-mode
(add-to-list 'auto-mode-alist '("work/narus/narus-web/.*?\\.js\\'" . web-mode))
(setq web-mode-attr-indent-offset 4)
(setq web-mode-enable-auto-pairing nil)
View foo.sql
SELECT 2+2 FROM patient;
View ideomatic-react-formbuilder.jsx
const Input = props => {
return <input {...props} />;
const FormRow = props => {
return <div className="formRow">{props.children}</div>;
const makeBindFn = (formId, formComp) => {
return inputName => {
View cloud.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:9fb02fd34764d0e56aab
"resourceType": "Bundle",
"type": "transaction",
"entry": [
"request": {
"method": "PUT",
"url": "/Patient/1e467a741586a1f60097be9a9d4304fd"
"resource": {
View gist:544afea8ca44e1080d8a
"resourceType": "Bundle",
"type": "transaction",
"entry": [
"request": {
"method": "POST",
"url": "/Patient"
"resource": {