This is just a git flow to recall when I am working with gh-pages and master branches. Either you are working on gh-pages directly because I don’t want to bother trying to sync master branch with gh-pages all the time when I push commits. This is the normal flow of pushing commit from local branch. $ git branch $ git status $ git add -A $ git commit -m 'commit msg' $ git push origin gh-pages Let’s say after a milestone or a version, gh-pages should update with master branches. rebase plays a big role in this part. #switch to master branch $ git checkout master $ git rebase master $ git ...
All essential shortcuts for vim
This is a list of key combinations and essential shortcuts to use vim text editor. The contents are arranged accoring to the word processing steps. Vim is one useful text editor to learn because there are several vim shortcut plugins available for other popular text editors. For e.g, Sublime Text has vim mode editing package called Vintage Mode. Relater resource: Vim Cheatsheet Cursor Movement h move cursor left j move cursor down k move cursor up l move cursor right w jump forwards to the start of a word W jump forwards to the start of a word (words can contain punctuation) e jum...
Linux configuration files cheatsheet
Unlike Windows operating system registry, Linux configuration is based on text files and standardization becomes an issue. For normal users or system administrators, there are several configuration files which are essential to know. The following listing describes these files with purposes. This is the list of most of the directories in modern Linux systems with general description of them. Among these directories,I will extract important directories to dig deep into configuration files. Directories There are all directories you might find in your Linux system. The best way to explorer is...
Python Learning Sources
List of Python learning resources and freebies Python books Top 30 Python Projects In GitHub Learn Python the hardway Python design patterns and idioms Awesome Python The Hitchhiker’s Guide to Python! Full stack Python Web Developement Python Data Structures for Humans™
Ubuntu Proxy Config
This is just a one-liner note to set up proxy for Ubuntu with authentication Setting up proxy at browser doesn’t affect terminal applicaitons such as aptitute package and so on. Also, system wide proxy requies you to touch network configuration like iptables. There are two easiest way to do. There are 2 main files you should set up proxy: /etc/apt/apt/apt.conf #Acquire:: /home/user/.bashrc #export For apt.conf,use vim, gedit or nano to open the file and add the proxy for each network protocols in the following format: Acquire::http::proxy "http://username:password@proxy.server:port";...
Reply to > "Core Difference between Firefox's and Chrome's private browsing mode"
I am researching on private browsing mode in terms of forensic study and analysis. Yesterday,I ran into one article about difference between private browsing mode of Mozilla Firefox and Google Chrome. I made some feedbacks on this article as a conversation style. Some of the points will be controversial. The purpose of this blog is to fill in some insights on this particular topic. So, end-users and other interested parties can make good judgments on it. Most modern browsers ship with a private browsing mode that can be started independently from the main browsing session. It prevents ...
Simple Terminal process alert
For people who are working with terminal all the time, you runs pipeline and tasks and you don’t know whethere it’s finished or not. This small trick will alert you. #step1: install espeak $sudo apt-get install espeak #step2: try espeak "Hello World" #step3: create several alias to reuse for different alert messages #success process alias sp='espeak "process finished successfully"' #fail process alias fp='espeak "process failed"' #example usage #!/bin/bash if [ "foo" = "foo" ]; then echo expression evaluated as true sp else echo expression evaluated as false fp fi ...
Personal UX of Ubuntu OS
Ubuntu & Me I just upgraded my Ubuntu from 12.04 to 14.04 LTS. In this piece, I’d like to talk about my user experience on Ubuntu. This is personal review of Ubuntu from a average user with 2+ year experience. This is my first Linux distro and the first version I used is Ubuntu ver. 8. At that time,the internet access is so terrible in my country and I gave it up. At 2012, I restarted my Linux journey because of a new job. Unity Before 14.04, I replaced Unity with Xfce since I feel like unity seems to be taking too much resources. Now,I am heading back to Unity to see improvement. Th...
Remote debugging with Chrome
Chrome 35 There are several changes in the newest release of Google Chrome browser. Most of the people are talking about notification center, Google Now integration and so on. For linux people, they are interested about new graphic engine called Aura. It’s intersting but I am not gonna list down all new features introduce at Chrome 35.Let’s get down to what this blog is about. Remote Debugging What I am interesting is about remote debugging through your mobile devices through chrome browser. The questions I pop up when I am reading about that feature is that it is gonna work like it said,w...
Android apps that should have spotlight
It’ve been a while I am using android devices and I am kind of ‘app junkies’. I like to find out the best apps which have nice UI and working functionally as it supposed to be. I am not gonna talk about well-known apps every body knows. These are the apps that should appreciate by the users and I recommend you to try it. You can find all apps at google play store. (BandOfTheDay): One of nice music service for people who like to discover new music. Cover: It’s an app that replace traditional lock screen with intuitive one. Earbits: Another interesting music discover service. The alg...