Profile cover photo
Profile photo
Huang Stanley
I earn for the living by my handsome face and sweet words. IT know how, just my sugar coating.
I earn for the living by my handsome face and sweet words. IT know how, just my sugar coating.

Huang's posts

Post has attachment
[Level 1] Lost and Found in git
Once you get lost in git and you could try to find it by the following commands $ git fsck --lost-found
$ git reset HEAD@{1} Wish this helps. regards, Stanley Huang

Post has attachment
[Level 1] Reversion of git
Just read an article mentioned about the reversions of git, so take a note here. G H I J
\ / \ /
\ | / \
\ | / |
\|/ |
\ /
\ /
A = = A^0
B = A^ = A^1 = A~1
C = A^...

Post has attachment
[ Level 1 ] Limit memory usage in Python program
We could limit memory usage in Python program. #!/usr/bin/env python3.5
import resource

def show_memory_limit():
soft, hard = resource.getrlimit(resource.RLIMIT_DATA)
print 'Soft limit changed to :', soft
print 'Hard limit changed to :', hard


Post has attachment
[Level 1] Install RStudio on Ubuntu 16.04
One you have installed R on Ubuntu, there is a great R develop environment called "RStudio". You could install "R Studio" via apt-get command. $ sudo apt-get -y install rstudio
$ rstudio Wish this helps. regards, Stanley Huang

Post has attachment
Install R in Ubuntu
Here are the steps to install R on Ubuntu 16.04 $ sudo apt-key adv --keyserver --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
$ sudo add-apt-repository 'deb [arch=amd64,i386] xenial/'
$ su...

Post has attachment
[Level 1] How to setup Debian for sharing screen on WebEx.
I installed Debian 8 on my laptop but cannot share my screen on WebEx. After I google it and I found I could share my screen by installing the following packages. libgcj14-awt:i386
libpangox-1.0-0:i386 libxft2:i386

Post has attachment
[ Level 1 ] What could we do in Sprint 0?
There are many different opinions about if team should have Sprint 0 or not. In my opinion, Sprint 0 is a good for team, because it could avoid team to take pressure immediately if no more Sprint 0.1, 0.2, 0.3...etc.

What will I do in Sprint 0? Here is a...

Post has attachment
[Level 1] git ingore
If you want git not to commit some temporary files or log files...etc.,
you could create .gitignore file to ignore them.
If you don't have any idea about which file should be ignore,
you could also download ignore templates that prepared by github. mkdir ~/...

Post has attachment
[Level 1] HOWTO Installing Packages from Yaourt AUR in Archlinux.
If you want to install packages from Yaourt(Yet AnOther User Repository Tool ) AUR(Archlinux User Repository),
you could follow the following steps. 1. Install development environment.
$ sudo pacman -S base-devel
$ sudo pacman -S yajl

2. Download, build an...

Post has attachment
[Level 1] Create git repository by command.
A script for creating git repository quickly. Wish this helps. regards, Stanley Huang
Wait while more posts are being loaded