This file contains 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
import { customRef } from "vue"; | |
export const isDifferentSet = <T>(newSet: Set<T>, oldSet: Set<T>): boolean => { | |
if (newSet.size !== oldSet.size) { | |
return true; | |
} | |
for (const value of newSet) { | |
if (!oldSet.has(value)) { |
This file contains 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
<?php | |
declare(strict_types=1); | |
namespace App\Services\Browsershot; | |
use RuntimeException; | |
use Spatie\Browsershot\Browsershot as SpatieBrowsershot; | |
use Spatie\TemporaryDirectory\TemporaryDirectory; |
This file contains 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
<template> | |
<input type="text" v-model="query" /> | |
</template> | |
<script lang="ts"> | |
import { defineComponent, onMounted, watch, computed, getCurrentInstance, ref } from 'vue' | |
const useInternals = () => { | |
const internals = ref<any>(); | |
This file contains 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
const chromium = require('chrome-aws-lambda'); | |
const fs = require('fs'); | |
const URL = require('url').URL; | |
const URLParse = require('url').parse; | |
const [, , ...args] = process.argv; | |
/** | |
* There are two ways for Browsershot to communicate with puppeteer: |
This file contains 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
<?php | |
namespace App\Providers; | |
use Illuminate\Database\Eloquent\Builder; | |
class DatabaseServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Bootstrap any application services. |
This file contains 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
// stylelint-disable declaration-no-important | |
// | |
// Border | |
// | |
@each $breakpoint in map-keys($grid-breakpoints) { | |
@include media-breakpoint-up($breakpoint) { | |
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); |
This file contains 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
using System; | |
using System.Reflection; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
public class EditorWindowFinder : EditorWindow | |
{ |
This file contains 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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class OcclusionBase : MonoBehaviour { | |
public bool isVisible { get; set; } | |
public DateTime lastSeen { get; set; } | |
} |
This file contains 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
.UserProfilePage .secretBoardWrapper .Board.boardCoverImage { | |
background: #fff !important; | |
} | |
.Board.boardCoverImage, .Pin.summary:not(.exploreTabPin) { | |
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.22) !important; | |
background: #fff !important; | |
} | |
.pinCredits { |