Skip to content

Instantly share code, notes, and snippets.

View dpslwk's full-sized avatar

dps.lwk dpslwk

  • Nottingham, UK
View GitHub Profile
@Lelectrolux
Lelectrolux / README.md
Last active August 22, 2025 18:40
Tailwindcss breakpoint inspector, initial idea from https://gist.github.com/jonsugar/6bce22bd7d3673294caad36046c2b7cb

Tailwindcss plugin that adds a small box in the lower right corner of the screen showing the current breakpoint

Uses a position: fixed after css pseudo element on the body, so no extra markeup, and it get the breakpoint list by itself.

@ljvmiranda921
ljvmiranda921 / blogpost.md
Created August 24, 2018 08:33 — forked from MrNice/blogpost.md
Explain how to think about ansible and how to use it

Ansible

Understanding Ansible

Ansible is a powerful, simple, and easy to use tool for managing computers. It is most often used to update programs and configuration on dozens of servers at once, but the abstractions are the same whether you're managing one computer or a hundred. Ansible can even do "fun" things like change the desktop photo or backup personal files to the cloud. It can take a while to learn how to use Ansible because it has an extensive terminology, but once you understand the why and the how of Ansible, its power is readily apparent.

Ansible's power comes from its simplicity. Under the hood, Ansible is just a domain specific language (DSL) for a task runner for a secure shell (ssh). You write ansible yaml (.yml) files which describe the tasks which must run to turn plain old / virtualized / cloud computers into production ready server-beasts. These tasks, in turn, have easy to understand names like "copy", "file", "command", "ping", or "lineinfile". Each of these turns into shell comma

@tachoknight
tachoknight / rfidtest.go
Last active July 18, 2024 23:03
RFID Tag converter
package main
import (
"fmt"
"strconv"
)
func main() {
var err error