Skip to content

Instantly share code, notes, and snippets.

View brenoperucchi's full-sized avatar

Breno Perucchi brenoperucchi

View GitHub Profile
@davidteren
davidteren / Rails, Puma & Nginx.md
Last active May 3, 2025 09:27
Example setup for Puma with Nginx in a Rails app

In the apps config/puma.rb file:

Change to match your CPU core count
# Check using this on the server => grep -c processor /proc/cpuinfo
workers 4

# Min and Max threads per worker
threads 1, 6

app_dir = File.expand_path('../..', FILE)

@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active May 10, 2025 09:18
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@danirod
danirod / README.md
Last active November 9, 2022 03:01
nginx + systemd + puma
@ChuckJHardy
ChuckJHardy / digital_ocean_setup.md
Last active August 27, 2024 04:03
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions
@tomas-stefano
tomas-stefano / Capybara.md
Last active May 3, 2025 09:16
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
@demula
demula / README.md
Created November 27, 2012 11:27
Bootstrap 2 jquery-datatables example (prettier filter box)