Skip to content

Instantly share code, notes, and snippets.

View chylex's full-sized avatar

chylex

View GitHub Profile
@chylex
chylex / style.css
Created May 26, 2021 02:29
TweetDuck scrollbar
.scroll-styled-v:not(#wa)::-webkit-scrollbar { width: 30px !important; }
.scroll-styled-h:not(#wa)::-webkit-scrollbar { height: 30px !important; }
@chylex
chylex / .ideavimrc
Last active November 2, 2021 06:55
Moved to https://github.com/chylex/dotfiles
@chylex
chylex / guide.md
Last active September 25, 2020 23:50
Origin OS Version Bypass

This guide shows how to hex-edit Origin to disable operating system check, which allows NFS Heat to download and install on Windows 7.

If this works for you, I'd appreciate if you bought me a coffee.

Check your Origin.exe version:

@chylex
chylex / filter.txt
Created May 25, 2018 14:04
uBlock Origin - Google search - Remove "People also search for"
! https://www.google.com/search
www.google.com##.exp-outline
www.google.com##[style="display: block; opacity: 1;"]
www.google.com##[data-hveid]>div:style(height: auto !important)
@chylex
chylex / gist:44ac3a670817ce633db8297496cb9018
Created April 7, 2018 11:31
TweetDuck - CSS - Column Colors
/*
* The number inside nth-child(...) is the column, counting from 1.
* Increase or decrease -3px to change the thickness.
*
* The first number inside hsl(..., 50%, 50%) is the color hue, goes from 0 to 360.
* The percentages control saturation and level/brightness.
*
* Increase or decrease -3px to change the thickness.
*
* The example below is for 3 columns, add more with custom colors as you wish.
$(".js-app").on("mouseenter", "a[data-user-name]", function(){
TD.cache.twitterUsers.getByScreenName($(this).attr("data-user-name")).addCallback(n => $TD.displayTooltip(n.name, false))
}).on("mouseenter", "a[rel=user]", function(){
$TD.displayTooltip($(this).attr("href").replace(/.*\//, "@"), false);
}).on("mouseleave", "a[data-user-name], a[rel=user]", e => $TD.displayTooltip(null, false));
[23:03:31 INFO]: UUID of player chylex is a1936a78-e447-4148-98dc-a1bf49ac6582
[23:03:31 DEBUG]: OUT: [LOGIN:3] net.minecraft.network.login.server.SPacketEnableCompression
[23:03:31 DEBUG]: OUT: [LOGIN:2] net.minecraft.network.login.server.SPacketLoginSuccess
[23:03:31 DEBUG]: Set listener of net.minecraft.network.NetworkManager@4fea7cf2 to net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1@516c3679
[23:03:31 DEBUG]: Enabled auto read
[23:03:31 INFO]: Connection received without FML marker, assuming vanilla.
[23:03:31 INFO]: [Server thread] Server side vanilla connection established
[23:03:31 INFO]: chylex[/127.0.0.1:58321] logged in with entity id 407 at (78.1896787597161, 71.0, 131.1528051218031)
[23:03:31 DEBUG]: OUT: [PLAY:35] net.minecraft.network.play.server.SPacketJoinGame
[23:03:31 DEBUG]: OUT: [PLAY:24] net.minecraft.network.play.server.SPacketCustomPayload
@chylex
chylex / gist:b367a4684e956fc502c446fb5ed21605
Created October 13, 2016 04:07
TweetDuck CSS - Fix Retweet Icon Color
.icon-retweet.activity-indicator { color: #19CF86 }
@chylex
chylex / gist:becca5b57b446eac72f225dabcc346d5
Created August 25, 2016 11:23
TweetDuck RT/Fav list scrollbar hack
.js-column-social-proof > div {
height: 100%;
overflow-y: auto;
scrollbar-face-color: #505254;
scrollbar-highlight-color: #505254;
scrollbar-shadow-color: #505254;
scrollbar-darkshadow-color: #505254;
scrollbar-track-color: #292F33;
scrollbar-3dlight-color: #505254;
scrollbar-arrow-color: #8899a6;
@chylex
chylex / gist:28a512ab744b33a8fe51
Created March 19, 2016 00:27
[1.9] Forge living mount crash
---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.
Time: 19.3.16 1:21
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
at net.minecraft.entity.player.EntityPlayer.func_70098_U(EntityPlayer.java:452)
at net.minecraft.world.World.func_72866_a(World.java:1930)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:836)