Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |
{ | |
// This build system will build your cs file to exe file and will run it | |
"cmd": ["del ${file/\\.cs/\\.exe/} 2>NUL", "& csc /nologo /out:${file/\\.cs/\\.exe/} $file", "& ${file/\\.cs/\\.exe/}"], | |
"file_regex": "^(...*?)[(]([0-9]*),([0-9]*)[)]", | |
// By default csc is not in your PATH, so add it to your path | |
// or uncomment "path" and check that it has correct value | |
//"path": "C:/Windows/Microsoft.NET/Framework64/v4.0.30319/", | |
"shell": true, // Without this sublime has hard times to parse "&" in out command line | |
"selector": "source.cs" | |
} |
http://guides.rubyonrails.org/migrations.html
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" | |
ToolsVersion="4.0" DefaultTargets="Sample" > | |
<Import Project="Zip.targets" /> | |
<Target Name="Sample" > | |
<Zip SourceFolder="C:\Users\Administrator.WIN-BOAS4C4GH8K\Projects\Temp" OutputFileName="package.zip" /> | |
</Target> | |
</Project> |
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
sleep 1 | |
done |
import sublime, sublime_plugin, functools | |
class IdleWatcher(sublime_plugin.EventListener): | |
pending = 0 | |
def handleTimeout(self, view): | |
self.pending = self.pending - 1 | |
if self.pending == 0: | |
self.on_idle(view) |
AngularJS — Superheroic JavaScript MVW Framework - http://angularjs.org/
Ключевое отличие AngularJS от Knockout / Хабрахабр - http://habrahabr.ru/post/165275/
Building Huuuuuge Apps with AngularJS - Brian Ford - http://briantford.com/blog/huuuuuge-angular-apps.html
AngularJS. Developer Guide. Overview - http://docs.angularjs.org/guide/overview
(function () { | |
var arr = ["(function () {", "var arr = [", "arr[1] += arr.map(function(x) { return String.fromCharCode(0x22) + x + String.fromCharCode(0x22); }).join(', ') + '];';", "arr.forEach(function(x) { console.log(x); });", "}())"]; | |
arr[1] += arr.map(function(x) { return String.fromCharCode(0x22) + x + String.fromCharCode(0x22); }).join(', ') + '];'; | |
arr.forEach(function(x) { console.log(x); }); | |
}()) |
/* somewhere in your Core.CQRS */ | |
// Base class for all ES-based aggregate command handling components; | |
// | |
// NOTE: "Component" is a logical grouping of message handlers by function | |
// They provide good place to encapsulate chaining of cross-cutting concerns | |
// into a pipeline, providing simplified helper methods for registration of message handlers | |
// | |
// Components are similar to Services, thus they only contain handlers of single type (ie Command Handlers only) | |
// Components operate on envelope (infrastructure) level |