Skip to content

Instantly share code, notes, and snippets.

Running Kali linux on a free Oracle Cloud Instance

Go on cloud.oracle.com and register a free account.

Visit the Oracle cloud marketplace at cloudmarketplace.oracle.com and search for kali.

You should find a Kali Linux available for free. Click on it and then on Get App.
Select the option Commercial Market and click Sign In to authenticate with your Oracle Cloud accout.
You should see the overview page reporting a "Software price per OCPU" of $0.00

@GGn0
GGn0 / 01_Home_Assistant_on_raspberry.md
Last active November 9, 2021 14:27
Setup Home Assistant on Raspberry pi using Docker. Connect it to Google Home

Home Assistant Core on Raspberry

Run Home Assistant docher container

Make sure you have docker and dcker compose installed

docker --version
docker-compose --version

Create a docker-compose.yaml file inside a relevant directory

@GGn0
GGn0 / Update Portainer on Docker.md
Created September 6, 2021 08:47
How to upgrade portainer on Docker

Update Portainer on Docker

docker stop portainer
docker rm portainer
docker pull portainer/portainer-ce
docker run --restart always -d -p 9000:9000 --name=portainer -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
@GGn0
GGn0 / UTILS.md
Created July 19, 2021 07:40
Collention of utilities that would be lost otherwise

Utilities

Websites

portquiz

http://portquiz.net:1234

Tests if port 1234 is open on your network

@GGn0
GGn0 / README.md
Last active April 8, 2023 09:19
Programming STM32 Nucleo-64 with PlatformIO

Programming STM32 Nucleo-64 with PlatformIO

Make sure to install the correct drivers for the stlink programmer.

⚠️ If you are on Windows, you may want to reboot the system after installing drivers or even PlatformIO

Specifications

  • OS: Windows 10 Pro 20H2 build 19042.1052
  • VSCode: v1.53.2
@GGn0
GGn0 / common-problems.md
Last active June 12, 2021 10:45
git-notes.md

Common git problems

Added a large file in past commits and now you can't push

  • Delete the file and all its history ( source )

    git filter-branch --tree-filter "rm -f Path/to/large-file" -- --all
@GGn0
GGn0 / LinuxCommands.md
Last active May 7, 2020 12:39
Useful linux commands

Generic commands

TODO

Exor boards

useful commands/code snippets specific to exor hardware

Success tune

to play a tune suited for signaling a successful operation (add it in an script or tsts it in an ssh session)