View package.json
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
{ | |
//... snip ... | |
"scripts": { | |
"dev": "sh -c '(export TURBO_ARGS=\"${*}\"; turbo dev:deps $TURBO_ARGS && overmind start --root . --no-port --procfile $(node run-dev.mjs))' zero", | |
"dev:dry": "turbo dev --dry=json $TURBO_ARGS" | |
} | |
} |
View Filter-NGPVAN-Political-Emails.md
- Go to https://script.google.com
- Create a New Project
- Replace the
Code.gs
file it creates for you with the javascript below (copy/paste) - Save the script
- Go to Triggers (looks like an alarm clock on left-hand side)
- Create a Trigger that acts every 10 minutes and calls
filterNGPVANSpam
- You'll need to authorize this script to act on your behalf, which may require that you use the scary "Advanced" section to allow the script to read/write to your email inbox.
View myserver.conf
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
server { | |
listen 80 ; | |
# listen [::]:80 ipv6only=on; | |
root /var/www/html; | |
index index.php index.html index.htm; | |
server_name y.relm.us; | |
location / { |
View generate_wave.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
// User-editable properties for this card: | |
export const PROPS = [ | |
propNumber('range', 10) | |
]; | |
// Make surrounding things tagged with "wave" do The Wave | |
export function onTick() { | |
card.cycle = (card.cycle || 0) + 1; | |
let actors = overlapSphere(getPos(), props.range); |
View ron-test.sh
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
./swarmdb new --help | |
# NotFound$~~~~~~~~~~ | |
# no replica found (.swarmdb) | |
./swarmdb init | |
./swarmdb new | |
# BADARGS$~~~~~~~~~~ | |
# new <rdt> [as objectname] [on BranchName] | |
# create an empty object of the given type |
View StyleDrift.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Principles-of-Adult-Behavior.md
Principles of Adult Behavior
- Be patient. No matter what.
- Don’t badmouth: Assign responsibility, not blame. Say nothing of another you wouldn’t say to him.
- Never assume the motives of others are, to them, less noble than yours are to you.
- Expand your sense of the possible.
- Don’t trouble yourself with matters you truly cannot change.
- Expect no more of anyone than you can deliver yourself.
- Tolerate ambiguity.
- Laugh at yourself frequently.
View rust-output.txt
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
error[E0277]: the trait bound `i64: diesel::deserialize::FromSql<diesel::sql_types::Nullable<diesel::sql_types::BigInt>, _>` is not satisfied | |
--> src/main.rs:32:10 | |
| | |
32 | .load::<db::models::Device>(&connection) | |
| ^^^^ the trait `diesel::deserialize::FromSql<diesel::sql_types::Nullable<diesel::sql_types::BigInt>, _>` is not implemented for `i64` | |
| | |
= help: the following implementations were found: | |
<i64 as diesel::deserialize::FromSql<diesel::sql_types::BigInt, DB>> |
View reset_328p.ino
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
const int rstPin = 7; | |
void setup() { | |
pinMode(rstPin, OUTPUT); | |
// DDRD |= (1 << PD7); | |
} | |
void loop() { | |
// RESET pin goes HIGH |
NewerOlder