Thursday, April 27, 2017

Alan Skorkin's Treasure Trove (Bash Shortcuts)

http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/

The ones I didn't know about :

Ctrl + k - delete from cursor to end of command line
Ctrl + u - delete from cursor to start of command line
Ctrl + w - delete backwards one word
Ctrl + y - paste text victimized by most recent deletion
Ctrl + xx - move between start of command line and current cursor position
Alt + b/f - back/forward one word
Alt + d - delete to end of word
Alt + c - capitalize start of word and go to end of word
Alt + u - make uppercase from cursor to end of word
Alt + l - make lowercase from cursor to end of word
Alt + t - swap current word with previous (SO COOL!)
Alt + . - insert last word of previous command

!blah:p - print out the command that !blah would run and add it to history
!* - previous command except for the FIRST word (even geniuses get it wrong sometimes :)
!!:s/foo/bar - execute previous command by replacing foo with bar

And, nuggets from Linux Foundation's EDX course : http://tersamgt.blogspot.com/2015/01/almost-20-years-with-unix-mann-kann.html

Wednesday, April 26, 2017

Life's Tough : Out of the Blue Git-bash Can't Find Python

Must be ransomware. Just like that PC turns off last night and now, can't get Python action in Git bash. What gives?

All history gone too.. scary

Thursday, April 20, 2017

The Kofman Gap

Nice :

Conscious employees take responsibility for their life. They don't compromise human values for material success. They speak the truth and listen to others’ truth with honesty and respect. They look for Creative Solutions to disagreements and honor their commitments impeccably. They are in touch with their emotions and express them productively.

Unconscious employees do the opposite. They blame others for problems, seek immediate gratification regardless of ethics and claim to be always right. They hide significant information, sweep conflicts under the table and negotiate to beat their opponents. They expect to get what they need without asking, make irresponsible promises and don't honor their commitments. They repress their emotions or explode irrationally.

Conscious employees require conscious managers if they are to fully commit their energy to organizational goals. Unless they feel acknowledged, supported, and challenged by their managers, conscious employees will withdraw.

-- couldn't have put it better.

Not nice :

How to deal with unconscious employees? How do you push them out in a nice way? 



Thursday, April 13, 2017

Daily Learning :) Cool Websites

  1. 10-minute-email - when you need something just to subscribe to something :)
  2. Madeon's Adventure Machine - make your own techno!
  3. Camel Camel Camel - AMZN price history
  4. Hacker typer - impress friends :) ( a prank )
  5. Hike Mt. Everest in 3D
  6. Down for everyone (a website) or just me?

Friday, April 07, 2017

Gems from Ashlee Vance

Musk has taken industries like aerospace and automotive that America seemed to have given up on and recast them as something new and fantastic. At the heart of this transformation are Musk's skills as a software maker and his ability to apply them to machines. He's merged atoms and bits in ways that few people thought possible, and the results have been spectacular.

Okay, I thought that was good, until I read :

(oh, thanks to Omkar Pawaskar, you can read for free without Vance getting richer :) :

While Musk had exceled as a self-taught coder, his skills weren’tnearly as polished as those of the new hires. They took one look atZip2’s code and began rewriting the vast majority of the software.Musk bristled at some of their changes, but the computer scientistsneeded just a fraction of the lines of code that Musk used to get their jobs done. They had a knack for dividing software projects intochunks that could be altered and refined whereas Musk fell into theclassic self-taught coder trap of writing what developers callhairballs—big, monolithic hunks of code that could go berserk formysterious reasons.