Skip to content

Instantly share code, notes, and snippets.

View iuriimattos's full-sized avatar
✝️
Declare Jesus is Lord. Believe that GOD raised him from the dead.You'll be saved

Iuri Matos iuriimattos

✝️
Declare Jesus is Lord. Believe that GOD raised him from the dead.You'll be saved
View GitHub Profile
@iuriimattos
iuriimattos / maven-settings.xml
Created November 14, 2022 22:37 — forked from cyrille-leclerc/maven-settings.xml
Maven's default settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
file-system-maven-settings
-->
<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
@iuriimattos
iuriimattos / java_ocp_exam_1.8_study_notes.txt
Created June 17, 2022 13:50 — forked from djangofan/java_ocp_exam_1.8_study_notes.txt
My notes while studying for the OCP exam
ACP notes: https://gist.github.com/djangofan/a8b3e82e585525467c454515a8fb9ecf
Practice Tests $9.99: http://enthuware.com/index.php/ocpjp-8-average-scores
Guided Practice $140: http://www.ucertify.com/exams/Oracle/1Z0-809.html
Transcender: https://www.transcender.com/premium-solution/oracle/1z0-809.kap
Remember: javac -Xprint package.classname
https://ocpjava.wordpress.com/presentations/
http://www.java2s.com/Tutorials/Java/java.util.stream/Collectors/ !! STUDY THIS!!!
https://github.com/eugenp/tutorials/tree/master/core-java
https://www.slideshare.net/ibrahimkurce/oca-java-se-8-exam-chapter-6-exceptions
https://docs.oracle.com/javase/8/docs/api/java/util/function/class-use/BiPredicate.html
# custom IntelliJ IDEA VM options
-ea
-server
-Xms256m
-Xmx4096m
-XX:AutoBoxCacheMax=20000
-XX:MaxMetaspaceSize=512m
-XX:MetaspaceSize=128M
-XX:ReservedCodeCacheSize=512m
@iuriimattos
iuriimattos / encoding-video.md
Created March 16, 2021 11:39 — forked from Vestride/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@iuriimattos
iuriimattos / how-we-do-git.md
Created December 3, 2020 04:55 — forked from robpataki/how-we-do-git.md
This is how we do git (rebase, feature branches, PRs)

How to / Git

Branching strategy

We use a form of Git flow to maintain a stable master branch, and work off feature branches to introduce new features and other code updates. The feature branches are tied to JIRA tickets.

To keep our git log clean and tidy we use git's rebase strategy. That means that instead of merging commits in and out of the master branch (resulting in many ugly merge commits) we always keep our own feature branch's commits on top of the existing master branch commits.

You can read more about the rebase strategy here: https://www.atlassian.com/git/tutorials/merging-vs-rebasing.

@iuriimattos
iuriimattos / README.md
Created December 3, 2020 04:55 — forked from jherax/README.md
Git Alias and Rebase

Git Alias and Git Rebase

WHEN TO DO REBASE

After each commit in our branch, in order to be up-to-date with the integration branch.

@iuriimattos
iuriimattos / gist:80b25b1627d5ab98717681d82db242ab
Last active December 3, 2020 04:55 — forked from spadgos/gist:8097529
Basic rebase and merge flow

Merging feature branches with rebase:

  1. git checkout master
  2. git pull --rebase to make sure you have the latest version of master
  3. git checkout feature/my-branch
  4. git rebase master ... to rebase this branch from master
    1. Optionally, git push --force to update the branch on github. This is useful for making sure it closes a pull request properly.
  5. git checkout master
  6. git merge --no-ff feature/my-branch ... merge the branch into master, making sure there's a merge commit
@iuriimattos
iuriimattos / git_rebase.md
Created December 3, 2020 04:54 — 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

@iuriimattos
iuriimattos / git-rebase.markdown
Created December 3, 2020 04:53 — forked from lgmkr/git-rebase.markdown
Git rebase workflow

Checkout a new working branch

 git checkout -b <branchname>

Make Changes

 git add
 git commit -m "description of changes"

Sync with remote

@iuriimattos
iuriimattos / README.md
Created November 30, 2020 12:36
MAGENTO 2.3.6 with VAGRANT jimmybox 3.0

Hi Iuri Matos friend's we setup Magento 2.3.6 using Windows 10... :) Magento 2.4 need elastic search but it's hard to configure... :/

  1. Install Vagrant
  2. Install VirtualBox and run
git clone https://github.com/JarJarBernie/jimmybox.git magento