git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
/* `XHTML, HTML4, HTML5 Reset | |
----------------------------------------------------------------------------------------------------*/ | |
a, | |
abbr, | |
acronym, | |
address, | |
applet, | |
article, | |
aside, |
var page = new WebPage(), | |
address, output, size; | |
address = "http://www.wesbos.com/"; | |
width = 1024; height = 600; | |
output = "./screenshots/screenshot-"+width+"X"+height+".png"; | |
page.viewportSize = { width: width, height: height }; | |
if (phantom.args.length === 3 && phantom.args[1].substr(-4) === ".pdf") { |
if environment == :production | |
on_stylesheet_saved do |file| | |
# pretty logging output when making a gzipp'ed file | |
gz_file = Pathname.new("#{file}.gz").relative_path_from(Pathname.new(project_path)) | |
Compass::Logger.new.record(:create, gz_file) | |
# This generates a file of the same name but ending in .gz | |
`gzip -f #{file}` | |
end | |
end |
(function($){ | |
$.fn.extend({ | |
//pass the options variable to the function | |
alert: function(options) { | |
//Set the default values | |
var defaults = { | |
pull: 'right', |
// Boring | |
if (isThisAwesome) { | |
alert('yes'); // it's not | |
} | |
// Awesome | |
isThisAwesome && alert('yes'); | |
// Also cool for guarding your code | |
var aCoolFunction = undefined; |
The following will guide you through the process of enabling SSL on a Apache webserver
Create a directory within /etc/apache2/
using Terminal.app: sudo mkdir /etc/apache2/ssl
Next, generate two host keys: