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
# Run as administrator | |
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit | |
} | |
$Preferences = Get-MpPreference | |
if($Preferences.DisableRealtimeMonitoring) { | |
Set-MpPreference -DisableRealtimeMonitoring 0 | |
} else { |
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
10.0.0.1 | |
10.0.0.2 | |
10.0.0.3 | |
10.0.0.4 | |
10.0.0.5 | |
10.0.0.6 | |
10.0.0.7 | |
10.0.0.8 | |
10.0.0.9 | |
10.0.0.10 |
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
/* Sidebar, logo and topbar background */ | |
.sidebar, #pm_header-desktop, #pm_header-desktop a.logo { | |
background: #f1f1f1 !important; | |
} | |
/* Invert logo */ | |
.logo img { | |
filter: invert(1); | |
} |
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
#!/bin/bash | |
echo "Enabling three-finger drag ..." | |
defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool true | |
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool true | |
echo "Enabling dark mode ..." | |
brew install dark-mode | |
dark-mode --mode Dark |
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
if (top!=self){ | |
top.location.href=self.location.href; | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am melvinsh on github. | |
* I am melvin (https://keybase.io/melvin) on keybase. | |
* I have a public key whose fingerprint is 4B74 B3EC 8289 EB2B 2D49 F358 EDA8 A77D B427 426F | |
To claim this, I am signing this object: |
NewerOlder