- Architect solutions to be scalable and reilient
- Business requirements involve lowering costs / enhancing user experience
- Keep an eye on technical needs during development and operation
- Where is the company coming from
| #!/usr/bin/env bash | |
| ##################################################################### | |
| # REFERENCES | |
| # - https://cloud.google.com/run/docs/multiple-regions | |
| # - https://cloud.google.com/compute/docs/instance-groups/distributing-instances-with-regional-instance-groups | |
| # - https://cloud.google.com/load-balancing/docs/https/setup-global-ext-https-compute | |
| # - https://cloud.google.com/load-balancing/docs/backend-service#named_ports | |
| ##################################################################### | 
The following videos, or playlists, can help ensure consistent knowledge amongst all core team members and help make customer support easier.
CS fundamentals - 12-min videos (9 hr)
Learn about computer origins, transistors, logic gates, and computer architecture
Learn about binary, bits, and bytes (bits, bytes, and octets key in networking)
Computer architecture, programming, languages, ML, robotics
| param( | |
| [String]$sourceStorageAccount, | |
| [String]$targetStorageAccount, | |
| [String]$sourceFolder, | |
| [String]$targetFolder, | |
| [String]$sourceSasToken, | |
| [String]$targetSasToken, | |
| [String]$triggerPeriod, | |
| [Int32]$azCopyConcurrency | |
| ) | 
| Questions are not from any actual exam!!! | |
| Q: Create a job that calculates pi to 2000 decimal points using the container with the image named perl | |
| and the following commands issued to the container: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] | |
| Once the job has completed, check the logs to and export the result to pi-result.txt. | |
| Solution: | 
| # Create Linux Azure AKS Spot instance Node Pool | |
| # Required extension: | |
| # az extension add --name aks-preview | |
| # | |
| resource "azurerm_kubernetes_cluster_node_pool" "nodepool_cpu_spot" { | |
| #availability_zones = [1, 2, 3] | |
| enable_auto_scaling = true | |
| kubernetes_cluster_id = azurerm_kubernetes_cluster.aks_cluster.id | |
| max_count = 3 | |
| min_count = 1 | 
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
| # configurations | |
| $workingDirectory = "$(System.DefaultWorkingDirectory)" | |
| $sourceArtifact = "ZIP_FILE_THAT_HAS_YOUR_AAPLICATION_(PRODUCED_BY_BUILD)" | |
| $entryPointDll = "FILE_THAT_HAS_STATIC_VOID_MAIN.dll" | |
| $webJobName = "THE_NAME_OF_THE_WEBJOB" | |
| $jobType = "continuous" | |
| $appName = "THE_NAME_OF_AZURE_WEB_APP_THAT_WILL_HOST_JOB" | |
| $resourceGroupName = "GROUP_NAME" | |
| Write-Host "Validating artifact file" | 
| --- | |
| - hosts: localhost | |
| connection: local | |
| become: yes | |
| become_user: root | |
| become_method: sudo | |
| tasks: | |
| - name: Google Chrome PGP Key | |
| apt_key: url=https://dl.google.com/linux/linux_signing_key.pub state=present | 
| #!/bin/bash | |
| GRE='\033[1;32m' | |
| RED='\033[1;31m' | |
| NC='\033[0m' # No Color | |
| function checkport { | |
| if nc -zv -w10 $1 $2 <<< '' &> /dev/null | |
| then |