Skip to content

Instantly share code, notes, and snippets.

(require 'evil)
(setq elscreen-tab-display-control nil
elscreen-tab-display-kill-screen nil)
(require 'elscreen)
(evil-define-command evil-tab-new ()
:repeat nil
(setq count (or count 1))
(when (null (elscreen-get-frame-confs (selected-frame)))
(elscreen-start))
// ==UserScript==
// @name hatena-bookmark-lower-thumbnail
// @namespace orednu.org
// @include http://b.hatena.ne.jp/*
// @version 1
// ==/UserScript==
(function(w, d) {
w.addEventListener('load', function () {
var getElementsByTagAndClassName = function(element, tag, klass) {
(:name hatena-diary
:type git
:depends flim
:url "https://gist.github.com/4465244.git")
(require 'multi-mode)
(require 'multi-mode-util)
(eval-when-compile (require 'cl))
(defvar hatena-mm-langs nil)
(defvar hatena-mm-file-types nil)
(make-variable-buffer-local 'hatena-mm-file-types)
(defgroup hatena-multi-mode nil
"Multi modes for Hatena super-pre syntax."
@tarao
tarao / pit.el
Last active December 10, 2015 17:38 — forked from yibe/pit.el
;;; pit.el --- Manipulate pit data.
;; Copyright (C) 2008 Takeru Naito
;; Author: Takeru Naito <takeru.naito@gmail.com>
;; Original: cho45 http://lowreal.rubyforge.org/pit/
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published
;; by the Free Software Foundation; either version 2, or (at your
;; option) any later version.
(require 'url)
(require 'xml)
(require 'sha1-el)
(eval-when-compile (require 'cl))
(defgroup hatena nil
"Hatena."
:group 'applications)
(defcustom hatena:username-function
(eval-when-compile
(require 'cl)
(unless (fboundp 'cl-letf) (defalias 'cl-letf 'letf)))
(require 'sgml-mode)
(defgroup hatena-markup nil
"Major mode for Hantea markup language."
:prefix "hatena-markup-"
:group 'hypermedia)
@tarao
tarao / bundle.el
Last active December 10, 2015 09:29
(error "This package has been moved to https://github.com/tarao/bundle-el")
(provide 'bundle)
@tarao
tarao / rdoc-mode.el
Created December 28, 2012 17:56
Fixed rdoc-mode.el
;;
;; rdoc-mode.el
;; Major mode for RDoc editing
;;
;; Created: Fri Sep 18 09:04:49 JST 2009
;; License: Ruby's
(require 'derived)
@tarao
tarao / init-loader.el
Last active December 10, 2015 01:48 — forked from zqwell/init-loader.el
init-loader.el 修正版(elc優先読込み、load-path問題修正、windows/linux設定ファイル読込みPrefix追加、自動バイトコンパイル)
;;; -*- coding: utf-8; mode: emacs-lisp; -*-
;;; init-loader.el ---
;; Author: IMAKADO <ken.imakado@gmail.com>
;; Author's blog: http://d.hatena.ne.jp/IMAKADO (japanese)
;; Prefix: init-loader-
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)