Skip to content

Instantly share code, notes, and snippets.

<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;
}
<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>
<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>
<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>
<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>
<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">
<?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
@iaindooley
iaindooley / google_suggest.php
Created March 30, 2016 17:31
Google Suggest Scraper
<?php
if(count($_POST))
{
$name = microtime(true).'.txt';
$pid = pcntl_fork();
if($pid)
{
die('try here: <a href="out/'.$name.'">'.$name.'</a>');
}
@iaindooley
iaindooley / toc_list
Last active February 25, 2019 22:43
ToC Lists
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")
@iaindooley
iaindooley / projects_overview_demo
Created October 25, 2018 12:06
Trellinator Quick Start Projects Overview Demo
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();