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 1,927 other followers

Archive for the ‘Google’ Category

GitHub – kzahel/web-server-chrome: An HTTP Web Server for Chrome (chrome.sockets API)

Posted by jpluimers on 2020/06/01

Cool: [WayBack] GitHub – kzahel/web-server-chrome: An HTTP Web Server for Chrome (chrome.sockets API)

This allows you to develop HTTP applications that live in Chrome:

[Archive.is1/Archive.is2Web Server for Chrome – Chrome Web Store: A Web Server for Chrome, serves web pages from a local folder over the network, using HTTP. Runs offline.

Of course you could to python -m SimpleHTTPServer 8888 or python -m http.server 8888, but this runs within chrome and can be used from inside JavaScript projects.

Features

  • serve local files
  • configure listening port
  • configure listening interface (e.g. localhost or all interfaces)
  • custom http handlers possible
  • websocket support available
  • works nice with chrome.runtime.onSuspend
  • options for autostart, start in background, etc etc.
  • handles range requests, HEAD, etc
  • options for CORS
  • optional PUT, DELETE request (for upload files)
  • sets MIME types
  • can render directory listing
  • See relevant options: https://github.com/kzahel/web-server-chrome/blob/master/polymer-ui/options.js

Via [WayBack] This is super useful: A# web #server that runs in #Chrome! Makes it super easy to do local web dev without the hassle of setting up a complex back end s… – Jason Mayes – Google+

–jeroen

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

Secure Shell – Chrome Web Store

Posted by jpluimers on 2020/05/25

Interesting: Secure Shell – Chrome Web Store. But does not work behind an SSH blocking firewall, seem more on that below.

Terminal emulator and SSH client.

Secure Shell is an xterm-compatible terminal emulator and stand-alone ssh client for Chrome. It uses Native-Client to connect directly to ssh servers without the need for external proxies.

Secure Shell is a Beta release and has known bugs.

Please read the FAQ, available here: http://goo.gl/3i5AJ.

You can also exchange feedback in the chromium-hterm mailing list, available here: http://goo.gl/RYHiK.

It is based on [WayBackGitHub – chromium/hterm: MOVED: Please use the new libapps repo on chromium.googlesource.com insteadf.

With relays, you can tunnel over SSH. Two relays are on github:

Resources:

–jeroen

via: Secure Shell – Chrome Web Store.

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

How to read network requests in Chrome for new tab or popup window

Posted by jpluimers on 2020/05/20

Cool feature I discovered from [WayBackHow to read network requests in Chrome for new tab or popup window:

chrome://net-internals/#events

It will immediately show all events from all tabs including networking events.

The red bar at the top has a drop down on the right where you can stop them and perform a few other actions.

During or after capture, you can select relevant requests from the list (through checkboxes) so the right of the pane gets their info (which is a lot: not just the request/response content including all headers and cookies, but also any delegates from extensions and their results).

I got there via a search for chrome view all network requests.

The reason I needed to find out a solution for my WayBackSave.js bookmarklet returning error 400 while the Network tab in the Developer Tools would not show the request at all.

The cause of the problem was that web.archive.org had created 150+ cookies making the web request too large. Deleting the cookies solved the problem.

An excellent set of steps to dig deeper into these problems is [WayBack] 400 Bad Request Error: What It Is and How to Fix It: An in-depth explanation of what a 400 Bad Request Error response code is, including tips to help you resolve this error in your own application.

And it made me find [WayBack] 12 Most Useful Google Chrome Browser chrome:// Commands too which explains all these in more detail:

  1. chrome://flags
  2. chrome://dns
  3. chrome://downloads
  4. chrome://extensions
  5. chrome://bookmarks
  6. chrome://history
  7. chrome://memory
  8. chrome://net-internals
  9. chrome://quota-internals
  10. chrome://sessions
  11. chrome://settings
  12. chrome://sync-internals
  13. to view all the available chrome:// commands, type chrome://about in your chrome browser URL as shown below.

–jeroen

Read the rest of this entry »

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

Free Linux cloud shell for Gmail users – shell in the browser that works in all locations I’ve been so far

Posted by jpluimers on 2020/05/18

This is still so cool: [WayBack] Free Linux cloud shell for Gmail users … – Adrian Marius Popa – Google+:

Free Linux cloud shell for Gmail users

https://news.ycombinator.com/item?id=16247577

comments are more interesting

“If you want a free Linux box with a Public IP and SSH, I’d recommend spinning up an f1-micro VM. It’s part of the permanent free tier”

https://news.ycombinator.com/item?id=16248668

Even cooler is that you can use it both from a web browser and from your own console, more on that below.

Cloud Shell from the web

The above links:

Read the rest of this entry »

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

8 Brilliant Search Tools Hidden Within Google Photos

Posted by jpluimers on 2020/05/08

Boy, I totally missed that the Google Photos search has become this smart: [WayBack8 Brilliant Search Tools Hidden Within Google Photos:

Google Photos’ search tools have powerful algorithms that are on par with that of Google’s search engine.

Things I tried so far at photos.google.com and they all work, most way better than I anticipated:

  • Person names
  • Object names (like Fiat, BMW, Mercedes, Mitsubishi, Ford; Fiat got me way more car types than the other brands)
  • Area names (cities, places, countries, etc)
  • Time
  • Screenshot, screenshots, png, jpg
  • Tall, wide, but these worked better: portrait, landscape
  • WMC

–jeroen

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

 
%d bloggers like this: