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>My Page</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
<style type="text/css"> | |
p.specialParagraph /* decal: Red text */ | |
{ | |
color:red; | |
background:blue; | |
} |
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>My page</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
</head> | |
<body> | |
<div id="mainContent"> | |
<div area="Heading content" id="headingContent" editable="true"> | |
<h2>You can use any formatting here, including images and embeds</h2> | |
<p>If you put in a bunch of content in here, then embed an image just like in the instructional video you'll see you can move it around.</p> |
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>My Page</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
</head> | |
<body> | |
<div id="mainContent"> | |
<div area="Heading content" id="headingContent" editable="true"> | |
<h2>This is the home page</h2> | |
<p>You can type a bunch of content here, and it will only update on one page.</p> |
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>My Page</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
</head> | |
<body> | |
<div id="mainContent"> | |
<div area="Heading content" id="headingContent" editable="true"> | |
<h2>This is step 6</h2> | |
<p>You can type a bunch of content here and it will only update on one page.</p> |
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>My Page</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
</head> | |
<body> | |
<div id="mainContent"> | |
<div id="mainNavigation" menu="Main Navigation"> | |
<div repeat="10" active-class="main-highlight"> | |
<p><a href="" characters="60">This is an item</a></p> |
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>My Page</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
<widget href="http://decal-tour.apps53.decalcms.com/" /> | |
</head> | |
<body> | |
<div id="mainContent"> | |
<h2 area="Page Heading" editable="true" tags="none">This is a page heading</h2> | |
<div area="Body content" id="bodyContent" editable="true"> |
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
<?php | |
/**** | |
* This script presents an "algorithmic" way of doing a cohort analysis | |
* on your eCommerce customer database. | |
* | |
* This can be useful if you want to automate a lifetime value calculation | |
* based on some data available from a CSV file, database or API. | |
* | |
* The specifics of how your eCommerce system stores this information is | |
* abstracted out to a couple of objects with methods such as |
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
<?php | |
if(count($_POST)) | |
{ | |
$name = microtime(true).'.txt'; | |
$pid = pcntl_fork(); | |
if($pid) | |
{ | |
die('try here: <a href="out/'.$name.'">'.$name.'</a>'); | |
} |
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 createNewListCard(notification) | |
{ | |
var notif = new Notification(notification); | |
var new_list = notif.addedList(); | |
if(new_list.name() == "ToC") | |
{ | |
notif.board().lists().each(function(list) | |
{ | |
if(list.name() != "ToC") |
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 setup() | |
{ | |
var template = Board.create({name: "Project Template"}); | |
var overview = Board.create({name: "Projects Overview"}); | |
} | |
function createNewProjectBoard(notification) | |
{ | |
var card = new Notification(notification).addedCard("To Do"); | |
var trellinator = new Trellinator(); |