Monday, December 12, 2011
'via Blog this'
Brian W. Kernighan, expositor par excellence, coined the name UNIX, popularized the tools philosophy,
6
wrote the best tutorials, and became a proliļ¬c inventor of specialized ‘‘little languages’’: ratfor, eqn,
awk and pic. The Center’s typesetting guru since the untimely death of Joe Ossanna, Brian produced the
current ‘‘device-independent’’ version of troff and postprocessors for particular hardware.
Sunday, December 11, 2011
Django tips: Template context processors
Django tips: Template context processors: "Enter RequestContext and context processors
As it turns out, Django provides an extremely easy way to do this. Every time you render a template, you give it a “context”; this is a dictionary-like object whose keys are variable names and whose values are the values of the variables. When you render a template with a given context, every key in the context dictionary becomes a variable in the template that you can access and use."
'via Blog this'
As it turns out, Django provides an extremely easy way to do this. Every time you render a template, you give it a “context”; this is a dictionary-like object whose keys are variable names and whose values are the values of the variables. When you render a template with a given context, every key in the context dictionary becomes a variable in the template that you can access and use."
'via Blog this'
Django | Running Django on Jython | Django documentation
Django | Running Django on Jython | Django documentation: "Running Django on Jython
Jython is an implementation of Python that runs on the Java platform (JVM). Django runs cleanly on Jython version 2.5 or later, which means you can deploy Django on any Java platform.
This document will get you up and running with Django on top of Jython.
Installing Jython"
'via Blog this'
Jython is an implementation of Python that runs on the Java platform (JVM). Django runs cleanly on Jython version 2.5 or later, which means you can deploy Django on any Java platform.
This document will get you up and running with Django on top of Jython.
Installing Jython"
'via Blog this'
Saturday, December 10, 2011
Friday, December 09, 2011
BBC News - Skywatchers await lunar eclipse
BBC News - Skywatchers await lunar eclipse: "This is the second total lunar eclipse this year and the last until 2014. This type of eclipse occurs when the Earth casts its shadow over the Moon.
But indirect sunlight can still illuminate the Moon turning it a dramatic shade of red.
The shadow starts falling at 11:33 GMT and ends after 17:30 GMT. The eclipse will last 51 minutes eight seconds."
'via Blog this'
But indirect sunlight can still illuminate the Moon turning it a dramatic shade of red.
The shadow starts falling at 11:33 GMT and ends after 17:30 GMT. The eclipse will last 51 minutes eight seconds."
'via Blog this'
YOHJI YAMAMOTO POUR HOMME Men - Coats & jackets - Blazer YOHJI YAMAMOTO POUR HOMME on YOOX Canada
YOHJI YAMAMOTO POUR HOMME Men - Coats & jackets - Blazer YOHJI YAMAMOTO POUR HOMME on YOOX Canada: "
Share
Tell a friend
YOHJI YAMAMOTO POUR HOMME
BlazerYOOX Collection: Fall-Winter
PRODUCT INFO
Composition: 100% Wool
Details: flannel, darts, lapel collar, button closing, single chest pocket, two front pockets, with flap, long sleeves, rear slit, lined interior, three inside pockets"
Share
Tell a friend
YOHJI YAMAMOTO POUR HOMME
BlazerYOOX Collection: Fall-Winter
PRODUCT INFO
Composition: 100% Wool
Details: flannel, darts, lapel collar, button closing, single chest pocket, two front pockets, with flap, long sleeves, rear slit, lined interior, three inside pockets"
python - Hacking Django Admin, hooks for login/logout - Stack Overflow
python - Hacking Django Admin, hooks for login/logout - Stack Overflow: "
3
down vote
accepted
I was also looking for an answer to this and ended up going another way. You can use your own views for login and logout, which perform some action and then call the auth views. For login:
def login(request, *args, **kwargs):
from django.contrib.auth.forms import AuthenticationForm
if request.method == 'POST':
form = AuthenticationForm(data=request.POST)
if form.is_valid():
# login successful
do_something()
from django.contrib.auth.views import login as authlogin
return authlogin(request, *args, **kwargs)
And for logout:"
'via Blog this'
3
down vote
accepted
I was also looking for an answer to this and ended up going another way. You can use your own views for login and logout, which perform some action and then call the auth views. For login:
def login(request, *args, **kwargs):
from django.contrib.auth.forms import AuthenticationForm
if request.method == 'POST':
form = AuthenticationForm(data=request.POST)
if form.is_valid():
# login successful
do_something()
from django.contrib.auth.views import login as authlogin
return authlogin(request, *args, **kwargs)
And for logout:"
'via Blog this'
HRI 2013 : ACM/IEEE International Conference on Human-Robot Interaction
HRI 2013 : ACM/IEEE International Conference on Human-Robot Interaction: "HRI 2013 : ACM/IEEE International Conference on Human-Robot Interaction"
'via Blog this'
'via Blog this'
Spectrogram - Wikipedia, the free encyclopedia
Spectrogram - Wikipedia, the free encyclopedia: "A spectrogram is a time-varying spectral representation[1] (forming an image) that shows how the spectral density of a signal varies with time. "
Scaleogram - Wikipedia, the free encyclopedia
Scaleogram - Wikipedia, the free encyclopedia: "In signal processing, a scaleogram or scalogram is a visual method of displaying a wavelet transform. There are 3 axes: x representing time, y representing scale, and z representing coefficient value. The z axis is often shown by varying the colour or brightness.
A scaleogram is the equivalent of a spectrogram for wavelets.
"
A scaleogram is the equivalent of a spectrogram for wavelets.
"
Subscribe to:
Posts (Atom)