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
from django.contrib.auth.models import User | |
users = User.objects.order_by('-last_login') |
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
{%for u in users%} | |
{{u}} - {{u.last_login}}<br /> | |
{% endfor %} |
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
This thread can house answer to common questions - installing Tor, how safe is Tor, etc. Hopefully that will de-clutter the front page a bit. Contribute to this guide here: https://gist.github.com/2909317 | |
**FAQ** | |
*How do I install Tor?* | |
Go here: https://www.torproject.org/download/download-easy.html.en | |
*How safe is Tor?* |
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
{ | |
"servers": { | |
"servername.com": { | |
"publicKey": [ | |
"-----BEGIN PUBLIC KEY-----", | |
"MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0VmDBbzXdgubV/X8JP9B", | |
"rM/CqvXBey49BoYjk0ar4OA4LZnmD0A/pn6voPPe+DQC3ZpSFfkdZc5s/ij7edve", | |
"ob+reWdGOQAQnDxaGQoFyru/2tz1lNfaVOBU71QcpG4kda4XDjbS62hOqebgkQ0X", | |
"71ireglZeaJABvu6EFPFBwyr2ROmM1dq4rKtinpgUf9CTMPL/8yyitka+HsVZTuI", | |
"HDpFFxv6xPntfjMrIIRUPieIjRSJcF9yrTVqDIIOO9J3KplphXLXhAHRAnX3ducD", |
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
var publicKey = our_data.servers['servername.com'].publicKey.join('\n'); |
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
# Orignal version taken from http://www.djangosnippets.org/snippets/186/ | |
# Original author: udfalkso | |
# Modified by: Shwagroo Team and Gun.io | |
import sys | |
import os | |
import re | |
import hotshot, hotshot.stats | |
import tempfile | |
import StringIO |
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
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
610.00 | |
24-Apr-12 560.28 | |
23-Apr-12 571.70 | |
20-Apr-12 572.98 | |
19-Apr-12 587.44 | |
18-Apr-12 608.34 | |
17-Apr-12 609.70 | |
16-Apr-12 580.13 | |
13-Apr-12 605.23 | |
12-Apr-12 622.77 |
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
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
610.00 | |
24-Apr-12 560.28 | |
23-Apr-12 571.70 | |
20-Apr-12 572.98 | |
19-Apr-12 587.44 | |
18-Apr-12 608.34 | |
17-Apr-12 609.70 | |
16-Apr-12 580.13 | |
13-Apr-12 605.23 | |
12-Apr-12 622.77 |
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
date | close | |
---|---|---|
1-May-12 | 582.13 | |
30-Apr-12 | 583.98 | |
27-Apr-12 | 603.00 | |
26-Apr-12 | 607.70 | |
25-Apr-12 | 610.00 | |
24-Apr-12 | 560.28 | |
23-Apr-12 | 571.70 | |
20-Apr-12 | 572.98 | |
19-Apr-12 | 587.44 |
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
from django.http import HttpResponse, HttpResponseRedirect | |
from django.template import RequestContext | |
from django.shortcuts import get_object_or_404, render_to_response | |
import threading | |
import pdb | |
def threaded_pdb_example_page(request): | |
def debug(args, **kwargs): | |
request = args['request'] |