Skip to content

Instantly share code, notes, and snippets.

@DAMO238
DAMO238 / convert-stl-obj.py
Created July 13, 2020 15:17
Blender python file to convert an stl file into an obj file.
#!/bin/python
import bpy
import sys
argv = sys.argv
argv = argv[argv.index("--") + 1:] # get all args after "--"
candidate_list = [item.name for item in bpy.data.objects if item.type == "MESH"]
@DAMO238
DAMO238 / dump
Created June 8, 2020 21:27
qt5ct backtrace
This file has been truncated, but you can view the full file.
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
@DAMO238
DAMO238 / gist:a3ea7bd1b831dd17f38269803883cc5c
Created April 16, 2020 17:52
Build output of venom (AUR)
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true Venom-0.5.4 build -D b_pie=false
The Meson build system
Version: 0.54.0
Source dir: /home/damien/.cache/yay/venom/src/Venom-0.5.4
Build dir: /home/damien/.cache/yay/venom/src/build
Build type: native build
Project name: venom
Project version: 0.5.4
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
@DAMO238
DAMO238 / gist:87121b4a885a0d4b92e70a9b18a0bc19
Created February 21, 2020 21:02
DAMO238-DOOM-proton-logs
This file has been truncated, but you can view the full file.
======================
Proton: 1581370036 proton-5.0-2
SteamGameId: 379720
Command: ['/home/damien/Games/SteamLibrary/steamapps/common/DOOM/DOOMx64.exe']
Options: set()
======================
ERROR: ld.so: object '/home/damien/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/damien/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/damien/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/damien/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
@DAMO238
DAMO238 / gist:a1de999b602e59c964553ef0a2b17c8e
Created February 21, 2020 20:54
DAMO238-steam-sysinfo
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
CPU Family: 0x6