Den här texten syftar till att berätta om några av de nya HTML5 tekniker som kan hjälpa till vid användande av webbapplikationer utan att ha en konstant anslutning till webbservern. Hur kan de nya webteknikerna hjälpa till?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="wmd-title" id="webbappar-i-en-offlinemiljö">Webbappar i en offlinemiljö</h1> | |
<h2 class="wmd-title" id="nya-tekniker-som-ska-unerlätta-arbete-utan-uppkoppling">Nya tekniker som ska unerlätta arbete utan uppkoppling</h2> | |
<h3 class="wmd-title" id="forskningsfråga">Forskningsfråga</h3> | |
<p>Är det möjligt att simulera en koppling till en webserver. Inte i form av att bara cacha en webbplats, utan även att simulera funktionallitet så som att ladda upp filer eller att editera ett blogginlägg.</p> | |
<h3 class="wmd-title" id="usecase">Usecase</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="wmd-title" id="webapplikationer-offline">Webapplikationer offline</h1> | |
<h2 class="wmd-title" id="en-överblick-av-html5-standardens-offline-stöd">En överblick av HTML5 standardens offline stöd</h2> | |
<h2 class="wmd-title" id="introduktion">Introduktion</h2> | |
<p>Den här texten syftar till att berätta om de nya HTML5 tekniker som kan hjälpa till vid användande av webbapplikationer utan att ha en konstant anslutning till webbservern. Hur mycket kan egentligen lagras lokalt?</p> | |
<h3 class="wmd-title" id="bakgrund">Bakgrund</h3> |
#mkdir, like it was meant to be!#
##Here is how you do it##
Open up an editor and create a script file, in my case "mkdirn.sh". And inside the file we will put the following:
mkdir $1
cd $1
The $1 refers to what ever we put after our initial command in the case of mkdir abc $1 refers to abc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>This is a test page for testing tests</title> | |
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/mocha/1.20.1/mocha.css"> | |
</head> | |
<body> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/mocha/1.20.1/mocha.js" type="application/ecmascript"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/chai/1.9.1/chai.min.js" type="application/ecmascript"></script> | |
<script src="http://sinonjs.org/releases/sinon-1.10.3.js" type="application/ecmascript"></script> |