Skip to content

Instantly share code, notes, and snippets.

View nosami's full-sized avatar

Jason Imison nosami

View GitHub Profile
set nocompatible
filetype off
set encoding=utf-8
call pathogen#infect()
" colorscheme vividchalk
"colorscheme solarized
colorscheme molokai
if has("gui_running")
let g:molokai_original = 1
@nosami
nosami / .vimrc
Last active December 24, 2015 11:29
vimrc
execute pathogen#infect()
set nocompatible
filetype plugin on
filetype indent on
set guifont=Consolas:h10.2:cANSI
set guioptions+=LlRrbmT
set guioptions-=LlRrbmT
set encoding=utf-8
set laststatus=2
@nosami
nosami / gist:198448f015030da51861
Created October 31, 2014 22:33
trying to build DTH on mono
System.InvalidOperationException: Failed to resolve the following dependencies for target framework 'Asp.Net,Version=v5.0':
System.IO.Compression.FileSystem
System.Net
System.Xml
System.Xml.Linq
Searched Locations:
/Users/jason/src/KRuntime/src/{name}/project.json
/Users/jason/.kpm/packages/{name}/{version}/{name}.nuspec
/usr/local/Cellar/mono/3.10.0/lib/mono/4.5/{name}.dll
jason@Jasons-MacBook-Pro ~/src/DesignTimeHostDemo/DesignTimeHostDemo (master*) $ mono ./bin/Debug/DesignTimeHostDemo.exe /Users/jason/.kre/packages/KRE-Mono.1.0.0-beta2-10660 ~/src/vnext/ConsoleApplication/
/Users/jason/.kre/packages/KRE-Mono.1.0.0-beta2-10660/bin/klr /Users/jason/.kre/packages/KRE-Mono.1.0.0-beta2-10660/bin/lib/Microsoft.Framework.DesignTimeHost/Microsoft.Framework.DesignTimeHost.dll 1334 7705 fd182105-d3ea-4687-b1d8-6032f923cf46
Listening on port 1334
Connected
Client accepted 127.0.0.1:1334
Process Q to exit
ProjectInformation
Dependencies
CompilerOptions
References
(add-hook 'evil-insert-state-exit-hook (lambda() (interactive) (flycheck-mode 1)))
(add-hook 'evil-normal-state-exit-hook (lambda() (interactive) (flycheck-mode -1)))
@nosami
nosami / gist:7cd49757d00b97dec040
Created February 15, 2015 02:51
OmniSharp high CPU usage
This file has been truncated, but you can view the full file.
Mono log profiler data
Profiler version: 0.4
Data version: 6
Mean timer overhead: 64 nanoseconds
Program startup: Sun Feb 15 02:45:23 2015
Program ID: 23843
Server listening on: 35083
JIT summary
Compiled methods: 23351
@nosami
nosami / gist:d316d0ee6871715c2b9e
Created February 23, 2015 16:38
eventstore log
00000054 Using solution path ..\EventStore\src\EventStore.sln
00000054 Using config file C:\Users\jason.imison\src\omnisharp-server\OmniSharp\bin\Debug\config.json
00000788 OmniSharp server is listening
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll
00001260 Loading project - EventStore.BufferManagement, ..\EventStore\src\EventStore.BufferManagement\EventStore.BufferManagement.csproj, {A794D3FB-06AC-471F-AB8D-6E98CBFA0021}
00001267 Loading C:\Users\jason.imison\src\EventStore\src\EventStore.BufferManagement\BufferManager.cs
00001539 Loading C:\Users\jason.imison\src\EventStore\src\EventStore.BufferManagement\BufferPool.cs
00001573 Loading C:\Users\jason.imison\src\EventStore\src\EventStore.BufferManagement\BufferPoolStream.cs
00001581 Loading C:\Users\jason.imison\src\EventStore\src\EventStore.BufferManagement\UnableToCreateMemoryException.cs
00001582 Loading C:\Users\jason.imison\src\EventStore\src\EventStore.BufferManagement\Properties\AssemblyInfo.cs
xUnit.net ASP.NET test runner (64-bit Asp.Net 5.0)
Copyright (C) 2015 Outercurve Foundation.
Discovering: OmniSharp.Tests
Discovered: OmniSharp.Tests
Starting: OmniSharp.Tests
Finished: OmniSharp.Tests
=== TEST EXECUTION SUMMARY ===
OmniSharp.Tests Total: 92, Errors: 0, Failed: 0, Skipped: 0, Time: 3.576s
"It removes also the empty assingments and the usages"
"Implements an abstract member as a virtual one"
"Adds second accessor to a property."
"Removes redundant braces around a statement."
"Add name for argument including method, indexer invocation and Attibute Usage"
"Adds an exception type specifier to general catch clauses."
"Add an exception description to the xml documentation"
"Add one or more optional parameters to an invocation."
"Add missing using declaration."
"Converts a loop to a Linq expression"
@nosami
nosami / gist:a3adf01dd036ead5be3f
Created May 27, 2015 20:23
Roslyn RC2 Tree structure
Microsoft.CodeAnalysis
└── 1.0.0-rc2
├── Microsoft.CodeAnalysis.1.0.0-rc2.nupkg
├── Microsoft.CodeAnalysis.1.0.0-rc2.nupkg.sha512
├── Microsoft.CodeAnalysis.nuspec
└── ThirdPartyNotices.rtf
Microsoft.CodeAnalysis.Analyzers
└── 1.0.0-rc2
├── Microsoft.CodeAnalysis.Analyzers.1.0.0-rc2.nupkg
├── Microsoft.CodeAnalysis.Analyzers.1.0.0-rc2.nupkg.sha512