Fri Jun 30 02:21:11 PM CEST 2023
- Windows 11 explorer.exe (and any other application running on Windows) is not being able to browse additionally mounted WSL2 directories.
| { | |
| "summary":{ | |
| "currency":"EUR", | |
| "total_items":3, | |
| "total_tax_amount":18.170000000000016, | |
| "total_netto_amount":259.59, | |
| "total_brutto_amount":277.76, | |
| "total_tax_amount_cents":1817, | |
| "total_netto_amount_cents":25959, | |
| "total_brutto_amount_cents":27776, |
| using System; | |
| using System.Diagnostics; | |
| using System.Runtime.InteropServices; | |
| using System.Runtime.CompilerServices; | |
| using System.Windows.Input; | |
| using System.Windows.Threading; | |
| using System.Collections.Generic; | |
| namespace Ownskit.Utils | |
| { |
| from sys import argv | |
| from pikepdf import Name, Pdf | |
| def render(input: str, output: str) -> None: | |
| with Pdf.open(input) as pdf: | |
| for page in pdf.pages: | |
| annots = page.get("/Annots") | |
| if annots is not None: |
| # Author: https://github.com/rxw1 <[email protected]> | |
| # Last edit: Sun May 7 01:10:50 AM CEST 2023 | |
| # https://gist.github.com/rxw1/2ddb64ab95dbb1c005f4ce688bef303f | |
| $currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| $admin = $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | |
| if (!$admin) { | |
| Write-Output("Script must be run as Administrator") | |
| exit 1 | |
| } |
| <script> | |
| import { onMount } from 'svelte'; | |
| import * as d3 from 'd3'; | |
| $: width = 0; | |
| $: height = 0; | |
| $: barGaps = 20; | |
| $: barHeight = 20; | |
| let margin = {top: 50, right: 50, bottom: 50, left: 50}; |
| javascript:!function(){const o=document.querySelector("#main > div > div.Root__top-container > div.Root__main-view > main > div.os-host.os-host-foreign.os-theme-spotify.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden.main-view-container__scroll-node.os-host-transition.os-host-overflow.os-host-overflow-y > div.os-padding > div > div > div.main-view-container__scroll-node-child > section > div.contentSpacing._4c3b6e4e88112fc8ef88512cbe7521ed-scss.da51a6e223c7200d373a2fd0614d7c33-scss > div.faffb409617fd7cf35017fde898cf860-scss > div > div > a").textContent.replace(/[^A-Za-z]/g,""),e=document.querySelector("#main > div > div.Root__top-container > div.Root__main-view > main > div.os-host.os-host-foreign.os-theme-spotify.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden.main-view-container__scroll-node.os-host-transition.os-host-overflow.os-host-overflow-y > div.os-padding > div > div > div.main-view-container__scroll-node-child > section > div.contentSpacing._4c3b6e4e88112fc8ef88512cbe7521ed |
| import Data.List | |
| import Data.Ord | |
| main = interact $ (=<<) (\x -> show (length x) ++ " " ++ head x ++ "\n") | |
| . sortBy (flip $ comparing length) | |
| . group . sort | |
| . words |
| bla |