In Arch Linux
mkinitcpio -p linux
shows
Possibly missing firmware for module: aic94xx
Possibly missing firmware for module: wd719x
import 'material-design-lite' | |
Vue.mixin({ | |
mounted() { | |
if (!this.$el || !this.$el.querySelectorAll) return; | |
componentHandler.upgradeElement(this.$el); | |
for (const el of this.$el.querySelectorAll('[class*=mdl-js-]')) { | |
if (!el.dataset.upgraded) { | |
componentHandler.upgradeElement(el); |
const req = require.context('./components/', true, /\.(js|vue)$/i); | |
req.keys().map(key => { | |
const name = key.match(/\w+/)[0]; | |
return Vue.component(name, req(key)) | |
}); |
FROM base/archlinux | |
RUN pacman -Syu | |
RUN pacman -S --noconfirm git base-devel | |
WORKDIR /build | |
RUN useradd -d /build build-user | |
RUN echo "build-user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
RUN chown -R build-user /build |
const path = require('path'); | |
const cwd = process.cwd(); | |
module.exports = { | |
"includePaths": [ | |
path.resolve(cwd, 'node_modules'), | |
path.resolve(cwd, 'src') | |
] | |
}; |
on linux 4.19, I get
error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
when trying to install stuff on a ubuntu docker container. this seems to be an issue with metacopy https://www.spinics.net/lists/linux-unionfs/msg06109.html
issue can be worked around by running
kommuner-2019-2020.json (Alle kommuner som har blitt endret).
postnummer.json (Alle postnummer med kommunenummer, gruppert på postnummer).
const data = require('./2019-2020-knr-gnr.json'); | |
/** | |
* @typedef {Object} Matrikkel | |
* @property {string} knr - Kommunenummer | |
* @property {number} gnr - Gårdsnummer | |
*/ | |
function sanitizeKnr(knr) { | |
return String(knr || '').padStart(4, '0'); |
module.exports = table => { | |
const res = []; | |
table.querySelectorAll('tbody tr').forEach((row, y) => | |
row.querySelectorAll('td').forEach((cell, x) => { | |
const rowspan = Number(cell.getAttribute('rowspan') || 1); | |
const colspan = Number(cell.getAttribute('colspan') || 1); | |
while (res[y] && res[y][x]) x++; | |
for (let yy = y; yy < y + rowspan; yy++) { | |
const resRow = res[yy] = res[yy] || []; |