Skip to content

Instantly share code, notes, and snippets.

View jonasbn's full-sized avatar
🤚
keeping my distance

Jonas Brømsø jonasbn

🤚
keeping my distance
View GitHub Profile
@jonasbn
jonasbn / .markdownlintignore
Created June 14, 2021 05:28
Configuration to ignore certain Markdownfiles from Markdownlint (.markdownlintignore)
CODE_OF_CONDUCT.md
@jonasbn
jonasbn / dependabot.yml
Created June 1, 2021 19:22
Basic dependabot configuration (dependabot.yml)
# Basic dependabot.yml file
# REF: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-actions-up-to-date-with-dependabot
version: 2
updates:
# Enable version updates for Docker
- package-ecosystem: "docker"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
@jonasbn
jonasbn / .editorconfig
Created June 1, 2021 16:00
Basic EditorConfig configuration for repository (.editorconfig)
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
@jonasbn
jonasbn / .yakignore
Last active June 1, 2021 15:57
Canonical Yak ignore file (.yakignore)
.git
@jonasbn
jonasbn / .yaksums.json
Last active May 25, 2021 19:24
Canonical Yak checksum file (.yaksums.json)
{
".editorconfig": true,
".markdownlint.json": true,
".spellcheck.yml": true,
".wordlist.txt": true,
".yakignore": true,
".yaksums.json": true,
"auto_assign.yml": true,
"CHANGELOG.md": true,
"CODE_OF_CONDUCT.md": "https://www.contributor-covenant.org/version/2/0/code_of_conduct/code_of_conduct.md",
@jonasbn
jonasbn / PULL_REQUEST_TEMPLATE.md
Last active June 1, 2021 16:10
My generic public pull request template

Description

Please include a summary of the proposed improvement or addressed issue.

Please describe your proposed improvement in English, this makes it consumable by others than the author.

If applicable you can provide a keyword to close/fix/resolve a related issue.

GitHub Documentation

@jonasbn
jonasbn / markdown_rule_listing_ruby.txt
Last active February 25, 2019 08:18
Markdownlint rule listing for Ruby implementation
MD001 - Header levels should only increment by one level at a time
MD002 - First header should be a top level header
MD003 - Header style
MD004 - Unordered list style
MD005 - Inconsistent indentation for list items at the same level
MD006 - Consider starting bulleted lists at the beginning of the line
MD007 - Unordered list indentation
MD009 - Trailing spaces
MD010 - Hard tabs
MD011 - Reversed link syntax
@jonasbn
jonasbn / markdownlint_rule_listing_node.txt
Created February 25, 2019 08:17
Markdownlint rule listing for Node implementation
MD001 heading-increment/header-increment - Heading levels should only increment by one level at a time
MD002 first-heading-h1/first-header-h1 - First heading should be a top level heading
MD003 heading-style/header-style - Heading style
MD004 ul-style - Unordered list style
MD005 list-indent - Inconsistent indentation for list items at the same level
MD006 ul-start-left - Consider starting bulleted lists at the beginning of the line
MD007 ul-indent - Unordered list indentation
MD009 no-trailing-spaces - Trailing spaces
MD010 no-hard-tabs - Hard tabs
MD011 no-reversed-links - Reversed link syntax
@jonasbn
jonasbn / mojo-vue.pl
Created January 16, 2019 13:22 — forked from Tekki/mojo-vue.pl
Mojolicious - Vue.js Example
#!/usr/bin/env perl
use Mojolicious::Lite -signatures;
get '/' => sub ($c) {
$c->render(template => 'index');
};
get '/api/:region' => sub ($c) {
my %regions = (
#!/bin/bash
say -v Samantha "Docker build commencing...";
# Receives: messages and return value from Docker build
function emit() {
if [ $2 -eq 0 ]
then
# green output