Skip to content

Instantly share code, notes, and snippets.

View gcman105's full-sized avatar

Gary Cheeseman gcman105

View GitHub Profile
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
;;; Package --- gcman105's emacs init.el
;;; Commentary:
;;; Code:
(require 'cl)
(require 'package)
(dolist (repo '(("elpa" . "http://tromey.com/elpa/")
<script type="text/javascript" src="//use.typekit.net/kse5lau.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
@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":
[