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
http://www.eclipse.org/ | |
Quash (only lines with the velocity code) | |
Find: ^(\s+)([\$|#]) | |
Replace: #*$1*#$2 | |
Un-quash | |
Find: ^#\*(\s+)\*# | |
Replace: $1 | |
----------- | |
Replace empty lines with ## (multiple lines will be replaced into one |
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 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>list</title> | |
<script type="text/javascript" src="/scripts/jquery.js"></script> | |
<script type="text/javascript"> | |
//<![CDATA[ | |
$(document).ready(function(){ |
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
ie: !!navigator.userAgent.match(/MSIE/), | |
protocol: location.protocol.match(/https/i) ? 'https' : 'http', |
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
$(document).ready(function(){ | |
$("div#foo").fadeIn("fast",function(){ | |
$("div#bar").fadeIn("fast", function(){ | |
// etc. | |
}); | |
}); | |
$('#quotes img:first-child').fadeIn(2000,function(){ | |
$('#quotes img:last-child').fadeIn(2000,function(){ |
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
<?php | |
$arrangements = array( | |
array(1,2), | |
array(1,3), | |
array(2,3), | |
array(3,1), | |
array(3,2) | |
); |
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
#item | |
{ | |
-webkit-user-select: none; | |
} |
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
<!-- different methods --> | |
<meta name="viewport" content="user-scalable=0"/> | |
<meta name="viewport" content="width=device-width; initial-scale=.5; maximum-scale=1.0;" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> | |
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" /> |
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
<style type="text/css"> | |
* { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
} | |
</style> |
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> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/> | |
<title>Untitled</title> | |
<script> | |
document.addEventListener('touchstart', function (e) {e.preventDefault();}, false); |
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> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/> | |
<title>Untitled</title> | |
<style type="text/css"> | |
* | |
{ |
OlderNewer