show dbs
This file contains hidden or 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
// RenderSmoothImage.jsx | |
import React from "react"; | |
import './styles.scss'; | |
export default ({ src, alt = "notFound", objectFit = "contain" }) => { | |
const [imageLoaded, setImageLoaded] = React.useState(false); | |
const [isValidSrc, setIsValidSrc] = React.useState(!!src); | |
return ( |
This file contains hidden or 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
// yarn add googleapis@27 @types/node | |
import fs from "fs"; | |
import readline from "readline"; | |
import {google} from "googleapis"; | |
import { OAuth2Client } from "google-auth-library"; | |
const CRED_PATH = "secret/credentials.json"; | |
const TOKEN_PATH = "secret/token.json"; | |
const SCOPES = ["https://www.googleapis.com/auth/spreadsheets.readonly"]; |
This file contains hidden or 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
{ | |
//Begin Undo group | |
app.beginUndoGroup("Generate Graphical Equalizer"); | |
/*Variables:*/ | |
//How far apart each null is placed across the screen | |
var nullPlacementWidth = 0; | |
//Creates a variable that holds the selected comp | |
var curItem = app.project.activeItem; | |
//Creates an array that stores the lowpass values and the highpass values |