Skip to content

Instantly share code, notes, and snippets.

Avatar
🤚
keeping my distance

Jonas Brømsø jonasbn

🤚
keeping my distance
View GitHub Profile
@jonasbn
jonasbn / .markdownlintignore
Created Jun 14, 2021
Configuration to ignore certain Markdownfiles from Markdownlint (.markdownlintignore)
View .markdownlintignore
CODE_OF_CONDUCT.md
@jonasbn
jonasbn / dependabot.yml
Created Jun 1, 2021
Basic dependabot configuration (dependabot.yml)
View 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 Jun 1, 2021
Basic EditorConfig configuration for repository (.editorconfig)
View .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 Jun 1, 2021
Canonical Yak ignore file (.yakignore)
@jonasbn
jonasbn / .yaksums.json
Last active May 25, 2021
Canonical Yak checksum file (.yaksums.json)
View .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 Jun 1, 2021
My generic public pull request template
View PULL_REQUEST_TEMPLATE.md

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 Feb 25, 2019
Markdownlint rule listing for Ruby implementation
View markdown_rule_listing_ruby.txt
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 Feb 25, 2019
Markdownlint rule listing for Node implementation
View markdownlint_rule_listing_node.txt
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 Jan 16, 2019 — forked from Tekki/mojo-vue.pl
Mojolicious - Vue.js Example
View mojo-vue.pl
#!/usr/bin/env perl
use Mojolicious::Lite -signatures;
get '/' => sub ($c) {
$c->render(template => 'index');
};
get '/api/:region' => sub ($c) {
my %regions = (
View docker-build
#!/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