d = $('#dicesvalue').val().split(',')
_web.reportDices [
parseInt(d[0]),
parseInt(d[1]),
parseInt(d[2]),
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
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="...." Inherits="...." %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<asp:ContentPlaceHolder ID="HeadContent" runat="server" /> | |
<asp:Literal ID="liHeaders" runat="server" EnableViewState="false" /> | |
</head> | |
<body class="standard yui-skin-sam"> |
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
====================================================================== | |
SSO: Logged in at global domain: | |
====================================================================== | |
z.se hej.se | |
<-------------- | |
check local cookie at global domain | |
logged in here | |
---------------> | |
global usertoken |
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
/* | |
* TextureRepository.cpp | |
* SafeDriverApp1 | |
* | |
* Created by Per-Olov Jernberg on 5/30/10. | |
* Copyright 2010 __MyCompanyName__. All rights reserved. | |
* | |
*/ | |
#include "TextureRepository.h" |
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
__ADTECH_CODE__ = ""; | |
__theDocument = document; | |
__theWindow = window; | |
__bCodeFlushed = false; | |
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
if( m_new_award > m_old_award ) | |
{ | |
switch( m_new_award ) | |
{ | |
case MEDAL_BRONZE: | |
messagepart1 = [NSString stringWithFormat:@"Your TOTAL SCORE of %d won you the BRONZE MEDAL.", m_new_highscore]; | |
messagepart2 = [NSString stringWithFormat:@"Score more than %d to win the SILVER MEDAL!", m_silver_level]; | |
break; | |
case MEDAL_SILVER: |
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 System.Collections.Generic; | |
using System.Threading; | |
using System.Web; | |
using JsonFx.Json; | |
using log4net; | |
using OAuth; | |
using Zitiz.Types.Interfaces.IO; | |
using Zitiz.Types.Interfaces.Security; | |
using Zitiz.Types.Interfaces.UI; |
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
param ( | |
$mode = $null, | |
$num = 1, | |
$url = $null | |
) | |
if( $mode -eq $null -or $url -eq $null ) { | |
write-host "Syntax: background.ps1 [start|loop] [1-100] [url]" | |
exit 1 | |
} |
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
<?php | |
// | |
// Simple post data mailer - sends all posted fields and uploaded files by email. | |
// | |
// USAGE: | |
// curl -F field1=value1 -F field2=value2 -F file1=@/tmp/test.txt http://example.com/script.php | |
// | |
// TODO: check for spam post |
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
public class ModuleRegistry : Registry | |
{ | |
public ModuleRegistry() | |
{ | |
For<ICommandValidator<SubmitVideoBasicsCommand>>().Use<SubmitVideoBasicsCommandValidator>(); | |
For<ICommandHandler<SubmitVideoBasicsCommand>>().Use<SubmitVideoBasicsCommandHandler>(); | |
For<IQueryHandler<SubmitVideoMetaQuery, SubmitVideoMetaQueryResponse>>().Use<SubmitVideoMetaQueryHandler>(); | |
For<ICommandValidator<SubmitVideoMetaCommand>>().Use<SubmitVideoMetaCommandValidator>(); | |
For<ICommandHandler<SubmitVideoMetaCommand>>().Use<SubmitVideoMetaCommandHandler>(); | |
} |
OlderNewer