Skip to content

Instantly share code, notes, and snippets.

View SlimGee's full-sized avatar

Given Ncube SlimGee

View GitHub Profile
@kenakingkong
kenakingkong / actiontext.scss
Last active November 10, 2024 21:22
Trix Editor - Stimulus Controller and CSS styles
/* https://medium.com/@makenakong/how-to-add-and-customize-the-trix-editor-for-your-ruby-on-rails-application-c0a5d3082254 */
.trix-button--icon-strike,
.trix-button--icon-link,
.trix-button-group--block-tools,
.trix-button-group--file-tools,
.trix-button-group--history-tools {
display: none;
}
@vyspiansky
vyspiansky / cron-with-supervisor-docker.md
Created February 15, 2021 14:48
Run cron with supervisor and Docker on Alpine Linux

docker/app/Dockerfile

# ...

# Run a cron job
ADD docker/conf/crontab.txt /crontab.txt
RUN /usr/bin/crontab /crontab.txt

# ...