Skip to content

Instantly share code, notes, and snippets.

@d4kine
d4kine / AI_CC_Chat2Code.md
Last active July 17, 2025 09:41
Turn your Claude conversation into Claude Code instructions

I had a conversation with you that provided valuable insights. Now, I want to transform that conversation into clear, structured code instructions for Claude Code to implement directly.

Here’s what I need you to do:

  • Extract key implementation steps from the conversation
  • Convert them into actionable code instructions
  • Organize the output clearly (setup, logic, inputs/outputs, etc.)
  • Specify any assumptions or dependencies Claude should be aware of
  • Format it so I can paste it back into Claude to get working code
  • Write the results into a Markdown md file (Artifact)
@d4kine
d4kine / adguard_custom_filtering_rules.conf
Last active August 9, 2025 07:11
Adguard DNS (Whitelist) custom filtering rules
@@||g.live.com^$important
@@||www.smallrig.com.de^$important
@@||api.sprig.com^$important
@@||in.appcenter.ms^$important
@@||s.youtube.com^$important
@@||l.klarna.com^$important
@@||www.wireguard.com^$important
@@||hubblecontent.osi.office.net^$important
@@||protonvpn.com^$important
@@||mullvad.net^$important
@d4kine
d4kine / n8n-unlock.bookmarklet
Created April 7, 2025 17:57
Bookmarklet to unlock n8n-website embedded
javascript: (()=>{let a=0,b=()=>{const c=document.querySelector("n8n-demo");if(c&&c.shadowRoot){const d=c.shadowRoot.querySelector("div.overlay[hidden]");d&&d.remove();const e=c.shadowRoot.getElementById("int_iframe");e&&e.classList.contains("non_interactive")&&e.classList.remove("non_interactive")}else{a++<10&&setTimeout(b,500)}};b();})();
@d4kine
d4kine / custom_filtering_rules
Created January 24, 2025 14:15
AdGuard AllowList
@@||g.live.com^$important
@@||www.smallrig.com.de^$important
@@||api.sprig.com^$important
@@||in.appcenter.ms^$important
@@||s.youtube.com^$important
@@||l.klarna.com^$important
@@||www.wireguard.com^$important
@@||hubblecontent.osi.office.net^$important
@d4kine
d4kine / Nginx Proxy Manager docker compose file
Last active September 22, 2024 19:10
docker-compose.yaml
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
container_name: nginx-proxy-manager
networks:
- default
ports:
- '80:80'
- '81:81'
@d4kine
d4kine / buhl_adguard2.block
Created February 10, 2024 11:20
Buhl Software Blocklist Adguard Home
||on4u3.buhl.de
||www.on4u3.buhl.de
||DRM.BUHL.DE
||www.DRM.BUHL.DE
@d4kine
d4kine / adobe_adguard.block
Last active April 8, 2025 17:26
AdGuard Home Blocklist | Adobe
||.services.adobe.com
||*.services.adobe.com
||0mo5a70cqa.adobe.io
||100.24.211.130
||13.227.103.57
||162.247.242.20
||18.207.85.246
||18.228.243.121
||18.230.164.221
||192.150.14.69
@d4kine
d4kine / lg-tv_adguard.block
Last active October 10, 2025 20:12
LG TV Blocklist Adguard Home
||aic.recommend.lgtvcommon.com
||aic.sports.lgtviot.com
||images.pluto.tv
||discovery.meethue.com
||aic.homeprv.lgtvcommon.com
||aic.lgtviot.com
||us.emp.lgsmartplatform.com
||us.lgeapi.com
||aic.nudge.lgtvcommon.com
||www.ueiwsp.com
@d4kine
d4kine / wsl_print_hostip.sh
Created November 13, 2023 15:34
WSL2 - print IP of Windows host
#!/bin/sh
cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2
@d4kine
d4kine / exif_minus_one_hour.sh
Last active November 20, 2022 12:29
EXIF dates minus one hour and preserve original modify date (tested on MacOSX only)
#!/bin/bash
FILE_LIST=$(find . -type f -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.raw" -o -iname "*.arw" | sort)
if [[ "${#FILE_LIST[@]}" == 0 ]]; then
echo "No files of found with type: (*.jpg|*.jpeg|*.raw|*.arw)"
exit 1
fi
for f in $FILE_LIST; do
echo "PROCESSING $f"