Skip to content

Instantly share code, notes, and snippets.

@tenpoku1000
tenpoku1000 / AC_2018-12-02_Intel-doc-links.md
Last active April 26, 2024 04:59
インテル関連ドキュメント・リンク集
@yusuke
yusuke / Android Studio30分集中超絶技巧100選メモ DroidKaigi 2018 #DroidKaigi #DroidKaigi_room3
Created February 9, 2018 02:10
Android Studio30分集中超絶技巧100選メモ DroidKaigi 2018 #DroidKaigi #DroidKaigi_room3
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でバッテリー節約
@nagasudhirpulla
nagasudhirpulla / WebMercator.cs
Created September 26, 2017 17:03
C# Web Mercator utility class
/// <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;
@kuuso
kuuso / CPAC2015_Bench.cs
Last active September 17, 2019 16:33
CPAC 2015のベンチマーク用ソースコード
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();
@minorua
minorua / GSIMaps.tsv
Last active December 5, 2020 12:57
[QGIS][TileLayerPlugin] 地理院地図(GSI Maps: http://maps.gsi.go.jp/ )のタイルをタイルレイヤプラグインで利用するためのレイヤ情報データです。タイル・ズームレベルによっては追加の出所明示が必要な場合があります。利用にあたっては国土地理院コンテンツ利用規約(http://www.gsi.go.jp/kikakuchousei/kikakuchousei40182.html )および地理院タイル一覧(http://maps.gsi.go.jp/development/ichiran.html )の該当箇所をよくお読み下さい。
#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
@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;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
@xuwei-k
xuwei-k / A.scala
Created April 30, 2012 02:49
scala android Parcelable
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]() {