<html> <head> <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.6.4.min.js”></script> <script type=”text/javascript”> $(document).ready(function () { // draws a chessboard function drawChessboard() { // define the constants var baseX = 0.5, baseY = 0.5, width = 50; // get the 2D context from the “chessboard” canvas var context = document.getElementById(“chessboardCanvas”).getContext(“2d”); // draws the 8 by 8 chessboard for (var i =Continue reading “HTML5 chessboard”
Monthly Archives: September 2011
Cloud adds new statement to Manifesto for Agile Software Development
The cloud is not only a new way to more easily and cheaply get the computing power needed to do what companies and individuals are doing today… This may be the most important benefit of the cloud—it enables companies of all sizes and in all sectors, as well as governments, non-profits, and individuals, to moreContinue reading “Cloud adds new statement to Manifesto for Agile Software Development”
node.js Allow access only for logged in users
The reference to isLoggedIn in the route is an connect route middleware. Control is passed to the middleware function before the route function is called. Use isLoggedIn to verify that we have a user token in the session before we send the client the requested route. If we do not have a user token inContinue reading “node.js Allow access only for logged in users”