Polyhistoric Man Of The Web

Tag: BASH

  • An adventure with a super useless one-liner to find the most common words in WordPress commit messages

    I read some insight into Drupal committing and they had a chart of the most common words in drupal commit messages. I thought it would be interesting to do something like that with WordPress Core, so I through together a bash one-liner to find this. It’s not the most eloquent solution, but it answers the […]

  • New BASH Prompt

    New BASH Prompt

    For the last few years, I’ve been using impromptu for setting my bash prompt. However, it felt in perpetual beta status and I wanted to try out something new, so today I installed bash-git-prompt and am giving it a try. It was super easy to get started with it following the instructions. Run brew update Run brew install […]

  • Donate Today – Planned Parenthood

    I stand with Planned Parenthood @PPFA because I believe everyone should have access to the care they need. Source: Donate Today – Planned Parenthood In memory of my grandmothers who can’t march today, I just donated to Planned Parenthood and encourage everyone else to do so as well.

  • Bash Functions I use for access logs

    The command line is my IDE.  Vim is my editor and all the functions and programs in bash help me be a better developer.  As much time as I am writing code though, I also am often spending a lot of time looking through logs to see what is going on.  Over the last five […]

  • Omnivore normative behavior

    When reading about responsive web design, you’ll often come across the term “Hamburger Menu” and it will sometimes make me hungry. But it won’t make everyone hungry. It won’t make vegetarians hungry.  Nor pescetarians. We live in an omnivore normative society where the assumption is often made that meat eating is normal and all else is the […]

  • Take the Time to Use Fewer Words – Microsoft Design 

    Using fewer words isn’t a panacea to fix every user experience; it’s just one guideline, together with all the others employed by excellent writers, designers, developers, program managers, and researchers. It’s how UX writers reduce the text to create experiences that let people to do more of what they want to do — not waste their time […]

  • Dark enough to see the stars

    Every year, on the day we celebrate Dr. King, I listen to his final speech.  And each year, it’s a different line that stands out to me. This year, it was near the beginning when Dr. King is answering the question about “which age would you like to live in?” and after going from ancient Egypt, […]

  • Aggregate Multiple Log Files From Multiple Servers

    The majority of the time I need to analyze logs across multiple servers, I use logstash.  Sometimes though I want to aggregate the actual files on the server and go through them myself with awk and grep.  For doing that, I use two tools. In my bash config, I have a function called access_concat that […]

  • Always check your diffs

    One habit that I’ve gotten into that has saved me from looking like an idiot nearly as often is to always look at a diff before I commit. I don’t do this as much in Mercurial, but with SVN when you do automatic deployments to testing servers, a stray alert in your javascript or var_dump […]

  • Wisconsin Gov. Walker Ginned Up Budget Shortfall To Undercut Worker Rights | TPMDC

    Wisconsin’s new Republican governor has framed his assault on public worker’s collective bargaining rights as a needed measure of fiscal austerity during tough times. The reality is radically different. Unlike true austerity measures — service rollbacks, furloughs, and other temporary measures that cause pain but save money — rolling back worker’s bargaining rights by itself […]

*/