Skip to content

Instantly share code, notes, and snippets.

View myitcv's full-sized avatar

Paul Jolly myitcv

View GitHub Profile
"/path/to/tslint/typings/tsd.d.ts"
"/path/to/tslint/src/configuration.ts"
"/path/to/tslint/src/enableDisableRules.ts"
"/path/to/tslint/src/formatterLoader.ts"
"/path/to/tslint/src/formatters.ts"
"/path/to/tslint/src/formatters/index.ts"
"/path/to/tslint/src/formatters/jsonFormatter.ts"
"/path/to/tslint/src/formatters/pmdFormatter.ts"
"/path/to/tslint/src/formatters/proseFormatter.ts"
"/path/to/tslint/src/formatters/verboseFormatter.ts"
{
"rules": {
"align": [true,
"parameters",
"arguments",
"statements"],
"ban": false,
"class-name": true,
"comment-format": [true,
"check-space",
{
"rules": {
"align": [true,
"parameters",
"arguments",
"statements"],
"ban": false,
"class-name": true,
"comment-format": [true,
"check-space",

Keybase proof

I hereby claim:

  • I am myitcv on github.
  • I am myitcv (https://keybase.io/myitcv) on keybase.
  • I have a public key whose fingerprint is 1C74 AD16 6613 BD44 AF5E 0A41 6497 E807 CEFD 067D

To claim this, I am signing this object:

@myitcv
myitcv / sexp_exp.rb
Last active March 5, 2022 13:30
Ruby parsing stuff
require 'ripper'
require 'pp'
exp = ARGV.join(" ")
p Ripper.sexp(exp)
@myitcv
myitcv / gist:b0361178b2751232e1e4
Created September 27, 2014 17:41
API with renames and Binary change
--- api_pre.yml 2014-09-26 08:20:08.019112382 +0100
+++ api_renamed.yml 2014-09-27 18:41:02.919593397 +0100
@@ -18,13 +18,13 @@
can_fail: true
parameters:
- [Tabpage, tabpage]
- - [String, name]
+ - [Binary, name]
return_type: Object
- name: tabpage_set_var
@myitcv
myitcv / gist:dcf7343645d682deecc9
Created September 27, 2014 12:50
Complete API proposal
error_types:
Exception: {id: 0}
Validation: {id: 1}
features:
clipboard: [clipboard_get, clipboard_set]
python: [python_execute, python_execute_file, python_do_range, python_eval]
types:
Buffer: {id: 0}
Tabpage: {id: 2}
Window: {id: 1}
@myitcv
myitcv / gist:4f728f00399d11b904a1
Created September 27, 2014 12:39
Diff with current API
--- api_post.yml 2014-09-27 13:15:28.347858513 +0100
+++ api_pre.yml 2014-09-26 08:20:08.019112382 +0100
@@ -46,13 +46,13 @@
parameters:
- [Buffer, buffer]
- [Integer, index]
- return_type: Binary
+ return_type: String
- name: buffer_set_line
can_fail: true
@myitcv
myitcv / gist:5ad0fb83bc11c929ed8e
Created September 27, 2014 12:38
Proposed changes to the MSGPACK API
error_types:
Exception: {id: 0}
Validation: {id: 1}
features:
clipboard: [clipboard_get, clipboard_set]
python: [python_execute, python_execute_file, python_do_range, python_eval]
types:
Buffer: {id: 0}
Tabpage: {id: 2}
Window: {id: 1}
@myitcv
myitcv / gist:9718cd1c3a1f2895cc38
Created September 6, 2014 14:21
Neovim Go plugin output
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/_cmd/plugin_host/main.go:122: Successfully connected to Neovim
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/_cmd/plugin_host/main.go:137: Connecting *example.Example
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/_cmd/plugin_host/main.go:81: [*example.Example [We are in the Example]]
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/neovim.go:261: Got a request 1 for method go_init([])
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/neovim.go:271: Sending a response to 1
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/neovim.go:273: Response sent to 1
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/_cmd/plugin_host/main.go:81: [*example.Example [Ran command]]
2014/09/06 15:20:57 /tmp/tmp.z8fv2JXBAP/src/github.com/myitcv/neovim/_cmd/plugin_host/main.go:142: Successfully called Init on *example.Example