Welcome to thatlinuxbox.com Sunday, August 30 2015 @ 04:02 AM EDT

Write in Markdown and use pandoc to generate documents

View Printable Version
  • Tuesday, August 25 2015 @ 08:22 AM EDT
  • Contributed by:
  • Views: 17
Linux, Open Source, and Tech Stuff

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

The last time I updated my resume I decided that it needed some major revisions. I didn't want to use a WYSIWYG editor anymore and I wanted to start tracking changes to my resume with git. After looking at various plain text file formats and markup options, and even though I have a fondness for the txt2tags syntax, I decided on Markdown. For better or worse, and I suspect due mostly to the popularity of GitHub, Markdown has become a de facto standard syntax for geeks writing documents that other people might read.

With Markdown as a source format I experimented with pandoc - a universal document converter to generate output files.

With the pandoc workflow, it is possible to write a document in plain text and then generate other types of documents such as HTML, Word processor formats (Microsoft Word docx) and PDF (via LaTeX).

So for people who insist on having a resume in Comic Sans:

or perhaps Game of Thrones is more your style (via the Artificial Uncial font):

pandoc has you covered.

The most challenging thing was figuring out the names of the fonts available, the packages needed to use them with pandoc, and the pandoc command-line syntax for activating them.

I gathered my notes and sample outputs in a github repo:

https://github.com/danstoner/pandoc_samples

I can spit out a new PDF of my resume by editing the Markdown source in my favorite text editor (emacs), commiting the changes to git, and running one command:

$ pandoc --latex-engine=xelatex -V geometry=margin=.75in -V mainfont="TeX Gyre Heros" -o danstonerresume.pdf danstonerresume.md

 

Tesla BareTrek 30 Minimalist shoe

View Printable Version
  • Monday, August 24 2015 @ 09:58 PM EDT
  • Contributed by:
  • Views: 39
Running and Fitness

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

While searching for any newly released minimalist shoes in 2015, I found the Tesla BareTrek 30 Minimalist shoes on Amazon for under 30 bucks. I ordered the brightly colored Orange and Blue (Go Gators!).

My Teslas arrived in a plastic bag, tied with a little red plastic cord. No unusual or suspect ingredients, feelings, or smells.



They appear to be knock-offs of the Merrell Vapor Glove.



The only significant difference I found between the Tesla BareTrek and the Merrell Vapor Glove is the sole. The VG has stickier Vibram rubber. I didn't wear the Teslas out into the world to gauge performance on real surfaces, but the Tesla rubber feels a little slippery to the touch. The Tesla has a removable insert and standard shoe insole (reminds me of Inov-8 Bare-X Lite 150), rather than the VG which has no insert and an insole designed for the shoe to be worn sockless.


Here are more pics:

Lubuntu Linux on Dell Latitude E7240

View Printable Version
  • Tuesday, July 21 2015 @ 09:38 PM EDT
  • Contributed by:
  • Views: 177
Linux, Open Source, and Tech Stuff

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

I wanted to buy two laptops, one for me to run Linux and an identical one for a family member who needs to run Windows. We didn't want Windows 8 with a touchscreen, we wanted a regular laptop with Windows 7. If I were only buying a single laptop for myself I would very likely try to support one of the pre-installed Linux laptop vendors such as System76.

I found a really great deal on a refurbished Dell Latitude E7240 at Amazon.com that included 8GB of RAM and 256 GB SSD. (It appears that the price on this item fluctuates, I paid under $600.) Windows benefits tremendously from having the SSD, especially when running Windows Updates.

Ubuntu 14.04 LTS (Trusty Tahr) worked great with no tweaking.

I am really enjoying the long battery life and the overall performance of the hardware under Linux.

I prefer Lubuntu, so I tried Lubuntu 14.04. On this hardware, Lubuntu 14.04 had some issues. I didn't get sound or WiFi out-of-the-box and the touchpad was a bit jumpy. I tried Lubuntu 15.04 and it worked great, except I didn't get any sound.

The audio hardware in the Dell Latitude E7240 looks like this to lspci:

$ lspci | grep -i audio
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
 
One of those is actually an embedded Realtek ALC3226 audio chip, I believe.
 
I did some research (google searches and ubuntu forums) but didn't find anything definitive. It appears that pulseaudio is not installed by default in Lubuntu so I decided not to try the solutions that included pulseaudio. Piecing together a few different solutions I found the following fix:
 
Edit /etc/modprobe.d/alsa-base.conf and add these two lines:
 

GATE River Run 15k 2015 - Race Report

View Printable Version
  • Wednesday, July 15 2015 @ 01:02 PM EDT
  • Contributed by:
  • Views: 123
Running and Fitness

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

I am super late in getting this race report out. The Gate River Run 15k in Jacksonville happened in March and I see that it is now July...

