This file contains 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
reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f |
This file contains 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
#!/usr/bin/env python | |
# brought to you by pythonforbeginners.com | |
import socket | |
import subprocess | |
import sys | |
from datetime import datetime | |
# Clear the screen | |
subprocess.call('clear', shell=True) |
This file contains 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
sudo pip3 install meson | |
brew install ninja | |
meson .. | |
brew install pkg-config | |
brew install cmake | |
brew install mbedcrypto | |
brew install mbedtls | |
brew install cmocka | |
install python certs |
This file contains 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
netsh interface portproxy add v4tov4 listenport=8001 connectport=80 connectaddress=127.0.0.1 | |
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow | |
netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80 | |
netsh advfirewall firewall add rule name="Open Port 443" dir=in action=allow protocol=TCP localport=443 | |
netsh interface portproxy add v4tov4 listenport=9001 connectport=443 connectaddress=192.168.168.1 | |
netsh advfirewall firewall add rule name="Open Port 9001" dir=in action=allow protocol=TCP localport=9001 | |
netsh advfirewall firewall add rule name="Open Port 8888" dir=in action=allow protocol=TCP localport=8888 | |
netsh advfirewall firewall add rule name="Open Port 15179" dir=in action=allow protocol=TCP localport=15179 | |
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=9002 connectport=22 connectaddress=192.168.168.1 | |
netsh advfirewall firewall add rule name="Open Port 9002" dir=in ac |
This file contains 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 netplwiz checkbox | |
reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f | |
This file contains 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
bcdedit /set {default} recoveryenabled No | |
bcdedit /set {default} bootstatuspolicy ignoreallfailures |
This file contains 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
https://www.blackforce.co.uk/2016/04/18/remote-desktop-rdp-resolution-on-a-surface-book | |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide | |
DWORD 32 bit: PreferExternalManifest, value 1. | |
Create manifest file C:\Windows\System32\mstsc.exe.manifest | |
This file contains 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
Responsive iframe solution. | |
When embedding iframes for content such as videos, most services like YouTube and Vimeo will provide you a snippet of code like the one below: | |
<iframe width="560" height="315" src="//www.youtube.com/embed/KMYrIi_Mt8A" allowfullscreen></iframe> | |
Notice I removed the frameborder attribute. If you’re using HTML5, that attribute is no longer supported. | |
First of all, remove the width and height attributes. Keeping those attributes forces the content to stay at that size regardless of the screen size. This causes problems in responsive layouts when the screen size is smaller than the width of the iframe. Though we could use CSS to force the size, why have them if their not being used — less code is beautiful code. | |
<iframe src="//www.youtube.com/embed/KMYrIi_Mt8A" allowfullscreen></iframe> | |
Next, let’s add a container with a class around the iframe: |
This file contains 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
## noip no-ip updater mikrotik behind nat | |
## read write policy test | |
# Set needed variables | |
:local username "@gmail.com" | |
:local password "" | |
:local hostname ".ddns.net" | |
:global dyndnsForce | |
:global previousIP |
This file contains 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
Read Comments | |
Tips by: https://www.tenforums.com/ |