Skip to content

Instantly share code, notes, and snippets.


Sébastien Stormacq sebsto

View GitHub Profile
hishma / CLLocation+Encodable.swift
Created Jan 16, 2019
CoreLocation and Codable
View CLLocation+Encodable.swift
extension CLLocation: Encodable {
public enum CodingKeys: String, CodingKey {
case latitude
case longitude
case altitude
case horizontalAccuracy
case verticalAccuracy
case speed
case course
case timestamp
justinpawela / config
Created Aug 3, 2016
AWS CodeCommit Multiple Account Config
View config
# This file is: ~/.ssh/config
# You may have other (non-CodeCommit) SSH credentials stored in this
# config file – in addition to the CodeCommit settings shown below.
# NOTE: Make sure to run [ chmod 600 ~/.ssh/config ] after creating this file!
# Credentials for Account1
Host awscc-account1 # 'awscc-account1' is a name you pick
Hostname # This points to CodeCommit in the 'US East' region
carsonmcdonald /
Created Jan 11, 2016
Build Swift on an Amazon Linux AMI
# Notes:
# I used the following AMI:
# "Amazon Linux AMI 2015.09.1 (HVM), SSD Volume Type - ami-60b6c60a"
# Running on AMI: amzn-ami-hvm-2015.09.1.x86_64-gp2 (ami-60b6c60a)
# You probably want to use an instance type with a large amount of memory. My first
# attempt was with a c4.2xlarge but it rant out of memory without using -j option to
# limit the parallel build.
sawapi / AppDelegate.swift
Last active Feb 5, 2019
[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
You can’t perform that action at this time.