Skip to content

Instantly share code, notes, and snippets.

💭
Eternally Elated

DrummerHead DrummerHead

💭
Eternally Elated
Block or report user

Report or block DrummerHead

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Martín Lorenzo</title>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="image/x-icon" rel="shortcut icon" href="http://www.made.com.uy/images/favicon.ico">
<style>
html {
@DrummerHead
DrummerHead / .htmlhintrc
Last active Mar 7, 2017 — forked from thorade/.htmlhintrc
HTMLHint rules
View .htmlhintrc
{
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": false,
"attr-value-not-empty": false,
"attr-no-duplication": true,
"doctype-first": true,
"tag-pair": true,
"tag-self-close": false,
"spec-char-escape": true,
@DrummerHead
DrummerHead / frontend-programming-design-resources.md
Last active May 9, 2017
List of Front-end, programming & design resources
View mdl-scaffold.html
<!doctype html>
<html>
<head>
<title>MDL basic html scaffold</title>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='stylesheet' href='https://storage.googleapis.com/code.getmdl.io/1.0.5/material.indigo-pink.min.css'>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700'>
<link rel='stylesheet' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link rel='stylesheet' href='css/main.css'>
@DrummerHead
DrummerHead / gist:4982b32bd6d0fbd4ba76
Created Mar 23, 2015
combine two staticly generated sites
View gist:4982b32bd6d0fbd4ba76
#!/bin/bash
cd emulation
rm -rf *
cd ..
cd web
grunt build
cp -r public/ ../emulation/
cd ../blog
rake generate
View create-scss-structure
#!/usr/bin/env ruby
files = [
'variables',
'mixins',
'font-face',
'baseline',
'persistent',
'responsive',
'print',
View filter_best_movies_by_year.js
// http://www.imdb.com/chart/top
//
$('.lister-list tr').each(function(i, el){
var _this = $(this);
var yearInt = parseInt(_this.find('.secondaryInfo').text().replace(/[\(\)]/g, ''), 10);
if(yearInt <= 1990){
_this.remove();
}
});
View main-movie-rendered.css
/* Moviessss yey! */
/* vars
* ========================== */
/* end vars */
/* Mixins
* ========================== */
.clearfix:before, dl:before, #movies:before, .rect s:before, .clearfix:after, dl:after, #movies:after, .rect s:after {
content: '';
display: table;
View index-movie-rendered.html
<html>
<head>
<meta charset="utf-8">
<title>Movies sicodelia</title>
<meta name="description" content="Magia? Interminable!">
<meta name="viewport" content="width=device-width">
<meta name="author" content="DrummerHead">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="main.css">
</head>
@DrummerHead
DrummerHead / quo.rb
Created Feb 24, 2014
My first Quine
View quo.rb
c=["p", "r", "i", "n", "t", "\"", "c", "=", "\"", ";", "p", " ", "c", ";", "c", ".", "e", "a", "c", "h", "{", "|", "c", "|", "p", "r", "i", "n", "t", " ", "c", "}"]
print"c=";p c;c.each{|c|print c}
You can’t perform that action at this time.