Skip to content

Instantly share code, notes, and snippets.

With my family

Emanuel Quimper EQuimper

With my family
Block or report user

Report or block EQuimper

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
View gym exercices
4-Way Neck
Neck PushUp
Manual Neck
Bench Press
Bench Press (eccentric phase)
Bench Press Rebound
EDI Bench Press
EQuimper / Flexible Dockerized Phoenix
Created Jan 2, 2019 — forked from jswny/Flexible Dockerized Phoenix
A guide to building and running zero-dependency Phoenix (Elixir) deployments with Docker. Works with Phoenix 1.2 and 1.3.
View Flexible Dockerized Phoenix


I. Preface and Motivation

This guide was written because I don't particularly enjoy deploying Phoenix (or Elixir for that matter) applications. It's not easy. Primarily, I don't have a lot of money to spend on a nice, fancy VPS so compiling my Phoenix apps on my VPS often isn't an option. For that, we have Distillery releases. However, that requires me to either have a separate server for staging to use as a build server, or to keep a particular version of Erlang installed on my VPS, neither of which sound like great options to me and they all have the possibilities of version mismatches with ERTS. In addition to all this, theres a whole lot of configuration which needs to be done to setup a Phoenix app for deployment, and it's hard to remember.

For that reason, I wanted to use Docker so that all of my deployments would be automated and reproducable. In addition, Docker would allow me to have reproducable builds for my releases. I could build my releases on any machine that I wanted in a contai

EQuimper / arc_resolver.ex
Created Jan 2, 2019 — forked from vahidabdi/arc_resolver.ex
Arc Uploader resolver for Absinthe Graphql
View arc_resolver.ex
defmodule MyApp.Schema.ArcResolver do
defmacro __using__([uploader: uploader]) do
quote do
import unquote(__MODULE__), only: [
get_file: 2
@__arc_upload unquote(uploader)

Django 2.x Cheat Sheet

Creating a virtual environment

We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder

python -m venv ./venv
View gist:d74c986101b9d0598c80598cba034d90
git merge master
git checkout origin/master -- yarn.lock
git commit -m 'Fix conflicts'
EQuimper /
Last active Nov 18, 2018
Vim + Tmux Cheatsheet



:32y     Yank line 32
:32,45y  Yank line 32 to line 45

:+2y     Yank two lines after the current line
:-2y     Yank two lines before the current line
EQuimper / tsconfig.json
Created Oct 12, 2018
TSConfig rn with expo
View tsconfig.json
"compilerOptions": {
"esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"jsx": "react",
"lib": [
EQuimper / NotificationPublisher.swift
Created Sep 24, 2018
Sending local notification in swift
View NotificationPublisher.swift
// NotificationPublisher.swift
// LocalNotificationTutorial
// Created by Emanuel Quimper on 2018-09-24.
// Copyright © 2018 Emanuel Quimper. All rights reserved.
import UserNotifications
import UIKit
View gist:a5d411bca1bfb2ca004519469f54cf1d
777 Brockton Avenue, Abington MA 2351
30 Memorial Drive, Avon MA 2322
250 Hartford Avenue, Bellingham MA 2019
700 Oak Street, Brockton MA 2301
66-4 Parkhurst Rd, Chelmsford MA 1824
591 Memorial Dr, Chicopee MA 1020
55 Brooksby Village Way, Danvers MA 1923
137 Teaticket Hwy, East Falmouth MA 2536
42 Fairhaven Commons Way, Fairhaven MA 2719
374 William S Canning Blvd, Fall River MA 2721
View romanNumeral.js
var normalFormat = [1, 4, 5, 9, 10, 40, 50, 90, 100, 400, 500, 900, 1000];
var romanFormat = ['I', 'IV', 'V', 'IX', 'X', 'XL', 'L', 'XC', 'C', 'CD', 'D', 'CM', 'M'];
function convertToRoman(num) {
if (num === 0) return '';
var value = '';
for (var i = 0; i < normalFormat.length; i++) {
You can’t perform that action at this time.