Nativescript: Gradle build failing from commandline

Nativescript: Gradle build failing from commandline

Cause of the issue: Licenses not accepted To solve the issue: Opt-in: Android Studio > Sdk Manager > SDK Tools > Android SDK Command-Line Tools (latest) Run: ~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager --licenses Confirm all prompts with y to accept
read more
Install JDK on macOS 10.7+

Install JDK on macOS 10.7+

Requirements: Homebrew 1. Install your favorite JDK version brew tap adoptopenjdk/openjdk brew cask install adoptopenjdk8 brew cask install adoptopenjdk9 brew cask install adoptopenjdk10 brew cask install adoptopenjdk11 2. Add to your .bash_profile or .bash_rc...
read more
Docker for Mac: Limit memory allocation

Docker for Mac: Limit memory allocation

The Docker for mac GUI does not allow to configure less than 1GiB as allocated memory. In some cases you might want to configre a lower value, especially when you are limited to available RAM. You can set any value...
read more
Webstorm live templates for TypeORM

Webstorm live templates for TypeORM

Fast code generation shortcuts/live templates using with Webstorm/Phpstorm for TypeORM library.
read more
Add basic IDE/Project config to any npm based app

Add basic IDE/Project config to any npm based app

Preconfigures a new npm based project via script
read more
Use “npm install -g” without sudo

Use “npm install -g” without sudo

ONLY TESTED ON MAC OS! Getting rid of always prefixing sudo when installing a global npm package is pretty easy. Just two steps are needed.
read more
ADB not finding device

ADB not finding device

Sometimes the command adb devices does not show up your connected Android device, despite it is wired. Here are some steps that might help to fix the issue. Make sure you have USB-Debugging enabled in your device’s developer settings. Remove...
read more
Ionic 3 serve browser with livereload

Ionic 3 serve browser with livereload

1. Add code snippet to package.json File: package.json json "browser": "ionic-app-scripts serve --nobrowser --sourceMap source-map --iscordovaserve --wwwDir platforms/browser/www/ --buildDir platforms/browser/www/build", 2. Launch script Terminal: npm run brow...
read more
Prettier config

Prettier config

prettier.io – Configuration 1. Install prettier as dev dependency npm install --save-dev --save-exact prettier 2. Create prettier config file File: .prettierrc.json json { "printWidth": 120, "tabWidth": 3, "singleQuote": true, "insertPragma": true } &nbs...
read more
Web development tool stack

Web development tool stack

This is a collection of useful tools for any web development project. Can be used as checklist/steps. Setup your user account to install global npm packages without sudo Yarn – package manager Prettier yarn add prettier --dev --exact Config preset...
read more