Skip to content

Instantly share code, notes, and snippets.

View esmerino's full-sized avatar

José Esmerino esmerino

View GitHub Profile
docker rm -f $(docker ps -a -q)
docker rmi -f $(docker images -a -q)
docker volume rm $(docker volume ls -q)
docker network rm $(docker network ls | tail -n+2 | awk '{if($2 !~ /bridge|none|host/){ print $1 }}')
version: "3"
services:
app:
build: .
command: foreman start
volumes:
- .:/app
- ~/.ssh:/root/.ssh:ro
ports:
- "3000:3000"
FROM ruby:2.6.4-alpine
RUN apk add --no-cache --update build-base \
linux-headers \
libxml2-dev \
libxslt-dev \
postgresql-dev \
tzdata \
nodejs \
yarn \
ghostscript \
ffmpeg -i $(ls *.mov) -pix_fmt rgb8 -r 10 output.gif && gifsicle -O3 output.gif -o output.gif
"Código";"Produto";"Categoria";"Valor"
"0534910765303";"GG - LEGGING PRETA - G10 - Q2";"CALÇA";"35"
"0641018903336";"GG - LEGGING 3D - G10 - Q5";"CALÇA";"80"
"1155710097501";"U - SAIA SAÍDA - G10";"SAIA";"85"
"1185439531642";"U - SUNGA FAMÍLIA - G10";"INFANTIL";"35"
"1211486080090";"U - BIQUINI VERDE/COQUEIRO - G10";"BIQUINI";"70"
"1494664830711";"U - BERMUDA TLD- G10 - Q6";"MASCULINO";"99.9"
"1584734217136";"GG - MAIÔ ESTAMPA - G10 - Q5";"MAIÔ";"70"
"1709073229576";"U - LINDA LET - G10 ";"VESTIDO";"99.9"
"1881007801857";"M - BIQUINI SB - G10 - Q5";"BIQUINI";"80"
"Código";"Produto";"Categoria";"Valor"
"0095573838464";"U - TOP BOJO/TRANS - G8 - Q3";"TOP";"33"
"1826553342744";"U - TOP COR/BCO - G8 - Q5";"TOP";"38"
"3759895984311";"U - TOP BRILHO - G8 - Q3";"TOP";"20"
"3974260967441";"U - TOP TRANÇADO - G8 - Q5";"TOP";"35"
"4458652595928";"U - TOP FIVELA - G8 ";"TOP";"25"
"4524400347047";"U - SHORT BUMBUM - G8 - Q2";"SHORT";"25"
"5891137256201";"U - CROPPED TECIDO - G8";"TOP";"35"
"Código";"Produto";"Categoria";"Valor"
"0213864158705";"M - LEGGING OCRE/BCO - 03";"CALÇA";"62.5"
"0573327923197";"P - CONJ FITNESS - 03";"CALÇA";"36"
"4155122071813";"G - BLUSA OP - 03";"BLUSA";"25"
"6035502108156";"M - LEGGING BRILHO ELÁSTICO -03";"CALÇA";"75"
"7812994125927";"M - BLUSA OP - 03";"BLUSA";"25"
"8349971956322";"M - LEGGING RISCA - 03";"CALÇA";"100"
"8525378913698";"G - LEGGING PRETA/OURO - 03";"CALÇA";"120"
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
"Código";"Produto";"Categoria";"Valor"
"0163217366656";"M - LEGGING PRETO/PRETO";"CALÇA";"62.5"
"1205379210930";"M - LEGGING MARINHO/ UVA";"CALÇA";"62.5"
"1226332417999";"M - LEGGING UV OLIVA/UVA";"CALÇA";"62.5"
"1351100429925";"M - LEGGING UV PRETO/BCO";"CALÇA";"62.5"
"1480297595707";"P - LEGGING BRILHO ELÁSTICO";"CALÇA";"75"
"1539386141568";"M - LEGGING PRETA/LOVE";"CALÇA";"62.5"
"2044953408245";"M - LEGGING UV AZUL/BCO";"CALÇA";"62.5"
"3016326747410";"G - LEGGING TELA/COM";"CALÇA";"37.5"
"3512826804337";"G - UV ESTAMPA AZUL VERMELHO/TELA ";"CALÇA";"62.5"
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
"Código";"Produto";"Categoria";"Valor"
"12312312";"GG - Camisa";"Geral";"100"