摘要:
另外搭配以下兩本軟體工程師面試聖經:Programming Interviews Exposed: Secrets to Landing Your Next Job(初級)Cracking the Coding Interview: 150 Programming Questions and Solutions (中級)The Google Resume: How to Prepare for a Career and Land a Job at Apple, Microsoft, Google, or any Top Tech Company面試問題:大部分都是他們會介紹一下他們自己然後請你 阅读全文
摘要:
String value = "this is a book!\n\nHello,world."; String[] paras = value.split("\n\n|,| |!|\\."); for(int i=0;i<paras.length;i++) System.out.println(paras[i]);有人可能會想到java.util.StringTokenizer,基本上API中明確的表示它已經是遺產類別(Legacy class)了,存在的原因是為了舊程式的相容性,不建議在您撰寫新程式時使用,使用split()來代替會是個好的方案 阅读全文
摘要:
Host os :winodwsGuest os :Linux 有些版本是掛載不起來的。以下設定適用於各版本的Linux Distribution,兩個共用資料夾名稱要一致。sh ./VBoxLinuxAdditions.runmkdir /mnt/Share (in Guest os) sudo mount.vboxsfShare/mnt/Share紅色「Share」為 VirtualBox 共用資料夾名稱 (in Host os)藍色「/mnt/Share」為自己建立要掛載的目錄To mount this every time linux boots, edit the file... 阅读全文
摘要:
Yesterday, almost all installations on our test server had been infected by infamous “<?phpeval(base64_decode(…)) ?>” code injection.We have more than 600 demo sites on our test server and cleaning them using any WordPress plugin out there was simply out of the question! Can you imagine loggin 阅读全文