Skip to content

Instantly share code, notes, and snippets.

View thomas-gale's full-sized avatar

Thomas Gale thomas-gale

View GitHub Profile
@thomas-gale
thomas-gale / 2d-workspaces.sh
Created November 22, 2020 18:28 — forked from DrewMcArthur/2d-workspaces.sh
This script allows a simulation of a 2D grid of workspaces for i3wm
#!/bin/bash
#This script simulates a 2D grid of workspaces with i3.
#all you have to do is add the next line to your i3/config
#bindsym <keys> exec <path>/i3/workspaces.sh <direction> [move win]
#for example,
#bindsym Control+Mod1+Right exec ~/.config/i3/workspaces.sh right
@thomas-gale
thomas-gale / CONTRIBUTING.md
Last active March 9, 2021 11:00
Development Environment Setup

Using Docker + VSCode Development Environment

Caveat

  • GPU hardware forwarding to enable UI/OpenGL/Cuda stuff is only really supported on Linux.
@thomas-gale
thomas-gale / setup-openfoam-docker.sh
Last active November 21, 2021 17:58
OpenFOAM Docker Notes
#!/bin/bash
# Tested on mainline Arch Linux
# No dependencies other than docker/curl and assuming sudo configured.
# Following https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/docker#running-openfoam-in-a-container:
curl https://develop.openfoam.com/packaging/containers/-/raw/main/openfoam-docker -o openfoam-docker
sudo chmod +x openfoam-docker
# Check that script can be executed: