Skip to content

Instantly share code, notes, and snippets.

View tifandotme's full-sized avatar

Tifan Dwi Avianto tifandotme

View GitHub Profile
{
"$sdk_debug_session_start": 1759965238178,
"$last_posthog_reset": "2025-10-08T09:37:38.397Z",
"$sdk_debug_replay_internal_buffer_length": 0,
"$web_vitals_enabled_server_side": false,
"$lib": "web",
"$sdk_debug_replay_internal_buffer_size": 0,
"distinct_id": "qHNUe1Sjbib997Ln8fObtwg13vr2",
"$host": "",
"app_route": "/health/image-capture",
window.restoreBatch = function(eventData, companyId) {
const HealthParameter = { whiteSpot: "whiteSpot", tubulesLipid: "tubulesLipid", tubulesShape: "tubulesShape", thc: "thc", chromatophore: "chromatophore", hepatoColor: "hepatoColor" };
const samples = eventData.samples.map((s) => ({
uuid: s.uuid,
name: s.name,
farmId: s.farm_id || "",
cycleId: s.cycle_id || "",
pondId: s.pond_id || "",
DOC: s.doc || "",
shrimpsCount: s.shrimps_count?.toString() || "10",

GitHub Copilot Custom Agent Mode

I modified that beast mode to be more robust, and I love it. Refactored an entire older repo I made from years ago just for fun and was able to do perfectly

I call it "Extensive Mode"

"Extensive Mode.chatmode.md"

The tools should be customized per environment and what you have available,

import { useEffect, useMemo, useState } from "react";
import { loadAll } from "@tsparticles/all"; // if you are going to use `loadAll`, install the "@tsparticles/all" package too.
import { type Container, type ISourceOptions } from "@tsparticles/engine";
import Particles, { initParticlesEngine } from "@tsparticles/react";
export function Confetti() {
const [init, setInit] = useState(false);
useEffect(() => {
initParticlesEngine(async (engine) => {
@tifandotme
tifandotme / giscus.css
Last active April 20, 2024 14:27
giscus
/*! MIT License
* Copyright (c) 2018 GitHub Inc.
* https://github.com/primer/primitives/blob/main/LICENSE
*/
main {
--color-prettylights-syntax-comment: #6e7781;
--color-prettylights-syntax-constant: #0550ae;
--color-prettylights-syntax-entity: #8250df;
--color-prettylights-syntax-storage-modifier-import: #24292f;
@tifandotme
tifandotme / static-filters.txt
Last active October 26, 2024 15:03
uBlock Origin filter list
!==============> YOUTUBE (DESKTOP)
! HOMEPAGE
! feed
!youtube.com##ytd-browse[page-subtype="home"]
!youtube.com##ytd-guide-entry-renderer > a[title="Home"]
! sections
youtube.com##span:has-text(/Shorts/):upward(ytd-rich-section-renderer)
youtube.com##span:has-text(/Breaking news/):upward(ytd-rich-section-renderer)