Skip to content

Instantly share code, notes, and snippets.

View ZacJoffe's full-sized avatar

Zac Joffe ZacJoffe

View GitHub Profile
GloriousEgroll actually added a fix for the Kernel issue for this game but CEG still makes it impossible to launch through Proton.
Guide to playing Black Ops II on Linux:
Make sure you have Vulkan libraries, your graphics driver and Lutris installed. GloriousEgroll's "Get out of Wine dependency hell" could help.
Install the runner "Steam Wine" through Lutris. Set the Wine version to newest you can find on Lutris, anything before 5.6 won't work.
Set these as Environment variables under System Options of Wine Steam.
DXVK_STATE_CACHE = 1
DXVK_STATE_CACHE_PATH = /home/(your username)/.local/share/lutris/runners/winesteam/prefix64/
@CodyReichert
CodyReichert / react-es6-flow-emacs-configuration.md
Last active June 21, 2025 13:28
Configuring Emacs for react, es6, and flow

Configuring Emacs for react, es6, and flow

For a while, JSX and new es6 syntax had flaky support in emacs, but there's been huge work on a lot of packages. Using emacs for JavaScript with React, ES6, and Flow (or Typescript, etc) is really easy and powerful in Emacs these days.

This is how you can work on modern web development projects with full support for tooling like JSX, Flow types, live eslint errors, automatic prettier.js formatting, and more.

Set up web-mode

web-mode provides most of the underlying functionality, so a huge shout-out to the maintainer(s) there.

@c33k
c33k / xmonad-configurations.md
Last active November 2, 2023 14:19
Xmonad default shortcuts and a simple tutorial on how to change it adding volume controll shortcuts.

A list of xmonad default keyboard shortcuts.

alt+shift+ENTER: opens terminal
alt+SPACE: change layout
alt+K, alt+J: change window focus
alt+H, alt+L: decreases/increases border size between windows
alt+shift+C: close focused window
alt+ENTER: move focused window to the master pane on the left
alt+shift+Q: log out
alt+Q: reload xmonad configurations

@trusktr
trusktr / DefaultKeyBinding.dict
Last active December 4, 2025 13:34
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers