A short intro on classes in Python with code snippets and notes taken from the python docs
Class: a blue print for an instance
Instance: a constructed object of the class
Type: indicates the class the instance belongs to
Attribute: any object value : object.attribute
Method: a "callable attribute" defined in the class
Monday, May 25, 2015
Sunday, March 29, 2015
Flask pe Raspberry cu Postgres, nginx si uwsgi
Raspberry Arch Linux pe ARM. Install guide here
Se presupune ca sistemul e conectat la internet.
pacman -S nginx python2-virtualenv python-virtualenv uwsgi-plugin-python,uwsgi-plugin-python2 python2-setuptools python2-pip posgtresql bash-completion gcc pithon-pip vim htop atpo sudo nload minicom links tcpdump git tmux ntpd zsh
VLAN-uri
Am vrut sa am doua sisteme sa comunice prin switch pe vlan-uri separate.
Ar fi doua optiuni.
In sensul acesta trebuie sa facem in felul urmator:
Ar fi doua optiuni.
- SVI pe switch
- SVI pe linux.
In sensul acesta trebuie sa facem in felul urmator:
Saturday, February 21, 2015
Keeping track of notes - notepad on steroids
You may like Zimwiki .
It's a wiki based program that's bare bones, but has the basics: font format, headers, bullet lists, number lists, to do boxes.
It's a wiki based program that's bare bones, but has the basics: font format, headers, bullet lists, number lists, to do boxes.
Friday, February 13, 2015
Subscribe to:
Posts (Atom)