Skip to content

Instantly share code, notes, and snippets.

View blogdron's full-sized avatar
👻

BLOGDRON blogdron

👻
View GitHub Profile
From adb14b14a8e8bdec3b30657080a26e57dd6fc050 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <ofourdan@redhat.com>
Date: Mon, 16 Nov 2020 16:50:24 +0100
Subject: [PATCH] window-props: Also check for actual values change
Commit e28c1ab4 added a hints_have_changed() function to only
recalculate windows features when the WM_NORMAL_HINTS change.
That function hints_have_changed() however was merely checking whether
the various XSizeHints flags where flipped, which is not sufficient
-- Logs begin at Wed 2020-08-26 09:10:38 MSK. --
ноя 25 17:59:03 gnu com.obsproject.Studio.desktop[614459]: error: X Error: BadWindow (invalid Window parameter), Major opcode: 20, Minor opcode: 0, Serial: 1278
ноя 25 17:59:03 gnu systemd[209001]: Started VTE child process 614764 launched by tilix process 614760.
ноя 25 17:59:03 gnu com.obsproject.Studio.desktop[614459]: error: X Error: BadWindow (invalid Window parameter), Major opcode: 20, Minor opcode: 0, Serial: 1282
ноя 25 17:59:03 gnu com.obsproject.Studio.desktop[614459]: error: X Error: BadWindow (invalid Window parameter), Major opcode: 20, Minor opcode: 0, Serial: 1283
ноя 25 17:59:03 gnu com.obsproject.Studio.desktop[614459]: error: X Error: BadWindow (invalid Window parameter), Major opcode: 20, Minor opcode: 0, Serial: 1287
ноя 25 17:59:03 gnu com.obsproject.Studio.desktop[614459]: error: X Error: BadWindow (invalid Window parameter), Major opcode: 20, Minor opcode: 0, Serial: 1288
ноя 25 17:59:03 gnu com.obsproject.Studio.desktop[614459]: error:
-- Logs begin at Wed 2020-08-26 09:10:38 MSK. --
ноя 25 18:34:16 gnu dbus-daemon[644]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
ноя 25 18:34:34 gnu systemd[1]: systemd-hostnamed.service: Succeeded.
ноя 25 18:34:35 gnu tracker-store[624843]: OK
ноя 25 18:34:35 gnu systemd[209001]: tracker-store.service: Succeeded.
ноя 25 18:34:35 gnu systemd[1]: systemd-localed.service: Succeeded.
ноя 25 18:34:53 gnu geoclue[624213]: Service not used for 60 seconds. Shutting down..
ноя 25 18:34:53 gnu systemd[1]: geoclue.service: Succeeded.
ноя 25 18:34:55 gnu realmd[624337]: quitting realmd service after timeout
ноя 25 18:34:55 gnu realmd[624337]: stopping service
Информация о компьютере:
Производитель: Unknown
Модель: Unknown
Тип: Настольный
Сенсорный ввод не поддерживается
Процессор:
Производитель процессора: AuthenticAMD
Производитель процессора: AMD Phenom(tm) II X6 1055T Processor
Семейство процессора: 0x10
@blogdron
blogdron / hax.c
Created June 15, 2021 20:45 — forked from apsun/hax.c
Hook main() using LD_PRELOAD
/*
* Hook main() using LD_PRELOAD, because why not?
* Obviously, this code is not portable. Use at your own risk.
*
* Compile using 'gcc hax.c -o hax.so -fPIC -shared -ldl'
* Then run your program as 'LD_PRELOAD=$PWD/hax.so ./a.out'
*/
#define _GNU_SOURCE
#include <stdio.h>
@blogdron
blogdron / tcp_flags.txt
Created October 8, 2021 23:21 — forked from tuxfight3r/tcp_flags.txt
tcpdump - reading tcp flags
##TCP FLAGS##
Unskilled Attackers Pester Real Security Folks
==============================================
TCPDUMP FLAGS
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere)
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere)
Pester = PSH = [P] (Push Data)
Real = RST = [R] (Reset Connection)
Security = SYN = [S] (Start Connection)
101,102c101,121
< float gamepadx = GetGamepadAxisMovement(GAMEPAD_PLAYER, stick == GAMEPAD_STICK_LEFT ? GAMEPAD_AXIS_LEFT_X : GAMEPAD_AXIS_RIGHT_X);
< float gamepady = GetGamepadAxisMovement(GAMEPAD_PLAYER, stick == GAMEPAD_STICK_LEFT ? GAMEPAD_AXIS_LEFT_Y : GAMEPAD_AXIS_RIGHT_Y);
---
>
> float gamepadx = 0.0;
> float gamepady = 0.0;
>
> if(IsKeyDown(KEY_A))
> {
[/]
alttab-switcher-delay=0
alttab-switcher-enforce-primary-monitor=false
alttab-switcher-show-all-workspaces=true
alttab-switcher-style='thumbnails'
applet-cache-updated=1633464771
command-history=['xkill', 'gl', 'scrot -a', 'scrot -d 3', 'gvim', 'pulseaudio', 'scrot', 'scrot -s', 'lg', 'r']
desklet-cache-updated=1632316807
desklet-decorations=1
desklet-snap-interval=20
@blogdron
blogdron / log
Created November 26, 2022 16:10
This file has been truncated, but you can view the full file.
[DEBUG] (src/corange.c:corange_init:53) Starting Corange...
[DEBUG] (src/corange.c:corange_init:56) Creating Asset Manager...
[DEBUG] (src/corange.c:corange_init:57) Core Assets At '../../assets_core' ...
[DEBUG] (src/corange.c:corange_init:95) Creating Entity Manager...
[DEBUG] (src/corange.c:corange_init:110) Creating UI Manager...
[DEBUG] (src/corange.c:corange_init:127) Creating Graphics Manager...
OpenGL Info
Vendor: X.Org
Renderer: AMD BARTS (DRM 2.50.0 / 5.19.0-2-amd64, LLVM 15.0.5)
Version: 4.5 (Compatibility Profile) Mesa 22.2.4
This file has been truncated, but you can view the full file.
[DEBUG] (src/corange.c:corange_init:53) Starting Corange...
[DEBUG] (src/corange.c:corange_init:56) Creating Asset Manager...
[DEBUG] (src/corange.c:corange_init:57) Core Assets At '../../assets_core' ...
[DEBUG] (src/corange.c:corange_init:95) Creating Entity Manager...
[DEBUG] (src/corange.c:corange_init:110) Creating UI Manager...
[DEBUG] (src/corange.c:corange_init:127) Creating Graphics Manager...
OpenGL Info
Vendor: X.Org
Renderer: AMD BARTS (DRM 2.50.0 / 5.19.0-2-amd64, LLVM 15.0.5)
Version: 4.5 (Compatibility Profile) Mesa 22.2.4