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 [coll n] (mapcat #(repeat n %) coll)) |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.WebPages; | |
namespace renderactiontest.Helpers | |
{ | |
public static class Helper |
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
<div class="post-12 page type-page status-publish hentry main_content"><div id="page-12" class="post-12 page type-page status-publish hentry first_section full_page single_page single_page_with_column"> | |
<div class="container_12"> | |
* Connection #0 to host www.sam-osborne.co.uk left intact | |
* Closing connection #0 | |
Error: You have exceeded your quota of: 20000 requests per 86400 second(s) for public requests. | |
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
<!-- other html snipped --> | |
<div class="post-12 page type-page status-publish hentry main_content"><div id="page-12" class="post-12 page type-page status-publish hentry first_section full_page single_page single_page_with_column"> | |
<div class="container_12"> | |
Error: You have exceeded your quota of: 20000 requests per 86400 second(s) for public requests. |
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
C:\dev\testapp>lein deps | |
Downloading: org/clojure/clojure/1.4.0/clojure-1.4.0.jar from repository central | |
at http://repo1.maven.org/maven2 | |
2012-04-23 11:31:33 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (22.1-b02 mixed mode): | |
"pool-1-thread-1" prio=6 tid=0x0000000007e10000 nid=0x21ec runnable [0x000000000 | |
76ee000] | |
java.lang.Thread.State: RUNNABLE | |
at java.net.SocketInputStream.socketRead0(Native Method) |
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
% git clone ninject/ninject | |
Cloning into 'ninject'... | |
remote: error: object directory ./objects/../../data/repositories/4/nw/4e/8a/19/145356/network.git/objects does not exist; check .git/objects/info/alternates. |
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
(defn seq-from-nodelist [nodelist] | |
(let [nodecount (.getLength nodelist)] | |
(for [i (range nodecount)] | |
(do | |
(println "node") | |
(.item nodelist i))))) | |
;; nodelist contains 5 nodes | |
(def nodes (seq-from-nodelist nodelist)) |
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
guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do | |
watch('config/application.rb') | |
watch('config/environment.rb') | |
watch(%r{^config/environments/.+\.rb$}) | |
watch(%r{^config/initializers/.+\.rb$}) | |
watch('Gemfile') | |
watch('Gemfile.lock') | |
watch('spec/spec_helper.rb') | |
watch('test/test_helper.rb') | |
end |
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
Backtrace: | |
0: clojure.lang.Reflector.invokeConstructor(Reflector.java:163) | |
1: currency_puzzle.rates$convert.invoke(rates.clj:46) | |
[No Locals] | |
2: currency_puzzle.core$_main$fn__2204.invoke(core.clj:9) |
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
info it worked if it ends with ok | |
verbose cli [ 'node', | |
verbose cli '/Users/simon/code/npm/cli.js', | |
verbose cli 'install', | |
verbose cli '-g', | |
verbose cli '-f' ] | |
info using [email protected] | |
info using [email protected] | |
verbose config file /Users/simon/.npmrc | |
verbose config file /usr/local/etc/npmrc |