- 博客(9)
- 收藏
- 关注
原创 Replace ^M character of Windows with newline on linux/Mac
Sometime exported data from excel may contains ‘^M’ issues, so that cannot process data further without removing the annoying ‘^M’. Approach to replace ‘^M’ characters with newline in *inux.Open the...
2018-07-20 14:00:01 174
原创 Inserting操作导致死锁Oracle
Oracle deadlock on inserting operation复现步骤创建表其中一个字段是作为唯一主键, 在这里随便指定一个字段 columnACreate table deadlock_table(columnA varchar2(10) not null primary key,columnB varchar2(10));在两个session中,...
2018-07-02 17:53:54 651
原创 Docker Tutorial
Docker basic commandEnter a container docker exec -it container-name bash
2017-04-06 21:14:04 434
翻译 Java Servlet Technology
Concurrent access can arise in several situations in a servlet application: 1. Multiple web components accessing objects stored in the web context. 2. Multiple web components accessing objects stor
2017-02-23 17:37:34 269
原创 NullPointerException when comparing int with Integer
Have you meet this situation: compare Integer with its primitive type int? The situation seems like the following example. public class NullPointerExceptionCaseStudy { public static void main(Strin
2016-05-27 15:38:57 499
原创 git common commands
Situation: Now I want to create a temporary branch based on release-4.0 named release-4.1switch to target branchgit checkout release-4.0check if the branch is rightgit branchcreate a temporary branch n
2016-05-23 15:11:56 526
原创 Push local non-git project to remote github repo
Initiate a local repository in project directory$ git initCommit local files to local repoAdd remote repogit remote add origin *[your remote repo url]*Push local repo master branch to remote master bra
2016-04-08 13:30:56 370
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人