Skip to content

Instantly share code, notes, and snippets.

View mlapshin's full-sized avatar
🦖
I'm too old for this shit

Mike Lapshin mlapshin

🦖
I'm too old for this shit
  • Health Samurai
  • Manhattan Beach, CA
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<a:Bundle
xmlns:a="http://hl7.org/fhir">
<a:type value="history"/>
<a:total value="3"/>
<a:entry>
<a:resource>
<a:Device>
<a:id value="bab099e8-e164-462e-a732-7cbab339d082"/>
<a:meta>
(ns aidbox-ui.components.code-editor
(:require [reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as str]
[vendor.codemirror]))
(defn- get-code-block-type [token-info]
(try
(-> token-info
(aget "state")
@mlapshin
mlapshin / guidelines.md
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

[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?
(setq js-indent-level 2)
(setq js2-basic-offset 2)
(use-package web-mode
:init
(add-to-list 'auto-mode-alist '("work/narus/narus-web/.*?\\.js\\'" . web-mode))
:config
(setq web-mode-attr-indent-offset 4)
(setq web-mode-enable-auto-pairing nil)
SELECT 2+2 FROM patient;
const Input = props => {
return <input {...props} />;
}
const FormRow = props => {
return <div className="formRow">{props.children}</div>;
}
const makeBindFn = (formId, formComp) => {
return inputName => {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"request": {
"method": "PUT",
"url": "/Patient/1e467a741586a1f60097be9a9d4304fd"
},
"resource": {
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"request": {
"method": "POST",
"url": "/Patient"
},
"resource": {