Skip to content

Instantly share code, notes, and snippets.

View mumoc's full-sized avatar

Mumo Carlos mumoc

View GitHub Profile
@mumoc
mumoc / 12_07_21_post_accountability.md
Last active December 7, 2021 18:06
Post: Accountability, Dec 7 2021

Accountability

Me: Why didn't you alert about the problem? Friend: I am not in charge of that, it is not my responsibility.

I was recently heared it from a friend about a project that didn't end on the right terms.

BE or MAKE responsible

What is better?

@mumoc
mumoc / 09_15_2021_post_remote_work.md
Last active December 2, 2021 16:15
Post: Remote Work

Practical Tips to Follow When Working Remotely

Working remotely is demanding, you have to avoid getting distracted with domestic duties, visits, freedom, flexible schedule, etc.

Getting it right requires developing a new mindset, practices, and habits that will boost both your work quality and your happiness.

Thinking about this:

What's the cost of doing a poor job? What's the cost of doing a mediocre job? What's the cost of doing an exceptional job? Which price are you willing to pay?

@mumoc
mumoc / 08_31_21_post_empathy_and_compassion.md
Last active December 2, 2021 16:16
Post: Empathy and Compassion

Empathy and Compassion

It is your job, we will have a meeting at 8:00 am because it is within working hours, someone else can take your child to school.

I was hearing this from a friend, a single parent, who was told this at a remote, purpose-driven company.

It does not surprise me, I have had many leaders who obtained their positions by friendship, luck or good performance in the previous position, but who do not have training and awareness in handling people.

Defining Scope

@mumoc
mumoc / 06_22_21_post_success.md
Last active August 31, 2021 16:07
Post: Success, June 22 2021

Success

Every now and then during a 1–1 or performance review I like to ask: have you been successful? or are you successful?.

Curious have been the answers, so varied and so similar at the same time, with a common line: self-doubt.

Every time you ask me, Are you a successful person? My answer has been and will continue to be the same: YES.

It is necessary to understand what success is, which, by definition, is:

@mumoc
mumoc / 05_18_21_post_coherence_and_communication.md
Last active August 31, 2021 16:05
Post: Coherence and Communication, May 15 2021

Coherence and Communication

Some time ago someone asked me:

How do you make your teams have more coherence and communication?

Although it involves many things, in my experience, I have found that cultivating these 4 things helps success:

  • Ownership
  • Continuity
@mumoc
mumoc / lotties_rails_6_webpacker.md
Created February 16, 2021 03:26
Lotties with Rails 6 and Webpacker
  1. Install Lottie Player:
npm install --save @lottiefiles/lottie-player
  1. Require it at app/javascript/packs/application.js
require('@lottiefiles/lottie-player');
@mumoc
mumoc / de_procesos_agile_y_profesionalismo.md
Last active February 15, 2021 01:39
Magmalabs: De Procesos, Agile y Profesionalismo

De Procesos, "Agile" y Profesionalismo

Jueves 18 de Febrero, 2021 by Mumo Carlos

Acerca de Mí

Soy Mumo Carlos Ingeniero de Software en MagmaLabs

Actualmente coordino los esfuerzos de Producto, Investigación y Desarrollo

@mumoc
mumoc / using_spree_asset_to_add_files_to_product.md
Last active December 1, 2020 18:33
How to re-use Spree::Asset in Solidus to attach Files to another model

Recently, in a Solidus project, we faced the need to add Files to Products for customers to be able to download.

In general terms, the business logic was:

  • A Product can have many Files
  • Customers can download Files from purchased Products
  • File links cannot be shared
  • Files must be administrables

Given the project was using Amazon S3 to store the files and we didn't wanted to modify Solidus a lot, our approach was:

@mumoc
mumoc / code_using_spree_asset_file_spree_product.md
Last active December 1, 2020 17:37
Code: Using Spree::Asset to add Files to Spree::Product

Config

File Model

app/models/my_app_scope/file.rb

module MyAppScope
  class File < ::Spree::Asset
    has_attached_file :attachment,
                      url: '/spree/products/:id/:basename.:extension',
@mumoc
mumoc / answering_questions.md
Last active November 30, 2020 17:22
Answering Questions

A few days ago someone asked me:

Is there a method to share what we know? People approaches me with questions and I find it a bit difficult to make myself understand.

My answer was more or less like this.

There are 2 parts on this interaction, that depend on each other:

  1. How they ask
  2. How do you answer