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 | |
| # Strict mode: exit on error, exit on unset variable, pipefail | |
| set -euo pipefail | |
| echo "🚀 Installing Distrobox on macOS with full Podman support..." | |
| # 1. Check for Homebrew | |
| if ! command -v brew >/dev/null 2>&1; then | |
| echo "❌ Homebrew is not installed. Please install it first: https://brew.sh" |
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
| const express = require('express'); | |
| const htm = require('htm'); | |
| const vhtml = require('vhtml'); | |
| // create an html`` tag function for vhtml: | |
| const html = htm.bind(vhtml); | |
| const App = (props) => html` | |
| <div class="app"> | |
| <h1>This is an app</h1> |
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
| /* Sticker */ | |
| .sticker { | |
| position: relative; | |
| width: 3.5em; | |
| height: 3.5em; | |
| padding: 1em .5em 0; | |
| margin: 100px; | |
| background: slategray; | |
| color: white; |