Skip to content

Instantly share code, notes, and snippets.

Thinking about: Data & Collaboration

Idan Gazit idan

Thinking about: Data & Collaboration
View GitHub Profile
View gitcsvtest.ts
import Fiona from "";
import { csvFormat, csvParse } from "";
const { writeTextFile, run, mkdir, stdout } = Deno;
const { now } = performance;
type Row = {
name: string;
date: Date;
bio: string;
p: number;
View helloargo.yml
kind: Workflow
generateName: artifact-passing-
entrypoint: artifact-example
- name: artifact-example
- - name: generate-artifact
View decaf_slack_theme.txt
idan / Hospital Modeling
Created Mar 27, 2020
Data for Modeling COVID Things
View Hospital Modeling

Model and Underlying Data

Data about Hospitals

Total number of beds by state draws upon aggregates from this report from ESRI based on Definitive Healthcare.

View component.jsx.hbs
import './style.scss'
import React, { PropTypes } from 'react'
export default class {{ componentName }} extends React.Component {
static propTypes = {
static defaultProps = {
View clipActions.js
export function addClip (id) {
return (dispatch, getState) => {
// prevent adding duplicate clips
const state = getState()
if (state.Clips.has(id)) {
// create the entry with a asyncState of PENDING
View datastoreActions.js
import axios from 'axios'
import uuid from 'uuid'
import {datastoreConstants} from 'constants'
import * as backgroundTaskActions from './backgroundTaskActions'
export function fetchAllDatastores () {
return (dispatch, getState) => {
const taskId = uuid.v4()
dispatch(backgroundTaskActions.addTask(taskId, 'Fetching datastores…'))
axios.get('/graphql', {
idan / pattern.es6
Created Aug 3, 2015
ES6 object argument pattern
View pattern.es6
function foo ({required, optional='default!'} = {}) {
console.debug(`${required}, ${optional}`)
foo({required: 'lala', optional: 'lolo'})
// -> "lala, lolo"
foo({required: 'lala', optional: null})
// -> "lala, null"
idan /
Last active Aug 29, 2015 — forked from jookyboi/
CSS libraries and guides to bring some order to the chaos.


  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.


You can’t perform that action at this time.