Skip to content

Instantly share code, notes, and snippets.

💭
🤖

Joe Crawford artlung

💭
🤖
View GitHub Profile
View html-mail.html
<table cellspacing="0" cellpadding="10" border="0" bgcolor="#CCCCCC"><tr><td align="center">
<font face="Helvetica,Arial,sans-serif" color="#CC0000">HTML EMAIL IS PAIN.</font>
</td></tr><table>
View press-this-alternate.js
javascript:function getSelectionHtml(){var e="";if(typeof window.getSelection!="undefined"){var t=window.getSelection();if(t.rangeCount){var n=document.createElement("div");for(var r=0,i=t.rangeCount;r<i;++r){n.appendChild(t.getRangeAt(r).cloneContents())}e=n.innerHTML}}else if(typeof document.selection!="undefined"){if(document.selection.type=="Text"){e=document.selection.createRange().htmlText}}return e};var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=getSelectionHtml(),f='http://example.com/wordpress/wp-admin/press-this.php',l=d.location,e=encodeURIComponent,u=f+'?u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s)+'&v=4';a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=570'))l.href=u;};if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0); else a();void(0)
@artlung
artlung / SassMeister-input.scss
Created Apr 27, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
$col: #d37b2c;
.silvergate a {
color: $col;
text-decoration: none;
}
@artlung
artlung / SassMeister-input.scss
Created May 15, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
/* BEGIN original source: /lib/less/slacker/daypart.less */
@mixin dayPartMixin($index, $color)
{
.tod-#{$index} {
@artlung
artlung / SassMeister-input-HTML.html
Created May 19, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<html>
<head>
<link rel="stylesheet" href="brute.css">
<style>
div {
width: 100px;
float: left;
height: 20px;
font-size: small;
}
@artlung
artlung / SassMeister-input.scss
Created May 27, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
@mixin placeholderstyle() {
color: red;
}
input::-webkit-input-placeholder {
@include placeholderstyle()
@artlung
artlung / SassMeister-input-HTML.html
Created May 27, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<input type="" placeholder="hello" />
@artlung
artlung / SassMeister-input-HTML.html
Created May 28, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<body class="blog logged-in admin-bar no-customize-support">
<div id="month-header">
<ul>
<li>
<a href='/blog/2013/05/' title="Back one year">&#8592;&#8592;</a></li>
<li>
<a href='/blog/2014/04/' title="Back one month">&#8592;</a></li>
<li>
<a href="/blog/2014" class="here">2014</a> </li>
<li><a href="/blog/2014/01/">Jan</a></li> <li><a href="/blog/2014/02/">Feb</a></li> <li><a href="/blog/2014/03/">Mar</a></li> <li><a href="/blog/2014/04/">Apr</a></li> <li><a href="/blog/2014/05/" class="here">May</a></li> <li><span>Jun</span></li> <li><span>Jul</span></li> <li><span>Aug</span></li> <li><span>Sep</span></li> <li><span>Oct</span></li> <li><span>Nov</span></li> <li><span>Dec</span></li> <li><span>&#8594;</span></li>
@artlung
artlung / SassMeister-input.scss
Created Jun 2, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
$sites: ("twitter.com", "facebook.com", "linkedin.com");
@each $site in $sites {
a[href*="#{$site}"] {
background-image: url("/images/" + $site + ".png");
@artlung
artlung / SassMeister-input.scss
Created Jun 4, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
/*
Theme Name: Experience Brett Jackson 2014
Author: artlung
Author URI: http://joecrawford.com/
Description: Theme custom built for Brett Jackson's imbrettjackson.com.
You can’t perform that action at this time.