Skip to content

Instantly share code, notes, and snippets.

View kaynetik's full-sized avatar

Aleksandar Nesovic kaynetik

View GitHub Profile
@kaynetik
kaynetik / tagger.go
Created January 29, 2021 19:37
Dynamic tags alteration
// Route marshaler
// Implements the Marhaler interface of the yaml pkg.
func (p Path) MarshalYAML() (interface{}, error) {
res, err := marshalYAML("SetTagYAML", p)
if err != nil {
return res, fmt.Errorf("failed to marshal yaml: %w", err)
}
return string(res), nil
@kaynetik
kaynetik / docker-compose.yml
Created September 21, 2021 15:03
Deploy for Better Go Playground
version: "3.7"
services:
playground:
image: x1unix/go-playground:latest
restart: always
environment:
APP_CLEAN_INTERVAL: '10m'
APP_DEBUG: 'false'
ports:
linters-settings:
dupl:
threshold: 100
funlen:
lines: 100
statements: 60
goconst:
min-len: 2
min-occurrences: 2
gocritic:
@kaynetik
kaynetik / devops-guide-aleksa.md
Created March 2, 2024 06:52
🚀 Introduction to DevOps with Linux 🚀

Introduction to DevOps with Linux

How to Consume This Guide

  • Follow each section sequentially.
  • Execute all tasks and document your findings.
  • Use version control (GitHub) to track your progress and documentation.
    • Do not skip this step. It's crucial for your learning process.

Outcomes

  • Practical understanding of Linux, Git, Docker, and basic DevOps principles.