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
const fetchMachine = Machine({ | |
id: "robotStateTransitions", | |
initial: "auto", | |
context: { | |
lastControlledState: "AUTO", | |
}, | |
actions: { | |
robotModeAutonomous: assign({ | |
lastControlledState: (context ) => "auto" }), | |
robotModeManual: assign({ |
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 | |
/** | |
* Hook into the oembed to add the correct aspect ratio to your videos added | |
* with wordpress' oembed feature (i.e. by pasting a URL in the editor) | |
*/ | |
// TODO: Maybe it should only do this for video sites, and leave everything else alone? | |
function auginator_oembed_html($html, $url, $attr, $post_id) { | |
// Parse width and height from the html returned from the oembed call |
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
var app = { | |
paths: { | |
sass: ['path/to/sass/**/*.scss'], | |
css: ['path/to/css'] | |
} | |
}; | |
var gulp = require("gulp"), | |
gutil = require("gulp-util"), | |
sass = require("gulp-sass"), |