- Start -> Run -> nslookup
- $ set type=all
- $ _ldap._tcp.dc._msdcs
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 bash | |
set -euxo pipefail | |
#-e stop if a command fails | |
#-u error and stop if any variable is unset | |
#-x print each command before running it | |
#-o pipefail fail as soon as a command within a pipeline fails |
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
nmcli dev show | grep DNS |
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
cat file.json | python -m json.tool |
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
#count of items | |
aws dynamodb scan --table-name baskets --select COUNT | |
#item by key | |
aws dynamodb get-item --table-name baskets --key '{"Id":{"S": "195eaf9c-50e6-4524-81e0-22403e46b6df"}}' |
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
declare module '7digital-api' { | |
namespace Responses { | |
interface ApiResponse { | |
status: string; | |
version: string; | |
} | |
interface BasketResponse extends ApiResponse { | |
basket: Basket; | |
} | |
interface AmountDue { |
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
ionic run --devices (run on your phone) |