Skip to content

Instantly share code, notes, and snippets.

@JimmyCouch
JimmyCouch / result.json
Last active January 24, 2020 17:05
topojson
We couldn’t find that file to show.
@JimmyCouch
JimmyCouch / linux-gists
Last active August 29, 2015 14:05
Linux Gists for level up rails
* Everything is a file
1. Name some 'files' in a standard unix filesystem that aren't very file-like.
- Processes - startup process (init.d), deamon processes
- scripts/commands - SSH/Ifconfig - files that are available in the PATH, that execute code
2. Identify some places where we use file descriptors for non-file content as part of the development process (hint: sockets are a good example here).
- Sockets - FIFO stream of bytes between endpoints. not file content, but can be seen as a file
- Pipes - Again FIFO stream - Does not exist as a file, no process can open it. Instead processes share them and the calling method inherits the file descriptors