Skip to content

Instantly share code, notes, and snippets.

View jasondavis's full-sized avatar

Jason Davis jasondavis

View GitHub Profile
@jasondavis
jasondavis / dribbblelazyload.user.js
Created March 30, 2012 18:12
Dribbble Lazy Load
// ==UserScript==
// @name Dribbble Lazy Loader
// @description A lazy loader (or infinity scroller) for Dribbble, the behaves similar to the Forrst lazy loader.
// @include http://www.dribbble.com/*
// @include http://dribbble.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
// ==/UserScript==
// a function that loads jQuery and calls a callback function when jQuery has finished loading
function addJQuery(callback) {
@jasondavis
jasondavis / dabblet.css
Created March 31, 2012 11:35
begin styles
body, p, div, form, label, input{
/* some reset */
font-family:Verdana, Geneva, sans-serif;
font-size:small;
color:#fff;
background: #3a5875
}
@jasondavis
jasondavis / dabblet.css
Created March 31, 2012 12:09
some reset
/* some reset */
body{
font-family:Verdana, Geneva, sans-serif;
font-size:small;
color:#fff;
background: #3a5875
}
/* Notice wrapper with Single Image */
.notice-wrap {
@jasondavis
jasondavis / dabblet.css
Created March 31, 2012 12:55
some reset
/* some reset */
body{font-family:Verdana, Geneva, sans-serif; font-size:small;color:#fff;background: #3a5875}
/* Notice wrapper with Single Image */
.notice-wrap {
margin-top: 10px; padding: 0 .7em;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
@jasondavis
jasondavis / dabblet.css
Created March 31, 2012 20:02
some reset
/* some reset */
body{font-family:Verdana, Geneva, sans-serif; font-size:small;color:#fff;background: #3a5875}
/* Notice wrapper with Single Image */
.notice-wrap {
margin-top: 10px; padding: 0 .7em;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
@jasondavis
jasondavis / dabblet.css
Created March 31, 2012 22:30
Email subscribe Modal Window
body {
background: url("http://f.cl.ly/items/1P1B36222g1t462j3W3Q/cd4.png");
}
input[type="text"] {outline: none;}
/* Email subscribe Modal Window */
#modal-mask {
position: fixed;
width: 100%;
@jasondavis
jasondavis / dabblet.css
Created April 2, 2012 09:20
Email subscribe Modal Window
body {
background: url("http://f.cl.ly/items/1P1B36222g1t462j3W3Q/cd4.png");
}
input[type="text"] {outline: none;}
/* Email subscribe Modal Window */
#modal-mask {
position: fixed;
width: 100%;
@jasondavis
jasondavis / example.php
Created April 12, 2012 16:27 — forked from drewjoh/example.php
A Simple Postmark PHP Class with Attachments
<?php
require("postmark.php");
$postmark = new Postmark("your-api-key","from-email","optional-reply-to-address");
$result = $postmark->to("reciver@example.com")
->subject("Email Subject")
->plain_message("This is a plain text message.")
->attachment('File.pdf', $file_as_string, 'application/pdf')
body{
background: #EDECE8 url("http://www.codedevelopr.com/assets/images/bg.png") repeat;
}
#sidebar {
width: 290px;
margin-left: 40px;
font-size: .85em;
}
body{
background: #EDECE8 url("http://www.codedevelopr.com/assets/images/bg.png") repeat;
}
#sidebar {
width: 290px;
margin-left: 40px;
font-size: .85em;
}