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
(ns excel-oekaki.core | |
(:import | |
(java.io File FileOutputStream FileInputStream) | |
(java.awt Color) | |
(javax.imageio ImageIO) | |
(org.apache.poi.xssf.usermodel XSSFWorkbook XSSFColor) | |
(org.apache.poi.ss.usermodel CellStyle) | |
)) |
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
:javascript <<EOM | |
var btn = document.getElementById('notification-popup-box'); | |
document.getElementById('liberator-statusline').appendChild(btn); | |
EOM | |
:style chrome://* <<EOM | |
#urlbar { | |
width: 0px !important; | |
height: 0px !important; | |
overflow: hidden !important; |
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
0x7A21 U+26CC # 事故 | |
0x7A22 U+26CD # 故障車 | |
0x7A23 U+2757 # 障害物 | |
0x7A24 U+26CF # 工事 | |
0x7A25 U+26D0 # 凍結 | |
0x7A26 U+26D1 # 作業 | |
0x7A28 U+26D2 # 通行止め、閉鎖 | |
0x7A29 U+26D5 # 片側交互運行 | |
0x7A2A U+26D3 # チェーン規制 | |
0x7A2B U+26D4 # 進入禁止 |
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
// | |
// Tesseract.mm | |
// | |
// Created by philopon on 2013/08/22. | |
// Copyright (c) 2013年 philopon. All rights reserved. | |
// | |
#import "Tesseract.h" | |
#include <tesseract/baseapi.h> |
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-mode.el.orig 2013-09-13 18:15:30.000000000 +0900 | |
+++ web-mode.el 2013-09-13 18:22:28.000000000 +0900 | |
@@ -4017,7 +4017,7 @@ | |
(queues (make-hash-table :test 'equal)) | |
(opened-blocks 0) | |
(col-num 0) | |
- (regexp "[\]\[}{)(]\\|\\(break\\|case\\|default\\)") | |
+ (regexp "[\]\[}{)(]\\|\\(break\\|case\\|default[ \t\n\r]\\)") | |
(num-opened 0) | |
close-char n queue arg-inline arg-inline-checked char lines) |
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 | |
## install rdkit 2013.06_1 to $RDBASE | |
TARGET=$HOME/package | |
RDBASE=$TARGET/RDKIT_2013_09_1-g++-4.8 | |
# install gcc48 | |
brew tap homebrew/versions | |
brew install gcc48 |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
global_paths = "/etc/paths" | |
global_paths_d = "/etc/paths.d" | |
user_paths = os.path.join(os.environ['HOME'], ".paths") | |
user_paths_d = os.path.join(os.environ['HOME'], ".paths.d") |
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/bash | |
# $ uname -a | |
# Darwin MBA2011Mid.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 | |
# インストール先 | |
SRC=$HOME/src | |
BOOST=boost_1_50_0 | |
RSTUDIO=rstudio-rstudio-ca19c52 |
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
#!/usr/bin/env python | |
# coding: UTF-8 | |
MUSIC_DIR = "/Full/Path/To/Music" | |
GOOGLE_ID = '[email protected]' | |
GOOGLE_PASSWORD = 'password' | |
class PictureData(object): | |
def __init__(self, album_artist, artist, album, title, data): | |
self.album_artist = album_artist |
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
{-#LANGUAGE NoMonomorphismRestriction, DeriveDataTypeable, TypeOperators#-} | |
import Control.Applicative | |
import Control.Monad | |
import Control.Concurrent (threadDelay) | |
import Control.Eff | |
import Control.Eff.State.Strict | |
import Control.Eff.Lift | |
import Control.Eff.Fail |
OlderNewer