Skip to content

Instantly share code, notes, and snippets.

@feveromo
feveromo / Claude MCP Windows.md
Last active February 28, 2025 01:59
MCP-Windows

Setting Up MCP Servers on Windows

A step-by-step guide to setting up Model Context Protocol (MCP) servers for Claude Desktop on Windows.

Prerequisites

  1. Install Node.js (v18.x or later)
    • Download from: https://nodejs.org/
    • Verify installation by opening Command Prompt (CMD) and running:
      node --version
      npm --version
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active February 28, 2025 01:58
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@d3noob
d3noob / .block
Created June 19, 2021 01:57
Sankey Diagram with v7
license: mit
@icqparty
icqparty / DNG SDK build on linux
Created June 5, 2014 22:31
This tutorial describes how to build the Adobe DNG SDK on Linux.
DNG 1.4 Parser
This tutorial describes how to build the Adobe DNG SDK on Linux.
It generates the dng_validate C++ program that can parse any DNG images, a bit like a "Hello world" for DNG image processing.
Adobe DNG SDK 1.4
XMP SDK
DNG SDK
dcraw issue
Compatibility issue
@xlplugins
xlplugins / gist:47193f40d26ddffefe5eceef1d0e71ff
Created January 31, 2024 14:33
Enable Coupon for Funnelkit cart
class FKWC_Enable_Coupon {
public function __construct() {
add_filter( 'woocommerce_coupons_enabled', [ $this, 'enable_coupon' ], 99 );
}
public function enable_coupon( $status ) {
if ( ! class_exists( '\FKCart\Plugin' ) ) {
@stenuto
stenuto / hls.sh
Created November 7, 2024 16:58
HLS ffmpeg script
#!/bin/bash
# Function to display usage information
usage() {
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]"
exit 1
}
# Check if at least one argument (input file) is provided
if [ $# -lt 1 ]; then
@kiding
kiding / NoScrollOnInputFocusiOSSafari.html
Last active February 28, 2025 01:33
Preventing iOS Safari scrolling when focusing on input elements
<!--
When an input element gets focused, iOS Safari tries to put it in the center by scrolling (and zooming.)
Zooming can be easily disabled using a meta tag, but the scrolling hasn't been quite easy.
The main quirk (I think) is that iOS Safari changes viewport when scrolling; i.e., toolbars shrink.
Since the viewport _should_ change, it thinks the input _will_ move, so it _should_ scroll, always.
Even times when it doesn't need to scroll—the input is fixed, all we need is the keyboard—
the window always scrolls _up and down_ resulting in some janky animation.
However, iOS Safari doesn't scroll when the input **has opacity of 0 or is completely clipped.**