Skip to content

Instantly share code, notes, and snippets.

View jasondevine's full-sized avatar
:octocat:
Getting there

jasondevine

:octocat:
Getting there
View GitHub Profile
@jasondevine
jasondevine / mailchimpform.html
Created July 18, 2020 23:02 — forked from akashnimare/mailchimpform.html
Mailchimp newsletter signup form using ajax ❤️ Demo- http://codepen.io/akashnimare/full/XMozEo/
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mailchimp Signup form</title>
<meta name="description" content="Mailchimp Signup form using Ajax.">
<style type="text/css">
body {
background-image: linear-gradient(120deg, rgb(209, 219, 233), rgb(240, 250, 243));
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Helvetica Neue', Arial, sans-serif;
@jasondevine
jasondevine / responsive-background-image.php
Created March 6, 2017 15:09 — forked from thebeckyhamm/responsive-background-image.php
WordPress Responsive Background Images
/**
* Responsive Featured Image Background - used to set custom responsive background on each page. I should probably turn this into a plugin at some point.
* Based on the work by Steven Slack: @link http://s2webpress.com//responsive-featured-image-function-in-wordpress-themes/
*
*/
function my_featured_image() {
// call the global post variable
global $post;
@jasondevine
jasondevine / nginx.conf
Created January 26, 2017 10:47 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which
@jasondevine
jasondevine / Contract Killer 3.md
Created February 21, 2016 14:52
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: October 8th 2015
  • Original post

@jasondevine
jasondevine / javascript_resources.md
Last active August 29, 2015 14:10 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@jasondevine
jasondevine / css_resources.md
Last active August 29, 2015 14:10 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides