Sunday, January 27, 2013

5th posting

<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
<pre class="prettyprint linenums">
<!-- your code here-->
<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
</pre>
<pre class="prettyprint linenums">
<!-- your code here-->
<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
</pre>
<code class="prettyprint linenums lang-Scala">
<!-- your code here-->
<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
</code>
<pre class="prettyprint linenums">
  some code
<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
</pre>
<script>
  !function ($) {
    $(function(){
      window.prettyPrint && prettyPrint()   
    })
  }(window.jQuery)
</script>
1<pre class="prettyprint linenum" >
<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
2
3</pre>
<code class="prettyprint linenum">
&lt;html&gt;
&lt;body&gt;
&lt;h1&gt;my first heading&lt;/h1&gt;
&lt;p&gt;my first heading&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code>

title2


<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
</pre>



<code class="prettyprint linenums lang-html">
<!-- your code here-->

<script type="text/javascript" language="javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>
<script type="text/javascript" language="javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/lang-css.js"></script>
<script type="text/javascript">
<code class="prettyprint linenums lang-html">
<cfset myVar = 123>
<cfset anotherVar = 321>
<cfset sum = myVar + anotherVar>
Here is what the variable 'sum' holds sum = 444 <br/>
You can output it using: <cfoutput>#sum#</cfoutput> <br/>
</code>



Saturday, January 26, 2013

prettify test 3


<script type="text/javascript" language="javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>
<script type="text/javascript" language="javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/lang-css.js"></script>
<script type="text/javascript">
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}
addLoadEvent(function() {
    prettyPrint linenums();
});
</script>
<style type="text/css">
/* Pretty printing styles. Used with prettify.js. */

.str { color: #080; }
.kwd { color: #008; }
.com { color: #800; }
.typ { color: #606; }
.lit { color: #066; }
.pun { color: #660; }
.pln { color: #000; }
.tag { color: #008; }
.atn { color: #606; }
.atv { color: #080; }
.dec { color: #606; }
pre.prettyprint { padding: 2px; border: 1px solid #888; }

@media print {
  .str { color: #060; }
  .kwd { color: #006; font-weight: bold; }
  .com { color: #600; font-style: italic; }
  .typ { color: #404; font-weight: bold; }
  .lit { color: #044; }
  .pun { color: #440; }
  .pln { color: #000; }
  .tag { color: #006; font-weight: bold; }
  .atn { color: #404; }
  .atv { color: #060; }
}
</style>