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
importClass(Packages.com.sun.star.uno.UnoRuntime); | |
importClass(Packages.com.sun.star.table.XCellRange); | |
importClass(Packages.com.sun.star.text.XTextRange); | |
importClass(Packages.com.sun.star.beans.XIntrospection); | |
importClass(Packages.com.sun.star.frame.XModel); | |
importClass(Packages.com.sun.star.sheet.XCellRangeAddressable); | |
importClass(Packages.com.sun.star.sheet.XSpreadsheetView); | |
importClass(Packages.com.sun.star.datatransfer.clipboard.XClipboard); | |
importClass(Packages.com.sun.star.datatransfer.DataFlavor); |
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
;;; auto-rsync-mode -- minor mode for auto rsync | |
;; | |
;; Author: @l3msh0 | |
;; | |
;;; Example | |
;; | |
;; (require 'auto-rsync) | |
;; (auto-rsync-mode t) | |
;; (setq auto-rsync-dir-alist |
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
--- skk-xemacs.el.~1.100.~ 2013-03-29 02:08:10.000000000 +0900 | |
+++ skk-xemacs.el 2013-03-29 02:08:19.000000000 +0900 | |
@@ -39,7 +39,7 @@ | |
(autoload 'display-pixel-height "frame") | |
(autoload 'display-pixel-width "frame")) | |
-;;;###autoload (unless (noninteractive) (require 'skk-setup)) | |
+;;;###autoload (unless noninteractive (require 'skk-setup)) | |
;; Variables. |
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
;;;; helm-redmine.el --- show redmine tickets with helm interface | |
;; Copyright (C) 2013 by l3msh0 | |
;; Author: l3msh0 | |
;; URL: https://gist.github.com/l3msh0/5663231 | |
;; Version: 0.0.1 | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by |
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
;; namespace宣言 | |
(namespace naruto | |
;; useはrequireに相当 | |
:use [dash] | |
;; exportで指定した変数/関数のみ(foo/bar)でアクセスできるようになる | |
:export [kill-naruto]) | |
;; defでpriavteな変数宣言(mutableな変数にしたい場合はdefmutableで) | |
(def PI 3.1415) | |
(def a 0.05) |
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
web: tar xzf emacs.tar.gz && ln -s $PWD/emacs /tmp/emacs; emacs/bin/emacs --daemon --load start-elnode.el |
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
(require 'google-translate) | |
(defvar helm-multilingual-source-language "ja") | |
(defvar helm-multilingual-target-language-alist | |
'( | |
("Japanese" . "ja") | |
("Arabic" . "ar") | |
("Chinese Simplified" . "zh-CN") | |
("Dutch" . "nl") | |
("English" . "en") |
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
js <<EOS | |
commands.addUserCommand( | |
['tcopy'], 'Copy ticket number and subject', | |
function() { | |
var matches = document.title.match(/#([0-9]+): ([^ ]+)/); | |
var num = matches[1]; | |
var subject = matches[2]; | |
var copiedStr = '#'+num+' '+subject; | |
util.copyToClipboard(copiedStr+"\n"+content.location); |
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
#!/bin/sh | |
playerurl=http://radiko.jp/player/swf/player_4.1.0.00.swf | |
cookiefile=./cookie.txt | |
playerfile=./player.swf | |
keyfile=./authkey.png | |
if [ $# -eq 1 ]; then | |
channel=$1 | |
output=./$1.flv |
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
(ql:quickload :swank) | |
(defun main () | |
(setq swank::*loopback-interface* "0.0.0.0") | |
(swank:create-server :port 4005 :style :spawn :dont-close t) | |
(loop (sleep 60))) | |
(main) |
OlderNewer