Skip to content

Instantly share code, notes, and snippets.

View mpolinowski's full-sized avatar
👉
[object Object]

Mike Polinowski mpolinowski

👉
[object Object]
View GitHub Profile
@mpolinowski
mpolinowski / minion.conf
Created September 20, 2020 14:21
Saltstack - default Minion configuration file (`/etc/salt/minion`)
##### Primary configuration settings #####
##########################################
# This configuration file is used to manage the behavior of the Salt Minion.
# With the exception of the location of the Salt Master Server, values that are
# commented out but have an empty line after the comment are defaults that need
# not be set in the config. If there is no blank line after the comment, the
# value is presented as an example and is not the default.
# Per default the minion will automatically include all config files
# from minion.d/*.conf (minion.d is a directory in the same directory
@mpolinowski
mpolinowski / master.conf
Created September 20, 2020 14:22
Saltstack - default Master configuration file (`/etc/salt/master`)
##### Primary configuration settings #####
##########################################
# This configuration file is used to manage the behavior of the Salt Master.
# Values that are commented out but have an empty line after the comment are
# defaults that do not need to be set in the config. If there is no blank line
# after the comment then the value is presented as an example and is not the
# default.
# Per default, the master will automatically include all config files
# from master.d/*.conf (master.d is a directory in the same directory
@mpolinowski
mpolinowski / ocis.log
Created February 2, 2021 06:26
docker run --env-file=".env" --rm -ti -p 9200:9200 owncloud/ocis
runtime not available, retrying in 1 second...
2021-02-02T06:16:51Z INF started service=api
2021-02-02T06:16:51Z INF started service=registry
2021-02-02T06:16:51Z INF started service=glauth
2021-02-02T06:16:51Z INF started service=idp
2021-02-02T06:16:51Z INF started service=ocs
2021-02-02T06:16:51Z INF started service=onlyoffice
2021-02-02T06:16:51Z INF started service=proxy
2021-02-02T06:16:51Z INF started service=settings
2021-02-02T06:16:51Z INF started service=store
@mpolinowski
mpolinowski / Error:0x800701bc.md
Created November 17, 2021 03:50
Error: 0x800701bc WSL 2 requires an update to its kernel component.

WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel.

An Update to WSL2 broke your subsystem:

  1. Uninstall the existing version - Uninstaller
  2. Download the installer and reinstall WSL2 - Installer
@mpolinowski
mpolinowski / mosquitto.conf
Last active February 18, 2022 12:14
Default [/etc/mosquitto/conf.d/custom.conf](https://mosquitto.org/man/mosquitto-conf-5.html) for Mosquitto version 2.0.11
# Config file for mosquitto
#
# See mosquitto.conf(5) for more information.
#
# Default values are shown, uncomment to change.
#
# Use the # character to indicate a comment, but only if it is the
# very first character on the line.
# =================================================================
@mpolinowski
mpolinowski / ReactiveBase.js
Created February 14, 2022 07:22
@appbaseio reactivesearch in Gatsby js
// ERROR Message when running `gatsby build`
// failed Building static HTML for pages - 22.273s
// ERROR #95313
// Building static HTML failed for path "/Search/"
// See our docs page for more info on this error: https://gatsby.dev/debug-html
@mpolinowski
mpolinowski / settings.js
Last active March 24, 2022 09:54
Node-RED 2.2 default configuration file
/**
* This is the default settings file provided by Node-RED.
*
* It can contain any valid JavaScript code that will get run when Node-RED
* is started.
*
* Lines that start with // are commented out.
* Each entry should be separated from the entries above and below by a comma ','
*
* For more information about individual settings, refer to the documentation:
@mpolinowski
mpolinowski / vsftpd.conf
Created May 24, 2022 09:02
Example config file /etc/vsftpd/vsftpd.conf
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
@mpolinowski
mpolinowski / proftpd.conf
Created May 25, 2022 11:29
Default `/etc/proftpd/proftpd.conf` configuration file
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#
# Includes DSO modules
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
@mpolinowski
mpolinowski / example.nomad
Created June 4, 2022 03:46
Hashicorp Nomad - Default Job Example `example.nomad`
# There can only be a single job definition per file. This job is named
# "example" so it will create a job with the ID and Name "example".
# The "job" stanza is the top-most configuration option in the job
# specification. A job is a declarative specification of tasks that Nomad
# should run. Jobs have a globally unique name, one or many task groups, which
# are themselves collections of one or many tasks.
#
# For more information and examples on the "job" stanza, please see
# the online documentation at: