Rafael's Lab

Some experiments from a Software Engineer daily working from a Chromebook..

This blog as RSS

Emulate slow networks on Chrome

I discovered recently that Chrome DevTool, you can emulate slow networks quite easily. This feature is quite helpful to test how your application will react if network is slow (if the user is on a 2G connection, something may timeout more often for example...).

Pre-defined options are available on Chrome DevTool, at Network tab.

I found out that certain applications don't work if network is not good enough...

Using SFTP File System instead Google Drive

After accept the automatic upgrade of my Toshiba Chromebook 2, now using Chrome 43.0.2357.81 (Platform 6946.55.0), I just found an interesting new feature. You can include several different types of storage instead of Google Drive, and it even includes SFTP File System.

Now you can give yet another function to your Raspberry Pi...

Using Chrome as an Editor

I daily use ChromeOS on Guest Mode, so I don't have any extension or app loaded on my environment. Normally it is quite comfortable to use Guest Mode, as all my personal data, work data, bookmarks, emails, rss, chat are provided by my personal system (a personal ERP5 instance) or by my employeer ERP5/System.

However from time to time, I need a quick temporary editor for copy and paste, for format some text; or just a quick editor to take notes from a conference. and for this I use a simple builtin feature from every browser... try to type on your browser url this:

  data:text/html, <html contenteditable>

your browse becomes, you can keep it bookmarked and you can download/save your notes as html. Thanks to the editablecontent attribute you can create a custom editable html page your own with templates without any text editor.

Feel free to Try yourself

Chromebook Developer Mode

One things that few people know is that the all Chromebooks are actually a Linux laptop, running a customized version of Gentoo Linux. They are a can easily see a terminal by typing Crtl + Alt + t after login:

You can even use an ssh and very few Linux command lines, but by default this shell is very limited.

However, on any ChromeOS you can enable a real shell, for this you must enter on developer mode . To start the ChromeOS on Developer Mode is quite simple, just type : Esc + Refresh Button (or F3 on normal keyboard) + Power Button . It works most part of the Chromebook available on the market

!!! WARNING: Enter on Developer Mode makes you loose ALL your local changes and files on a Chromebook. !!!!!!

Interested on start to use ChromeOS on developer mode? I often use the followed post as reference every time someone asks me about this: How to Enable Developer Mode on Your Chromebook .

Happy Hacking :)

Hello Blog!

I'm Rafael Monnerat, I live in Paris, I work at Nexedi and I do open source software .

This blog contains mostly personal experiments which I do from time to time on chromebook, python, javascript and others topics which interest me.