blue の個人的な備忘録です
- 都内 or 県外をざっくり決める
- マンション、一戸建てをざっくり決める
- 間取りをざっくり決める
- SUUMO をネットサーフィンしまくって、価格や設備、周辺環境の相場・相関を掴む
- 数件気になった物件を内見して、ネットで得た知識と現物を比較・体感する
- 希望する地域・物件などの価格相場はわかったので、FP さんに相談して我々が購入できる価格帯、新築or中古をすり合わせる
// ref: https://gist.github.com/M-Igashi/750ab08718687d11bff6322b8d6f5d90 | |
// 認証用インスタンス | |
var twitter = TwitterWebService.getInstance( | |
'', // 作成したアプリケーションのConsumer Key | |
'' // 作成したアプリケーションのConsumer Secret | |
); | |
/// main methods /// |
(defun funcy-put-str! (str) | |
(let* ((vpos (line-number-at-pos)) | |
(hpos 0)) | |
(animate-string str vpos hpos))) |
(defun my-smart-copy () | |
"If the region is selected, copy the region. If not, copy thing-at-point." | |
(interactive) | |
(cond | |
((region-active-p) | |
(progn | |
(copy-region-as-kill (region-beginning) (region-end)) | |
(message "region copied!"))) | |
((thing-at-point 'symbol) | |
(progn |
(require 'buffer-expose) | |
(setq buffer-expose-max-num-windows 8) | |
(setq buffer-expose-max-num-buffers 100) | |
(setq buffer-expose-hide-headerlines t) | |
(setq buffer-expose-hide-modelines t) | |
(setq buffer-expose-rescale-factor 0.9) | |
(setq buffer-expose-hide-regexes | |
'("init.el" ".*log.*" "*Messages*" "*Help*" "*Compile-Log*" "*scratch*")) |
(defun ensime-popup-type () | |
(interactive) | |
(let* ((type (ensime-type-at-point-full-name))) | |
(popup-tip type))) |
(add-hook 'flycheck-status-changed-functions | |
(lambda (status) | |
(when (eq status 'finished) | |
(if(flycheck-has-current-errors-p 'error) | |
(notification-center "flycheck ERROR"))))) | |
;; Mavericksで Emacsからデスクトップ通知を使う | |
;; http://syohex.hatenablog.com/entry/20131025/1382712857 | |
(defvar notification-center-title "Emacs") | |
(defun notification-center (msg) |
;; load package | |
(add-to-list 'load-path "~/github/Fill-Column-Indicator") | |
(require 'fill-column-indicator) | |
;; invoke when prog-mode | |
(add-hook 'prog-mode-hook 'fci-mode) | |
;; when ruby-mode, rule-column is 80 | |
(add-hook 'ruby-mode-hook | |
(lambda () (setq fci-rule-column 80))) |
;; open current directory | |
(defun finder-current-dir-open() | |
(interactive) | |
(shell-command "open .")) | |
;; open selected directory | |
(defun finder-open(dirname) | |
(interactive "DDirectoryName:") | |
(shell-command (concat "open " dirname))) |
;; forked from https://gist.github.com/ustun/73321bfcb01a8657e5b8 | |
(defun eslint-fix-file () | |
(interactive) | |
(call-process-shell-command | |
(concat "eslint --fix " (buffer-file-name)) nil 0)) | |
(defun eslint-fix-file-and-revert () | |
(interactive) | |
(eslint-fix-file) |