Skip to content

Instantly share code, notes, and snippets.

View cdharrison's full-sized avatar
🎯
Focusing

@cdharrison cdharrison

🎯
Focusing
View GitHub Profile
@cdharrison
cdharrison / anker-links.md
Last active August 29, 2015 14:18
Anker Links
@cdharrison
cdharrison / gist:1563297
Created January 5, 2012 02:01
Add to php.ini to increase max file upload
; Increase maximum post size
post_max_size = 50M
upload_max_filesize = 50M
@cdharrison
cdharrison / html5base.php
Created January 5, 2012 16:04
HTML5 Starter File
<!doctype html>
<html>
<head>
<title>Starter HTML Document</title>
<meta charset="utf-8" />
<style>
/* @import url(reset.css); */
/* START: reset.css */
/* http://meyerweb.com/eric/tools/css/reset/
@cdharrison
cdharrison / resources
Created August 14, 2012 16:53
Resources
### Web Fonts ###
+ http://fontsquirrel.com
+ http://typekit.com
+ http://google.com/fonts
### Books ###
+ HTML and CSS: Design and Build Websites by Jon Duckett
++ http://www.amazon.com/dp/1118008189/
+ Designing with Web Standards by Jeffrey Zeldman
++ http://www.amazon.com/dp/0321616952/
@cdharrison
cdharrison / new_gist_file
Created July 30, 2013 13:39
Set WordPress WP_HOME and WP_SITEURL so that it matches wildcard (www or no-www)
define('WP_HOME','http://'. $_SERVER['SERVER_NAME']);
define('WP_SITEURL','http://'. $_SERVER['SERVER_NAME']);
body{
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
@cdharrison
cdharrison / _mixins.scss
Created July 30, 2013 20:04
My base mixins
// Mixins
@mixin clearfix-overflow{
overflow: hidden;
_overflow: visible;
zoom: 1;
}
@mixin boxEmboss($opacity, $opacity2){
box-shadow:white($opacity) 0 1px 0, inset black($opacity2) 0 1px 0;
@cdharrison
cdharrison / _buddypress.scss
Created August 3, 2013 03:48
A SCSS version of buddypress.css that comes with bp-default. Converted using http://css2sass.heroku.com/
/*--------------------------------------------------------------
Hello, this is the BuddyPress Legacy stylesheet.
----------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Navigation
1.1 - Pagination
2.0 - WordPress
2.1 - Images
@cdharrison
cdharrison / table-generated-content.html
Created August 22, 2013 20:20
A way to get generated content to appear after* a specific table row. (*Note: it actually puts it before the row proceeding the one... but whatevs.)
<!doctype html>
<html>
<head>
<title>
Test
</title>
<meta charset="utf-8" />
<style>
table{
border: 1px solid #000;
@cdharrison
cdharrison / SassMeister-input.scss
Created October 16, 2013 05:55
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.7)
// ----
/* Nesting */
nav{
ul{
margin: 0;
padding: 0;