When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| # Copyright: (c) 2021, Jordan Borean (@jborean93) <[email protected]> | |
| # MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
| Function Get-ModernCredential { | |
| <# | |
| .SYNOPSIS | |
| Modern credential prompt. | |
| .DESCRIPTION | |
| Uses the modern Windows credential prompt to build a credential object. |
| [appdomain]::CurrentDomain.GetAssemblies() | ForEach { | |
| Try { | |
| $_.GetExportedTypes() | Where { | |
| $_.Fullname -match 'Exception' | |
| } | |
| } Catch {} | |
| } | Select FullName |
| --[[ | |
| See script details on https://github.com/kevinlekiller/mpv_scripts | |
| Valid --script-opts are (they are all optional): | |
| autospeed-nircmd=false true/false - Use nircmd to change the refresh rate of your monitor. | |
| autospeed-speed=false true/false - Adjust speed of the video?. | |
| autospeed-nircmdc="nircmdc" String - Path to nircmdc executable file. If not set, nircmdc will be searched in Windows PATH variable. | |
| autospeed-monitor=0 Number - Which monitor (display) to set the refresh rate on. | |
| autospeed-dwidth=1920 Number - Display width. | |
| autospeed-dheight=1080 Number - Display height. |
| #!/usr/bin/python | |
| # vim: set ft=python: | |
| # see the README at https://gist.github.com/v-fox/43c287426c366679afc4c65eece60cbc | |
| # source: https://github.com/mpv-player/mpv/issues/2149 | |
| # source: https://github.com/mpv-player/mpv/issues/566 | |
| # source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy | |
| import vapoursynth as vs | |
| import functools |
| -- μGiffer / preview release -- | |
| https://iobureau.com/files/uGiffer-0.9.12.zip (213576 bytes) | |
| ------------------------> 32-bit/uGiffer.exe (111488 bytes) | |
| ------------------------> 64-bit/uGiffer.exe (123264 bytes) | |
| Both exe files carry an EV signature of IO Bureau SA. | |
| For details see here -> https://iobureau.com/ugiffer |
| //!DESC acme-0.5x | |
| //!HOOK LUMA | |
| //!BIND HOOKED | |
| //!WIDTH HOOKED.w 2 / | |
| //!HEIGHT HOOKED.h 2 / | |
| //!WHEN HOOKED.w 2 % ! HOOKED.h 2 % ! * | |
| //!OFFSET 0.25 0.25 | |
| vec4 hook() { | |
| return HOOKED_texOff(vec2(-0.25,-0.25)); | |
| } |
| --[[ | |
| mpv_geometry_freezer.lua | |
| Sets the geometry property when window size changes, | |
| avoiding Windows' maximized windows detaching. | |
| - AMM | |
| ]]-- | |
| local msg = require 'mp.msg' | |
| local UPDATE_INTERVAL = 0.5 | |
| local screen_w, screen_h = mp.get_osd_size() |
Credit: Mark Kraus
Website: https://get-powershellblog.blogspot.com