Categories
Android User Help

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
Ask Mathematics

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
Ask Mathematics

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
Ask Mathematics

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
Development

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
Development

Load var n from localStorage and loop n times

I’m trying to learn JS and this is my little app. Every time I press the “INSTANTIATE” button, it instantiates a tomatoe.png in my <div>. When the user reloads the page, the tomatoe.png should appear as many times as they’ve pressed the “INSTANTIATE” button. This is the code. For this purpose, I created a variable […]

Categories
Development

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
Development System & Network

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
Development JSON

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 […]