Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
public class ThrottlePlugin : IPlugin | |
{ | |
/// <param name="redisHost">host name</param> | |
/// <param name="redisPort">port</param> | |
/// <param name="redisPassword">password</param> | |
public ThrottlePlugin(string redisHost, int redisPort, string redisPassword = null) | |
{ | |
_redisClient = new RedisClient(redisHost, redisPort, redisPassword); | |
} |
public class ThrottleInfoAttribute : Attribute | |
{ | |
public int PerMinute { get; set; } | |
public int PerHour { get; set; } | |
public int PerDay { get; set; } | |
} |
Follow the steps below to install Team City 9.1.1 on Ubuntu with Nginx as the proxy for port 80.
Install Team City:
# will install on port 8111
sudo wget -c https://gist.githubusercontent.com/coryt/b3e1c83ea74ae29d5fcb/raw/teamcity-install.sh -O /tmp/teamcity-install.sh
javascript:(function() {var e = document.getElementById('issue_body');if (e) {e.value += '#### What\'s the problem?\n\n#### Steps to reproduce?\n* Account used: \n* Feature (home feed, case detail, login, etc):\n\n#### Screenshots (if appropriate)\n\n';}})(); |
javascript:(function() {var e = document.getElementById('pull_request_body');if (e) {e.value += '#### What\'s this PR do?\n\n#### Checklist\n- [ ] Code reviewed @erewh0n @Dkane1 @richardpenner @coryt\n- [ ] Unit/Integration Tests Written/Passing\n\n#### Mongo Index Changes?\n\n#### How should this be manually tested?\n\n#### Related Issues/Stories?\n\n#### Screenshots (if appropriate)\n\n#### Questions:\n- Do migrations need to be ran?\n- Are there any additional deployment instructions/requirements?';}})(); |
// Restify Server CheatSheet. | |
// More about the API: http://mcavage.me/node-restify/#server-api | |
// Install restify with npm install restify | |
// 1.1. Creating a Server. | |
// http://mcavage.me/node-restify/#Creating-a-Server | |
var restify = require('restify'); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>OnDemand</key> | |
<false/> | |
<key>KeepAlive</key> | |
<true/> | |
If you have two days to learn the very basics of modelling, Domain-Driven Design, CQRS and Event Sourcing, here's what you should do:
In the evenings read the [Domain-Driven Design Quickly Minibook]{http://www.infoq.com/minibooks/domain-driven-design-quickly}. During the day watch following great videos (in this order):
I hereby claim:
To claim this, I am signing this object: