Skip to content

Instantly share code, notes, and snippets.

import UIKit
public class MyClass {
private let instanceData:String = "yack"
public typealias COMP_CALLBACK_FUNC = (param:String) ->(String)
public func completionCallback( param:String, completionCallback: COMP_CALLBACK_FUNC )
{
@mschmulen
mschmulen / Notes.md
Last active August 29, 2015 14:22
WWDC 2015

WWDC 2015

##Swift 2.0

Swift will open source by the end of the year. This will open new markets and ecosystems for swift developers. The focus seems to be in supporting server side Linux. This would enable server side platforms, API tiers and ecosystems to be written in Swift and possibly share code ( similar to how many companies use and share POJO's for both the Android and server side Java code bases ). It seems very likely that a server side Swift framework and platform will emerge in the same way Serverside Node.js JavaScript came from client side JavaScript.

The Language continues to improve and progress with lots of updates and additions: Enums, Scoping, @testable , Rich commenting, SIMDI optimizations, Reflection (via Mirrors API), guard , #available keyword, Error handling, Defer Actions, and Protocol Extensions. Protocol Extensions will possibly have a significant impact on how code is architected in the future ( and as far as I know is Swift only). The progress of the Swift language w

@mschmulen
mschmulen / DeepLinkTest.md
Last active August 29, 2015 14:15
Deep Link Test Sheet

yack

##Manufacture App

manufacture:

manufacture://about

manufacture://settings

@mschmulen
mschmulen / auto.sh
Last active August 29, 2015 14:04
e7m scripts for clean build, run and test
# usage:
# mkdir -p ios; cd ios; curl -fsSL https://gist.githubusercontent.com/mschmulen/05f912bad39afd3e754f/raw/7bc8ddb33cb25df36a6457b6f5c8f29408cde7ca/auto.sh
mkdir -p manufacture; cd manufacture; curl -fsSL https://gist.githubusercontent.com/mschmulen/05f912bad39afd3e754f/raw/e7m.manfuacture.sh | sh
mkdir -p exposure; cd exposure; curl -fsSL https://gist.githubusercontent.com/mschmulen/05f912bad39afd3e754f/raw/e7m.exposure.sh | sh
mkdir -p transport; cd transport; curl -fsSL https://gist.githubusercontent.com/mschmulen/05f912bad39afd3e754f/raw/e7m.transport.sh | sh
@mschmulen
mschmulen / MariaDB.md
Last active February 13, 2018 13:33
StrongLoop Datastores git clone https://gist.github.com/8248247.git StrongLoop-DataStores
@mschmulen
mschmulen / uninstall-strongloop-suite.sh
Created January 3, 2014 19:05
uninstall strongloop suite
#!/bin/sh
(( ${#} > 0 )) || {
echo 'The uninstaller is now trying to remove StrongLoop Suite'
echo 'Press Control-C to quit or Enter to continue the script with sudo: '
read
echo 'Re-running the script with sudo.'
echo 'You may be prompted for a password for the sudo command.'
sudo ${0} sudo
exit $?
}
@mschmulen
mschmulen / Adding-Public-Static-Web.md
Last active January 2, 2016 03:09
Customizing StrongLoop git clone https://gist.github.com/8241887.git Customizing-StrongLoop

Adding A Public Static Web Page to your StrongLoop App

  1. Create a LoopBack App slc lb project myApp
  2. cd in your App cd myApp
  3. Copy the static pages into myApp\public folder:
  • Using curl
curl -O http://startbootstrap.com/downloads/stylish-portfolio.zip
unzip stylish-portfolio.zip && mv stylish-portfolio public && mv public/stylish-portfolio.html public/index.html
@mschmulen
mschmulen / Amazon.md
Last active January 2, 2016 02:49
Getting started with StrongLoop Cloud Providers git clone https://gist.github.com/8240089.git StrongLoop-Cloud-Providers

Amazon

@mschmulen
mschmulen / README.md
Created September 29, 2013 19:11
Using the Yeoman Mobile Generator
@mschmulen
mschmulen / README.md
Last active December 24, 2015 06:09
Angular Standalone, Disconnected and Mocked inline html and javascript

Simple Angular App Example, Disconnected and Mocked inline html and javascript

simply clone the repo locally and

 git clone https://gist.github.com/6755421.git AngularStandalone
 cd AngularStandalone
 open index.html