Skip to content

Instantly share code, notes, and snippets.

View lit-af's full-sized avatar

Alexandre Francoeur lit-af

  • Montreal, Canada
View GitHub Profile
@BDeliers
BDeliers / Dockerfile
Last active March 10, 2025 11:24
nRF Connect SDK devcontainer for Visual Studio Code
# Derive from Nordic's image, SDK version 2.5
FROM nordicplayground/nrfconnect-sdk:v2.5-branch
# Update the distro
RUN apt-get -y update
# Install git and GDB
RUN apt-get -y install git gdb-multiarch
# Create the workspace folder
RUN mkdir /workdir/workspace
@zenorocha
zenorocha / etc-hosts-on-win.md
Last active May 19, 2025 05:25
/etc/hosts on Windows

1. Get your IP Address

echo `ifconfig $(netstat -nr | grep -e default -e "^0\.0\.0\.0" | head -1 | awk '{print $NF}') | grep -e "inet " | sed -e 's/.*inet //' -e 's/ .*//' -e 's/.*\://'`

2. Modify your hosts file

notepad