Ctrl + Alt + Space
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%http://tex.stackexchange.com/questions/77920/comment-package-excludecomment-gives-error | |
\documentclass[12pt]{article} | |
\usepackage{todonotes} % \missingfigure | |
\usepackage{comment} % to exclude whole sections when I want to | |
\newif\ifshow % toggle true or false based on if want to hide section | |
%\showtrue % show the sections | |
\showfalse % hide the sections | |
\ifshow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
using MyProject.ModelBinders; | |
using Kendo.Mvc.UI; | |
namespace MyProject.CustomAttributes | |
{ | |
public class CustomDataSourceRequestAttribute : DataSourceRequestAttribute | |
{ | |
public override IModelBinder GetBinder() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This snippet contains methods to transform between the | |
// various "coordinate formats" used by PTV components | |
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var pWgs = new Point(8.4, 49.0); // Karlsruhe | |
var pPtv_Geodecimal = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Attributes.Jobs; | |
namespace ForEachVsAddRange | |
{ | |
[MemoryDiagnoser] | |
public class Benchmark | |
{ |