Skip to content

Instantly share code, notes, and snippets.

@bucketsize
bucketsize / dmesg
Last active December 14, 2023 19:44
SpiderMan Miles Morales crash [linux 6.6.0, proton experimental, nvidia 535]
[62524.474014] ptrace attach of "Z:\x5cmnt\x5cdata\x5c__steam_lib_4\x5csteamapps\x5ccommon\x5cMarvel's Spider-Man Miles Morales\x5cMilesMorales.exe"[229951] was attempted by "/
mnt/data/__steam_lib_4/steamapps/common/Proton - Experimental/files/bin/wineserver"[229814]
[62524.678249] BTRFS warning (device sda7): csum failed root 5 ino 267874 off 0 csum 0x9d6627ba expected csum 0x889c076f mirror 1
[62524.678254] BTRFS error (device sda7): bdev /dev/sda7 errs: wr 0, rd 0, flush 0, corrupt 130, gen 0
[62524.792468] ptrace attach of "Z:\x5cmnt\x5cdata\x5c__steam_lib_4\x5csteamapps\x5ccommon\x5cMarvel's Spider-Man Miles Morales\x5cMilesMorales.exe"[229910] was attempted by "/
mnt/data/__steam_lib_4/steamapps/common/Proton - Experimental/files/bin/wineserver"[229814]
[62524.922463] wineserver[229814]: segfault at 0 ip 00007f8d9a0ad6f4 sp 00007ffc138e27a0 error 4 in libnvidia-glvkspirv.so.535.129.03[7f8d99000000+2038000] likely on CPU 4 (cor
e 0, socket 0)
[62524.922475] Code: 00 00 00 00 00 90 53 48 8b 1f 48 89 df e
@bucketsize
bucketsize / Dockerfile
Last active January 15, 2020 14:17
Dockerfile and launch script for ubuntu-18.04 steam container
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install -y apt-utils
RUN apt-get install -y software-properties-common sudo
RUN dpkg --add-architecture i386
RUN apt-get update && apt-get upgrade -y --fix-missing
RUN apt-get install -y libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
@bucketsize
bucketsize / main.hs
Created February 14, 2019 18:46
fbuddy created by bucketsize - https://repl.it/@bucketsize/fbuddy
import Data.Char
fact :: Int -> Int
fact 0 = 1
fact n = n*fact (n-1)
caps :: IO ()
caps = do
contents <- getContents
putStr (map toUpper contents)
@bucketsize
bucketsize / main.hs
Created February 14, 2019 18:46
fbuddy created by bucketsize - https://repl.it/@bucketsize/fbuddy
import Data.Char
fact :: Int -> Int
fact 0 = 1
fact n = n*fact (n-1)
caps :: IO ()
caps = do
contents <- getContents
putStr (map toUpper contents)
@bucketsize
bucketsize / _vimrc
Created January 25, 2015 19:07
_vimrc
call pathogen#infect()
set nocompatible
syntax on
filetype plugin indent on
set history=100
set showmatch
set ruler
#!/usr/bin/gnuplot
# adapted from (http://gnuplot.sourceforge.net/demo/histograms.1.gnu)
# name: mtop.plot
# author: [email protected]
#set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 800, 300
set terminal pngcairo enhanced font "arial,10" fontscale 1.0 size 800, 300
set output 'mtop.png'
set key inside right top vertical Right noreverse noenhanced autotitles nobox
set datafile missing '-'
#!/usr/bin/ruby
# name: ptool.rb
# author: [email protected]
require 'pp'
USER='jb'
PUSER='jb'
PNAME='chrom'
module Hw.Core where
data Vector3 = Vector3 {
x :: Float,
y :: Float,
z :: Float
} deriving (Show, Eq)
zeroVector3 = Vector3 0.0 0.0 0.0
@bucketsize
bucketsize / java.vjde
Created July 4, 2014 04:02
fixed: Vim-JDE/plugin/vjde/tlds/java.vjde
// class header {{{1
template ClassHeader
parameter classname ;the name of class
body
\/*
* %{classname}.java 1.00 %{Time.now}
*
*/
endt
@bucketsize
bucketsize / .vimrc
Last active August 29, 2015 14:03
vimrc
call pathogen#infect()
set nocompatible
syntax on
filetype plugin indent on
set history=100
set showmatch
set ruler