This file contains hidden or 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
require 'mongo' # requires mongoid to be installed | |
Mongo::Logger.logger.level = ::Logger::FATAL # provides logging output for fails | |
client = Mongo::Client.new([ '127.0.0.1:27017' ], :database => 'hackathon') # establishes database connection to localhost, database name hackathon | |
cursor = client[:products].find | |
cursor.each do |doc| | |
puts doc | |
end |
This file contains hidden or 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
require 'mongo' # requires mongoid to be installed | |
Mongo::Logger.logger.level = ::Logger::FATAL # provides logging output for fails | |
client = Mongo::Client.new( 'mongodb+srv://admin:[email protected]/hackathon?retryWrites=true' ) | |
#client.collections.each { |coll| puts coll.name } # does a loop on listing each collection in database and then prints them to standard out | |
cursor = client[:products].find | |
cursor.each do |doc| |
This file contains hidden or 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
Kubernetes Learning Path v2.0 | |
- https://azure.microsoft.com/en-us/resources/kubernetes-learning-path/?WT.mc_id=code-github-jagord | |
Administer containers in Azure - https://docs.microsoft.com/en-us/learn/paths/administer-containers-in-azure/?WT.mc_id=code-github-jagord | |
Supported Kubernetes versions in Azure Kubernetes Service (AKS) - https://docs.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?WT.mc_id=code-github-jagord | |
Azure Kubernetes Service (AKS) | |
- https://docs.microsoft.com/en-us/azure/aks/?WT.mc_id=code-github-jagord |
This file contains hidden or 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
Demo – get the code here | |
https://cda.ms/1gR | |
Sign up for 12 months free Azure | |
https://cda.ms/1dc |
This file contains hidden or 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
Welcome back to another episode of AzureFunBytes. Every week we dive into different Azure Fundamentals in an easy to understand Twitch show. | |
This week, all the way from Scotland, @TechieLass will help me solve three problems on twitch! | |
How do we start a new Win VM? | |
How do we prep this VM for prod? | |
How do we handle cost management? | |
Sarah and I will discuss her tenure in technology with me and even answer some questions. |
OlderNewer