Skip to content

Instantly share code, notes, and snippets.

@lynndylanhurley
lynndylanhurley / # neovim - 2022-07-02_13-16-18.txt
Created July 2, 2022 18:16
neovim on macOS 12 - Homebrew build logs
Homebrew build logs for neovim on macOS 12
Build date: 2022-07-02 13:16:18
" lsp specific config
lua << EOF
local lspconfig = require('lspconfig')
local autopairs = require('nvim-autopairs')
local cmp = require('cmp')
local saga = require('lspsaga')
local lspkind = require('lspkind')
saga.init_lsp_saga()
import React from "react";
import { Field } from "react-final-form";
import { useRouter } from "next/router";
import styled from "styled-components";
import LoginRegistrationLayout from "components/LoginRegistrationLayout";
import tempId from "lib/tempId";
import TextInput from "components/TextInput";
import PageQuery from "components/PageQuery";
import ImageUploadInput from "components/ImageUploadInput";
import Button from "components/Button";
import React from "react";
import PropTypes from "prop-types";
import { Query } from "lib/Query";
import styled from "styled-components";
import Button from "components/Button";
import Icon from "components/icons";
const TextWrapper = styled.div`
margin: 15px;
`;
function QueryIndexDemo() {
const [currentPage, setCurrentPage] = useState(1);
return (
<Query
userType="vendor"
query={{
grimers: {
fields: ["nickname", "hp", "createdAt"],
paginate: {
page: currentPage,
const client = require('@sendgrid/mail');
require('dotenv').config();
function sendEmail(sendgridClient, message, senderEmail, senderName, receiverEmail, contactEmail) {
return new Promise((fulfill, reject) => {
const data = {
from: {
email: senderEmail,
name: senderName,
},
import React, { useEffect, useState } from 'react';
import { get } from 'lodash';
function IframeTest() {
const [size, setSize] = useState({});
function receiveMessage(message) {
const { data } = message;
if (get(data, 'type') === 'resize') {
const { width, height } = data;
let(:index_req) do
{
data: {
appContentScope: {
id: app_scope.id,
fields: ['name'],
include: {
categoryAppContentScopes: {
filter: { appContentScopeId: { fromContext: 'appContentScope.id' } },
sort: [{ field: 'position', direction: 'asc' }],
import { useRef, useEffect } from 'react';
// stolen from:
// https://usehooks.com/useWhyDidYouUpdate/
export default function useRenderDebugger(name, props) {
// Get a mutable ref object where we can store props ...
// ... for comparison next time this hook runs.
const previousProps = useRef();
useEffect(() => {
import getConfig from 'next/config';
import '@v1/theme/main.scss';
const {
publicRuntimeConfig: { API_BASE_URL }
} = getConfig();