Today’s Reading

Just a few things I’ve been keeping up with lately:

  • https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/
  • https://www.joelonsoftware.com/2004/05/05/mike-gunderloys-coder-to-developer/
  • A good article re: commenting on your code: https://www.cs.utah.edu/~germain/PPS/Topics/commenting.html
  • A great blog I have been following for a while: https://kottke.org/about/
  • Book – The Linux Command Line: https://play.google.com/books/reader?printsec=frontcover&output=reader&id=6h9dCAAAAEAJ&pg=GBS.PA3
  • The Hitchiker’s Guide to Python: http://docs.python-guide.org/en/latest/
  • Linus’s TED talk: https://www.ted.com/talks/linus_torvalds_the_mind_behind_linux?utm_campaign=social&utm_medium=referral&utm_source=facebook.com&utm_content=talk&utm_term=technology
  • Setting up Sublime 3 for Full-Stack development: https://realpython.com/blog/python/setting-up-sublime-text-3-for-full-stack-python-development/
  • 600 Free Online Courses: https://qz.com/1120344/200-universities-just-launched-600-free-online-courses-heres-the-full-list/

Today’s basic crontab info…

Wicked simple issue – took a line from /etc/crontab and put in to the root’s crontab (crontab -u root -e) and it was no longer running.  Getting this error:

/bin/sh: root: command not found

Simple fix – needed to remove the ‘root’ from the line that I’d moved from one file to the other, as the root’s crontab did not need the ‘root’ user mentioned.

A good blog post with some cron/crontab basics: http://rhosted.blogspot.com/2010/04/crontab-error-binsh-root-command-not.html

Last Week’s Links This Week

Here are a few of the things I found useful last week:

  • Forgotten Linux Commands – useful for things like repeating commands, column-izing output, etc.
  • 5 Commands to Check Memory Usage on Linux – more than just the usual top, includes free w/ switches, etc.
  • Commandline Challenge – This is pretty cool!  A good test of your bash chops.  I got stuck waaay too early.
  • Alassian University – if you have been getting inundated with Atlassian ads on WUBR, or actually use Jira and Confluence, this is their corporate training site.  I have taken a little of the official Jira training and so far feel it needs refinement.
  • Xen4 QuickStart – for a project I’m starting this week modeling an older CentOS environment at work.  CentOS host running Xen w/ guests.  Seeing how to migrate them easily over to VMWare.  No need to migrate the hosts, so this should be (hopefully) an easy task for VSphere Standalone Converter.  Still, want to create a test environment first before attempting this with the real thing.
  • A new Linux From Scratch has been released.  I can’t wait to have the time to try out this fun-looking project.
  • EZPrompt – a BASH prompt generator.  Useful if you are too lazy to look this up yourself.
  • Linux Sucks – for the last time.  This YouTube video series has been wicked fun to watch.
  • Playing with rsync deltas – this person’s tips have been very helpful on another modeling project I am working on.

Note: Most of these links from the cron.weekly newsletter.  This is an excellent source of weekly Linux / Open Source News and is worth the time to read weekly.

  • Last one – a good quick read on Gizmodo about Amazon’s outage a couple weeks ago.  Specifically, their AWS service.  If you have a VPS on this service, you are probably painfully aware of this outage.

More free online programming and CS courses and resources from freecodecamp.com

In their post, titled: “370 Free Online Programming & Computer Science Courses You Can Start This Month”, freecodecamp.com outlines more free coding / programming resources that can be wicked useful:

https://medium.freecodecamp.com/370-free-online-programming-computer-science-courses-you-can-start-this-month-fc5b9867769e#.xpto5b2ko

 

 

Macbook Air keyboard half broken – was software fix!

I’m so very glad to have found this fix before I went and spent either $ on a new keyboard (and time to replace it), $500 on a used Macbook Air, or the almost $2,000 on a new Macbook Pro.  My Macbook Air (2012) had been acting up the past couple weeks – the keys on the right-side of the keyboard started to not work.  The <ENTER> key was probably my biggest problem, but the ‘o’ and ‘p’ and comma stopped working as well.  I assumed this was a hardware issue because if I banged on the key really hard, it would work!

So before I went out and spent $$, I googled this some and people were talking about a possible loose keyboard wire, etc.  Then I stumbled upon this information over on iFixit.  Resetting the SMC is not something I thought of for this issue as it was, to me, so clearly a hardware problem.

I tried it anyway, just (while Macbook is powered on) hitting the CTRL-OPT-SHIFT-POWER then powering the machine back on.  This worked immediately!  So relieved to have one less thing to worry about buying this month.

Making the switch (to Linux)

Over the past year, I have become more and more entangled in the Linux world, becoming a Linux System Administrator as my primary job duty.  Though I have had plenty of Linux experience and exposure, and attend (when I get time) meetings of the Boston Linux Users’ Group (blu.org), I generally approach Linux from a Server angle and only play with it as a desktop, while maintaining a Mac or Windows PC for my primary ‘working’ OS.  This has changed a bit over time and I find myself using Fedora 25 on both my Thinkpad T460s (a post for a different time) and now on my office Dell Precision 3620.  Going to see how long I can keep it up in this windows-centric office.  Desktops and laptops here have been primarily Windows, but we do run some CentOS 6.x and 5.x desktops on the ‘important computers’ side.  Side-note – the Precision 3620 runs CentOS7 and all the apps listed above just fine as well.

Articles and posts such as this one, where people are switching from Mac to Linux OS, are encouraging and the more people use this ecosystem, the more things will be developed for the desktop OS.  It was nice, also, to have someone as famous as Cory Doctrow talk about his switch over to a Linux OS back in January 2016.