This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Breakpoint mixins | |
*/ | |
$breakpoints: ( | |
mobile: ( min: 300px, max: 479px ), | |
mobile_ls: ( min: 480px, max: 759px ), | |
tablet: ( min: 760px, max: 1023px ), | |
tablet_ls: ( min: 1024px, max: 1279px ), | |
laptop: ( min: 1280px, max: 1499px ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Converts an array of single rows with a parent id column into a tree | |
function tree($rows){ | |
// supplied array must be indexed by row id | |
$tree = array(); //stores the tree | |
$tree_index = array(); //an array used to quickly find nodes in the tree | |
$id_column = "id"; //The column that contains the id of each node | |
$parent_column = "parent"; //The column that contains the id of each node's parent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://coderwall.com/p/euwpig/a-better-git-log | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
NewerOlder