Skip to content

Instantly share code, notes, and snippets.

View remulocosta's full-sized avatar
🎯
Focusing

Remulo Costa remulocosta

🎯
Focusing
  • Brasil
View GitHub Profile
@remulocosta
remulocosta / Dockerfile
Created September 24, 2022 02:29 — forked from wnqueiroz/Dockerfile
An efficient Dockerfile to build an image with NestJS with just the production dependencies
FROM node:16.17-alpine as builder
WORKDIR /usr/src/app
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
COPY package*.json ./
RUN npm i -g @nestjs/cli \
@remulocosta
remulocosta / fix-git
Created March 19, 2021 12:54 — forked from Zoybean/fix-git
For when you've got a local git repo that's just too hard to recover
#!/bin/bash
# Author: Zoey Llewellyn "Zobean" Hewll
#
# Usage: fix-git [REMOTE-URL]
# Must be run from the root directory of the repository.
# If a remote is not supplied, it will be read from .git/config
#
# For when you have a corrupted local repo, but a trusted remote.
# This script replaces all your history with that of the remote.
@remulocosta
remulocosta / figma.sh
Created March 3, 2021 05:01 — forked from sarojbelbase/figma.sh
A shell script to generate desktop file, launcher, mimetypes icons, .fig file-association for figma-linux.AppImage
#!/bin/bash
# This shell script works for the appimage file downloaded from https://github.com/Figma-Linux/figma-linux/releases
# The latest release is 0.62 & it's unofficial till date.
# To run this script you must add this figma.sh in same folder or next to each other. Otherwise it won't work.
# Setup:
# 1. >>> sudo bash figma.sh (Needs root access to update mime & icon database)
# 2. >>> Right click on figma-linux.AppImage & click on Run
set -e