这几天工作有点忙,时间有限,在这里就直入主题,分几个方面简单介绍下Pokémon的一些游戏细节以及最最最最最重要的快速升级秘技。基本的游戏背景介绍就直接略过啦,相信你们也是直接奔着干货来的。废话少说,言归正传,客观请往下看。

GYM Battles

当你升到5级的时候,你就可以拜访路边的gym选择跟敌人开战或者支援同盟队友啦!在你第一次战斗之前,你必须选择自己的同盟:Team Mystic(蓝队), Team Valor(红队) and Team Instinct(黄队)。 目前的大趋势是蓝队和红队比较多,我选的是蓝队,现在公司和家周围的gyms目前都是蓝队占领着,个中细节,你们自己体会。

Read More

作为雪城五次郎(五次过Road Test),我觉得本人非常有必要有责任有义务写这么一个雪城路考指南,造福学弟学妹. 如果有任何疑问,欢迎在文末追加评论.

预约路考

在路考之前,你首先得通过笔试(Written Test)拿到drive permit,有了permit以后还需要预约一个5小时的Pre-licensing DMV Class,上完课以后获得听课证(Certificate),才可以预约路考.

预约路考之前的这些步骤都比较简单,我们今天直入主题,来谈一下预约完路考之后的诸项事宜.

准备路考

一般预约到的路考时间大概会在一个月之后,也就是说预约完路考之后,你大概还有一个月的时间来准备.

Read More

这两天稍微闲下来折腾了一下退税的事,在这里稍微总结一下,希望对大家有所帮助.(F1适用,暂不涉及H1B)

为什么要报税

为了尽可能避免逃税漏税,每年税务局会从我们工资里暂扣一部分金额(Tax withheld)作为我们预交的税款.等来年的春天(大概2月初-4月15日)的时候再统一清算应该交的税款,多退少补.

对于我们F1的学生来说,根据中美税款豁免协定Article 20(b),我们从学校拿的的津贴和奖学金(scholarship / fellowship)以及中美税款豁免协定Article 20(c)我们每年$5000之内的薪资收入都是不用交税的,即Tax-exempt amounts under a tax treaty.

但是税务局在预扣税款的时候并没有考虑我们奖学金和工资前$5000刀的免税情况,反正你有收入我就扣税,呵呵呵~

所以我们需要把钱要回来! 报税===退税!

Read More

Now we have a local Ionic web app and a Linode VPS where we can run our web app remotely, so here I am going to upload the local web files to Linode VPS.

FileZilla FTP Program

Here we are going to use FileZilla to upload our web files to our server. FileZilla is an FTP(stands for file transfer protocol) used to download/upload files from/to a server. It’s a free program and works on both Mac OS X and Windows.

Read More

Choose Linode as my cloud hosting provider

Linode is a Cloud Hosting provide high performance SSD Linux VPS. I choose Linode because of the stability of its services.

Sign up

Visit my referral link to create an Linode account. Don’t forget to use promo code LINODE10 to get $10 sign up credit.

Select plan

Sign in and select a Linode plan and data center, as shown below.

Read More

Today I am going to build my first ionic project with Instagram API. Because it’s easier to just get data from API rather than SQLite or local storage.

Create a blank Ionic project

Install Ionic

Ionic is a framework based on Node.js. Make sure you already have installed Node.js.

1
$ npm install -g cordova ionic

Follow the Android and iOS platform guides to install platform dependencies you need.

Read More

A binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.

Typically binary tree is used to define a labeling function on the nodes, which associates some value to each node. Binary trees labelled this way are used to implement binary search trees and binary heaps, and are used for efficient searching and sorting.

Read More

Here I just list few common issues for now I encountered when I use Git and Github.

How to get a Git repository

For example, I need to get the Jacman theme for this blog.
I need to get to my blog’s local themes folder:

1
2
$ cd blog/themes
$ git clone https://github.com/wuchong/jacman.git jacman

How to update files from Git repository

For example, I want to update Jacman theme, I can:

1
2
$ cd blog/themes/jacman
$ git pull origin master

Read More