Skip to content

Instantly share code, notes, and snippets.

View ProfeC's full-sized avatar
💭
I may be slow to respond.

G. Lee Clark, II ProfeC

💭
I may be slow to respond.
View GitHub Profile
@ProfeC
ProfeC / pacaur_install.sh
Last active December 7, 2016 23:31 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!
@ProfeC
ProfeC / markdown-file-header.sublime-snippet
Created May 25, 2015 00:38
A Sublime Text snippet that adds a generic header to your file.
<snippet>
<content><![CDATA[
<!--
Title: ${1:Some file title}
Summary: ${2:Some file description}
Author: ${3:$TM_FULLNAME}
Date: ${4:May 21, 2015 10:13 PM}
Filename: ${5:$TM_FILENAME}
-->
@ProfeC
ProfeC / TM2 Project Settings
Created June 21, 2013 16:05
Original TextMate2 Projects "matching" settings Just keeping this as a reference if I ever want to go back.
Original Exclude files matching:
{*.{o,pyc},Icon\r,CVS,_darcs,_MTN,\{arch\},blib,*~.nib}
Original Include files matching:
{*,.tm_properties,.htaccess}
Non-text files:
{*.{ai,gif,icns,ico,jpg,jpeg,m4v,nib,o,pdf,png,psd,pyc,rtf,scssc,tif,tiff,xib},Icon\r}
@ProfeC
ProfeC / Automated Host Configuration
Created April 27, 2013 12:34
I just found this little gem here: http://dsheiko.com/weblog/my-lovely-mac-os-x-web-development-environment#highlighter_243198. Looks like something that could be useful to a few. ===> "Rob Allen has been quite comprehensive in his post Automatic Apache vhosts. If briefly, we just add at the bottom of /opt/local/apache2/conf/httpd.conf the follo…
<Virtualhost *:80>
VirtualDocumentRoot "/Users/yourname/Sites/dev/%1/wwwroot"
ServerName vhosts.dev
ServerAlias *.dev
UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
ErrorLog "/Users/yourname/Sites/dev/vhosts-error_log"
<Directory "/Users/yourname Sites/dev/*">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
@ProfeC
ProfeC / Zurb Foundation 4 Orbit Setting Overrides
Last active December 14, 2015 14:48
Here are a few settings that I've gotten to work with the new Orbit slider that is part of Zurb's Foundation 4.
$(document)
.foundation('orbit', {
animation_speed: 5
, bullets: false
, timer_speed: 1000
, stack_on_small: false
})
;