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
概要 | |
* アプリのバイナリをEmacsで眺める | |
* otoolで逆アセンブル | |
* nmでシンボル情報を見る | |
* otoolでシンボルに対応するデータを見る | |
* /var/log/system.logでbluedの通信ログを見る | |
* bluetoothロガーで流れるパケットを見る |
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
%define name mecab-ipadic | |
%define ver 2.7.0 | |
%define date 20070801 | |
%define release el6.4_1 | |
Summary: IPA dictionary for MeCab | |
Summary(ja): MeCab用のIPA辞書 | |
Name: %{name} | |
Version: %{ver}.%{date} | |
Release: %{release} |
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
%define name mecab | |
%define version 0.996 | |
%define release el6.4 | |
Summary: Yet Another Part-of-Speech and Morphological | |
Name: %{name} | |
Version: %{version} | |
Release: %{release} | |
Source0: https://mecab.googlecode.com/files/mecab-%{version}.tar.gz | |
License: GPL/LGPL/BSD |
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
$ node store-to-mongodb.js ./test/sample.JPG | |
insert succeeded. | |
$ mongo test01 | |
> db.images.find() | |
{ "filename" : "sample.JPG", "data" : BinData(0,"/9j/4AAQSkZJRgABAQEAtAC0AAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
: | |
: | |
$ node load-from-mongodb.js sample.JPG |
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
var fs = require('fs'); | |
var path = require('path'); | |
var mongodb = require('mongodb'); | |
var BSON = mongodb.BSON; | |
var DB_HOST = 'localhost'; | |
var DB_PORT = 27017 | |
var DB_OPTION = {}; | |
var DB_NAME = 'test01'; |
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
var fs = require('fs'); | |
var path = require('path'); | |
var mongodb = require('mongodb'); | |
var BSON = mongodb.BSON; | |
var DB_HOST = 'localhost'; | |
var DB_PORT = 27017 | |
var DB_OPTION = {}; | |
var DB_NAME = 'test01'; |
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
;; -*- coding: utf-8 -*- | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(c-default-style (quote ((c-mode . "k&r") (c++-mode . "k&r") (java-mode . "java") (awk-mode . "awk") (other . "gnu")))) | |
'(case-fold-search t) | |
'(current-language-environment "English") |