(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
using System; | |
using System.Data.Entity.Core.Common.CommandTrees; | |
using System.Data.Entity.Core.Metadata.Edm; | |
using System.Data.Entity.Infrastructure.Interception; | |
using System.Linq; | |
public class CreatedAndModifiedDateInterceptor : IDbCommandTreeInterceptor | |
{ | |
public const string CreatedColumnName = "Created"; | |
public const string ModifiedColumnName = "Modified"; |
(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
function Event(name){ | |
this.name = name; | |
this.callbacks = []; | |
} | |
Event.prototype.registerCallback = function(callback){ | |
this.callbacks.push(callback); | |
} | |
function Reactor(){ | |
this.events = {}; |
func TestUserFail(t *testing.T) { | |
func() { | |
defer func() { | |
if r := recover(); r == nil { | |
t.Errorf("TestUserFail should have panicked!") | |
} | |
}() | |
// This function should cause a panic | |
CreateUser(12, "hello") |
declare module BABYLON { | |
export class Engine { | |
constructor(canvas:HTMLElement, antialias:boolean); | |
runRenderLoop(it:any); | |
resize(); | |
} | |
export class Scene { | |
constructor(engine:Engine); | |
render(); | |
} |
#NoEnv | |
#SingleInstance force | |
SendMode Input | |
DetectHiddenWindows, on | |
SetWinDelay, 0 | |
#`:: | |
terminal := WinExist("ahk_exe WindowsTerminal.exe") | |
if (terminal) | |
{ |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls
command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js