Skip to content

Instantly share code, notes, and snippets.

import Foundation
import UIKit
// Usage Examples
let shadowColor = Color.shadow.value
let shadowColorWithAlpha = Color.shadow.withAlpha(0.5)
let customColorWithAlpha = Color.custom(hexString: "#123edd", alpha: 0.25).value
enum Color {
# Defaults / Configuration options for homebridge
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)
HOMEBRIDGE_OPTS=-U /var/lib/homebridge
# If you uncomment the following line, homebridge will log more
# You can display this via systemd's journalctl: journalctl -f -u homebridge
# DEBUG=*
@eloisecamire
eloisecamire / Day 9 turkey calculator
Created October 16, 2014 04:27
CookThatBird - Day9
//
// ViewController.swift
// CookThatBird
//
// Created by Eloise Camire on 2014-10-15.
// Copyright (c) 2014 Eloise Camire. All rights reserved.
//
import UIKit