This file contains hidden or 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/python | |
import copy | |
def mutable(myset): | |
myset.extend([10,11,12]) | |
print 'inside mutable function:', myset | |
def nonmutable(myset): | |
myset = copy.copy(myset) |
This file contains hidden or 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 | |
""" | |
client.py | |
Based heavily on: | |
- https://github.com/mtah/python-websocket/blob/master/examples/echo.py | |
- http://stackoverflow.com/a/7586302/316044 | |
Created by Drew Harry on 2011-11-28. |
This file contains hidden or 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
# | |
# Postfix master process configuration file. Each logical line | |
# describes how a Postfix daemon program should be run. | |
# | |
# A logical line starts with non-whitespace, non-comment text. | |
# Empty lines and whitespace-only lines are ignored, as are comment | |
# lines whose first non-whitespace character is a `#'. | |
# A line that starts with whitespace continues a logical line. | |
# | |
# The fields that make up each line are described below. A "-" field |
This file contains hidden or 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
$ git pull [email protected]:cd34/apex.git master | |
From github.com:cd34/apex | |
* branch master -> FETCH_HEAD | |
Already up-to-date. | |
(pyr27)daviesinc@pch1:/var/www/apex/apex$ git status | |
# On branch new_identification_method_conglomeration_to_support_multiple_auth_ids_with_single_id_for_federated_logins_and_potential_openid_endpoint | |
nothing to commit (working directory clean) | |
(pyr27)daviesinc@pch1:/var/www/apex/apex$ git push | |
To [email protected]:cd34/apex.git | |
! [rejected] master -> master (non-fast-forward) |