Skip to content

Instantly share code, notes, and snippets.

View maripo's full-sized avatar
💭
I may be slow to respond.

Maripo GODA maripo

💭
I may be slow to respond.
View GitHub Profile
<?xml version="1.0"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" author="Maripo GODA and contributors" description="日本で使われる決済手段です" shortdescription="日本の決済手段" version="20220727">
<item name="日本の決済手段" icon="presets/money/dollar.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
<link wiki="Key:payment" />
<combo key="payment:cash" text="現金" values="no" match="keyvalue" />
<checkgroup columns="1">
<check key="payment:coins" text="硬貨"/>
<check key="payment:notes" text="紙幣"/>
</checkgroup>
<space />
@maripo
maripo / japan_okinawa_trees.xml
Last active February 24, 2018 13:22
沖縄県の樹木
<?xml version="1.0"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" author="Maripo GODA and contributors" description="日本でよく見られる樹木のプリセットです" shortdescription="日本の樹木">
<chunk id="japan_trees">
<text key="operator" text="運営者"/>
<text key="ref" text="参照番号"/>
<text key="height" text="高さ(m)"/>
<text key="circumference" text="幹の外周(m)"/>
<combo key="denotation" text="特徴" values="landmark,natural_monument,avenue,urban"/>
<check key="monument" text="記念樹"/>
</chunk>
@maripo
maripo / japan_trees.xml
Last active February 28, 2018 05:45
日本の樹木プリセット (仮)
<?xml version="1.0"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" author="Maripo GODA and contributors" description="日本でよく見られる樹木のプリセットです" shortdescription="日本の樹木">
<chunk id="japan_trees">
<text key="operator" text="運営者"/>
<text key="ref" text="参照番号"/>
<text key="height" text="高さ(m)"/>
<text key="circumference" text="幹の外周(m)"/>
<combo key="denotation" text="特徴" values="landmark,natural_monument,avenue,urban"/>
<check key="monument" text="記念樹"/>
</chunk>
@maripo
maripo / NSDate+Comparison.h
Created September 1, 2014 08:34
NSDate+Comparison
#import <Foundation/Foundation.h>
@interface NSDate (Comparison)
- (BOOL) isBefore: (NSDate*) date;
- (BOOL) isAfter: (NSDate*) date;
@end
@maripo
maripo / rarejob_tomorrows_lesson.md
Last active August 29, 2015 14:05
RareJob Tomorrow's Lesson Bookmarklet
@maripo
maripo / curry_udon.md
Last active August 29, 2015 14:05
キーマカレー皿うどん
@maripo
maripo / attiny10_int0.c
Created July 10, 2014 08:55
Attiny10 INT0 snippet
#include <avr/interrupt.h>
#include <avr/io.h>
ISR(INT0_vect) {
//Do Something
}
int main(void) {
EIMSK |= (1 << INT0);
PCMSK = (1 << PCINT0);
@maripo
maripo / marutai_curry_ramen.md
Created July 5, 2014 16:46
マルタイ棒ラーメンでカレー麺

マルタイ棒ラーメンでカレー麺

材料 (1人分)

  • 玉葱: 1/2個
  • マルタイ棒ラーメン: 1把
  • サラダオイル: 大さじ1
  • 鶏肉: てきとー
  • 生姜: てきとー
  • クミンシード: てきとー
  • コリアンダーパウダー: てきとー
#!/usr/bin/perl
# replace_resource_ids.pl
# It replaces resource IDs (R.string.xxx) in source files with resource string
# and write in STDOUT.
# usage: ./replace_resource_ids.pl strings.xml Hoge.java
use strict;
my $dictFile = $ARGV[0];
my $convertFile = $ARGV[1];
@maripo
maripo / lists_of_black_holes
Last active December 16, 2015 22:20
lists of black holes
http://en.wikipedia.org/wiki/List_of_black_holes
http://heasarc.nasa.gov/docs/swift/results/transients/BlackHoles.html
http://www.johnstonsarchive.net/relativity/bhctable.html