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 |
How far can a pickup truck be flung off of an aircraft carrier? | |
333m - length of aircraft carrier deck (Nimitz Class - http://en.wikipedia.org/wiki/Aircraft_carrier) | |
20,411.6567 - weight of jet in kilos | |
2 = number of seconds a jet is active on the catapult (assume it clears all 333ms) | |
165mph takeoff speed = 265.54176 Km/h = 73.7616 m/s | |
Force = weight * (333/4) - Newton's second law of motion (F = MA | F = kg (m/s^2)) | |
1,699,270.420 Netwons |
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 |
/// <summary> | |
/// Extension methods for creating <see cref="Props"/> instances that utilize Ninject | |
/// dependency injection. | |
/// </summary> | |
public static class NinjectProps | |
{ | |
static IKernel _globalKernel; | |
/// <summary> | |
/// Sets a reference to a Ninject <seealso cref="IKernel"/> that will be used by ALL Ninject-based Props |
DWORD dLastError = GetLastError(); | |
LPCTSTR strErrorMessage = NULL; | |
FormatMessage( | |
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_ALLOCATE_BUFFER, | |
NULL, | |
dLastError, | |
0, | |
(LPWSTR) &strErrorMessage, | |
0, |
/// <summary> | |
/// INTERNAL API. | |
/// | |
/// <see cref="Span{T}"/> polyfills that should be deleted once we drop .NET Standard 2.0 support. | |
/// </summary> | |
internal static class SpanHacks | |
{ | |
public static bool IsNumeric(char x) | |
{ | |
return (x >= '0' && x <= '9'); |
std::set phoenix;
phoenix.key_comp();
Slightly disorganized but reasonably complete notes on the algorithms, strategies and optimizations of the Akka Cluster implementation. Could use a lot more links and context etc., but was just written for my own understanding. Might be expanded later.
Links to papers and talks that have inspired the implementation can be found on the 10 last pages of this presentation.
This is the Gossip state representation:
I got really into Scotch when I turned 30 years old and took a father-son trip through England and Scotland. Since then it's been one of my favorite hobbies and I've built a great collection over the past few years that I enjoy sharing with my friends and family.
A lot of the people in my circle have expressed interest in learning whiskey and how to build their own collection - so I put this together as a short guide to help explain how to build a tasty, diverse, and affordable "Starter Whiskey Collection." Enjoy!
Tasting whiskey or any hard liquor can be a challenge at first, because the alcohol flavor overwhelms the sugars, esters, and other residues from the fermentation and aging process. We want to be able to taste the stuff in the latter category without being perturbed by the former.
This guide is designed to help steer readers towards whiskeys that are easy to drink: ones with a naturally sweet or slightly berry flavor. As you start
There is a long standing issue in Ruby where the net/http library by default does not check the validity of an SSL certificate during a TLS handshake. Rather than deal with the underlying problem (a missing certificate authority, a self-signed certificate, etc.) one tends to see bad hacks everywhere. This can lead to problems down the road.
From what I can see the OpenSSL library that Rails Installer delivers has no certificate authorities defined. So, let's go fetch some from the curl website. And since this is for ruby, why don't we download and install the file with a ruby script?
I respectfully ask that you don't quote me as “$company person Geoffrey Huntley said” – if I speak for a company, I will publish on its channels. My full name is "Geoffrey Huntley" please use that and not "Geoff Huntley".