Related Posts
# Things to remember when compiling/linking C/C++ software
by Angel Leon. March 17, 2015. Include Paths On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found. With gcc and llvm include paths are passed with -I/path/to/includes, you can pass as many -I as […]
How to build your Docker image using the same Dockerfile regardless of the host architecture
Problem If you are now using docker on a Mac M1 (arm64 platform), you don’t want to use amd64 as the architecture for your Linux Images. You could have 2 lines on your Dockerfile and comment each one depending on where you’re building the image Dockerfile # Building on Apple Silicon host FROM –platform=linux/arm64 ubuntu:20.04 […]
IntelliJ / Adroid Studio / CLion / GoLand / PyCharm / PHPStorm keymap shortcuts I can’t live without
Download settings.jar (Import with `File -> Import Settings`) I got to IntelliJ after years of using Emacs and Eclipse. Here’s how my keymap looks now that I work with Jetbrains tools, these are the keyboard shortcuts I can’t live without as a programmer. Legend (Mac keyboard) ⌘ Command ⇧ Shift ⌘1 Show Intent Actions […]