I’ve just started learning programming in Python and the famous framework Django and my aim is to become a backend developer. After stumbling for quite a while on the internet, I come up with this seemingly working setup, so I want to write it down for future reference and hope that it may help some others.
Python Version Management
In order to use different versions of Python, there must be a version management tool for easily managing different versions on the same machine, and that is pyenv. It allows the user to install multiple versions of Python and easily switching among them, so the user can test their apps in different environments.
Continue reading My Python Development Environment Setup
Added Jun 25, 2017: Kary, 我衰記性差，好對唔住，唔應該開你玩笑，求你原諒🌹
I’m currently using an CUSTOMIZED Mac😁 I like the default Terminal.app shipped within macOS. I have changed the appearance a little bit, so it look nice to me. I also wanted to customize it even more, to enable it to sync command history between all open terminal sessions. I have tried
export PROMPT_COMMAND="history -a;history -n; history -w; history -c; history -r; $PROMPT_COMMAND"
and some combinations of them in my .bash_profile, but none of them worked for me properly, so I gave up the idea of syncing. Problems include wrong command history number, failing to remove duplicate command, etc.
Continue reading My .bash_profile on My Mac
As an on-the-way-to-becoming-a-serious developer, I think I had better get familiar with some source code manager software, and that is: Git.
As I learn how to use git, I want to keep track of what I have learned, and keep it down so I can go back and see should I forget it. This is supposed to be a update-if-needed list. So here are some git commands:
Continue reading Some Useful Git Commands
As a learning-in-progress app developer, I come across a lot of trivial obstacles, fortunately I’ve got much help from online resources. After I’ve overcome them, better for me to keep them down as reminders and maybe offer help for others in need.
Recently I’m working on custom segue transitions I want to implement in my latest iOS app. After reading from tutorials and demos, I sum up a few UIView masks that might be useful in some situation. I rewrite these masks in swift language, and I want to put the demo Xcode project on github for others’ reference, and take this as an opportunity to learn how git/github works.
Continue reading Add Github Repo as Existing Xcode Project’s Remote Repo