View README.md

Welcome Dialog UI

⚡️ View mockup · Start coding ⚡️

Instructions

  • You have 15 minutes to implement this UI.
  • Text, colors, and other assets are provided for you.
View README.md

Task List UI

⚡️ View mockup · Start coding ⚡️

Instructions

  • You have 15 minutes to implement this UI.
  • Text, colors, and other assets are provided for you.
View README.md

This should fix global npm packages not working in asdf + asdf-nodejs:

$ gulp
No such command in 8.8.0 of nodejs

Just run this:

View RequiredField.js
/* @flow */
/*::
import type {Error, Model} from './Validate'
type Props = {
input: (Model) => React.Element<any>
}
*/
import React from 'react'
View keybase.md

Keybase proof

I hereby claim:

  • I am rstacruz on github.
  • I am rstacruz (https://keybase.io/rstacruz) on keybase.
  • I have a public key ASBAlJ47D5eV-hAb3h9cOHcMOHH_vDEmTqNH6Zt2yPRl0Ao

To claim this, I am signing this object:

View rot13.ex
defmodule Rotator do
def encode(string, shift \\ 13)
def encode(<<char>> <> tail, shift) do
<<rotate(char, shift)>> <> encode(tail, shift)
end
def encode(_, _), do: ""
def rotate(char, shift) when ((char >= ?a) and (char <= ?z)) do
?a + rem(char - ?a + shift, 26)
View notice_notification.js
import $ from 'jquery'
import onmount from 'onmount'
/*
* Simple behavior to show a toast notification
* (simplified for the sake of illustration)
*/
onmount('[data-js-notice-notification]', function () {
const $this = $(this)
View pi.js
const PHI = (Math.sqrt(5) + 1) / 2
function divisor (n) {
if (n === 0) return Math.sqrt(2 + PHI)
var last = divisor(n - 1)
return Math.sqrt(2 + last)
}
function pi (n) {
View 0-media-query-snippets.md

Media query snippets

Type b4+ then press TAB. It expands to

@media (min-width: $screen-xs-min) { // > 480px

Snippets

View family-tree.md

family-tree

Writing a family tree

Let's start with families. Every family can have parents and children.

+families:
+  - parents: [Marge, Homer]
+    children: [Bart, Lisa, Maggie]