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
    
  
  
    
  | curl -H "Ocp-Apim-Subscription-Key: {KEY}" -H "Content-Type: application/json" "https://{LOCATION}.api.cognitive.microsoft.com/vision/v3.1/generateThumbnail?width=100&height=100&smartCropping=true" -d "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Shorkie_Poo_Puppy.jpg/1280px-Shorkie_Poo_Puppy.jpg\"}" -o small_dog.jpg | 
  
    
      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
    
  
  
    
  | //From Storage Account | |
| // Azure Storage Account name <storage-account-name> | |
| var storage_account_name = "" | |
| // <file-system-name> | |
| var file_system_name = "logs" | |
| // From AD | |
| // Application (client) ID <application-id> | |
| var application_id = "" | |
| // Key <authentication-key> for application | 
  
    
      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
    
  
  
    
  | using System; | |
| using System.Net; | |
| using System.Text; | |
| namespace VisionDemo | |
| { | |
| class Program | |
| { | |
| private const string LOCATION = ""; | |
| private const string KEY = ""; | 
  
    
      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
    
  
  
    
  | from sense_hat import SenseHat | |
| sense = SenseHat() | |
| sense.show_message("1. IT Gymnazium", text_colour = (0, 255, 0)) | 
  
    
      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
    
  
  
    
  | from sense_hat import SenseHat | |
| sense = SenseHat() | |
| r = (255, 0, 0) # red | |
| g = (0, 255, 0) # green | |
| b = (0, 0, 255) # blue | |
| w = (255,255,255) # white | |
| e = (0,0,0) # empty, no light - black | |
| # 8x8 matrix RGB display | 
  
    
      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
    
  
  
    
  | from sense_hat import SenseHat | |
| sense = SenseHat() | |
| r = (255, 0, 0) # red | |
| g = (0, 255, 0) # green | |
| b = (0, 0, 255) # blue | |
| w = (255,255,255) # white | |
| e = (0,0,0) # empty, no light - black | |
| # 8x8 matrix RGB display | 
NewerOlder