Skip to content

Instantly share code, notes, and snippets.

View skyecodes's full-sized avatar

skyecodes skyecodes

  • France
  • 08:43 (UTC +02:00)
View GitHub Profile
.container-3ayLPN .option-96V44q.selected-rZcOL-, /* Search (hovered) */
.container-3gCOGc .friendsTable-133bsv .friendTableAddWrapper-nHHZtK .friendTableSuggestionsHeader-2zSnpD, /* Friends table header */
.container-3gCOGc .friendsTable-133bsv .friendsRow-2yicud:hover, /* Friends table (hover) */
.radioGroup-1GBvlr .cardPrimaryEditable-3KtE4g:hover .checkbox-1ix_J3::before, /* Settings > Privacy & Safety cards checkbox (hover) */
.contentColumn-2hrIYH .notDetected-33MY4s, /* Settings > Game Activity */
.standardSidebarView-3F1I7i #bd-customcss-attach-controls button:hover, .bd-detached-css-editor #bd-customcss-attach-controls button:hover, /* Settings > Custom CSS buttons (hover) */
.popoutBottom-1YbShG .menu-Sp6bN1, /* Server menu popout */
.theme-dark .select-2TCrqx .Select-control .Select-placeholder, /* Notification overrides */
.popout-3sVMXz .container-3cGP6G /* Message options (edit, delete..) */
{
import java.io.IOException;
import java.util.List;
import java.util.function.IntBinaryOperator;
public class Day24 {
public static void main(String[] args) throws IOException {
var input = Util.readInput("Day24").stream().map(Instruction::parse).toList();
System.out.println("Part 1: " + part1(input));
}
@skyecodes
skyecodes / hide_tweet_views.md
Last active February 1, 2023 16:57
How to hide Twitter view count on web browser

How to hide Twitter view count on web browser

  • Requires uBlock Origin browser extension
  • In uBlock Origin settings, "My Filters" tab, paste this code at the end of the file:
! Hide tweet views
twitter.com##.css-1dbjc4n.r-1ta3fxp.r-18u37iz.r-1wtj0ep.r-1s2bzr4.r-1mdbhws > div:nth-child(4)
twitter.com##.css-1dbjc4n.r-1d09ksm.r-1471scf.r-18u37iz.r-1wbh5a2 > :not(:nth-child(1))

! Hide "Twitter Blue" menu