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 |
// Windows 8 MSDN ListView Tutorial ListItem Template | |
<div id="mediumListIconTextTemplate" data-win-control="WinJS.Binding.Template"> | |
<div> | |
<!-- Displays the "picture" field. --> | |
<img data-win-bind="alt: title; src: picture" /> | |
<div> | |
<!-- Displays the "title" field. --> | |
<h4 data-win-bind="innerText: title"></h4> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>QUnit and Backbone Example</title> | |
<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.11.0.css"> | |
<script src="http://underscorejs.org/underscore.js"></script> | |
<script src="http://backbonejs.org/backbone.js"></script> | |
</head> | |
<body> |
/** | |
* Process an array of data synchronously. | |
* | |
* @param data An array of data. | |
* @param processData A function that processes an item of data. | |
* Signature: function(item, i, callback), where {@code item} is the i'th item, | |
* {@code i} is the loop index value and {@code calback} is the | |
* parameterless function to call on completion of processing an item. | |
*/ | |
function doSynchronousLoop(data, processData, done) { |
# Goals for 2014 | |
* Lose 30 lbs | |
* Participate in a 5k | |
* Publish at least one blog post per week | |
* Publish an Android app to Google Play | |
* Publish an iOS app to the iTunes App Store | |
* [Done 1/30/14 - Publish a Windows 8/8.1 app to the Windows Store](http://apps.microsoft.com/windows/en-us/app/smodr/ba5f0a9b-a2e3-470d-97da-d441dbb1e01c) | |
* Read at least one book per month | |
* Write a solution for every Easy Reddit /r/dailyprogrammer challenge posted in 2014 |
# Getting Started with TypeScript and Firebase | |
## What is TypeScript | |
## Creating a new TypeScript Project | |
* Open Visual Studio 2013 | |
* Navigate to NuGet plugins for this solution | |
Nuget plugins for this solution -> Firebase definitely typed |
var request = require('request') | |
, sys = require('sys') | |
, fs = require('fs') | |
, mkdirp = require('mkdirp') | |
, gm = require('gm').subClass({ imageMagick: true }); | |
var n = 100; | |
var l = Math.sqrt(n); | |
var w = Math.sqrt(n); | |
var width = 170; |
<!doctype html> | |
<html ng-app="app"> | |
<head> | |
<title>Tracking My Weight</title> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js"></script> | |
<script type="text/javascript"> | |
angular.module('app', []). | |
controller('WeightCtrl', function($http) { | |
var key = '0AjNYHy2ejpSKdDVxWDZMMTVpeXF6MGE3MkVsOWhwc2c'; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>S.I.R</title> | |
</head> | |
<body> | |
<audio controls="controls" src="http://68.168.101.146:8518/;stream.nsv&type=mp3"></audio> | |
</body> | |
</html> |
// Set & Update SystemMediaControls Display | |
var updater = systemMediaControls.displayUpdater; | |
updater.type = Windows.Media.MediaPlaybackType.music; | |
try { | |
if (updater !== undefined) { | |
updater.musicProperties.artist = "Kevin Smith & Scott Mosier"; | |
updater.musicProperties.albumArtist = "SModcast"; | |
updater.musicProperties.title = newEpisode.data.title; | |
updater.thumbnail = Windows.Storage.Streams.RandomAccessStreamReference.createFromUri(new Windows.Foundation.Uri('http://smodcast.com/wp-content/blogs.dir/1/files_mf/smodcast1400.jpg')); | |
updater.update(); |