Skip to content

Instantly share code, notes, and snippets.

@jetsup
jetsup / unsecure-gmail-app.md
Created November 11, 2024 21:59
Setting up less secure email to be used to send emails from your Web server, for production or development.

Setting up unsecure Gmail account

Unsecure Gmail App is used to send emails through SMTP. This is useful for testing your email sending functionality in your application and server.

To set up an unsecure Gmail App, first you will need to create a new Gmail account. DO NOT use your personal Gmail account.

Select the new account as your active profile in your browser and navigate to Google Account.

Google Account Home

Missing Ethernet in Ubuntu 24.04 on Raspberry Pi (5)

I was trying to ssh into Raspberry Pi 5 running the new Ubuntu 24.04 through ethernet when I realized that it was not blinking the ethernet led, as I am used to seeing it. But ssh through the WiFi was working just fine that I decided to run ifconfig command, then got this:

┌──(george㉿berry)-[~]
└─$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
@jetsup
jetsup / xeus-installation.md
Last active June 24, 2024 06:27
Installing xeus-cling on Linux

Xeus-Cling finalization

So after installing xeus-cling using instructions from their official documentation, I found out that I could not add the c++11, c++14 and c++17 directly to the jupyter notebook.

Also, to let you know, I am using miniconda3 installed from their official website running on Ubuntu 22.04. Therefore, from the xeus-cling github repo, I will be replacing mamba with conda where for xeus-cling installation, I ran the following commands:

conda create -n cling
conda activate cling
conda install xeus-cling -c conda-forge