Skip to content

Instantly share code, notes, and snippets.

@MikeHardIce
MikeHardIce / C++_GTK4_VSCode_Ubuntu.md
Last active November 30, 2025 00:03
VSCode and gtkmm set up on Ubuntu for C++ and GTK 4

Overview

Setting up C++ with GTK 4 is not super straight forward. Especially how to include the dependencies so that VS Code can debug/run it.

  1. Install devtools
sudo apt-get update
sudo apt-get install build-essential gdb
  1. Install C/C++ Extension Pack by Microsoft in VSCode
@MikeHardIce
MikeHardIce / core.clj
Created February 26, 2021 20:30
Clojure Web Api Template
(ns api-template.core
(:require [ring.adapter.jetty :as jetty]
[ring.middleware.json :as json]
[compojure.core :refer :all]
[compojure.route :as route])
(:gen-class))
(defroutes api-route
(GET "/hello" [] {:body {:msg "Hello to you from json"}})
(route/not-found "Nothing for you"))