Skip to content

Instantly share code, notes, and snippets.

View justinmk's full-sized avatar
💦

Justin M. Keyes justinmk

💦
View GitHub Profile
@justinmk
justinmk / gist:7982440
Created December 16, 2013 04:45
vim-airline issue #326, profile #1, inserting text "awefawefoiawejfoaiwejfoaiwefawefawefawefawefawe" in .vimrc
FUNCTION AutoPairsSpace()
Called 2 times
Total time: 0.000123
Self time: 0.000123
count total (s) self (s)
2 0.000030 let line = getline('.')
2 0.000024 let prev_char = line[col('.')-2]
2 0.000005 let cmd = ''
2 0.000013 let cur_char =line[col('.')-1]
@justinmk
justinmk / gist:7982490
Created December 16, 2013 04:51
vim-airline issue #326, profile #2, moving in normal-modw with hjkl movement
FUNCTION airline#extensions#undotree#apply()
Called 1 time
Total time: 0.000027
Self time: 0.000027
count total (s) self (s)
1 0.000004 if exists('t:undotree')
if &ft == 'undotree'
if exists('*t:undotree.GetStatusLine')
call airline#extensions#apply_left_override('undo', '%{t:undotree.GetStatusLine()}')
#!/usr/bin/perl
#vim:et:ts=4:
# converts vim documentation to simple html
# Sirtaj Singh Kang (taj@kde.org)
# Wed Oct 8 01:15:48 EST 1997
# Edited and extended by Dion Nicolaas <dion@erebus.demon.nl>
# (version 2.0, 3.0, 3.1, 3.3, 3.3.1)
Using worker: worker-linux-6-2.bb.travis-ci.org:travis-linux-6
travis_fold:start:git.1
travis_time:start:0b760307
$ git clone --depth=50 --branch=master git://github.com/neovim/neovim.git neovim/neovim
Cloning into 'neovim/neovim'...
remote: Counting objects: 2774, done.
remote: Compressing objects: 0% (1/2078) 
remote: Compressing objects: 1% (21/2078) 
remote: Compressing objects: 2% (42/2078) 
#!/bin/bash
if test -t 1; then
COLOR_FAIL="\e[31;1m"
COLOR_SUCCESS="\e[32;1m"
COLOR_BUILD_HEADING="\e[34;1m"
COLOR_OTHER_HEADING="\e[35m"
COLOR_RESET="\e[0m"
fi
Using worker: worker-linux-5-2.bb.travis-ci.org:travis-linux-10
travis_fold:start:git.1
travis_time:start:0a618320
$ git clone --depth=50 --branch=master git://github.com/neovim/neovim.git neovim/neovim
Cloning into 'neovim/neovim'...
remote: Counting objects: 3720, done.
remote: Compressing objects: 0% (1/2374) 
remote: Compressing objects: 1% (24/2374) 
remote: Compressing objects: 2% (48/2374) 
@justinmk
justinmk / gist:1ffedab30fa621d17444
Created January 13, 2015 16:15
#6283.1 errored ran for 20 min 53 sec about an hour ago master - Merge pull request #1782 from fwalch/small-patches
Using worker: worker-linux-4-1.bb.travis-ci.org:travis-linux-16
travis_fold:start:system_info
Build system information
Build language: c
Build image provisioning date and time
Sat Dec 13 04:56:50 UTC 2014
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ................................................ done
#0 je_arena_mapbits_binind_get [inlined] () at /Users/justin/dev/neovim/.deps/build/src/jemalloc/include/jemalloc/internal/arena.h:573
573 mapbits = arena_mapbits_get(chunk, pageind);
(gdb) thread apply all bt full
Thread 2 (core thread 1):
#0 0x00007fff8dc543fa in select$DARWIN_EXTSN ()
@justinmk
justinmk / main.shada
Created August 29, 2015 16:00
nvim main.shada msgpackparse() result
1
1440863701
90
{'pid': 5881, 'version': 'NVIM 0.0.0-alpha+201508280024', 'encoding': 'utf-8', 'max_kbyte': 10, 'generator': 'nvim'}
6
1440863701
19
['DISPATCH_STARTS', {}]
6
1440863701
==43739==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000017 (pc 0x000003e41bc7 bp 0x7fffa527cf10 sp 0x7fffa527cc70 T0)
#0 0x3e41bc6 in uv_timer_start /home/travis/nvim-deps/build/src/libuv/src/unix/timer.c:84:3
#1 0x11669de in process_stop /home/travis/build/neovim/neovim/src/nvim/event/process.c:250:5
#2 0xeb4738 in term_close /home/travis/build/neovim/neovim/src/nvim/eval.c:21906:5
#3 0x3add9cb in terminal_close /home/travis/build/neovim/neovim/src/nvim/terminal.c:321:7
#4 0x6d93a5 in close_buffer /home/travis/build/neovim/neovim/src/nvim/buffer.c:393:5
#5 0x208f3a5 in free_all_mem /home/travis/build/neovim/neovim/src/nvim/memory.c:570:5
#6 0x29cb484 in mch_exit /home/travis/build/neovim/neovim/src/nvim/os_unix.c:151:3
#7 0x234f69c in exit_event /home/travis/build/neovim/neovim/src/nvim/msgpack_rpc/channel.c:664:5
#8 0x119c7d2 in queue_process_events /home/travis/build/neovim/neovim/src/nvim/event/queue.c:142:7