This file contains hidden or 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
source "https://rubygems.org" | |
gem "hamster", "0.4.3" | |
gem "nokogiri", "1.5.9" |
This file contains hidden or 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
diff --git a/Gemfile b/Gemfile | |
index f56d45c..8c3b2ea 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -1,11 +1,9 @@ | |
source :rubygems | |
source "https://[email protected]/govuk/" | |
-gem "unicorn", "4.3.1" | |
gem "sinatra", "1.3.4" |
This file contains hidden or 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
import datetime | |
import imp | |
class PartyTime(): | |
def __call__(self, *args): | |
imp.reload(datetime) | |
value = datetime.datetime(*args) | |
datetime.datetime = self | |
return value |
This file contains hidden or 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
HTTP/1.1 200 OK | |
Server: nginx | |
Content-Type: text/html; charset=utf-8 | |
Status: 200 OK | |
X-UA-Compatible: IE=Edge,chrome=1 | |
ETag: "976aea2f1c04a9d78f389b0b27b87263" | |
X-Request-Id: c4a0b9c5861d408bd7d944984781b449 | |
X-Varnish: 1821039272 | |
Strict-Transport-Security: max-age=31536000 | |
Cache-Control: public, max-age=1289 |
This file contains hidden or 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
source /etc/bash_completion.d/git | |
export GIT_PS1_SHOWDIRTYSTATE=true | |
export GIT_PS1_SHOWUNTRACKEDFILES=true | |
export PS1="\e[0;33m\u@\h \w\e[0;32m\$(__git_ps1 ' (%s)')\e[0;96m \$\e[0m " |
This file contains hidden or 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
Anansi Boys | |
Angelmaker by @Harkaway | |
Baroque Cycle, The | |
Basement, The | |
Being Geek | |
Building Stories | |
Cryptonomicon | |
Death by Black Hole: And Other Cosmic Quandaries | |
Edible Selby, by Todd Selby | |
Emperor of All Maladies, The |
This file contains hidden or 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
/** | |
* The Nomensa accessible media player is a flexible multimedia solution for websites and intranets. | |
* The core player consists of JavaScript wrapper responsible for generating an accessible HTML toolbar | |
* for interacting with a media player of your choice. We currently provide support for YouTube (default), | |
* Vimeo and JWPlayer although it should be possible to integrate the player with almost any media player on | |
* the web (provided a JavaScript api for the player in question is available). | |
* | |
* Copyright (C) 2012 Nomensa Ltd | |
* | |
* This program is free software: you can redistribute it and/or modify |
This file contains hidden or 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
$ ruby squarer.rb | |
about to call square(5) | |
25 | |
about to call cube(5) | |
125 |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[<XCProjectFile at 0x1087f9390>, | |
<PBXProject 'chrome' at 0x1087f9190>, | |
<PBXGroup None at 0x1087f91d0>, | |
<PBXGroup 'Source' at 0x1088afdd0>, | |
<PBXGroup '..' at 0x1088afd10>, | |
<PBXGroup 'base' at 0x108e39a90>, | |
<PBXGroup 'files' at 0x10964d610>, | |
<PBXFileReference 'file_path_watcher_browsertest.cc' at 0x10964d810>, | |
<PBXGroup 'test' at 0x108e43190>, | |
<PBXFileReference 'run_all_unittests.cc' at 0x108e43110>, |
This file contains hidden or 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
Testing ring.middleware.test.cookies | |
ERROR in (wrap-cookies-accepts-expires) (cookies.clj:103) | |
Uncaught exception, not in assertion. | |
expected: nil | |
actual: java.lang.AssertionError: Assert failed: (every? valid-attr? attrs) | |
at ring.middleware.cookies$write_attr_map.invoke (cookies.clj:103) | |
ring.middleware.cookies$write_cookies$iter__665__669$fn__670.invoke (cookies.clj:122) | |
clojure.lang.LazySeq.sval (LazySeq.java:42) | |
clojure.lang.LazySeq.seq (LazySeq.java:56) |