TILs - 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.

Published
Author
user-image
Manu
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{})
Published
Author
user-image
Revath
use dumpleases command to list all the ip's leased by udhcpd.
Published
Author
user-image
Revath
convert mp4 to gif on linux (ubuntu 18.04). ffmpeg -i firefox.mp4 firfox.gif (ffmpeg 3.4.4 )
Published
Author
user-image
Revath
screen record via adb. adb shell screenrecord /sdcard/firefox.mp4 CTRL+C to exit after recording.
Published
Author
user-image
Revath
screen record via adb. 1. adb shell 2. screenrecord /sdcard/firefox.mp4 3. CTRL+C to exit after recording.

Showing 54 to 56 of 82 results

Ready to Build Something Amazing?

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