Skip to content

Instantly share code, notes, and snippets.

import pymysql.cursors
import toml
class Database:
def __init__(self):
self._cfg = toml.load('cfg/db.toml')
def connect(self):
_db = self._cfg['mysql']

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
a {text-decoration: none;};
@Domw
Domw / Lorem ipsum
Created January 13, 2012 11:25
lorem ipsum sample
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sodales tellus ut dolor pharetra ornare. Ut felis urna, aliquam suscipit adipiscing sit amet, lobortis non urna. Quisque vulputate convallis magna vel commodo. Pellentesque nec nisl tortor. Etiam et posuere arcu. Pellentesque augue arcu, fermentum ut consectetur non, rhoncus ut erat. Nulla facilisi. Duis purus purus, malesuada ut aliquet nec, feugiat sit amet odio. Sed gravida tincidunt lacus, vel semper leo dapibus vel.
Pellentesque placerat, lectus ac congue ornare, velit mauris tempus metus, vel sollicitudin neque justo vel libero. Cras placerat, ipsum at sagittis lacinia, nunc augue sagittis mi, ut consectetur sapien nisi ac sapien. Donec arcu diam, suscipit vel venenatis vitae, vehicula semper odio. Fusce porta magna tristique leo malesuada faucibus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Maecenas at ligula eget dui hendrerit interdum. Etiam commodo fermentum tortor, in congue diam consect
@Domw
Domw / footnotify.css
Created July 10, 2011 22:46 — forked from hpeikemo/footnotify.css
Footnotify
/*
* Customize Footnotify on your site by adding custom css.
*
* This file is NOT loaded by the script and must be
* implemented on the site in order to apply.
*
* More info: https://gist.github.com/1046538
*
*/