import java.util.*; class Algorithm { public boolean isEmptyArray(int[] Arr ){ if ( Arr == null || Arr.length == 0) { … More
Author: camilamacedo86
[Git] – How to get a PR made for the upstream repo made for another person?
To check out the PR: git fetch upstream pull/<PR number>/head:pr git checkout pr To push for his/her fork: git push … More
[NodeJS] – Cordova – How to debug iOS emulations?
In order to debug ios emulated application into the local environment which is running via the command `$cordova emulate ios` will … More
Why composition?
Following a nice video to explain easily this concept.
[NodeJS] – How to get the version used/installed of some dependency?
Use the command: npm ls <dependency> Following an example. For further information check : https://docs.npmjs.com/cli/ls
[NodeJS] – How to update all dependencies into `package.json` file to the latest version?
npm i -g npm-check-updates npm-check-updates -u npm install
[Tip] – Documentação do #AdoptOpenJDK #OpenJDK #LJC traduzida para português
Documentação dos projetos #AdoptOpenJDK #OpenJDK #LJC traduzida para português: Só acessar o link : https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/content/pt/ Excelente contribuição @allandequeiroz !!!
[Git] – How to checkout a Pull Request from the upstream branch?
Command: git pull upstream pull/{PRNumber}/head E.g: git pull upstream pull/33/head
[Tip] – Cool Intellij IDEA plugin to Random Image Background
For more information and to download it: https://plugins.jetbrains.com/plugin/9692-random-image-background
[NodeJS] – How to install your npm project to test it locally as a module?
Use the command: `$ npm link .` After running this command the npm will create a symlink in the global folder{prefix}/lib/node_modules/<package> In this … More