-
Typical of the grassland dwellers of the continent is the American antelope, or pronghorn。 美洲羚羊,或称叉角羚,是该大陆典型的草原动物。
-
Of the millions who saw Haley’s comet in 1986, how many people will live long enough to see it return in the twenty-first century。 1986年看见哈雷慧星的千百万人当中,有多少人能够长寿到足以目睹它在二十一世纪的回归呢?
-
Anthropologists have discovered that fear, happiness, sadness, and surprise are universally reflected in facial expressions。 人类学家们已经发现,恐惧,快乐,悲伤和惊奇都会行之于色,这在全人类是共通的。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<script> | |
<!--标题闪烁--> | |
var initTitle = document.title, isShine = true; | |
var isture = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
somewhat:有些 | |
exclusively:只,仅仅 | |
ephemeral:短暂的 | |
manual:手工的 |
这篇文章翻译自一位外国友人的关于面试后端程序员的文章,我比较喜爱这篇文章。一是因为它极大的拓宽了我的视角,另一方面是其中的一些问题非常具有启发性。不仅对于面试者,对于面试官来说也是个不错的参考。于是迫不及待的翻译了一下,给各位看官做个参考。
这篇文章中,许多问题我并没有完全理解,所以翻译可能存在不准确的地方。如果有读者发现有一些翻译有误或者不好的地方,请不吝赐教。
原文参见 @arialdomartini的: Back-End Developer Interview Questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.go2going; | |
import org.junit.Test; | |
import java.util.LinkedList; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.LinkedBlockingQueue; | |
import java.util.concurrent.locks.Lock; | |
import java.util.concurrent.locks.ReentrantLock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.go2going.sort; | |
import java.util.Arrays; | |
/** | |
* 项目名称: testcode<br> | |
* 类名称: QuickSort<br> | |
* 描述:快速排序: | |
* | |
* @author wangqiang |
title | date | tags |
---|---|---|
Golang 新手可能会踩的 50 个坑 |
2018-03-07 04:15:00 -0800 |
Golang |
原文:50 Shades of Go: Traps, Gotchas, and Common Mistakes,翻译已获作者 kcqon 授权。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------26进制转换----------------------- | |
@Test | |
public void test14() { | |
String str = "QQ"; | |
char[] chars = str.toCharArray(); | |
int sum = 0,index=0; | |
for (int i = chars.length-1; i >=0 ; i--) { | |
sum += Math.pow(26, index++) * (chars[i] - 64) ; | |
} | |
System.out.println(sum); |
OlderNewer