Skip to content

Instantly share code, notes, and snippets.

@effervescentia
effervescentia / searchandiser-ui-collection-templates.html
Created August 22, 2016 18:01
Searchandiser UI collection templates
<gb-results>
<ul>
<li each="{ records }">
<div if="{ collection === 'default' }">
<a href="#">
<img riot-src="{ allMeta[struct.image] }" alt="" />
</a>
<a href="#">
<p>{ allMeta[struct.title] }</p>
<p>{ allMeta[struct.price] }</p>
@effervescentia
effervescentia / config.yml
Last active April 13, 2017 17:28
CircleCI v2 Yarn Configuration
version: 2
jobs:
build:
working_directory: ~/my-github-project
docker:
- image: kkarczmarczyk/node-yarn
steps:
- checkout
- restore_cache:
@effervescentia
effervescentia / chatgpt.user.js
Last active December 7, 2022 05:49
ChatGPT fullscreen script
// ==UserScript==
// @name ChatGPT fulscreen script
// @namespace effervescentia.chatgpt
// @version 0.1
// @description Adds a fullscreen button to ChatGPT to make screenshots easier to capture with browser's built in capture functions
// @author effervescentia
// @match https://chat.openai.com/chat
// @grant none
// @updateURL https://gist.github.com/effervescentia/f0049180b5f8f894b477c8eb69fb0076/raw/ee509ca6ee47788df2826fb86a5afa0798031928/chatgpt.user.js
// @downloadURL https://gist.github.com/effervescentia/f0049180b5f8f894b477c8eb69fb0076/raw/ee509ca6ee47788df2826fb86a5afa0798031928/chatgpt.user.js
@effervescentia
effervescentia / marquee.js
Created October 4, 2023 20:23
marquee-ify
const IGNORED_TAGS = ['svg', 'NOSCRIPT', 'SCRIPT', 'BUTTON', 'CODE', 'IMG', 'VIDEO', 'A', 'LINK', 'META'];
const MAX_COUNTER = 2;
let counter = 0;
function delay(timeout) {
return new Promise(resolve => setTimeout(resolve, timeout));
}
function randomScroll(direction, origin) {
@effervescentia
effervescentia / vnr.log
Created July 25, 2024 19:26
volta-networking-repro log output
19:24:55 [TRACE] (1) vnr: [src/main.rs:17] Testing against URL: 'https://nodejs.org/dist/v20.0.0/node-v20.0.0-darwin-arm64.tar.gz'
Output file path: ./output/node-v20.0.0-darwin-arm64.tar.gz
19:24:55 [DEBUG] (1) attohttpc: trying to connect to nodejs.org:443
19:24:55 [DEBUG] (2) attohttpc: trying to connect to [2606:4700:10::6814:172e]:443
19:24:55 [DEBUG] (1) attohttpc: successfully connected to [2606:4700:10::6814:172e]:443, took 0ms
19:24:56 [DEBUG] (1) rustls::client::hs: No cached session for DnsName("nodejs.org")
19:24:56 [DEBUG] (1) rustls::client::hs: Not resuming any session
19:24:56 [TRACE] (1) rustls::client::hs: [/Users/benteichman/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.22.4/src/client/hs.rs:329] Sending ClientHello Message {
version: TLSv1_0,
payload: Handshake {