Skip to content

Instantly share code, notes, and snippets.

View my planck keymap
/* Copyright 2015-2017 Jack Humbert
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@sigul
sigul / index.html
Created Mar 19, 2018 — forked from anonymous/index.html
Styled JavaScript Countdown Clock
View index.html
<h1>Ancora in promozione per</h1>
<div id="clockdiv">
<div>
<span class="days"></span>
<div class="smalltext">Giorni</div>
</div>
<div>
<span class="hours"></span>
<div class="smalltext">Ore</div>
</div>
@sigul
sigul / mail chimp-html-template.html
Created Feb 6, 2018
Plain text, made in HTML, so you can embed your custom CSS font (eg. typeset / Google Font) in the head. Include text preview in the inbox, not present in the ready made template from Mailhcimp. ref: https://kb.mailchimp.com/merge-tags/all-the-merge-tags-cheat-sheet?utm_source=mc-kb&utm_medium=kb-site&utm_campaign=eepurl
View mail chimp-html-template.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- NAME: VERY PLAIN TEXT -->
<meta name="viewport" content="width=device-width">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="https://use.typekit.net/YOUR-KIT-CODE-HERE.css">
<title>*|MC:SUBJECT|*</title>
@sigul
sigul / front-page.php
Last active Feb 1, 2018
Genesis Front Page with Flexible Widgets
View front-page.php
<?php // DON'T REMOVE this
add_action( 'genesis_after_header', 'sg_front_page' );
/**
* Display Home Featured widget area below header.
*/
function sg_front_page() {
// Display front-page widget areas.
for ( $i = 1; $i <= 5; $i++ ) {
View microblog.php
<?php
/*
Plugin Name: Microblog
Author: Josh Pollock
Version: 0.1.0
*/
/**
* Make sure theme supports aside post format
*/
You can’t perform that action at this time.