$ brew install ghc
$ brew install --env=std haskell-platform
This file contains hidden or 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
find -type f | xargs ls -l --time-style long-iso | sort -k6d -k7d |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# | |
# Inspired by https://github.com/andrep/git-svn-clone-externals | |
# | |
# MIT License http://koshigoe.mit-license.org | |
# | |
require 'fileutils' | |
module Git |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Menu Key Bindings</key> | |
<dict> | |
<key>Key Bindings</key> | |
<array> | |
<dict> | |
<key>Action</key> |
This file contains hidden or 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
diff -Naru znc-0.206.orig/Chan.cpp znc-0.206/Chan.cpp | |
--- znc-0.206.orig/Chan.cpp 2012-04-06 04:25:50.000000000 +0900 | |
+++ znc-0.206/Chan.cpp 2012-08-07 16:31:17.000000000 +0900 | |
@@ -570,7 +570,7 @@ | |
MODULECALL(OnChanBufferStarting(*this, *pUseClient), m_pUser, NULL, bSkipStatusMsg = true); | |
if (!bSkipStatusMsg) { | |
- m_pUser->PutUser(":***[email protected] PRIVMSG " + GetName() + " :Buffer Playback...", pUseClient); | |
+ m_pUser->PutUser(":***[email protected] NOTICE " + GetName() + " :Buffer Playback...", pUseClient); | |
} |
This file contains hidden or 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
diff -Naru znc-0.206.orig/Client.cpp znc-0.206/Client.cpp | |
--- znc-0.206.orig/Client.cpp 2012-07-27 14:52:48.000000000 +0900 | |
+++ znc-0.206/Client.cpp 2012-07-27 14:56:31.000000000 +0900 | |
@@ -430,7 +430,7 @@ | |
CChan* pChan = m_pUser->FindChan(sTarget); | |
if ((pChan) && (pChan->KeepBuffer())) { | |
- pChan->AddBuffer(":" + GetNickMask() + " PRIVMSG " + sTarget + " :" + m_pUser->AddTimestamp(sMsg)); | |
+ pChan->AddBuffer(":" + GetNickMask() + " NOTICE " + sTarget + " :" + m_pUser->AddTimestamp(sMsg)); | |
} |
This file contains hidden or 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
;; key-chord | |
(require 'key-chord) | |
(key-chord-mode 1) | |
(devar key-chord-bindings | |
'(("hf" . describe-function) | |
("hb" . describe-bindings) | |
("hv" . describe-variable) | |
("rs" . replace-string) | |
("rp" . replace-regexp) | |
("a;" . goto-line) |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
require 'formula' | |
class Cmigemo < Formula | |
url 'http://cmigemo.googlecode.com/files/cmigemo-default-src-20110227.zip' | |
homepage 'http://www.kaoriya.net/software/cmigemo' | |
sha1 '25e279c56d3a8f1e82cbfb3526d1b38742d1d66c' | |
depends_on 'nkf' |
This file contains hidden or 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 | |
brew install fontforge | |
brew install wget | |
git clone https://github.com/yascentur/Ricty.git Ricty | |
cd Ricty && \ | |
wget http://levien.com/type/myfonts/Inconsolata.otf && \ | |
wget http://iij.dl.sourceforge.jp/mix-mplus-ipa/56156/migu-1m-20120411-2.zip && \ | |
unzip migu-1m-20120411-2.zip && \ | |
cd migu-1m-20120411-2 && \ | |
cp migu-1m-*.ttf ../ && \ |
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
my $source = $ARGV[0]; | |
my $type = $ARGV[1]; | |
my $rules = $ARGV[2]; | |
my $result = `phpmd ${source} ${type} ${rules}`; | |
$result =~ s/^\s+//g; | |
$result =~ s/(:[0-9]+)/$1:/g; |