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
Blitz | |
IDLE | |
start -> RUNNING | |
RUNNING | |
complete -> COMPLETED | |
error -> FAILED | |
reset -> IDLE | |
spin -> RUNNING | |
FAILED | |
reset -> IDLE |
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
Blitz | |
IDLE* | |
spin -> RUNNING | |
RUNNING | |
error -> FAILED | |
reset -> IDLE | |
spin -> RUNNING | |
FAILED | |
reset -> IDLE | |
retry -> RUNNING |
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
import mongoose, { Schema } from 'mongoose'; | |
// Define helper for `required` property and never | |
// write `required: true` again. | |
// Why? It’s DRY and improves readability. | |
const required = true; | |
export default (function _createTaskModel() { | |
let model; |
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 | |
// Register function if WordPress is in debug mode | |
if ( true == 'WP_DEBUG' ) { | |
add_action( 'wp_footer', 'the_performance_stats' ); | |
} |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, | |
"copy_with_empty_selection": false, | |
"create_window_at_startup": false, | |
"detect_indentation": false, | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": | |
[ |