Information used:
So, thanks to authors for ideas and detailed tutorials how to get it working.
import os | |
from log_exceptions import log_exceptions | |
def throw_something(a1, a2): | |
raise Exception('Whoops!') | |
@log_exceptions(log_if = os.getenv('MYAPP_DEBUG') is not None) | |
def my_function(arg1, arg2): | |
throw_something(arg1 + 24, arg2 - 24) |
Information used:
So, thanks to authors for ideas and detailed tutorials how to get it working.
[1]: https://www.udemy.com/swift-learn-apples-new-programming-language-by-examples/ | |
[2]: https://www.udacity.com/course/ud585 | |
[3]: http://www.lynda.com/Swift-tutorials/Swift-Programming-Language-First-Look/182175-2.html | |
[4]: https://www.bloc.io/swiftris-build-your-first-ios-game-with-swift | |
[5]: http://www.bignerdranch.com/we-teach/how-to-prepare/ios-device-provisioning.html | |
[6]: https://parse.com | |
[7]: http://www.weheartswift.com/swift-programming-scratch-100-exercises/ | |
[8]: https://www.weheartswift.com/object-oriented-programming-swift/ | |
[9]: http://www.learnswift.io/blog/2014/6/12/size-classes-with-xcode-6-and-swift | |
[10]: http://www.raywenderlich.com/83129/beginning-auto-layout-tutorial-swift-part-1 |
*filter | |
# Allow all loopback (lo0) traffic and drop all traffic to 127/8 that doesn't use lo0 | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT | |
# Accept all established inbound connections | |
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT | |
# Allow all outbound traffic - you can modify this to only allow certain traffic |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
#!/usr/bin/env python | |
from __future__ import with_statement | |
import os | |
import re | |
import shutil | |
import subprocess | |
import sys | |
import tempfile | |