Skip to content

Instantly share code, notes, and snippets.

View steffanwilliams's full-sized avatar

Steffan Williams steffanwilliams

View GitHub Profile
@paulirish
paulirish / bling.js
Last active May 1, 2024 19:56
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
@jamesdlacroix
jamesdlacroix / proposal-example.md
Last active October 15, 2023 19:46
Example markdown proposal to be used with Marked. For more information, check out the blog post on how we are using this to streamline our proposal writing. http://www.lacroixdesign.net/blog/streamlining-our-proposal-writing-process/

Title: Project Title Author: First Last Email: Email@Example.com Address: 1234 Street, City, State 12345 Phone: (XXX)XXX-XXXX Affiliation: www.LaCroixDesign.net Copyright: 2015 Company Name Keywords: Proposal, Web Design Date: March 13, 2015

@jonikorpi
jonikorpi / styles.less
Last active September 7, 2016 16:23
Atom stylesheet based around Solarized Dark, Input Mono, and Input Sans Narrow
/*
I should probably have turned this into a theme…,
but who has time for that?
Installation:
1. Choose "Atom Dark" as your UI theme.
2. Choose "Solarized Dark" as your syntax theme.
3. Install Input from http://input.fontbureau.com/
(It's free for personal use.)
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active June 5, 2024 06:45
A badass list of frontend development resources I collected over time.
@marcedwards
marcedwards / high-dpi-media.css
Last active November 19, 2023 12:56
A CSS media query that captures almost all high DPI aware devices.
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */
@kevinSuttle
kevinSuttle / meta-tags.md
Last active May 12, 2024 15:28 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags
@jakemarsh
jakemarsh / BestClassEver.m
Created February 12, 2011 04:12
The simplest thing makes a word of difference
//Author: https://github.com/TouchCode
//Code File: https://github.com/TouchCode/TouchUI/blob/master/Source/Views/CBetterAlertView.m
#import <UIKit/UIKit.h>
@interface CBetterAlertView : UIAlertView {
id userInfo;
}
@property (readwrite, nonatomic, retain) id userInfo;
@happyboredom
happyboredom / ZbarPhoneGap.h
Created December 13, 2010 19:42
Use Zbar barcode reader with PhoneGap on iPhone
//
// ZbarPlug.h
// Phun
//
// Created by Jeff Lee on 12/12/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>