Categories

## Activate alarm, ringtone or audio using ADB?

I have misplaced a junker phone (LG G3 running Lineage). However, it’s still on, and ADB is accessible over TCP/IP. (The phone doesn’t have a SIM, so I can’t call it.) Is there a way to turn on the ringer or other audio from ADB? I’ve tried a couple of remote-screen apps (adb-remote-control.jar and scrcpy) […]

Categories

## Prove that $\frac1{a(1+b)}+\frac1{b(1+c)}+\frac1{c(1+a)}\ge\frac3{1+abc}$

I tried doing it with CS-Engel to get $$\frac{1}{a(1+b)}+\frac{1}{b(1+c)}+\frac{1}{c(1+a)} \geq \frac{9}{a+b+c+ a b+b c+a c}$$ I thought that maybe proof that $$\frac{1}{a+b+c+a b+b c+a c} \geq \frac{1}{3(1+a b c)}$$ or $$3+3 a b c \geq a+b+c+a b+b c+a c$$, but I don’t know how

Categories

## Prove that $\frac1{a(1+b)}+\frac1{b(1+c)}+\frac1{c(1+a)}\ge\frac3{1+abc}$

I tried doing it with CS-Engel to get $$\frac{1}{a(1+b)}+\frac{1}{b(1+c)}+\frac{1}{c(1+a)} \geq \frac{9}{a+b+c+ a b+b c+a c}$$ I thought that maybe proof that $$\frac{1}{a+b+c+a b+b c+a c} \geq \frac{1}{3(1+a b c)}$$ or $$3+3 a b c \geq a+b+c+a b+b c+a c$$, but I don’t know how

Categories

## Proof that 1/(a(1+b))+1/(b(1+c))+1/(c(1+a))>=3/(1+abc)

I tried doing it with CS-Engel to get $$\frac{1}{a(1+b)}+\frac{1}{b(1+c)}+\frac{1}{c(1+a)} \geq \frac{9}{a+b+c+ a b+b c+a c}$$ I thought that maybe proof that $$\frac{1}{a+b+c+a b+b c+a c} \geq \frac{1}{3(1+a b c)}$$ or $$3+3 a b c \geq a+b+c+a b+b c+a c$$, but I don’t know how

Categories

## get the url of the visited page using a bookmarklet

How can I get the actual url of the visited page using a bookmarklet? The idea is to click on a bookmark and the script in the bookmark returns the url. This was a function available in Plex some time ago as a “watch later” feature to save a playlist. So it is working, but […]

Categories

## C# register DbContext on startup

I have this piece of code in the startup.cs file of my ASP.Net Core Web API project: public void ConfigureServices(IServiceCollection services) { // Retrieve the database connection string string connectionString = “Do something to retrieve a connection string”; services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString)); } I have reasons to do this here and not in MyContext‘s OnConfiguring() method, […]

Categories

## In a helm template how can i use items in 1 list to iterate over another list

i want to pre-populate a kubernetes cluster with namespaces and their respective secrets for our apps and services. For that i would like to be able to specify 2 lists, 1 list with secrets, and 1 list with namespaces. Each namespace in the list has a list of secrets. Like this values.yaml: secrets: – name: […]

Categories

## How can I parse nested JSON with multiple wrapper classes? (spring boot project)

Make a sample Java service which takes the following json from an endpoint as input, parses it and puts it into the database. Input: ​ The input will have a fixed format which will be posted as a content body to the endpoint. Output: ​ The output should be a number of rows that are […]