- create ~/.vim/plugin/kowey-bufmenu.vim by copying/patching your system vim/runtime/menu.vim
- edit your ~/.vimrc (not .gvimrc!), and insert
let no_buffer_menu=1
BEFORE any set syntax directives (apparently they trigger the menu)
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
sqlite> .mode column | |
sqlite> .width 40 | |
sqlite> .headers on | |
sqlite> select lex_trade_VBEchange_DU1 as key, count(*) as count from tbl group by key order by count desc; | |
key count | |
---------------------------------------- ---------- | |
__nil__ 15527 | |
givable 2747 | |
receivable 942 | |
mixte 432 |
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/python | |
# -*- coding: utf-8 -*- | |
# @author Eric Kow | |
# LICENSE: BSD3 (2013, Université Paul Sabatier) | |
""" | |
Standalone parser for PDTB files. | |
The function `parse` takes a single .pdtb file and returns a list | |
of `Relation`, with the following subtypes: |
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
import funcparserlib.parser as fp | |
const = lambda x: lambda _: x | |
unarg = lambda f: lambda x: f(*x) | |
_any = fp.some(const(True)) | |
def cons((x,xs)): | |
return [x] + xs |
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
--- a/hints/darwin.sh 2013-05-08 11:13:45.000000000 -0600 | |
+++ b/hints/darwin.sh 2013-05-08 11:15:04.000000000 -0600 | |
@@ -129,7 +129,7 @@ | |
# Avoid Apple's cpp precompiler, better for extensions | |
if [ "X`echo | ${cc} -no-cpp-precomp -E - 2>&1 >/dev/null`" = "X" ]; then | |
- cppflags="${cppflags} -no-cpp-precomp" | |
+ #cppflags="${cppflags} -no-cpp-precomp" | |
# This is necessary because perl's build system doesn't |
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
/nix/store/y3x7hzdn3363xjz4snaws9glxq3s7732-perl-5.16.3$ grep cpp-precomp -R . | |
./lib/perl5/5.16.3/darwin-2level/Config_heavy.pl:ccflags='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector' | |
./lib/perl5/5.16.3/darwin-2level/Config_heavy.pl:cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector' | |
./lib/perl5/5.16.3/darwin-2level/Config_heavy.pl:ccflags_nolargefiles='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector' |
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
$ dot 1.dot -T png | |
dyld: lazy symbol binding failed: Symbol not found: _cairo_quartz_font_face_create_for_cgfont | |
Referenced from: /nix/store/xbbaz0qyjcqp0pgnhw6akdwnws74b2yr-pango-1.32.5/lib/libpangocairo-1.0.0.dylib | |
Expected in: flat namespace | |
dyld: Symbol not found: _cairo_quartz_font_face_create_for_cgfont | |
Referenced from: /nix/store/xbbaz0qyjcqp0pgnhw6akdwnws74b2yr-pango-1.32.5/lib/libpangocairo-1.0.0.dylib | |
Expected in: flat namespace | |
Trace/BPT trap: 5 |
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
@@ -520,7 +520,7 @@ | |
minput <- do | |
set sembox [ text :~ trim ] | |
loadEverything pstRef wrangler | |
- customSemParser wrangler . T.pack <$> get sembox text | |
+ customSemParser wrangler . unautocorrect . T.pack <$> get sembox text | |
case minput of | |
Left e -> errorDialog f "Please give me better input" (show e) | |
Right semInput -> do | |
@@ -537,6 +537,10 @@ |
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
[difftool] | |
prompt = false | |
[difftool "opendiff-pause"] | |
cmd = git-diff-cmd.sh "$LOCAL" "$REMOTE" |