This file contains 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
<header>header</header> | |
<nav>nav</nav> | |
<article>article</article> | |
<footer>footer</footer> |
This file contains 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
<header>header</header> | |
<nav>nav</nav> | |
<article>article</article> | |
<footer>footer</footer> |
This file contains 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 ruby | |
require "socket" | |
require "timeout" | |
$exit = false | |
IPPROTO_DIVERT = 254 | |
ip = `ifconfig | grep broadcast | awk '{print $2}'`.strip | |
ipfw_output = `ipfw add tee 8080 tcp from #{ip} to any 80` |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> | |
<title></title> | |
<link href="/stylesheets/formtastic.css" media="screen" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<div id="container"> | |
<div id="bd"> |