- dir()
- autocompletion - po ewaluacji
- root
- Po Primary Key
@plugin.register(chain='deployment', requires=[], priority=0) | |
def puppet(deployment_id): | |
if not settings.PUPPET_DB_URL: | |
return True | |
deployment = Deployment.objects.get(id=deployment_id) | |
return deployment.puppet_certificate_revoked |
import datetime | |
results = {} | |
from rq import Queue, use_connection | |
class InProgressException(Exception): | |
pass | |
def test(*args, **kwargs): |
(ralph)ralph@assets-www:~/lib$ pip freeze | |
Django==1.4.2 | |
Jinja2==2.6 | |
MySQL-python==1.2.3 | |
Pillow==1.7.8 | |
PyYAML==3.10 | |
Pygments==1.6 | |
SQLAlchemy==0.7.8 | |
South==0.7.6 | |
Sphinx==1.1.3 |
Pomysły na salkę wpisujcie miasta! |
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
// #!Swift-1.1 | |
import Foundation | |
// MARK: - (1) classes | |
// Solution 1: | |
// - Use classes instead of struct | |
// Issue: Violate the concept of moving model to the value layer | |
// http://realm.io/news/andy-matuschak-controlling-complexity/ |