Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
CEO-ing

Hampton Catlin hcatlin

💭
CEO-ing
View GitHub Profile
View gist:a649517db71f930d1925
Vote's trust:
def calculate_trust_points
if !proposal.open?
if voted_with_majority?
self.trust_points = 1
else
self.trust_points = -3
end
else
View gist:85a9407b1b63087fce6f
https://www.wordset.org/proposal/54f8be0f3761330003604400
https://www.wordset.org/proposal/54f8be403761330003484d00
https://www.wordset.org/proposal/54f8be4237613300035e4e00
https://www.wordset.org/proposal/54f8c4f931656100035f1600
https://www.wordset.org/proposal/54f8c51b3165610003711b00
https://www.wordset.org/proposal/54f8c54d3165610003d52500
View gist:159c5b97c4cfd0fe68b5
https://www.wordset.org/proposal/54efd83d3439380003860000
https://www.wordset.org/proposal/54f8be0f3761330003604400
https://www.wordset.org/proposal/54f8be403761330003484d00
https://www.wordset.org/proposal/54f8be4237613300035e4e00
https://www.wordset.org/proposal/54f8c4f931656100035f1600
https://www.wordset.org/proposal/54f8c51b3165610003711b00
https://www.wordset.org/proposal/54f8cf0f3766620003d41200
https://www.wordset.org/proposal/54f8cf193766620003341500
https://www.wordset.org/proposal/54f8cf6e3766620003a12000
https://www.wordset.org/proposal/54e4da603038380003080000
View gist:dcbb9037d3038d327355
shit_list = [
"ancient port",
"United States",
"born in",
"city",
"genus",
"species",
"unit of",
"a republic",
"years ago",
@hcatlin
hcatlin / SassMeister-input.scss
Last active Aug 29, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$modules: () !default;
@mixin exports($name) {
$module_index: index($modules, $name);
@if (($module_index == null) or ($module_index == false)) {
$modules: append($modules, $name);
@hcatlin
hcatlin / SassMeister-input.scss
Created Oct 7, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
/*
@each $header, $size in (h1: 2em, h2: 1.5em, h3: 1.2em) {
#{$header} {
font-size: $size;
@hcatlin
hcatlin / SassMeister-input.scss
Last active Aug 29, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
@charset "UTF-8";
a {
color: red;
}
@hcatlin
hcatlin / SassMeister-input.scss
Created Oct 3, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v2.0.0)
// ----
/*!
*/
a {
color: red;
}
@import url("x");
@hcatlin
hcatlin / RBResizer.swift
Created Jun 27, 2014
Swift Image Resizer
View RBResizer.swift
//
// RBResizer.swift
// Locker
//
// Created by Hampton Catlin on 6/20/14.
// Copyright (c) 2014 rarebit. All rights reserved.
//
import UIKit
View test.haml
%ul
%li One
%li Two
%li <a href="boo">Yo</a>
%li= link_to "boo", "Yo"
<li>a</li><li><a>b</a></li>