Skip to content

Instantly share code, notes, and snippets.

View pmeissner's full-sized avatar

Philip Meissner pmeissner

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>West Laurel Hill</title>
<link>http://forever-care.com</link>
<description>West Laurel Hill Cemetery and Funeral Home</description>
<language>en-us</language>
<item>
<title>Mary Biddle Memorial Service</title>
<description></description>
@pmeissner
pmeissner / pi.disqus.php
Created December 26, 2014 12:02
disqus with count
<?php
class Plugin_disqus extends Plugin {
var $meta = array(
'name' => 'Disqus',
'version' => '1',
);
public function comments()
{
@pmeissner
pmeissner / gist:35250e7f8a451e4ba1fe
Created November 19, 2014 16:49
response from codekit
ArgumentError on line ["143"] of /Applications/CodeKit.app/Contents/Resources/engines/compass/compass-core/lib/compass/configuration.rb: Invalid argument: {:project_path=>"/Users/phil/Desktop/compass-sucks"}
<?php
/**
* Class Hooks_wiper
*/
class Hooks_wiper extends Hooks
{
public function control_panel__publish($submission)
{
if ($this->fetchConfig('enable', false, null, true)) {
$this->addon->api('html_caching')->invalidateCache();
@pmeissner
pmeissner / gist:cc749ed3a0738bfc3eb6
Created July 2, 2014 12:06
looping video with mutiple sources and thumbnail
<video autoplay loop poster="img/video_thumbnail.jpg">
<source src="/media/original/mp4_video.mp4" type="video/mp4">
<source src="/media/original/webm_video.webm" type="video/webm">
<source src="/media/original/ogg_video.ogv" type="video/ogg">
</video>
Foundation.utils.image_loaded($('.half-left .blocks img'), function(){
$halfLeftBlocks.packery({
columnWidth: '.half-left .block-sizer',
itemSelector: '.block',
"isOriginLeft": false
});
});
---
-
id: 14431761
name: Grace and Truth Fellowship
published_on: 1392031911
created_on: 1392031821
modified_on: 1392031911
url: https://www.behance.net/gallery/Grace-and-Truth-Fellowship/14431761
privacy: public
fields:
@pmeissner
pmeissner / pi.journey.php
Created December 4, 2013 13:15
Countdown
<?php
class Plugin_Journey extends Plugin {
var $meta = array(
'name' => 'Journey',
'version' => '1.0',
'author' => 'Philip Meissner of Creative Loupe',
'author_url' => 'http://lou.pe'
);
@pmeissner
pmeissner / A-Pen-by-Philip-Meissner.markdown
Created October 21, 2013 18:44
A Pen by Philip Meissner.
@pmeissner
pmeissner / gist:6700231
Created September 25, 2013 14:13
HTML login version
<!DOCTYPE html><!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"></html><![endif]--><!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"></html><![endif]--><!--[if IE 8]>
<html class="no-js lt-ie9"></html><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title>{{ _site_name }}</title>