This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \usepackage{transferprojekt} | |
| \begin{document} | |
| \author{Pascal Hartig} | |
| \title{Mein TP} | |
| \studyemail{[email protected]} | |
| \studygroup{BA 110 WINF1} | |
| \studymodule{Software Engineering} | |
| \date{06. Juni 2011} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| === modified file 'init/job_process.c' | |
| --- init/job_process.c 2011-08-11 21:08:52 +0000 | |
| +++ init/job_process.c 2011-09-22 06:38:43 +0000 | |
| @@ -1213,6 +1213,19 @@ | |
| break; | |
| } | |
| + /* | |
| + * The process, however, might exit during the pre-stop | |
| + * phase. If this is the case, we don't want to respawn it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python2.7 | |
| # coding: utf-8 | |
| import sys | |
| import pyotp | |
| import urllib | |
| def generate(mail): | |
| secret = pyotp.random_base32() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Package resource API | |
| -------------------- | |
| A resource is a logical file contained within a package, or a logical | |
| subdirectory thereof. The package resource API expects resource names | |
| to have their path parts separated with ``/``, *not* whatever the local | |
| path separator is. Do not use os.path operations to manipulate resource | |
| names being passed into the API. | |
| The package resource API is designed to work with normal filesystem packages, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workon() { | |
| source ~/.virtualenvs/$1/bin/activate | |
| } | |
| mkvirtualenv() { | |
| virtualenv ~/.virtualenvs/$1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -ur google_appengine/google/appengine/tools/dev_appserver_import_hook.py google_appengine.mod//google/appengine/tools/dev_appserver_import_hook.py | |
| --- google_appengine/google/appengine/tools/dev_appserver_import_hook.py 2011-11-03 15:20:08.000000000 +0100 | |
| +++ google_appengine.mod//google/appengine/tools/dev_appserver_import_hook.py 2011-11-08 14:52:18.109452727 +0100 | |
| @@ -24,6 +24,7 @@ | |
| import imp | |
| import itertools | |
| import locale | |
| +import inspect | |
| import logging | |
| import mimetypes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import re | |
| import subprocess | |
| import sys | |
| modified = re.compile('^(?:M|A)(\s+)(?P<name>.*)') | |
| CHECKS = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| import errno | |
| import os | |
| import platform | |
| import shutil | |
| import stat | |
| import subprocess | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import subprocess | |
| import hashlib | |
| import getpass | |
| import base64 | |
| CMD = ("echo -n '{}' | " | |
| "openssl dgst -sha1 -binary -hmac '{}' | " | |
| "openssl enc -base64") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Install salt-minion with one command on Ubuntu Precise. | |
| Use like this:: | |
| fab setup -H [email protected] | |
| """ | |
| from fabric.api import sudo |