Skip to content

Instantly share code, notes, and snippets.

View stevebrownlee's full-sized avatar
🦁
Ready to roar

Steve Brownlee stevebrownlee

🦁
Ready to roar
View GitHub Profile
@stevebrownlee
stevebrownlee / GroupedProducts.cs
Last active August 17, 2018 04:22
C# Bangazon product types view with products
using System.Collections.Generic;
namespace Bangazon.Models
{
public class GroupedProducts
{
public int TypeId { get; set; }
public string TypeName { get; set; }
public int ProductCount { get; set; }
public IEnumerable<Product> Products { get; set; }
@stevebrownlee
stevebrownlee / keybase.md
Last active August 17, 2018 04:19
Keybase proof message

Keybase proof

I hereby claim:

  • I am stevebrownlee on github.
  • I am stevebrownlee (https://keybase.io/stevebrownlee) on keybase.
  • I have a public key ASA5iIAajfglK4LYXrhCB54RMdSqF87HbuZT18e6f9CWGwo

To claim this, I am signing this object:

@stevebrownlee
stevebrownlee / whirlpool.less
Last active January 31, 2021 12:45
Less code for whirlwind animation in CSS
/*
===================================================================================
L E S S C L A S S E S F O R A N I M A T I O N
===================================================================================
*/
.circle-common (@maxRadius, @borderSize, @sizeScale: 1, @scale:-1) {
@currentRadius: @maxRadius * @sizeScale;
@currentBorder: (@borderSize * @sizeScale);
width: @currentRadius;
@stevebrownlee
stevebrownlee / onename
Created August 2, 2016 14:02
onename verification
Verifying that +stevebrownlee is my blockchain ID. https://onename.com/stevebrownlee
@stevebrownlee
stevebrownlee / util.js
Last active October 16, 2016 14:14
JavaScript Proxies example
"use strict";
/*
This object allows any object to define its own properties and methods.
Chainable.
Usage:
let foo = __.compose(Object.create(null), ObjectExtensions);
foo.property("propOne", 1).property("prop2", 2).def("fn", () => ({}));