Skip to content

Instantly share code, notes, and snippets.

View joshrcook's full-sized avatar

Joshua Cook joshrcook

  • Raccord, Inc
  • Morgantown, WV
View GitHub Profile
@joshrcook
joshrcook / Responsive-sticky-footer.html
Last active December 20, 2015 21:38
A responsive sticky footer by Josh Cook. Read more at http://www.joshrcook.com/a-responsive-sticky-footer/
@joshrcook
joshrcook / style.scss
Created August 10, 2013 04:09
Basic style.scss. Learn more at www.joshrcook.com
/* Import the base styles */
@import "base";
/* Import the styles for screen sizes above 481px */
@media screen and (min-width: 481px) {
@import "481up";
}
/* Import the styles for screen sizes above 768px
This is for iPad and above */
@joshrcook
joshrcook / JRC_Post_Type.class.php
Created August 20, 2013 03:22
This gist is a sample of code that I created for a website that I have been working on recently. I brought together two other classes, extended their functionality, made some functions more flexible, and created a cohesive class that simplifies code and saves lots of time.
<?php
// require the JW_Post_Type class
require_once('inc/Easy-WordPress-Custom-Post-Types/jw_custom_posts.php');
// require CMB_Meta_Boxes
require_once('inc/Custom-Metaboxes-and-Fields-for-WordPress/init.php');
/**
* This class brings together Easy Wordpress Custom Post Types, Custom Metaboxes
* and Fields for Wordpress, and some other functions to make custom post type
@joshrcook
joshrcook / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
@joshrcook
joshrcook / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map.html">
@joshrcook
joshrcook / Button with gradient border
Last active April 29, 2024 15:56
Rounded Button with Gradient Border