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
| # Put your local settings here. This will override corresponding settings in settings.py. | |
| # PLEASE DO NOT CHECK IN THIS FILE. | |
| ADMINS = ( | |
| ('Shabda', '[email protected]'), | |
| ) |
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 random | |
| class Markov(object): | |
| def __init__(self, open_file): | |
| self.cache = {} | |
| self.open_file = open_file | |
| self.words = self.file_to_words() | |
| self.word_size = len(self.words) | |
| self.database() |
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
| conf.py | |
| abc.txt | |
| def.txt | |
| makefile | |
| _templates\ | |
| page.html |
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
| In [1]: None | |
| In [2]: None > 10 | |
| Out[2]: False | |
| In [3]: None < 10 | |
| Out[3]: True | |
| In [4]: None == None | |
| Out[4]: True |
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
| irb(main):001:0> nil | |
| => nil | |
| irb(main):002:0> nil > 10 | |
| NoMethodError: undefined method `>' for nil:NilClass | |
| from (irb):2 | |
| from :0 | |
| irb(main):003:0> 10 > nil | |
| ArgumentError: comparison of Fixnum with nil failed | |
| from (irb):3:in `>' | |
| from (irb):3 |
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
| phpsh (c)2006 by Charlie Cheever and Dan Corson and Facebook, Inc. | |
| type 'h' or 'help' to see instructions & features | |
| New Feature: You can use the -c option to turn off coloring | |
| php> echo(null > 10) | |
| php> echo(null < 10) | |
| 1 | |
| php> echo(null == 10) | |
| php> echo(null == null) | |
| 1 | |
| php> |
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
| Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio | |
| > print(nil) | |
| nil | |
| > print(nil > 10) | |
| stdin:1: attempt to compare number with nil | |
| stack traceback: | |
| stdin:1: in main chunk | |
| [C]: ? | |
| > print(nil < 10) | |
| stdin:1: attempt to compare nil with number |
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
| //#Javascript | |
| >>> null | |
| null | |
| >>> null == 10 | |
| false | |
| >>> null > 10 | |
| false | |
| >>> null < 10 | |
| true | |
| >>> null == null |
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
| Jython 2.2.1 on java1.6.0_0 | |
| Type "copyright", "credits" or "license" for more information. | |
| >>> None | |
| >>> None > 10 | |
| 0 | |
| >>> None < 10 | |
| 1 | |
| >>> None == None | |
| 1 | |
| >>> |
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
| Welcome to psql 8.3.7, the PostgreSQL interactive terminal. | |
| Type: \copyright for distribution terms | |
| \h for help with SQL commands | |
| \? for help with psql commands | |
| \g or terminate with semicolon to execute query | |
| \q to quit | |
| test_psql=> select null as data; | |
| data |
OlderNewer