This file contains hidden or 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
import urllib | |
import json | |
import datetime | |
import requests | |
import zipfile | |
import io | |
import collections | |
import pprint | |
import export_pb2 | |
import math |
This file contains hidden or 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
8492E75F-4FD6-469D-B132-043FE94921D8 |
This file contains hidden or 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
#!/bin/sh | |
# account <YOUR_MAIL_ADDRESS> | |
# aws AIM 役割のユーザアカウントを作る <BAKET_NAME> | |
# aws configure --profile backup, CSVダウンロードしたアクセスキーとシークレットキーを backup として登録 | |
# バージニア北部、us-east-1 | |
# launchctrlに設定。設定ファイルの書式は man launchd.plist | |
# launchctl load <YOUR_DOMAIN_IN_REVERSE>.aws-s3-backup.plist | |
# launchctl list |
This file contains hidden or 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
uint32_t nrf_dfu_init() | |
{ | |
uint32_t ret_val = NRF_SUCCESS; | |
uint32_t enter_bootloader_mode = 0; | |
NRF_LOG_DEBUG("In real nrf_dfu_init"); | |
nrf_dfu_settings_init(false); | |
// Initialize the clock and timers. |
This file contains hidden or 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
# https://stackoverflow.com/questions/37210655/opencv-detect-face-landmarks-ear-chin-ear-line | |
# 結果サンプルは prCIc.png を参照。 | |
#FACE_POINTS = list(range(17, 68)) | |
#MOUTH_POINTS = list(range(48, 61)) | |
#RIGHT_BROW_POINTS = list(range(17, 22)) | |
#LEFT_BROW_POINTS = list(range(22, 27)) | |
#RIGHT_EYE_POINTS = list(range(36, 42)) | |
#LEFT_EYE_POINTS = list(range(42, 48)) | |
#NOSE_POINTS = list(range(27, 35)) | |
#JAW_POINTS = list(range(0, 17)) |
This file contains hidden or 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
// | |
// AudioPHY.m | |
// SoftwareModem | |
// | |
// Created by UEHARA AKIHIRO on 10/11/23. | |
// Copyright 2010 REINFORCE Lab. All rights reserved. | |
// | |
@import AudioToolbox; | |
#import "OTOplugUtility.h" |
This file contains hidden or 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
// | |
// AudioPHY.m | |
// SoftwareModem | |
// | |
// Created by UEHARA AKIHIRO on 10/11/23. | |
// Copyright 2010 REINFORCE Lab. All rights reserved. | |
// | |
@import AudioToolbox; | |
#import "OTOplugUtility.h" |
This file contains hidden or 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
;; download Emacs-24.3-with-inline-patch.dmg from http://sourceforge.jp/projects/macemacsjp/releases/ | |
;;http://www.emacswiki.org/emacs/FrameSize | |
;; Mac book air 11 の画面全体に表示 | |
(if window-system | |
(set-frame-size (selected-frame) 155 42)) | |
;; http://www.emacswiki.org/emacs/ToolBar | |
;; ツールバーを非表示に | |
(tool-bar-mode -1) |
This file contains hidden or 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
★銀行口座 (はんこや通帳の置き場所がない場合でも、死亡届と親類全員の印鑑証明と署名書類で引き出しはできる。その手間をいとう場合は、はんこと通帳の置き場所も明記せざるを得ない。) | |
ジャパンネット銀行 | |
個人事業主の口座です。(用途、残高の目安) | |
口座:XXX-XXXXXX | |
名義:XXXXXX | |
カスタマーセンター:0120-XX-XXXX | |
三井住友銀行 | |
生活費等の引き落とし口座です。(引き落としの内容を書いておくとよい、家賃、ガス、JR東海エキスプレスカードなど) |
This file contains hidden or 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
$KCODE = "UTF8" | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
#ターゲットのURLと、ファイル名 | |
target_url = "http://www.kickstarter.com/projects/rowdyrobot/tod-connect-real-world-actions-to-mobile-devices-a" | |
target_file ="tod.csv" | |
interval = 3600 |