active: true client: Backcountry title: Gearhead Magic date: '2022-01' tags:
This file contains 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
alias: Google Home - N Bathroom - Ambient Sounds To Poop To | |
description: 'After the N bathroom light has been on for 20s, Check to make sure GH is not in use, then set the volume to 0 and select an ambient track based on time of day, and cast it to the google home for 10 minutes.' | |
trigger: | |
- platform: device | |
type: turned_on | |
device_id: 43159d577b25076ba654bfbe4f07b252 | |
entity_id: switch.north_bathroom_light | |
domain: switch | |
for: | |
hours: 0 |
This file contains 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
# git ls-files --others --exclude-from=.git/info/exclude | |
# Lines that start with '#' are comments. | |
# For a project mostly in C, the following would be a good set of | |
# exclude patterns (uncomment them if you want to use them): | |
# *.[oa] | |
# *~ | |
# ignore everything in the root except the "wp-content" directory. | |
!wp-content/ | |
# ignore everything in the "wp-content" directory, except: |
This file contains 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 | |
$phoneInput = $_REQUEST['phonepretty']; | |
$phonePretty = preg_replace('/\D/', ' ', $phoneInput ); | |
$phoneURL = preg_replace('/\D/', '', $phoneInput); | |
$name = $_REQUEST['name']; | |
$position = $_REQUEST['position']; | |
?> |
This file contains 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
npm init @vitejs/app | |
code . | |
echo "# pb-oct-2022" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git branch -M main | |
git remote add origin git@github.com:jordanlambrecht/pb-oct-2022.git |
This file contains 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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html data-editor-version="2" class="sg-campaigns" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> | |
<!--[if !mso]><!--> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> | |
<!--<![endif]--> | |
<!--[if (gte mso 9)|(IE)]> | |
<xml> |
This file contains 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 | |
## This code is based off of https://raw.githubusercontent.com/Servarr/Wiki/master/servarr/servarr-install-script.sh and re-worked for MacOS users | |
### Boilerplate Warning | |
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
#EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
#MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
#NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
This file contains 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
<header > | |
<section class="header-container blue"> | |
<h1>Layered pinning from bottom</h1> | |
<p>A simple example where overlapping panels reveal from the bottom.</p> | |
<div class="scroll-down">Scroll down | |
<div class="arrow"></div> | |
</div> | |
</section> | |
</header> |
This file contains 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
--- | |
name: PROJECT_NAME | |
version: "3.8" | |
# ╔══════════════════════════════════════════════════════════════════════════════╗ | |
# ║ ║ | |
# ║ TEMPLATE ║ | |
# ║ ║ | |
# ╚══════════════════════════════════════════════════════════════════════════════╝ | |
# COMMON SERVICES FRAGMENT |
This file contains 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
# This formula calculates the difference between the current date and a specified “Date Billed” property in Notion. It breaks down the time difference into years, months, and days, and formats the output in a human-readable string. The formula also correctly pluralizes the time units and omits any unit that has a value of zero. | |
# Logic: | |
# - if the date range is less than a month, hide the month and years text so it doesn't show 0 | |
# - if the time period = 1, make it singular instead of plural | |
# - my example uses a date column called 'Date Billed' and outputs to a column named 'Past Due' | |
# - Not 100% accurate, as it assumes there are 30 days in a month |
OlderNewer