[-] [email protected] 28 points 2 years ago* (last edited 2 years ago)

I was playing Baldur's Gate 3 shortly after release and got a popup from Bing over the game asking if I wanted to enable Bing in Chrome. I immediately blocked bing.com on my network. Never looked back.

[-] [email protected] 8 points 2 years ago

We all forgetting Maggie just straight-up murdered someone for trying to take her lollipop?

[-] [email protected] 16 points 2 years ago

Yeah but it's free advertising on Lemmy and there's only like ten of us here.

[-] [email protected] 14 points 2 years ago

I think it's okay to keep discussing this because the app situation is very much in flux at the moment. I'm on Jerboa because it's the best native app I've found that plays nice with a folding phone and Samsung DeX. My requirements are simple, but they are niche. I'm keeping an eye on a few other apps though because while Jerboa is great as it is there are improvements to be found.

[-] [email protected] 15 points 2 years ago

You can still get some mechanical keyboards with numpads but not arrow keys, though since these are variations on compact layouts they tend to omit the numlock key as well.

[-] [email protected] 25 points 2 years ago

Looks fine to me. When you type it, you see ILoveBeans42!! because it's your password, but I just see **************.

[-] [email protected] 14 points 2 years ago

Huh. I guess you must have the same password.

[-] [email protected] 19 points 2 years ago* (last edited 2 years ago)
[-] [email protected] 48 points 2 years ago

Nah because if you type in your password it will show as stars.

******* see?

[-] [email protected] 113 points 2 years ago

I downvoted the beans and I don't care who knows about it. I'd do it again.

This is useful to know though, thanks. I guess assume everything is public short of your password (unless your admin is particularly nefarious and has altered the code to store passwords in plaintext for some reason).

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Hi all. I developed a PowerShell script a while back to scrape the latest wallpaper from the MTG website and set it as my desktop background. I finally got around to updating it today since it hadn't worked for a while. My background changed to Frodo and I disabled the script.

If you want that though, here you go:

Function Set-WallPaper {
 
<#
 
    .SYNOPSIS
    Applies a specified wallpaper to the current user's desktop
    
    .PARAMETER Image
    Provide the exact path to the image
 
    .PARAMETER Style
    Provide wallpaper style (Example: Fill, Fit, Stretch, Tile, Center, or Span)
  
    .EXAMPLE
    Set-WallPaper -Image "C:\Wallpaper\Default.jpg"
    Set-WallPaper -Image "C:\Wallpaper\Background.jpg" -Style Fit

    https://www.joseespitia.com/2017/09/15/set-wallpaper-powershell-function/
  
#>
 
param (
    [parameter(Mandatory=$True)]
    # Provide path to image
    [string]$Image,
    # Provide wallpaper style that you would like applied
    [parameter(Mandatory=$False)]
    [ValidateSet('Fill', 'Fit', 'Stretch', 'Tile', 'Center', 'Span')]
    [string]$Style
)
 
$WallpaperStyle = Switch ($Style) {
  
    "Fill" {"10"}
    "Fit" {"6"}
    "Stretch" {"2"}
    "Tile" {"0"}
    "Center" {"0"}
    "Span" {"22"}
  
}
 
If($Style -eq "Tile") {
 
    New-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name WallpaperStyle -PropertyType String -Value $WallpaperStyle -Force
    New-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name TileWallpaper -PropertyType String -Value 1 -Force
 
}
Else {
 
    New-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name WallpaperStyle -PropertyType String -Value $WallpaperStyle -Force
    New-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name TileWallpaper -PropertyType String -Value 0 -Force
 
}
 
Add-Type -TypeDefinition @" 
using System; 
using System.Runtime.InteropServices;
  
public class Params
{ 
    [DllImport("User32.dll",CharSet=CharSet.Unicode)] 
    public static extern int SystemParametersInfo (Int32 uAction, 
                                                   Int32 uParam, 
                                                   String lpvParam, 
                                                   Int32 fuWinIni);
}
"@ 
  
    $SPI_SETDESKWALLPAPER = 0x0014
    $UpdateIniFile = 0x01
    $SendChangeEvent = 0x02
  
    $fWinIni = $UpdateIniFile -bor $SendChangeEvent
  
    $ret = [Params]::SystemParametersInfo($SPI_SETDESKWALLPAPER, 0, $Image, $fWinIni)
}

$result = Invoke-RestMethod 'https://magic.wizards.com/en/news#wallpapers'
$result -match "//(.*?)2560(.*?).png"
$wallpaper = $Matches[0]
$picfolder = [Environment]::GetFolderPath([Environment+SpecialFolder]::MyPictures)
$filename = $wallpaper.Split('/')[-1]
$foldername = "MTG Wallpapers"
$savefile = "$picfolder\$foldername\$filename"

If (-not (Test-Path "$picfolder\$foldername")) {
    New-Item -Path $picfolder -name $foldername -ItemType "directory"
}

If (-not (Test-Path $savefile)) {
        Invoke-WebRequest http:$wallpaper -OutFile $savefile
        Set-WallPaper -Image $savefile -Style Fill
}

Paste that into PowerShell ISE and run it and see if it works. If you like it, save it and put a shortcut in your startup folder. By default it downloads the 2560x1600 version but if you want a different one just replace the 2560 in the line $result -match "//(.?)2560(.?).png" with 1920 or 1280. It saves images in a folder under your Pictures folder called MTG Wallpapers. You can change that too if you want by editing the $picfolder and $foldername lines.

Have fun.

[-] [email protected] 13 points 2 years ago

Relate to this? Buy two single duvets. Saved my marriage.

5
submitted 2 years ago by [email protected] to c/[email protected]
[-] [email protected] 17 points 2 years ago

Yeah. I run my own FreshRSS server and use FeedMe to access it. It's mostly just a bunch of UK newspapers and tech news sites because I realised I was getting all my news from Twitter and I wanted to cut back my use of Twitter. It's fine. The great thing about getting my news from social media was that I'd follow a load of people with similar interests to me so I'd mostly just see articles that interested me regardless of the source. Now it takes more scrolling to get past the articles I don't care about to find the ones I want to read. It means I get a broader overview of news that isn't effectively curated for me, either by other people or by algorithm, but it's not as engaging. It is the right choice though if you're looking to see more outside of what you're usually shown, as you say.

2
submitted 2 years ago by [email protected] to c/[email protected]

Hi. The app looks great but it's unfortunately unusable with a mouse in Samsung DeX. I don't know which of those is the problem, maybe someone has a bluetooth mouse to hand and can check? It only scrolls a few pixels at a time and grabbing with the mouse cursor (so clicking and dragging) doesn't seem to work at all. Thanks.

view more: next ›

Bill

0 post score
0 comment score
joined 2 years ago