#Control Structures
##If statement
Kotlin if statement should look familiar with other language
fun main(args : Array<String>) {
val total = 10| @Get('api/auth/sso/saml/login') | |
| @UseGuards(SamlAuthGuard) | |
| async samlLogin() { | |
| //this route is handled by passport-saml | |
| return; | |
| } |
| source 'https://rubygems.org' | |
| gem 'cocoapods', '~> 0.39.0' | |
| #gem 'cocoapods', :git => 'https://github.com/CocoaPods/CocoaPods.git', :branch => '0.39-stable' | |
| gem 'activesupport', '< 5' |
| // | |
| // 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" |
| // | |
| // AppDelegate.swift | |
| // pushtest | |
| // | |
| // Created by sawapi on 2014/06/08. | |
| // Copyright (c) 2014年 sawapi. All rights reserved. | |
| // | |
| // iOS8用 | |
| import UIKit |
#Control Structures
##If statement
Kotlin if statement should look familiar with other language
fun main(args : Array<String>) {
val total = 10| Here is a list of scopes to use in Sublime Text 2 snippets - | |
| ActionScript: source.actionscript.2 | |
| AppleScript: source.applescript | |
| ASP: source.asp | |
| Batch FIle: source.dosbatch | |
| C#: source.cs | |
| C++: source.c++ | |
| Clojure: source.clojure | |
| CoffeeScript: source.coffee |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <link rel="dns-prefetch" href="//code.jquery.com"> | |
| <!-- Ensure we set a viewport so everything scales appropriately on mobile devices. --> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |