Skip to content

Instantly share code, notes, and snippets.

View ramilamparo's full-sized avatar

Ram ramilamparo

View GitHub Profile
@alexreardon
alexreardon / drag-and-drop-notes.md
Last active January 15, 2025 17:28
An explanation of the timing of drag and drop events

Drag and drop

This is a collection of knowledge I have built up regarding browser powered drag and drop functionality

Events

dragstart

  • timing: once as drag is starting
  • event.target: draggable Element
@chrisswanda
chrisswanda / WireGuard_Setup.txt
Last active February 2, 2025 00:09
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be
@vitorbritto
vitorbritto / regex.md
Last active January 30, 2025 09:22
Regex Cheat Sheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping