Skip to content

Instantly share code, notes, and snippets.

View jcmvbkbc's full-sized avatar

Max Filippov jcmvbkbc

View GitHub Profile
// ==UserScript==
// @name drop lj promo
// @namespace jcmvbkbc
// @include https://*.livejournal.com/friends*
// @include https://www.livejournal.com/
// @version 1
// @run-at document-idle
// @grant none
// ==/UserScript==
@jcmvbkbc
jcmvbkbc / fix-fpe-div0.c
Last active June 17, 2022 00:23
division-by-0-fixer
#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <signal.h>
#if defined(__x86_64__) || defined(__i386__)
static int fixup_div0(siginfo_t *si, ucontext_t *uc)
{
@jcmvbkbc
jcmvbkbc / gist:316e6da728021c8ff670a24e674a35e6
Last active November 21, 2023 18:39
esp32s3 linux rebuild scripts
Latest versions of these scripts are available in git repository https://github.com/jcmvbkbc/esp32-linux-build