Skip to content

Instantly share code, notes, and snippets.

View suryakencana007's full-sized avatar
πŸ›΄
Never End Learning

Nanang Suryadi suryakencana007

πŸ›΄
Never End Learning
View GitHub Profile
#!/bin/bash
# curl -sfL https://get.quickstack.dev/setup.sh | sh -
select_network_interface() {
if [ -z "$INSTALL_K3S_INTERFACE" ]; then
interfaces_with_ips=$(ip -o -4 addr show | awk '!/^[0-9]*: lo:/ {print $2, $4}' | cut -d'/' -f1)
echo "Available network interfaces:"
echo "$interfaces_with_ips"

Agentic Implementation Spec: Flutter + ForUI + Feature-Sliced Design (FSD)

System Prompt / Agent Instruction: You are an expert Flutter AI coding assistant. Your task is to generate a new Flutter project from scratch using the Feature-Sliced Design (FSD) architecture and the ForUI widget library.

Follow the execution phases and exact file structures below. Do not deviate from these architectural paths.

Phase 1: Initialization & Dependencies

  1. Run flutter create . in the target directory to initialize a standard Flutter project.
  2. Add the required dependencies to pubspec.yaml:
# if ($host.Name -eq 'ConsoleHost')
#{
# Import-Module PSReadLine
#}
#Import-Module -Name Terminal-Icons
# Chocolatey profile
# $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
# if (Test-Path($ChocolateyProfile)) {
services:
syncthing:
image: syncthing/syncthing
environment:
- PUID=1000
- PGID=1000
volumes:
- ./data/st-sync:/var/syncthing
ports:
- 8384:8384 # Web UI
@suryakencana007
suryakencana007 / azure-container-app-with-pg.md
Created April 24, 2025 14:34
Azure Terraform β€” Deploy a secure application: container apps, postgreSQL, and Redis

source: https://medium.com/@dinh.nt

Recently I took a task to deploy a full-fledged application securely on a virtual network in Azure cloud. I have to use IAC to reduce maintenance time later on.

This is not a easy task for me, since my knowledge of virtual network was limited. But luckily, I managed to get it done in a week, which is quite fast for what I had estimated.

I will share with you everything I did in this post.

Application Architecture

add_newline = false
[aws]
disabled = true
symbol = " "
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
[buf]
symbol = " "
format = '\[[$symbol($version)]($style)\]'
Invoke-Expression (&starship init powershell)
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
Import-Module -Name Terminal-Icons
# Chocolatey profile
{
"extensions": [
{
"id": "10",
"lang": "de",
"source": "Wie Manga!"
},
{
"id": "100019686565354829",
"lang": "de",

Network Observability

SNMP

Telegraf

Fluentbit

add_newline = false
[aws]
disabled = true
symbol = " "
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
[buf]
symbol = " "
format = '\[[$symbol($version)]($style)\]'