This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Call a soap web service | |
// | |
// Add | |
// NSURLConnectionDelegate | |
// NSXMLParserDelegate | |
class MapViewController: UIViewController, MKMapViewDelegate, CLLocationManagerDelegate, NSURLConnectionDelegate, NSXMLParserDelegate{ | |
@IBOutlet weak var mapKit: MKMapView! | |
var wsUrl : String = "http://mobilewebservice.greenmotion.ch/MobileEvpass.asmx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getAllUrlParams(url) { | |
// get query string from url (optional) or window | |
var queryString = url ? url.split('?')[1] : window.location.search.slice(1); | |
// we'll store the parameters here | |
var obj = {}; | |
// if query string exists | |
if (queryString) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Simple Transactional Email</title> | |
<style> | |
/* ------------------------------------- | |
INLINED WITH htmlemail.io/inline | |
------------------------------------- */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
$("#quantity").keypress(function (e) { | |
if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) { | |
$("#errmsg").html("Digits Only").show().fadeOut("slow"); | |
return false; | |
} | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background-color:#F2F2F2; | |
} | |
div{ | |
margin-left:auto; | |
margin-right:auto; | |
width:400px; | |
background-color:transparent; | |
text-align:center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#todrag { | |
width: 100px; | |
height: 100px; | |
line-height: 100px; | |
text-align: center; | |
background: red; | |
color: white; | |
position: absolute; | |
left: 20px; | |
top: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input id="txtInput" type="text" /> | |
<br/> | |
<span id="result"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body | |
{ | |
font-family: sans-serif; | |
color: #eee; | |
background-color: #222; | |
} | |
a | |
{ | |
color: #ff9; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SOURCE | |
. | |
.SYNOPSIS | |
. | |
.DESCRIPTION | |
Creates website in IIS (on all nodes in the clcuster) and assign a application pool and create both HTTP and HTTPS bindings. | |
.PARAMETER WebSiteName | |
This is the site name you are going to create. | |
.PARAMETER RootFSFolder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { background-color:#20262E; } | |
#card { | |
position: absolute; | |
width: 250px; | |
height: 50px; | |
background: grey; | |
border-radius: 6px; | |
cursor: move; | |
} |
OlderNewer