Moved over to https://github.com/dominicfallows/digital-project-development-contract-agency-or-company-to-freelancer
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 functools import wraps | |
from inspect import getargspec | |
from hypothesis import given | |
from hypothesis.internal.reflection import copy_argspec | |
from twisted.internet import reactor | |
from twisted.internet.threads import deferToThread, blockingCallFromThread | |
def given_defer(*generator_arguments, **generator_kwargs): |
This post described how to create an application with mithril 0.2.x. Now that ver 1.0 is out, some things are a little differnent.
The example is updated with the current version of mithril, though.
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 defaults = function(obj, source) { | |
for (var prop in source) { | |
if (obj[prop] === undefined) obj[prop] = source[prop]; | |
} | |
return obj; | |
} | |
var stringifyGETParams = function(url, data) { | |
var query = ''; | |
for (var key in data) { |
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
Hosting | |
We provide hosting for our own built websites on our preferred hosting provider <hosting provider name>. | |
Based on their SLA we endeavor to have 99.9% uptime on our servers measured annually. | |
There may of course be times when the server will not be available, this can be scheduled or unscheduled. | |
Scheduled downtime is when we know it is going to happen and tell you about it in advance. Scheduled downtime will wherever possible, almost certainly be outside of normal office hours. We’ll do our stuff in the evening or at weekend to minimize impact on your business. | |
There may be very rare occasions when we need to restart the server during normal office hours and it is not possible to inform you before hand. We don’t make these decisions lightly and if this does happen we apologise. |
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
url_sq : s small square 75x75 | |
url_q : q large square 150x150 | |
url_t : t thumbnail, 100 on longest side | |
url_s : m small, 240 on longest side | |
url_n : n small, 320 on longest side | |
url_m : - medium, 500 on longest side | |
url_z : z medium 640, 640 on longest side | |
url_c : c medium 800, 800 on longest side† | |
url_l : b large, 1024 on longest side* | |
url_o : o original image, either a jpg, gif or png, depending on source format |

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
#!/usr/bin/env python | |
# encoding: utf-8 | |
# 2014 - Neal Shyam [@nealrs | nealshyam.com] | |
# usage: $python checkrap.py first_name last_name domain_name | |
# e.g: $python checkrap.py john doe gmail.com | |
# | |
# | |
# PLEASE DON'T BE A DICK OR USE THIS FOR EVIL. | |
# Seriously, the internet is a nice place, let's keep it that way. |
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
#!/usr/bin/env python | |
# | |
# AccessDump.py | |
# A simple script to dump the contents of a Microsoft Access Database. | |
# It depends upon the mdbtools suite: | |
# http://sourceforge.net/projects/mdbtools/ | |
import sys, subprocess, os | |
DATABASE = sys.argv[1] |