npm list -g --depth=0
+-- angular-cli@1.0.0-beta.22-1
+-- bower@1.8.0
+-- generator-aspnet@0.2.5
+-- generator-code@1.1.5
+-- grunt-cli@1.2.0
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
param ( | |
[string]$Path = $PSScriptRoot, | |
[string[]] $Filter = @("*.mp4","*.mkv", "*.avi"), | |
[string]$DestDir = $null | |
) | |
Clear-Host | |
function MoveFilesToSingleDirectory{ |
To turn off StyleCop at solution level:
- Create(or copy an existing) a setting file 'Settings.StyleCop' in the root directory containing the *.sln file.
- Add the below xml and save
<StyleCopSettings Version="105">
<GlobalSettings>
<BooleanProperty Name="RulesEnabledByDefault">False</BooleanProperty>
</GlobalSettings>
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
<PropertyGroup> | |
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> | |
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | |
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> | |
</PropertyGroup> |
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; | |
namespace XmasTree | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.Write("Enter odd number (tree's bottom length): "); | |
int length = int.Parse(Console.ReadLine()); //9 |
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
// CPPXmasTree.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <ostream> | |
#include <string> | |
#include "XmasTree.h" | |
inline void printHelloWorld(); |
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
// single line comments use a double slash | |
(* multi line comments use pair | |
-end of multi line comment- *) | |
// ======== "Variables" (but not really) ========== | |
// The "let" keyword defines an (immutable) value | |
let myInt = 5 | |
let myFloat = 3.14 | |
let myString = "hello" //note that no types needed |
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
SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE COLUMN_NAME like '%Brand%' | |
ORDER BY TABLE_NAME, COLUMN_NAME |
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
<!--REPLACE <Colors> and <SearchTemplates> --> | |
<Colors> | |
<UseCursorBorder>False</UseCursorBorder> | |
<CursorBorderColor>-2147483635</CursorBorderColor> | |
<UseFrameCursor>True</UseFrameCursor> | |
<Foreground>305780</Foreground> | |
<Background>2238503</Background> | |
<Background2>2238503</Background2> | |
<Cursor>16089859</Cursor> |