Skip to content

Instantly share code, notes, and snippets.

Bruno Paulino brunojppb

Block or report user

Report or block brunojppb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
brunojppb /
Last active May 22, 2020
Building a docker image with SBT and Node for Play Framework projects

Create a Dockerfile for your SBT image with the following content (installing SBT 1.3.10)

FROM openjdk:8-alpine
LABEL maintainer=""

RUN apk update
RUN apk add postgresql-client

# Optional: Install Scala
brunojppb / Floating.css
Created Feb 19, 2020
Floating CSS animation
View Floating.css
img {
animation: floating infinite 3s ease-in-out;
@keyframes flaoting {
0% {
transform: translateY(0px);
50% {
transform: translateY(-5px);
brunojppb /
Last active Jan 9, 2020
Docker image with Java 8 and SBT 1.3.5

Docker image with Scala and SBT

This image is based on on alpine linux with Java 8 and includes SBT 1.3.5. You can optionally install Scala and make it available directly.

This is image is available here: brunojppb/scala-sbt:1.3.5

The Dockerfile.yml:

FROM openjdk:8-alpine
LABEL maintainer=""
brunojppb /
Last active Nov 14, 2019 — forked from PierreThiollent/
iTerm2 and Oh-my-zsh config

Setup iTerm2 and oh-my-zsh

Enjoy ! 😄

Install iTerm 2

Download iTerm2 here.

brunojppb /
Last active Dec 3, 2019
How to setup Redmine 4 on Ubuntu 18.04

How to setup Redmine 4 on Ubuntu 18.04


Full SSH root access or a user with sudo privileges.

Step 1: Connect to your Server

To connect to your server via SSH as the root user, use the following command:

brunojppb / helpscout_webhook_play_framework.scala
Created Oct 11, 2019
Handling HelpScout webhooks in Play Framework and Scala
View helpscout_webhook_play_framework.scala
* How to handle HelpScout webhooks using Play Framework & Scala (Without using the HelpScout library)
* See original docs:
/** On your controller.
* Map this function to a valid route
* and register your webhook using the HelpScout API

To install pycurl on Mac:

brew cask install wkhtmltopdf
brew reinstall openssl
pip install pycurl== --install-option=--with-openssl --install-option=--openssl-dir=/usr/local/opt/openssl
pip install phonenumbers
brunojppb /
Created Aug 15, 2019 — forked from ibraheem4/
Installing Postgres via Brew (OSX)

Installing Postgres via Brew


Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
brunojppb /
Last active Apr 3, 2019
Backup Redmine script
# Backup redmine script
# see
# Check redmine path
ps fax | grep redmine
# Dump mysql data
/usr/bin/mysqldump -u <USERNAME> -p<PASSWORD> -h <HOSTNAME> <DATABASE> > /var/data/redmine/backups/redmine-db-"`date +"%Y-%m-%d"`".sql
# TODO: Dump binary data (attachments)
You can’t perform that action at this time.