Skip to content

Instantly share code, notes, and snippets.

Avatar
🃏
    ​

Hardi Kõvamees luminarious

🃏
    ​
View GitHub Profile
View lasi.cgi.lua
#! /home/stuserbot/bin/lua
local rt = {}
local getenv = os.getenv
local strupper = string.upper
local strlower = string.lower
local format = string.format
local gsub = string.gsub
local setmetatable = setmetatable
local write = io.write
@luminarious
luminarious / static.php
Last active Jul 26, 2018
Getting a static site out of Cockpit CMS
View static.php
<?php
use Pug; // https://github.com/pug-php/pug
use Cockpit;
require_once __DIR__.'/vendor/autoload.php'; // Composer
require_once __DIR__.'/cockpit/bootstrap.php'; // https://github.com/COCOPi/cockpit
chdir(dirname(__FILE__)); // Keep this directory if called directly or from Cockpit
//setlocale(LC_TIME, 'et_EE', 'et', 'EE', 'ET', 'Estonia');
//define('DATE_FORMAT', "%e. %B %G");
@luminarious
luminarious / SketchSystems.spec
Last active Apr 1, 2019
# Parcel machine flow
View SketchSystems.spec
# Parcel machine flow
# According to v2 Marvel prototype
Parcel machine&
View
Welcome
Pick up -> Pickup flow
Send -> Registration flow
Return -> Return flow
Pickup flow