Skip to content

Instantly share code, notes, and snippets.

View gcman105's full-sized avatar

Gary Cheeseman gcman105

View GitHub Profile
@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>
@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
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 / 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 / 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";
<script type="text/javascript" src="//use.typekit.net/kse5lau.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
;;; Package --- gcman105's emacs init.el
;;; Commentary:
;;; Code:
(require 'cl)
(require 'package)
(dolist (repo '(("elpa" . "http://tromey.com/elpa/")
PS1="\h \u \w$ "
alias ll="ls -lahG"
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
#test -r /sw/bin/init.sh && . /sw/bin/init.sh
#export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
@gcman105
gcman105 / .vimrc
Last active October 3, 2020 11:21
Gary Cheeseman, gcman105's .vimrc file
" .vimrc
" Author: Gary Cheeseman <[email protected]>
" http://gary.cheeseman.me.uk
"
" vim: foldmethod=marker
"
" The line below allows me to update the Gist with the command :Gist
" GistID: 5821422
"-----------------------------------------------------------------------------
@gcman105
gcman105 / js2cs.rb
Created November 25, 2012 13:57 — forked from unamashana/js2cs.rb
Converting project files from Javascript to CoffeeScript
SRC_BASE_DIR = "."
DEST_BASE_DIR = "."
JS2COFFEE = "~/node_modules/js2coffee/bin/js2coffee"
dirs = []
files = []
Dir.glob("#{SRC_BASE_DIR}/**/*.js").each do |file|
files << file
dir = File.dirname(file).split(SRC_BASE_DIR)[1]