Skip to content

Instantly share code, notes, and snippets.

@GrooveStomp
GrooveStomp / 8790
Created March 17, 2022 00:48
GTR 2 FIA GT Racing Game (8790)
STEAM_COMPAT_DATA_PATH=/path/to/steamapps/compatdata/8790 \
WINEPREFIX=/path/to/steamapps/compatdata/8790/pfx \
STEAM_CLIENT_INSTALL_PATH=/path/to/steam/root \
WINEPATH=/path/to/steamapps/common/Proton\ 7.0/dist/bin/wine64 \
winecfg
# Now select Windows XP compatibility mode.
WINE=/path/to/steamapps/common/Proton\ 7.0/dist/bin/wine protontricks 8790 -q mfc42
WINE=/path/to/steamapps/common/Proton\ 7.0/dist/bin/wine protontricks 8790 -q d3dx9
@GrooveStomp
GrooveStomp / keybase.md
Last active October 15, 2020 21:17
keybase.io

Keybase proof

I hereby claim:

  • I am groovestomp on github.
  • I am groovestomp (https://keybase.io/groovestomp) on keybase.
  • I have a public key ASBGGHrhUEabXbRQ7yRyDuN0F2AW2X0raYhnM4T3Q2AwAgo

To claim this, I am signing this object:

@GrooveStomp
GrooveStomp / build.go
Created December 13, 2017 17:11
go build
package main
import (
"archive/tar"
"bytes"
"compress/gzip"
"flag"
"fmt"
"io"
"io/ioutil"
@GrooveStomp
GrooveStomp / build.sh
Created December 13, 2017 17:10
bash build
#!/usr/bin/env sh
rm -f confluence_tool
GOOS=linux GOARCH=amd64 go build -o confluence_tool main.go
if [ -f confluence_tool ]; then
tar -czf confluence_tool.linux.tar.gz confluence_tool data
fi
GOOS=darwin GOARCH=amd64 go build -o confluence_tool main.go
@GrooveStomp
GrooveStomp / ruby-2.3.0-preview1-crash.txt
Last active December 1, 2015 00:52
Ruby 2.3.0 Preview1 Crash
# ↳ cat test.rb
# require 'ostruct'
#
# thread = Thread.new { 0 }
# thread.name = OpenStruct.new
#
# puts thread.inspect
↳ test.rb:4:in `<main>'
ruby test.rb
@GrooveStomp
GrooveStomp / emacs-crash.txt
Created September 1, 2015 18:04
I just crashed Emacs. Whoa!
Fatal error 11: Segmentation fault
Backtrace:
emacs[0x4f74cb]
emacs[0x4dcf3e]
emacs[0x4f611e]
emacs[0x4f6283]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f3fa0901340]
/lib/x86_64-linux-gnu/libc.so.6(getenv+0xad)[0x7f3fa05678dd]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XkbGetCharset+0xd)[0x7f3fa3aae25d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XkbTranslateKeySym+0x1e2)[0x7f3fa3aaca12]
@GrooveStomp
GrooveStomp / di_sample.rb
Last active August 29, 2015 14:10
Ruby Dependency Injection
class Rabbit
def initialize(color, size)
@color = color
@size = size
end
def hop
if @color == 'blue'
puts "hopped #{2 * @size} feet"
else
@GrooveStomp
GrooveStomp / concurrent-ruby-rake-output
Created July 28, 2014 19:33
concurrent-ruby rake run failures
Pending:
Concurrent::Agent clojure-like behaviour waits with sending functions to other agents until update is done
# Not yet implemented
# ./spec/concurrent/agent_spec.rb:436
Failures:
1) Concurrent::RubyThreadPoolExecutor#overload_policy :caller_runs #post does not create any new threads when the queue is at capacity
Failure/Error: expect(Thread.list.length).to be < initial + 5
expected: < 8
@GrooveStomp
GrooveStomp / rspec-spec-output
Created July 22, 2014 18:02
concurrent-ruby spec run
↳ rspec spec
No DRb server is running. Running in local process instead ...
Compiled extensions not installed, pure Ruby Atomic will be used.
...............................................................................................................................................................................................................................................................................................................................
................................................................................................................*..............................................................................................................................................................................................................
..................................................................................................................................................................................................................................................