Skip to content

Instantly share code, notes, and snippets.

View hanislovingit's full-sized avatar

Chuck Han hanislovingit

View GitHub Profile
@hanislovingit
hanislovingit / Bing-map-API-reference.js
Last active February 26, 2018 16:07
Bing-map-API-reference
// For http, use the JavaScript reference below
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
// For https (SSL), add a “s” to “http” and the query string parameter as shown below
<script type="text/javascript" src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1"></script>
@hanislovingit
hanislovingit / test.html
Created July 13, 2015 04:34
just-a-test
<div class="sign-in-box">
<div class="sign-in-box-logo"></div>
<form id="SSTAuthForm" name="SSTAuthForm" method="post" action="/">
<input type="hidden" id="returnUrl" name="returnUrl">
<div class="sign-in-box-input-box">
<input class="sign-in-box-input-box-text" type="email" id="UserName" name="UserName" placeholder="Email">
<input class="sign-in-box-input-box-text" type="password" id="Password" name="Password" placeholder="Password">
</div>
<div class="sign-in-box">
<div class="sign-in-box-logo"></div>
<form id="SSTAuthForm" name="SSTAuthForm" method="post" action="/">
<input type="hidden" id="returnUrl" name="returnUrl">
<div class="sign-in-box-input-box">
<input class="sign-in-box-input-box-text" type="email" id="UserName" name="UserName" placeholder="Email">
<input class="sign-in-box-input-box-text" type="password" id="Password" name="Password" placeholder="Password">
</div>
@hanislovingit
hanislovingit / Tello-guide-example-sign-in-component.css
Last active August 29, 2015 14:24
Tello-guide-example-sign-in-component
@media only screen and (max-width: 900px) and (min-width: 751px),
only screen and (max-width: 1280px) and (min-width: 901px),
only screen and (min-width: 1281px)
.sign-in-box {
width: 520px;
height: 290px;
margin: 250px auto;
border-radius: 5px;
background-color: #ddd;
padding: 40px 36px;
@hanislovingit
hanislovingit / css-example-with-high-specificity.css
Created July 9, 2015 23:28
CSS example with high specificity
#mainContainer div p.product-desc span {
color: #ff0000;
font-weight: bold;
font-size: 14px;
}
@hanislovingit
hanislovingit / Mapbox-creation-api-latLng.js
Created April 22, 2015 01:40
Mapbox-creation-api-latLng
var location = L.latLng(latValue, lngValue);
@hanislovingit
hanislovingit / Bing-map-creation-api-location.js
Created April 22, 2015 01:38
Bing-map-creation-api-location
var location = new Microsoft.Maps.Location(latValue, lngValue);
@hanislovingit
hanislovingit / Mapbox-creation-api-latLngBounds.js
Created April 22, 2015 01:49
Mapbox-creation-api-latLngBounds
var extent = L.latLngBounds(southWest, northEast);
@hanislovingit
hanislovingit / Bing-map-creation-api-point.js
Created April 22, 2015 01:52
Bing-map-creation-api-point
var point = new Microsoft.Maps.Point(x, y);
@hanislovingit
hanislovingit / Mapbox-creation-api-marker.js
Created April 22, 2015 01:59
Mapbox-creation-api-marker
var pushpin = L.marker(location, {
icon: L.icon({
iconUrl: pushpinIcon,
iconSize: [20, 34],
popupAnchor: [0, -30]
}),
zIndexOffset: 1
});