Permalink
Browse files

Updates to post and style. And also now with s3cmd.

  • Loading branch information...
1 parent b88a4ba commit 47363da56d751b239c24555195f2b00fcd035dfc @KirinDave committed Nov 2, 2011
View
@@ -7,8 +7,11 @@ Main: Main.hs
_site: Main css/*.css js/*.js posts/*
./Main rebuild
+sync: _site
+ s3cmd sync _site/ s3://dave.fayr.am/
+
clean:
find . -name '*~' | xargs rm
find . -name '#*#' | xargs rm
find . -name '*.o' | xargs rm
- rm Main.hi
+ rm Main.hi
View
@@ -116,5 +116,5 @@ body {
}
code {
- font-family: fixed;
+ font-family: "Courier New", Courier, monospace;
}
View
0 js/libs/modernizr-1.7.min.js 100755 → 100644
No changes.
View
0 js/plugins.js 100755 → 100644
No changes.
View
0 js/script.js 100755 → 100644
No changes.
@@ -301,3 +301,4 @@ that I think are interesting to mention:
Maybe monad. You cannot express nested maybe types, which a real Maybe
type would let you do. As an example, consider "Just Nothing".
2. @alanmalloy reminded me that flatten is too aggressive. What I wanted was #flatten(1). Thanks!
+3. The entire ruby community seems to want to argue about what ||= really means. For pedanic completenes, by expansion `(x ||= y # -> x = x || y)` is only correct for locals, where it is the closest approximation to what actually happens. Ruby has a whole separate set of rules when you call it on an object, and in that case it is closer to `( x[:a] ||= y # x[:a] || x[:a] = y )`. Please keep this in mind, but in practice it seldom makes a difference to the end result of your code.
View
0 templates/toplevel.html 100755 → 100644
No changes.

0 comments on commit 47363da

Please sign in to comment.