Note: For now, Apple Silicon users need to be set up for x86 mode
First, download Go or brew install go
. Then, put largetype.go
in a directory called largetype
and from there run:
$ go mod init largetype
import { getAuth, withClerkMiddleware } from "@clerk/nextjs/server"; | |
import { NextResponse, NextFetchEvent } from "next/server"; | |
import type { NextRequest } from "next/server"; | |
import { Ratelimit } from "@upstash/ratelimit"; | |
import { Redis } from "@upstash/redis"; | |
// Add public paths for Clerk to handle. | |
const publicPaths = ["/", "/sign-in*", "/sign-up*", "/api/blocked"]; | |
// set your rate limit. |
Note: For now, Apple Silicon users need to be set up for x86 mode
First, download Go or brew install go
. Then, put largetype.go
in a directory called largetype
and from there run:
$ go mod init largetype
const meditaionVideoData = { | |
morning: ['https://www.youtube.com/watch?v=wnusFbC0E80', 'https://www.youtube.com/watch?v=L-ecrmgzdGc', 'https://www.youtube.com/watch?v=fH3N7GTFDkw', 'https://www.youtube.com/watch?v=9Uk_w-r7zv4', 'https://www.youtube.com/watch?v=3RZ8n86CmJg', 'https://www.youtube.com/watch?v=xmKhN63yCPw&vl=en', 'https://www.youtube.com/watch?v=GneKaqMdKyk', 'https://www.youtube.com/watch?v=WYP_W49o1vQ', 'https://www.youtube.com/watch?v=-ZfC7FWjscc'], | |
day:['https://www.youtube.com/watch?v=ZToicYcHIOU'], | |
evening: ['https://www.youtube.com/watch?v=4jqGrF3Zqtg', "https://m.youtube.com/watch?v=aEqlQvczMJQ", "https://m.youtube.com/watch?v=bG3AcN-XOrw", "https://m.youtube.com/watch?v=qy8PKKwbjM0"]} | |
const ui = new UITable(); | |
const row = new UITableRow() | |
const buttonRow = new UITableRow(); | |
const button= buttonRow.addButton("MEDITATE NOW") |
iTerm2
Command Line Tools
xcode-select –install
import React from 'react'; | |
class MicroFrontend extends React.Component { | |
componentDidMount() { | |
const { name, host, document } = this.props; | |
const scriptId = `micro-frontend-script-${name}`; | |
if (document.getElementById(scriptId)) { | |
this.renderMicroFrontend(); | |
return; |
import React, { useState, useEffect, useContext, FC } from "react"; | |
import createAuth0Client from "@auth0/auth0-spa-js"; | |
interface Auth0ProviderProps { | |
children: JSX.Element; | |
auth0Options: Auth0ClientOptions; | |
onRedirectCallback: Function; | |
} | |
export interface Auth0ContextType { |
#!/bin/bash | |
BASEBRANCH=${1:-master} | |
HEADBRANCH=`git rev-parse --abbrev-ref HEAD` | |
if [ "$BASEBRANCH" == "--help" ] || [ "$BASEBRANCH" == "-h" ]; | |
then | |
echo "Usage: rebase BASEBRANCH (defaults to master)" | |
echo "Re-run the same command after fixing conflicts to reset upstream branch and push." | |
exit | |
fi |
import { IFieldResolver } from 'graphql-tools'; | |
import { DocumentNode } from 'graphql'; | |
import { ResolverContext } from '.'; | |
interface InputVariablesShape<TInput> { | |
input: TInput; | |
} | |
/** |
// Copyright 2016 Jeremie Miserez <jeremie@miserez.org> | |
// | |
// MIT License | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
// 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 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF O |