13. January 2018

How to change Windows 10 to grayscale mode and back to color mode

Windows 10 has one neat feature which might be handy for graphic designers and photographers. You can quickly can turn your display quickly to grayscale (black and white).

Some people activates this feature just by accident and they do not know how to turn Windows 10 back to color mode.

The keyboard shortcut is pretty simple:

Windows + CTRL + C

Color mode of Windows 10:

Grayscale (black and white) mode of Windows 10:

You can read more at Microsoft web site.

5. February 2017

Colorful log from MQTT with timestamp

The easiest way to subscribe to all messages on MQTT server like Mosquitto is following command:

mosquitto_sub -v -t '/#'

The only problem is that result is just plain text without timestamp which makes it harder to spot some messages.

The solution to the problem is quite simple. Just pipe output of subscription command to xargs which will inject date and to ccze which will add colors. Here is the command:

mosquitto_sub -v -t '/#' | xargs -d$'\n' -L1 sh -c 'date "+%d.%m.%Y %T $0"' | ccze -m ansi


25. May 2011

ColorPicker and DateField in Flex 4.5

ColorPicker is not available in Flex 4.5 with Spark architecture. I found this problem while I was migrating desktop project to mobile AIR for Android.

Fortunately there is solution. Alex Harui wrote simple Spark based components that replace ColorPicker and DataField functionality.

Update: Unfortunetely swatch DropDown component does not work in mobile world. You could not select color from swatch. This problem is bounded to DropDown/ComboBox problem in mobile world. I recieved recommendation from Adobe developers to move DropDown part to new view state and avoid using s:DropDown.

Please drop a comment to this post if you have working mobile colorpicker component.

  • Where is the fish?

  • Further info

  • Twitter

    Follow @jurajmichalek on twitter.

  • Comments

  • Tags

  • Topics