A Pen by Jordan Brauer on CodePen.
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
// Buttons | |
// ".btn-{modifiername}", background-color, border, color | |
$buttons: ( | |
("primary", #2F9ED8, #2886B7, #FFFFFF), | |
("secondary", #FFFFFF, #DDDDDD, #101010) | |
); | |
// Generate Button Modifiers | |
@each $b in $buttons { | |
.btn.btn-#{nth($b,1)} { |
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
"devDependencies": { | |
"del": "^2.2.1", | |
"gulp": "^3.9.1", | |
"gulp-autoprefixer": "^3.1.0", | |
"gulp-cache": "^0.4.5", | |
"gulp-compass": "^2.1.0", | |
"gulp-concat": "^2.6.0", | |
"gulp-cssnano": "^2.1.2", | |
"gulp-imagemin": "^3.0.2", | |
"gulp-livereload": "^3.8.1", |
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
### Custom ### | |
cache | |
dist | |
test | |
### macOS ### | |
*.DS_Store | |
.AppleDouble | |
.LSOverride |
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 | |
/** Print Markdown | |
* Author: Jordan Brauer <jbrauer.inc@gmail.com> | |
* Function: print_md() | |
* Description: get the raw text content from a markdown file | |
* to use elsewhere in your code. | |
* | |
* Note: Made for use in conjunction with the erusev/parsedown composer package. | |
*/ |
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 | |
namespace C3\Utility; | |
use Monolog\Logger; | |
/** | |
* Class DuplicateDatabase | |
* | |
* @package C3\Utility |
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
SET FOREIGN_KEY_CHECKS=0; | |
-- Customers | |
TRUNCATE `customer_address_entity`; | |
TRUNCATE `customer_address_entity_datetime`; | |
TRUNCATE `customer_address_entity_decimal`; | |
TRUNCATE `customer_address_entity_int`; | |
TRUNCATE `customer_address_entity_text`; | |
TRUNCATE `customer_address_entity_varchar`; | |
TRUNCATE `customer_entity`; |
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
{%- comment -%} | |
--------------------------- WARNING --------------------------- | |
This file is auto-generated by BOLD and should not be modified. | |
It may be overwritten and any customizations would be lost. | |
--------------------------- WARNING --------------------------- | |
{%- endcomment -%} | |
<script> |
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
preloadImages() { | |
let i = 0; | |
const arr = [...Backgrounds, ...Images]; | |
return new Promise(resolve => { | |
arr.map(filename => { | |
const img = new Image(); | |
img.src = filename; | |
img.onload = () => (++i == arr.length) ? resolve() : 1; | |
}); | |
}); |
OlderNewer