Skip to content

Instantly share code, notes, and snippets.

Avatar

Silvio Gulizia sigul

View GitHub Profile
@sigul
sigul / config.h
Last active Oct 1, 2019
Italian ANSI keyboard - my Planck keymap
View config.h
#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 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++ ) {