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
/// | |
// Sass/SCSS missing functions. | |
// | |
// @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
// | |
// @version 1.2.2 | |
// | |
// @since 1.0.0 - Initial commit. | |
// @since 1.1.0 - Added str-replace(). | |
// @since 1.1.5 - Added is-list(). |
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 | |
/** | |
* Wordpress RSS Image Enclosure | |
* | |
* Wrap ONLY the featured image inside 'enclosure' tags. | |
* | |
* @author Davey Jacobson | |
* @link https://www.daveyjake.dev | |
* | |
* @package DJ_Dev |
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
// Type definitions for Yet Another DataTables Column Filter 0.94.beta.46 | |
// Project: yadcf | |
// Definitions by: Davey Jacobson <https://daveyjake.dev> | |
import DataTables, { type Api, type ColumnIdx as ColumnNumber, type ColumnSelector as ColSelector, type Config } from 'datatables.net'; | |
import 'yadcf'; | |
// | |
// Column Parameters | |
// |
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
/** | |
* Abbreviations for common street names and directions. | |
* | |
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
*/ | |
const addressAbbreviations = { | |
'Avenue': 'Ave', | |
'Boulevard': 'Blvd', | |
'Circle': 'Cir', | |
'Drive': 'Dr', |
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
/** | |
* The following Typescript functions are inspired by {@link https://www.php.net/ PHP}. | |
* | |
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
* @version 1.0.1 | |
*/ | |
import each from 'lodash/each'; | |
import fromPairs from 'lodash/fromPairs'; | |
import includes from 'lodash/includes'; | |
import isEqual from 'lodash/isEqual'; |
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
/** | |
* This file contains utility functions for working with your project files. | |
* | |
* @link https://nodejs.dev/en/learn/nodejs-file-paths/ | |
* | |
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
* @version 1.0.0 | |
*/ | |
import fs from 'fs'; |
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
/** | |
* St. Venant torsional constant for structural engineering mathematics. | |
* | |
* @remarks Symbol: `J`. | |
* | |
* @example Taken from page I-57 the 2013 edition of the AISI Manual for Cold-Formed Steel Design - Vol 1. | |
* const J = new StVenantTorsionalConstant( 9.000, 2.500, 0.773, 0.059, 0.1875 ); | |
* J.value = 0.00102; | |
* | |
* @version 1.0.0 |
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
/** | |
* Like PHP's {@link https://www.php.net/manual/en/function.empty.php `empty`} function in vanilla JavaScript. | |
* | |
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
* @since 1.0.0 | |
* @since 1.0.1 Gist made public. | |
* | |
* @param {array|bool|number|object|string} value The value to check. | |
* @param {bool} [strict=false] Enable strict checking. Accepts true, false. | |
* |
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
/** | |
* Lodash version of PHP's `empty` function. | |
* | |
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
* @since 1.0.0 Initial private gist. | |
* @since 1.1.0 Gist made public. | |
* @since 1.1.1 Additional checks for 'null' and 'undefined' as strings. | |
* @since 1.1.2 Additional check for `NaN` and 'NaN' as a string. | |
* | |
* @param {array|bool|number|object|string} $value The value to check. |
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
{ | |
"workbench.colorCustomizations": { | |
"terminal.foreground": "#6af549", | |
"terminal.background": "#000000", | |
"terminal.ansiBlack": "#000000", | |
"terminal.ansiBlue": "#0b22b8", | |
"terminal.ansiCyan": "#4bb0bd", | |
"terminal.ansiGreen": "#49ad31", | |
"terminal.ansiMagenta": "#b23bb9", | |
"terminal.ansiRed": "#9d2713", |
NewerOlder