Skip to content

Instantly share code, notes, and snippets.

View radiotaiso's full-sized avatar
:shipit:

Uriel Coria radiotaiso

:shipit:
View GitHub Profile
@radiotaiso
radiotaiso / windows_sux
Created September 22, 2023 18:22
Windows hosts to block
0.0.0.0 data.microsoft.com
0.0.0.0 msftconnecttest.com
0.0.0.0 azureedge.net
0.0.0.0 activity.windows.com
0.0.0.0 bingapis.com
0.0.0.0 msedge.net
0.0.0.0 assets.msn.com
0.0.0.0 scorecardresearch.com
0.0.0.0 edge.microsoft.com
0.0.0.0 data.msn.com
@radiotaiso
radiotaiso / play-button-macos-default-behavior
Created March 9, 2021 16:43
Default behavior Play button macOS
# Disable
launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
# Enable
launchctl load -w /System/Library/LaunchAgents/com.apple.rcd.plist
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035},{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064}]}'
@radiotaiso
radiotaiso / example.sh
Created July 16, 2018 16:50
Pull a specific file from another branch.
# On branch master
git checkout gh-pages # Move to the branch you wanto to pull the file to
git checkout master -- myplugin.js # pull the file from
git commit -m "Update myplugin.js from master"
@radiotaiso
radiotaiso / fixture.py
Last active March 28, 2018 18:30
How to use a fixture to save temporary data to use in next test using pytest
import pytest
class Asd(object):
def __init__(self):
print("initin")
self.asd = None
pass
pass

Keybase proof

I hereby claim:

  • I am upsetpelican on github.
  • I am uriel (https://keybase.io/uriel) on keybase.
  • I have a public key ASDaPgLwOSafvEobOJ-0nhuDJD7_4Sb7ocrWzgt0IzJlEwo

To claim this, I am signing this object: