Skip to content

Instantly share code, notes, and snippets.

View jtwebman's full-sized avatar
🌱

JT Turner jtwebman

🌱
View GitHub Profile
@jtwebman
jtwebman / t3code-linux-deb-support.md
Created March 7, 2026 09:56
T3 Code Desktop — Linux / WSL2 .deb Support

T3 Code Desktop — Linux / WSL2 .deb Support

What changed

This branch adds .deb packaging for T3 Code Desktop so it can run natively on Linux (including WSL2 via WSLg).

Key changes:

  • .deb build targetbuild-desktop-artifact.ts now supports --platform linux --target deb, generating properly sized icons at build time via ImageMagick and including deb post-install/remove scripts.
  • CLI wrappers — Installing the .deb creates t3code and t3-code commands in /usr/local/bin that launch the app in the background (won't block your terminal).
  • Native window controls on Linux — Uses Electron's titleBarStyle: "hidden" with titleBarOverlay for native minimize/maximize/close buttons styled to match dark/light theme. No custom frameless window hacks needed.
/*
This is a simple script that reads files in the patches folder under the folder this file is in and runs then
getDBConnection = just pg-promise gets a pg-promise pool db object connected to the DB.
*/
'use strict';
const config = require('config');
const fs = require('fs');
const path = require('path');
@jtwebman
jtwebman / graphql
Created December 4, 2019 17:02
Github API V4 GraphQL Query For Users Repo Language Count
{
user(login: "jtwebman") {
repositories(isFork: false, privacy: PUBLIC, ownerAffiliations: [OWNER], first: 100, orderBy: {field: NAME, direction: ASC}) {
totalCount
nodes {
name
owner {
login
}
languages(first: 100, orderBy: {field: SIZE, direction: DESC}) {
@jtwebman
jtwebman / keybase.md
Created September 23, 2014 14:08
Keybase

Keybase proof

I hereby claim:

  • I am jtwebman on github.
  • I am jtwebman (https://keybase.io/jtwebman) on keybase.
  • I have a public key whose fingerprint is 04E5 FD29 C310 6FC2 A647 4A53 B226 138F 1F05 90E2

To claim this, I am signing this object: