Skip to content

Instantly share code, notes, and snippets.

View ruyjfs's full-sized avatar
🎯
Focusing

r u y ruyjfs

🎯
Focusing
View GitHub Profile

Access external HD NTFS to read, write and delete files and paths.

Open to write

sudo vim /etc/fstab

Put this on file, add this line and change NAME_OF_YOU_HD

LABEL=NAME_OF_YOU_HD none ntfs rw,auto,nobrowse

Remove large file from commits. ```git filter-branch --tree-filter 'rm -rf android/java_pid13556.hprof' HEAD`

Remove large file from commits.

git filter-branch --tree-filter 'rm -rf android/java_pid13556.hprof' -f HEAD

@ruyjfs
ruyjfs / git-helpers.md
Created January 10, 2020 12:02
Git Command Helpers

Remove large file from commits. git filter-branch --tree-filter 'rm -rf android/java_pid13556.hprof' HEAD

@ruyjfs
ruyjfs / Read-me.md
Last active May 13, 2019 15:00
How create a project Elixir with Pheonix framework, Ecto ORM, Absinthe for GraphQL API and Database Postgres.
docker run -it --rm --name elixir -p 4000:4000 -v "$PWD":"/var/www" -w "/var/www" elixir:slim /bin/bash

mix local.hex --force

mix archive.install hex phx_new -y

mix phx.new skeleton_elixir --no-html --no-webpack
@ruyjfs
ruyjfs / README.md
Last active December 30, 2018 17:21
Coding Dojo

Coding DOJO

"Dojo" (pronuncia-se dojô) é uma palavra japonesa originada das artes marciais. Os dojos são locais onde estudantes de luta se reúnem para treinamentos e atividades relacionadas (como desafios ou testes para mudança de faixa). Como parte do treinamento, são realizados vários tipos de "Kata", que são sequências precisas de movimentos de luta, usadas geralmente para exercitar técnicas de defesa.

Requirements

  • Aproximar a equipe.
  • Encontrar um lugar agradável à todos.
  • Obter um projetor digital.
  • Definir uma data para a próxima sessão.
@ruyjfs
ruyjfs / Randori Kata - I.md
Created December 30, 2018 17:19
README.md

Randori Kata - I

Estamos cadastrando alguns gastos da DevSquad em um excel, nós somos uma elite de programadores, devemos resolver esse problema tranformando em uma solução intuitiva e dinâmica.

Sistema Financeiro (Laravel)

  • Install and configure environment

The goal of this program is to model a game of bowling. Given a series of input the program should output the players final score.

@ruyjfs
ruyjfs / entrypoint.sh
Created November 19, 2018 18:56
Entrypoint Example for Docker
#!/bin/sh
set -e
echo "[ . ][0%] Container Build - Starting Entrypoint of Application"
# if [ -d "./node_modules" ]; then
# echo "[ * ][10%] node_modules found - Remove node_modules for run npm install..."
# rm -rf ./node_modules
# fi
# if [ -d "./dist" ]; then
# echo "[ ** ][20%] dist found - Remove dist for run npm install..."
@ruyjfs
ruyjfs / Emojis.md
Last active June 14, 2018 17:19
Ryu Pattern Commit Emojis

API GOOGLE

Chose an service

https://console.developers.google.com/apis/library

Example:

  • Select Google Places API Web Service
  • Enable
  • Create Projetct Or Select One