2015年11月19日星期四

2015年11月15日星期日

Nov 15

What is the difference between VAST, VMAP and VPAID?
VAST & VMAP:
http://support.jwplayer.com/customer/portal/articles/1432026-vmap-ad-schedule

VPAID:
https://support.google.com/dfp_premium/answer/1663924?hl=en

???
VAST: 一个广告
VMAP: 一堆广告
VPAID: 一堆会动的广告

What is frequency capping?
https://en.wikipedia.org/wiki/Frequency_capping

2015年11月10日星期二

2015 October 总结

Git

git status
git diff <name_of_a_file>
git add <name_of_a_file>
git commit -m "..."
git pull
git checkout <name_of_another_branch>
git push
git rebase -i

Undo all uncommitted changes:
http://stackoverflow.com/questions/14075581/git-undo-all-uncommitted-changes?answertab=votes#tab-top

Can I undo a 'git clean -fdx'?
http://stackoverflow.com/questions/6267180/can-i-undo-a-git-clean-fdx?answertab=votes#tab-top

Compare two branches in git:
http://stackoverflow.com/questions/9834689/comparing-two-branches-in-git

How to roll back a git repository to a particular commit?
http://stackoverflow.com/questions/1616957/how-do-you-roll-back-reset-a-git-repository-to-a-particular-commit

Java

How to define a class of constants?
http://stackoverflow.com/questions/479565/how-do-you-define-a-class-of-constants-in-java?answertab=votes#tab-top

Controlling Access to Members of a Class
https://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html

About naming convention:
http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-135099.html#367

Java Access Control:
https://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html

About inner class and nested class:
http://stackoverflow.com/questions/5714727/can-a-method-in-an-inner-class-access-a-parent-class-method
https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html

About JUnit
1) Wiki
https://en.wikipedia.org/wiki/JUnit

2) Class Assert
http://junit.sourceforge.net/javadoc/org/junit/Assert.html

3) Enable assertions in Eclipse
http://stackoverflow.com/questions/5509082/eclipse-enable-assertions

Networking

Status Code definitions:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Difference between GET method and POST method:
http://www.w3schools.com/tags/ref_httpmethods.asp

Wireshark:
https://www.wireshark.org/download.html

Linux

Write your first script:
http://linuxcommand.org/lc3_wss0010.php

About tail:
http://linux.about.com/library/cmd/blcmdl1_tail.htm

About vi:
search: :/
http://stackoverflow.com/questions/1183001/how-can-i-tail-a-zipped-file-without-reading-its-entire-contents
http://www.lagmonster.org/docs/vi.html