Thursday, 13 June 2019
Tuesday, 7 May 2019
Adding font awesome icon in ionic
font-awesome/fonts";
@import "../node_modules/font-awesome/scss/font-awesome.scss";
3 : Your global.scss file should look something like this after that:
// http://ionicframework.com/docs/theming/"
$fa-font-path : "../node_modules/font-awesome/fonts";
@import "../node_modules/font-awesome/scss/font-awesome.scss";
@import "~@ionic/angular/css/normalize.css";
@import "~@ionic/angular/css/structure.css";
@import "~@ionic/angular/css/typography.css";
@import "~@ionic/angular/css/colors.css";
@import "~@ionic/angular/css/padding.css";
@import "~@ionic/angular/css/float-elements.css";
@import "~@ionic/angular/css/text-alignment.css";
@import "~@ionic/angular/css/text-transformation.css";
@import "~@ionic/angular/css/flex-utils.css";
Try displaying font awesome icon with this
<i primary class="fa fa-cart-plus fa-lg"></i>
Tuesday, 23 April 2019
Hacking
It has the ability to perform Google hacking, MySQL Server, Scanning, SQL injection, DNS Lookup, DNS Dif, Security RSS Feed, etc
Wednesday, 6 March 2019
create eclipse template
1) JUNIT Templates
a) Junit before method
${:import (org.junit.Before)} @Beforepublic void setUp() { ${cursor}} |
b) Junit after method
${:import (org.junit.After)} @Afterpublic void tearDown() { ${cursor}} |
c) Junit before class
${:import (org.junit.BeforeClass)} @BeforeClasspublic static void oneTimeSetUp() { // one-time initialization code ${cursor}} |
d) Junit after class
${:import (org.junit.AfterClass)} @AfterClasspublic static void oneTimeTearDown() { // one-time cleanup code ${cursor}}
2) Logging Templates
The templates below are useful for creating a logger and logging messages. I use SLF4J, but they could easily be tweaked to use any other logging framework.
a) Create a new Logger
b) Check Debug scope before putting debug log
c) Log info level statement
d) Log the error
e) Log error and throw exception
|
Subscribe to:
Posts (Atom)
40 Latest Interview Questions and Answers on Spring, Spring MVC, and Spring Boot
40 Latest Interview Questions and Answers on Spring, Spring MVC, and Spring Boot 1. What is Tight Coupling? When a class (ClassA) is depen...
-
ITV-JDBC-Why we use Class.forName(“oracle.jdbc.driver.OracleDriver”) while connecting to a database?1) Why we use Class.forName(“oracle.jdbc.driver.OracleDriver”) while connecting to a database? https://stackoverflow.com/questions/2007858...
-
Table - EmployeeDetails EmpId FullName ManagerId DateOfJoining 121 John Snow 321 01/31/2014 321 Walter White 986 01/30/2015 421 Kuldee...
-
OAuth (Open Authorization) is an open standard for token-based authentication and authorization on the Internet. OAuth , which is pron...