- Why React
- Rethinking best practices - video
- Rebuilding HipChat
- Flux
- ReactJS for Stupid People - Hah!
- Why React is Awesome - by James Longster, a buddy of mine who's crazy good.
- React Native
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# CentOS rbenv system wide installation script | |
# Forked from https://gist.github.com/1237417 | |
# Installs rbenv system wide on CentOS 5/6, also allows single user installs. | |
# Install pre-requirements | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
make bzip2 autoconf automake libtool bison iconv-devel git-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM postgres:9.6-alpine | |
LABEL version="9.6" | |
LABEL author="jpfuentes2@gmail.com" | |
RUN apk update && apk upgrade --available | |
RUN apk add build-base git postgresql-dev | |
ENV POSTGRES_VERSION=9.6 |
Pushodoro combines the Pomodoro Technique with a quick and simple calisthenics routine, starting with push-ups, to get your butt in shape.
The awful truth: we sit on our butts toiling away at computers far too long -- and it's killing us. It makes us unhealthy, stupid, and we're 40% more likely to die within 15 years. The benefits from 30 minutes of rigorous exercise is completely erased if you sit for 6 hours.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Any; end; | |
class Pattern | |
attr :values | |
def initialize(*args) | |
@values = args | |
@matchers = [] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(doseq [item '(1 2 3 4)] | |
(println item)) | |
(doseq [[k v] {:ST "started", :IP "in progress", :DN "done"}] | |
(println (str k " => " v))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):001:0> require 'msgpack' | |
=> true | |
irb(main):002:0> msg = {Command: "Handshake", Seq: 0} | |
=> {:Command=>"Handshake", :Seq=>0} | |
irb(main):003:0> msg = MessagePack.pack(msg) | |
=> "\x82\xA7Command\xA9Handshake\xA3Seq\x00" | |
irb(main):004:0> MessagePack.unpack(msg) | |
=> {"Command"=>"Handshake", "Seq"=>0} | |
# client = MarilynRPC::NativeClient.connect_tcp('localhost', 7373) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
def machine_exists? | |
!Dir.glob("#{File.dirname(__FILE__)}/.vagrant/machines/default/*/id").empty? | |
end | |
Vagrant::Config.run do |config| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "clap" | |
@branch = "master" | |
@remote = "production" | |
Clap.run ARGV, | |
"--branch" => ->(b) { @branch = b }, | |
"--remote" => ->(e) { @remote = e } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns labrepl.ipd) | |
;; moves and utils | |
(defn defect [moves] (conj moves 0)) | |
(defn coop [moves] (conj moves 1)) | |
(defn defect? [move] (= move 0)) |
NewerOlder