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
| #!/usr/bin/env python3 | |
| import usb.core | |
| import struct | |
| from collections import namedtuple | |
| APPLE_VID = 0x05ac | |
| Target = namedtuple("Target", ["vid", "pid", "name", "model", "total_size"]) |
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
| # Source: https://gist.github.com/vfarcic/a5cb2e8dcd1cf9c14194db3310d5c282 | |
| ######################################################### | |
| # Is CUE The Perfect Language For Kubernetes Manifests? # | |
| # https://youtu.be/Z-fdFEvgNss # | |
| ######################################################### | |
| # Additional Info: | |
| # - Cue: https://cuelang.org | |
| # - Helm vs Kustomize - The Fight Between Templating and Patching in Kubernetes: https://youtu.be/ZMFYSm0ldQ0 |
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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: maintenance-page | |
| data: | |
| maintenance.html: |- | |
| <!--HTML GOES HERE--> | |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <link rel="stylesheet" href="maintenance.css"> |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
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
| DOCUMENTATION = ''' | |
| --- | |
| module: boilerplate | |
| short_description: This is an example boilerplate module. | |
| description: | |
| - Boilerplate ansible module | |
| - Use as a base for building your own modules and learning about how ansible modules work. | |
| author: "Elias Nygren (@elnygren)" | |
| options: | |
| state: |
NewerOlder