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
{ | |
"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", |
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 method allows developers to easily remove any element | |
* from any array. | |
* | |
* @author Davey Jacobson <daveyjake21 [at] geemail [dot] com> | |
* | |
* @param {mixed} element Any specified element in any array. | |
* | |
* @return {array} This array instance without the specified | |
* element if successful. The original array |
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
.mt--5, .mv--5 { | |
margin-top: 0.3125rem; | |
} | |
.mt---5, .mv---5 { | |
margin-top: -0.3125rem; | |
} | |
.mb--5, .mv--5 { | |
margin-bottom: 0.3125rem; |
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
// A simple, single location local business JSON-LD Schema Boilerplate | |
// By @bavington, available on GitHub: http://bit.ly/Local_JSON | |
{ | |
"@context": "http://schema.org", | |
"@type": "Plumber", // Change to the most specific type (List of choices: https://goo.gl/tvMVHf) | |
"name": "Custom Heat", // *REQUIRED | |
"legalName": "Custom Heat Ltd", // The Registered Business Name | |
"vatID": "776796257", | |
"description": "Established in Rugby since 1980, Custom Heat are a family run central heating and plumbing business serving Rugby, Royal Leamington Spa and Warwick.", | |
"logo": "http://www.customheat.co.uk/wp-content/themes/custom-heat/images/custom-heat-logo.png", |
NewerOlder