Welcome to thatlinuxbox.com Thursday, December 12 2024 @ 05:38 PM UTC
Two websites for HTTP responses and status codes
- Saturday, February 21 2015 @ 11:40 PM UTC
- Contributed by: Dan Stoner
- Views: 3,010
The first web site is HTTP Status Codes, which as you might be able to guess provides documentation about the various HTTP status codes:
http://httpstatus.es/
Screenshots:
The second site is the HTTP Client Testing Service, or httpbin. The httpbin site provides endpoints that return all of the various HTTP status codes as well as particular content type responses.
http://httpbin.org/
Screenshots:
Both websites have an accompanying github repository (you can find links on the sites themselves) if you would like to contribute or see the source code.
- Comments (0)
Export entries from dailymile with my export tool
- Saturday, February 21 2015 @ 01:43 PM UTC
- Contributed by: Dan Stoner
- Views: 11,904
I have been using dailymile as my fitness training log since 2010. I have now logged over 1500 entries and 6600 miles total. I don't want to lose that information. I would like to be able to do more advanced anlalytics on my personal fitness data than the dailymile web app provides.
The built-in dailymile.com export feature is abysmal. The file generated includes only a small number of fields (date, activity_type, distance, time, felt, elevation_gain). Seriously, they include elevation gain but do not include the name of the workout or the description?
Because of these limitations, I contacted dailymile support. The response was something along the lines of "you could always write your own tool using the API." So I did.
Announcing v1.1 of my dailymile export tool. The current version is written in Python. The software archive can be downloaded from:
https://github.com/danstoner/dailymile_export/releases
The github repo for the project is located:
https://github.com/danstoner/dailymile_export
Here is the basic usage info:
$ python dailymile_export_to_tsv.py -h
usage: dailymile_export_to_tsv.py [-h] [-d] [-g] username
Script to download entries from the dailymile API for a particular user into a
tab-delimited file.
positional arguments:
username The dailymile.com username of the account to export.
optional arguments:
-h, --help show this help message and exit
-d, --debug Enable debug level logging.
-g, --gear Retrieve gear data also.
Here is some sample output of the running script and the generated output file:
- read more (402 words)
- Comments (0)
Linode now offering 10 bucks per month plan
- Friday, February 06 2015 @ 12:14 AM UTC
- Contributed by: Dan Stoner
- Views: 2,826
Linode is an outstanding VPS provider.
I have been a happy Linode customer since 2010 (over five years). During that time, Linode has provided many free upgrades (more memory, more disk space, ...).For their birthday last year, Linode announced a $10 per month VPS plan. This lower-cost plan is still hosted on Linode's ultra-reliable Linux servers with all-SSD storage and tons of performance. For more details, read their blog post:
https://blog.linode.com/2014/06/16/11th-linode-birthday-10-linode-plan/
- Comments (0)
GoPiGo - Raspberry Pi Robot
- Friday, October 24 2014 @ 12:01 PM UTC
- Contributed by: Dan Stoner
- Views: 3,552
https://www.kickstarter.com/projects/...y-pi-robot
My package included the robot kit, a bunch of accessories, and an actual Raspberry Pi Model B+. The SD card comes loaded with the Raspbian for Robots Operating System.
Now there are two Raspberry Pis in our house. Time for some fun!
For more info visit GoPiGo by Dexter Industries.
- Comments (0)
Kano Computer Kit - Great for Kids
- Friday, October 03 2014 @ 11:55 PM UTC
- Contributed by: Dan Stoner
- Views: 5,077
My daughter (10 years old, 5th grade) said over and over again "this is so much fun!" On the first day she spent about 4 hours playing around with the various coding environments. In particular, she liked the "Make Pong" environment where she worked through the exercises and made all kinds of interesting variations on the game (changing the ball size and color and the actions that happened when the ball hit the paddles).
The initial unboxing, assembling, and software setup of the Kano was straightforward and I only had to give my daughter a tiny bit of guidance here and there. For example, it took some care to get the Raspberry Pi board out of its safe and secure packaging. But for the most part, she read the guide and read the screen and followed the instructions and enjoyed the whole experience.
Follow the white rabbit...
(The setup includes a cute sequence of an animated ASCII art rabbit.)
The process was kind of nostalgic for me. The pong game reminded me of the Pong console game we received one Christmas when I was a kid. I remember the few times in my childhood when my dad brought home a new computer and unboxed it and hooked it up to the TV and we all spent hours fooling around with it. In fact, I almost think my dad (now a grandpa who pretends not to know anything about computers) would enjoy having a Kano to play with.
Team Kano received $1.5 million in their Kickstarter campaign, compared to their original goal of $100,000. One of the backer perks is that my name is included in the Credits file that is shipped out to the world on each little Kano computer.
https://www.kickstarter.com/projects/...e-can-make
For more info or to order a Kano Computer Kit for yourself, visit the Kano Computer Kit web site.
- Comments (0)