Skip to content

Instantly share code, notes, and snippets.

View vivekruhela's full-sized avatar
🎯
Focusing

Vivek Ruhela vivekruhela

🎯
Focusing
View GitHub Profile
@un33k
un33k / sed cheatsheet
Created August 22, 2011 13:28
magic of sed -- find and replace "text" in a string or a file
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@nicolasdao
nicolasdao / open_source_licenses.md
Last active November 14, 2024 08:26
What you need to know to choose an open source license.