Home avatar

Deokgon Kim

Show Applications installed on User's own home directory

On ubuntu, when you press Super key twice or press Super+A, you see applications installed on host. But, not all applications are installed via dpkg or snap. for example, Postman and Bitwarden doesn’t provide installers instead they provides something like App Image.

I place such programs in ~/Applications. and I want to run this kind of program conviniently using Super key like Spotlight search in Mac.

Register mDNS to AWS Route53

In local network, I can use mDNS names like DESKTOP-RHM4944.local, but I cannot use mDNS name over OpenVPN. I uses openvpn to access office network, and I want to be able to find out client IP of certain PC. and the PC uses DHCP to obtain dynamic IP.

I have AWS environment, so I can use Route32 to resolve local hostname.

  • AWS VPC
  • EC2 with OpenVPN Server
  • RaspberryPi on Office network (connected to OpenVPN Server)
  • Client Laptop (as Remote Worker)
  • Create Route53 Private Zone to be used as .local alternative. I will connect DESKTOP-RHM4944.office instead of DESKTOP-RHM4944.local

(I will not describe here, I have done it before)

Reserve Docker Network Aws Vpc uses

  • docker_aws_vpc.sh

    bash

    #!/bin/bash
    
    # to prevent docker to pickup 172.31.0.0/16
    docker network \
    create \
    --subnet 172.31.253.0/30 \
    aws_vpc

While you are developing, it is convenient if you are using VPN to access AWS VPC.

Prep Python Project

Here is how I prepare python projects.

I uses python3 installed by default via OS package. or brew python3 (But if I have a chance to use conda and the others, I may try)

I uses venv module