Skip to content

Instantly share code, notes, and snippets.

import { ref } from 'vue'
import { useQuery, useQueryClient } from '@tanstack/vue-query'
import { CheckInService } from "@/services";
export function useCheckInsPendingReviewQuery() {
const queryKey = ['checkIns', 'pendingReview'];
const checkInsPendingReview = ref([]);
const queryClient = useQueryClient();
const cachedCheckins = queryClient.getQueryData(queryKey)?.data;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://kit.fontawesome.com/43d4b7622d.js"></script>
<link rel="stylesheet" href="https://kit-pro.fontawesome.com/releases/latest/css/pro.min.css" media="all">
<style id="jsbin-css">
class Garlic
def initialize(type:)
@type = type
end
end
class Person
def initalize(first_name:)
@firstname = first_name
end
# /features/posts/
Feature: Viewing All Posts
Scenario: There is one post to view
Given there is a post titled "Hello, World" with the body of "body"
And I am on the home page
Then I should see the post titled "Hello, World" with the body of "body"
Scenario: There are multiple posts to view
Given there are "5" Posts
@font-face {
font-family:"gotham-rounded";
src:url(data:font/opentype;base64,T1RUTwAMAIAAAwBAQ0ZGIP3jC/EAAZGoAABrxEdQT1OTpar9AAFXAAAAORJHU1VCybO9vQABkBQAAAGUT1MvMlo+O0YAAAEwAAAAYGNtYXA8Cl7DAAAJjAAABhJoZWFk5slbdAAAAMwAAAA2aGhlYQhCBRsAAAEEAAAAJGhtdHhGC1c8AAAPoAAABYRrZXJucXRRRgAAFUQAAUG8bWF4cAFhUAAAAAEoAAAABm5hbWU5fKHGAAABkAAAB/pwb3N0/7gAMgAAFSQAAAAgAAEAAAABAINHfQZIXw889QADA+gAAAAAwa2LegAAAADBrYt6/9D/DQSHBBAAAAADAAIAAAAAAAAAAQAAAyD/OADIBLv/0P/GBIcAAQAAAAAAAAAAAAAAAAAAAWEAAFAAAWEAAAACAl8BRQAFAAQCvAKKAAAAjAK8AooAAAHdADIA+gAAAAAAAAAAAAAAAKAAAH8AAABKAAAAAAAAAABIJkZKAAAAICISAyD/OADIA8AA8CAAAZMEAAAAAgUCvAAAACAAAwAAACABhgABAAAAAAAAAGIAAAABAAAAAAABAA4AYgABAAAAAAACAAQAcAABAAAAAAADABEAdAABAAAAAAAEABMAhQABAAAAAAAFAA0AmAABAAAAAAAGABIApQABAAAAAAAHAIUAtwABAAAAAAAIABUBPAABAAAAAAAJABIBUQABAAAAAAALABIBYwABAAAAAAAMABIBYwABAAAAAAANAIIBdQABAAAAAAAOACsB9wABAAAAAAAQAA4AYgABAAAAAAARAAQAcAADAAEECQAAAMQCIgADAAEECQABACYC5gADAAEECQACAA4DDAADAAEECQADACIDGgADAAEECQAEACQDPAADAAEECQAFABoDYAADAAEECQAGACQDPAADAAEECQAHAQoDegADAAEECQAIACoEhAADAAE
/*!
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('lib/fonts/fontawesome-webfont.eot?v=4.2.0');
src: url('lib/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('lib/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
*So What Did We Learn Today?*
@jarrettgreen
jarrettgreen / 0_reuse_code.js
Created June 1, 2014 23:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console