Kind likes

 Like

Liked .meow (@dotmeow@hachyderm.io)
Post details
Hello Fediverse -- let's have an #introduction and introduce ourselves :3 We're dotmeow, a queer-run community project to register the gTLD .meow. But not only for meows and giggles! The profits of this gTLD shall go to community causes, turning every domain into queer community support, especially focusing on trans issues. While we've already passed the ICANN Application Support Program, we're just now launching our web & social media presence(s). So while there's not much to see here yet, follow us if you're interested in registering a .meow domain and potentially supporting us in the way -- crowdfunding TBA soon. Outside of announcements we want to engage with the fediverse as regular fedizens and won't spam you with meaningless ads <3

 Like

Liked Normalize Identifying Corporate Devices in Your Software
Post details
If you dual-license your software in such a way that it requires a paid license for commercial use, here are two code blobs for you. macOS pub fn mdm_enrollment() -> eyre::Result<(bool, Option<String>)> { let mut command = Command::new("/usr/bin/profiles"); command.args(["status", "-type", "enrollment"]); let stdout = command.output()?.stdout; let output = std::str::from_utf8(&stdout)?; if output.contains("MDM enrollment: No") { return Ok((false, None)); } let mut server = None; for line in output.lines() { if line.starts_with("MDM server") { server = Some(line.trim_start_matches("MDM server: ").to_string()) } } Ok((true, server)) } Windows pub fn mdm_enrollment() -> eyre::Result<(bool, Option<String>)> { let mut command = Command::new("dsregcmd"); command.args(["/status"]); let stdout = command.output()?.stdout; let output = std::str::from_utf8(&stdout)?; if !output.contains("MdmUrl") { return Ok((false, None)); } let mut server = None; for line in output.lines() { if line.contains("MdmUrl") { let line = line.trim().to_string(); server = Some(line.trim_start_matches("MdmUrl : ").to_string()) } } Ok((true, server)) } Looking at mobile device management (MDM) enrollment is not a silver bullet for identifying corporate devices running your software, but it is a good start.

 Like

Liked Hazel Weakly (@hazelweakly.me)
Post details
This is why I have a website. It’s also why everything I’ve ever written has appeared on my website with *very* few exceptions Having a single domain name that’s YOU is invaluable. My website gets lots of compliments on its branding and appearance. My slides borrow that appearance, too It matters! [contains quote post or other embedded content]