Skip to content

Instantly share code, notes, and snippets.

View nerijunior's full-sized avatar

Neri J. Jakubowski Jr. nerijunior

View GitHub Profile
@nerijunior
nerijunior / sidekiq_hacks.md
Created August 10, 2021 19:39 — forked from luciotbc/sidekiq_hacks.md
sidekiq hacks

Sidekiq

Infra

Parando o sidekiq usando o rails (recomendado)

ps -ef | grep sidekiq | grep busy | grep -v grep | awk '{print $2}' > tmp/sidekiq.pid
cat tmp/sidekiq.pid
bundle exec sidekiqctl stop tmp/sidekiq.pid
@nerijunior
nerijunior / Dockerfile
Created May 25, 2016 07:28 — forked from ebuildy/Dockerfile
Install Php 7 with MongoDB driver on Docker from Ubuntu trusty base image.
FROM ubuntu:trusty
ENV HOME /root
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN add-apt-repository ppa:ondrej/php && \
apt-get update