Skip to content

Instantly share code, notes, and snippets.

View joeyfigaro's full-sized avatar
🦀
Becoming a Rustacean

Jay Figaro joeyfigaro

🦀
Becoming a Rustacean
View GitHub Profile
@joeyfigaro
joeyfigaro / _mixin_verticalLoop.scss
Created July 26, 2016 14:53 — forked from jathayde/_mixin_verticalLoop.scss
A SCSS loop to combine verticals (product offerings) with icons and color backgrounds.
@mixin verticalLoop($vertical) {
$vertical-image-path: "#{$image-path-content}/icons/verticals/";
@each $color in color-black, color-white, color-honeycomb, color-clementine,
color-slushie, color-frosting, color-aloe, color-berry, color-wasabi,
color-grape, color-spice, color-wine, color-whale, color-honeycombLight,
color-clementineLight, color-slushieLight, color-frostingLight,
color-teaLight, color-berryLight, color-grapeLight, color-grayLightest,
color-grayLighter, color-grayLight, color-gray, color-grayDark,
color-grayDarker, color-grayDarkest {
&.vertical-icon {
@joeyfigaro
joeyfigaro / new.html.erb
Created June 21, 2016 15:50
global icon helper
<% content_for :navigation do %>
<%= render "shared/primary_nav", locals: {} %>
<% end %>
<% content_for :market_countdown do %>
<%= render "shared/market_countdown", locals: { visibility_class: 'visible'} %>
<% end %>
<div id="market-order"></div>
@joeyfigaro
joeyfigaro / SDL_ADMIN_FILE-UPLOAD.html
Created May 20, 2016 13:02
Custom file upload input boilerplate
<div class="file-upload">
<span class="file-upload__file-chosen">No file chosen</span>
<input type="file" id="<input_id>" name="<input_id>">
<label class="button bc-green" for="<input_id>">Choose a File</label>
</div>
@joeyfigaro
joeyfigaro / SDL_ADMIN_CHECKBOX.html
Last active May 20, 2016 13:02
boilerplate checkbox markup
<div class="checkbox">
<input type="checkbox" name="builds" id="<input_id>" value="<input_value>">
<label for="<input_id>">TEXT HERE</label>
</div>
@joeyfigaro
joeyfigaro / snippets.cson
Created March 31, 2016 14:41
Default Mobelux Snippets
'.source.css.scss':
'MX-Component':
'prefix': 'component',
'body': """
////////////////////////////////////////////////
//
// MX Component
// Hero Adventurer <[email protected]>
// 10.03.16 @ 10:40am
//
@joeyfigaro
joeyfigaro / keybase.md
Last active July 22, 2017 00:42
keybase proof

Keybase proof

I hereby claim:

  • I am joeyfigaro on github.
  • I am joeyfigaro (https://keybase.io/joeyfigaro) on keybase.
  • I have a public key ASCye24coVd2PZFMzJ4-CE6l8geKt16R5jgtGWnR1T_U4Ao

To claim this, I am signing this object:

@joeyfigaro
joeyfigaro / SassMeister-input-HTML.html
Created November 9, 2015 16:15
Generated by SassMeister.com.
<button class="button-badass">Badass Button</button>
<button class="button-coffee">Coffee Button</button>
<button class="button-decaff">Decaff Button</button>
@joeyfigaro
joeyfigaro / SassMeister-input-HTML.html
Created November 9, 2015 16:13
Generated by SassMeister.com.
<header>
<h1></h1>
</header>
@joeyfigaro
joeyfigaro / chat-connected-script.js
Created September 15, 2015 16:07
Desk.com chat widgets: chat-connected state handling and other trickery
$(function() {
$('.chat-widget--connected__new-message input[type="text"]').on('keydown keyup change', function() {
console.log('hey');
});
})
@joeyfigaro
joeyfigaro / dumper.py
Created August 18, 2015 15:34
Inspect vars directly in your views (https://djangosnippets.org/snippets/743/)
from django import template
from django.template.defaultfilters import linebreaksbr
from django.utils.html import escape
try:
from django.utils.safestring import mark_safe
except ImportError: # v0.96 and 0.97-pre-autoescaping compat
def mark_safe(x): return x
from pprint import pformat
def rawdump(x):