These two files are IE generated logs. I removed my real server name and shrinked unrelevent parts from requests on "working" server. (django developpment server)
Thoses logs are related to this bug report:
""" | |
# Christophe31 | |
Shamlessly taken from: https://gist.github.com/ramusus/4343464 | |
adapted to dj1.7 and allow Inline class as field argument. | |
# Ramsus | |
adminreverse from here http://djangosnippets.org/snippets/2032/ | |
changed for working with ForeignKeys |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
usage: | |
from jinja_env import template_from_rtf | |
template = template_from_rtf(open("my.rtf", 'rb').read()) | |
context = {"var1":5, "now":datetime.datetime.now()} | |
template.render(**context) | |
note: special opening and closing braces and ";" for required spaces |
#! /usr/bin/env python | |
# -*- conding:utf8 -*- | |
# authors Julien Recurt | |
# Christophe Narbonne | |
import sys | |
import urllib | |
import commands | |
import collections | |
import socket |
############# init parent django project settings | |
from os import path | |
import sys | |
sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) | |
import settings | |
from django.core.management import setup_environ | |
setup_environ(settings) | |
############### |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import settings | |
from SOAPpy import WSDL | |
ovh_server = WSDL.Proxy('https://www.ovh.com/soapi/soapi-re-1.26.wsdl') | |
def ovh_in_request(view_func): | |
"""django decorator""" |
These two files are IE generated logs. I removed my real server name and shrinked unrelevent parts from requests on "working" server. (django developpment server)
Thoses logs are related to this bug report:
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
# | |
# Now this lib is on her own full repository and pypi page: | |
# http://github.com/Christophe31/screenutils | |
# http://pypi.python.org/pypi/screenutils | |
# | |
# This may not work with bpython, use python 2.6 or upper | |
# | |
# This program is free software. It comes without any warranty, to |
#!/usr/bin/env python | |
# -*- coding:utf8 -*- | |
# This script will merge all json bookmarks files from current directory | |
import json | |
import os | |
mainjson={} | |
def merge(source,target=[]): | |
for child in source["children"]: |