(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
* Downloaded or downloading | |
============================= | |
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |
/* ******************************************************************************************* | |
* THE UPDATED VERSION IS AVAILABLE AT | |
* https://github.com/LeCoupa/awesome-cheatsheets | |
* ******************************************************************************************* */ | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
[TestFixture] | |
public class FooController_Tests | |
{ | |
FooDbContext _dbContext = new FooDbContext(@"SERVER=(localdb)\v11.0; DATABASE=FooControllerTests_"+ Guid.NewGuid().ToString("n")); | |
[TestFixtureSetUp] | |
public void Setup() | |
{ | |
_dbContext.Database.CreateIfNotExists(); | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
$method = "PUT" | |
$headerDate = '2014-02-14' | |
$headers = @{"x-ms-version"="$headerDate"} | |
$StorageAccountName = "<your account name>" | |
$StorageContainerName = "etl" | |
$StorageAccountKey = "<your account key>" | |
$Url = "https://$StorageAccountName.blob.core.windows.net/$StorageContainerName/stub.txt" | |
$body = "Hello world" | |
$xmsdate = (get-date -format r).ToString() | |
$headers.Add("x-ms-date",$xmsdate) |
##Setup your server (this would ideally be done with automated provisioning)
npm install -g forever
##Install flightplan
npm install -g flightplan
npm install flightplan --save-dev
Deploying a node app with Forever is great...until your server restarts unexpectedly. Then your app stops running and you have to re-deploy.
To get around this, we're going to run our node app as an Upstart service. Upstart services are great, because, once started, the system auto-restarts them if they fail, or if the server restarts.
###Step 1: Create a service for your node app
ssh root@youripaddress
service node-app start
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
//26-5-2020 update: possibly shorter, and better, since 'click' now fires on a tap, and is not prevented by the previous script. | |
//Also: more concatenation. | |
$(document).on('touchstart, click', 'a.taphover', function (e) { | |
if (!$(this).hasClass('hover')) { e.preventDefault(); } | |
$('.taphover').not($(this).toggleClass('hover')).removeClass('hover'); | |
}); | |
//the previous version: | |
//taphover - a solution to the lack of hover on touch devices. |