Kyle's Place somewhere to put my thoughts

Python Virtual Environments Cheat Sheet

Virtual environments make using Python a bit more manageable, especially when it comes to deploying Python programs and creating the requirements (able to use pip freeze > requirements.txt and only use packages necessary to that individual project). However, I commonly find myself forgetting some of the more basic commands. For Python 2 use pip, for Python 3 use pip3.

Comments

BytesIO to POST file with requests

I have been working on a project that prohibits me from saving files to disk. In my case, I needed to download an image from a website and upload that image elsewhere.

Comments

Getting Started: Swift 2 and Facebook SDK 4.8.0

I was starting a new Swift 2 project and saw the Facebook developer portal did not cover Swift. I figured I would take it upon myself to fill in some of the missing pieces of the tutorial found on developer.facebook.com. Full sample project on Github.

Comments