Skip to content

Instantly share code, notes, and snippets.

View lukebrooker's full-sized avatar

Luke Brooker lukebrooker

View GitHub Profile
@lukebrooker
lukebrooker / Stack.js
Created May 7, 2020 22:58
An potential Stack component for go1d
import * as React from "react";
import { View } from "@go1d/go1d";
const directionMargins = {
row: "marginRight",
column: "marginBottom",
}
const length = (value) => Array.isArray(value) ? value.length : 1;
@lukebrooker
lukebrooker / confluence.css
Last active June 18, 2018 12:46
Confluence styles
/* Confluence specific */
.aui-layout {
padding-top: 0 !important;
font-family: "Open Sans", "-apple-system", "BlinkMacSystemFont", "avenir next", "avenir", "helvetica neue", "helvetica", "ubuntu", "roboto", "noto", "segoe ui", "arial", sans-serif;
}
.aui-page-panel {
width: 100% !important;
padding: 0 !important;
@lukebrooker
lukebrooker / minimal.css
Created August 11, 2016 00:55
First implementation of a CSS reset/normalize with inheritence.
:root {
line-height: 1;
font-family: normal;
font-style: normal;
font-weight: inherit;
text-align: left;
appearance: none;
-webkit-appearance: none;
text-decoration: none;
box-sizing: border-box;
@lukebrooker
lukebrooker / pdbm.md
Created March 23, 2016 02:35
Product Design Breakfast Meetup

Brisbane Product Design Breakfast Meetup

7:30am, Thursday 24th March Dramanti Espresso 160 Ann Street, Brisbane CBD (Just down the hill from central station)

Nothing is sponsored yet, so for now you would need to pay for your own food and/or drinks (They do great coffee).

I’m thinking of the Breakfast meetings as being more of a “self-help” group that can tighten the the product design community in Brisbane. I’m guessing we will potentially surface larger topics to cover in the monthly “night” meetups too.

@lukebrooker
lukebrooker / package-list.txt
Created December 2, 2015 04:10
My Atom Packages
atom-beautify@0.28.19
autoclose-html@0.19.0
color-picker@2.0.13
dash@1.3.2
editor-stats@0.17.0
editorconfig@1.2.2
emmet@2.3.15
file-icons@1.6.13
git-plus@5.6.6
language-babel@2.5.3
@lukebrooker
lukebrooker / gmail.css
Last active February 13, 2017 18:49
Custom gmail css when using preview pane
/* Hide to menu bar until hover */
.nH.w-asV.aiw {
-webkit-transform: translateY(-80%);
transition: all .2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
transition-delay: .2s;
z-index: 1000;
background-color: #eee;
}
@lukebrooker
lukebrooker / gist:2999b219e3e4aef90363
Created June 1, 2015 04:28
Zanata Mac Installation

What you need

  • Make sure JDK is installed, download it here.
  • JBoss Enterprise Application Platform 6.4 (EAP). This is the recommended container for Zanata, and it can be downloaded here. Installation instructions.
  • Wildfly is much easier though (recommended version is 8.1.x) which can be downloaded here. You can also install with brew install wildfly-as.
  • A suitable MySQL database. This is NOT included in the Zanata archive. You can download MySQL here. You can also install with brew install mysql.
  • An email (SMTP) server to perform certain notifications. Mac OSX 10.10 can use postfix.
  • JDK version 7 or later (7 is recommended for EAP as it is not yet certi
@lukebrooker
lukebrooker / _i-icons.scss
Created September 25, 2013 03:38
This an alternative template for [json2fontcss](https://github.com/twolfson/json2fontcss). It allows the entire icon font to be styled in one loop.
@import "i-setup";
.i {
@include icon(false, "before", true);
}
// Automagically Set up a class name for each icon
@each $icon in $icons {
$name: nth($icon, 1);
/*
@lukebrooker
lukebrooker / Trello Bugzilla integration
Last active December 18, 2015 16:29
Very basic integration for Bugzilla in Trello
// ==UserScript==
// @name Trello Red Hat Bugzilla Integration
// @namespace http://lukebrooker.com
// @version 0.3
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
// @description Looks for card titles with 'Bug \d+' and adds badge/links to bugzilla. Also autocompletes card titles that contain 'Bug \d+' from bugzilla. Autocomplete is actived when pressing `:` after 'Bug \d+'. Originally based on https://github.com/cmadsen/TrelloBugzilla
// @match https://trello.com/*
// @copyright 2012+, Carsten Madsen and Luke Brooker
// ==/UserScript==
@lukebrooker
lukebrooker / _navigation.scss
Last active December 11, 2015 09:49
Basic outline of navigation component
/*
## Navigation
*/
nav,
.nav {
ul,
ol,