Coding a Web Server in 25 Lines - Computerphile ⌘ Read more
Go Gin 框架與 Let’s Encrypt 集成指南
本文將深入探討如何在 Go 語言的 Gin 框架中集成 Let’s Encrypt,以實現自動化管理 SSL/TLS 證書。Let’s Encrypt 作爲一個免費、自動、開放的證書頒發機構,能讓 HTTPS 部署變得簡單便捷。通過該教程,您將瞭解到如何配置 Gin 以支持 HTTPS 服務,並自動從 Let’s Encrypt 申請和續簽證書,確保 Web 應用的安全可靠性。爲什麼需要 Let’ ⌘ Read more
Discovery Zone – Pair A Dice
Discovery Zone shares one more transportive single ahead of the release of her new album Quantum Web, out March 8th on RVNG. Video directed by Jennifer Juniper Stratford.
Go Gin 框架定義路由日誌格式
在本文中,我們將深入探討如何在 Go 語言的 Gin 框架中自定義路由日誌的格式。Gin 是一個高性能的 HTTP web 框架,它提供了一個默認的日誌格式,但在實際的開發環境中,我們可能需要根據特定的業務需求調整日誌輸出的格式。我們將從瞭解 Gin 的默認日誌格式開始,逐步地引導你自定義和擴展路由日誌的輸出方式。文章內容將詳實介紹相關的代碼實現,以確保你能夠在自己的工作中靈活運用。Gin 框架默 ⌘ Read more
Go Gin 框架的模型綁定與驗證詳解
在 Web 開發中,模型綁定和驗證是確保數據完整性和減少安全風險的重要步驟。Go 語言的 Gin 框架提供了強大而靈活的模型綁定和驗證機制,本文將深入講解 Gin 框架中如何進行模型綁定和驗證,以及如何自定義驗證器。在 Gin 框架中,模型綁定通常指將請求的數據(例如 JSON、表單數據)綁定到指定的結構體上,而驗證則是確保綁定後的數據符合我們設置的規則。Gin 框架使用binding標籤來實現模 ⌘ Read more
Go 語言版本 1-22 的路由增強功能
Go 1.22 對 net/http包中的路由器進行了兩項增強:方式匹配和通配符。這些特性允許你將常見的路由表示爲模式,而非 Go 代碼。儘管這些功能簡單易解釋和使用,但想選擇成功模式的正確規則(當多個模式匹配一個請求時)依然是個挑戰。我們作出這些改變是爲了持續讓 Go 成爲構建生產系統的優秀語言。我們研究了許多第三方 web 框架,提取出我們認爲最常用的特性,並將它們集成進 net/http。然 ⌘ Read more
使用 Gin 框架中的 PureJSON 發送未轉義的 JSON
當我們使用 Go 的 Gin web 框架來構建 RESTful API 時,通常會遇到返回 JSON 響應的需求。Gin 框架提供了c.JSON方法來以 JSON 格式發送回覆,同時它會對特殊字符進行轉義,比如把 < 轉換爲 \u003c。但在某些情況下,我們需要發送未轉義的 JSON 數據,這時我們就可以使用 Gin 框架中的c.PureJSON方法。在 Gin 框架中,c.PureJSON方 ⌘ Read more
How to Watch Super Bowl 58 Free from iPhone, Apple TV, Mac, iPad, Web
Super Bowl 58 (or Super Bowl LVIII) is set to begin on February 11 at 3:30PM PT / 6:30PM ET, where the San Francisco 49ers will face the Kansas City Chiefs at Allegiant Stadium in Las Vegas, Nevada. The game is being aired on CBS live, but if you don’t have a TV with an … Read More ⌘ Read more
How to Batch Convert Images to WebP on Mac
As WebP grows in popularity as a compressed image format for the web, many web workers need to convert batches of images to WebP format from their Mac. Bulk converting images like JPG and PNG to WebP is not currently a native feature, but with a little tinkering on the Mac, you can gain functionality … Read More ⌘ Read more
Go Gin 項目記錄日誌的最佳實踐
在任何一個複雜的軟件項目中,日誌記錄是必不可少的。無論是調試程序、監控系統狀態,還是統計用戶行爲,日誌都扮演了重要的角色。在 Go 的世界裏,Gin 是一種快速,簡單,靈活,優雅的 Web 框架,同時也提供了豐富的日誌記錄功能。本文將分享在 Gin 項目中如何進行高效的日誌記錄。創建 Gin 實例與中間件使用—————在創建 Gin 實例時,gin.Default()會默認加載 ⌘ Read more
使用 Go Gin SecureJSON 技術保護你的 JSON 數據
網絡上的安全問題一直是不能小覷的難題,尤其在 web 開發中,JSON 劫持就是其中的一種。這篇文章,我們將聚焦在 Go 框架 Gin 下的 SecureJSON 使用,來保護我們的 JSON 數據。什麼是 JSON 劫持?————JSON 劫持是一種網絡攻擊手段,攻擊者利用 JavaScript 的這個特性獲取到不屬於自己的數據。由於 JSON 數據一般包含非常敏感的個人信息,例 ⌘ Read more
How to Convert Images to Webp on Mac from Command Line
Do you need to convert images to webp format from the Mac? Converting images to WebP offers tremendous file size savings, often compressing an image up to 70% without losing image quality, so it’s understandable why many Mac users and web developers, designers, and workers would wish to convert and compress images into WebP format. … Read More ⌘ Read more
How to Convert Images to Webp on Mac from Command Line
Do you need to convert images to webp format from the Mac? Converting images to WebP offers tremendous file size savings, often compressing an image up to 70% without losing image quality, so it’s understandable why many Mac users and web developers, designers, and workers would wish to convert and compress images into WebP format. … Read More ⌘ Read more
Go Web 開發不得不說的請求路由
*1. 請求路由的概念請求路由的定義:請求路由是指將客戶端的請求與服務器上對應的處理程序匹配和映射的過程。它決定了不同的 URL 或 API 請求被映射到哪些處理函數。請求路由的作用:請求路由實現了請求與處理函數之間的解耦,使代碼更加模塊化。同時,它也使得 URL 和 API 更符合 RESTful 設計規範。請求路由還可以實現諸如負載均衡、緩存、日誌記錄、身份驗證等功能。2. net/http ⌘ Read more
Go Gin 框架實現優雅地重啓和停止
在 Web 應用程序中,有時候我們需要重啓或停止服務器,無論是因爲更新代碼還是進行例行維護。在這種情景下,我們需要保證應用程序的可用性和數據的一致性。這就需要優雅地關閉和重啓應用程序,即不丟失正在處理的請求和不拒絕新的請求。在本文中,我們將詳解如何在 Go 語言中使用 Gin 這個框架實現優雅的重啓和停止。什麼是優雅重啓和停止———-優雅地重啓或停止一個 Web 服務就是指當我們需要更 ⌘ Read more
史上最詳細的 Gin 中間件使用教程
在本文中,我們將深入討論 Go-Gin 的中間件,詳細瞭解它們呈現如何有效地在任何特定的 Web 應用程序中插播操作。此外,我們還將瀏覽一些示例,幫助大家更好地理解。什麼是中間件?——-在討論 Gin 中間件之前,首先我們需要明確中間件的概念。中間件基本上是一個函數,它在您的應用程序收到請求和發送響應之間插播處理。在實際開發中,中間件被廣泛用於處理如日誌記錄、身份驗證、會話管理等方面。Gi ⌘ Read more
Go 一文帶你喫透 HTTP 客戶端!
*1. HTTP 請求簡介HTTP(Hypertext Transfer Protocol) 是構建 web 應用通信的基石。HTTP 工作於客戶端 - 服務端架構上。HTTP 客戶端發起請求, 服務器接收請求並返回響應。HTTP 請求主要由請求行、請求頭、請求體組成請求行 GET /search?name=Golang HTTP/1.1請求頭部 Host: www.baidu ⌘ Read more
Discovery Zone – All Dressed Up With Nowhere to Go
Discovery Zone shares another enchanting track + video from her forthcoming LP Quantum Web, coming in March on limited hologram edition LP via RVNG Intl… Continue reading… ⌘ Read more
Play Tetris on the Mac (or Any Device) via the Web
Tetris is a classic and fun game that has hallmark simple yet challenging gameplay. Something about trying to piece together falling geometric shapes into lines is satisfying, and considering there are some studies that demonstrate Tetris may be good for the brain, what’s not to like? But if you want to play Tetris on your … Read More ⌘ Read more
Ignite Realtime Blog: Presence Service plugin v1.7.2 release
The Presence Service plugin is a plugin for Openfire. It provides a service that provides simple presence information over HTTP. It can be used to display an online status icon for a user or component on a web page or to poll for presence information from a web service.
A new release is now available for this plugin: version 1.7.2.
In this release, an incompatibility with the recently released Openfire 4.8.0 was fixed. Als … ⌘ Read more
Georg Lukas: Converse.js webchat for prosody-hosted chatrooms
The goal of this post is to make an easily accessible (anonymous)
webchat for any chatrooms hosted on a prosody XMPP
server, using the web client converse.js.
There are two use cases:
Have an easily accessible default support room for users having trouble with
the server or their accounts.Have a working “Join using browser” button on
[search.jabber.network … ⌘ Read more
@eaplme@eapl.me
I could try and host timetime it does look nice.
That part is missing on the Web side, there is a commented PHP code to do that
https://github.com/eapl-gemugami/twtxt-php/blob/master/libs/TOTP.php#L121
That code would end up generating an totp secret that I could put into the config?Does it have a way to follow feeds from the web ui?
Yes, but you have to be logged in. Currently can only add URLs, not edit or unfollow.
How would I edit or unfollow?
That fit website would be nice to just genete a secret and put it into the .config and then using the totp code to login.
使用 Golang Fiber 快速創建高性能的 Web 應用程序
Golang Fiber 是一個靈感來源於 Express.js 的 Web 開發框架,它旨在簡化 Go 語言中的 HTTP 服務開發,同時提供極高的性能。它基於 Fasthttp,這是一個快速的 HTTP 引擎,專爲高性能而設計。在這篇文章中,我們會詳細介紹如何使用 Fiber 創建 web 應用程序,並提供豐富的示例。開始前的準備——在開始之前,確保你已安裝了 Go 語言環境。你可以在 ⌘ Read more
@eaplme@eapl.me
Yarn could the twtxt I want more then regular twtxt. Though I do like not having to host a yarn pod.
That client looks really cool. A web client that connects to a regular twtxt without the need to host a full yarn pod for just one user and feed.
What is the difference between twtxt-php and timeline from sorenpeter? Does it have a way to follow feeds from the web ui?
I was looking at it and what prevents someone from downloading the .config file and getting the password? Also how would I generate a totp password to use?
I should try to host that it might be the right not a full on yarn pod but also can post from my phone.
The weird thing is in my server logs it shows that your site pulled in the useragent as https://eapl.me/twtxt/?url=https%3A//neotxt.dk/user/darch/twtxt.txt with bytesypider from bytedance? That sounds weird. Plus I can’t grep just twtxt in my logs and find your feed.
How to Open a Pop-up Window on Mac in Safari
While pop-up windows have long been the bane of the web, some websites require the use of pop-up windows for various reasons. Safari for Mac will automatically block pop-up windows, but since some websites require the usage of popup windows, you may end up in a situation where you need to open a pop-up window … Read More ⌘ Read more
90% of web apps are just fancy forms.
Templ - 一種更好的管理 HTML 模板的 Go 語言框架
背景介紹在開發 Web 應用時我們常常需要寫 HTML 代碼以構建用戶界面。然而,創建和管理 HTML 模板可能會變得非常複雜和困難,特別是在大型項目中。要優化並整理這些模板代碼,我們需要一個強大且易於使用的模板語言。這種需求在使用 Go 語言開發 Web 應用時尤爲突出,因爲 Go 語言在內建支持的模板語言方面還不夠友好,尚有待提升。今天要給大家推薦一個 GitHub 開源項目 a-h/temp ⌘ Read more
Go 項目的簡單部署
概述–在上一篇筆記記錄了 Gin 實現簡單的註冊登錄和狀態管理。這一篇筆記來分享一下如何將上面的項目打包鏡像和部署,筆記分成三部分,分別是 Web 後端項目 Docker 鏡像的構建、使用 Docker 運行、使用 Docker Compose 和 k8s 部署容器。使用 Ingress 路由規則和 Web 前端的部署運行在下一篇筆記中記錄。構建 Docker 鏡像————概述構 ⌘ Read more
Discovery Zone – Mall of Luv
Video by Discovery Zone + James Barry. Discovery Zone’s Quantum Web is coming in 2024 on RVNG… Continue reading… ⌘ Read more
With all M$’s apps being basically fancy web apps, there is no need to actually install any of their legacy applications locally anymore. Since I am online basically 100% of the time this turns my Office experience in a Chromebook like one. No installs, never outdated software. Just a yearly subscription contribution to worry about.
@eapl.me@eapl.me I have many fond memories of Turbo pascal and Turbo C(++). They really did have a great help system. And debug tools! Its rare for language docs to be as approachable. QBasic was great. As was PHP docs when I first came into web.
Feeling nostalgia for simpler web development times.
17 個開源的 Go 語言博客和 CMS 解決方案
Go 語言,也稱爲 Golang,是一種爲構建高效、可靠和可擴展軟件而設計的開源編程語言。它於 2007 年在 Google 開發,現在廣泛用於開發 Web 應用程序、網絡工具和系統軟件。爲什麼使用基於 Go 的 CMS 解決方案?———————-這些優勢使 Go 成爲開發可擴展、高性能應用程序的熱門選擇。在使用 Go 構建基於 Web 的解決方案時,其速度是其中一個主 ⌘ Read more
無縫集成 GORM 與 Go Web 框架
探索 GORM 與流行的 Go Web 框架之間的和諧集成,以實現高效的數據管理—————————————-高效的數據管理是每個成功的 Web 應用程序的基礎。GORM,多才多藝的 Go 對象關係映射庫,與流行的 Go Web 框架非常搭配,提供了無縫集成,簡化了數據交互。本指南將帶您探索 GORM 與諸如 Gin、Echo 和 Beego 等 ⌘ Read more
How to Set Default Web Browser in MacOS Sonoma
If you’re wondering how you can set the default web browser in macOS Sonoma to something else, maybe to Chrome, Firefox, Brave, or perhaps even back to Safari, you’ll find that it is relatively easy to do so. However, like so many other adjustments and tweaks to the latest macOS versions, it is different compared … Read More ⌘ Read more
Interesting thing happening over on Xitter. Apparently some of the women in tech accounts are being exposed as being run by men that hire women to pose for images/videos. They would be invited to tech conferences but would always drop out last minute.

Makes me wonder if maybe there is need for a sort of verifiable web of trust is needed where influencers can be proven as authentic by others. This will only get worse as AI generative content gets pushed into our feeds.
Got a great idea for an web app: a flashlight app which uses media-queries to detect if the light, aka the body of the page, should be on (white) or off.
Fix “Gmail is having authentication problems. Some features may not work.” Error
Some Gmail web client users may occasionally see a red error message at the top of their Gmail inbox that says “Gmail is having authentication problems. Some features may not work. Try logging in to fix the problem.” The error can persist sometimes even on a logged in account, and if you have logged back … [Read More](https://osxdaily.com/2023/11/21/fix-gmail-having-authentication-problems-error … ⌘ Read more
PSA: Content Blockers May Break Captive Portal Wi-Fi Login Pages
Here’s a helpful bit of knowledge that you may want to keep in mind when traveling or using public wi-fi spaces; if you use Content Blockers in Safari or your web browser, that content blocker may break a wi-fi’s captive portal login page, thereby preventing you from joining that particular wireless network. This applies to … [Read More](https://osxdaily.com/2023/11/12/psa-content-blockers-may-break-captiv … ⌘ Read more
I’ve completed the transition of oh.mg being fully self-hosted from web to mail
Watch YouTube Without Ads with FreeTube for Mac, Windows, Linux
YouTube is the webs most popular video site by a long shot, practically serving as a television replacement for millions. But as any Youtube viewer knows, the ads can be very aggressive and there are times where you’ll have to watch a 30 second ad before you can watch one minute of content, which is … Read More ⌘ Read more
The next big social network is just the Web ?~L~X https://notiz.blog/b/6k2
How to Install Safari Technology Preview on Mac
Safari Technology Preview is an optional web browser for Mac that is separate from the regular Safari browser, with the Tech Preview offering an early look at upcoming web technologies and features before they become included in the primary Safari browser. In this way, Safari Tech Preview is kind of like Google’s Chrome Canary, and … Read More ⌘ Read more
Getting Started with JupyterLab as a Docker Extension
JupyterLab is a web-based interactive development environment (IDE) that allows users to create and share documents that contain live code, equations, visualizations, and narrative text. It is the latest evolution of the popular Jupyter Notebook and offers several advantages over its predecessor. We provide an overview the JupyterLab architecture and explain how to start using JupyterLab as a Docker extension. ⌘ Read more
https://movie-web.app/search/movie streaming film serie
Youpi ! La lutte contre “la haine” sur les intertubes continue de plus belle !
Le bruit de fond, léger il y a encore quelques années, devient progressivement plus fort : selon lui, il semble évident que les intertubes, les réseaux sociaux et le web permettent une fois encore aux discours de haine de proliférer. C’est honteux ! C’est bien simple : il ne se passe plus une semaine sans qu’on voie une […] ⌘ Read more
USENET, the OG social network, rises again like a text-only phoenix
The USENET management committee has reconvened and there are green shoots of growth in the original, pre-World Wide Web social network.