This is a test markdown file!
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.Linq; | |
using System.Web; | |
using System.Web.Services; | |
namespace Emberjs_TODO_List | |
{ | |
[WebService(Namespace = "http://gosukiwi.blogspot.com/")] | |
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] |
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
<!doctype html> | |
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
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 () { | |
"use strict"; | |
var Todos = []; | |
var Todo = function () { | |
this.title = null; | |
this.isDone = false; | |
}; | |
$(document).ready(function () { |
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
<!doctype html> | |
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]--> | |
<!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]--> | |
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]--> | |
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> | |
<html lang="en"> | |
<!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> |
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 () { | |
"use strict"; | |
var Todos = []; | |
// Model - Entities | |
var Todo = function () { | |
this.title = null; | |
this.isDone = false; | |
}; |
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 () { | |
"use strict"; | |
var Todos = []; | |
// Model - Entities | |
var Todo = function (options) { | |
this.title = options.title; | |
this.isDone = options.isDone; | |
}; |
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
private void printDocument_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs ev) | |
{ | |
float linesPerPage = 0; | |
float yPosition = 0; | |
int count = 0; | |
float leftMargin = ev.MarginBounds.Left; | |
float topMargin = ev.MarginBounds.Top; | |
string line = null; | |
Font printFont = txtRazonSocial.Font; | |
SolidBrush myBrush = new SolidBrush(Color.Black); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<div id="container"></div> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | |
<script type="text/javascript" src="https://raw.github.com/gosukiwi/pochitto/master/pochitto.js"></script> | |
<script type="text/javascript"> |
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
private string parsePredicateExpression(Expression body) | |
{ | |
BinaryExpression binary = (BinaryExpression)body; // cast | |
string separator = body.NodeType == ExpressionType.OrElse ? " OR " : " AND "; | |
if (body.NodeType == ExpressionType.AndAlso || body.NodeType == ExpressionType.OrElse) | |
{ // If we are working with several ANDs or ORs | |
return "(" + parsePredicateExpression(binary.Left) + separator + parsePredicateExpression(binary.Right) + ")"; | |
} | |
else |
OlderNewer