Skip to content

Instantly share code, notes, and snippets.

View dreamer's full-sized avatar

Patryk Obara dreamer

  • EU/Poland/Wrocław
View GitHub Profile
@dreamer
dreamer / arx_debug_gl_OFF
Created August 7, 2019 21:26
Game is missing textures:
[I] Startup:163 Starting Arx Libertatis 1.2-dev + db77aa2
[I] ArxGame:340 Using config file "/home/dreamer_/.config/arx/cfg.ini"
[I] SDL2Window:178 Using SDL 2.0.9
[W] SDL2Window:443 SDL is using the X11 video backend but GLEW was built without GLX support
[W] SDL2Window:445 Try setting the SDL_VIDEODRIVER=wayland environment variable
[I] SDL2Window:478 Window: X11 r:8 g:8 b:8 a:0 depth:24 aa:8x doublebuffer:1
[I] OpenGLRenderer:106 Using GLEW 1.10.0
[I] OpenGLRenderer:119 Using OpenGL 4.5 (Compatibility Profile) Mesa 19.1.3
[I] OpenGLRenderer:123 ├─ Vendor: X.Org
[I] OpenGLRenderer:127 ├─ Device: Radeon RX 590 Series (POLARIS10, DRM 3.32.0, 5.2.5-200.fc30.x86_64, LLVM 8.0.0)
let json_files = fs::read_dir("metadata.lux")?
.take_while(|e| e.is_ok())
.map(|e| e.unwrap().path())
.take_while(|p| true);
//.take_while(|p| p.extension().unwrap() == "json");
for p in json_files {
println!(":: {:?} {} {:?} {:?}", p, p.ends_with("json"), p.extension().unwrap(), p.extension().unwrap() == "json");
}
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#define __STDC_FORMAT_MACROS
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include <cstring>
template<typename T>
#include <cstdint>
#include <cstdio>
#include <ctime>
#include <list>
using namespace std;
/*
MS-DOS date and MS-DOS time are data formats associated with MS-DOS.
They are used in some file formats from the MS-DOS era. Each is a
#include <cstdint>
#include <cstdio>
#include <ctime>
/*
MS-DOS date and MS-DOS time are data formats associated with MS-DOS.
They are used in some file formats from the MS-DOS era. Each is a
16-bit integer.
MS-DOS date represents a day in the range 1980 to 2099 (or maybe 2107,
[dreamer_@tars dosbox-staging  master]$ flatpak list
Name Application ID Version Branch Origin Installation
Fondo com.github.calo001.fondo 1.3.8 stable flathub system
Marker com.github.fabiocolacio.marker 2020.04.04 stable flathub system
Foliate com.github.johnfactotum.Foliate 2.0.0 stable flathub system
Platform org.fedoraproject.Platform f31 fedora system
Platform org.fedoraproject.Platform f32 fedora system
Freedesktop.org Application Platform version 1.6 org.f
#include <cmath>
#include <cstdint>
#include <cstdio>
// uncomment the one to use:
//
#define bhaskar
//#define taylor
//#define stdf
//#define stdd
#include <cmath>
#include <cstdint>
#include <cstdio>
// uncomment the one to use:
//
#define bhaskar
//#define taylor
//#define stdf
//#define stdd
" == Plug configuration ================================================
"
" Specify directory for plugins
call plug#begin('~/.local/share/nvim/plugged')
" Colour schemes
"Plug 'dreamer/mustang-vim'
"Plug 'joshdick/onedark.vim'
Plug 'cocopon/iceberg.vim'
health#nvim_lsp#check
========================================================================
## Checking language server protocol configuration
- INFO: clangd: configuration checked.
- INFO: rls: configuration checked.
health#nvim#check
========================================================================
## Configuration