phoenix13

导航

 

2017年1月19日

摘要: 1. Redirect URL http://www.logicbig.com/tutorials/spring-framework/spring-web-mvc/redirect-view/ 阅读全文
posted @ 2017-01-19 12:54 phoenix13 阅读(98) 评论(0) 推荐(0) 编辑
 

2016年5月13日

摘要: 1. regex with variable example: find the number and put a parenthese around the number. output: a(5265)b 阅读全文
posted @ 2016-05-13 14:34 phoenix13 阅读(112) 评论(0) 推荐(0) 编辑
 

2016年4月13日

摘要: 1. visitor design pattern http://butunclebob.com/ArticleS.UncleBob.IuseVisitor 阅读全文
posted @ 2016-04-13 10:18 phoenix13 阅读(142) 评论(0) 推荐(0) 编辑
 

2016年3月28日

摘要: 1. require() load module http://stackoverflow.com/questions/9901082/what-is-this-javascript-require https://nodejs.org/api/modules.html#modules_module 阅读全文
posted @ 2016-03-28 12:44 phoenix13 阅读(140) 评论(0) 推荐(0) 编辑
 

2016年1月21日

摘要: 1. lambdaexample 1 // Create a basic delegate that squares a number MyDelegate foo = (x) => x * x; Console.WriteLine(... 阅读全文
posted @ 2016-01-21 05:54 phoenix13 阅读(215) 评论(0) 推荐(0) 编辑
 
摘要: 1. delegateexample1class Program{ public delegate int MyDelegate(int i); int MyFunc(int i) { return i; } ... 阅读全文
posted @ 2016-01-21 02:49 phoenix13 阅读(301) 评论(0) 推荐(0) 编辑
 

2016年1月19日

摘要: 1. outputConsole.WriteLine("hello world");2. naming conventionvariable: start with lower-case, use camel-casedouble thePrice = 14.95;for the rest (cla... 阅读全文
posted @ 2016-01-19 05:45 phoenix13 阅读(316) 评论(0) 推荐(0) 编辑
 

2015年11月16日

摘要: http://code.tutsplus.com/tutorials/using-the-accelerometer-on-android--mobile-22125public class Main extends Activity implements SensorEventListener {... 阅读全文
posted @ 2015-11-16 06:21 phoenix13 阅读(426) 评论(0) 推荐(0) 编辑
 

2015年11月11日

摘要: 1. readpublic static void readfile(String filepath) { BufferedReader br = null; try { String sCurrentLine; br = ne... 阅读全文
posted @ 2015-11-11 06:34 phoenix13 阅读(392) 评论(0) 推荐(0) 编辑
 

2015年11月9日

摘要: select t1.uid from(select uid from table1) t1 inner join (select uid from table2) t2 where t1.uid=t2.uid 阅读全文
posted @ 2015-11-09 07:27 phoenix13 阅读(195) 评论(0) 推荐(0) 编辑