Skip to content

Instantly share code, notes, and snippets.

View theghostmac's full-sized avatar
🌴
In between work and play.

MacBobby Chibuzor theghostmac

🌴
In between work and play.
View GitHub Profile
@graninas
graninas / What_killed_Haskell_could_kill_Rust.md
Last active June 21, 2025 03:17
What killed Haskell, could kill Rust, too

At the beginning of 2030, I found this essay in my archives. From what I know today, I think it was very insightful at the moment of writing. And I feel it should be published because it can teach us, Rust developers, how to prevent that sad story from happening again.


What killed Haskell, could kill Rust, too

What killed Haskell, could kill Rust, too. Why would I even mention Haskell in this context? Well, Haskell and Rust are deeply related. Not because Rust is Haskell without HKTs. (Some of you know what that means, and the rest of you will wonder for a very long time). Much of the style of Rust is similar in many ways to the style of Haskell. In some sense Rust is a reincarnation of Haskell, with a little bit of C-ish like syntax, a very small amount.

Is Haskell dead?

@mayneyao
mayneyao / notion2blog.js
Last active June 19, 2025 19:02
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@seintun
seintun / gist:4c0523c478012b3a99e5a536447ec1d4
Last active February 3, 2025 06:08
Deploy Go 🐿 with Docker 🐳 & AWS

1. 🐳Install Docker on your Mac

  • Official site: https://docs.docker.com
  • Create a Docker Hub account
  • A Docker whale will appear on status bar and click to login with your username password

2. 🐳Create Dockerfile

  • cd inside your Go Project that has RESTful API
$ cd myproject && touch Dockerfile
// Paste the following snippets into Dockerfile