Motivation goes here
Quick and dirty instructions for start
{ | |
"$schemaTransformation" : "http://buzzword.org.uk/2008/jCard/transformation.js" , | |
"id" : "jCard" , | |
"version" : "0.1.0" , | |
"title" : "jCard" , | |
"description" : "This document defines the jCard data format for representing and exchanging a variety of information about an individual (e.g., formatted and structured name and delivery addresses, email address, multiple telephone numbers, photograph, logo, audio clips, etc.)." , | |
"type" : "object" , | |
"seeAlso" : | |
[ | |
"http://microformats.org/wiki/jcard" , |
#MIT License | |
# | |
#Copyright (c) 2017 Daniele Andreis | |
#Permission is hereby granted, free of charge, to any person obtaining a copy | |
#of this software and associated documentation files (the "Software"), to deal | |
#in the Software without restriction, including without limitation the rights | |
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
#copies of the Software, and to permit persons to whom the Software is | |
#furnished to do so, subject to the following conditions: | |
# |
docker rm $(docker ps -a -q) | |
docker rmi $(docker images -q) | |
docker volume rm $(docker volume ls |awk '{print $2}') | |
rm -rf ~/Library/Containers/com.docker.docker/Data/* |
This README would normally document whatever steps are necessary to get your application up and running.
// Framework | |
import Foundation | |
import AWSCognito //pod | |
import KeychainAccess //pod | |
public struct Apple { | |
public struct KeyChain { | |
public static let Group = "YOUR GROUP NAME" | |
public static let Service = "YOUR SERVICE NAME" |
// http://stackoverflow.com/questions/8583548/calling-a-javascript-anonymous-function-right-when-its-declared-doesnt-work | |
var step = (function(){ | |
// this code is executed immediately, | |
// the return value is assigned to `step` | |
})(); |
var AWS = require('aws-sdk'); | |
var S3 = Promise.promisifyAll(new AWS.S3()); | |
return S3.putObjectAsync(params); |
func textFieldShouldReturn(textField: UITextField) -> Bool { | |
urlField.resignFirstResponder() | |
let data = urlField.text!.dataUsingEncoding(NSUTF8StringEncoding) | |
let urlFieldBase64 = data?.base64EncodedStringWithOptions(NSDataBase64EncodingOptions.Encoding64CharacterLineLength) | |
return false | |
} |
// inspiration | |
// http://timnew.me/blog/2013/01/30/pitfall-in-node-crypto-and-base64-encoding/ | |
// https://github.com/kevva/base64-regex | |
Base64Util = { | |
encode64: function(text) { | |
return new Buffer(text, 'utf8').toString('base64'); | |
}, | |
decode64: function(base64) { | |
return new Buffer(base64, 'base64').toString('utf8'); | |
}, |