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
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { |
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 animationMachine = Machine({ | |
| id: 'animation', | |
| initial: 'drafted', | |
| states: { | |
| drafted: { | |
| on: { | |
| RUN: 'running', | |
| ARCHIVE: 'archived' | |
| } | |
| }, |
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
| function valueCheckInit() { | |
| var $text = $(".float-label input, .float-label select, .float-label textarea"); | |
| $text.each(function(){ | |
| var isSelect = $(this).is("select"); | |
| if ($(this).val() !== "" && !isSelect) { | |
| $(this).attr("data-val", "true").siblings("label").addClass("float-auto"); | |
| } else if ($(this).val() !== null && isSelect) { | |
| $(this).attr("data-val", "true").siblings("label").addClass("float-auto"); | |
| } |
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
| <template> | |
| <div> | |
| <article v-for="(post, index) in postsResults" :key="index"> | |
| <h2 class="card-title"> | |
| <a :href="post.uri">{{ post.title }}</a> | |
| </h2> | |
| <time>{{ post.dateCreated }}</time> | |
| </article> | |
| <button @click="fetchPosts()" :class="{ 'is-loading' : loading }" v-show="hasNextPage">Load More</button> | |
| </div> |
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
| {# | |
| // lazyLoaded Image/bgImages, optimized with Imager and Focuspoint | |
| --------------------------------------------------------------------------- | |
| https://nystudio107.com/blog/creating-optimized-images-in-craft-cms | |
| https://github.com/aelvan/Imager-Craft | |
| https://github.com/smcyr/Craft-FocusPoint | |
| for the bgImage intrinsic ratio classname creation check: | |
| https://github.com/inuitcss/inuitcss/blob/develop/objects/_objects.ratio.scss |
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
| alexcarpenter.github.io git:master ❯ npm run debug ✹ ✭ | |
| > [email protected] debug /Users/mighty/personal/alexcarpenter.github.io | |
| > DEBUG=* npx eleventy --config=config/eleventy.config.js | |
| Eleventy:UserConfig Resetting EleventyConfig to initial values. +0ms | |
| Eleventy:Config Setting up global TemplateConfig. +0ms | |
| Eleventy:UserConfig Adding universal filter 'slug' +169ms | |
| Eleventy:UserConfig Adding universal filter 'url' +23ms | |
| Eleventy:TemplateConfig rootConfig { templateFormats: [ 'liquid', 'ejs', 'md', 'hbs', 'mustache', 'haml', 'pug', 'njk', 'html', 'jstl' ], pathPrefix: '/', markdownTemplateEngine: 'liquid', htmlTemplateEngine: 'liquid', dataTemplateEngine: 'liquid', passthroughFileCopy: true, htmlOutputSuffix: '-o', keys: { package: 'pkg', layout: 'layout', permalink: 'permalink', permalinkRoot: 'permalinkBypassOutputDir', engineOverride: 'templateEngineOverride' }, dir: { input: '.', includes: '_includes', data: '_data', o |
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
| import Flickity from 'flickity' | |
| export default function carousel() { | |
| const carousels = Array.from(document.querySelectorAll('[data-carousel]')) | |
| if (carousels.length < 1) { | |
| return | |
| } | |
| // Support equal height cells |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 gulp = require('gulp'); | |
| const sourcemaps = require('gulp-sourcemaps'); | |
| const sass = require('gulp-sass'); | |
| const autoprefixer = require('gulp-autoprefixer'); | |
| const cssnano = require('gulp-cssnano'); | |
| const critical = require('critical'); | |
| const imagemin = require('gulp-imagemin'); | |
| const uglify = require('gulp-uglify'); | |
| const changed = require('gulp-changed'); | |
| const plumber = require('gulp-plumber'); |
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
| 10 silly lifecycle [email protected]~start: Args: [ '-c', 'NODE_ENV=development gulp watch' ] | |
| 11 silly lifecycle [email protected]~start: Returned: code: 2 signal: null | |
| 12 info lifecycle [email protected]~start: Failed to exec start script | |
| 13 verbose stack Error: [email protected] start: `NODE_ENV=development gulp watch` | |
| 13 verbose stack Exit status 2 | |
| 13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16) | |
| 13 verbose stack at emitTwo (events.js:126:13) | |
| 13 verbose stack at EventEmitter.emit (events.js:214:7) | |
| 13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) | |
| 13 verbose stack at emitTwo (events.js:126:13) |