Skip to content

Instantly share code, notes, and snippets.

View moirisca's full-sized avatar

BlAcK CaT moirisca

  • Somewhere in the blue marble
View GitHub Profile
@moirisca
moirisca / .vimrc
Created March 19, 2025 21:03 — forked from rocarvaj/.vimrc
Minimal .vimrc for C/C++ developers
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
"
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" disable vi compatibility (emulation of old bugs)
curl --resolve www.google.com:443:74.125.239.116:443 https://www.google.com
@moirisca
moirisca / web-servers.md
Created June 24, 2024 11:36 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000