Home /Category /code /

Posts with Category code

3:36 am, May 9, 2017
This is what i use to add the code formatting and highlighting to this page. This will add the monokai theme and syntac highlighting to any content located in the <pre><code> tags </code></pre> Not sure why but this page is ..

2:17 am, April 23, 2017
Original Post Date: 11:48 pm, August 19, 2014 To center a foundation grid in the middle of the page, use the -centered class. <div class='row'>      <div class='large-4 columns large-centered'>        &n..

2:17 am, April 23, 2017
Original Post Date: 5:53 am, August 20, 2014 http://www.proglogic.com/code/javascript/time/worldclock.php ..

2:17 am, April 23, 2017
Original Post Date: 8:54 am, August 30, 2014 Check out the node.js module list node-mysql — A node.js module implementing the MySQL protocol node-mysql-native — Yet another pure JS async driver. Pipelining, prepared statements. node-mysq..

2:17 am, April 23, 2017
Original Post Date: 7:30 am, September 8, 2014 Needed this random generator for a graph that needed a ton of random colors, seems to work well. ..

2:17 am, April 23, 2017
Original Post Date: 2:14 am, October 30, 2014 Check if a sql result has any rows and return true or false...

2:17 am, April 23, 2017
Original Post Date: 2:16 am, July 19, 2014 Now im not sure if this is a great idea for SEO purposes, but if you have recently purged old posts from your wordpress database, or have changed the permalink structure and dont want your visitors to keep s..

2:17 am, April 23, 2017
Original Post Date: 10:44 pm, December 9, 2013 President Obama calls on every American to learn code President Barack Obama asks every American to give it a shot to learn to code, kicking off the Hour of Code campaign for Computer Science Educ..

2:17 am, April 23, 2017
Original Post Date: 1:48 am, July 15, 2014 Found this to be too easy! No way... Code: <input type="text" onclick="select()" value="some text" readonly=""> Gives you this: ..

2:17 am, April 23, 2017
Original Post Date: 11:59 pm, July 15, 2014 Not that anyone uses ASP Classic anymore... ..Ok, they do still. Hey it still works. ;)This will download google.com and display it on a .asp classic page of your choice.<%     url = "http..

2:17 am, April 23, 2017
Original Post Date: 12:03 am, July 16, 2014 Because i always forget it! And a click function for good measure.<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>$(document).ready(func..

2:17 am, April 23, 2017
Original Post Date: 11:10 pm, July 21, 2014 Looks interesting and provides text processing, url extraction hashtag and user name processing. A JavaScript utility that provides text processing routines for Tweets. This library conforms to a common tes..

2:17 am, April 23, 2017
Original Post Date: 12:10 am, July 22, 2014 Really want to use sass but dont have / want to use ruby to compile it? Here are a couple of php only options. php-sass-watcher https://github.com/panique/php-sass-watcher  One simple PHP file that "wa..

2:17 am, April 23, 2017
Original Post Date: 11:34 pm, August 19, 2014 Edit: 09:59:24 08/12/2014 So there is a massive short code for this, which seems to be supported in all modern browsers which is: border-radius: 10px; Thats it! You can include the below content..

2:17 am, April 23, 2017
Original Post Date: 3:02 am, July 22, 2014 Scrolls to the top of the page or to a page element, only showing the button when you have scrolled down 50px from the top of the screen. Button fades in and out at the bottom right of the screen. See the Pe..

2:17 am, April 23, 2017
Original Post Date: 11:48 pm, August 5, 2014 inline style to fix things that IE breaks by default. <!-- [if IE]> <style> .class { display:none; } </style><![endif]-->..

2:17 am, April 23, 2017
Original Post Date: 4:25 am, August 11, 2014 This is great for loading targets into a frame easily with fancybox. http://jsfiddle.net/RHaAX/ ..