Skip to main content

Posts

Showing posts from June, 2019

Change Material Design Icon Color Example

<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <title>Change Color of Google Material Design Icons Example</title> </head> <body> <i class="material-icons">important_devices</i> <i class="material-icons" style="font-size:40px;">important_devices</i> <i class="material-icons" style="font-size:50px;color:blue">important_devices</i> </body> </html>

how to use material icon in angular

 I'm building for Angular 4/5 and often working offline and so the following worked for me. First install the NPM: npm install material - design - icons -- save Then add the following to styles.css: @import '~material-design-icons/iconfont/material-icons.css' ;

How To Open Firewall Ports In Windows

A firewall is an essential aspect of computing and no PC should ever be without one. That’s why Windows has one bundled and active as standard. Windows Firewall occasionally has to be told to let a program communicate with the network, which is where opening ports comes in. If you want to open firewall ports in windows  here’s how you do it. Firewalls are designed to protect a network from threats. Either threats from the outside trying to get in or threats from the inside trying to get out. It does this by blocking network-enabled ports. Every time a program tries to communicate through this port, the firewall checks its database of rules to see if it is allowed or not. If it doesn’t know, it asks you, which is why you sometimes see prompts asking you if a particular program is permitted to access the internet. Windows 10 Settings Open firewall ports in Windows  You can manually permit a program to access the internet by opening a firewall port. You will need to kno...

how to generate android icon

https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=clipart&foreground.clipart=android&foreground.space.trim=1&foreground.space.pad=0.25&foreColor=rgba(96%2C%20125%2C%20139%2C%200)&backColor=rgb(68%2C%20138%2C%20255)&crop=0&backgroundShape=square&effects=none&name=ic_launcher

Why white screen stuck after splash screen in ionic 4?

With using blow mention configuration <preference name="AutoHideSplashScreen" value="false" /> <preference name="SplashScreenDelay" value="10000" /> <preference name="FadeSplashScreenDuration" value="1000" /> <preference name="SplashScreen" value="screen" /> <preference name="ShowSplashScreen" value="true" /> <preference name="ShowSplashScreenSpinner" value="false" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="FadeSplashScreen" value="true" /> Another Way Found solution. Problem was in  cordova-plugin-android-permissions . On android 6+ (maybe android 5 too, I don’t have it on my devices) user should accept permissions manually. In application permissions request looks like alert view. And this alert automatically stops spla...

how to install cordova in ionic

To install Cordova and Ionic, use  - npm install -g cordova ionic .  Make sure to install the latest version of JDK and Android Studio IDE for Android development. To create a new project, use   - ionic start projectname template . Inside the project folder, you can add Android/iOS platform based on your development using the command  - ionic cordova platform add android .  for add  particular  android version means  example                                                        ionic cordova platform add android@6.4.0 After these code changes are done, you can generate the required .apk file with the command   - ionic cordova build android . Once the .apk file is generated successfully, you deploy the file on a real device and do the testing, or you can tes...

how to set apache maven path in environment variables

Download Apache Maven version 3 and save it on your local machine. Extract the file you just downloaded using your preferred archive extraction tool. Select your operating system below to add the bin directory of the created directory apache-maven-3.5.0 to the PATH environment variable Windows 7:  Right click My Computer and select Properties.  Windows 8 and 10:  Go to Control Panel > System > Advanced System Settings On the Advanced tab, select Environment Variables, and then find a Systems Variable called  Path  and add to it the path for your \bin file, for example  C:\Program Files\apache-maven-3.5.0\bin .  Check you have set the variable correctly by opening up command prompt (run + cmd) and typing  mvn -version . The output should show your Maven version. For Ubuntu  1.Open the command terminal and enter the following $ export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9 $ export M2=$M2_HOME/bin $ ex...