Regular expressions in python-markdown2 (part 2)
This article is a look into the performance of one of the regular expressions used in the python-markdown2 Python module for converting Markdown syntax to HTML. It was initially written for pure fun, and in celebration of its own pointlessness, but eventually the changes proposed here made it upstream in pull request 207.
Regular expressions in python-markdown2 (part 1)
This article is a look into the performance of one of the regular expressions used in the python-markdown2 Python module for converting Markdown syntax to HTML. It was initially written for pure fun, and in celebration of its own pointlessness, but eventually the changes proposed here made it upstream in pull request 204.
web.py Deployment on Ubuntu 14.04
These instructions are a note to myself, on how to get web.py deployed on a new VM with Ubuntu 14.04, for development:
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install --yes openssh-server sudo reboot
After the reboot:
sudo apt-get install --yes apache2 libapache2-mod-wsgi sudo apt-get install --yes git sudo mkdir /opt/web.py sudo chown `whoami`:`whoami` /opt/web.py cd /opt/web.py git clone git://github.com/webpy/webpy.git ln -s `pwd`/webpy/web . cat <<EOF > index.py import web urls = ( '/(.*)', 'hello' ) app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'World' return 'Hello, ' + name + '!' if __name__ == "__main__": app.run() EOF python index.py
Notes and links from PyCon 2015
These are a couple of random links from things mentioned in talks during PyCon 2015, which took place in Dublin in October 2015. There were two tracks of talks and two tracks of workshops. One of the non-workshop tracks was almost dedicated to data processing with Python, and the other had various subjects. I followed the latter track.
Percona Webinar: What I Learned While Migrating MySQL On-Premises To Amazon RDS
I miss having the free time to attend Percona Webinars. They are really good.
This is a recording from a webinar presented by a Technical Account Manager at Percona, regarding experiences gained from the migration of a sizeable MySQL installation from onsite to AWS RDS. It's packed with valuable technical information, as are Percona webinars, typically.
Security Links Cheatsheet
Security-oriented Linux Distributions
- McAfee ShareScan for SMB/CIFS Shares.
- SoftPerfect NetworkScanner for IP reachability and a handful of well-known ports.
- Search engines: shodan.io, censys.io.
Knowledge & Practice
- Penetration Testing Practice Labs, Vulnerable Apps and Systems
- PenTester Lab
- The Matasano Crypto Challenges: a set of crypto challenges with solutions in mainstream programming languages.
- 7 Free InfoSec Training Resources For IT Pros
- Hack This Site
- OWASP WebGoat
- Damn Vulnerable Web Application
- 10 Easy Ways to Increase Your Application Security Knowledge
Security Job Boards
Security Job Tips
- The Top 10 Highest Paying Jobs in Information Security, Part 1 and Part 2.
- Landing a Hands-On Security Gig, Part 1 and Part 2.
Annual Rate of Occurrence
In the context of risk management, the annual rate of occurrence is an estimate of the repetitions of the realization of a risk, over the period of a year. The relationship between ARO, SLE and ALE is:
ALE = SLE * ARO
In the context of risk management, a residual risk is one that has been identified, but for any reason it cannot be dealt with.