This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rpm2cpio $1 | cpio -idmv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:document.querySelectorAll('*').forEach(el => {const color = getComputedStyle(el).color; const rgb = color.match(/\d+/g);if (rgb && rgb.length === 3) {const [r, g, b] = rgb.map(Number);if (g > r + 30 && g > b + 30) {el.style.color = 'blue';}}}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/pwsh | |
param ([double]$netto) | |
$brutto = $netto*1.19 | |
Write-Output ("{0:F2}" -f $brutto) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10003-10041.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10004-10143%20(C06932208).pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10004-10143.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10004-10156.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10004-10213.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10005-10321.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10006-10247.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10007-10345.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10009-10021.pdf | |
https://www.archives.gov/files/research/jfk/releases/2025/0318/104-10009-10222.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[string]$filePath | |
) | |
# Ensure the file exists | |
if (-not (Test-Path $filePath)) { | |
Write-Error "File does not exist: $filePath" | |
exit 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:window.location.pathname=window.location.pathname.replace(/^\/[a-z]{2}-[a-z]{2}\//,'/en-us/'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -AssemblyName System.Windows.Forms | |
[System.Windows.Forms.Screen]::PrimaryScreen.Bounds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[System.Console]::CursorVisible = $false | |
Register-EngineEvent -SourceIdentifier PowerShell.Exiting -Action { | |
[System.Console]::CursorVisible = $true | |
} | Out-Null | |
$width = 10 | |
$height = 20 | |
$script:field = New-Object 'object[]' $height | |
for ($i = 0; $i -lt $height; $i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Encoding | |
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8 | |
[Console]::InputEncoding = [System.Text.Encoding]::UTF8 | |
$PSDefaultParameterValues = @{ '*:Encoding' = 'utf8' } | |
# Aliases | |
function fcurl { irm -UserAgent curl @args } | |
function gs { & gswin64c @args } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -AssemblyName System.Drawing | |
function Test-Base64 { | |
param ( | |
[string]$base64 | |
) | |
try { | |
[Convert]::FromBase64String($base64) | |
return $true | |
} catch { |
NewerOlder