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
@function palette($palette, $tone: 'base') { | |
@return map-get(map-get($palettes, $palette), $tone); | |
} | |
$palettes: ( | |
cls-main-blue: ( | |
base: rgb(#043678), | |
light: rgb(lighten(#043678,10%)), | |
dark: rgb(darken(#043678,10%)) | |
), |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/** | |
* Equalizer Plugin | |
* Author: Daniel Coull <[email protected]> | |
* Setup For bootstrap and simple, just pass an id or class to init. | |
* Works great with catalog names, responsive. | |
*/ | |
var equalizer = { | |
window: jQuery(window), | |
element: null, | |
bp: { |
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
git checkout merge | |
git merge -s ours master | |
git checkout master | |
git merge merge |
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
#!/bin/bash | |
cd $1 | |
find . -iname '*.jp*g' -type f -print0 | xargs -0 jpegoptim -o --strip-all --max=80 | |
find . -iname '*.png' -type f -print0 | xargs -0 pngquant --quality=70-80 | |
find . -iname '*.png' -type f -print0 | xargs -0 optipng -o7 strip all |
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
#!/usr/bash | |
composer install |
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
## Description Add the below To any Foundation 6 theme and change the iniialUlClass to whatever your tab ul class is. | |
## Author : Daniel Coull <[email protected]> | |
var tabsToAccordian = { | |
initialUlClass: '.easytabs', | |
accordian: null, | |
tabs:null, |
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
#!/bin/bash | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Mathias Leppich <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |