Skip to content

Instantly share code, notes, and snippets.

@TomiToivio
TomiToivio / svg.php
Created September 27, 2012 00:33
svg.php
<?php
$plotxml = file_get_contents("plot.xml");
$plotxml=preg_replace("/<Arc>/","<ellipse",$plotxml);
$plotxml=preg_replace("/<\/Arc>/","/>",$plotxml);
$plotxml=preg_replace("/<ArcExtend>/","rx=\"",$plotxml);
$plotxml=preg_replace("/<\/ArcExtend>/","\"",$plotxml);
$plotxml=preg_replace("/<XCenter>/","cx=\"",$plotxml);
$plotxml=preg_replace("/<\/XCenter>/","\"",$plotxml);
$plotxml=preg_replace("/<YCenter>/","cy=\"",$plotxml);
$plotxml=preg_replace("/<\/YCenter>/","\"",$plotxml);
@cvonkleist
cvonkleist / gist:2150731
Created March 21, 2012 18:22
web hacking resources
- the book
- web application hacker's handbook (http://amzn.com/1118026470)
- hacking challenges and practice
- hack this site (http://hackthissite.org)
- damn vulnerable web app (http://dvwa.co.uk)
- capture-the-flag competitions (http://capture.thefl.ag)
- local groups
- swampsec (http://swampsec.org)
- uf hacking club (http://ufhack.org)
- gainesville hackerspace* (http://skillhouse.org)