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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; Project Euler Problem 30 ;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; Perform n^p | |
(defn pow [n p] | |
(reduce * (repeat p n))) | |
;; Convert a number to a set | |
(defn number-to-set [n] |
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
var App = Ember.Application.create({ | |
}); | |
App.ThoughtsController = Ember.ArrayController.extend({ | |
init: function () { | |
var that = this; | |
setInterval(function() { | |
that.set("content", App.Thought.find({hack:"hack"})); |
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
package main | |
import ( | |
"fmt" | |
"http" | |
"io/ioutil" | |
"os" | |
) | |
func main() { |
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
film42@mbp /usr/bin % brew install valgrind -v | |
==> Downloading http://valgrind.org/downloads/valgrind-3.7.0.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/valgrind-3.7.0.tar.bz2 | |
/usr/bin/tar xf /Library/Caches/Homebrew/valgrind-3.7.0.tar.bz2 | |
==> ./configure --prefix=/usr/local/Cellar/valgrind/3.7.0 --mandir=/usr/local/Cellar/valgrind/3.7.0/share/man --enable-only64bit --build=amd64-darwin | |
./configure --prefix=/usr/local/Cellar/valgrind/3.7.0 --mandir=/usr/local/Cellar/valgrind/3.7.0/share/man --enable-only64bit --build=amd64-darwin | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no |
NewerOlder