Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce sodales ligula sed urna. Aliquam posuere arcu viverra erat. Pellentesque et enim dapibus ante facilisis bibendum. Nam congue dapibus urna. Vestibulum consequat arcu at magna. Nunc faucibus mollis lacus. Nulla tempor luctus tellus. Donec blandit lobortis pede. Vestibulum vel pede ut urna eleifend lacinia. Maecenas ligula nibh, imperdiet at, interdum eget, sagittis eu, enim. Vivamus vel urna. Donec fringilla ullamcorper sem. In risus arcu, pellentesque cursus, faucibus cursus, consequat quis, est. Aliquam id erat. Aliquam arcu. Phasellus vulputate. Integer sem diam, mattis vel, viverra ullamcorper, ultricies quis, nisl. Sed sollicitudin quam ut nisi. Vivamus velit sapien, volutpat eu, faucibus id, nonummy id, urna.
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
#!/home/pi/home-automation/venv/bin/python | |
import os | |
import time as mytime | |
from pprint import pprint | |
from pyowm import OWM | |
from pyhubitat import MakerAPI | |
import astropy.units as u | |
from astropy.time import Time | |
from datetime import datetime | |
from astropy.coordinates import EarthLocation, AltAz |
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
// app/services/auth.server.ts | |
import { parse } from "cookie"; | |
import { verify } from "jsonwebtoken"; | |
import { findOrCreateUser } from "~/models/user.server"; | |
import { createUserSession, logout } from "~/services/session.server"; | |
import type { HankoAuthInfo } from "~/routes/login"; | |
import { JwksClient } from "jwks-rsa"; | |
export const extractHankoCookie = (request: Request) => { |
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
import React from "react"; | |
import { type ActionFunction, json, type LoaderFunction } from "@remix-run/node"; | |
import { requireUser } from "~/session.server"; | |
import { getUserStatus, syncStripeCustomer } from "~/models/user.server"; | |
import { useLoaderData } from "@remix-run/react"; | |
import Gravatar from "~/components/Gravatar"; | |
import { makeDomainFunction } from "domain-functions"; | |
import { register } from "~/join.server"; | |
import Form from "~/ui/form"; | |
import { z } from "zod"; |
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
FROM node:18-bullseye-slim | |
WORKDIR /myapp | |
# set for base and all layer that inherit from it | |
ENV NODE_ENV development | |
ENV PORT 8888 | |
ENV DATABASE_URL file:./data.db?connection_limit=1 | |
# Install openssl for Prisma |
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
#!/home/pi/home-automation/venv/bin/python | |
import os | |
import time as mytime | |
from pprint import pprint | |
from pyowm import OWM | |
from pyhubitat import MakerAPI | |
import astropy.units as u | |
from astropy.time import Time | |
from datetime import datetime |
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
requests~=2.24.0 | |
boto3~=1.16.5 | |
aws_requests_auth~=0.4.3 |
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 | |
# Specify the desired volume size in GiB as a command-line argument. If not specified, default to 20 GiB. | |
SIZE=${1:-20} | |
# Get the ID of the environment host Amazon EC2 instance. | |
INSTANCEID=$(curl http://169.254.169.254/latest/meta-data//instance-id) | |
# Get the ID of the Amazon EBS volume associated with the instance. | |
VOLUMEID=$(aws ec2 describe-instances \ |
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
/////////////////////////////////////////////////////////////////////////////// | |
// The code in this source file is licensed under the Creative Commons | |
// Attribution 4.0 International Public License. License text can be found at | |
// https://creativecommons.org/licenses/by/4.0/deed.ast. It may be shared and | |
// used freely for any purpose, as long as author attribution is included with | |
// the source code. | |
// | |
// written by Sophia Brandt | |
// https://www.rockyourcode.com/custom-react-hook-use-aws-amplify-auth/ | |
/////////////////////////////////////////////////////////////////////////////// |
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
∴ sudo jamf recon | |
Password: | |
Retrieving inventory preferences from https://casper.amazon.com:8443/... | |
Finding extension attributes... | |
Locating applications... | |
Locating hard drive information... | |
Locating accounts... | |
Locating printers... | |
Searching path: /System/Applications | |
Searching path: /Applications |
NewerOlder