Skip to content

Instantly share code, notes, and snippets.

View raskhadafi's full-sized avatar
:shipit:

Roman raskhadafi

:shipit:
  • Zürich
  • 18:45 (UTC +02:00)
View GitHub Profile
@raskhadafi
raskhadafi / lima-on-m1-mac-installation-guide.md
Created March 2, 2022 17:01 — forked from toricls/lima-on-m1-mac-installation-guide.md
Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.

Sep. 27th 2021 UPDATED

Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:

Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.

1. Install QEMU & Lima

@raskhadafi
raskhadafi / rails-rubocop.yml
Created January 27, 2021 06:10
Rubocop configuration for rails projects
AllCops:
Exclude:
- 'vendor/**/*'
- 'node_modules/**/*'
- 'db/fixtures/**/*'
- 'db/schema.rb'
- 'tmp/**/*'
- 'bin/**/*'
- 'generator_templates/**/*'
- 'builds/**/*'
@raskhadafi
raskhadafi / mailcatcher.conf
Last active May 2, 2017 14:47
Nginx configuration for mailcatcher
upstream mailcatcher {
sticky;
server appserver.domain.ch:3000 max_fails=1 fail_timeout=2s;
}
server {
listen 80;
server_name mailcatcher.domain.ch;
client_max_body_size 4G;
keepalive_timeout 5;