This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ==---------------------------------------------------------------------------------== | |
* | |
* File : MCPeerID+Reusable.swift | |
* Project : MCPeerID+Reusable | |
* Author : ALEXIS AUBRY RADANOVIC | |
* Creation Date : SEPTEMBER 21 2016 | |
* | |
* License : The MIT License (MIT) | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
f=$(pwd) | |
sips --resampleWidth 512 "${f}/${1}" --out "${f}/iTunesArtwork.png" | |
sips --resampleWidth 1024 "${f}/${1}" --out "${f}/iTunesArtwork@2x.png" | |
sips --resampleWidth 20 "${f}/${1}" --out "${f}/Icon-App-20x20@1x.png" | |
sips --resampleWidth 40 "${f}/${1}" --out "${f}/Icon-App-20x20@2x.png" | |
sips --resampleWidth 60 "${f}/${1}" --out "${f}/Icon-App-20x20@3x.png" | |
sips --resampleWidth 29 "${f}/${1}" --out "${f}/Icon-App-29x29@1x.png" | |
sips --resampleWidth 58 "${f}/${1}" --out "${f}/Icon-App-29x29@2x.png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SSReadingListItem.swift | |
// Created by Alexis Aubry on 09/05/2016. | |
// | |
// The MIT License (MIT) | |
// Copyright (c) 2016 ALEXIS AUBRY | |
// | |
import Foundation | |
import SafariServices |
NewerOlder