-
Notifications
You must be signed in to change notification settings - Fork 0
/
index11.html
374 lines (314 loc) · 24.8 KB
/
index11.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE html>
<html lang="en">
<head>
<title>DavidJB.com</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://davidjb.com/theme/css/main.css" type="text/css" />
<link href="http://davidjb.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="DavidJB.com Atom Feed" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="http://davidjb.com/css/ie.css"/>
<script src="http://davidjb.com/js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="http://davidjb.com/css/ie6.css"/><![endif]-->
</head>
<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="http://davidjb.com/">DavidJB.com <strong>Ramblings about Plone, Pyramid, Python, the web, Linux, roses and more, by David Beitey.</strong></a></h1>
<nav><ul>
<li><a href="http://davidjb.com/about.html">About me</a></li>
<li><a href="http://davidjb.com/blog/index.html">Blog</a></li>
<li><a href="http://davidjb.com/projects.html">Projects</a></li>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<ol id="posts-list" class="hfeed" start="9">
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/02/plone-google-calendar-integration/" rel="bookmark"
title="Permalink to Plone: Google Calendar Integration">Plone: Google Calendar Integration</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-02-19T08:55:00">
Thu 19 February 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/add-to.html">add to</a><a href="http://davidjb.com/tag/calendar.html">calendar</a><a href="http://davidjb.com/tag/event.html">event</a><a href="http://davidjb.com/tag/google.html">google</a><a href="http://davidjb.com/tag/integration.html">integration</a><a href="http://davidjb.com/tag/plone.html">plone</a></p>
</footer><!-- /.post-info --> <p>Wouldn’t it be great if you could somehow add your Event content item
within the Plone <span class="caps">CMS</span> onto your Google Calendar with just a click? (it’d
be better with fewer, but 1 click is pretty good - give me a break!)</p>
<p>Try this placed inside the <tt class="docutils literal">event_view</tt> page template ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/02/plone-google-calendar-integration/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/02/plone-google-calendar-integration/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/02/buildout-trying-to-create-a-plonezope-instance/" rel="bookmark"
title="Permalink to Buildout: Trying to create a Plone/Zope instance">Buildout: Trying to create a Plone/Zope instance</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-02-11T08:51:00">
Wed 11 February 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/python.html">Python</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/bootstrap.html">bootstrap</a><a href="http://davidjb.com/tag/buildout.html">buildout</a><a href="http://davidjb.com/tag/error.html">error</a><a href="http://davidjb.com/tag/plone.html">plone</a><a href="http://davidjb.com/tag/script.html">script</a><a href="http://davidjb.com/tag/zope.html">zope</a></p>
</footer><!-- /.post-info --> <p>Eeek…what’s this mean?</p>
<pre class="code pytb literal-block">
<span class="x">install() got an unexpected keyword argument 'allow_hosts'</span>
</pre>
<p>after trying to build zope2zeoserver from my buildout configuration.</p>
<p>After some searching, I found that it was due to my bootstrap.py script
(the one the gets buildout in the first place and creates the relevant
scripts) was ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/02/buildout-trying-to-create-a-plonezope-instance/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/02/buildout-trying-to-create-a-plonezope-instance/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/02/buildout-trying-to-build-pound/" rel="bookmark"
title="Permalink to Buildout: Trying to build Pound">Buildout: Trying to build Pound</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-02-11T08:49:00">
Wed 11 February 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/python.html">Python</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/buildout.html">buildout</a><a href="http://davidjb.com/tag/pound.html">pound</a><a href="http://davidjb.com/tag/recipe.html">recipe</a></p>
</footer><!-- /.post-info --> <p>So, trying to build <tt class="docutils literal">pound</tt> through a Buildout recipe was failing part of
the way through.</p>
<p>Two problems and their solutions (not necessarily in that order):</p>
<ul class="simple">
<li>Needed to install <strong>libssl-dev</strong> because <strong>lcrypto</strong> was missing
(ambiguity anyone?) - Synaptic says that the package provides “libssl
and libcrypto development libraries, header files and ...</li></ul>
<a class="readmore" href="http://davidjb.com/blog/2009/02/buildout-trying-to-build-pound/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/02/buildout-trying-to-build-pound/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/02/ubuntu-dual-monitors-separating-tasks/" rel="bookmark"
title="Permalink to Ubuntu: Dual Monitors & Separating Tasks">Ubuntu: Dual Monitors <span class="amp">&</span> Separating Tasks</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-02-04T08:48:00">
Wed 04 February 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/linux.html">Linux</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/dual.html">dual</a><a href="http://davidjb.com/tag/graphics.html">graphics</a><a href="http://davidjb.com/tag/linux.html">linux</a><a href="http://davidjb.com/tag/monitors.html">monitors</a><a href="http://davidjb.com/tag/panel.html">panel</a><a href="http://davidjb.com/tag/ubuntu.html">ubuntu</a></p>
</footer><!-- /.post-info --> <p>Today’s puzzle: how to get Ubuntu (specifically <span class="caps">GNOME</span> Panels as it turns
out) to use my new dual-monitor setup and show only the tasks from one
monitor on that monitor’s panel. Sure, people had mentioned that it was
possible (everywhere) but noone actually seemed to take the time ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/02/ubuntu-dual-monitors-separating-tasks/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/02/ubuntu-dual-monitors-separating-tasks/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/01/plone-url-encoding-in-a-script/" rel="bookmark"
title="Permalink to Plone: URL Encoding In A Script">Plone: <span class="caps">URL</span> Encoding In A Script</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-01-30T08:46:00">
Fri 30 January 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/adapter.html">adapter</a><a href="http://davidjb.com/tag/form.html">form</a><a href="http://davidjb.com/tag/plone.html">plone</a><a href="http://davidjb.com/tag/ploneformgen.html">ploneformgen</a><a href="http://davidjb.com/tag/python.html">python</a><a href="http://davidjb.com/tag/quote.html">quote</a><a href="http://davidjb.com/tag/url.html">url</a></p>
</footer><!-- /.post-info --> <p>So, for today’s problem, how can we get a <span class="caps">URL</span> (specifically the <span class="caps">GET</span>
request arguments) suitably encoded? Easy, if we’re talking about a
Python script that lives on the file system and can be used within
Zope/Plone that way. But what about some sort of Python script ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/01/plone-url-encoding-in-a-script/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/01/plone-url-encoding-in-a-script/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/01/linux-graphics-card-woes-bios-issues/" rel="bookmark"
title="Permalink to Linux: Graphics Card Woes & BIOS Issues">Linux: Graphics Card Woes <span class="amp">&</span> <span class="caps">BIOS</span> Issues</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-01-27T08:44:00">
Tue 27 January 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/it-linux-work.html">IT, Linux, Work</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/bios.html">bios</a><a href="http://davidjb.com/tag/driver.html">driver</a><a href="http://davidjb.com/tag/graphics.html">graphics</a><a href="http://davidjb.com/tag/linux.html">linux</a><a href="http://davidjb.com/tag/problem.html">problem</a><a href="http://davidjb.com/tag/ubuntu.html">ubuntu</a></p>
</footer><!-- /.post-info --> <p>…and I had thought that installing a graphics card in a computer was as
easy as opening the case, inserting the card, and booting the machine
(then Xorg config etc). Well, to tell the truth, I just moved my <span class="caps">HDD</span>,
peripherals (gfx card included) to a new box - now a ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/01/linux-graphics-card-woes-bios-issues/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/01/linux-graphics-card-woes-bios-issues/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/01/plone-correcting-page-template-errors-easily/" rel="bookmark"
title="Permalink to Plone: Correcting Page Template Errors Easily">Plone: Correcting Page Template Errors Easily</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-01-22T08:43:00">
Thu 22 January 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/code.html">code</a><a href="http://davidjb.com/tag/editing.html">editing</a><a href="http://davidjb.com/tag/page.html">page</a><a href="http://davidjb.com/tag/plone.html">plone</a><a href="http://davidjb.com/tag/python.html">python</a><a href="http://davidjb.com/tag/template.html">template</a><a href="http://davidjb.com/tag/zmi.html">zmi</a></p>
</footer><!-- /.post-info --> <p>Here’s how to correct pesky problems in your code/<span class="caps">XHTML</span> since the line
number and column references are slightly useless in the <span class="caps">ZMI</span>.</p>
<p>Paste contents from a page or page template from the <span class="caps">ZMI</span> into a program
like gedit and then the line and column reference numbers will be ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/01/plone-correcting-page-template-errors-easily/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/01/plone-correcting-page-template-errors-easily/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/01/plone-varnish-configuration-cache-hits-purge-fails/" rel="bookmark"
title="Permalink to Plone: Varnish Configuration (Cache Hits, Purge Fails)">Plone: Varnish Configuration (Cache Hits, Purge Fails)</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-01-21T08:40:00">
Wed 21 January 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/cache.html">cache</a><a href="http://davidjb.com/tag/plone.html">plone</a><a href="http://davidjb.com/tag/problem.html">problem</a><a href="http://davidjb.com/tag/purge.html">purge</a><a href="http://davidjb.com/tag/varnish.html">varnish</a></p>
</footer><!-- /.post-info --> <p>What a painful, painful day. It’s taken about the entire day, but I’ve
finally figured out why our Varnish configuration around here for
Plone/Zope hasn’t been accepting <span class="caps">PURGE</span> requests. Thus, without accepting
purge requests correctly, any content that gets changed in Plone doesn’t
get updated ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/01/plone-varnish-configuration-cache-hits-purge-fails/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/01/plone-varnish-configuration-cache-hits-purge-fails/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/01/plone-re-ordering-folder-contents/" rel="bookmark"
title="Permalink to Plone: Re-ordering Folder Contents">Plone: Re-ordering Folder Contents</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-01-19T16:42:00">
Mon 19 January 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/batch.html">batch</a><a href="http://davidjb.com/tag/folder-contents.html">folder contents</a><a href="http://davidjb.com/tag/forms.html">forms</a><a href="http://davidjb.com/tag/help.html">help</a><a href="http://davidjb.com/tag/javascript.html">javascript</a><a href="http://davidjb.com/tag/plone.html">plone</a></p>
</footer><!-- /.post-info --> <p>Ahhh, a new work week.</p>
<p>The first perplexing puzzle for the week was a seemingly silly idea (it
still is) in Plone where it allows you to view the contents of a given
folder in batches of 20. Now, combine this concept (which is good) with
a concept of being ...</p>
<a class="readmore" href="http://davidjb.com/blog/2009/01/plone-re-ordering-folder-contents/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/01/plone-re-ordering-folder-contents/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="http://davidjb.com/blog/2009/01/plone-how-to-xhtml-compliant-flash-insertion/" rel="bookmark"
title="Permalink to Plone How-To: XHTML Compliant Flash Insertion">Plone How-To: <span class="caps">XHTML</span> Compliant Flash Insertion</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2009-01-13T16:40:00">
Tue 13 January 2009
</abbr>
<address class="vcard author">
By <a class="url fn" href="http://davidjb.com/author/davidjb.html">davidjb</a>
</address>
<p>In <a href="http://davidjb.com/category/plone.html">Plone</a>. </p>
<p>tags: <a href="http://davidjb.com/tag/filtering.html">filtering</a><a href="http://davidjb.com/tag/flash.html">flash</a><a href="http://davidjb.com/tag/parameters.html">parameters</a><a href="http://davidjb.com/tag/plone.html">plone</a><a href="http://davidjb.com/tag/xhtml.html">xhtml</a></p>
</footer><!-- /.post-info --> <p>Wow, it seems easy doesn’t it. Just add an object tag, params, and embed
and we’re done, right? Well, sure, if we didn’t want to adhere to <span class="caps">W3C</span> standards.</p>
<p>To do the right thing, we need something like this:</p>
<pre class="code html literal-block">
<span class="nt"><object</span> <span class="na">type=</span><span class="s">"application/x-shockwave-flash"</span> <span class="na">data=</span><span class="s">"movie.swf"</span> <span class="na">width ...</span></pre>
<a class="readmore" href="http://davidjb.com/blog/2009/01/plone-how-to-xhtml-compliant-flash-insertion/">read more</a>
<p>There are <a href="http://davidjb.com/blog/2009/01/plone-how-to-xhtml-compliant-flash-insertion/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
</ol><!-- /#posts-list -->
<p class="paginator">
<a href="http://davidjb.com/index10.html">«</a>
Page 11 / 13
<a href="http://davidjb.com/index12.html">»</a>
</p>
</section><!-- /#content -->
<section id="extras" class="body">
<div class="blogroll">
<h2>blogroll</h2>
<ul>
<li><a href="http://planet.plone.org">Planet Plone</a></li>
<li><a href="http://jcu.me">jcu.me Research Porfolio</a></li>
<li><a href="http://xckd.com">XKCD</a></li>
<li><a href="http://appleinsider.com/">Apple Insider</a></li>
<li><a href="http://git.io/djb">Latest coding activity</a></li>
<li><a href="http://www.ozbargain.com.au">OzBargain</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="http://davidjb.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
<li><a href="http://git.io/djb">GitHub</a></li>
<li><a href="http://twitter.com/davidjb_">Twitter</a></li>
<li><a href="http://linkedin.com/in/davidbeitey">LinkedIn</a></li>
<li><a href="http://facebook.com/david.beitey">Facebook</a></li>
<li><a href="https://plus.google.com/u/0/106527454335411502430">Google+</a></li>
</ul>
</div><!-- /.social -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24253455-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
var disqus_shortname = 'davidjb';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>