Browsing the archives for the Uncategorized category

Game Console Spec Comparison

Just for reference, a list of specs to compare the various generations of game consolePulling from the list of systems herehttps://en.wikipedia.org/wiki/History_of_video_game_consoles Maybe this should be a rich table, like datatable or wikitable? Name Rel RAM/mhz/nm VRAM/GFlops NES 1983(3) 6502 2K/1.8Mhz/6μm 2K SNES 1990(4) 6502 128K/3.6Mhz/ 64K PSX 1994(5) MIPS 2M/33.9Mhz/1.2 μm 1M XBox 2001(6) x86 […]

No Comments Posted in Uncategorized
Serverless git file sync

Git has powerful merge functionality, and can be used to help keep folders in sync between two systems. The largest hurdle is usually getting your “git remote” set up. That should clone your files to the second server. The second server will run the “git-receive-pack” command to communicate with the first system. If you get […]

No Comments Posted in Uncategorized
Adding Rate Limiting to Python Flask
No Comments Posted in Uncategorized
Cloud Sites Timeout on CMS Install

Load balancers usually have a limit on how long a TCP connection will remain open to a web server before timing out on the connection. With Cloud Sites in particular, the load balancer will time out on an HTTP response if the PHP code does not send output to the browser for 30 seconds. After […]

No Comments Posted in Uncategorized
Tagged , , , , , ,
Rackspace Cloud DNS API Interface

dnspanel.zip This zip file contains a php web application to give a GUI interface to the Rackspace Cloud DNS API. It requires Linux, PHP, and curl be installed on the server it runs on. Just unzip the files and upload them to a web server, then hit them with your browser to get started. I […]

8 Comments Posted in Uncategorized
Limiting a Cron Job to a specific day of the week in Cloud Sites

The Cloud Sites control panel does not have a built in option to run a cron job only on a certain day of the week. There are cases where you would like a job to only run on a certain weekday such as a weekly mailout or a weekend maintenance script. There is an option […]

No Comments Posted in Uncategorized
Listing files modified on a certain day

You can retrieve a list of files that were last modified yesterday in a wide variety of ways with scripting languages. The “find” command would probably be the simplest method in Linux by using the mtime option like so: #find -maxdepth 1 -mtime +1 -mtime -2 The find command is disabled however in Cloud Sites […]

No Comments Posted in Uncategorized