Skip to content

Instantly share code, notes, and snippets.

@ttp
ttp / file.md
Created August 28, 2024 16:22 — forked from jjb/file.md
Using Jemalloc 5 with Ruby.md

For years, people have been using jemalloc with ruby. There were various benchmarks and discussions. Legend had it that Jemalloc 5 didn't work as well as Jemalloc 3.

Then, one day, hope appeared on the horizon. @wjordan offered a config for Jemalloc 5.

Ubuntu/Debian

FROM ruby:3.1.2-bullseye
RUN apt-get update ; \
#!/usr/bin/ruby
# Cura example
# ;FLAVOR:Marlin
# ;TIME:7387
# ;Filament used: 19.6909m
# ;Layer height: 0.3
# ;MINX:68.308
# ;MINY:93.342
# ;MINZ:0.3
@ttp
ttp / server_configuration.md
Created April 5, 2015 06:13
New Ubuntu server configuration nginx, ruby, passenger, postgresql, php, wordpress, mysql

Locale fix

sudo vim /etc/default/locale

LANGUAGE=en_US.UTF-8
LANG=en_US.UTF-8
LC_TYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8

reconfigure locales

@ttp
ttp / r8168-8.028.00.tar.bz2
Created April 15, 2012 08:00 — forked from Ahtenus/switchmods
Updated version of switchmods