π§
Whatever
Freelance Full-stack Developer, mainly working on Vue.js related projects π
-
Anoesj Sadraee
- Eindhoven, The Netherlands
- @anoesj.dev
- in/anoesj
Pinned Loading
-
repo function for .bashrc. Run "repo...
repo function for .bashrc. Run "repo" in the CLI to go to the repository on GitHub/Bitbucket on the active branch. 1# Add in .bashrc/.zshrc etc.23# Print/open link to repository, preferably to currently active branch4function repo () {
5if [ "$(git rev-parse --is-inside-work-tree)" = "true" ]; then
-
Get value by object path
Get value by object path 1// LONG VERSION WITH ERROR LOGGING2function getValueByObjectPath (obj, path) {
3const pathSplit = path.split('.');
4return pathSplit.reduce((value, pathPart, depth) => {
5try {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



