Skip to content

Instantly share code, notes, and snippets.

@anyakichi
anyakichi / taskpaper.vim
Created June 24, 2012 08:22
unite-outline source for taskpaper
function! unite#sources#outline#taskpaper#outline_info()
return s:outline_info
endfunction
let s:outline_info = {
\ 'heading': '^.\+:\(\s\+@[^ \t(]\+\(([^)]*)\)\?\)*$'
\ }
function! s:outline_info.create_heading(which, heading_line, matched_line, context)
let heading = {
@anyakichi
anyakichi / kiklib-configure.patch
Created December 9, 2013 13:31
mlterm fix for Mac OS X
--- kiklib/configure.orig 2013-03-23 21:40:00.000000000 +0900
+++ kiklib/configure 2013-04-15 19:58:13.000000000 +0900
@@ -19839,7 +19839,7 @@
DL_LIBS="${DL_LIBS} ${lt_cv_dlopen_libs}"
# NSLinkModule (darwin)
ac_fn_c_check_func "$LINENO" "NSLinkModule" "ac_cv_func_NSLinkModule"
-if test "x$ac_cv_func_NSLinkModule" = x""yes; then :
+if test "$DL_LOADER" = none && test "x$ac_cv_func_NSLinkModule" = x""yes; then :
DL_LOADER=dyld
"
" Settings
"
let fullpagescrollpercent = 95
let scrollduration = 20
"
" Mappings
"
#!/usr/bin/env python3
# ./switchbot-plug-mini <ble-addr> [<state>]
#
# state:
# None: Get the current state
# 0: OFF
# 1: ON
# -1: TOGGLE