View gist:f3190876b54aed140185a4604eeb7c27
<!DOCTYPE html>
<html class="" lang="es-ES" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# og: http://ogp.me/ns#">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Travel Insurance - Travel Safe World Wide Coverage</title>
<!-- This site is optimized with the Yoast SEO plugin v5.9.1 - https://yoast.com/wordpress/plugins/seo/ -->
View buypolicyCall
{
"firstName":"Vis",
"lastName":"Sak",
"primaryDOB":"1981-04-08",
"email":"test@test.com",
"visitorId":"17498",
"visitId":"dc7b9b51-002b-4c42-9f65-ef8d8e6dc6ef",
"brokerCode":"",
"address":"13 Ele",
"address2":"Station",
View alta-ver-1-no-form
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/png" href="/Assets/images/favicons/favicon-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/Assets/images/favicons/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="/Assets/images/favicons/favicon-96x96.png" sizes="96x96">
View Request Example
{
"title":"Miss",
"firstName":"Visha",
"lastName":"Sakar",
"dob":"1981-04-08",
"coverType":"travel",
"coverPeriod":"single",
"startDate":"Mon Oct 23 2017 00:00:00 GMT+0100 (GMT Summer Time)",
"endDate":"Tue Oct 31 2017 00:00:00 GMT+0000 (GMT Standard Time)",
"countryOfResidence":"GB",
View .bash_profile
export M2_HOME=/usr/local/apache-maven-3.3.1
export M2=$M2_HOME/bin
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
export CLOSURE_COMPILER_HOME="/Users/vishalsakaria/code/ose/google-closure/app/bower_components/closure-compiler"
export CLOSURE_LIBRARY_HOME="/Users/vishalsakaria/code/ose/google-closure/app/bower_components/closure-library"
export PATH=$M2_HOME/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH
export PATH=/usr/local/apache-maven-3.3.1/bin:$PATH
View git alias
[alias]
logbm = log --pretty=oneline --abbrev-commit master..
logbd = log --pretty=oneline --abbrev-commit develop..
prune = fetch --prune origin
fpl = push --force-with-lease
co = checkout
c = commit -m
a = add
b = branch
s = status
View VisuallyHiddenForScreenReaders
.hidden-for-sr {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px; width: 1px;
margin: -1px; padding: 0; border: 0;
}
View Angular 2 - Simple Component Example
import { Component, Input, OnInit} from "@angular/core";
import { TooltipService } from "./tooltip.service";
import { Sanitizer } from "../../../utils/eh.sanitizer.util.service";
import { SafeHtml } from "@angular/platform-browser";
@Component({
selector: "tooltip",
templateUrl: "./tooltip.component.html",
styles: [`
View Angular 2 Testing service examples using TestBed
import { inject, TestBed } from "@angular/core/testing";
import { SessionService } from "./session.service";
describe("SessionService", () => {
let sessionService: SessionService;
beforeEach(() => {
TestBed.configureTestingModule({
providers: [SessionService]
View JQuery for displaying an Popup warning based on different data.
var Internationalisation = (function ($) {
var title, ctaText, ctaLink, continuteText, modalHTML, modalText;
var pageMask = $('#page-mask');
var init = function () {
makeRequest();
};