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
# Thanks to this post: | |
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x | |
$ brew install cabextract | |
$ cd ~/Downloads | |
$ mkdir consolas | |
$ cd consolas | |
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe | |
$ cabextract PowerPointViewer.exe | |
$ cabextract ppviewer.cab |
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
[deoplete] Traceback (most recent call last): | |
[deoplete] File "/Users/zchee/.cache/nvim/dein/.dein/rplugin/python3/deoplete/deoplete.py", line 46, in completion_begin | |
[deoplete] complete_position, candidates = self.gather_candidates(context) | |
[deoplete] File "/Users/zchee/.cache/nvim/dein/.dein/rplugin/python3/deoplete/deoplete.py", line 74, in gather_candidates | |
[deoplete] results = self.gather_results(context) | |
[deoplete] File "/Users/zchee/.cache/nvim/dein/.dein/rplugin/python3/deoplete/deoplete.py", line 125, in gather_results | |
[deoplete] context['candidates'] = source.gather_candidates(context) | |
[deoplete] File "/Users/zchee/.cache/nvim/dein/.dein/rplugin/python3/deoplete/sources/file.py", line 39, in gather_candidates | |
[deoplete] p = self.__longest_path_that_exists(context, context['input']) | |
[deoplete] File "/Users/zchee/.cache/nvim/dein/.dein/rplugin/python3/deoplete/sources/file.py", line 61, in __longest_path_that_exists |
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
// NOT WORKING AS AT 14-JAN-14 DUE TO API CHANGES | |
// | |
// written for the Go London User Group meeting of 21st November 2013 by Elliott Stoneham | |
// uses code.google.com/p/go.tools/ssa/interp which warns “It is not, and will never be, a production-quality Go interpreter.” | |
// main() code adapted from the example given in code.google.com/p/go.tools/ssa | |
// requires go version 1.2 | |
// | |
package main | |
import ( |
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 -r 8c8cdda36022 src/popupmnu.c | |
--- a/src/popupmnu.c Wed Aug 14 14:18:41 2013 +0200 | |
+++ b/src/popupmnu.c Thu Aug 15 22:06:10 2013 +0900 | |
@@ -639,7 +639,7 @@ | |
{ | |
/* Return cursor to where we were */ | |
validate_cursor(); | |
- redraw_later(SOME_VALID); | |
+ redraw_win_later(curwin, REDRAW_TOP); | |
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 --git a/src/edit.c b/src/edit.c | |
index abe26fb..b1536fc 100644 | |
--- a/src/edit.c | |
+++ b/src/edit.c | |
@@ -2826,7 +2826,6 @@ ins_compl_upd_pum(void) | |
if (compl_match_array != NULL) | |
{ | |
h = curwin->w_cline_height; | |
- update_screen(0); | |
if (h != curwin->w_cline_height) |
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
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"strconv" | |
"syscall" | |
) |
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
#ifndef __FINK_ENDIANDEV_PKG_ENDIAN_H__ | |
#define __FINK_ENDIANDEV_PKG_ENDIAN_H__ 1 | |
/** compatibility header for endian.h | |
* This is a simple compatibility shim to convert | |
* BSD/Linux endian macros to the Mac OS X equivalents. | |
* It is public domain. | |
* */ | |
#ifndef __APPLE__ |
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
" dein | |
set runtimepath+=$HOME/src/github.com/Shougo/deoplete.nvim | |
set runtimepath+=$HOME/src/github.com/zchee/deoplete-jedi | |
set completeopt+=noinsert,noselect | |
set completeopt-=preview | |
hi Pmenu gui=NONE guifg=#c5c8c6 guibg=#373b41 | |
hi PmenuSel gui=reverse guifg=#c5c8c6 guibg=#373b41 |
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
package main | |
import "github.com/derekparker/delve/service/rpc2" | |
const addr = "localhost:41222" // d:4 l:12 v:22 | |
func pointerStruct() { | |
client := rpc2.NewClient(addr) | |
bp, _ := client.GetBreakpoint(-1) |
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/bash | |
set -e | |
# Building LLVM on OSX CMake setup script | |
# | |
# Required: | |
# - clang by Xcode6 or later | |
# - cmake | |
# - ninja | |
# |