After updating nushell via scoop starship gets dropped for some reason.
Cockpit needs special treatment to be served via Caddy server reverse proxy
Original article: https://www.netsparker.com/blog/web-security/sql-injection-cheat-sheet/
Simple and easy to modify sample for inserting new rows into MS SQL database or update in case of matching PRIMARY KEY.
In case you mess up sources.list here are default sources.list generators
Short PowerShell snippet to generate local test certificate for Windows UWP apps development.
Proper way to set display for external X server in wsl:
Regex Expression to remove new lines which are quoted in csv.
This piece of code toggles any window. It will * RESTORE if window is minimized, * Bring to the top so window is foremost if it is behind other windows, * Minimize if window is active and on top,
List of helpful online code tools and utilities. Mirrored from github user fghber
Snippet with function making DOM XPath queries easy in the browser.
Very handy cheatsheet covering xpath concepts and comparing it to css selectors equivalents when possible
Ultimate slugify function
How to iterate and extract data from nested JSON in case there is no structure or limit of depth.
How to add dependency straight from git rather then npm.
Simple synchronous copy all files in directory to destination path.
Short snippet stored as alias on linux, listing all subfolders in current location and calculate its sizes.
Few methods showing how to build non-standard electron window.
Sometimes you need to expose additional port on running container without rebuilding it from image.
Simple JS which are always handy.