Conny Gu

Conny Gu

The easiest way to update nodejs and npm

Linux: sudo npm cache clean -f sudo npm install -g n sudo n stable Windows: Methode 1: 1. Dowload and install the latest version of node.js 2. go the directory: C:\Program Files\nodejs npm install -g npm@latest Methode 2: 1. install…

Highlights of the new RStudio releases

The new release of R Studio got many improvement. As I read them, I was very so excited about the new functions. Here are highlights for me. Data can be filtered, searched, and sorted Execute R code from the Source…

My Git learning notes

Git Basic Git Help $ git help $ git help config Setting up git $ git config –global user.name “xxx” $ git config –global user.email “xxx@xxx.com” $ git config –global color.ui true Starting a Repo $ git init Work flow:…

sublime text 2 build configuration

Sublime is a great editor, it can deal with nearly all programming languages and expecially fit for web developer. I tried the sublime for Python. For beginner, you should do the following settings: Install the package control usage: ctrl+shift+p  ->…

Configure Git for RStudio

There is an article from RStudio explained how to configure Git for RStudio. But it is not very detailed. I ran into many problem during the configuration and wasted a lot of time just for configuration.  So I decided to…

Animating a point walking flow with python

Using the SimpleGUICS2Pygame can animate the walking path easily. (The SimpleGUICS2Pygame is a implementation of simplegui.) I wrote an small code for the simulation in codeskulptor, you can run it directly and see the effect: But you need to install and…

solution for installing pygame

I have two computers, the one has windows system at home, the other has ubuntu system in my office. In each computer, I have two python, the one is normal python, the other is anaconda. I try to install the…