This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
| // ==UserScript== | |
| // @name Layout Grid Injector | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Adds layout=grid param to all links on file browse served by Caddy | |
| // @match https://files.bla.local/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
| """ | |
| Copyright (c) 2025 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| """ | |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the |
| """ | |
| MIT License | |
| Copyright (c) 2025 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| import pygame | |
| import sys | |
| # Initialize pygame | |
| pygame.init() | |
| # Set up the display dimensions | |
| game_width, game_height = 600, 600 # Original game area size | |
| padding = 50 # Padding around the game area | |
| window_width = game_width + (padding * 2) |
| """ | |
| MIT License | |
| Copyright (c) 2025 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| param() | |
| function Get-RandomTag { | |
| $tags = @('albedo_(overlord)','shalltear_bloodfallen') | |
| Get-Random -InputObject $tags | |
| } | |
| function Get-RandomWallpaperUrl { | |
| $tag = Get-RandomTag | |
| $encodedTag = [System.Net.WebUtility]::UrlEncode($tag) |
| $baseUrl = "https://dist.torproject.org/torbrowser/" | |
| $directoryListing = Invoke-WebRequest -Uri $baseUrl | |
| $latestVersion = ($directoryListing.Links | Where-Object { $_.href -match "^\d+\.\d+\.\d+/$" } | Sort-Object -Property { [version]$_.href.TrimEnd('/') } -Descending | Select-Object -First 1).href.TrimEnd('/') | |
| $latestVersionUrl = "$baseUrl$latestVersion/tor-browser-windows-x86_64-portable-$latestVersion.exe" | |
| Write-Host $latestVersionUrl |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
| stress-ng --cpu 4 --cpu-method matrixprod --timeout 300 |