Subscribe: Dancer's daily hackings
http://www.netfort.gr.jp/~dancer/diary/recententry-en.rdf
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
chrome remote  chrome  control panel  desktop  gce control  made  oauth  outdated  python  remote desktop  remote  seconds  takes seconds 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Dancer's daily hackings

Dancer's daily hackings



showing latest 10



 



Tried creating a GCE control panel for myself.

2016-09-22T12:04:25+09:00

GCP GCE control panel takes about 20 seconds for me to load, CPU is busy loading the page. It does so many things and it's very complex.I've noticed that the API isn't that slow, so I used OAuth to let me do what I want usually; list the hosts and start/stop the instance, and list the IPs.Takes 500ms to do it instead of 20 seconds.I've put the service on AppEngine.The hardest part was figuring out how this OAuth2 dance was supposed to work, andall the python documentation I have seen were somewhat outdated and rewriting then to a workable state.document was outdated but sample code was fixed.I had to read up on vendoring and PIP and other stuff in order to get all the dependencies installed. I guess my python appengine skills are too rusty now.



Tried setting up chrome remote desktop on Debian.

2016-09-04T20:50:43+09:00

Lack of logging made it almost impossible but after realizing that chrome browser dumps some logs on standard output and it was waiting for me to enter password, I made progress and I can use chrome remote desktop now. Awesome.