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 'formula' | |
class TwitteringMode <Formula | |
url 'http://downloads.sourceforge.net/project/twmode/twittering-mode-2.0.0/twittering-mode-2.0.0.tar.gz' | |
md5 '19d10ab1058364a0e8386abf2eda9a53' | |
homepage 'http://twmode.sourceforge.net/' | |
head 'https://github.com/hayamiz/twittering-mode.git' | |
def install | |
mkdir_p "#{HOMEBREW_PREFIX}/share/emacs/site-lisp/twittering-mode" |
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 'formula' | |
class TwitteringMode <Formula | |
url 'http://downloads.sourceforge.net/project/twmode/twittering-mode-2.0.0/twittering-mode-2.0.0.tar.gz' | |
md5 '19d10ab1058364a0e8386abf2eda9a53' | |
homepage 'http://twmode.sourceforge.net/' | |
head 'https://github.com/hayamiz/twittering-mode.git' | |
def install | |
mkdir_p "#{HOMEBREW_PREFIX}/share/emacs/site-lisp/twittering-mode" |
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 'formula' | |
class NyanMode < Formula | |
head 'https://github.com/TeMPOraL/nyan-mode.git' | |
homepage 'http://nyan-mode.buildsomethingamazing.com/' | |
def install | |
mkdir_p "#{prefix}" | |
cp "nyan-mode.el", "#{prefix}" | |
cp_r "img/", "#{prefix}" |
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 'formula' | |
class Ddskk <Formula | |
url 'http://openlab.ring.gr.jp/skk/maintrunk/ddskk-14.3.tar.gz' | |
homepage 'http://openlab.ring.gr.jp/skk/index-j.html' | |
md5 'af8aab148acc9c3861b9f0faba6fe9c8' | |
depends_on 'apel' | |
def install |
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 'formula' | |
class Pychecker < Formula | |
url 'http://downloads.sourceforge.net/project/pychecker/pychecker/0.8.19/pychecker-0.8.19.tar.gz' | |
homepage 'http://pychecker.sourceforge.net/' | |
md5 'c37182863dfb09209d6ba4f38fce9d2b' | |
def install | |
system "python", "setup.py", "install", | |
"--prefix=#{prefix}", |
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
REM -- Good case! | |
REM -- Execute Maven with new process using 'call' statement | |
call mvn clean | |
call mvn package |
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
REM -- Bad case! | |
mvn clean | |
REM -- Batch file will exit here, and folowing code will not executed | |
mvn package |
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
// cf. http://groovy.codehaus.org/groovy-jdk/java/io/File.html#traverse%28java.util.Map,%20groovy.lang.Closure%29 | |
// require Groovy v1.7.1 or upper | |
// blog. http://d.hatena.ne.jp/fumokmm/20110911/1315709484 | |
def findFirstFile(File rootDir, java.util.regex.Pattern filter) { | |
File result | |
rootDir.traverse( | |
type : groovy.io.FileType.FILES, | |
nameFilter : filter | |
) { it -> result = it | |
groovy.io.FileVisitResult.TERMINATE |
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 'twittering-mode) | |
(defun twittering-ninja-atmosphere () | |
(interactive) | |
(twittering-search "#NJSLYR OR from:NJSLYR")) | |
(global-set-key (kbd "C-x n j") 'twittering-ninja-atmosphere) |
OlderNewer