Prerequisties
- a script that can make all necessary changes, with no manual intervention.
Steps for Implementer
- check out master, run the script, commit the result
git fetch origin
git checkout master
git fetch origin
git checkout master
Any top-level comment on pull request ought be tagged with one of four emojis:
Request Changes
review, and is responsible for re-reviewing once the pull request author has addressed the issue.
<html> | |
<body> | |
<style> | |
td { | |
border: 1px solid black; | |
width: 40px; | |
height: 40px; | |
} | |
</style> |
defmodule RequestCache do | |
@moduledoc """ | |
Simple ETS-based cache. | |
""" | |
use GenServer | |
@type t :: %{ttl: integer, invalidators: %{}} | |
@type cache_key :: any | |
@type cache_value :: any |
defmodule RequestCache do | |
@moduledoc """ | |
Simple GenServer-based cache. | |
""" | |
use GenServer | |
@type t :: %{cache: %{optional(cache_key) => cache_value}, interval: integer} | |
@typep cache_key :: any | |
@typep cache_value :: any |
GroceryList.start | |
GroceryList.next | |
# nil | |
GroceryList.add("a gallon of milk") | |
# :ok | |
GroceryList.next | |
# "a gallon of milk" |
// how I used to write sass! | |
// ----------------------- | |
// its short, sure, but short doesn't necessarily mean simple. Its very difficult for me | |
// to tell how a given element gets its styles -- element-1 is getting inherited styles | |
// from its container, and then has two different explicit selectors. At scale, | |
// its even harder to tell what overrides what, and file ordering begins to actually | |
// matter. Whenever I see code like this now, I refactor it asap -- before | |
// it gets too unwieldy and brittle to change. | |
.container-element | |
font: 15px verdana |
I hereby claim:
To claim this, I am signing this object:
bar foo
Query = {} | |
Query.new = function() { | |
var queryAttributes = { | |
filters: [], | |
beginDate: null, | |
endDate: null, | |
attribute: null | |
} |