Skip to content

Instantly share code, notes, and snippets.

View sasaujp's full-sized avatar
💭
:trollface:

sasau sasaujp

💭
:trollface:
  • glucose inc.
  • japan
View GitHub Profile
@sasaujp
sasaujp / umakaparser.md
Last active April 14, 2022 05:06
UmakaParserがどのようにデータを収集しているか

umakaparserが吐き出すJSONは以下のフィールドから成り立っています。

  • meta_data
  • prefixes
  • classes
  • properties
  • inheritance_structure

それぞれどのように情報を取得しているのかについて記述します。

@sasaujp
sasaujp / en.md
Last active April 7, 2023 02:49
Privacy_Policy

Privacy Policy

This app respects users' privacy and is committed to handling it appropriately. This privacy policy explains how the app collects, uses, and shares user information.

1. Collection and use of information

This app does not collect information directly from users. However, in order to use the app's features, permission to access images on the device is requested. If permission is granted, the app uses images on the device, but these images are not stored or shared outside of the app.

2. Third-party advertising

This app uses a third-party advertising platform called Google Admob. As a result, Google Admob may collect information listed on the App Store. Please see Google Admob's privacy policy for more information.

@sasaujp
sasaujp / privacy_policy_ja.md
Last active February 5, 2021 04:38
棚上げテキストプライバシーポリシー

本Appでユーザーが作成しているデータに関して、当方でお預かりしているものはなく、端末内でのみ管理されています。
そのため、バックアップ等は現在存在していないので、Appを削除するときはご注意ください。
Appのクラッシュログは、今後の開発に役立てる目的でサードパーティのサービスを用いて収集させていただいております。

We do not keep any of the data that users create in this app, and it is only managed in the device.
There are no backups available, so please be careful when deleting the App.
App crash logs are collected by a third party service for future development purposes.

@sasaujp
sasaujp / func.py
Created February 14, 2019 06:13
ディレクトリの中で指定したパターンにマッチしないファイルとディレクトリを削除する。 / Delete files and directories that do not match the pattern specified in the directory.
from pathlib import Path
from typing import List
def _remove_files_that_do_not_match_patterns(path: Path, patterns: List[str]):
for pattern in patterns:
if path.match(pattern):
return True
else:
if not path.is_dir():
@sasaujp
sasaujp / _.md
Last active March 18, 2019 04:08
Tevereについて

歴史上世界各国で行われた戦争をマップ上に表示しています。
スライダーを動かすと好きな年代の戦いを表示することができます。
初期状態だと10年単位ですが、スライダーの右のスイッチを切り替えると1年単位に切り替えることもできます。
その他、司令官やカテゴリから絞り込んだり、左上の検索窓から戦いと指令官を検索することもできます。

どうやってデータを集めているの?

DBPedia: http://dbpedia.org からSPARQLを使って収集したものを使用しています。

@sasaujp
sasaujp / .md
Last active August 10, 2016 02:55

160810_1 160810_2 160810_3

ここにある26週新共同訳のテキスト起こし
http://biblestyle.com/planner.html
加工用に。

マタイ1:1-2:23/創世1:1-6:8
マタイ3:1-4:25/創世6:9-12:20
マタイ5:1-48/創世13:1-18:33
マタイ6:1-7:6/創世19:1-23:20
マタイ7:7-8:27/創世24:1-26:35

2136個

一乙九七十人二入八力刀丁又了下口三山子女小上夕千川大土丸弓工才万士久干己寸亡及丈凡与刃巾乞円王火月犬五手水中天日木文六引牛今元戸午公止少心切太内父分方毛友区化反予欠氏不夫支比仏尺収
仁介刈凶互井丹匹斤幻孔冗双斗乏升弔屯厄牙勾爪匂片玉左四出正生石田白本目右立外兄古広矢市台冬半母北用央去号皿仕写主申世他打代皮氷平由礼以加功札史司失必付辺包末未民令圧永可刊旧句示犯布
弁穴冊処庁幼甘丘巨玄込召占奴払矛甲巧斥凹且囚汁仙凸尼丙瓦叱尻旦丼氾休気糸字耳先早竹虫年百名羽会回交光考行合寺自色西多池地当同肉米毎安曲血向死次式守州全有羊両列衣印各共好成争仲兆伝灯
老因仮件再在舌団任宇灰危机吸后至存宅扱芋汚汗朽叫仰旨芝朱舟巡旬尽吐弐忙劣企吉刑如匠伐帆伏吏缶江充迅壮肌妃朴妄伎臼汎花貝見車赤足村男町何角汽近形言谷作社図声走体弟売麦来里医究局君決住
助身対投豆坂返役位囲改完希求芸告材児初臣折束低努兵別利良冷労応快技均災志似序状条判防余我系孝困私否批忘卵乱壱戒含却狂迎更抗攻伺秀床吹即沢沖沈抜尾坊妙肝忌岐坑克寿伸辛択尿伴芳邦妨没抑
励亜吟呉佐肖抄杉妥但呈廷忍妊把伯扶戻串沙芯汰那阪肘冶妖沃呂弄雨学空金青林画岩京国姉知長直店東歩妹明門夜委育泳岸苦具幸始使事実者昔取受所注定波板表服物放味命油和英果芽官季泣協径固刷参
治周松卒底的典毒念府法牧例易往価河居券効妻枝舎述承招性制版肥非武沿延拡供呼刻若宗垂担宙忠届乳拝並宝枚依押奇祈拠況屈肩刺沼征姓拓抵到突杯泊拍迫彼怖抱肪茂炎欧殴佳怪岳拘祉侍邪昇炊阻卓抽
@sasaujp
sasaujp / file0.txt
Last active July 12, 2018 04:34
コードからもIBからも使えるUIViewのサブクラスのinitに関して ref: https://qiita.com/sasau/items/9dd4e1c78ee669603ddb
@interface HogeView: UIView
@property(nonatomic)UIView *fugaView;
@end
@implementation HogeView
- (instancetype)initWithFrame:(CGFrame)frame {
self = [super initWithFrame:frame];
@sasaujp
sasaujp / file0.txt
Last active December 2, 2015 00:04
日本の野球選手の出身高校を列挙するクエリの例 ref: http://qiita.com/sasau/items/d5cb1b4cf552489cbb31
PREFIX dbp-owl: <http://dbpedia.org/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dbpprop-ja: <http://ja.dbpedia.org/property/>
PREFIX dbp-category: <http://ja.dbpedia.org/resource/Category:>
PREFIX dbp-template: <http://ja.dbpedia.org/resource/Template:>
select distinct ?label ?team_label
where {