Nouveau does not appear to support Pascal cards right now, so you should use the proprietary NVIDIA driver, available from the Additional Drivers applet.
Panel Dithering
from django.forms.util import ErrorList | |
from django import forms | |
class ContractUpdateView(UpdateView): | |
model = Contract | |
template_name = 'contract/contract_form.html' | |
form_class = ContractForm | |
def form_valid(self, form): | |
if self.request.POST.get('finish'): |
#!/bin/bash | |
find . -name "*.pyc" -exec git rm {} \; | |
git commit -m "Removed compiled python files in distribution left after last commit" |
import httplib | |
import xml.dom.minidom | |
HOST = "www.domain.nl" | |
API_URL = "/api/url" | |
def do_request(xml_location): | |
"""HTTP XML Post request""" | |
request = open(xml_location, "r").read() |
import base64 | |
""" | |
Some useful functions for interacting with Java web services from Python. | |
""" | |
def make_file_java_byte_array_compatible(file_obj): | |
""" | |
Reads in a file and converts it to a format accepted as Java byte array | |
:param file object |