RSSAmplifier

Blog

nem.ec

...

blog.nem.ecRSS feed ↗10 posts

Latest posts

HiDPI Scaling for Electron-based Snap apps like Spotify

When using Gnome Shell with HiDPI monitors, even with display scaling some apps do not scale with the rest of the UI. One app I had trouble with is the Spotify desktop client, which I know is an Electron app wrapping the web UI. While searching for solutions I came across one option to add a CLI flag to the Electron launcher: $ spotify --force-device-scale-factor=1.5 On Gnome/Ubuntu, applications…

Finding Facebook Groups a User Belongs to and Admins

Warning FYI, I’ve had a report from someone else that this technique got their account temporarily locked. After changing their account password they were let back into their account. Facebook claimed their account had been phished, probably related to the extension the technique came from (see below). It happened to me, too, but only once - later I tried again and had no issues. So remember to be…

The New Facebook Graph Search

Note : this post originally appeared on this Github Gist on Jun 11, 2019. I’ve reposted it here for posterity. How to Use Take the following URL https://www.facebook.com/search/top/?q=people&epa=FILTERS&filters= Replace /search/top/ with the appropriate general search type (see headings below). One filter from each second-level header can be combined with each other, but I don’t believe you can…

eBay is port scanning visitors to their website - and they aren't the only ones

There’s a story going around the internet about eBay port scanning its visitors without any permission or even indication that it’s happening (without digging into the browser’s developer tools) - it’s absolutely true. But why are they doing it, and what is eBay doing with the data it collects? I took a peek into the code to find out (adapted from this thread ), and I’m sure what I found is only a…

Recover Python Virtualenvs After Upgrading

Note: If you’re pretty familiar with this issue, skip straight to the solution Intro This will be a quick post about how to solve an issue that’s been bugging me the past couple of weeks since I upgraded to Ubuntu 20.04, which replaced my old Python version with 3.8. On my PC I have a folder full of Python projects I’ve created, going back years. I try to keep dependencies isolated with…

Turkey Chili Recipe

I began with the following NY Times recipe, but modified it a lot for my tastes and ingredients I could find at the store. https://cooking.nytimes.com/recipes/1017160-texas-style-chili Below is my modified recipe: Turkey Chili Full Ingredients 2 lb ground turkey 2 tbsp cumin 4 tbsp chile powder 1 tsp salt 0.5 tbsp oregano 1.5 tbsp masa harina 1 tbsp cocoa powder (can use 0.5 oz unsweetened…

Discovering the IP address of a Wordpress site hidden behind Cloudflare

Background Cloudflare is a company that provides domain name (DNS) services, Distributed Denial of Service (DDoS) protection, and a content delivery network (CDN) to its customers. These services support websites in delivering consistent, quick, and highly-available content to users. Cloudflare, having both free and paid tiers of service, has gained a large market share in the past decade - about…

LINQPad Tip: Make LINQPad scripts executable

As a long time Linux user, I’m very comfortable at the command prompt. While the Windows experience has benefitted greatly from the debut of Powershell, when I need to write tools I usually turn to a language I’m comfortable in – on Windows, that’s C#. And there’s nothing better for quickly churning out effective C# scripts than LINQPad . LINQPad now provides a way to execute scripts directly from…

Exploring PathLib - A path manipulation library for .Net

PathLib is available on NuGet and its source can be found on Github Why a library for paths? Paths are commonly used in programming, from opening files to storage directories. They’re integral to any program, yet unlike their siblings URLs and URIs very few programming languages (with strong typing) have a strongly typed solution for storing and manipulating paths. Instead, programmers are forced…

Dynamic DNS with CPanel

Occasionally I need to SSH into my home computer while I’m out and about, so to make things easy I set up a DNS entry to point to my home network. My router, like most routers, supports a service called “dynamic DNS” where the router periodically updates a DNS entry when it notices that it has a new IP from my ISP. And it works: as long as that service is dyndns.org. If you’re familiar with…