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
from HTMLParser import HTMLParser | |
import urllib2 | |
class GetTitle(HTMLParser): | |
def __init__(self): | |
HTMLParser.__init__(self) | |
self.title_flag = False | |
def handle_starttag(self, tag, attrs): | |
if tag == 'title': |
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/bash | |
mkdir web2py-for-fluxflex | |
cd web2py-for-fluxflex | |
wget http://www.web2py.com/examples/static/web2py_src.zip | |
unzip web2py_src.zip | |
rm web2py_src.zip | |
# Get web2py logo and rename web2py_logo.png. |
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
#include <iostream> | |
#include <boost/lexical_cast.hpp> | |
#include <boost/date_time/posix_time/posix_time.hpp> | |
#include <boost/bind.hpp> | |
#include <boost/thread.hpp> | |
using namespace std; | |
using namespace boost; | |
/* |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>x-webkit-speech test</title> | |
<script> | |
function speechInput() { | |
alert("changed"); | |
} | |
</script> | |
</head> |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>x-webkit-speech test</title> | |
<script> | |
function onchange() { | |
alert("changed"); | |
} | |
</script> | |
</head> |
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
<html> | |
<head> | |
<title>x-webkit-speech test</title> | |
</head> | |
<body> | |
<input type="text" x-webkit-speech /> | |
</body> | |
</html> |
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
<html> | |
<head> | |
<title>javascript table</title> | |
<script type="text/javascript"> | |
function onload() | |
{ | |
var table = document.getElementById("t"); | |
for(var i = 0; i < 20; i++ ) { | |
var row = table.insertRow(-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
#include <iostream> | |
#include <string> | |
#include <boost/asio.hpp> | |
using namespace std; | |
using namespace boost::asio; | |
int main() | |
{ | |
/* |
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
<html> | |
<head> | |
<title>Hello PoinPoin!</title> | |
<style type="text/css"> | |
@-webkit-keyframes PoinPoin { | |
50% {-webkit-transform: translate(0px, 80px);} | |
} | |
p { | |
-webkit-animation-name: PoinPoin; | |
-webkit-animation-duration: 2s; |
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
<html> | |
<head> | |
<style type="text/css"> | |
#test { | |
position: absolute; | |
top: 0px; | |
} | |
</style> | |
<script type="text/javascript"> | |
var tid; |