Skip to content

Instantly share code, notes, and snippets.

Probably eating cake

Adrienne Tacke adriennetacke

Probably eating cake
View GitHub Profile
adriennetacke /
Created Jul 27, 2020
Create an Azure Container Registry via Azure CLI - Demo 1 from Adrienne Tacke's talk "Containers and You: The Azure Edition"
# Login via azure CLI
az login
# It's a good idea to dedicate a resource group to a container registry
# so that you can share images or delete containers without deleting images accidentally
# Create a resource group for your container registry
az group create --location <REPLACE-WITH-AZURE-LOCATION>
adriennetacke / helloEveryone.js
Last active Oct 4, 2019
Sphero BOLT Hello Everyone! Program - Simple program to have BOLT say hello in different languages while animating the origin country's flag.
View helloEveryone.js
async function startProgram() {
setMainLed({ r: 0, g: 0, b: 255 });
// Exaggerated spellings for correct pronounciation
var hellos = ["Koomoosta", "Hawlow", "Hello", "Ola"];
for (var i = 0; i < hellos.length; i++) {
setMainLed({ r: 255, g: 255, b: 90});
adriennetacke / countdown.js
Last active Dec 28, 2020
Countdown timer in pure JavaScript
View countdown.js
function countdown(endDate) {
let days, hours, minutes, seconds;
endDate = new Date(endDate).getTime();
if (isNaN(endDate)) {
setInterval(calculate, 1000);
adriennetacke / factorial.js
Created Aug 3, 2016
Factorial function in Javascript.
View factorial.js
function factorial(number) {
var temp = number;
for (var i = 1; i < number; i++){
temp *= i;
console.log(`${number}! is ${temp}.`);