active: true client: Backcountry title: Gearhead Magic date: '2022-01' tags:
View index.html
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> |
View NorthBathroomAmbient.yaml
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 |
View autoDeleteGmail.js
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
function autoDelete() { | |
console.log('Started autoDelete run.'); | |
var delayDays = 2; | |
var maxDate = new Date(); | |
maxDate.setDate(maxDate.getDate()-delayDays); | |
var label = GmailApp.getUserLabelByName("delete me"); | |
var threads = label.getThreads(); | |
if(threads.length > 0){ | |
console.log('Found ' + threads.length + ' emails marked for deletion.'); |
View .gitignore
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: |
View email-generator-result.php
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']; | |
?> |
View gist:460e356e05e2896688303c1729f40d76
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 |