摘要:
1. Redirect URL http://www.logicbig.com/tutorials/spring-framework/spring-web-mvc/redirect-view/
阅读全文
posted @ 2017-01-19 12:54
phoenix13
阅读(105)
推荐(0)
摘要:
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
阅读(116)
推荐(0)
摘要:
1. visitor design pattern http://butunclebob.com/ArticleS.UncleBob.IuseVisitor
阅读全文
posted @ 2016-04-13 10:18
phoenix13
阅读(145)
推荐(0)
摘要:
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
阅读(146)
推荐(0)
摘要:
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
阅读(222)
推荐(0)
摘要:
1. delegateexample1class Program{ public delegate int MyDelegate(int i); int MyFunc(int i) { return i; } ...
阅读全文
posted @ 2016-01-21 02:49
phoenix13
阅读(311)
推荐(0)
摘要:
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
阅读(327)
推荐(0)
摘要:
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
阅读(433)
推荐(0)
摘要:
1. readpublic static void readfile(String filepath) { BufferedReader br = null; try { String sCurrentLine; br = ne...
阅读全文
posted @ 2015-11-11 06:34
phoenix13
阅读(416)
推荐(0)
摘要:
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
阅读(199)
推荐(0)