This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Remove liked tweets | |
twitter.com##article:has(a[href^="/i/user/"]:has-text(/liked$/)):nth-ancestor(2) | |
! Remove retweet | |
twitter.com##article:has(a[href^="/i/user/"]:has-text(/Retweeted$/)):nth-ancestor(2) | |
! Remove sidebar with unnecessary recommendations | |
twitter.com##div[data-testid="sidebarColumn"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:::: | |
:: A pseudo-make for building a C application using MSVC. | |
:: https://github.com/DennyLindberg | |
:: | |
:: Use any text editor and commandline. RemedyBG or RAD Debugger for debugging. | |
:: https://remedybg.itch.io/remedybg | |
:: https://github.com/EpicGamesExt/raddebugger | |
:: | |
:: Example: | |
:: ./make build run arg1 arg2 arg3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:::: | |
:: A simplified version of the pseudo-make for building a C application using MSVC. | |
:: Refer to the other gist for details. | |
:: https://gist.github.com/DennyLindberg/8c0a5e7471a30e6868a00757e8483b78 | |
:::: | |
@echo off | |
:::: PROJECT CONFIGURATION | |
set exe_file=main.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code does not work as-is. It is a work-in-progress in my application. You need to modify it for your application. | |
void handle_stylus_event(UINT uMsg, WPARAM wParam) | |
{ | |
// Wacom + [DriverSetting: Use Windows Ink] required for these events to happen at all. | |
// WinTab mandatory when Windows Ink is disabled in any way. | |
if (uMsg == WM_POINTERDEVICECHANGE) | |
{ | |
PRINT_INPUT("DEVICE CHANGE\n"); |