Skip to content

Instantly share code, notes, and snippets.

View myitcv's full-sized avatar

Paul Jolly myitcv

View GitHub Profile
@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 / sexp_exp.rb
Last active March 5, 2022 13:30
Ruby parsing stuff
require 'ripper'
require 'pp'
exp = ARGV.join(" ")
p Ripper.sexp(exp)

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:

{
"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",
"/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"
diff --git a/test/files/rules/align.test.ts b/test/files/rules/align.test.ts
index 220e6d9..acb8978 100644
--- a/test/files/rules/align.test.ts
+++ b/test/files/rules/align.test.ts
@@ -16,15 +16,13 @@ function invalidParametersAlignment3(a: number,
class C1 {
invalidParametersAlignment(a: number,
- b: number)
- {
System.register(["dagre-d3"], function(exports_1) {
function Run() {
console.log("Running browser");
}
exports_1("Run", Run);
return {
setters:[
function (_1) {}],
execute: function() {
}
@myitcv
myitcv / 00 command sequece
Last active April 17, 2016 07:37
Gitlab frozen mailroom diagnostics part 1 - when mailroom has hung
# Step 01
# per https://gitlab.com/gitlab-org/gitlab-ce/issues/13357#note_4857268
gdb
attach <PID>
redirect_stdout
eval("puts Kernel.caller.join(\"\\n\")")
# Step 02
gdb
attach <PID>