Skip to content

Instantly share code, notes, and snippets.

View FluffyMatt's full-sized avatar

Matt Stephens FluffyMatt

View GitHub Profile
@FluffyMatt
FluffyMatt / index.html
Created December 19, 2012 10:47
A CodePen by Matthew Stephens. jQuery Tweet Loader - Uses jQuery to load in tweets. Remember to change the user and no_tweets var to match you criteria.
<div id="twitter">
</div>
<?php
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 150, 150 );
add_image_size( 'portfolio-shot', 440, 220 );
}
add_action('init', 'portfolio_register');
@FluffyMatt
FluffyMatt / URL
Created July 30, 2014 11:45
Google Complete
https://www.google.com/complete/search?output=toolbar&q=hectic
.b-topbar-user-navigation .updates .number {
display: block;
height: 22px;
padding: 0 6px;
/* margin-top: 11px; */
line-height: 20px;
font-size: 12px;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
@FluffyMatt
FluffyMatt / css-help.css
Created February 16, 2016 15:12
Css Help
.alignright {
display: block;
float: right;
clear: right;
margin-left: 1.5em;
margin-bottom: 1.5em;
}
hr {
clear: both;
@FluffyMatt
FluffyMatt / delete button
Last active June 28, 2016 11:08
Delete button in dropdown / semantic-ui
<div class="ui teal buttons">
<a class="ui button" href="/content/{{ $content->id }}/edit">Edit</a>
<div class="ui floating dropdown icon small button">
<i class="dropdown icon"></i>
<div class="menu">
<div class="item delete-confirm">
<form action="/content/{{ $content->id }}" method="POST">
{{ csrf_field() }}
{{ method_field('DELETE') }}
<i class="delete red icon"></i> Delete
@FluffyMatt
FluffyMatt / featured.html
Last active July 7, 2017 12:16
Find out if you're featured on mixer
@FluffyMatt
FluffyMatt / large-features.md
Last active September 10, 2019 14:22
Documentation

Handling Large features correctly with Git

An extension of the PCS current procedure GitFlow which can be found here http://nvie.com/posts/a-successful-git-branching-model/

Aim:

The aim of this document is to standardise the process PCS follows in terms of successfully handling large feature branches.

Benefits

The main benefits of this process allows for a squad or project team to work on a large feature which is silo'd away from the main code branches, stopping the leak of new code into production and allowing for a more granular CR process of large features preventing some of the issues we have experienced in the past.

It also allows a squad or project team to own the feature and then for devs unfamiliar with the feature who are outside of the squad or project team to perform a 2 dev CR allows for a much more robust CR process for large features.