Aug  3, 2020 
                macOS hostname config 
               
              
                macOS has no /etc/hostname, instead you have to use scutil (“Manage system configuration parameters”) to (permanently) change your hostname. There …
              
             
          
            
              
                Sep 24, 2017 
                Cleaning AWS Marketplace AMIs 
               
              
                Running (e.g.) CentOS 7 on unapproved hardware The official CentOS 7 marketplace AMI incurs no extra fees and usually works …
              
             
          
            
              
                Jan 23, 2017 
                New make 
               
              
                GNU Make is a fabulous, underrated tool. I use it a lot for documenting my data organization — sort of …
              
             
          
            
              
                Dec 20, 2014 
                Vagrant 
               
              
                Vagrant quickstart reference: vagrant init → create Vagrantfile file in current directory. vagrant up → start up virtual box based …
              
             
          
            
              
                Dec 20, 2014 
                CSS resets, normalizations, opinions 
               
              
                CSS resets are, in general, a bad idea. They are designed to ensure that your page looks the same to …
              
             
          
            
              
                Dec 13, 2014 
                Newline-delimited JSON 
               
              
                There are a couple of opinions on line-delimited JSON. There’s even an officious but totally [needs citation] Wikipedia article. Pretty …
              
             
          
            
              
                Dec  8, 2014 
                Canonical spelling reference 
               
              
                When case is sensitive, it’s useful to get it right.
  GitHub
  CrowdFlower
  Elasticsearch
  PostgreSQL
  MySQL
  DigitalOcean
              
             
          
            
              
                Dec  3, 2014 
                Parsing 
               
              
                Basics of simple parsing.
  LR: left-to-right, rightmost derivation
  LL: left-to-right, leftmost derivation
  LALR: look-ahead left-to-right, rightmost derivation
              
             
          
            
              
                Sep  9, 2014 
                Cleaning up macOS bloat 
               
              
                Freeing up disk space on macOS, particularly caches that usually never get purged. Development packaging caches Ruby ~/.gem contains gem-installed …
              
             
          
            
              
                May 15, 2014 
                GitHub Pages 
               
              
                GitHub pages are great, but they will only serve files from a branch in your git repository named gh-pages. (I …
              
             
          
            
              
                Apr 21, 2014 
                No substitute for taking lots of actions 
               
              
                Another great Quora questions: What are some lessons learned through playing StarCraft that are useful in real life? The highlight …
              
             
          
            
              
                Apr 21, 2014 
                ls output 
               
              
                ls results setuid bit. Denoted by s (directories) or S (files) in the permissions block of ls results, it only …
              
             
          
            
              
                Apr 16, 2014 
                Sublime Text 2 - Spell Check 
               
              
                Want to default spell checking on in say, LaTeX files, but not other languages? Open a .tex document (to set …
              
             
          
            
              
                Apr 12, 2014 
                Research Readability 
               
              
                Overheard in the 
[email protected]  mailing list, which usually keeps it pretty technical, but I thought this was a nice comment: …
              
 
          
            
              
                Apr 12, 2014 
                Poverty (and abuse) of the commons 
               
              
                I really like Go’s full specification of dependencies (e.g., import ("github.com/golang-crypto/ssh")), but I fear linkrot, backward incompatibility, and visibility. Also, …
              
             
          
            
              
                Apr 11, 2014 
                Node.js XML libraries 
               
              
                sax-js: This is @izs’s pure javascript parser. I don’t really like the weird mixture of trying to accommodate Node.js streams, …
              
             
          
            
              
                Apr 10, 2014 
                What are some things that cops know, but most people don't? 
               
              
                Cross-post of a fantastic Quora answer by a guy named Tim Fry. What are some things that cops know, but …
              
             
          
            
              
                Jul 17, 2013 
                SSH Tunneling 
               
              
                ssh CLI flags: -N Do nothing (except connect) -f Fork to Background -q Suppress any output -v Verbose -p Specify …
              
             
          
            
              
                Jul 17, 2013 
                Default locations 
               
              
                Firefox GreaseMonkey:
cd ~/Library/'Application Support'/Firefox/Profiles/*/gm_scripts
              
             
          
            
              
                Jan 31, 2013 
                Chrome extensions 
               
              
                How to add third-party extensions to Chrome, like from www.chromeextensions.org. $ open ~/Library/Preferences/com.google.Chrome.plist Add a Key at the root level …
              
             
          
            
              
                Oct  6, 2012 
                Nunberg simile 
               
              
                I just thought this quote from Geoff Nunberg was fun: It’s like hearing someone warn of grave domestic security threats …
              
             
          
            
              
                Oct  1, 2012 
                K-means++ 
               
              
                So K-Means++ is just K-means, except instead of choosing initial centroids at random, you choose centroids that are furthest away …
              
             
          
            
              
                Sep  9, 2012 
                Tr 
               
              
                tr is a hard-to-search-for command, but very useful.
Convert tsv to csv:
cat names.tsv | tr '\t' ','
              
             
          
            
              
                Sep  8, 2012 
                Flickr misplacement 
               
              
                I don’t know who this is, or what they’re referring to. http://www.flickr.com/photos/white_ribbons/5902656773/ But I kind of like the idea that …
              
             
          
            
              
                Sep  7, 2012 
                $ ls sum 
               
              
                Sum everything that matches *.json:
ls -l * | awk '{sum += $5}; END {print sum}'
              
             
          
            
              
                Sep  6, 2012 
                Android 
               
              
                Just got an Android phone, HTC Evo V. It is a pile of frustrations. Did anybody actually design this thing? …
              
             
          
            
              
                Sep  2, 2012 
                Javascript semicolons 
               
              
                Apparently (says mislav), semicolons are totally unnecessary except for one case: “When a line starts with parenthesis, prepend a semicolon” …
              
             
          
            
              
                Aug 31, 2012 
                Maxine 
               
              
                I’m on this listserve thing called “The Listserve” where it’s like 20K people and each day one person wins the …
              
             
          
            
              
                Aug 31, 2012 
                Girls and Their Hair 
               
              
                Just launched my photography website: GirlsAndTheirHair.com My given name + last name + “photography” is dreadfully saturated on Google: www.google.com/search?q=Christopher+Brown+Photography …
              
             
          
            
              
                Aug 21, 2012 
                Monitoring 
               
              
                There’s a door here in Harpa that has a doorbell, one of those velcro wireless things. At least, that’s what …
              
             
          
            
              
                Aug 17, 2012 
                Postfix virtual everything 
               
              
                So I’m trying to get postfix to keep everything it gets sent and just store it in a file/database, whatever, …
              
             
          
            
              
                Aug 16, 2012 
                Usermod 
               
              
                I look this up probably once every two months: # Add the existing user "chbrown" to the existing group "sudo" …
              
             
          
            
              
                Aug  4, 2012 
                Git on CentOS 
               
              
                So CentOS is old and decrepit but if you have to use it and need git, here you go: sudo …
              
             
          
            
              
                Aug  3, 2012 
                Mountain Lion DYLD_LIBRARY_PATH 
               
              
                Mountain Lion always complains whenever I use any sort of system executable, ps or sudo or whatever: dyld: DYLD_ environment …
              
             
          
            
              
                Aug  1, 2012 
                Quora age envy 
               
              
                Interesting snippet from a Quora question on envy, by a guy Matthew Manning: You have ZERO idea what their personal …