# AWS
$ dig +short myip.opendns.com @resolver1.opendns.com
18.224.203.147
# GCP
<# | |
.EXAMPLE .\Install-Com.ps1 -applicationName "test.application" ` | |
-applicationIdentity "someuser" ` | |
-componentBinPath "C:\where\is\your\dll\some.dll" | |
This will install 1 COM+ component to an application | |
If you have 1 application with 3 components | |
- call this 3 times for each COM+ Component dll path | |
#> |
""" | |
Parse output of nvidia-smi into a python dictionary. | |
This is very basic! | |
""" | |
import subprocess | |
import pprint | |
sp = subprocess.Popen(['nvidia-smi', '-q'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
Ref: https://gist.github.com/vertexclique/9839383
Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).
Common step after enter run the patch command:
http://www.nextbus.com/xmlFeedDocs/NextBusXMLFeed.pdf
http://webservices.nextbus.com/service/publicXMLFeed?command=agencyList
Obtain a list of available transit agencies.