Skip to content

Instantly share code, notes, and snippets.

View peccu's full-sized avatar
🦉
Information is the network

peccu peccu

🦉
Information is the network
View GitHub Profile
@peccu
peccu / pattern_file.json
Created December 7, 2011 10:16 — forked from toshia/pattern_file.json
写真アップロードサービスのURLから画像のURLを得るためのマッチ条件
{
"twitpic": {
"url": "^http://twitpic\\.com/[a-zA-Z0-9]+",
"attribute": {
"id": "photo-display"
}
},
"yfrog": {
"url": "^http://yfrog\\.com/[a-zA-Z0-9]+",
"attribute": {
@peccu
peccu / pattern_file.json
Created November 16, 2011 14:37 — forked from toshia/pattern_file.json
写真アップロードサービスのURLから画像のURLを得るためのマッチ条件
{
"twitpic": {
"url": "^http://twitpic\\.com/[a-zA-Z0-9]+",
"attribute": {
"id": "photo-display"
}
},
"yfrog": {
"url": "^http://yfrog\\.com/[a-zA-Z0-9]+",
"attribute": {
@peccu
peccu / 0.png
Created June 20, 2011 03:32 — forked from hitode909/0.png
Emacsがブロックしたらポップアップを出す
0.png
;; cfw:howm-from-calendar-fast
(defun cfw:howm-from-calendar-fast ()
(interactive)
(let* ((mdy (cfw:cursor-to-nearest-date))
(m (calendar-extract-month mdy))
(d (calendar-extract-day mdy))
(y (calendar-extract-year mdy))
(key (format-time-string
howm-date-format
;;; anything-mac-itunes.el --- Use iTunes on Mac with anything.el
;; Copyright (C) 2010 Hiroshige Umino
;; Author: Hiroshige Umino <yaotti@gmail.com>
;; Created: 2010-11-24
;; Version: 0.0.1
;;
;; Keywords: anything, mac
;;