Skip to content

Instantly share code, notes, and snippets.

Daniel Morgan themorgantown

Block or report user

Report or block themorgantown

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .htaccess
# BEGIN WpFastestCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} =on
RewriteCond %{HTTP_HOST} ^loupiots-design.com
# Start WPFC Exclude
# End WPFC Exclude
# Start_WPFC_Exclude_Admin_Cookie
RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=sophie
View text.html
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]-->
@themorgantown
themorgantown / hype3.0email.html
Created May 24, 2019
This is a slightly tweaked version with larger fonts and images that reference https://static.tumult.com urls. It also has the unsubscribe link in the footer for Sendy support.
View hype3.0email.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width"/>
<title>Introducing Tumult Hype 3 and Hype Professional</title>
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300" rel="stylesheet" type="text/css" />
<style type="text/css">/* RESET ALL THE THINGS */ /* Based on The MailChimp Reset INLINE: Yes. */ /* Client-specific Styles */ #outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */ body{ width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;} /* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/ .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */ .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass fon
View blankpage.php
<?php
/**
* Template Name: Blank Template
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
View hype-runtime.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
<title>Default</title>
<style>
html {
height:100%;
}
View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
<title>360spotz</title>
<style>
html {
height:100%;
}
@themorgantown
themorgantown / Info.plist
Last active Oct 26, 2018
Hype Dashboard Widget Example
View Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowNetworkAccess</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>1024</string>
View example.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
<title>FairwayFacebookPlayable5</title>
<style>
html {
height:100%;
}
body {
@themorgantown
themorgantown / index.js
Last active Apr 10, 2018
This simple package takes a local or live URL on the web and generates screenshots.
View index.js
// Optional delay, JPG or PNG To run, place these two files in a folder, and run `npm install` within the folder then node index.js to run this example file after including your own local or remote URLs. To get the 'file:///' URL, open a html in Safari.
const Pageres = require('pageres');
// Learn more about Pageres here: https://github.com/sindresorhus/pageres
const pageres = new Pageres({delay: 1, filename: 'Default', format: 'png'})
// Load a file from URL and take a series of screenshots. Note that you need to remove the 'filename' above
// to create multiple formats.
//.src('https://tumult.com/hype/gallery/BootSale/BootSale.html', ['728x90', '1024x768', 'iphone 5s'], {crop: true})
You can’t perform that action at this time.