Skip to content

Instantly share code, notes, and snippets.

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

Rap Ramos reiallenramos

🏠
Working from home
View GitHub Profile
@reiallenramos
reiallenramos / README.md
Created May 12, 2020 00:25 — forked from gbraad/README.md
Buy me a coffee
We couldn’t find that file to show.
@reiallenramos
reiallenramos / nuxtjs-otp-boilerplate_docker-compose-app.service
Last active May 7, 2020 01:27
system unit file for nuxtjs-otp-boilerplate Lightsail instance
# /etc/systemd/system/docker-compose-app.service
# based on https://github.com/mikegcoleman/todo/blob/master/docker-compose-app.service
[Unit]
Description=Docker Compose Application Service
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
@reiallenramos
reiallenramos / nuxtjs-otp-boilerplate_docker-compose.yml
Last active May 7, 2020 01:33
docker-compose for nuxtjs-otp-boilterplate Lightsail instance
version: "3"
services:
app:
image: reiallenramos/nuxtjs-otp-boilerplate:latest
depends_on:
- redis
- mongo
ports:
- "80:3000"
@reiallenramos
reiallenramos / nuxtjs-otp-boilerplate_lightsail-compose.sh
Last active May 7, 2020 06:44
shell script for nuxtjs-otp-boilerplate Lightsail instance
#!/bin/bash
# based on https://github.com/mikegcoleman/todo/blob/master/lightsail-compose.sh
# install latest version of docker the lazy way
curl -sSL https://get.docker.com | sh
# make it so you don't need to sudo to run docker commands
usermod -aG docker ubuntu
# install docker-compose
@reiallenramos
reiallenramos / git_rebase.md
Created May 5, 2020 05:18 — forked from ravibhure/git_rebase.md
Git rebase from remote fork repo

In your local clone of your forked repository, you can add the original GitHub repository as a "remote". ("Remotes" are like nicknames for the URLs of repositories - origin is one, for example.) Then you can fetch all the branches from that upstream repository, and rebase your work to continue working on the upstream version. In terms of commands that might look like:

Add the remote, call it "upstream":

git remote add upstream https://github.com/whoever/whatever.git

Fetch all the branches of that remote into remote-tracking branches, such as upstream/master:

git fetch upstream

Keybase proof

I hereby claim:

  • I am reiallenramos on github.
  • I am reiallenramos (https://keybase.io/reiallenramos) on keybase.
  • I have a public key ASCHcqfXaTnBIJw2YD5W61QrMuH_V1w3UmrodsZiolwD_Ao

To claim this, I am signing this object:

@reiallenramos
reiallenramos / monokai-dark.theme
Created May 30, 2018 08:07 — forked from tsbarnes/monokai-dark.theme
Monokai color scheme for XFCE4 terminal, place it in /usr/share/xfce4/terminal/colorschemes
[Scheme]
Name=Monokai (dark)
TabActivityColor=#a6a6e2e22e2e
ColorCursor=#f8f8f8f8f2f2
ColorForeground=#f8f8f8f8f2f2
ColorBackground=#272728282222
ColorPalette=#272728282222;#f9f926267272;#a6a6e2e22e2e;#f4f4bfbf7575;#6666d9d9efef;#aeae8181ffff;#a1a1efefe4e4;#f8f8f8f8f2f2;#757571715e5e;#f9f926267272;#a6a6e2e22e2e;#f4f4bfbf7575;#6666d9d9efef;#aeae8181ffff;#a1a1efefe4e4;#f9f9f8f8f5f5