Skip to content

Instantly share code, notes, and snippets.

View jamesmrobinson's full-sized avatar

James Robinson jamesmrobinson

View GitHub Profile
@jamesmrobinson
jamesmrobinson / wp-config.php
Created May 20, 2023 01:45 — forked from franz-josef-kaiser/wp-config.php
My default wp-config.php file for the nightly.dev stack. Not beautiful, but it got everything.
<?php
# SHORTS
# DIRECTORY SEPARATOR
define( 'DS', DIRECTORY_SEPARATOR );
# PATH SEPARATOR
define( 'PS', PATH_SEPARATOR );
# Absolute path to the WordPress directory.
! defined( 'ABSPATH' )
AND define( 'ABSPATH', dirname( __FILE__ ).DS );
@jamesmrobinson
jamesmrobinson / meta-tags.md
Last active March 31, 2016 22:48 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website’s subject'>
<meta name='copyright' content='company name'>
<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=https://simplesharebuttons.com">Facebook</a>
<!-- Twitter -->
<a href="https://twitter.com/share?url=https://simplesharebuttons.com&amp;text=Simple%20Share%20Buttons&amp;hashtags=simplesharebuttons">Twitter</a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=https://simplesharebuttons.com">Google</a>
<!-- LinkedIn -->
@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
only screen and (-o-min-device-pixel-ratio: 13/10),
only screen and (min-resolution: 120dpi),
only screen and (min-resolution: 1.3dppx) {
}