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
| nomn gent accs loct | |
| --------------------------- --------------------------- --------------------------- --------------------------- | |
| москва москвы москву москве | |
| абрамцевое абрамцевого абрамцевое абрамцевом | |
| алабино алабина алабино алабине | |
| апрелевка апрелевки апрелевку апрелевке | |
| архангельское архангельского архангельское архангельском | |
| ашитковое ашиткового ашитковое ашитковом | |
| байконур байконура байконур байконуре |
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
| spoof@spoofs-mac:tests% python test_filter.py | |
| list comprehension 0.0898420810699 | |
| filter lambda 0.104062080383 | |
| filter None 2.14576721191e-06 | |
| -------------------- | |
| def list_comprehension(data): | |
| return [x for x in data if x] | |
| 17 0 BUILD_LIST 0 | |
| 3 LOAD_FAST 0 (data) |
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
| spoof@mac:~% brew install -vd mc | |
| ==> Build Environment | |
| CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
| CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
| LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
| CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
| CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
| MAKEFLAGS: -j2 | |
| ==> Downloading http://www.midnight-commander.org/downloads/mc-4.7.4.tar.bz2 | |
| File already downloaded and cached to /Users/spoof/Library/Caches/Homebrew |
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
| """ | |
| Here's my sample Django settings for a project I recently did. Visit http://damonjablons.wordpress.com to see the explanation. | |
| """ | |
| import os | |
| import socket | |
| # Set DEBUG = True if on the production server | |
| if socket.gethostname() == 'your.domain.com': | |
| DEBUG = False |
NewerOlder