Skip to content

Instantly share code, notes, and snippets.


Aaron Cruz mraaroncruz

View GitHub Profile
mraaroncruz /
Last active Mar 18, 2021
Butter chicken recipe


  • 2 Chicken Breasts small chunks
  • 3 EL butter
  • 10 small tomatoes (or 1 cup tomato sauce)
  • 1 cup tomato sauce
  • 1 onion (medium cubes)
  • 3 cloves garlic (smashed)
  • 2 EL Ginger (or ginger puree)
  • 30g Cashews (a handful?) (I also used some peeled almonds but whatever you have I guess)
mraaroncruz / solr_client.ex
Created Feb 15, 2021
Quick implementation of a Solr client in Elixir
View solr_client.ex
defmodule MyApp.Search.SolrClient do
require Logger
def url, do: Application.get_env(:my_app, :solr)[:url]
def select_url(url), do: "#{url}/select"
def update_url(url), do: "#{url}/update"
def update_json_url(url), do: "#{url}/update/json/docs"
def select(params) when is_list(params) do
mraaroncruz /
Created Nov 13, 2020
DreamClients general interview pre-questions

DreamClients Podcast Interview Questions

The goal of the podcast is to help people find ways to get better clients, and to get more of them (more, better clients?).

Filling the pipeline

  • Do you have any hacks to fill your pipeline?
  • Where do most of your clients come from?
  • What types of activities do you do every day or week that helps you fill the pipeline?
  • Do you remember what you did in the beginning to get more clients? Do you do things differently now? Why?
  • What advice would you give to a freelance software dev just starting out?
mraaroncruz / Dockerfile
Created Oct 29, 2020
webkoll docker implementation (ugly)
View Dockerfile
FROM elixir:latest
RUN apt-get update && \
apt-get install -y python rsync
RUN curl -sL | bash - \
&& curl -sS | apt-key add - \
&& echo "deb stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt update \
&& apt install -y nodejs yarn
mraaroncruz / docker-compose.yml
Created May 20, 2020
Docker compose for influxdb and grafana
View docker-compose.yml
version: "3"
image: influxdb:latest
- ""
- ""
- ""
- "env.influxdb"
mraaroncruz / routes.json
Created Dec 19, 2019
Example response from route API
View routes.json
"route": {
"weight_name": "routability",
"legs": [
"summary": "S5, S33",
"steps": [
"intersections": [
mraaroncruz / install_docker_and_compose.bash
Last active Dec 11, 2019
Bootstrap docker and compose on new machine
View install_docker_and_compose.bash
# Run like
# $ curl | bash
set -e
setup () {
### Update the apt package index:
sudo apt update
View Caddyfile
rewrite /grafana {
r (.*)
to /{1}
proxy / grafana:3000 {
mraaroncruz / cloudSettings
Last active Jul 23, 2019
VSCode settings
View cloudSettings
mraaroncruz /
Created Jul 17, 2019
Networking Talk notes

Networking Talk


The hardest part for me about networking is trying to balance the fact that I want something with being able to give.

I have friends that are great people to have in my network and have referred me lots of work and I sometimes feel a bit scummy having them in my CRM.

This year