Dreams of Code
Better than Copilot? This AI plugin for Neovim is Incredible
updated
To try all the amazing postgresql features that Neon provides for free, sign up today using: get.neon.com/OKaRDZ7
Stripe is without a doubt the most popular payment provider out there, and for good reason. Despite this however, there is one thing it does not do, which when done by myself, ended up taking quite a lot of time.
This video is sponsored by Neon
Video Links:
- Stripe: stripe.com
- Polar: https://polar.sh
- Better Auth Plugin: better-auth.com/docs/plugins/polar
- Neon: get.neon.com/OKaRDZ7
- What is an MoR: https://polar.sh/docs/merchant-of-record/introduction
Watch my course on building cli applications in Go: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:44 What is a Payment Provider
00:04:23 Disclaimer
00:04:48 Sales Tax
00:06:13 Merchant of Record
00:08:09 MoR - Drawbacks
00:09:19 My Experience - Initial Usage
00:10:18 Stripe Tax Complete
00:11:09 Which MoR
00:12:37 Sponsor
00:14:10 Migration - Schema Changes
00:15:01 Polar vs Stripe - Differences
00:19:01 Overview
Both Coolify and Dokploy are two of the most popular self hostable platforms as a service, and whilst they offer many of the same features and functionality, they each have some key differences.
Therefore, in the video, I decided to do a comparison of each platform, showing some of these similarities and differences, as well as talking about my own preferences.
AMENDMENTS:
- Dokploy has released environments since recording this video in v25 bringing it to parity with Coolify.
Links:
- Coolify: coolify.io
- Dokploy: dokploy.com
This video is sponsored by Hostinger.
Watch my course on building cli applications in Go: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:02:20 Coolify
00:03:09 Dokploy
00:04:50 VPS + Sponsor
00:06:18 Setting up VPS
00:07:22 Ease of Installation
00:11:03 Resource Usage
00:13:36 Structure (OUTDATED SEE DESC)
00:15:29 UI/UX
00:18:42 Application Deployment
00:21:23 Databases
00:23:17 Feature Set
00:23:33 Preview Deployments
00:26:01 Notifications
00:28:40 Scheduled Tasks
00:29:12 Monitoring & Metrics
00:30:55 Traefik Configuration
00:32:37 Cloudflare Tunnels
00:33:34 Licensing
00:34:52 In Summary
This video is NOT sponsored, and everything was purchased by myself at full retail price.
Products Mentioned:
- Aer City Pack Pro 2: aersf.com/collections/backpacks/products/city-pack-pro-2
- Aer Dopp Kit 3: aersf.com/collections/accessories/products/dopp-kit-3
- Aer Slim Pouch: aersf.com/collections/accessories/products/slim-pouch-2
- Gravel Explorer Mini: amzn.to/48aSbBf
- Peak Design Medium Packing Cube: amzn.to/4ma7XzJ
- Peak Design Small Packing Cube: amzn.to/4ma7XzJ
- Peak Design XS Camera Cube: amzn.to/488Wj4D
- Osmo Pocket 3: amzn.to/3VFIi79
- Aohi GAN charger: amzn.to/4gjM67B
- Aohi Battery Bank: amzn.to/4m7QTKI
- 170W Universal Travel Adapter: amzn.to/3Ie43I3
Other Channels I used for research:
- Packhacker: youtube.com/c/packhacker
- Nomads Nation: youtube.com/@Nomads.Nation
Watch my course on building cli applications in Go: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
The above amazon links are affiliate links, which means I get a small kickback whenever you make a purchase at no additional cost to you.
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:02:10 Requirements
00:04:23 City Pack Pro 2
00:17:12 Packout #1 - The Week Away
00:19:09 Packout #2 - The Content Creator
00:20:34 Packout #3 - The Ultra Minimalist Man of Travel
The new experimental "encoding/json/v2" package brings a number of different improvements to both JSON marshaling and unmarshaling in Go. So much so that I thought it would be worthwhile doing a video on.
*Amendments/Mistakes*:
- 09:10 - (Resolved) The double WithMarshalers does not work (as the video shows) This was my misunderstanding. Instead it needs to be via the JoinMarshalers, will edit this out if possible!
Links:
- Go 1.25 release notes: https://go.dev/doc/go1.25
- encoding/json/v2 documentation:
- json/v2 proposal: https://pkg.go.dev/encoding/json/v2
- encoding/json/jsontext documentation: https://pkg.go.dev/encoding/json/jsontext
- ISO8601: en.wikipedia.org/wiki/ISO_8601
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:17 Sponsor
00:02:40 Null Slices & Maps
00:05:44 json.Marshal Options
00:07:14 Custom Marshallers
00:09:14 JoinMarshalers
00:10:01 Custom Unmarshalers
00:10:46 Type Changes
00:11:14 format json struct tag
00:13:44 MarshalWrite & UnmarshalRead
I've been working in the terminal now for just over 10 years, and so I thought I'd share some of my favorite cli applications that I've picked up over that time that have helped to improve the way I work in the terminal.
Links:
- Zoxide Video: youtu.be/aghxkpyRVDY
- Tmux Video: youtube.com/watch?v=DzNmUNvnB04
- Stow Video: youtube.com/watch?v=y6XCebnB9gs
- Pass Video: youtube.com/watch?v=FhwsfH2TpFA
- CLI Applications Course: dreamsofcode.io/courses/cli-apps-go
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:00:57 App 0 - zoxide
00:03:12 App 1 - rg
00:06:07 App 2 - fd
00:08:28 App 3 - tmux
00:13:22 App 4 - gh
00:14:43 App 5 - doppler
00:16:28 App 6 - pass
00:18:49 App 7 - jq
00:19:55 App 8 - stow
00:21:32 App 9 -fzf
Fortunately, I didn't have to... here's why.
This video is sponsored by boot.dev
Links:
- Authly Repo: github.com/dreamsofcode-io/authly
- Better-Auth: better-auth.com
- JWX: github.com/lestrrat-go/jwx
- jwt.io: jwt.io
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:38 Better-Auth
00:04:06 Sponsor
00:06:41 Install Better Auth
00:08:00 JWT
00:10:03 Authenticate Request
00:11:21 UserID
00:14:05 JWKS
00:17:51 Caching Tokens
00:20:14 Issues
00:21:04 Server to Server
00:23:14 Request Proxying
I didn't think I'd like a PaaS as much as this...
Links:
Dokploy: dokploy.com
Hostinger: hostinger.com/dreamsofcode
Guestbook V2: https://guestbook.zenvps.xyz
Guestbook V2 Source Code: github.com/dreamsofcode-io/guestbook-v2
Tailscale Video: youtu.be/RVZuYL0aehY
Want to learn how to build CLI apps in Go? Get my course on earlybird discount until August: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:04:17 VPS with Hostinger
00:05:39 VPS setup
00:07:14 Installing Dokploy
00:09:17 HTTPS
00:11:34 Creating a Project
00:12:12 Database
00:12:54 Database Setup
00:14:30 Setting up our application
00:15:13 Access Repo
00:16:53 Application configuration
00:19:36 Application Deployment
00:21:03 Marker 10
00:21:49 Review Apps
Links:-
Claude Code: anthropic.com/claude-code
Agent Half Life: cognaptus.com/blog/2025-05-11-halflife-crisis-why-ai-agents-fade-with-time-and-what-it-means-for-automation
Trivy: github.com/aquasecurity/trivy
Clair: github.com/quay/clair
Check out my course on building cli apps: dreamsofcode.io/courses/cli-apps-go/learn
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Chapters
00:00:00 Intro
00:01:21 The Challenge
00:03:00 Vibe Coding Weapon
00:04:03 First Week
00:05:25 First Issue
00:06:58 Agent Half Life
00:09:22 Week 2
00:13:18 Application Security
00:15:08 Multi Tasking
00:17:54 Gaming
00:19:49 Week 4
00:20:36 Context Loading
00:23:21 Wasting time
00:24:45 Conclusion
For the longest time, I've been constantly battling with how best to secure a VPS. However, every time I've made an instance more secure, it's always felt like I've had to give up some sort of convenience, in what I would describe as an un-fun tug of war (aren't they all however).
Fortunately, that's no longer the case, as I'm now able to secure all of my public services, whilst at the same time, ensuring that it's still easy for myself to access my services.
All thanks to the sponsor of this video, Tailscale.
Links:
- Get Tailscale for free: https://dub.sh/qcNuSvY
- My new SaaS: zenblog.ai
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Not only has this managed to save me hundreds of hours, but it's also enabled me to make my content even better.
This video is sponsored by Neon.
Check out the blog post for this video: dreamsofcode.io/blog/ai-blog-post-generator-using-an-mcp-with-neon
Video Links & References:
- Neon: https://fyi.neon.tech/1doc
- WhisperCPP: github.com/ggml-org/whisper.cpp
- MCP Introduction: anthropic.com/news/model-context-protocol
- Neon MCP Documentation: neon.com/docs/ai/neon-mcp-server
- Claude Desktop: claude.ai/download
- Final Blogs: dreamsofcode.io/blog
- Zenful Studio (Coming soon): https://zenful.studio
Check out my course on building CLI applications using Go: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/4kHx2lk
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:03:56 Transcribing
00:07:28 Formatting
00:16:46 My Own MCP Server
Get early bird access to my new course now: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/4kHx2lk
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:29 Go
00:04:25 SQLc
00:05:28 HTML Rendering
00:08:56 Alpine.JS
00:11:52 HTMX
00:16:50 Auth
00:18:16 Payments
00:20:59 Emails
00:22:42 Analytics
Links:
Redis Open Source Announcement: redis.io/blog/agplv3
Antirez Returns: redis.io/blog/welcome-back-to-redis-antirez
Redis Github: github.com/redis/redis
Learn how to build command line applications in Go: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
This video was sponsored by DragonflyDB who provide their own Redis compatible datastore without the need to go through the steps I did in this video :)
Learn more about how Dragonfly can boost performance and reduce costs for the most demanding in-memory workloads: rebrand.ly/DragonflyDOC
Additionally, if you want to try and deploy your own Valkey cluster on either Digital Ocean or Hetzner, you can use the same OpenTofu configuration as I did.
# Links
- Github Repo: github.com/dreamsofcode-io/redis-1m
- Valkey Docs: valkey.io/docs
- OpenTofu Docs: opentofu.org/docs
Watch my new course for free: bit.ly/45C7a29 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Marker 8
00:01:07 Vertical Scaling
00:05:03 Pipelining
00:07:32 Pipeline Limitations
00:08:19 Horizontal Scaling
00:09:04 Read Replication
00:13:20 Cluster mode
00:17:09 Cluster Caveats
00:20:58 Sponsor
00:23:01 The Cloud
Framework 13: https://frame.work/laptop13
My recent inspiration:-
Marko: @withmarko
Life of Riza: @LifeOfRiza
Matthew Encina: @MatthewEncina
Get my course on early access today: dreamsofcode.io/courses/cli-apps-go/learn 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
My new course is now available for early access!
Watch for free at: dreamsofcode.io/courses/cli-apps-go/learn
Purchase now to get 33% off before the full release in May!
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Recently, I've been building my web application to host my upcoming course using Go, rather than using a fullstack frontend framework such as Next.js.
Whilst I've really enjoyed the process, one thing that I was worried about was when it come to building client side interactivity, and I wasn't keen on having to use script tags, id attributes, or even jquery.
Fortunately, it turns out, there's a simple framework that can make setting up client side interactivity both simple, and fun.
This video was sponsored by Brilliant.org
Register for my upcoming course to get an early bird discount: dreamsofcode.io/courses/command-line-apps-go 👈
Video Links:
- Project: github.com/dreamsofcode-io/alpine-demo.git
- Alpine Website: https://alpinejs.dev/
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
The above amazon links are affiliant links when means I receive commission if you make a purchase, at no cost to you.
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:03:21 Project Intro
00:03:56 Marker 11
00:05:22 Problems
00:06:05 Alpine Begins
00:08:07 x-show
00:09:09 x-on:click
00:09:50 Toggle
00:11:01 x-text
00:12:29 Toggling Classes
00:14:04 CSS transitions
00:14:37 x-transition
00:18:23 x-cloak
00:19:54 Locality of behavior
00:21:10 sponsor
00:22:32 Accordian and x-collapse
00:26:26 Other plugins
00:27:19 Persist
00:29:06 Outro
Core vs context is an interesting topic. Whilst I probably agree that it's a better use of time from a business point of view to focus on the core, rather than on context. When it comes to personal development, I think focusing on the context is how we learn and improve.
More information on my upcoming course. Register to be notified of early bird specials 👈
dreamsofcode.io/courses/command-line-apps-go
References in video:
- Core vs Context: medium.com/a-technical-leaders-toolbox/core-vs-context-3da8309cc71b
- Try Hard Studios HLS: screencasting.com/cheap-video-hosting
- Leptos: https://www.leptos.dev/
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
I've been using Docker for my application deployments for around 10 years and it's made my entire process easier. Despite this however, recently I've been wondering how difficult it would be to deploy without Docker, instead just deploying to the VPS without any containerization.
So, in order to find out how difficult it would be, I decided to try it without, and the results were somewhat surprising.
This video is sponsored by Hostinger
Video Links:
- Deployed Application: https://zenbin.xyz
- Caddy: caddyserver.com
- Crowdsec: crowdsec.net
- Github Repo: github.com/dreamsofcode-io/zenbin
- systemd instance docs: stevenrombauts.be/2019/01/run-multiple-instances-of-the-same-systemd-unit
- My VPN: mullvad.net
My Upcoming Course: dreamsofcode.io/courses/command-line-apps-go 👈
My Gear:
- Camera: amzn.to/3E3ORuX
- Microphone: amzn.to/40wHBPP
- Audio Interface: amzn.to/4jwbd8o
- Headphones: amzn.to/4gasmla
- Keyboard: ZSA Voyager
The amazon affiliate links, meaning I may earn a commission if you make a purchase through them at no extra cost to you.
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:34 Goals of Challenge
00:03:41 The Application
00:04:09 Obtain a VPS
00:05:47 VPS Setup
00:07:23 Hardening
00:07:56 Crowdsec
00:09:22 Deploy Application
00:11:36 Valkey
00:14:17 systemd
00:17:14 Securing secrets
00:19:00 https
00:20:47 Automated Deployments
00:27:02 Replicas
00:29:35 Rolling Releases
00:31:43 Improvements
2024 has been a fantastic year when it comes to learning new things.
Therefore, to round off the year, I thought it would be worthwhile recapping some of the biggest things I learnt, before kicking off the new year.
This video was sponsored by Brilliant.
My upcoming course:
dreamsofcode.io/courses/command-line-apps-go
Videos Referenced:
- Giving up Copilot: youtu.be/Wap2tkgaT1Q
- Caps2Esc: youtu.be/XuQVbZ0wENE
- Home Row Mods: youtu.be/sLWQ4Gx88h4
- zoxide: youtube.com/watch?v=aghxkpyRVDY
- SQLc: youtu.be/VX6KzpjaPp8
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:07 Touch Typing
00:02:18 Split Keyboards
00:03:38 Custom Layouts
00:04:49 Dev Env
00:06:36 Snippets
00:09:07 Relearning New Things
00:10:51 Sponsor
00:12:23 Code Generation
00:13:19 Automate Everything
00:14:45 Using only one language
00:17:28 Use a starter kit
For the most part, I've been using Docker compose for my production deployments, and whilst it's worked, there's been a couple of things I wish were improved.
Fortunately, I recently discovered docker stack, which not only solves the issues I've had with docker compose, but brings about a bunch other production ready features.
This video is sponsored by hostinger.
Links:
- Zenstats Github: github.com/dreamsofcode-io/zenstats
- VPS Guide: github.com/dreamsofcode-io/zenstats/blob/main/docs/vps-setup.md
- Docker stack docs: docs.docker.com/reference/cli/docker/stack
My Upcoming Course: dreamsofcode.io/courses/command-line-apps-go 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:03:53 Getting Started
00:05:36 Sponsor / VPS
00:07:11 VPS Set up
00:09:02 Remote Deployments
00:11:43 Private Images
00:12:13 Remote Compose
00:13:34 Secrets
00:15:57 Rolling Release / Blue Green
00:17:48 Load balancing
00:18:32 Traefik
00:19:33 Rollbacks
00:20:20 Automated Deployments
We've had some big releases in Go over the past few years, which keep adding more and more usability to the language.One such feature is the embed package, which is actually something I overlooked initially when it came to Go. However, after having rediscovered it recently, I realize that overlooking it was a mistake.
This video is sponsored by boot.dev
Video Links:
- Go embed package: https://pkg.go.dev/embed
- 1.16 Release Notes: https://go.dev/doc/go1.16
- Guestbook web app: github.com/dreamsofcode-io/guestbook
- Guestbook commit: github.com/dreamsofcode-io/guestbook/commit/6c77aee7488f41e331fb0a5f2f51f687a9c6e2c4
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:26 Brief Intro
00:04:27 Sponsor
00:06:03 Use Cases
00:09:14 Migrations
00:13:58 HTML Templates
00:14:59 Static Files
00:16:06 5th way?
The BenQ RD320UA is the newest product in their series of montiors for programmers, and it's the first monitor I've owned that I've not only been truly impressed by, but has made me excited to work on my desk.
Disclosures:
- BenQ sent this monitor to me for free in order to do a review.
- No money changed hands, but I do get to keep the monitor
- Every other product mentioned in this video I bought myself.
Amendments:
BenQ notified me that my understanding of Night Mode plus was off. BI.Gen2 uses ambient light to adjust the screen brightness whereas Night Hours Plus allows you to lower the display brightness to less than 1 nit, which can be activated manually or when the sensor detects low-light conditions.
Links:
BenQ RD320UA Monitor for Programming: https://benqurl.biz/48bG58T
BenQ RD320UA Monitor Amazon link: https://benqurl.biz/3Bk2RPF
---
BenQ Screenbar Pro: amzn.to/3O2p1cl
Right Angled USB-A: amzn.to/3UG37iD
The above 2 links are affiliate links, which if you purchase a product through will earn this channel money. There is no additional cost to you.
---
Wallpaper: freepik.com/free-vector/gradient-abstract-background_19965186.htm
Photos of the screen: imgur.com/a/YwAbpzR
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:02 Disclaimers
00:01:51 Screen
00:03:49 KVM Switch
00:07:00 USB Port Hack
00:07:57 Monitor Arm
00:08:58 Power Adapter
00:09:28 Moon Halo
00:10:34 Coding Modes
00:11:47 Picture By Picture
00:12:32 Menus
00:13:42 Display Pilot 2
00:15:20 Ergonomics
00:16:30 Conclusion
so much so that I now have it set up on every keyboard that I own, including my laptops.
Home Row Mods have really improved the way I type, reducing my chances of thumb injury whilst also making it much easier for me to navigate my desktop and developer environments.
There's a lot more about Home Row Mods than I cover in this video, so if you're interested, then check out the links below!
This video is Sponsored by Brilliant
Video Links:
- Github Repo: github.com/dreamsofcode-io/home-row-mods
- A great guide on Home Row Mods: precondition.github.io/home-row-mods
- Kanata: github.com/jtroo/kanata
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Just some chill web dev
twitch link: twitch.tv/dreamsofcode_dev
When it comes to working with a database in Go, I often make use of the Repository Design Pattern, which wraps the queries into type safe functions.
Whilst this is my preferred approach, it does take a lot of time as it's mostly tedious to do. Fortunately, there's a new tool out there called SQLc which solves this, and many other problems.
This video is sponsored by boot.dev
Video Links:
- SQLc: https://sqlc.dev/
- Code: github.com/dreamsofcode-io/sqlc
- Repository Design Pattern: medium.com/@pererikbergman/repository-design-pattern-e28c0f3e4a30
Gear Used:
Keyboard: ZSA Voyager
Mouse: amzn.to/3UbDaHM
Camera: amzn.to/4eFPvvP
Lens: amzn.to/3YmMR8v
Microphone: amzn.to/4eFPvvP
Video Interface: amzn.to/3zUjRvF
Audio Interface: amzn.to/3U8Zd1s
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:49 SQLc
00:04:02 Sponsor
00:05:43 Simple Example
00:07:22 Define Schema
00:08:14 Define Queries
00:09:03 Query Annotations
00:10:11 Code Gen Config
00:10:55 Installing SQLc
00:11:28 Generated Code
00:12:18 Integration
00:14:07 Insert Query
00:16:12 Returning *
00:17:49 Overrides
00:20:04 json tags
00:20:31 Embedded Structs
00:22:05 Prepared Statements
00:22:36 Transactions
00:26:25 Query Organization
Linux only stream...
twitch link: twitch.tv/dreamsofcode_dev
Linux only stream...
twitch link: twitch.tv/dreamsofcode_dev
Linux only stream...
twitch link: twitch.tv/dreamsofcode_dev
This video was sponsored by Brilliant.
If you're running a server with SSH on it, then hardening ssh is an important step to improving your system security. One approach to hardening SSH that many users perform is to change ssh off of the standard port of 22 onto something else.
In my case however, I tend not to do this, as I feel it's security through obscurity and ineffective. Not only does it not work, but, it can also cause other issues...
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Video Links:
- Okta STO: okta.com/identity-101/security-through-obscurity
- Privileged ports: w3.org/Daemon/User/Installation/PrivilegedPorts.html
- Elastic Rule: elastic.co/guide/en/security/current/potential-non-standard-port-ssh-connection.html
- Fail2ban: github.com/fail2ban/fail2ban
- DIgital Ocean Harden SSH: digitalocean.com/community/tutorials/how-to-harden-openssh-on-ubuntu-20-04
- Shodan: shodan.io
- GreyNoise SSH Bruteforcer: viz.greynoise.io/tags/ssh-bruteforcer-attempt?days=30
00:00:00 - Intro
00:00:54 - Sponsor
00:02:17 - Security through obscurity
00:03:42 - It's only a matter of time
00:05:30 - Not all ports are the same
00:07:56 - Complexity is the enemy of security
00:08:25 - Obscurity as an indentifier
00:09:05 - Port Privilege
00:09:43 - More security issues
00:10:58 - Why I don't change the ssh port
00:11:27 - Other approaches to reduce log spam
twitch link: twitch.tv/dreamsofcode_dev
Twitch link: http://twitch.tv/dreamsofcode_dev
It's been a few years since I set up a VPS from scratch, and given how easy it is to now deploy on Serverless platforms, I always thought it would be challenging to replicate the same developer and user experience using a pure VPS.
As it turns out, I was wrong...
This video is sponsored by Hostinger. A big thank you to the team for providing me with a VPS instance to use throughout this video.
This video is now available in Blog format at: dreamsofcode.io/blog
Links:-
Hostinger - hostinger.com/dreamsofcode
Guestbook Code - github.com/dreamsofcode-io/guestbook
Docker Install - docs.docker.com/engine/install/ubuntu/#install-using-the-repository
Traefik - doc.traefik.io/traefik/getting-started/install-traefik
Watch Tower - https://containrrr.dev/watchtower/
Products I use:-
Portable Whiteboard: amzn.to/4d7Eou7
Camera: amzn.to/4kHx2lk
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 Intro
00:01:10 Requirements
00:03:20 Sponsor
00:04:27 VPS Set up
00:06:02 Add User
00:06:48 Req 1: Domain Name
00:07:41 Tmux
00:08:21 Hardening SSH
00:10:31 Web ApP Running
00:12:16 Containerization
00:13:08 Install Docker
00:13:47 Docker Compose
00:14:45 Firewall
00:17:16 Reverse Proxy
00:19:47 Load Balancing
00:20:23 High Availability
00:21:13 TLS + HTTPS
00:23:33 HTTP Redirect
00:24:15 Automated Deployments
00:27:00 Rolling Release
00:27:58 Monitoring
Twitch link: http://twitch.tv/dreamsofcode_dev
Now, elastic is coming back, and perhaps the tide is shifting.
Links:
elastic.co/blog/elasticsearch-is-open-source-again
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Function Iterators
With the new version of Go now released, I decided to give function iterators another look, and it turns out, the team fixed my biggest concern with the feature in the first place.
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Kicking some SaaS... again.
Twitch link: http://twitch.tv/dreamsofcode_dev
Fortunately, there is another option out there. The V10 max, which is almost a perfect option for those looking for a more affordable alternative.
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
As a disclosure: The v10 max was sent to me for free in order to do a review.
Product Link:
keychron.com/products/keychron-v10-max-qmk-via-wireless-custom-mechanical-keyboard?variant=40867975299161
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Getting started learning any language can be difficult, so in this video, I provide 5 project ideas to help you jump in to learning Go!
Video Links:
Project Repository: github.com/dreamsofcode-io/goprojects
Scraping Website: scrape-me.dreamsofcode.io
URL Shortener Website: https://dree.my
Some great Go resources:
Effective Go: https://go.dev/doc/effective_go
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 - Intro
00:00:21 - Idea 1
00:02:41 - Idea 2
00:04:00 - Sponsor
00:05:28 - Idea 3
00:07:43 - Idea 4
00:09:48 - Idea 5
It's time to build a new company!
Keyboards are pretty much the tool we interface with most when it comes to software development, and yet there's a single key on our keyboards that I feel is without a doubt the worst key when it comes to writing code. Fortunately, we can turn it into something much better.
Video Links:
- Github Repo: github.com/dreamsofcode-io/escapecontrol
- Karabiner Elements: karabiner-elements.pqrs.org
- Caps2Esc: gitlab.com/interception/linux/plugins/caps2esc
- Kanata: github.com/jtroo/kanata
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
Today, I decided to build a photography portfolio using Hugo.
Squarespace is just too expensive.
My nix config is in disarray, time to refactor a little.
Chill
This was much more of a challenge than I initially thought.
Normally, I would reach for a third party dependency when building a terminal UI component. However, this time I decided to write it from scratch, and whilst I learnt an awful lot, it was definitely harder than I expected.
Github Project: github.com/dreamsofcode-io/terminal-ui
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
It's time to turn the raspberry pi into a powerhouse
Secrets are something we often have to deal with as software developers, but unfortunately a huge number of them still make their way as hardcoded secrets in to our codebases.
Resolving and preventing hardcoded secrets is possible to do, but can sometimes feel a little obscure. Fortunately this video shows how you can resolve them.
Video Links:
Git Guardian 10M: gitguardian.com/state-of-secrets-sprawl-report-2023
Git Leaks: github.com/gitleaks/gitleaks
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
I'm extending my git commit generator with some charm functionality.
Let's build a new website
Bash in the browser? It's more likely than you'd think.
Bash is often my go to for writing shell scripts, and by doing so, it allows me to easily automate a lot of my workflow.
However, the syntax of bash is kinda weird at times, and I often wonder if it'd just be quicker to use a compiled language.
Fortunately, thanks to scriptisto, we're able to use other programming languages such as C, Go, & Rust for writing scripts. But is it any better?
Video Links:
Scripisto: github.com/igor-petruk/scriptisto
Twitch: twitch.tv/dreamsofcode_dev
Become a better developer in 4 minutes: bit.ly/45C7a29 👈
Join this channel to get access to perks:
youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: discord.com/invite/eMjRTvscyt
Join Twitter: twitter.com/dreamsofcode_io
00:00:00 - Intro
00:01:17 - C
00:04:04 - Sponsor
00:05:08 - Go
00:06:02 - Rust


