Skip to content

Instantly share code, notes, and snippets.

View cesarcf's full-sized avatar
🏠
Working from home

Cesar Carbajo cesarcf

🏠
Working from home
  • Remote
View GitHub Profile
@cesarcf
cesarcf / gist:b16607df3d845db2f1b5ec07d0d2489b
Created May 5, 2018 22:10
Interpolate javascript in html loaded from mongoDB with React
import React, { Component, Fragment } from 'react'
import { graphql, compose } from 'react-apollo'
import { Route, Switch } from 'react-router-dom'
import getProductsBySlug from '../../graphql/queries/getProductsBySlug'
import getCurrentUser from '../../graphql/queries/getCurrentUser'
import addProductToCart from '../../graphql/mutations/addProductToCart'
import getUnitsOrder from '../../graphql/queries/getUnitsOrder'
import uriImage from './20.png'
@cesarcf
cesarcf / install_docker_in_ubuntu_21-10.sh
Created December 9, 2021 18:42 — forked from pablodz/install_docker_in_ubuntu_21-10.sh
Install Docker in Ubuntu 21.10, Install Dockercompose on Ubuntu 21.10
# [🟨OPTIONAL] Uninstall old docker versions
sudo apt-get remove docker docker-engine docker.io containerd runc
# Refresh latest version
sudo apt-get update
# Install pre-req
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg \
@cesarcf
cesarcf / iterm2-solarized.md
Created March 24, 2022 21:27 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k