Skip to content

Instantly share code, notes, and snippets.

View saneef's full-sized avatar
🐢

Saneef Ansari saneef

🐢
View GitHub Profile
@saneef
saneef / gist.bash
Created April 25, 2017 18:56
Output of `logspout:info`
=====> logspout status
running
=====> dokku-logspout config
DOKKU_LOGSPOUT_IMAGE_VERSION=v3.1
DOKKU_LOGSPOUT_PORT=18000
DOKKU_LOGSPOUT_SYSLOG_SERVER=syslog+tls://logs-01.loggly.com:6514
=====> dokku-logspout env
SYSLOG_STRUCTURED_DATA=[removed loggly customer token]@41058
@saneef
saneef / log.bash
Created April 25, 2017 20:45
output of `docker logs logspout`
root@gbl-dokku-01:~# docker logs logspout
# logspout v3.1 by gliderlabs
# adapters: tls raw syslog tcp udp
# options : persist:/mnt/routes
!! x509: certificate signed by unknown authority
# logspout v3.1 by gliderlabs
# adapters: raw syslog tcp udp tls
# options : persist:/mnt/routes
!! x509: certificate signed by unknown authority
# logspout v3.1 by gliderlabs
@saneef
saneef / docker-ps-a.sh
Last active May 22, 2017 17:24
dokku report
root@gbl-dokku-01:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7ea22b98834c dokkupaas/s3backup:0.6.0 "/bin/sh -c /usr/b..." 14 hours ago Exited (1) 14 hours ago frosty_wilson
a11ebc42fcdd dokkupaas/s3backup:0.6.0 "/bin/sh -c /usr/b..." 38 hours ago Exited (0) 38 hours ago practical_engelbart
1a5c4aae6694 dokkupaas/s3backup:0.6.0 "/bin/sh -c /usr/b..." 2 days ago Exited (0) 2 days ago kind_yalow
80a5578fb9c0 dokkupaas/s3backup:0.6.0 "/bin/sh -c /usr/b..." 3 days ago Exited (0) 3 days ago nifty_panini
f95d5218407b dokku/get-better-luck:latest "/bin/bash -c 'set..." 3 days ago Exited (0) 3 days ago ni
@saneef
saneef / common-react-components.bash
Last active June 15, 2017 08:16
The Common React Component Project Structure
project-x-react-components
├── Caret
│ ├── Caret.jsx
│ └── Caret.scss
├── Checkbox
│ ├── Checkbox.jsx
│ └── Checkbox.scss
└── Dropdown
│ ├── Dropdown.jsx
checkout-app
│ ├── actions
│ ├── components
│ │ └── … # Project specific components
│ ├── constants
│ ├── containers
│ ├── middlewares
│ └── reducers
├── config
├── fonts
Verifying my Blockstack ID is secured with the address 19ZCHVMSWsGnfTJSy2KbwmbwaRQLUWETye https://explorer.blockstack.org/address/19ZCHVMSWsGnfTJSy2KbwmbwaRQLUWETye
@saneef
saneef / SketchSystems.spec
Last active June 11, 2020 21:24
combobox
combobox
controls
inactive
focused -> active
text_field_empty
text_field_filled_in
active&
text_field_active
@saneef
saneef / SketchSystems.spec
Last active August 28, 2019 14:25
combobox_II
combobox_II
idle*
focused_input -> active
idleEmpty*
idleFilled
not_matched_any -> idleEmpty
active
blurred -> processFocusChange?
@saneef
saneef / SketchSystems.spec
Last active November 18, 2019 07:41
combobox_iii
combobox_iii
idle*
FOCUS -> active
validatingValue?*
VALUE_EMPTY -> empty
VALUE_VALID -> filled
empty
filled
active
@saneef
saneef / machine.js
Created February 27, 2020 16:33
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions