Skip to content

Instantly share code, notes, and snippets.

View fivethreeo's full-sized avatar

Øyvind Saltvik fivethreeo

  • Levanger, Norway
View GitHub Profile
View WebpackLastFilesLoggerPlugin.js
"use strict";
* Logs the last changed files during webpack rebuilds.
class WebpackLastFilesLoggerPlugin {
constructor() {
this.startTime =;
tanhauhau / my-webpack-plugin.js
Created February 20, 2020 00:55
Webpack additional compilation pass
View my-webpack-plugin.js
class MyWebpackPlugin {
constructor() {
this.cssReady = false;
this.cssFiles = [];
apply(compiler) {
compiler.hooks.watchRun.tap(PLUGIN_NAME, () => {
this.cssReady = false;
yoander / preseed.cfg
Last active November 30, 2023 11:51
Debian automatic installer script
View preseed.cfg
#### Contents of the preconfiguration file (for buster)
### Localization
# Preseeding only locale sets language, country and locale.
#d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string en
d-i debian-installer/country string EC
d-i debian-installer/locale string en_US.UTF-8
# Optionally specify additional locales to be generated.
View Creating, pushing a deleting git tags
git tag -am "annotation goes here" tagname_goes_here # cut a tag
git tag -d tagname_goes_here # burn it
git tag -am "annotation goes here" tagname_goes_here # cut another tag
git push --tags # push tags to remote
git push origin :refs/tags/tagname_goes_here # delete tag from remote