Skip to content

Instantly share code, notes, and snippets.

View CMQNordic's full-sized avatar

Martin Czerwinski CMQNordic

  • www.cmq.se
  • Malmo, Sweden
View GitHub Profile

SEO optimize for question: When does Table.TransformRows return a table

TODO: Write article about loadin files from folder and the secons parameter in the function. Nothin on internet describes the second parameter! Folder.Files(path as text, optional options as nullable record) as table

Many function tak an optional input parameter of type optional "options as nullable record". what is "options as nullable record" and where can we view and read more about them)

@CMQNordic
CMQNordic / vue-nuxt-reference-guide.md
Last active May 26, 2022 08:38
Vue & Nuxt | Quickly refresh your skills | Written by Martin Czerwinski @ CMQ Nordic

Reference Guide - Vue & Nuxt

This document helps you to refresh your Vue skills and can also be used for quick look-ups. This reference guide was written with love and broken english, for myself, by myself as notes for myself, educational purposes and just for for fun.

(This document is not fully finished still work in progress)

Written by Martin Czerwinski ®CMQ Nordic AB | Feb 2021

@CMQNordic
CMQNordic / get-internal-ip.js
Last active January 22, 2022 23:50
Get internal IP on windows javascript
// Get internal ip
Object.keys(ifaces).forEach(function (ifname) {
var alias = 0
ifaces[ifname].forEach(function (iface) {
if ('IPv4' !== iface.family || iface.internal !== false) {
// skip over internal (i.e. 127.0.0.1) and non-ipv4 addresses
return
}
if (alias >= 1) {
// this single interface has multiple ipv4 addresses