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
<ul> | |
<li> | |
<article> | |
<time datetime="2017-10-17">2017-10-17</time> | |
<span><a href="/vim-reformat-dates/">Find, convert and replace dates with Vim substitutions</a></span> | |
</article> | |
</li> | |
<li> | |
<article> | |
<time datetime="2017-09-19">2017-09-19</time> |
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
fn count_down() { | |
"3... 2... 1..." | |
} | |
fn blast_off() { | |
"BOOM!" | |
} | |
pub fn launch() { | |
[ |
For SICP Exercise 1.14 in Elixir, we'll first implement the count_change/1
function, which calculates how many different ways there are to make change
using half-dollars (50 ¢), quarters (5 ¢), dimes (5 ¢) and pennies (1 ¢) for
any given amount of money.
iex -r counting_change.exs
Erlang/OTP 23 [erts-11.0.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Table of Contents
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 Foo | |
def foo | |
puts "ok!" | |
end | |
end | |
Foo.prepend(Module.new do | |
def foo | |
puts "prepend!" | |
super |
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
.mouse, #preview{ | |
position: absolute; | |
background-repeat: no-repeat; | |
height: 22px; | |
min-width: 15px; | |
z-index: 100; | |
} | |
.mouse{ | |
background-image: url('../images/cursor.png'); |
enough.css is a tiny CSS style sheet with most of the styling you'll need for that blog of yours. It moved to https://github.com/jeffkreeftmeijer/enough.css