This week I needed to set up a very simple web app. I’ve ended up looking at Python to wire up some cgi scripting to an otherwise static html/js “website”. For the #poc I installed the Debian network install ISO into a virtual box VM… Installing NGINX… apt-get install nginx service nginx status service nginx… Continue reading Simple CGI Web App Testing setup with Python-CGI and NGINX/uWSGI
Deploying apps to Heroku is as simple as git push heroku master But you need a little bit of setup first. If you haven’t got git, install it with apt-get install git-core You will also need the Heroku gem gem install heroku Then set up your app, adding the files to the git repository
You can easily create a bookmark icon / URL icon / Domain Icon / favicon.ico for your website. This is usually called favicon.ico, and usually exists in your web root folder (htdocs, public_html, etc). Why would you do this? Your Brand is present in the users Browser URL/URI field in browsers and/or on the browser… Continue reading Favicon/URL/Bookmark icon for you website
Got this error today when I browsed to my Joomla site, which I had just imported from elsewhere.
Googles long/lat is degrees only and a fractional component. This script decomposed that into degrees, minutes and seconds. From there I could convert it from having seconds to having a fractional minute component, just like my GPS requires.