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
public static List<LatLng> decodePoly(String encoded) { | |
List<LatLng> poly = new ArrayList<LatLng>(); | |
int index = 0; | |
int len = encoded.length(); | |
double lat = 0, lng = 0; | |
while (index < len) { | |
int b, shift = 0, result = 0; |
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
$("a:contains('ねこ')").css("color", "red"); |
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
// var cnt =0 ; | |
var outerFunc = function(cnt) { | |
var tmp = "hoge"; | |
// var cnt = i; | |
var innerFunc = function() { | |
cnt += 1; | |
document.write(cnt + "<br>"); | |
}; | |
var innerFunc2 = function(i) { | |
if(i===undefined) { // 引数がないとき |
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
var outerFunc = function() { | |
var tmp = "hoge"; | |
var innerFunc = function() { | |
document.write(tmp); | |
return tmp; | |
}; | |
return innerFunc; | |
}; |
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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
</body> |