ADB-Restart

How to quickly restart adb.exe

Step (1). Add this ( or where ever is your “platform-tools” folder located ) path to environment variables path. C:\Users\mm-admin\AppData\Local\Android\sdk\platform-tools Step (2). Open cmd and run these commands : adb kill-server && adb start-server and press enter. This will kill existing broken server running if any, then re-start with the default port assigned. This will Read More

Tax Calculation

Tax Calculation Logic Based On Tax Profile Of An Item

//TaxCalculator here.. var program2 = (function () { function program2() { } program2.run = function () { console.log(“Running Program…”); var itemSize = { “ItemSizeId”: 1, “SiteItemId”: 1, “Name”: “Default”, “Description”: “Default”, “IsWeighted”: false, “Price”: 350, “IsFree”: false, “PointsPercentage”: 2, “PointsPrice”: 15, “CanBePaidUsingPoints”: true, “OrderingUniqueId”: “0192837465”, “ThirdPartyId”: “”, “DefaultPatronCount”: 0, }; var taxProfiles = [ { Read More

ionic tutorial

How to change individual active-tab-icon color ? [ionic2] [ionic3]

In your app.scss, you could do something like this: .tabbar { a.tab-button[aria-selected=true]:nth-of-type(1) {         color: rgb(232, 75, 56);         .tab-button-icon {             color: rgb(232, 75, 56);         }     }     a.tab-button[aria-selected=true]:nth-of-type(2) {         color: rgb(27, 182, 230);         .tab-button-icon {             color: rgb(27, 182, 230);         }     }     a.tab-button[aria-selected=true]:nth-of-type(3) {         color: rgb(170, 202, 69);         .tab-button-icon {             color: rgb(170, 202, 69);         }     }     a.tab-button[aria-selected=true]:nth-of-type(4) { Read More

Ionic 3 Multi Language Example

Ionic 3 Multi Language Example

Step 1: Start new ionic app: 1. ionic start multilingual tabs 2. cd multilingual Step 2: Install angular translate library in ionic app: 3. npm install @ngx-translate/core @ngx-translate/http-loader –save¬† ¬†or this if Angular 5 3. npm install @ngx-translate/core@^9.1.1 @ngx-translate/http-loader -‚Äďsave Now edit¬†app.module.ts¬†file. Add this line. import { TranslateModule } from ‘@ngx-translate/core’; Add this into imports Read More