Skip to content

Instantly share code, notes, and snippets.

View carmelo0x63's full-sized avatar
💭
Connecting dots...

Carmelo C carmelo0x63

💭
Connecting dots...
View GitHub Profile
@carmelo0x63
carmelo0x63 / README.md
Last active December 27, 2021 20:39
Extremely simple HTTP servers

Bash

$ cat > index.http << EOF
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: netcat!

<!doctype html>
<html>
 
@carmelo0x63
carmelo0x63 / git-cheatsheet.md
Last active June 9, 2023 08:05
Collection of Git commands and their effects

Git cheatsheet

Git global setup

Initial config

  • git config --global user.name "<Name> <Surname>"
  • git config --global user.email "<userid>@example.com"
  • git config --global credential.helper store
  • git config --global pull.rebase false
  • git config --global color.ui true
  • git config --global push.default simple