Connor Johnson

Search
Skip to content
  • About

Monthly Archives: June 2015

Uncategorized

Using Versions in Git

June 26, 2015 cjohnson318

You really appreciate versioning when several people come up to you all at once with different bugs from different iterations of your code and you don’t have a versioning system in place. A first step in that process is using Git tags. (There’s more than one way to implement versions, but this is one way.)

Continue reading Using Versions in Git →

Git
Uncategorized

Install pip to Match your Python Installation

June 26, 2015 cjohnson318

For whatever reason, you might find yourself in an environment that has Python 2.6, but pip for Python 2.4 or 2.7. Where do you find pip for Python 2.6? Well, that’s not to hard. Go to https://bootstrap.pypa.io/get-pip.py and run the following:

sudo python2.6 get-pip.py

Then you can install Python 2.6 modules with pip by saying,

sudo pip2.6 install awesome-sauce
LinuxPython
Uncategorized

How to Secure Passwords in Python with passlib

June 19, 2015 cjohnson318

Recently I needed a secure way to protect a service with a passphrase. I settled on the solution of using passlib verify that password, and learned along the way the important lesson of never trying to roll your own cryptographic code.

Continue reading How to Secure Passwords in Python with passlib →

Python
Uncategorized

Operations on SSH Keys

June 4, 2015 cjohnson318

This post is sort of an amalgamation of solutions I’ve found on several blogs, tutorials, and SO posts I’ve used regarding SSH keys. I cover key generation and authentication, removing passwords from keys, and identifying the key finger print.

Continue reading Operations on SSH Keys →

LinuxOS X

Blog about math, programming, and data.

Recent Posts

  • Simple Deterministic Push Down Automata in Kotlin
  • Simple Finite State Machine in Kotlin
  • Add a Flask Worker in AWS Elastic Beanstalk
  • Checkerboard in Vue.js
  • The Barber Shop Problem in Go

Archives

  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • January 2018
  • December 2017
  • September 2017
  • June 2017
  • May 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tags

  • Agent Based Modeling
  • Angular
  • Arduino
  • AWS
  • Bash
  • Bayes
  • CoffeeScript
  • Data
  • Django
  • Docker
  • Excel
  • Express
  • Flask
  • forecasting
  • Fractal
  • Geostatistics
  • GIS
  • Git
  • Golang
  • JavaScript
  • jQuery
  • Kotlin
  • Kriging
  • LaTeX
  • Linux
  • Mac
  • Machine Learning
  • Math
  • MongoDB
  • MSSQL
  • MySQL
  • nimlang
  • Nimrod
  • Node
  • OS X
  • Pandas
  • Python
  • R
  • Sass
  • Statistics
  • SVG
  • Swift
  • Swift3
  • Vim
  • Windows
Proudly powered by WordPress