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
// | |
// Created by Chris Wagner | |
// https://gist.github.com/cwagdev/e66d4806c1f63fe9387a | |
// | |
// Modified by Thiago Holanda (August/2016) | |
// | |
// These modifications was made to support the latest version of Swift | |
// before the major version (3.0) is released. This code will compile | |
// without any problem on Swift 2.2. | |
// |
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
require "spaceship" | |
Spaceship::Tunes.login("<apple-id-account>", "<password>") | |
bundle_ids = Array.new | |
bundle_ids.push("br.com.example.app") | |
bundle_ids.each do |bundle_id| | |
app = Spaceship::Tunes::Application.find(bundle_id) | |
app.edit_version.candidate_builds.each do |build| | |
puts "TestFlight - #{bundle_id} - Train Version: #{build.train_version} - Build: #{build.build_version}" |
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
https://www.graph.cool/ | |
https://graphcms.com/ | |
https://scaphold.io/ | |
http://howtographql.com/ | |
https://graphql-docs.com/ | |
http://graphql.com/ | |
http://graphql.org/ | |
https://launchpad.graphql.com/q1n3qqwrp | |
https://github.com/graphql/graphiql | |
https://github.com/unnamedd?page=1&tab=stars&utf8=%E2%9C%93&q=graphql |
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
### Keybase proof | |
I hereby claim: | |
* I am unnamedd on github. | |
* I am unnamedd (https://keybase.io/unnamedd) on keybase. | |
* I have a public key ASAzyQzrzgp9bCWJHLBsH3B3jGIXeSX5ocqP4pBslLV3fQo | |
To claim this, I am signing this object: |
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 UIKit | |
extension String { | |
func regex(_ pattern: String) -> Int { | |
let results: [Int] = self.regex(pattern) | |
guard let item = results.first, results.count > 0 else { | |
return NSNotFound | |
} | |
return item |
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 UIKit | |
import PlaygroundSupport | |
extension UIView { | |
private class UIViewNamed: UIView { | |
var name: String | |
var thickness: CGFloat? = nil | |
required init(frame: CGRect = CGRect.zero, name: String) { | |
self.name = name | |
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
Lisa Dziuba [10:01] | |
@artnosenko hi, here is my list, which I used when started learning Swift | |
1. Apple guides :pray: | |
https://developer.apple.com/library/content/referencelibrary/GettingStarted/DevelopiOSAppsSwift/index.html#//apple_ref/doc/uid/TP40015214-CH2-SW1 | |
2. Stanford lectures (free!) : | |
https://itunes.apple.com/in/course/developing-ios-10-apps-swift/id1198467120 | |
3. raywenderlich.com tutorials |
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
public struct Type { | |
var id: Int | |
var name: String | |
var description: String | |
public init(id: Int, name: String? = nil, description: String? = nil) { | |
self.id = id | |
self.name = name ?? "" | |
self.description = description ?? "" | |
} |
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
# create an account, create an app | |
# @see https://apps.twitter.com/ | |
# retrieve the access tokens | |
# @see https://dev.twitter.com/oauth/reference/post/oauth2/token | |
# create the file ~/twitter_api | |
nano ~/twitter_api | |
Authorization: OAuth oauth_consumer_key="XXXXXX", oauth_nonce="11111111", oauth_signature="XXXXXX", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1450728725", oauth_token="99999-XXXXXX", oauth_version="1.0" |