2024/04/26 更新
この記事は、自作OS Advent Calendar 2018の 12/2 の記事として書かれました。
意外と、まとまったページが無いという認識だったので、記事にしてみました。
2024/04/26 更新
この記事は、自作OS Advent Calendar 2018の 12/2 の記事として書かれました。
意外と、まとまったページが無いという認識だったので、記事にしてみました。
Android Studio30分集中超絶技巧100選 DroidKaigi 2018 | |
山本 ユウスケ @yusuke | |
マウス、トラックパッドを使うのはやめましょう | |
今日は以下のキーマップの話です | |
Mac OSX: Mac OSX 10.5+ | |
Windows/Linux: Default | |
他のキーマップだとQiitaやドキュメント、ブログなどを見る際に苦労します。 | |
設定画面 Cmd + , (Ctrl + Alt + S) | |
プロジェクト設定画面 Cmd + ; | |
File > Power Save Modeでバッテリー節約 |
/// <summary> | |
/// Conversion routines for Google, TMS, and Microsoft Quadtree tile representations, derived from | |
/// http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ | |
/// </summary> | |
public class WebMercator | |
{ | |
private const int TileSize = 256; | |
private const int EarthRadius = 6378137; | |
private const double InitialResolution = 2 * Math.PI * EarthRadius / TileSize; | |
private const double OriginShift = 2 * Math.PI * EarthRadius / 2; |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
using System.Linq; | |
using System.Diagnostics; | |
class TEST{ | |
static void Main(){ | |
new TEST().GoBench(); |
#GSIMaps.tsv | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
#Last update: 2017-02-02 | ||||||||||
#title | credit | serviceUrl | yOriginTop | zmin | zmax | xmin | ymin | xmax | ymax | |
標準地図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png | 1 | 2 | 18 | |||||
淡色地図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/pale/{z}/{x}/{y}.png | 1 | 2 | 18 | |||||
白地図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/blank/{z}/{x}/{y}.png | 1 | 5 | 14 | 122.78 | 20.4 | 154.78 | 45.58 | |
English | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/english/{z}/{x}/{y}.png | 1 | 5 | 11 | 122.78 | 20.4 | 154.78 | 45.58 | |
色別標高図 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/relief/{z}/{x}/{y}.png | 1 | 5 | 15 | 122.78 | 20.4 | 154.78 | 45.58 | |
写真 | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg | 1 | 2 | 18 | |||||
国土画像情報(第一期:1974~1978年撮影) | 地理院タイル | http://cyberjapandata.gsi.go.jp/xyz/gazo1/{z}/{x}/{y}.jpg | 1 | 10 | 17 | 122.78 | 20.4 | 154.78 | 45.58 |
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
import android.os.{Parcel,Parcelable} | |
class A(in:Parcel) extends android.os.Parcelable{ | |
override def describeContents():Int = 0 | |
override def writeToParcel(out:Parcel,flag:Int){ | |
} | |
val CREATOR:Parcelable.Creator[A] = new Parcelable.Creator[A]() { |