👨💻 Technologies I Use Day-to-Day |
---|
JavaScript, Flow for JavaScript, Ruby, Swift |
React, React Native, Ruby on Rails, Apollo, GraphQL |
Jest, RSpec |
VSCode, Xcode, Git |
Yarn, CocoaPods, Carthage |
| 🎓 What I'd Like To Get Better At or Learn |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
import React, { Component } from "react"; | |
import Board from "./Board"; | |
export default class Game extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
xIsNext: true, | |
stepNumber: 0, | |
history: [{ squares: Array(9).fill(null) }], |
Use this file to track all dependencies required by this project.
*** xcodebuild output can be found in /var/folders/pz/zn0ztb8n4kl2ts0cd4thqxxh0000gq/T/carthage-xcodebuild.vWS3Sz.log | |
*** Building scheme "GRDBiOS" in GRDB.xcworkspace | |
*** Building scheme "GRDBCipheriOS" in GRDB.xcworkspace | |
*** Building scheme "GRDBCustomSQLiteiOS" in GRDB.xcworkspace | |
Build Failed | |
Task failed with exit code 65: | |
/usr/bin/xcrun xcodebuild -workspace /Users/karol/Desktop/portfolio-ios/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace -scheme GRDBCustomSQLiteiOS -configuration Release -derivedDataPath /Users/karol/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/GRDB.swift/v3.6.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/pz/zn0ztb8n4kl2ts0cd4thqxxh0000gq/T/GRDB.swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/karol/Desktop/portfolio-ios/Carthage/Checkouts/GRDB.swift) | |
This usually indicates that project itself faile |
#!/bin/bash | |
# | |
# Written by Corey Haines | |
# Scriptified by Gary Bernhardt | |
# | |
# Put this anywhere on your $PATH (~/bin is recommended). Then git will see it | |
# and you'll be able to do `git churn`. | |
# | |
# Show churn for whole repo: | |
# $ git churn |
import UIKit | |
protocol Embedding: class { | |
var embeddedViewController: UIViewController? { get set } | |
} | |
enum EmbeddingAnimation { | |
case none | |
case flipFromLeft | |
case crossDissolve |
/* | |
If you run loadThumbnail() in an *iPhone-only app that is installed on the iPad*, | |
the Photos framework will callback first with a degraded version of the requested asset image, | |
and then it will callback a second time with a nil image. | |
If you're not careful and you pass the nil image to your UIImageView, then you will never see the thumbnail. | |
The UIImageView will first get set with a proper UIImage, then soon after with a nil UIImage. | |
The solution is to ignore or discard any image that is nil. | |
So what happens if you try to setup PHImageRequestOptions to make sure that Photos framework only calls back once? |