Skip to content

Instantly share code, notes, and snippets.

@rmcc13
rmcc13 / launch.json
Last active June 5, 2019 12:32
Example configurations for enabling stepping into .NET Core code when debugging in vscode with omnisharp-vscode. The configuration in launch.json and tasks.json is for debugging .NET Core apps. The configuration in settings.json is for debugging tests executed by omnisharp.
{
"version": "0.2.0",
// omnisharp docs reference:
//https://github.com/OmniSharp/omnisharp-vscode/wiki/Debugging-into-the-.NET-Framework-itself
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
@rmcc13
rmcc13 / keybase
Created October 7, 2017 16:27
Keybase account verification
### Keybase proof
I hereby claim:
* I am rmcc13 on github.
* I am rmcc13 (https://keybase.io/rmcc13) on keybase.
* I have a public key ASCb6et_tympLPrj6a8q9UaKCHi433YPGOmHi5ER6Gu5jQo
To claim this, I am signing this object:
@rmcc13
rmcc13 / gulpfile
Created December 6, 2014 03:47
gulpfile with tasks to lint itself and restart gulp process on change
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var jshintStylish = require('jshint-stylish');
/* required for restarting gulp task */
var spawn = require('child_process').spawn;
/* used to track if a gulp process is already running */
var p;
/* task to restart gulp process */
// just a little something to help me remember how to define static const fields for javascript classes
// very simplified complex number class
function Complex(real, imaginary) {
this.real = real;
this.imaginary = imaginary;
}
Complex.prototype.add(rhs) {
return new Complex(this.real+rhs.real, this.imaginary+rhs.imaginary);
}