Skip to content

Instantly share code, notes, and snippets.

View dmackerman's full-sized avatar

Dave Ackerman dmackerman

  • Kentik Technologies - @kentik
  • Tempe, AZ
View GitHub Profile
@dmackerman
dmackerman / gist:4734551
Last active May 3, 2023 16:36
If you use Font Awesome in ::before and ::after pseudo elements, you can use these variables instead of using the unrecognizable content definitions.
.booya {
&:before {
font-family: "FontAwesome";
content: '$icon-music';
}
}
$icon-glass: "\f000";
$icon-music: "\f001";
$icon-search: "\f002";
James Harden
DeMar DeRozan
Kawhi Leonard
Draymond Green
Steven Adams
Dennis Schroder
Joe Ingles
Jordan Clarkson
DeAndre Jordan
Dwight Powell
@dmackerman
dmackerman / projects.json
Last active March 24, 2020 22:27 — forked from danil-kuk/projects.json
Projects Data
[
{
"name": "ARN03",
"imports": ["CDG02", "SLC01"]
},
{
"name": "SFO01",
"imports": ["CDG02", "SEA01"]
},
{

Onboarding Notes

  • Network Overview and Interests feel very good. It's simple, drives the user through the questions and allows them to select multiple things per step.
  • Network Boundaries
    • Labels are backwards I think. "What IP Addresses are internal to your network?" should be the first question? Haven't looked at code but maybe just a mixup.
    • Editing feels a little weird. If I enter Internal IP Addresses, press Next, and then try and Edit the value it feels strange that the other field goes away. We talked about this and how it felt weird at first glance and I can confirm it feels weird.
      • The solution could be when you Edit a previous "step", just expand it in place. Remove the "Next" button when there is a previous step in Edit mode. Edit button changes to Save, which then brings you back to the state you were previously.

Ultimately I don't really think we know how this works for Devices yet, and until we prototype something it's hard to say whether or not this approach is

@dmackerman
dmackerman / esnextbin.md
Last active August 26, 2016 19:41
esnextbin sketch
@dmackerman
dmackerman / esnextbin.md
Last active March 28, 2016 16:15
esnextbin sketch
<?php
/**
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
Ext.define('Oxford.view.dashboard.portlet.CenterpointKpi', {
extend: 'Oxford.view.base.FilterablePortlet',
xtype: 'centerpointkpi',
requires: ['Oxford.model.dashboard.CPKPI'],
model: 'Oxford.model.dashboard.CPKPI',
initComponent: function() {
this.tpl = new Ext.XTemplate(
/**
* Updated tab implementation that supports badging.
*/
Ext.define('Oxford.cmp.Tab', {
extend: 'Ext.tab.Tab',
alias: 'widget.tab',
tempIconCls: null,
/**
Handlebars.registerHelper('ifCond', function(v1, v2, options) {
if(v1 === v2) {
return options.fn(this);
}
return options.inverse(this);
});
<script id="contact-form" type="text/x-handlebars-template">
{{#each this}}
<div class="row">