flowchart LR
Push["🔀 Git Push / PR<br/><i>+ AI code review</i>"] --> Build["🔨 Build & Test<br/><i>Go + Kaniko</i>"]
Build --> Scan["🔍 Security Scan<br/><i>Gitleaks</i>"]
Scan --> Dev["🚀 Deploy Dev<br/><i>Helm + smoke test</i>"]
Dev --> SNOW2["📝 ServiceNow<br/><i>create CHG</i>"]
SNOW2 --> Approve2["✋ Human Approval"]
Approve2 --> Prod["🚀 Deploy Prod<i>same artifact</i>"]
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
| { | |
| "data": [ | |
| { "latitude": 40.7128, "longitude": -74.0060, "value": 75 }, | |
| { "latitude": 34.0522, "longitude": -118.2437, "value": 42 }, | |
| { "latitude": 51.5074, "longitude": -0.1278, "value": 88 }, | |
| { "latitude": 35.6895, "longitude": 139.6917, "value": 67 }, | |
| { "latitude": -33.8688, "longitude": 151.2093, "value": 55 }, | |
| { "latitude": 48.8566, "longitude": 2.3522, "value": 91 }, | |
| { "latitude": 55.7558, "longitude": 37.6173, "value": 60 }, | |
| { "latitude": 37.7749, "longitude": -122.4194, "value": 78 }, |
Generate a web application written in Python that will show a random cat photo every ten seconds. Import the time, random, and requests modules, and import Flask and Response classes from the flask module.
Get the photos from the placekitten.com API. The format of the URL should be: https://placekitten.com/width/height for example https://placekitten.com/600/400.
The photos of the cats should be between 400-800 pixels height and width. The app should continue running and log inbound requests for files to the terminal. Do not use an index.html template. The entire app should be in a single file.
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
| import random | |
| WORD_LIST = ['APPLE', 'BANANA', 'CHERRY', 'DONKEY', 'ELEPHANT', | |
| 'FLAMINGO', 'GORILLA', 'HIPPO', 'IGUANA', 'JAGUAR', | |
| 'KANGAROO', 'LEMUR', 'MONKEY', 'NYALA', 'OSTRICH', | |
| 'PENGUIN', 'QUOKKA', 'RABBIT', 'SQUIRREL', 'TURTLE', | |
| 'UGUISU', 'VULTURE', 'WALRUS', 'XERUS', 'YAK', 'ZEBRA'] | |
| HANGMAN_PICS = [ | |
| ''' | |
| +---+ | |
| | |
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
| #!/bin/bash | |
| echo "Installing ponysay for user $(id)" | |
| cd $HOME | |
| [[ -d $HOME/ponysay ]] && rm -rf $HOME/ponysay | |
| sudo apt -y update && sudo apt -y install texinfo git cowsay fortune-mod | |
| git clone https://github.com/erkin/ponysay && cd ponysay | |
| python3 ./setup.py install --private --freedom=partial | |
| $HOME/.local/bin/ponythink -f rarity "Ponysay was successfully installed at $HOME/.local/bin/ponysay" | |
| echo "Run this command to add ponysay to your PATH:" |
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
| <a href="#unique-id-of-image"> | |
| <img alt="alt text" src="../assets/filename.png" /> | |
| </a> | |
| <a href="#" class="lightbox" id="unique-id-value"> | |
| <img alt="alt text" src="../assets/filename.png" /> | |
| </a> |
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
| summary { color: cyan; } | |
| hr.cyan { background-color: cyan; } | |
| hr.thick { background-color: cyan; color: cyan; height: 2px; } | |
| h2.cyan { color: cyan; } |
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
| resource "azurerm_resource_group" "example" { | |
| name = "example" | |
| location = "Central US" | |
| } |
Goal- centralized UI, and scheduler, for managing automated builds
- Terraform Enterprise - HashiCorp
NewerOlder