These settings apply to normal, functioning Windows 10 and 11 Pro desktops and laptops with
- wired Ethernet
- Wi-Fi
- Bluetooth
- IPv4
- IPv6
- no touch screen
@setlocal DisableDelayedExpansion | |
@echo off | |
set "_cmdf=%~f0" | |
if exist "%SystemRoot%\Sysnative\cmd.exe" ( | |
setlocal EnableDelayedExpansion | |
start %SystemRoot%\Sysnative\cmd.exe /c ""!_cmdf!" " | |
exit /b | |
) | |
if exist "%SystemRoot%\SysArm32\cmd.exe" if /i %PROCESSOR_ARCHITECTURE%==AMD64 ( |
In Microsoft Azure, even when a VM has a public IP address internface, the system sees it as a private network address. It also uses a private IP address as the gateway. The only way to "fix" this without making routing table changes is to use setsockopt()
with SO_BINDTODEVICE
, which is a privileged operation. In addition to that (and this can't be worked around in any generic way) you will need to do the standard socket bind()
with the private IP address corresponding to the interface you want to use.
The new generation of network configuration tools (I guess they're not that new, but they replaced route
and ifconfig
) makes policy-based routing pretty easy, especially if you don't require anything too special
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
I am assuming you are here because like me, you installed a bazillion different python interpreters on mac and the whole thing is a spagetti. Today, I finally fixed my python installation. Whatever I install for python2 or python3 using pip JUST.WORKS.. My god! finally.
Here is what I had messed up, which you also probably did:
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
AzureDiagnostics | |
| where ResourceType == "AZUREFIREWALLS" | |
| extend | |
proto = extract(@"^([A-Z]+) ",1,msg_s) | |
,src_host = extract(@"request from ([\d\.]*)",1,msg_s) | |
,src_port = extract(@"request from [\d\.]*:(\d+)",1,msg_s) | |
,dest_host = extract(@" to ([-\w\.]+)(:|\. |\.$)",1,msg_s) | |
,dest_port = extract(@" to [-\w\.]+:(\d+)",1,msg_s) | |
,action = iif( | |
msg_s has "was denied" |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
MIT License | |
Copyright (c) 2018 Noel Bundick | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |