This file contains hidden or 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
.hidden-normal-res { | |
display: none; | |
} | |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { | |
.hidden-high-res { | |
display: none; | |
} | |
.hidden-normal-res { | |
display: inherit; |
This file contains hidden or 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
//Vi opretter vores service | |
CalendarService service = new CalendarService("ApplikationsNavn"); | |
//Vi sætter vores brugernavn og kodeord | |
service.setUserCredentials("brugernavn","kodeord"); | |
FeedQuery query = new FeedQuery(); | |
//Vi sætter vores feed til ens private kalender | |
query.Uri = new Uri("http://www.google.com/calendar/feeds/default/private/full"); |
This file contains hidden or 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
<pages> | |
<controls> | |
<add src="~/Admin/UserControls/EditUser.ascx" mce_src="~/Admin/UserControls/EditUser.ascx" tagName="EditUser" tagPrefix="ui"/> | |
</controls> | |
</pages> |
This file contains hidden or 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
var credentials = new StorageCredentials("deldysoft", | |
"YOUR PRIMARY KEY FROM. GET IT FROM THE MANGEMENT PORTAL"); | |
var client = new CloudBlobClient(new Uri("http://deldysoft.blob.core.windows.net/"), credentials); | |
// Retrieve a reference to a container. (You need to create one using the mangement portal, or call container.CreateIfNotExists()) | |
var container = client.GetContainerReference("deldydk"); | |
// Retrieve reference to a blob named "myfile.gif". | |
var blockBlob = container.GetBlockBlobReference("myfile.gif"); | |
This file contains hidden or 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
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css"> | |
<script type="text/javascript"> | |
(function($) { | |
$.ajax( | |
{ | |
url: "http://www.geekhub.dk/api/v1/meetings", | |
} | |
).success(function(data) { | |
var container = $("#geekhub-widget-container"); | |
var header = $("<div class=\"geekhub-widget-header\">geekhub</div>"); |
This file contains hidden or 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
using System; | |
using RestSharp; | |
namespace geekhub.apitest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Needs NUGET Package: RestSharp |
This file contains hidden or 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
var woldsMostAdvancedObject = {name: "Awsome"}; | |
localStorage.setItem("todo",JSON.stringify(woldsMostAdvancedObject)) | |
var value = JSON.Parse(localStorage.getItem("todo")) | |
alert(value.name) |
This file contains hidden or 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
localStorage.setItem("todo","My value") | |
var value = localStorage.getItem("todo") | |
alert(value) |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
ul { list-style: none; margin: 0; padding: 0;} | |
input[type=text] { border: 0px; width: 600px;} | |
li[data-indent='1'] { padding-left: 20px; } | |
li[data-indent='2'] { margin-left: 40px; } | |
li[data-indent='3'] { margin-left: 60px; } |