Skip to content

Instantly share code, notes, and snippets.

View ibnu-ja's full-sized avatar
💙
hhhh

ibnu-ja

💙
hhhh
View GitHub Profile
@Soapbosnia
Soapbosnia / discord-enable-native-title-bar.md
Last active May 1, 2024 15:17
Enabling native title bar on Discord client

Enabling native title bar on Discord client

  • Step 1: Download 7-ZIP and the ASAR plugin from [ https://www.tc4shell.com/en/7zip/asar/ ]
  • Step 2: After installing 7-ZIP create a new folder inside of its install location called Formats
  • Step 3: Extract the .dll from one of the folders in the archive (x64 or 32) to the Formats folder
  • Step 4: Go to C:\Users\**YourUsername**\AppData\Local\Discord\app-1.0.9007\modules\discord_desktop_core-1\discord_desktop_core (Replace **YourUsername** with your username)
  • Step 5: Open the core.asar file with 7-ZIP and extract its content to a folder of your choice
  • Step 6: Enter the folder and go to the app subdirectory, after that find the file called mainWindow.js or mainScreen.js and open it with a text editor of your choice
  • Step 7: Go to line 419 and change frame: false to frame: true, if you can't find that text press CTRL+F and search for frame: false, it should look like the one attached in the screens
@DenisJunio
DenisJunio / install_php_8_1.sh
Last active May 9, 2024 10:38
Laravel - PHP 8.1 Extensions - Ubuntu
#!/bin/bash
sudo apt install software-properties-common && sudo add-apt-repository ppa:ondrej/php -y
sudo apt update
sudo apt upgrade -y
sudo apt install php8.1 -y
sudo apt install php8.1-bcmath -y
sudo apt install php8.1-bz2 -y
sudo apt install php8.1-cli -y
sudo apt install php8.1-common -y
sudo apt install php8.1-curl -y
@jayktaylor
jayktaylor / fandom.md
Last active March 18, 2023 14:48
Removing featured videos on FANDOM

Hiding the videos

Hiding with uBlock Origin

uBlock Origin, unlike AdBlock Plus and other alternatives, doesn't allow companies to pay to whitelist their ads, and it blocks trackers too. Using it will provide the best experience on Wikia, as the majority of ads and slowdowns will be eliminated.

To block videos using uBlock Origin:

  • Click the uBlock Origin icon in your browser
  • Then click 'Open dashboard' (the furthest icon on the right under the power icon)
  • Click 3rd party filters
  • Click the Update now button and then enable uBlock filters - Annoyances