Skip to content

Instantly share code, notes, and snippets.

View felipediogo's full-sized avatar

Felipe F. Diogo felipediogo

  • Porto Alegre - Brazil
View GitHub Profile
@diegopacheco
diegopacheco / tech-study.md
Last active January 7, 2020 19:06
Tech Study

Tech Study

This GIST also available in form of github repo -> https://github.com/diegopacheco/tech-resources

How to use this gist?

This gist contains lists of resources about JS, Mobile, Architecture/DevOps and Cloud Native. Each gist has a list
of technologies that you can do POC and CODE practice, also with a list of useful books and links.

Method

@diegopacheco
diegopacheco / js-frontend-resources.md
Last active December 11, 2017 22:36
Frontend / JavaScript Resources
@primaryobjects
primaryobjects / binaryTree-max-depth.js
Created March 24, 2017 21:40
Finding the maximum depth of a binary tree in JavaScript.
/**
* Definition for a binary tree node.
* function TreeNode(val) {
* this.val = val;
* this.left = this.right = null;
* }
*/
/**
* @param {TreeNode} root
* @return {number}
@lttlrck
lttlrck / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote