Skip to content

Instantly share code, notes, and snippets.

@ksawalme
ksawalme / order-template.liquid
Created April 17, 2024 09:53 — forked from enamhasan/order-template.liquid
Shopify Order Printer Template with product image, variations and line item properties
<p style="float: right; text-align: right; margin: 0;">
{{ "now" | date: "%m/%d/%y" }}<br />
Invoice for {{ order_name }}
</p>
<div style="float: left; margin: 0 0 1.5em 0;" >
<strong style="font-size: 2em;">{{ shop_name }}</strong><br /><br />
{{ shop.address }}<br/>
{{ shop.city }} {{ shop.province_code }} {{ shop.zip | upcase }}<br/>
{{ shop.country }}

Influenza, the minimalistic blogging engine.

Based on Node.js/Express.js and flat markdown files. This is the main (and only) code file, containing all the logic and code, and is written in literate Coffeescript. The Idea is that you just put your articles as markdown files (*.md) in the /posts folder, and Influenza takes care of all the other stuff.

Only the following npm modules are used:

express   = require "express"
exphbs    = require "express-handlebars"
@ksawalme
ksawalme / redis.js
Created April 25, 2018 23:52 — forked from jai2033shankar/redis.js
Redis sample program (retwis) ported to node.js
/**
* retwis-js.js
*
* Description:
*
* redis tutorial program impelmented by node.js
*
* Usage:
*
* node redis.js
@ksawalme
ksawalme / redis.js
Created April 25, 2018 23:52 — forked from jai2033shankar/redis.js
Redis sample program (retwis) ported to node.js
/**
* retwis-js.js
*
* Description:
*
* redis tutorial program impelmented by node.js
*
* Usage:
*
* node redis.js