Skip to content

Instantly share code, notes, and snippets.

View olexpono's full-sized avatar

Olex Ponomarenko olexpono

View GitHub Profile
@evanrs
evanrs / rewriting-history-with-predicates.md
Last active November 4, 2015 07:14
Rewriting history with predicates (Reactive 2015 lightning talk proposal)

This is a proposal for a lightning talk I would give at the Reactive 2015 conference.

NOTE: If you like it, put a star ⭐ on it—the number of stars decides if it makes the cut!

Rewriting history with predicates

Redux provides a simple pattern for managing application state. As demonstrated in Dan Abramov's talk following this pattern lets you painlessly implement simple undo and time travel. By keeping a history of actions, and reducing a subset

@olexpono
olexpono / gridr.rb
Last active August 29, 2015 13:57
Ruby 12-Column Grid Explorer
#! /usr/bin/env ruby
#
# Utility for finding 12-col grids
#
# Usage:
# Gridr.explore(Range.new(900,1440,1))
#
# Output:
# 1200 / 1.0 -- gutter 12.0px –– column 89.0px
# 960 / 1.25 -- gutter 12.0px –– column 69.0px
@olexpono
olexpono / Custom.css
Last active February 14, 2023 15:44
Crate -- a Dark gray/orange Theme for Chrome DevTools
/**********************************************/
/*
/*
/* Crate -- Theme for Chrome DevTools
/* Last Update :: September 2013
/*
/* based on:
/* mnml by Michael P. Pfeiffer
/* Based on a Gist by Ben Truyman. Further attr:
/* https://gist.github.com/3040634
@brentertz
brentertz / rvm2rbenv.txt
Created November 21, 2011 23:00
Switch from RVM to RBENV
## Prepare ###################################################################
# Remove RVM
rvm implode
# Ensure your homebrew is working properly and up to date
brew doctor
brew update
## Install ###################################################################