Skip to content

Instantly share code, notes, and snippets.


Ben Jackson puremourning

  • England, UK
View GitHub Profile
View gist:e6c3faa3473dd8073d76
swagger: "2.0"
title: ycmd
description: |-
ycmd is a code-completion & code-comprehension server
## General Notes
- All strings going into and out of the server are UTF-8 encoded.
- All line and column numbers are 1-based, not 0-based. They are also byte
puremourning / build
Created Feb 20, 2017
Put these into a directory (e.g. $HOME/Development/temp/ios), chmod +x build and ./build
View build
clang -x c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fmodules -gmodules -fmodules-cache-path=$PWD/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=$PWD/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DDEBUG=1 -isy
puremourning / Vagrantfile
Created Jun 10, 2017
Setting up a Vagrant VM for CentOS 7
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "parallels/centos-7.3" "forwarded_port", guest: 80, host: 8080 "public_network"
config.vm.provider "parallels" do |v|

Keybase proof

I hereby claim:

  • I am puremourning on github.
  • I am puremourning ( on keybase.
  • I have a public key ASAArW3ExQo71rDY9lDVJntzw4V69cBl-X6Nkm8pKLT3kgo

To claim this, I am signing this object:

View gist:74c5e88a78bf926a5fd903d3b6c4bf81
# Master
2017-08-28 11:22:55
Benchmark Time CPU Iterations
IdentifierCompleterFixture/CandidatesWithCommonPrefix/1 740 ns 740 ns 902772
IdentifierCompleterFixture/CandidatesWithCommonPrefix/2 1296 ns 1295 ns 542211
IdentifierCompleterFixture/CandidatesWithCommonPrefix/4 2191 ns 2190 ns 321885
IdentifierCompleterFixture/CandidatesWithCommonPrefix/8 3803 ns 3802 ns 182322
puremourning /
Created Aug 31, 2017
DLLDefines benchmark macOS


Benchmark                                                                           Time           CPU Iterations
IdentifierCompleterFixture/CandidatesWithCommonPrefix/1                           776 ns        776 ns     832719
IdentifierCompleterFixture/CandidatesWithCommonPrefix/2                          1328 ns       1328 ns     515487
IdentifierCompleterFixture/CandidatesWithCommonPrefix/4                          2223 ns       2222 ns     309970
IdentifierCompleterFixture/CandidatesWithCommonPrefix/8                          3808 ns       3808 ns     181840
View .log
!ENTRY 1 0 2017-09-12 18:36:06.710
!MESSAGE >> shutdown
!ENTRY 1 0 2017-09-12 18:36:07.103
!MESSAGE class is stopping:
!ENTRY 1 0 2017-09-12 18:36:07.114
!MESSAGE Thread[Signal Dispatcher,9,system]
Thread[Framework stop,5,main]
at java.lang.Thread.dumpThreads(Native Method)
import subprocess
import os
platform_layer = [
puremourning /
Last active Feb 12, 2019
RFC: Parameter hints popup menu


This RFC proposes introducing a second popup menu in insert mode to display method argument hints, current parameter, etc. similar to a number of IDEs and editors. The proposal is to allow scripts to control this (such as on insert of ( and ) characters) and for it to be non-interractive and not to interfere with insert-mode completion.

The purpose of the RFC is to guage the appetite from Bram and the community for such a feature, and to discuss the design/functional behaviours prior to

puremourning / ycmd-log-exception.log
Created Jan 3, 2018 exception loading grade project
View ycmd-log-exception.log
project being openend:
ycmd.handlers: INFO: Received event notification
ycmd.handlers: DEBUG: Event name: FileReadyToParse
ycmd.completers.all.identifier_completer: INFO: Adding buffer identifiers for file: C:\projects\ycmd\ycmd\tests\java\testdata\simple_maven_project\src\main\java\com\test\ INFO: Looking for DEBUG: Found launchers: ['C:\\projects\\ycmd\\third_party\\\\\\target\\repository\\plugins\\org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar'] DEBUG: Found launchers: ['C:\\projects\\ycmd\\third_party\\\\\\target\\repository\\plugins\\org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar'] INFO: Starting Language Server...
You can’t perform that action at this time.