Profile

Cover photo
John Mitchell
Works at John Tells All
Lives in Los Angeles, CA
125 followers|99,925 views
AboutPostsPhotosYouTube

Stream

John Mitchell

Shared publicly  - 
 
TIP: kill service on port in macOS
Example: Postgres, which runs on port 5432: lsof -P | awk '/5432/ {print $2}' | xargs -t kill Does anyone know if Brew or something has the equivalent of good old Linux fuser -k 5432 ?
1
Add a comment...

John Mitchell

Shared publicly  - 
 
Question: Best Practices for Logging in Django
What do you all think?
1
Add a comment...

John Mitchell

Shared publicly  - 
 
TIP: Git Grep searches your project really fast
Searching inside a large project of source code can be a challenge In my codebase there's lots of " delete " methods, but only a few " delete " methods. If I search for " delete ", I'll get zillions of false positives. By using the super-fast Git Grep and...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
realtime logs from Nginx Docker container
docker logs -ft $(docker ps | awk '/nginx/ {print $1}')
1
Add a comment...

John Mitchell

Shared publicly  - 
 
DevOps, Availability, and Risk
excellent points from an episode of Arrested DevOps, entitled "Who Owns Your Availability?" (TLDR: you do!)  https://www.arresteddevops.com/availability/ My thoughts: - technical risk can produce business risk, as in "your hundred employees can't do anythin...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
Creativity
In my creative and job work, I've learned how to move around and have great ideas. It turns out these things are related. In "Doodle Revolution", Sunni Brown points out that moving and creative thinking are related.  Steve Jobs would go on "power walks" not...
In my creative and job work, I've learned how to move around and have great ideas. It turns out these things are related. In "Doodle Revolution", Sunni Brown points out that moving and creative thinking are related. Steve Jo...
1
Add a comment...
Have him in circles
125 people
rachael campbell's profile photo
Wes Dildine's profile photo
Ardaniel Collier's profile photo
Dante Blando's profile photo
Roy Edwards's profile photo
Michael Marshall's profile photo
Christopher Hurt's profile photo
Jacob Lee's profile photo
Lars Lehtonen's profile photo

John Mitchell

Shared publicly  - 
 
TIP: edit files with Git merge conflicts
subl $(git diff --name-only --diff-filter=U) This is even easier if you have  a Git alias : subl $(git unmerged) In both cases it uses the Sublime text editor to open any file that has a Git merge conflict.
1
Add a comment...

John Mitchell

Shared publicly  - 
 
TIP: "git unmerged" to list unmerged files with conflicts
in your ~/.gitconfig file: [alias]         unmerged = diff --name-only --diff-filter=U
1
Add a comment...

John Mitchell

Shared publicly  - 
 
talk: Functional Programming and Django QuerySets
I'll be giving this talk Tuesday!  As this is the Django Meetup , I'm expanding the Django section and adding more general testing tips. I'll post a link on this site and the twitters when the slides and video are available.
1
Add a comment...

John Mitchell

Shared publicly  - 
 
Quality DevOps: installing and verifying Network Time Protocol (NTP)
I lurve Ansible. It lets me install or update software on one or 100 instances, easily. The entire system becomes a set of scripts to run and run and run again until I get things exactly the way I want them. In today's devops ecosystem, where "infrastructur...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
Django trick: keep "runserver" from crashing on Python syntax error
When developing Django, the "runserver" command is convenient. It runs our appserver, and reloads itself when we change our app's source code.  We can have a rapid "edit stuff then see what happened" cycle. However, r unserver it has an annoying ha bit. If ...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
talk: Functional Programming and Django QuerySets
thanks everyone for coming, for Media Temple for hosting, and for Esther for coordinating! I thought Justin 's talk (his first!) on Swagger was fun and extremely useful. I hope everyone
had a good time. Here are the slides and notes for "Functional Progra...
1
Add a comment...
People
Have him in circles
125 people
rachael campbell's profile photo
Wes Dildine's profile photo
Ardaniel Collier's profile photo
Dante Blando's profile photo
Roy Edwards's profile photo
Michael Marshall's profile photo
Christopher Hurt's profile photo
Jacob Lee's profile photo
Lars Lehtonen's profile photo
Basic Information
Gender
Male
Work
Occupation
Trainer and Consultant
Skills
Asynchronous programming, Django, Python, DevOps
Employment
  • John Tells All
    2014 - present
  • Enventum
    Senior Programmer, 2012 - 2013
  • SendGrid
    Senior Programmer, 2013
  • Enventum
    Chief Technical Officer, 2013 - 2014
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Los Angeles, CA
Previously
Venice, CA - Baltimore,MD - Dallas,TX - San Antonio,TX
Links
Other profiles
Contributor to