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
import SwiftUI | |
import CommonCrypto | |
struct AsyncImage<Content> : View where Content: View { | |
enum Error : Swift.Error { | |
case invalidData | |
} | |
private let url: URL |
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
// | |
// main.swift | |
// SRTConverter | |
// | |
// Created by shayanbo on 22/09/2016. | |
// Copyright © 2016 shayanbo. All rights reserved. | |
// using swift3.0 | |
import Foundation |
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
#! /usr/bin/ruby | |
oldCommit = ARGV[0] | |
newCommit = ARGV[1] | |
puts "Analysing..." | |
commits=`git rev-list #{oldCommit}..#{newCommit}`.split | |
binary_infos = [] |
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
#!/usr/bin/ruby | |
# get commit SHA1 with commit count. | |
commitCount=5648 | |
branch='HEAD' | |
ruby -e 'puts `git rev-list #{branch}`.split.reverse[#{commitCount}-1]' |