The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,977 other subscribers

Archive for the ‘Google’ Category

Some links I on Windows Memory Compression I want to check out

Posted by jpluimers on 2023/01/24

I’m not sure yet why sometimes my system is lagging with the combination of these four circumstances on a Windows 10 system with 32 gigabyte of memory:

  1. Process Explorer showing low (less than 10%) CPU usage
  2. Process explorer showing Memory Compression using more than 2 gigabytes of Working Set
  3. System Commit being larger than 20 gigabyte
  4. Lots of Chrome tabs open (no easy way to total memory usage, but likely 16 gigabyte or more)

Windows Compression was introduced in Windows 10 (back in 2015) and I’m still fairly new to it.

So here are some links I want to eventually dig into to make myself more familiar with it, and see if it affects Chrome runtime behaviour:

Thanks [Wayback/Archive] magicandre1981, [Wayback/Archive] peterh, [Wayback/Archive] Raymond Burkholder, and [Wayback/Archive] Falco Alexander for the above questions and answers.

From them, I learned that on a UAC elevated administrative command prompt, you can use these PowerShell for managing Memory Compression:

  1. Get-MMAgent shows the current Memory Compression state
  2. Disable-MMAgent -mc disables Memory Compression (requires a reboot)
  3. Enable-MMAgent -mc enables Memory Compression (requires a reboot)

BTW:

–jeroen

Posted in Chrome, Google, Power User, procexp Process Explorer, SysInternals, Windows, Windows 10 | Leave a Comment »

Google Cloud Shell: tools, languages and “safe mode”

Posted by jpluimers on 2023/01/19

After publishing Free Linux cloud shell for Gmail users – shell in the browser that works in all locations I’ve been so far, the Google Cloud Shell got extended quite a bit.

There is now [Wayback/Archive] Safe Mode (which skips initialisation scripts):

If there’s a problem in your .bashrc or .tmux.conf files, Cloud Shell immediately close after connection. To resolve this, open Cloud Shell in safe mode by appending cloudshellsafemode=true to the URL. This restarts your Cloud Shell instance and logs you in as root, allowing you to fix any issues in the files.

To permanently delete all files in your home directory and restore your Cloud Shell home directory to a clean state, you can reset your Cloud Shell VM.

And there is support for way more [Wayback/Archive] tools and languages:

Read the rest of this entry »

Posted in .NET, C#, Cloud, Development, Go (golang), Google, GoogleCloudShell, Infrastructure, Java, Java Platform, JavaScript/ECMAScript, Node.js, Perl, PHP, Power User, Python, Ruby, Scripting, Software Development | Leave a Comment »

Finding your Google Pay payments and receipts (they do not send proper invoices)

Posted by jpluimers on 2022/12/26

For my link archive: [WayBack/Archive.is] Your Google Store charges and receipts – Google Store Help

Charges:

  1. Visit pay.google.com/.
  2. Sign in to your Google account.
  3. On the left, click Subscriptions and services.
  4. Click View purchases.

Receipts and order numbers

  1. Visit pay.google.com/ and sign in with your Google account.
  2. On the left, click Subscriptions and services.
  3. Click View purchases.
  4. Select an order to see your receipt.
    • If you need your order number, you can find it on the receipt page.

VAT invoice

If you live in the European Union, Switzerland, or Norway, learn how to request a VAT invoice:

You can request each month’s invoice in the first few days of the following month. It might take up to 24 hours to process your request.

The address shown on your VAT invoice is your legal address at the time the purchase was made. You can’t change the address that appears on a VAT invoice after the purchase is made.

  1. Sign in to Settings.
  2. Check that you’ve entered your tax ID number. If you haven’t, enter it now.
    • In some countries, you can’t get a VAT invoice if you didn’t enter your tax ID number before you made the purchase.
  3. Click Activity.
  4. Click on the transaction you want an invoice for.
  5. At the bottom of the transaction details, click Download VAT invoice. You may be asked to enter some information, like your full address or a tax ID.
  6. Click Save. You’ll see a link where you can download your invoice.

 

 

 

 

 

–jeroen

Posted in Google, GooglePay, Power User | Leave a Comment »

google chrome devtools – Use JavaScript to set value of textbox when .value and events don’t seem to work – Stack Overflow

Posted by jpluimers on 2022/11/29

For my link archive: [Wayback/Archive] google chrome devtools – Use JavaScript to set value of textbox when .value and events don’t seem to work – Stack Overflow

TL;DR

Sometimes fields are blocked from pasting values.

Normally a trick like this works in the chrome development panel console:

document.getElementById('nonPasteElementID').value = 'myValueFromTheClipboard'

With some web development environments this does not work.

For react, after finding the react render name for the input (in the case of the answer, it was “reactNameForInputElement“) this is a solution:

To make it work you will need this:

const input = document.getElementById('nonPasteElementID');
const event = new Event('reactNameForInputElement', { bubbles: true });
input.value = '1';
input.dispatchEvent(event);

–jeroen

Posted in Chrome, Chrome, Development, Google, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

Some links on Chromecast and stuttering

Posted by jpluimers on 2022/10/18

For my link archive (all my Chromecast devices are wired via LAN to low-latency fiber backed ISPs):

For v1 Chromecast devices, it seems Google does not care any more and will always stream at 1060p50 or 1060p60 without giving the opportunity to tune down the quality from the Android Chromecast app (my app always shows “Quality:Unavailable”, see the picture below the signature).

For v2 and up, there sometimes are firmware issues that take long times to get resolved.

–jeroen

Read the rest of this entry »

Posted in Chromecast, Google, Power User | Leave a Comment »

 
%d bloggers like this: