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.
- https://interfaces.pro/ - categorized collection of well designed websites
- Monomorphization: The process of turning generic code into specific code by filling in the concrete types that are used when compiled.
- FF: Search for dom.event.clipboardevents.enabled in the search box. set to false. No more blocking of copy/pasting on bank login passwords
- 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 typefunc someFun(firstParam, a ...interface{}) - 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 typefunc someFun(firstParam, a ...interface{}) - 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
- use
dumpleasescommand to list all the ip's leased byudhcpd. - 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
- 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
- convert mp4 to gif on linux (ubuntu 18.04).
ffmpeg -i firefox.mp4 firfox.gif(ffmpeg 3.4.4 ) - screen record via
adb.adb shell screenrecord /sdcard/firefox.mp4CTRL+C to exit after recording. - screen record via
adb. 1.adb shell2.screenrecord /sdcard/firefox.mp43.CTRL+Cto exit after recording. - A nifty twitter card previewer for static pages https://cards-dev.twitter.com/validator
- Nifty tool to convert videos into gifs https://github.com/lukechilds/gifgen
- can turn your Raspberry Pi into
Wifi hotspotusing https://github.com/harryallerston/RPI-Wireless-Hotspot and take advantage ofPi-holeas network wide adblocker without any change in other devices. - can take screenshot of FireTV via adb using the command
adb shell screencap -p /sdcard/Download/settings-adb-debugging.png - can take screenshot of FireTV via adb using the command
adb shell screencap -p /sdcard/Download/settings-adb-debugging.png - blocking browser call to https://login.deutschebank.co.in/corp/L001/consumer/theme/new_style_HW.css makes Deutsche Bank website load faster
- https://saaspages.xyz is a website that collects best practices for SaaS websites, like hero sections, pricing, faq, etc
Showing page 28 of 42
Your competitors are already using AI. The question is how fast you want to unlock the value.
Don't know where to start?
AI is everywhere but it's unclear which investments will actually move your metrics and which are expensive experiments.
Your data isn't ready
Most AI projects fail at the data layer. Pipelines, quality, access all need work before LLMs can deliver value.
Internal teams are stretched
Your engineers are shipping product. They don't have capacity to also become AI specialists with production-grade experience.
Legacy systems block everything
Aging, undocumented codebases make AI integration slow, risky, and expensive. They need to move first.
Don't worry. We've got you covered.
Start with the audit.