Skip to content

Instantly share code, notes, and snippets.

@mori-dev
mori-dev / gist:3154649
Created July 21, 2012 05:03
myrurema.index
ACL
ARGF
Abbrev
Addrinfo
Arc
ArgumentError
Array
Base64
BasicObject
BasicSocket
(function() {
function a () {alert("hoge")}
window.a = a;
}).call(this);
a();
(function() {
var a;
a = "hoge";
window.a = a;
}).call(this);
console.log(a);
@mori-dev
mori-dev / gist:3022309
Created June 30, 2012 04:42
anything-howm+deferred.el
(defvar my-ah:pre-candidate-buffer "*my-ah:pre-cancicate*")
(defun my-ah:make-candidate-buffer ()
(interactive)
(with-current-buffer (get-buffer-create my-ah:pre-candidate-buffer)
(erase-buffer)
(insert (mapconcat 'identity
(ah:get-recent-title-list
(howm-recent-menu ah:recent-menu-number-limit))
"\n"))))
@mori-dev
mori-dev / gist:3004354
Created June 27, 2012 14:20 — forked from tokkonopapa/gist:2989052
Emoji cheat sheet for GitHub

People

:bowtie: 😄 😊 😃 ☺️ 😏 😍 😘 :kissing_face: 😳 😌 😆 😁 😉 :wink2: 👅 😒 😓 😔 😞 😖 😨 😰 😣 😢 😭 😂 😲 😱 😠 😡 😪 😷 👿 👽 💛 💙 💜 ❤️ 💚 💔 💓 💗 💘 ✨ ⭐ 🌟 💢 ❗ ❓ ❕ ❔ 💤 💨 💦 🎶 🎵 🔥 💩 💩 💩 👍 👍 👎 👎 👌 👊 ✊ ✌️ 👋 ✋ 👐 ☝️ 👇 👈 👉 🙌 🙏 👆 👏 💪 🤘 🚶 🏃 👫 💃 👯 🙆‍♀️ 🙅 💁 🙇 💏 💑 💆 💇 💅 👦 👧 👩

(defmacro r3:def-file-gathering-cmd (name)
`(defun ,(intern (concat "r3-cmd" (symbol-name (eval name)) "-files")) ()
(interactive)
(r3:anything-project
(r3:matched-files ,(second (assoc (eval name) rails-directory<-->types)))
(concat "*r3-" ,(symbol-name (r3:strip-symbols-colon (eval name))) "-files*"))))
(defmacro singularize-compornent (name)
`(defadvice ,(rails-symbol-without-colon name)
;; `(defadvice (rails-symbol-without-colon ,name)
(before ,name (component) activate)
(setq component (singularize-string component))))
(defun rails-symbol-without-colon (sym)
(intern (substring (symbol-name sym) 1)))

GNU Emacs NEWS — history of user-visible changes.

Copyright © 2010-2012 Free Software Foundation, Inc.
See the end of the file for license conditions.

Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
If possible, use M-x report-emacs-bug.

This file is about changes in Emacs version 24.

@mori-dev
mori-dev / gist:2905306
Created June 10, 2012 12:33
emacs24.1 にあって emacs23.4 にない関数
Man-bookmark-jump
abbrev-edit-save-buffer
abbrev-edit-save-to-file
abbrev-table-empty-p
allout-auto-activation-helper
allout-setup
allout-widgets-mode
allout-widgets-setup
balance-windows-1
balance-windows-2
@mori-dev
mori-dev / gist:2905300
Created June 10, 2012 12:31
emacs23.4 にあって emacs24.1 にない関数
appt-delete
appt-make-list
browse-url-default-browser
browse-url-url-at-point
bw-adjust-window
bw-b
bw-balance-sub
bw-dir
bw-eqdir
bw-find-tree-sub