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
public void Configure(Context ctx) { | |
// Single tasks | |
ctx.Run(() => Tasks.First()).Every.Midnight; | |
ctx.Run(() => Tasks.Second()).Every.Day(8,0)); | |
// Multiple tasks | |
ctx.Run(() => { | |
Tasks.Third(); | |
Tasks.Fourth(); | |
}).Every.Day(8,0); |
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
public class OptimizationShowViewModel : RestrictedViewModel { | |
public string AvailableDate { get; set; } | |
public string Type { get; set; } | |
public string DescriptionReciever { get; set; } | |
public string Status { get; set; } | |
public string WaitingUntil { get; set; } | |
public string WaitReason { get; set; } | |
public string Technician { get; set; } | |
public void OptimizationShowViewModel() { |
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
(function ($) { | |
$.fn.wizard = function (settings) { | |
var wizard = $(this); | |
// Find and hide all steps | |
var steps = wizard.find(".wizard-step"); | |
steps.hide(); | |
// Show first step | |
steps.first().show(); |
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
<div class="wizard"> | |
<div class="wizard-step wizard-step-1" data-step="1"> | |
<h2>Steg 1</h2> | |
<p class="description">Beskrivning ett</p> | |
Första steget... | |
</div> | |
<div class="wizard-step wizard-step-1" data-step="1"> | |
<h2>Steg 1</h2> |
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
.wizard ul { | |
list-style: none outside none; | |
margin: 0 0 15px; | |
padding: 0; | |
} | |
.wizard ul li { | |
-moz-user-select: none; | |
background: -moz-linear-gradient(center top , #F7F7F7, #E1E1E1) repeat scroll 0 0 transparent; | |
color: #333333; |
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
ul { | |
list-style: none outside none; | |
margin: 0 0 15px; | |
padding: 0; | |
} | |
ul li { | |
-moz-user-select: none; | |
background: -moz-linear-gradient(center top , #F7F7F7, #E1E1E1) repeat scroll 0 0 transparent; | |
color: #333333; |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
namespace ConsoleApplication12 { |
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> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
alert('ok'); | |
var str = $('#presentation div').data('options'); | |
alert(str.trigger); | |
}); | |
</script> |
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> | |
<style> | |
div { border: 1px dashed orange; padding: 10px; display: none; margin-bottom: 20px; } | |
</style> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$("[data-publish]").click(function() { | |
var eventName = $(this).data('publish'); |
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
Server Software: Apache/2.2.3 | |
Server Hostname: www.mediaanalys.net | |
Server Port: 80 | |
Document Path: / | |
Document Length: 36930 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 41.186 seconds | |
Complete requests: 1000 |