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
| local wezterm = require "wezterm" | |
| local config = wezterm.config_builder() | |
| local action = wezterm.action | |
| config.set_environment_variables = { | |
| PATH = '/opt/homebrew/bin:' .. os.getenv('PATH') | |
| } | |
| local function scheme_for_appearance(appearance) | |
| if appearance:find "Dark" then |
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 bash | |
| # Debug: Print all commands with expanded variables | |
| # set -x | |
| # Get all remote refs & remove outdated local refs | |
| git fetch --all --prune | |
| # Create local copy of remote branch & load latest changes | |
| for rb in `git branch --remotes | grep -v 'HEAD'`; do |
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
| FROM node:16-alpine | |
| WORKDIR /app | |
| COPY . . | |
| RUN yarn install | |
| RUN yarn app:build | |
| EXPOSE 3000 | |
| CMD node dist/app.js |
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
| Homebrew build logs for python on Mac OS X 10.12 | |
| Build date: 2016-09-11 01:01:36 |
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
| <?php | |
| define('XML_RETURN_DOM_ELEMENT', 1); | |
| define('XML_WITHOUT_DECLARATION', 2); | |
| define('XML_PRETTY_PRINT', 4); | |
| function xml_decode($node) { | |
| $node = is_string($node) ? new \SimpleXMLElement($node) : $node; | |
| $result = ['tag' => $node->getName()]; | |
| foreach ($node->attributes() as $name => $value) { | |
| $value = (array) $value; |
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
| <!doctype html> | |
| <meta charset="utf-8" /> | |
| <style> | |
| #canvas { | |
| display: block; | |
| margin: 0 auto; | |
| border: 1px solid black; | |
| } | |
| </style> | |