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
// Note: This doubly linked list implementation is meant to cover most any use | |
// case of doubly linked lists. You likely don't need all of the functions | |
// included for your use case. | |
class DoublyLinkedListNode<T> { | |
public value: T; | |
public next?: DoublyLinkedListNode<T>; | |
public prev?: DoublyLinkedListNode<T>; | |
constructor(value: T) { |
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
<script type="module" defer> | |
import devtools from '/devtools-detect.js'; | |
const consoleInfoAnimation = () => { | |
// console.info animation here | |
}; | |
const handleDevtoolsChange = (e) => { | |
if (e.detail.isOpen) { | |
consoleInfoAnimation(); |
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
// apps/website-1/svelte.config.js | |
import { createSvelteConfig } from 'config/svelte.js' | |
import adapter from '@sveltejs/adapter-cloudflare' | |
export default createSvelteConfig({ | |
adapter: adapter(), | |
alias: { | |
$sections: 'src/sections', | |
}, |
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
let lastPlaylistId = 55; | |
for (let i = 1; i <= lastPlaylistId; i++) { | |
let index = i; | |
setTimeout(() => window.location = `exportPlaylist.view?id=${i}`, index * 100); | |
} |
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
gb() { | |
git checkout main | |
git pull | |
git branch "$1" | |
git checkout "$1" | |
} |
OlderNewer