...........................................________........................
....................................,.-‘”...................``~.,..................
.............................,.-”...................................“-.,............
.........................,/...............................................”:,........
.....................,?......................................................\,.....
.................../...........................................................,}....
................./......................................................,:`^`..}....
.............../...................................................,:”........./.....
..............?.....__.........................................:`.........../.....
This file contains hidden or 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
! Reddit clean-up | |
www.reddit.com##a[href^="/rpan/"] > h3:has-text(/Top (livestream|broadcast)/):upward(7) | |
! Linkedin clean-up | |
www.linkedin.com##.feed-shared-actor__description:has-text(/Promoted/):upward(7) | |
www.linkedin.com##.feed-shared-text-view>span:has-text(/Add to your feed/):upward(7) | |
! Twitter clean-up | |
!twitter.com##h2>div>span:has-text(/Trends for you/):upward(10) | |
!twitter.com##h2>div>span:has-text(/You might like|Who to follow/):upward(5) |
This file contains hidden or 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
# Workaround for setting the redirect_uri to localhost. | |
# Host is set in proxy server.py and redirect_uri takes the request host value | |
# See https://github.com/openlawlibrary/platform/issues/4281 | |
def get_redirect_uri(self, state=None): | |
"""Build redirect with redirect_state parameter.""" | |
uri = self.redirect_uri | |
if self.REDIRECT_STATE and state: | |
uri = self.url_add_parameters(uri, {"redirect_state": state}) | |
if settings.DEBUG: | |
return uri.replace('127.0.0.1', 'localhost') |
Windows only:
- Install gpg4win
or download it from https://gpg4win.org
winget install gnupg.Gpg4win
To enable SSH functionality in Windows 11, follow these steps:
Open Settings: Press Win + I to open the Settings app.
Go to Apps: Navigate to Apps > Optional features.
Add an Optional Feature: Scroll down and click on View features under the "Add an optional feature" section.
Search for OpenSSH: In the search box, type OpenSSH and you should see two options:
This file contains hidden or 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
# Add this to Powershell profile | |
function prompt { | |
$gitBranch = & git rev-parse --abbrev-ref HEAD 2>$null | |
$pathString = "$PWD" | |
$gitString = "" | |
if ($gitBranch) { | |
$status = & git status -sb 2>$null | |
$aheadBehind = "" |
This file contains hidden or 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
@-moz-document domain("youtube.com") { | |
@media screen and (min-width: 1900px) { | |
.style-scope.ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 6; | |
} | |
} | |
@media screen and (min-width: 1500px) and (max-width: 1900px) { | |
.style-scope.ytd-rich-grid-renderer { | |
--ytd-rich-grid-items-per-row: 5; |
OlderNewer