Skip to content

Instantly share code, notes, and snippets.

View planetrenox's full-sized avatar

­​‍‌­​‍‌­‎­‌⁠‏­‌⁠‏­‌⁠‍​‌⁠‏‏‌‏⁠​‌‏‏‎‌‏‏‎‌⁠‏‏‌⁠‍⁠‌⁠‏⁠‌⁠‍­‌­​​‌­​⁠‌⁠‍‍‌⁠‍⁠‌⁠‏⁠‌­​​‌‏‏​‌­​⁠‌⁠‍⁠‌⁠‍‏‌‏‏‎‌⁠‏­‌­​‎‌­‎‎‌⁠‍‍‌­‎⁠‌⁠‍­‌⁠‏­‌⁠‍⁠‌⁠‏‎‌­​‎‌‏‏‎‌­‎⁠‌­​​‌⁠‍‍‌­​‎‌‏‏⁠‌­‎­‌­​‏‌⁠‍­‌­​​‌⁠‏‏renox planetrenox

View GitHub Profile
@planetrenox
planetrenox / readme.md
Created February 25, 2024 13:22
npmjs readme.md template
function measureLoadTime(url) {
return new Promise((resolve, reject) => {
const startTime = performance.now();
const script = document.createElement('script');
script.src = url;
script.type = 'module';
script.onload = () => {
const endTime = performance.now();
const loadTime = endTime - startTime;
resolve(loadTime);
@planetrenox
planetrenox / STARSHINEBRIGHT
Last active April 22, 2024 19:02
unicode collection
U+1F7B5 🞵 LIGHT SIX SPOKED ASTERISK
U+1F7B6 🞶 MEDIUM SIX SPOKED ASTERISK
U+1F7B7 🞷 BOLD SIX SPOKED ASTERISK
U+1F7B8 🞸 HEAVY SIX SPOKED ASTERISK
U+1F7B9 🞹 VERY HEAVY SIX SPOKED ASTERISK
U+1F7BA 🞺 EXTREMELY HEAVY SIX SPOKED ASTERISK
U+1F7B7 🞷 BOLD SIX SPOKED ASTERISK
U+2731 ✱ HEAVY ASTERISK
U+2726 ✦ BLACK FOUR POINTED STAR
U+2736 ✶ SIX POINTED BLACK STAR
<|begin_of_text|><|start_header_id|>system<|end_header_id|>

{{ system_prompt }}<|eot_id|><|start_header_id|>user<|end_header_id|>

{{ user_msg_1 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>

{{ model_answer_1 }}<|eot_id|>

in LM Studio this translates to:

<head><script>
<body><script>
type=module and defer in both head and body run next
+ defer is ignored without src=""
+ scripts with type="module" are deferred by default
+ scripts of same kind are guaranteed to execute in the order they appear