browser – Powershell: Kill parents not child?

I start by clicking an icon to run a CMD batch file. (black CMD window) That opens a powershell script. In turn, that starts a second script that opens a GUI. The user makes a selection in the GUI, and a browser window opens.

However, once the browser opens, it leaves the CMD open (might be able to ‘kill’ that by removing the CMD/k that’s in the batch file to enable error cheking). But can I ‘kill’ the GUI once the browser has opened?

I am currently using “Start-Process” to open the GUI, and then another “Start-Process” in second script to open the browser. Since I believe it’s ‘single thread’, I’m thinking that each process has got to wait for it’s ‘child’ to finish before it can close itself, whereas ideally I would like CMD / Powershell to exit once browsers have opened.

** I have not posted code as so far it is over 300 lines.

public key – Generating Bitcoin address from private key in browser console

If JavaScript is your language of choice you might be interested in bcoin – the bitcoin full node implementation and modular library written in JS. It’s designed for use in nodejs environments but can be compiled for the browser as well.

This guide in particular walks you through the process:

Please note that web browsers are insecure environments for cryptography and especially cryptocurrency, this guide is based around public keys and testnet addresses to avoid any real risk. If you try to manage private keys in a browser’s JS environment you need to be extremely careful (use an offline computer if possible, no “chrome extensions” etc)

wcag – Is 200% browser enlarge an alternative for colors with contrast less than 4,51:1?

Short Answer

No, it doesn’t work like this. The rules are for 100% zoom. Either:

  • increase the font size to 19px and bold
  • 24px not bold
  • increase the colour contrast to 4.5:1 (ideally 7:1 to make you AAA compliant in that area).

Longer Answer

You are approaching this from the wrong angle. You are trying to make sure your site is compliant rather than as accessible and usable as possible.

Low contrast text is not just a problem for people with colour contrast perception impairments, it also affects users with bright sunlight on their screen or people with cheap phones that have screens with poor contrast / brightness, or people who haven’t got their settings right on their monitor!

It also requires more effort from all users to read low contrast text, and more effort = lower conversions / time on the page as people have a short attention span nowadays.

Aim for a 7:1 contrast ratio at your 14px font size.

Even better, define your font size in em or rem and let the user’s font size settings dictate how big the font should be. Obviously this means ensuring the site can handle different font sizes using fluid layouts / containers. At this stage just increase your font colour contrast to 4.5:1.

Or if you really want to keep your low contrast text as you find it aesthetically pleasing and you aren’t bothered by the points I raised then you could always add a toolbar at the top of the page that lets users change the text colour. See this example where if you press “+ show preferences” it lets you adjust the site to your needs / preferences.

formatting – Are there ways to make Google Docs page layout more stable across browser & platform?

When I open a Google Doc on different computers, or even different browsers on the same computer, the line, column, & page breaks often (but not always) change. When I use “download” to export the doc to another format, the line, column, & page breaks often (but not always) change.

I’ve tried a variety of different fonts: built-in system fonts, Google fonts installed onto the computer, Google fonts not installed onto the computer. They all seem to change size.

Are there tricks or techniques to reduce this problem?

facebook – Resize only one specific website in browser

Recently the user interface of Facebook has changed, and regarding my screen resolution, every button seems huge, and the whole thing looks too much “touchscreen friendly” – but on my laptop, it is very inconvenient and annoying. I would like to teach Chrome to resize this certain website to 80% of its original size. Resize should be performed any time (/only when) this specific website is accessed in a tab or window.

What are your suggestions? I also accept any suggestions using other browsers or extensions/addons to them.

macos – Links don’t open in browser when opening from app

I have two applications which I use daily all day, and I get lots of links in those two apps that I want to cmd+click or just click (depending on the app).

The problem that I am facing, is that the links don’t open. They don’t do anything. No errors, warnings, messages, etc.

What is causing this issue? The only way I can open the link is to copy and paste it into the browser. Links used to open in the browser at one point then suddenly stopped working.

9.0 pie – How can I add a VOIP app to the list of phone apps that pops up after clicking on a “call” link in my browser?

I have a Motorola G7 Power running Android 9. I have several VOIP phone apps on my Android (TextNow, Google Voice, etc.) When I browse the internet on my phone and I come across a “call” link for a business (pizzeria, retail store, etc.) and I activate the link, I get a list of calling apps to choose from to complete the call. Among them, of course, in addition to the VOIP apps that I have installed is the phone app that comes bundled with Android.

The problem is that, one of my VOIP apps, Google Voice, is never listed as an option in that aforementioned list. How can I add it?

Generally speaking, given a context e.g. playing a certain type of file, handling a type of link, etc. how can you ensure that a certain app will be included as an option in the list of apps that Android presents in efforts to address that context?