Posts

Showing posts from March, 2019

inspect chrome

chrome://inspect/#devices

change root user in ubuntu

Run  sudo <command>  and type in your login password, if prompted, to run only that instance of the command as root. Next time you run another or the same command without the  sudo  prefix, you will not have root access. Run  sudo -i . This will give you an interactive root shell. Note that the  $  at the end of your prompt has changed to a  # , indicating that you have root access. From here you can run any sequence of commands as root, or run the command  exit  to leave the root shell. Use the  su  (substitute user) command to get a root shell. This is effectively the same as using  sudo -i . Note that when you use this command it will ask for the root password and not your login password. These are not the same. You may have to set or change the root password by running  sudo passwd root  first. Run  sudo -s . This gives you root access, but maintains your current SHELL. Shell specific s...

SHOW HIDE PASSWORD IN IONIC3

login.html <ion-item>  <ion-label floating>Password</ion-label>  <ion-input type="{{type}}" name="password" ngModel #password="ngModel" required pattern=".{4,10}"></ion-input>  <button *ngIf="!showPass" ion-button clear color="dark" type="button" item-right (click)="showPassword()"> <ion-icon name="ios-eye-off-outline"></ion-icon></button>  <button *ngIf="showPass" ion-button clear color="dark" type="button" item-right (click)="showPassword()"> <ion-icon name="ios-eye-outline"></ion-icon></button> </ion-item> login.ts export class AuthenticPage {   public type = 'password';   public showPass = false;   showPassword() {     this.showPass = !this.showPass;     if(this.showPass){       this.type = 'text';     }...

IPA GENERATION IN IOS

I PA Generation Process S tep1: First Open the  K eychain  A ccess at the top click on  Keychain  A ccess  select certificate assistant and click  Request a Certificate From a Certificate Authority  . It will open Cetificate Information , enter  User Email Address  and click  on  S ave d  to d i sk  and click  Continue.  Next click  Save  button.It will generated  .certSigningRequest  file. Step2: Open browser and type  https://developer.apple.com/  . Then click on Account enter credentials and sign in the Account,then it will open the account. From left side menu select  Certificates, IDs & Profiles   , then click on add [ + ]  button. Inside the Development select the  iOS App Development   then click  Continue button.  Next click  Continue  button  next , choose the file from previously you generated .certSigningR...

IPA Generation in ios

Image

ionic search

in page.html < ion-searchbar [(ngModel)] = "searchTerm" (ionInput) = "setFilteredItems()" placeholder = "Search {{pdlength}}+ Products" ></ ion-searchbar > < div *ngFor = "let prod of items" > < ion-item > < ion-grid > < ion-row > < ion-col > < p style = " color:black" >{{prod.Name}}</ p > </ ion-col > </ ion-row > < ion-row > < ion-col > < ion-thumbnail item-start > < img style = " margin-top:18px;" src = "http://45.113.122.70/~np/Everest/public/images/{{prod.Image1}}" (click) = "goToProdDescription(prod.Id)" imageViewer /> </ ion-thumbnail > </ ion-col > < ion-col class = "colrighttest" > < p > < b style = " color:#008ae6" >Price</ b >:{{prod.MRP}}</ p > < p *ngIf = "prod.OfferPrice != ...

create controller inside new controller in laravel

C:\xampp\htdocs\Nakhas> php artisan make:controller frontend/ionicwebservices

ionic APK generation old

sudo chmod -R 777 android *run ionic app in system 1) ionic serve Run on web *check is this device is connected or not 2) adb devices to run 3) export ANDROID_HOME="/home/nss/Android/Sdk" 4) ionic cordova run android (debug apk) 5) ionic cordova build android (debug apk) 6) ionic cordova platform addd android add platforms command 7)  ionic cordova build android --prod --release ( /home/nssdt022/VisitorappIonic5project/visitorapp/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk ) like release apk will be generated here you go to that path and paste keytool here and then run below command  8)  jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore orangerover.keystore app-release-unsigned.apk orangerover 9)   externel terminal -------------------------------- 1. cd Android/Sdk/build-tools/26.0.1 2. ./zipalign -v 4 app-release-unsigned.apk orangerover19thapr.apk ...