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
| // Copyright © 2023 Tim Bueno. All rights reserved. | |
| import SwiftUI | |
| struct EqualWidthPreferenceKey: PreferenceKey { | |
| typealias Value = CGFloat | |
| static var defaultValue: CGFloat = 0 | |
| static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { | |
| value = nextValue() | |
| } |
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
| --- | |
| - hosts: webservers | |
| user: vagrant | |
| sudo: true | |
| tasks: | |
| - name: System | Add supervisor group to system | |
| group: name=supervisor state=present | |
| - name: System | Create new user |
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 python | |
| # encoding: utf-8 | |
| import sys | |
| from argparse import ArgumentParser | |
| from xml.dom import minidom | |
| try: | |
| from urllib.request import urlopen | |
| from urllib.parse import urlencode | |
| except ImportError: |