Skip to content

Instantly share code, notes, and snippets.

View rizkysyazuli's full-sized avatar

Rizky Syazuli rizkysyazuli

View GitHub Profile
@rizkysyazuli
rizkysyazuli / index.jade
Last active February 20, 2020 16:09
[Jade - Starter HTML] Starter Jade template with Foundation #html #jade #foundation
doctype 5
// paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
//if IE 8
<html class="no-js lt-ie9" lang="en">
//[if gt IE 8]><!
html(class="no-js", lang="en")
//<![endif]
head
@rizkysyazuli
rizkysyazuli / edge-webfonts.js
Created October 25, 2012 08:38
JavaScript: Adobe Edge Web Fonts list
{
"Abel": "abel",
"Abril Fatface": "abril-fatface",
"Aclonica": "aclonica",
"Acme": "acme",
"Actor": "actor",
"Adamina": "adamina",
"Advent Pro": "advent-pro",
"Aguafina Script": "aguafina-script",
"Aladin": "aladin",
@rizkysyazuli
rizkysyazuli / script.js
Last active February 20, 2020 16:10
[JavaScript - SPA Starter] Starter script for a single-page AJAX application.
/**
* Extending Paul Irish’s DOM-ready execution for single-page AJAX application.
* This snippet executes methods based on URL hash values.
*
* Original implementation by Paul Irish & Viget Labs: http://bit.ly/aEwAny
* Requires jQuery Address plugin: http://bit.ly/11wNxa
*
* TODO: support HTML5 History API.
*
*/