Skip to content

Instantly share code, notes, and snippets.

View martellaj's full-sized avatar

Joe Martella martellaj

View GitHub Profile
@martellaj
martellaj / trello-skinny-label.css
Created March 7, 2016 17:46
Custom user style to show the text of a Trello label on the board view.
.list-card-labels .card-label {
float: left;
height: 20px;
margin: 0 3px 3px 0;
padding: 0px 3px;
width: auto;
line-height: 20px;
}
@martellaj
martellaj / archive.php
Last active July 15, 2017 03:30
Converted archive.php file (WordPress 4.3) for "Bootstrap to WordPress" Udemy course
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Bootstrap to WordPress
*/
get_header(); ?>
@martellaj
martellaj / list.jsx
Created July 28, 2015 20:12
Binding Firebase items to List as an array instead of object
var React = require('react');
module.exports = React.createClass({
renderList: function() {
if (this.props.items && Object.keys(this.props.items).length === 0) {
return <h4>
Add a todo to get started.
</h4>
}
else {