Skip to content

Instantly share code, notes, and snippets.

View sigul's full-sized avatar

Silvio Gulizia sigul

View GitHub Profile
@sigul
sigul / config.h
Last active October 1, 2019 20:36
Italian ANSI keyboard - my Planck keymap
#pragma once
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
// #define STARTUP_SONG SONG(NO_SOUND)
#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
SONG(COLEMAK_SOUND), \
SONG(DVORAK_SOUND) \
}
@sigul
sigul / index.html
Created March 19, 2018 10:24 — forked from anonymous/index.html
Styled JavaScript Countdown Clock
<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 February 6, 2018 21:16
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
<!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 February 1, 2018 01:00
Genesis Front Page with Flexible Widgets
<?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++ ) {