Skip to content

Instantly share code, notes, and snippets.

View gcman105's full-sized avatar

Gary Cheeseman gcman105

View GitHub Profile
@gcman105
gcman105 / middleman-neat_test
Created October 25, 2014 07:48
Page source from middleman-neat test page
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> ><! <![endif]-->
<html class='no-js'>
<!-- <![endif] -->
<head>
<script type="text/javascript">
WEB_SOCKET_SWF_LOCATION = "/__rack/WebSocketMain.swf";
@gcman105
gcman105 / bitters-lists.scss
Last active August 29, 2015 14:08
Bitters lists
$base-spacing: 200;
ul,
ol {
margin: 0;
padding: 0;
list-style-type: none;
&%default-ul {
list-style-type: disc;
margin-bottom: $base-spacing / 2;
@gcman105
gcman105 / SassMeister-input-HTML.html
Last active August 29, 2015 14:08
Generated by SassMeister.com.
<h3>Ordered List</h3>
<ol>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
<h3>Unordered List</h3>
<ul>
<li>List Item 1</li>
@gcman105
gcman105 / gitignore-all-but-org.md
Last active August 29, 2015 14:08
.gitignore to ignore almost everything apart from `.org` files.

I have set up the gitignore to ignore almost everything apart from .org files.

.gitignore file

*
!.gitattributes
!.gitignore
!README.md
!.gitkeep
@gcman105
gcman105 / SassMeister-input-HTML.html
Created October 30, 2014 16:30
Generated by SassMeister.com.
<h3>Ordered List</h3>
<ol>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ol>
<h3>Unordered List</h3>
<ul>
<li>List Item 1</li>
# argument is a set of non-required options.
config.vm.synced_folder "./vagrant_data/html/", "/usr/share/nginx/html/"
# Example for VirtualBox:
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
# Customize the amount of memory on the VM:
vb.memory = "1024"
@gcman105
gcman105 / Preferences_sublime-settings.json
Created April 26, 2015 18:59
Preferences.sublime-settings
{
"caret_extra_bottom": 3,
"caret_extra_top": 3,
"caret_extra_width": 2,
"color_scheme": "Packages/User/SublimeLinter/Seti (SL).tmTheme",
"font_face": "Input Mono",
"font_size": 9,
"highlight_line": true,
"ignored_packages":
[
@gcman105
gcman105 / Google Tag Manager on Genesis Framework
Last active August 29, 2015 14:21 — forked from anandkumar/GTM on Genesis Framework
Add Google Tag Manager script to a Genesis Framework Child Theme
/**
* Add Google Tag Manager script to a Genesis Framework Child Theme
*
* @author Gary Cheeseman (Forked from Anand Kumar)
* @link http://www.garycheeseman.me.uk/
*
*/
add_action('genesis_before', 'google_tag_manager');
function google_tag_manager() { ?>
@gcman105
gcman105 / gist.md
Created December 4, 2011 11:10
MD: Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

@gcman105
gcman105 / 960gs.scss
Created December 6, 2011 00:17 — forked from jmblog/960gs.scss
SCSS: 960gs.scss
/*-----------------------------------------------------
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
-------------------------------------------------------*/
/* Grid Settings
---------------------------*/
// 12-column grid