Skip to content

Instantly share code, notes, and snippets.

Avatar
💜
In love with JS stack.

Jay Mayu mayooresan

💜
In love with JS stack.
View GitHub Profile
@brennanMKE
brennanMKE / Gemfile-0.39.rb
Last active Jun 3, 2020
Gemfiles for CocoaPod Versions
View Gemfile-0.39.rb
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'
View Swift and Soap Web Service
//
// 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"
@sawapi
sawapi / AppDelegate.swift
Last active Oct 5, 2020
[Swift] Push Notification
View AppDelegate.swift
//
// AppDelegate.swift
// pushtest
//
// Created by sawapi on 2014/06/08.
// Copyright (c) 2014年 sawapi. All rights reserved.
//
// iOS8用
import UIKit
@dodyg
dodyg / gist:5823756
Last active Jun 11, 2022
Kotlin Programming Language Cheat Sheet Part 3
View gist:5823756

#Control Structures

##If statement

Kotlin if statement should look familiar with other language

fun main(args : Array<String>) {
 val total = 10
@iambibhas
iambibhas / scopes.txt
Last active Aug 19, 2022
Sublime Text 2: Snippet scopes
View scopes.txt
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
@ryankirkman
ryankirkman / jquery_mobile_dynamic_theme_refresh.html
Created Aug 1, 2011
jQuery Mobile - Dynamically / Programatically Update Page Theme
View jquery_mobile_dynamic_theme_refresh.html
<!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">