Fueling Curiosity, One Insight at a Time

At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.

Sep 18, 2019
FF: Search for dom.event.clipboardevents.enabled in the search box. set to false. No more blocking of copy/pasting on bank login passwords
sreenadh
sreenadh
Sep 18, 2019
In go - A final parameter of a function signature maybe prefixed with three dots (...) to be invoked with zero or more arguments, this is called variadic parameter. Also, an empty interface interface{} can hold values of any type. Combine these together and you can have a function parameter ready to accept n similar type arguments of any type func someFun(firstParam, a ...interface{})
manu
manu
Sep 18, 2019
In go - A final parameter of a function signature maybe prefixed with three dots (...) to be invoked with zero or more arguments, this is called variadic parameter. Also, an empty interface interface{} can hold values of any type. Combine these together and you can have a function parameter ready to accept n similar type arguments of any type func someFun(firstParam, a ...interface{})
manu
manu
Sep 10, 2019
collations will not work on any BSD-ish OS (incl. OSX) for an UTF8 encoding. You will never get the sorting right, unfortunately in PSQL. https://github.com/PostgresApp/PostgresApp/issues/216#issuecomment-58474023
sreenadh
sreenadh
Sep 5, 2019
use dumpleases command to list all the ip's leased by udhcpd.
revath
revath
Sep 4, 2019
how to use saturation and brightness property of colors to create different shades of a color for a UI. Also explains why some shades are dull vs some look vibrant -> https://medium.com/@erikdkennedy/color-in-ui-design-a-practical-framework-e18cacd97f9e. TLDR: more brightness and less saturation = vibrant. More saturation and less brightness = dull
emil
emil
Sep 4, 2019
how to use saturation and brightness property of colors to create different shades of a color for a UI. Also explains why some shades are dull vs some look vibrant -> https://medium.com/@erikdkennedy/color-in-ui-design-a-practical-framework-e18cacd97f9e. TLDR: more brightness and less saturation = vibrant. More saturation and less brightness = dull
emil
emil
Sep 3, 2019
convert mp4 to gif on linux (ubuntu 18.04). ffmpeg -i firefox.mp4 firfox.gif (ffmpeg 3.4.4 )
revath
revath
Sep 3, 2019
screen record via adb. adb shell screenrecord /sdcard/firefox.mp4 CTRL+C to exit after recording.
revath
revath
Sep 3, 2019
screen record via adb. 1. adb shell 2. screenrecord /sdcard/firefox.mp4 3. CTRL+C to exit after recording.
revath
revath

Showing 49 to 51 of 77 results

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals