🐧
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 branch4functionrepo () {
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 LOGGING2functiongetValueByObjectPath(obj,path){
3constpathSplit=path.split('.');
4returnpathSplit.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.
Uh oh!
There was an error while loading. Please reload this page.





