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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script> | |
<script> | |
jQuery(window).ready(function(){ | |
gMapInit(); | |
jQuery("#watchPositionBtn").click(initiate_watchlocation); | |
jQuery("#stopWatchBtn").click(stop_watchlocation); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script> | |
<script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> | |
<script> | |
jQuery(window).ready(function(){ | |
g_initialize(); | |
jQuery("#findLocationBtn").click(initiate_geolocation); | |
}); |
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
$ sudo apt-get update | |
$ sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake | |
$ rvm install 1.9.2 |
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
1. applicationCache | |
2. border-image: | |
3. border-radius: | |
4. box-shadow: | |
5. Canvas | |
6. Canvas Text | |
7. CSS 2D Transforms | |
8. CSS 3D Transforms | |
9. CSS Animations | |
10. CSS Columns |
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
git reset --hard 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
/* | |
Author: Libo Cao Meyers | |
Date: 10/04/2011 | |
Description: A javascript function that tests all modernizr supported html5/css3 | |
features for current browser. Alert will tell user the supported | |
and non-supported feature for current browser. It contains a good | |
list of html5 tags as well. | |
*/ | |
function testBrowserHtml5Support(){ | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dive Into HTML5</title> | |
<script src="modernizr.min.js"></script> | |
</head> | |
<body> | |
... | |
</body> |
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
<!DOCTYPE html> | |
<html id="home" lang="en"> | |
<head> | |
<title> | |
HTML5 tutorial - 1 | |
</title> | |
</head> | |
<body> | |
.... | |
</body> |
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
LoadModule passenger_module /home/YOUR_USER_NAME/YOUR_APP_NAME/shared/bundle/ruby/1.9.1/gems/passenger-3.0.7/ext/apache2/mod_passenger.so | |
PassengerRoot /home/YOUR_USER_NAME/YOUR_APP_NAME/shared/bundle/ruby/1.9.1/gems/passenger-3.0.7 | |
PassengerRuby /usr/local/bin/ruby |
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
export GEM_HOME=/home/YOUR_USER_NAME/YOUR_APP_NAME/shared/bundle/ruby/1.9.1/ | |
cd $GEM_HOME; | |
cd gems/passenger-3.0.7/bin | |
./passenger-install-apache2-module |
NewerOlder