Skip to content

Instantly share code, notes, and snippets.

View poef's full-sized avatar

Auke van Slooten poef

View GitHub Profile
@poef
poef / carousel.complete.html
Last active February 19, 2019 10:18
Bootstrap Caroussel in SimplyEdit
@poef
poef / index.html
Created December 5, 2018 15:23
A very basic web app using SimplyView
<div id=”counterApp”>
<input type=”text” data-simply-field=”counter”>
<button data-simply-command=”add1">+</button>
<button data-simply-command=”sub1">-</button>
<div>Counter is now: <span data-simply-field=”counter”></span></div>
</div>
<script src=”/js/simply.everything.js”></script>
<script>
var counterApp = simply.app({
container: document.getElementById(‘counterApp’),
@poef
poef / README.md
Last active October 4, 2018 09:49
Includes external html using a <link> tag

simply.include

note: this is alpha code, buyer beware

This component allows you to include html from anywhere at any point in your current dom. It follows the normal CORS rules when fetching remote content.

<html>
 
@poef
poef / rsslist.css
Last active January 31, 2016 12:31
A RSS feeds list using ARC components
html, body {
background: #EEE;
height: 100%;
overflow: auto;
font-family: arial, helvetica, sans-serif;
padding: 0;
}
section {
background-color: white;
border-radius: 3px;
@poef
poef / rss.php
Last active January 31, 2016 12:15
A very basic RSS reader using arc\http, arc\cache, arc\xml and arc\html
<?php
/**
* This is a simple demo showing how you can use different components from ARC together
* You can get arc at https://github.com/Ariadne-CMS/arc-arc/ or with composer:
*
* composer create-project arc/arc
*/
// load the composer autoloader
require __DIR__ . '/vendor/autoload.php';
@poef
poef / 0_reuse_code.js
Created August 1, 2014 09:57
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console