pm disable-user --user 0 com.amazon.device.software.ota.override
pm disable-user --user 0 com.amazon.device.software.ota
pm enable com.amazon.device.software.ota.override
pm enable com.amazon.device.software.ota
aws ec2 terminate-instances --instance-ids `aws ec2 describe-instances --filters "Name=image-id,Values=ami-0ceee60bcb94f60cd" --query "Reservations[*].Instances[*].InstanceId" --output text`
for ip in aws ec2 describe-addresses --query "Addresses[*].AllocationId" --output text
; do aws ec2 release-address --allocation-id $ip; done
net.ipv4.tcp_fastopen=3 | |
net.ipv4.tcp_fastopen_key=b9b738a4-9cad4a74-4c832cbf-e20f561f |
JFFS script to isolate configured guest wifi networks on AsusWRT Merlin into a seperate VLAN.
Original script from: http://www.snbforums.com/threads/ac56u-how-to-add-bridges-with-dhcp-servers.20326/#post-189032
# This code goes in the WAN UP section of the Tomato GUI. | |
# | |
# This script configures "selective" VPN routing. Normally Tomato will route ALL traffic out | |
# the OpenVPN tunnel. These changes to iptables allow some outbound traffic to use the VPN, and some | |
# traffic to bypass the VPN and use the regular Internet instead. | |
# | |
# To list the current rules on the router, issue the command: | |
# iptables -t mangle -L PREROUTING | |
# | |
# Flush/reset all the rules to default by issuing the command: |
Powershell (Windows 7):
Get-WmiObject CIM_PhysicalMemory | select banklabel,capacity,caption,devicelocator,partnumber | ft -AutoSize
Command Line (Windows 8):
wmic MEMORYCHIP get banklabel, capacity, caption, devicelocator, partnumber