View stacktrace.txt
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
[ removed some py.test stack frames] | |
File "/home/jieter/workspace/django-tables2/tests/test_models.py", line 481, in test_model__str__calls | |
html = table.as_html(build_request()) | |
File "/home/jieter/workspace/django-tables2/django_tables2/tables.py", line 394, in as_html | |
return template.render(context) | |
File "/home/jieter/.virtualenvs/django-tables2/lib/python3.6/site-packages/django/template/backends/django.py", line 66, in render | |
return self.template.render(context) | |
File "/home/jieter/.virtualenvs/django-tables2/lib/python3.6/site-packages/django/template/base.py", line 207, in render | |
return self._render(context) |
View gist:1173ba26dfbd883a0eb1c44b516f155b
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
# models.py | |
class NamedFloat(models.Model): | |
col1 = models.CharField(max_length=1, primary_key=True) | |
col2 = models.FloatField(blank=True, null=True) | |
# test: | |
@pytest.mark.django_db | |
def test_floatfield(): | |
class Table(tables.Table): |
View data.tsv
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
model | diskSpace | radius | |
---|---|---|---|
DE431 | 8 | 8 | |
DD342 | 16 | 18 |
View spec-maxbounds.js
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
describe.only('maxBounds defined on map', function () { | |
chai.should(); | |
var a, b; | |
afterEach(function () { | |
a.remove(); | |
b.remove(); | |
}); |
View gist:0d36e3edb5f83c104278
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
'vivid': { | |
'title' : 'Ubuntu Vivid', | |
'packaging_tool' : 'apt', | |
'build_arch' : ['amd64', 'i386'], | |
'compression' : 'xz', | |
'runtime_packages' : 'libc6 libstdc++6 zlib1g libpng12-0 libjpeg-turbo8 '\ | |
'libssl1.0.0 libfreetype6 libicu52 fontconfig '\ | |
'libx11-6 libxext6 libxrender1 libxcb1 xfonts-base xfonts-75dpi', | |
'build_packages' : 'xz-utils ruby python perl gperf bison flex git '\ | |
'zlib1g-dev libpng12-dev libjpeg-turbo8-dev libssl-dev libfreetype6-dev libicu-dev libfontconfig1-dev '\ |
View test-panBy.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Leaflet Spec Runner</title> | |
<link rel="stylesheet" type="text/css" href="../node_modules/mocha/mocha.css"> | |
<link rel="stylesheet" type="text/css" href="../dist/leaflet.css"> | |
</head> | |
<body> | |
<div id="mocha"></div> |
View console.log
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
jieter@zimri:~/workspace/_npm/leaflet-headless (master)$ npm install | |
npm WARN engine escodegen@1.8.0: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.37","npm":"1.4.28"}) | |
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.37","npm":"1.4.28"}) | |
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0 | |
> canvas@1.3.7 install /home/jieter/workspace/_npm/leaflet-headless/node_modules/canvas | |
> node-gyp rebuild | |
make: Entering directory '/home/jieter/workspace/_npm/leaflet-headless/node_modules/canvas/build' | |
SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node |
View gist:e0c2f577fe3c685edd04
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
jieter@zimri:~/tmp$ mkvirtualenv dt2-test | |
New python executable in dt2-test/bin/python | |
Installing setuptools, pip, wheel...done. | |
(dt2-test)jieter@zimri:~/tmp$ git clone git@github.com:bradleyayers/django-tables2.git | |
Cloning into 'django-tables2'... | |
remote: Counting objects: 3633, done. | |
remote: Compressing objects: 100% (172/172), done. | |
remote: Total 3633 (delta 90), reused 0 (delta 0), pack-reused 3459 | |
Receiving objects: 100% (3633/3633), 1.40 MiB | 849.00 KiB/s, done. | |
Resolving deltas: 100% (1780/1780), done. |
View dump_all.yml
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
- name: Display all variables/facts known for a host | |
debug: var=hostvars[inventory_hostname] |
View compress.py
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
import logging | |
import subprocess | |
from compressor.exceptions import FilterError | |
from compressor.filters import CompilerFilter | |
from django.conf import settings | |
logger = logging.getLogger("coconut.helpers.compressor") | |
NewerOlder