Skip to content

Instantly share code, notes, and snippets.

View kucukharf's full-sized avatar
🌟
🌟

Burak Arslan kucukharf

🌟
🌟
View GitHub Profile
@adamreisnz
adamreisnz / package.json
Last active August 22, 2024 10:12
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@ericelliott
ericelliott / essential-javascript-links.md
Last active September 9, 2024 15:49
Essential JavaScript Links
@mwunsch
mwunsch / replicate.js
Created February 5, 2014 18:39
Clone DOM node w/ relevant styles
/**
*
* HTMLElement.replicate()
*
* Here's an extension to the DOM's [HTMLElement interface][1] that completely
* replicates an element. Unlike `Node.cloneNode`, this method also copies over
* relevant styles. This allows you to clone nodes completely detached from the
* source document, but with enough information to render their independent
* representation.
*