View typescript.json
{
"Angular Component": {
"prefix": "ngc",
"body": [
"import { Component } from '@angular/core';",
"",
"@Component({",
" selector: '${2:$TM_FILENAME_BASE}',",
" templateUrl: './${2:$TM_FILENAME_BASE}.component.html',",
" styleUrls: ['./${2:$TM_FILENAME_BASE}.component.scss']",
View MasonryGrid.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace GridTesting
{
View Cmder Bash
"%ConEmuDrive%\Program Files\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i
View vs code keyboard shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+shift+\\", "command": "workbench.action.splitEditor" },
{ "key": "ctrl+\\", "command": "workbench.action.toggleSidebarVisibility" },
{ "key": "ctrl+shift+c", "command": "csscomb.execute" },
{ "key": "ctrl+n", "command": "workbench.action.files.newFile" },
{ "key": "ctrl+shift+n", "command": "workbench.action.files.newFolder" }
]
View csscomb.json
{
"always-semicolon": true,
"block-indent": 2,
"color-case": "lower",
"color-shorthand": false,
"quotes": "single",
"space-after-colon": 1,
"space-before-opening-brace": 1,
"space-after-opening-brace": "\n",
"space-before-selector-delimiter": 0,
View Delete remote branch
# deletes the local remote-tracking branch, but not the actual remote branch
git branch -rd origin/[branch name]
# To delete the actual remote branch
git push origin --delete [branch name]
View ComposeAndSequence
var compose = function () {
var fns = arguments;
return function (result) {
for (var i = fns.length - 1; i > -1; i--) {
result = fns[i].call(this, result);
}
return result;
};
View React.Comp.Tmpl.js
var _debug = true;
var XXXXXX = React.createClass({
displayName: 'XXXXXX',
// Mixins
mixins: [],
// Props
propTypes: {
View gist:4d77162ac2819d74a5b7
npm install --save-dev gulp gulp-cli gulp-concat gulp-jshint gulp-less gulp-load-plugins gulp-minify-css gulp-rename gulp-uglify