Skip to content

Instantly share code, notes, and snippets.

@alanwei43
alanwei43 / linq2js.js
Created August 4, 2016 10:09
LINQ to JavaScript
//TODO
/**
* filter
* map
* skip
* take
* aggregate
* sum
* order
@alanwei43
alanwei43 / Microsoft REST API Guidelines.md
Created July 29, 2016 01:14
Microsoft REST API Guidelines

Microsoft REST API Guidelines

Reference

Microsoft REST API Guidelines Working Group

| | | ---------------------------- | -------------------------------------- | ---------------------------------------- Dave Campbell (CTO C+E) | Rick Rashid (CTO ASG) | John Shewchuk (Technical Fellow, TED HQ) Mark Russinovich (CTO Azure) | Steve Lucco (Technical Fellow, DevDiv) | Murali Krishnaprasad (Azure App Plat) Rob Howard (ASG) | Peter Torr (OSG) | Chris Mullins (ASG)

@alanwei43
alanwei43 / OpenWithSublimeText2.bat
Created July 25, 2016 02:53 — forked from mrchief/LICENSE.md
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)
@echo off
SET st2Path=C:\Program Files\Sublime Text 2\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
@alanwei43
alanwei43 / app.html
Last active July 21, 2016 02:35
Angular Files Upload
<!DOCTYPE html>
<html>
<head>
<title>Angular Files Upload</title>
<meta charset="utf-8" />
<script src="http://cdn.bootcss.com/angular.js/1.3.18/angular.js"></script>
</head>
<body>
<div ng-app="FUApp">
<div ng-controller="BodyCtrl as main">