Skip to content

Instantly share code, notes, and snippets.

View andoriyu's full-sized avatar
🏠
Working from home

Andrey Snow andoriyu

🏠
Working from home
View GitHub Profile
Что бы заставить zsp работать нужно добавить папку с ним в PATH (например так export PATH="/Users/koss/Projects/zsp/bin:$PATH") и сделать его исполняемым. Также надо создать папку ~/.zsp в которой будут лежать файлы проектов (пример ниже ↓).
Еще неплохо бы прописать такую строчку в .zshrc:
source "$HOME/.zsp/loader.zsh"
@andoriyu
andoriyu / nginx.conf
Created November 24, 2010 21:40 — forked from mikhailov/installation.sh
Almost ideal nginx.conf for passenger
user app;
worker_processes 2;
error_log /home/app/logs/nginx.error.log info;
events {
worker_connections 1024;
}
@andoriyu
andoriyu / README.md
Created February 15, 2022 05:23 — forked from hiway/README.md
Creating a single process FreeBSD (12.1) Jail

How to jail a single process web server on FreeBSD 12.1

You may have found many great resources on how to set up jails on latest FreeBSD, however there is scant information on how to go about creating a barebones jail with nothing but the one process that you want to isolate.

I was curious if I could contain a statically compiled web server that I wrote while learning Rust all by itself in a jail instead of having a full userland.