This file contains hidden or 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
| const { src, dest, watch, parallel, series, done } = require('gulp'), | |
| gulpif = require('gulp-if'), | |
| del = require('del'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| gulp_file_include = require('gulp-file-include'), | |
| sass = require('gulp-sass'), | |
| cleancss = require('gulp-clean-css'), | |
| uglify = require('gulp-uglify'), | |
| concat = require('gulp-concat'), | |
| browserSync = require('browser-sync').create() |
This file contains hidden or 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
| # | |
| # printutils | |
| # | |
| # A collection of print utilties to use | |
| # when testing python scripts or following | |
| # along with code-along tutorials. | |
| # | |
| import json # for json.dumps() | |
| import termcolor as tc # colorize banner output, etc. |
This file contains hidden or 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
Show hidden characters
| /* ---------------------------------------- | |
| Bootstrap 4 | |
| HTML, PHP, BLADE snippets | |
| Alerts | |
| 042419 | |
| ---------------------------------------- */ | |
| { | |
| "Boostrap 4: Alert": { |
This file contains hidden or 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
| /* ----------------------------------------- | |
| Spacing Helpers | |
| ------------------------------------------*/ | |
| /* margin */ | |
| .m-0 { margin: 0; } | |
| .mt-0 { margin-top: 0; } | |
| .mr-0 { margin-right: 0; } | |
| .mb-0 { margin-bottom: 0; } |
This file contains hidden or 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
| // SCSS Spacing Helpers | |
| // | |
| // update 060519 | |
| // @rob.kistner | |
| // | |
| // based on Bootstrap 4's spacing helpers utilities | |
| // | |
| $spacer: 1rem; | |
| $spacers: ( |
This file contains hidden or 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
| .totalcenter { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| text-align: center; | |
| height: 100vh; | |
| } |
This file contains hidden or 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
| const data = [ | |
| { "id": "1", "firstname": "Friendly", "lastname": "Glenn" }, | |
| { "id": "5", "firstname": "Ifits", "lastname": "Friendly" }, | |
| { "id": "24", "firstname": "Mya", "lastname": "Crotch" }, | |
| { "id": "81", "firstname": "Glenn", "lastname": "Tipton" }, | |
| { "id": "23", "firstname": "Friendly", "lastname": "Dude" }, | |
| ]; | |
| /* ----------------------------------------- | |
| Object extension: |
This file contains hidden or 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
| const times = [ | |
| { start: "09:00", end: "10:00", hours: 1 }, | |
| { start: "10:00", end: "11:30", hours: 1.5 }, | |
| { start: "11:30", end: "12:00", hours: 0.5 }, | |
| { start: "13:30", end: "15:45", hours: 2.25 }, | |
| { start: "15:45", end: "16:45", hours: 1 } | |
| ]; | |
| const allOverOne = times.every( entry => entry.hours >= 1 ); |
This file contains hidden or 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
| // Place your settings in this file to overwrite the default settings | |
| { | |
| "editor.fontFamily": "Operator Mono", | |
| "editor.fontWeight": "300", | |
| "editor.fontLigatures": true, | |
| "editor.fontSize": 17, | |
| "editor.lineHeight": 21, | |
| "editor.renderWhitespace": "boundary", | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.snippetSuggestions": "top", |
This file contains hidden or 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
| @mixin cover-div { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| } |