Resolve-DnsName -Name bing.com
Resolve-DnsName -Name bing.com -Type A
Resolve-DnsName -Name bing.com -Server 8.8.8.8
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Document</title> | |
</head> | |
<body> | |
<script src="audio-test.js"></script> | |
</body> |
import boto3 | |
ec2 = boto3.client('ec2') | |
response = ec2.describe_instances() | |
for reservation in response["Reservations"]: | |
for instance in reservation["Instances"]: | |
if instance["State"]["Name"] == "running": | |
print("Stopping instance: " + instance["InstanceId"]) | |
ec2.stop_instances(InstanceIds=[instance["InstanceId"]]) | |
print("Instance stopped: " + instance["InstanceId"]) | |
else: |
Resolve-DnsName -Name bing.com
Resolve-DnsName -Name bing.com -Type A
Resolve-DnsName -Name bing.com -Server 8.8.8.8
#!/bin/bash | |
sudo apt-get install gnupg1 apt-transport-https dirmngr | |
export INSTALL_KEY=379CE192D401AB61 | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY | |
echo "deb https://ookla.bintray.com/debian generic main" | sudo tee /etc/apt/sources.list.d/speedtest.list | |
sudo apt-get update | |
sudo apt-get install speedtest |