This year I was seeded into the front of the first wave, with a yellow 3-digit race number, based on the quality of the half marathon performance that I submitted. It was pretty cool to be right up there at the front near the elites.

The River Run is really just an amazing, huge and well-managed event. I finished 284th out of 14918 total finishers (all genders). There was free beer and chocolate milk at the post-race celebration and this year the Publix bananas were even ripe. The weather was perfect for hanging out until the awards ceremony.

Here is a picture from after the finish with some of my Florida Track Club teammates and Gainesville runners who finished near me:


Photo by Speedy Banana

My RunFlix video of the race:




Speedy Banana was all over the course taking great photos...

Gainesville Summer Track Meet Series 2015

View Printable Version
  • Tuesday, June 02 2015 @ 08:14 AM EDT
  • Contributed by:
  • Views: 311
Running and Fitness

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

The 2015 Gainesville 2nd Annual Summer All Comer Track Meets are coming soon! On Thursday Evenings June 11th, June 18th and July 2nd, Cone Park Track will be host to track and field events for children and adults of all ages. 

The cost this year will be $1 per person to offset the cost of the Timing and Starter.


Photo via visitgainesville.com

Questions?

Contact: Coach Larry Holsey of the Gainesville Striders track and field organization

Dates: June 11th - June 18th- July 2nd (Thursday Evenings)

Time: 6:00pm – 9:00pm

Cost: $1.00 Everyone to Register at Meet

Location: Fred Cone Park - East University Ave, Gainesville, FL 32641 (Google Map)

The MS Word document provided by Coach Larry Holsey is available for download here: https://db.tt/3mpBQ3HW

 

I have reproduced the content and schedule below for convenience (as in, I'm not official, I am just sharing the information I have been given)...

Events include Long Jump, Shot put, Mini-Javelin, 100m, 200m, 400m, 1500m, 3000m, as well as a Jogger's / Walker’s Community Mile to kick start each meet.  

Running events

6:00pm Jogger’s / Walkers Healthy Mile to kick Start the Meet 

6:30pm 300meters – 7 and above invited – Males and Females

6:45pm 1500meters –All Ages invited - Males and Females

7:00pm 100meters – All Ages invited – Males and Females 

7:45pm 50meters – 6 and under invited – Males and Females – kids receives a ribbon

8:00pm Coaches Relay – 100 – 100 – 200 – 400 

8:20pm 200meters - 7 and above invited – Males and Females

8:30pm 200m Hurdles – 13-14 – Males and Females

8:40pm 3,000 meters –All Ages invited – Males and Females

Field Events

June 11th – Long Jump (11 years under) – Mini Javelin – Shot Put (All Ages)

June 18th – Long Jump (12 years above) – Mini Javelin – Shot Put (All Ages)

July 2nd – TBA 

 

My dailymile_export tool - this time in Perl

View Printable Version
  • Wednesday, May 20 2015 @ 02:55 PM EDT
  • Contributed by:
  • Views: 153
Linux, Open Source, and Tech Stuff

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

I first announced my dailymile export tool in February 2015.

Announcing v1.2 of my dailymile export tool

In this most recent release of dailymile_export I have included a Perl 5 version of the script. The download bundle is available:

https://github.com/danstoner/dailymile_export/releases

The basic usage info of the perl script:

 

$ perl dailymile_export_to_csv.pl --help

Description:

  Script to download entries from the dailymile API for a particular user into a CSV.

Usage: dailymile_export_to_tsv.pl [OPTIONS]

  Parameters:
    --help, -h         Display this usage help.
    --username, -u USERNAME
                       The dailymile.com username to export (Required).
  Options:
    --debug, -d        Enable debug level output.
    --gear, -g         Enable download of gear info (not yet available)
    --maxpages, -m MAX
                       Maximum number of pages to fetch (to limit http requests during testing)

 

The github repo for the project is located:

https://github.com/danstoner/dailymile_export

If my dailymile export tool is useful to you, or you have suggestions or feedback, please leave a comment here or as a github issue.

 

First | Previous | 1 234567| Next | Last

User Functions

Login

Connect

thatlinuxbox.com is the home of Dan Stoner's Personal Blog, Photos, and More (opinions, rants, techno-babble, and possibly a few useful tidbits of knowledge).

Questions or Comments about this site? Contact danstoner _ at _ gmail.com.

RSS Feed for this blog

Other places to find me on the web:

Twitter

LinkedIn

dailymile

GitHub

Visit Dan Stoner's profile on Pinterest.

Support This Site

If you like something that you find on this site, please consider making a purchase through one of the links below or sending me an item from my Amazon Wish List.


Altra Zero Drop Footwear
10% Off and Free Shipping!

10% Off and Free Shipping!
(Discounts will become visible during Checkout)


The Clymb


Awesome VPS hosting by Linode.com