Skip to content

Instantly share code, notes, and snippets.

--- configure.ac~ 2018-03-10 11:02:07.421258200 +0900
+++ configure.ac 2018-03-10 11:02:41.035180800 +0900
@@ -1998,16 +1998,16 @@
AC_SUBST(comma_space_version)
AC_CONFIG_FILES([nt/emacs.rc nt/emacsclient.rc])
if test "${opsys}" = "cygwin"; then
- W32_LIBS="$W32_LIBS -lkernel32 -luser32 -lgdi32 -lole32 -lcomdlg32"
- W32_LIBS="$W32_LIBS -lusp10 -lcomctl32 -lwinspool"
+ W32_LIBS="$W32_LIBS -lkernel32 -luser32 -lusp10 -lgdi32 -lole32 -lcomdlg32"
+ W32_LIBS="$W32_LIBS -lcomctl32 -lwinspool"
--- setup.py.orig 2016-12-27 13:35:46.000000000 +0900
+++ setup.py 2016-12-27 15:19:21.000000000 +0900
@@ -1127,12 +1127,7 @@
# We hunt for #define SQLITE_VERSION "n.n.n"
# We need to find >= sqlite version 3.0.8
sqlite_incdir = sqlite_libdir = None
- sqlite_inc_paths = [ '/usr/include',
- '/usr/include/sqlite',
- '/usr/include/sqlite3',
- '/usr/local/include',
#!/usr/bin/env python
# Postinstall script for PySide
#
# TODO:
# This file can be removed after OSX support
# is implemented in pyside_build.update_rpath()
import os, sys, traceback, shutil, fnmatch, stat
from os.path import dirname, abspath
from subprocess import Popen, PIPE
diff --git a/Casks/macvim-kaoriya.rb b/Casks/macvim-kaoriya.rb
index 56d1239..dc6319a 100644
--- a/Casks/macvim-kaoriya.rb
+++ b/Casks/macvim-kaoriya.rb
@@ -1,8 +1,8 @@
cask :v1 => 'macvim-kaoriya' do
- version '7.4.383-20140805'
- sha256 'a47e42e32ddb3dd26e65e1ccfac532474da2a89fb516eb3a480b4f0ddabe4235'
+ version '7.4.527-20141204'
+ sha256 '38f6e67d5fd8edc25828ec297a0b73c5865873dd63d5325f6b2936184e5c664f'
@vabock
vabock / jsdoit.css
Created October 15, 2014 03:10
2014-10-15 1st
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background: #fdf;
font: 30px sans-serif;
}
@vabock
vabock / mecab-python-0.996-win32.diff
Last active December 28, 2015 04:19
mecab-0.996.exeを用いてmecab-python-0.996をビルドするためのパッチ
diff --git a/MeCab.py b/MeCab.py
index d24acba..a85d135 100644
--- a/MeCab.py
+++ b/MeCab.py
@@ -226,7 +226,6 @@ class Lattice(_object):
def feature_constraint(self, *args): return _MeCab.Lattice_feature_constraint(self, *args)
def set_boundary_constraint(self, *args): return _MeCab.Lattice_set_boundary_constraint(self, *args)
def set_feature_constraint(self, *args): return _MeCab.Lattice_set_feature_constraint(self, *args)
- def set_result(self, *args): return _MeCab.Lattice_set_result(self, *args)
def what(self): return _MeCab.Lattice_what(self)
/*
* Copyright 2013 Vabock
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
diff --git a/checkinstall b/checkinstall
index 978360f..22b7c0d 100755
--- a/checkinstall
+++ b/checkinstall
@@ -492,7 +492,7 @@ function copy_dir_hierarchy {
ckversion
echo
-CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/checkinstallrc}
+CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/lib/checkinstall/checkinstallrc}
@vabock
vabock / jsdoit.html
Created February 20, 2013 10:33
IDエスケープ
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ID正規表現変換</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
@vabock
vabock / test.scala
Created June 23, 2011 04:16
blog貼り付けテスト
class TaskProgressRenderer extends Table.AbstractRenderer[Number, ProgressBar](new ProgressBar) {
def configure(table: Table, isSelected: Boolean, hasFocus: Boolean, a: Number, row: Int, column: Int) {
component.value = a.intValue()
}
override def preConfigure(table: Table, isSelected: Boolean, hasFocus: Boolean, a: Number, row: Int, column: Int) {
component.min = 0
component.max = 100
component.labelPainted = true
}