Skip to content

Instantly share code, notes, and snippets.

@AnjanJ
AnjanJ / debug.json
Last active October 19, 2025 19:24
zed settings,tasks and debug.json
[
{
"name": "Ruby: Debug Current File",
"type": "ruby",
"request": "launch",
"program": "${file}",
"cwd": "${workspaceFolder}",
"useBundler": true,
"pathToBundler": "/usr/local/bin/bundle",
"pathToRDebugIDE": "rdebug-ide",
@tombigel
tombigel / utils.ts
Last active August 8, 2023 07:00
Helpful Javascript functions I use frequently, mainly vanilla alternatives to lodash etc.
/*!
* Deep merge two or more objects together.
* (c) 2019 Chris Ferdinandi, MIT License, https://gomakethings.com
* @param {Object} objects The objects to merge together
* @returns {Object} Merged values of defaults and options
*/
export function deepMerge(...args: any[]) {
// Setup merged object
const newObj: Record<string, any> = {};
@davidfowl
davidfowl / dotnetlayout.md
Last active November 4, 2025 18:07
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@magicznyleszek
magicznyleszek / css-selectors.md
Last active October 11, 2025 17:34
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Hi! If you see an error or something is missing (like :focus-within for few years :P) please let me know ❤️

Element selectors

Element -- selects all h2 elements on the page

h2 {