/usr/bin/ld: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit load command 20 unknown cmd field You get this if you’ve upgraded the version of OSX without upgrading the Developer Tools (the Xcode tools).
echo -n “myvar=${myvar:-notset}”
If myvar is null or unset then it will be set to “notset”.
you’ve got to resize the parent e.g.
grid->GetParent()->Layout(); and then to be sure, run Layout on the top window
Windows XP doesn’t provide Fdisk, but I’ve done an equivalent operation to FDISK /MBR like this:
Configured the Recovery console for automatic administrator login - this was important because there seems to be a bug which requires an admin password to be entered, even when the system doesn’t have one.
http://support.microsoft.com/kb/312149/Then boot up from the Windows XP setup CD, and I chose the ‘R’ Recovery option.
Once in, I ran FIXMBR.
Been beating my head against a brick wall trying to figure this out from the dojo documentation - here’s the answer…
http://blog.tijs.org/archives/2006/10/26/migrating-to-dojo-04/
This definitely doesn’t work out of the box…
New iMac with OSX 10.4 “Tiger”, old Palm Tungsten T.
1) Install Palm Desktop
2) What you should be able to do now, is open iSync and run “Devices>Enable Palm OS syncing”. What you get if you do that is a message saying that Palm HotSync hasn’t been installed properly.
This is a file permissions problem. You’ll need to give “admin” RW access to /library/Application Support/“Palm Desktop” and “Palm HotSync” (only one of these needs to be changed, but I can’t remember which one)
I’m using FilteringTable in a dynamically generated website, here’s how I got it working…
Thanks to Tom Trenka for the original nudge in the direction of the Dojo nightly test for the programmatic usage of FilteringTable
``
/* * Dynamic Filtering Table */
// Creates the FilteringTable widget and ties it to an existing HTML Table. // Call once on load.
function doCreateFilteringTable(view) { // debugger; dojo.io.bind({ url: “/get_columns?view=“+view, load: handleCreateFilteringTable, error: handleError, timeout: handleTimeout, mimetype: “application/json” }); }
Use a JSON parser instead, like this one at http://www.json.org/json.js/
Why? it protects you against malicious servers feeding you bad bad code…
I’ve published 2 template tags for use with GeoIP at geoip.py.
Hope they may be of use…
Usage:
Templatetag get_country_name returns the client’s country code #
Example: {% ifequal get_country “GB” %} do something {% endifequal %} Templatetag get_country sets the given variable name to the client’s country code #
Example: {% get_country as my_country %} {% ifequal my_country “GB” %} do something {% endifequal %}
An excellent tutorial from James Bennett for your first step into combining AJAX with Django
“A step-by-step walk through a simple AJAX form with Django backend”