Archives

Tuesday, May 24, 2016

Of codes and stale coffee

I'm trying to see if Blogger has any form of default code formatting.

 <script type='text/javascript'>  
 var obj0=document.getElementById(&quot;adsmiddle1<data:post.id/>&quot;);  
 var obj1=document.getElementById(&quot;adsmiddle2<data:post.id/>&quot;);  
 var s=obj1.innerHTML;  
 var r=s.search(/\x3C!-- adsense --\x3E/igm);  
 if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}  
 </script>  

Ooooh, looks like the code needs to be parsed and enclosed in <pre> and <code> tags so they could be displayed properly. This was helpful. Yeyy I can finally paste code lol. That snippet is from this tutorial, it lets you insert Google ads between your post. :)

I have left-over ground coffee from seven months ago that I'm drinking now. The aroma from the tin can still gets me euphoric like it did that first time I opened the pack. But after setting it up on a pour-over and drowning two sachets of Stevia, the elation dispersed at its apparent staleness. It's still good coffee, nonetheless, one that'll help me stay up alright. I may have to add two more scoops on my second cup to make it stronger, but at this point it's okay.


Share: