Skip to content

Instantly share code, notes, and snippets.

View AlexVipond's full-sized avatar

Alex Vipond AlexVipond

View GitHub Profile
@AlexVipond
AlexVipond / SimpleCarousel.vue
Last active May 8, 2021 02:41
Use Vue's computed getters and setters to simplify APIs that might otherwise be esoteric for other developers
<script lang="ts">
import { useNavigable } from 'path/to/useNavigable'
export default {
setup () {
const myImages = [...]
const { location, next, previous } = useNavigable(myImages)
return {
@AlexVipond
AlexVipond / app.vue
Created November 9, 2020 02:09 — forked from lmiller1990/app.vue
Renderless Components
<template>
<v-input
v-slot="{ error }"
:min="5"
:max="10"
:value="username"
:validation-algorthm
>
<input v-model="username" />
<div v-if="error" class="error">
@AlexVipond
AlexVipond / README.md
Last active July 2, 2021 19:09
Useful tricks in Google Sheets

Useful tricks in Google Sheets

Formulas

Generate ID

=ArrayFormula(
  if(
 len(A2:A),
@AlexVipond
AlexVipond / .gitignore
Last active April 10, 2020 22:37
Page scraper that uses Puppeteer and headless Chrome to build a graph of docs.kumu.io
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data