Skip to content

Instantly share code, notes, and snippets.

View mismith's full-sized avatar

Murray Rowan mismith

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mismith on github.
  • I am mismith (https://keybase.io/mismith) on keybase.
  • I have a public key whose fingerprint is 5124 C0FB 8C92 63C8 E99D 89E7 AB9A 893F 0B1E 158D

To claim this, I am signing this object:

'use strict';
var keys = [],
triple = ['ctrl', 'alt', 'cmd'];
// left half
keys.push(Phoenix.bind('left', triple, function () {
var window = Window.focusedWindow(),
screen = window.screen().visibleFrameInRectangle();
@mismith
mismith / dabblet.css
Created January 22, 2013 04:37
How to make 3-corner-rounded triangle in CSS (SO)
/**
* How to make 3-corner-rounded triangle in CSS (SO)
* http://stackoverflow.com/q/14446677/1397351
*/
.triangle {
position: relative;
background-color: orange;
text-align: left;
}
.triangle:before,
@mismith
mismith / dabblet.css
Created January 22, 2013 00:11
How to make 3-corner-rounded triangle in CSS (SO)
/**
* How to make 3-corner-rounded triangle in CSS (SO)
* http://stackoverflow.com/q/14446677/1397351
*/
.triangle, .triangle:before, .triangle:after {
width: 20em; height: 20em;
border-radius: 20%;
}
.triangle {
overflow: hidden;
@mismith
mismith / dabblet.css
Created January 21, 2013 23:57
3-corner-'rounded' triangle
/* 3-corner-'rounded' triangle */
.triangle {
font-size: 10px;
position: relative;
width: 6em;
height: 6em;
text-align: center;
overflow: hidden;
border-radius: 100%;
@mismith
mismith / dabblet.css
Created January 21, 2013 23:54
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.triangle, .triangle:before, .triangle:after {
width: 4em; height: 4em;
border-radius: 20%;
}
.triangle {
overflow: hidden;
position: relative;