This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.special-situation { | |
@include subtitle; | |
@include gutters; | |
display:inline-block; | |
max-width:50%; | |
margin-bottom:2em; | |
color:$blue; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UIFont { | |
class func systemFontOfSize(size: CGFloat) -> UIFont { | |
return UIFont(name: "CustomFont-Regular", size: size)! | |
} | |
func lightSystemFontOfSize(size: CGFloat) -> UIFont { | |
return UIFont(name: "CustomFont-Light", size: size)! | |
} | |
func boldSystemFontOfSize(size: CGFloat) -> UIFont { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Break a name into two | |
let nameParts = split(json["_name"].stringValue) { $0 == " " } | |
let firstName = nameParts.first | |
let lastName = nameParts.count > 1 ? join(" ", nameParts[1...nameParts.count-1]) : "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "windows-server-2012R2-peet" | |
# config.vm.guest = :windows | |
config.vm.communicator = "winrm" | |
config.vm.network "private_network", ip: "192.168.50.4" | |
config.vm.network :forwarded_port, host: 8080, guest: 80 | |
config.vm.network :forwarded_port, guest: 3389, host: 3391 | |
config.vm.network :forwarded_port, guest: 5985, host: 5987 | |
config.vm.synced_folder ".", "C:/sites/default/peet-cms", | |
type: "rsync", rsync__exclude: ".git/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
var communities_url = "http://www.peet.com.au/ClientAsyncSvc.axd?q=getCommunities&sid=1&rids=0&getAll=true&gbr=1&seed=1405924115719"; | |
var Community = function (data) { | |
this = $.defaults(this, data); | |
this._available_lots = null; | |
}; | |
Community.prototype.availableLots = function () { |
NewerOlder