Skip to content

Instantly share code, notes, and snippets.

@NimaAra
NimaAra / NPM Quickies.md
Last active August 22, 2023 08:56
A set of NPM useful commands.

Interactive update of packages

npm i -g npm-check
npm-check -gu

View versions of all installed modules without dependencies:

npm list --depth=0
npm list -g --depth=0
@NimaAra
NimaAra / ZenCoding.html
Created February 16, 2017 22:59
Some examples of Zen Coding in Visual Studio and Web Essentials.
table>tr>td
<table>
<tr>
<td></td>
</tr>
</table>
ul>li*3>lorem
<ul>
<li>Tincidunt integer eu augue augue nunc elit dolor, luctus placerat scelerisque euismod, iaculis eu lacus nunc mi elit, vehicula ut laoreet ac, aliquam sit amet justo nunc tempor, metus vel.</li>
@NimaAra
NimaAra / TSQL-MSSQL-Quickies.sql
Last active December 4, 2017 12:10
TSQL (MSSQL) Quickies
-- CTRL + R | Toggle Results window.
-- CTRL + SHIFT + U | Upper case selected query
SELECT FirstName + ' ' + LastName AS 'Full_Name'
FROM Customer;
-- using Chinook database: https://chinookdatabase.codeplex.com/
SELECT i.InvoiceId, InvoiceDate, UnitPrice, Quantity
FROM Invoice i
INNER JOIN InvoiceLine il ON il.InvoiceId = i.InvoiceId;