Containers, Cloud and DevOps (88 hours).
Virtualization and containers, Docker, DevOps, cloud technologies and platforms. Exercises with Docker, Azure and GitHub Actions.
| Shelly.call( | |
| "HTTP.GET", | |
| {"url": "https://api.zippopotam.us/us/90210"}, | |
| function (response) { | |
| if (response && response.code && response.code === 200) { | |
| print(JSON.stringify(response.body)); | |
| Shelly.emitEvent("HTTP-result", response.body); | |
| } | |
| else { | |
| print("Error: HTTP request failed."); |
| function shellyPlugSChangeLEDColor(red, green, blue, brightness) { | |
| let config = { | |
| "config": { | |
| "leds": { | |
| "colors": { | |
| "switch:0": { | |
| "on": { | |
| "rgb": [red, green, blue], | |
| "brightness": brightness | |
| } |
| Num (standard): 123.131000 | |
| Num (no trailing zeros): 123.131 |
| char[,] matrix = new char[,] | |
| { | |
| { 'x', '-', '-', 'x', 'x'}, | |
| { 'x', '-', '-', 'x', 'x'}, | |
| { 'x', '-', '-', 'x', 'x'}, | |
| }; | |
| int x = 0; | |
| int y = 0; |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace Drones | |
| { | |
| public class Airfield | |
| { | |
| public List<Drone> Drones { get; set; } | |
| public string Name { get; set; } |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| File.WriteAllText("weather.html", "<html><h1>Weather</h1></html>"); | |
| var p = new Process(); | |
| p.StartInfo = new ProcessStartInfo("weather.html") | |
| { |
| using NUnit.Framework; | |
| using OpenQA.Selenium; | |
| using OpenQA.Selenium.Appium; | |
| using OpenQA.Selenium.Appium.Android; | |
| using OpenQA.Selenium.Remote; | |
| using System; | |
| namespace AppiumTests_ContactBook | |
| { | |
| public class TestsContactBookAndroidApp |
| using NUnit.Framework; | |
| using RestSharp; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Text.Json; | |
| public class APITestsContactBook | |
| { |
| ffmpeg -i .\input.avi -vf scale=1280x720 -crf 0 -r 4 -an -y out.mp4 | |
| ffmpeg -i .\out.mp4 -vf palettegen=256 -y palette.png | |
| ffmpeg -y -i .\out.mp4 -i palette.png -filter_complex paletteuse -y animation.gif | |
| del out.mp4 | |
| del palette.png |