How to Configure AnyTerm Web-based SSH on Ubuntu

Anyterm provides a web-based SSH interface that would allow you to, for example, access your internal system using SSH via a web page. Configuration is straightforward, but will require compiling the Anyterm source. In order to download the source, you’ll need Subversion. Download Anyterm ( into a directory called anyterm …

WPTouch 3.1.1 Search and Menu Buttons Bug Fixes

Using WPTouch 3.1.1? Are the search and menu buttons not working in the mobile view? Just add the following in the Branding | Theme Footer section under Theme Settings: <script type=”text/javascript”> jQuery(‘#search-toggle’).off(); jQuery(‘#search-toggle’).on(‘touchend’, function (e) { jQuery(‘#search-dropper’).toggleClass(‘toggled’); }); jQuery(‘#menu-toggle’).off(); jQuery(‘#menu-toggle’).on(‘touchend’, function (e) { jQuery(‘#menu’).webkitSlideToggle(); }); </script>

Pure Javascript DOM Ready

Yet another a pure Javascript DOM Ready option. The concept was gathered from many options that were considered (in particular from Stackoverflow), which resulted in the below code: (function(f){var t=setInterval(function(){if(document.readyState==”complete”){clearInterval(t);f();}},9);})(); Features: Javascript library independant. Doesn’t pollute global scope. That’s it. 🙂 Usage: var f = function(){ alert(‘Hello, World!’); }; (function(f){var …

PHP “Executing SQL directly; no cursor” Error When Executing a Stored Procedure?

Are you getting the following error in PHP from the PHP SQLSRV driver? Executing SQL directly; no cursor This apparently is just a warning, so before you connect to your server, issue this command: sqlsrv_configure(“WarningsReturnAsErrors”, 0); Oh, and guess what? sqlsrv_num_rows() worked for me to boot! Weird. See