codysoyland.com
Evented Django part one: Socket.IO and gevent | codysoyland.com
http://codysoyland.com/2011/feb/6/evented-django-part-one-socketio-and-gevent
Evented Django part one: Socket.IO and gevent. Socket.IO was developed with a Node.JS. Server implementation, but work is being done to add server implementations to a variety of languages. Two such servers exist for Python, tornadio. I'm a big fan of gevent, so I will use gevent-socketio, but tornadio looks well-written and very promising. Why you should be thinking about gevent. It's Python, a sane and concise language with an awesome standard library and community. Like Node.JS,. Is built on libevent (.
codysoyland.com
Django Template Tag Namespaces Now Possible | codysoyland.com
http://codysoyland.com/2010/aug/9/django-template-tag-namespaces-now-possible
Django Template Tag Namespaces Now Possible. I've been interested in the Django template language for some time now, and I've admired much of its simplicity and extendibility. I even wrote a shell for it. And a two-phase template renderer. And some various discussions on the mailing list ( 1. And not requiring a fork of Django. This code is available on Github as django-smart-load-tag. Load lib1 %} {% tag1 %} {% tag2 %}. Load lib1 %} {% lib1.tag1 %} {% lib1.tag2 %}. To load a specific tag (optionally ren...
codysoyland.com
Django Template Debugging Made Easier with django-template-repl | codysoyland.com
http://codysoyland.com/2009/dec/13/django-template-debugging-made-easier
Django Template Debugging Made Easier with django-template-repl. Provides this type of tool for the Django. There are two ways to invoke the REPL. One uses a management command and the other uses a template tag. Run "python manage.py templateshell" to open the REPL:. Python manage.py templateshell. This behaves almost exactly like a python shell. It uses the readline library, so it handles command history. It also detects when you are inside a block tag, giving you decent multi-line support. If you need ...
codysoyland.com
codysoyland.com
http://codysoyland.com/2010/aug
Posts for August 2010. Django Template Tag Namespaces Now Possible. I've been interested in the Django template language for some time now, and I've admired much of its simplicity and extendibility. I even wrote a shell for it. And a two-phase template renderer. And some various discussions on the mailing list ( 1. And not requiring a fork of Django. This code is available on Github as django-smart-load-tag. This is the blog of Cody Soyland, a software developer living in Lawrence, KS. Evented Django par...
codysoyland.com
codysoyland.com
http://codysoyland.com/2011/feb
Posts for February 2011. Evented Django part one: Socket.IO and gevent. This is the blog of Cody Soyland, a software developer living in Lawrence, KS. Concurrent Python (AWPUG talk resources). Django on gevent Djangocon slides. Evented Django part one: Socket.IO and gevent. Django Template Tag Namespaces Now Possible. SSH tip: Automatic Reverse Tunnels for Workflow Simplification. Thread-Safe Object-Oriented Views in Django. Evaluating Django Caching Options. Evaluating Django Caching Options.
codysoyland.com
Evaluating Django Caching Options | codysoyland.com
http://codysoyland.com/2010/jan/17/evaluating-django-caching-options
Evaluating Django Caching Options. Django's template caching templatetag. Django's two-part caching middleware. On-disk caching with Django-staticgenerator. Varnish as front-end load-balancing cache. For the purpose of establishing a baseline, I ran ApacheBench on my setup with no caching turned on. I'm running 10 concurrent requests for a 1000 requests using the following ApacheBench command:. Ab -n 1000 -c 10 server-name. Here's a snipped version of the results:. Django's template caching templatetag.
github.com
chrisdickinson (Chris Dickinson) · GitHub
https://github.com/chrisdickinson
X63;hris@neversaw.us. Nov 30, 2008. Local development server that aims to make using browserify fast and fun. A javascript template library, aimed at being compatible with django's template language. A node.js framework that glues together routes, views, orms, and things. designed to help tim allen navigate his day. Create matching selectors from css for your very own nested object hierarchy. 402 contributions in the last year. Clarify asssertion error messages. You can't perform that action at this time.
codysoyland.com
SSH tip: Automatic Reverse Tunnels for Workflow Simplification | codysoyland.com
http://codysoyland.com/2010/jun/6/ssh-tip-automatic-reverse-tunnels-workflow-simplif
SSH tip: Automatic Reverse Tunnels for Workflow Simplification. I came up with a trick today to simplify the workflow of certain tasks with SSH. The problem this solves is largely driven by a particular annoyance I had with remote SSH file management. Consider the following workflow for locating a remote file and copying it back to the local machine:. Find the remote file: local: $ ssh remote remote: $ find . -name file.tar.gz /home/cody/somewhere/deep/file.tar.gz # Ah, there it is! Now, the local machin...
codysoyland.com
Introduction to Surlex | codysoyland.com
http://codysoyland.com/2009/sep/6/introduction-surlex
Surlex (Simple URL Expression) is a language for matching and extracting text, similar to regex (regular expression). It works by generating a regular expression from a more concise syntax that is designed to produce easy-to-read url patterns. Surlex is indexed in PyPI, so it can be installed via pip or easy install:. Alternatively, the source code repository is available via git:. Git clone git:/ github.com/codysoyland/surlex.git. A capture is performed by enclosing a variable name inside angle brackets:.
codysoyland.com
Introduction to Surlex Slides from Djangocon 2009 | codysoyland.com
http://codysoyland.com/2009/sep/9/introduction-surlex-slides-djangocon-2009
Introduction to Surlex Slides from Djangocon 2009. I have uploaded my slides from my lightning talk on Surlex at Djangocon 2009. I have uploaded my slides from my lightning talk on Surlex at Djangocon 2009. Here is the link: http:/ media.codysoyland.com/pdf/surlex-presentation.pdf. Blog comments powered by Disqus. This is the blog of Cody Soyland, a software developer living in Lawrence, KS. Concurrent Python (AWPUG talk resources). Django on gevent Djangocon slides. Evaluating Django Caching Options.
SOCIAL ENGAGEMENT