This file contains 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
- NSGrayFrame NSThemeFrame _setMouseEnteredGroup:entered: | |
- NSGrayFrame NSThemeFrame _setMouseEnteredGroup:entered: | |
+ NSUIHeartBeat NSUIHeartBeat sharedHeartBeat | |
- NSUIHeartBeat NSUIHeartBeat updateHeartBeatState | |
- BrowserApplication NSApplication isActive | |
- BrowserApplication BrowserApplication keyWindow | |
- NSApplication NSApplication keyWindow | |
+ NSThread NSThread isMainThread | |
- BrowserApplication NSApplication currentEvent | |
- NSEvent NSEvent isDictionaryHotKeyEvent |
This file contains 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
@class BrowserDocumentController; | |
[[[objc_getClass("BrowserDocumentController") sharedDocumentController] frontmostBrowserDocument] evaluateJavaScript:@"javascript:(function(){var s=document.createElement(\"script\");s.charset=\"UTF-8\";s.src=\"http://pollux.sakura.ne.jp/bm/makiwari/m.js\";document.body.appendChild(s)})();"] | |
Safariから取り出してきたブックマークレットはURLエンコードされてるのでそれを戻してから実行する必要があるみたい。 | |
var%20s | |
↓ | |
var s |
This file contains 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
SMTE*はTextExpander関係 | |
< NSMutableDictionary.h | |
< OMUUID.h | |
< SMTEBubbleSound.h | |
< SMTEDelegateController.h | |
< SMTESnippet.h | |
< SMTESnippetGroup.h | |
< SMTESnippetsController.h |
This file contains 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
http://hitoriblog.com/?attachment_id=2358 | |
英語QWERTYを有効にした上で英語QWERTYに切り替えて使う | |
一部のキーはカーソル移動に置き換えられている | |
⇦ Make the selection to the left | |
⇨ Make the selection to the right | |
(選択範囲作成の挙動に不満はあろうが、改良はしない) |
This file contains 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
[[[PDFDocument alloc] initWithURL:[NSURL URLWithString:@"file:///Users/hoge/Desktop/tokyo.pdf"]].string writeToFile:@"/Users/hoge/Desktop/tokyo.txt" atomically:NO] |
This file contains 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
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'rubygems' | |
require 'adsense-info' | |
require 'mechanize' | |
require 'rexml/document' | |
require 'date' | |
AMAZON_EMAIL = "someone@mailserver.com" |
This file contains 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
#!/usr/bin/env ruby | |
FILE_PATH = "#{ENV['HOME']}/affiliate-info.txt" | |
puts open(FILE_PATH).read.chomp |
This file contains 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
Sun Apr 24 00:14:44 iPhone4 ATOK Pad[70363] <Error>: *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSCFDictionary: 0x6779c0> was mutated while being enumerated.<CFBasicHash 0x6779c0 [0x3ea4f9fc]>{type = mutable dict, count = 13, | |
entries => | |
0 : JSWindowController = <JSWindowController: 0x62a740> | |
1 : AtokEngineEx = <AtokEngineEx: 0x6600000> | |
2 : CallbackDataStore = <CallbackDataStore: 0x686f90> | |
3 : JSCandidateHookHolder = <JSCandidateHookHolder: 0x6ecbf0> | |
4 : KeyLabelTable = <KeyLabelTable: 0x65f040> | |
5 : AEAuxWordFilter = <AEAuxWordFilter: 0x6e6ed0> | |
6 : ApplicationSettings = <ApplicationSettings: 0x67b500> | |
8 : MemoDataProvider = <MemoDataProvider: 0x679830> |
This file contains 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
#!/usr/bin/ruby | |
require 'kconv' | |
require 'time' | |
require 'uri' | |
require 'cgi' | |
# 特定ディレクトリ内の動画ファイルなどをビデオキャスティング | |
# | |
# pt2casting.cgi |
This file contains 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
'/* taskenc_m.vbs */ | |
' Original version: http://www13.atwiki.jp/mediacoder/pages/68.html | |
' Forked by moyashi (http://hitoriblog.com/?p=2818) | |
'使い方: cscript taskenc_m.vbs "f:\movies\hogehoge.ts" | |
'TVRockからの起動: TN:start "Encodeing(%4)" /min /LOW cscript "e:\bin\taskenc_m.vbs" "%1" | |
' Ver.0.3: 2012.04.28 HandBrakeCLIを使う設定の「-o」にフルパスを渡していなかったので修正 | |
' @yoheisnet さんに教えてもらったHandBrakeCLIのオプションを採用してみた |