Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / 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>