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
vagrant@precise64:~$ ghc --help | |
Usage: | |
ghc [command-line-options-and-input-files] |
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
Request Method:POST | |
Status Code:200 OK | |
Request Headersview source | |
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8 | |
Cache-Control:max-age=0 | |
Connection:keep-alive | |
Content-Length:507 | |
Content-Type:application/x-www-form-urlencoded |
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
{ | |
"screens" : { | |
"signIn": { | |
"source": "client", | |
"modal": true, | |
"screenConditionals": { | |
"if": { | |
"withOperator": "===", | |
"compare": "cookie:janrainLastAuthMethod", | |
"to": "socialSignin" |
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
new_user_session GET /users/sign_in(.:format) devise/sessions#new | |
user_session POST /users/sign_in(.:format) devise/sessions#create | |
destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy | |
user_password POST /users/password(.:format) devise/passwords#create | |
new_user_password GET /users/password/new(.:format) devise/passwords#new | |
edit_user_password GET /users/password/edit(.:format) devise/passwords#edit | |
PATCH /users/password(.:format) devise/passwords#update | |
PUT /users/password(.:format) devise/passwords#update | |
cancel_user_registration GET /users/cancel(.:format) registrations#cancel | |
user_registration POST /users(.:format) registrations#create |
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 auth, querystring, sha1, sign, strftime, test_auth; | |
strftime = require('strftime'); | |
querystring = require('querystring'); | |
sha1 = require('sha1'); | |
module.exports = function(robot) { | |
return robot.respond(/test/, function(msg) { |
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
§ nosetests | |
..........................................................................................................................E | |
====================================================================== | |
ERROR: test suite for <module 'tests' from '/Users/andrew/code/catsnap/tests/__init__.pyc'> | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/andrew/Envs/catsnap/lib/python2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 227, in run | |
self.tearDown() | |
File "/Users/andrew/Envs/catsnap/lib/python2.7/site-packages/nose-1.1.2-py2.7.egg/nose/suite.py", line 350, in tearDown | |
self.teardownContext(ancestor) |
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
>> a, a, b = [1, 2, 3] | |
=> [1, 2, 3] | |
>> a | |
=> 2 | |
>> _, _, b = [1, 2, 3] | |
=> [1, 2, 3] | |
>> _ | |
=> [1, 2, 3] | |
>> a | |
=> 2 |
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
module SomeModule | |
@foo = 1234 | |
def self.some_method | |
@foo | |
end | |
end | |
class SomeClass | |
def bar |
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
§ echo " | |
. | |
. | |
. | |
" | |
. | |
. | |
. |
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
>>> def do_something(): | |
... print 'here' | |
... for x in xrange(0, 8): | |
... yield x | |
... | |
>>> do_something() | |
<generator object do_something at 0x100428aa0> | |
>>> foo = do_something() | |
>>> foo | |
<generator object do_something at 0x100428b40> |