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
f0ster left the chat room. (Ping timeout: 240 seconds) | |
[10:37am] JSeligstein: remear: how would I know which one to use without also storing my token? | |
[10:37am] ras__: skylar: it'll have all the same cards and bank accounts attached on Customer that it does on Account | |
[10:37am] remear: JSeligstein: if you did something like customer.debit it would default to the most recently added | |
[10:38am] skylar: ras__ so Balanced::Account.find(uri).customer_uri ? | |
[10:39am] remear: to debit a specific one just pass the URI for it as source_uri. how you determine which one you want to debit is up to you. some people allow only one card at a time and so store the URI for it. others allow multiple cards to pick from | |
[10:39am] remear: skylar: yes | |
[10:39am] skylar: thanks! that's helpful | |
[10:39am] JSeligstein: remear: okay, i'll just store the uri for the specific card then | |
[10:39am] JSeligstein: remear: thanks |
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
AVAssetExportSession *exportSession = [[AVAssetExportSession alloc] initWithAsset:[self.project.composition copy] presetName:AVAssetExportPresetPassthrough]; | |
NSURL* outputURL = [self createTempAssetFileURL:@"export"]; | |
exportSession.outputURL = outputURL; | |
// exportSession.outputFileType=AVFileTypeQuickTimeMovie; | |
exportSession.outputFileType=AVFileTypeMPEG4; | |
[exportSession exportAsynchronouslyWithCompletionHandler:^{ | |
switch (exportSession.status) { | |
case AVAssetExportSessionStatusFailed:{ |
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
NSDictionary *videoCleanApertureSettings = [NSDictionary dictionaryWithObjectsAndKeys: | |
@480, AVVideoCleanApertureWidthKey, | |
@480, AVVideoCleanApertureHeightKey, | |
@0, AVVideoCleanApertureHorizontalOffsetKey, | |
@0, AVVideoCleanApertureVerticalOffsetKey, | |
nil]; | |
NSDictionary *videoAspectRatioSettings = [NSDictionary dictionaryWithObjectsAndKeys: | |
@1,AVVideoPixelAspectRatioHorizontalSpacingKey, |
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
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" |
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
[Error] Cross-origin redirection to https://events.duolingo.com/gql denied by Cross-Origin Resource Sharing policy: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. | |
[Error] Failed to load resource: Cross-origin redirection to https://events.duolingo.com/gql denied by Cross-Origin Resource Sharing policy: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true. (callback, line 0) | |
[Error] Fetch API cannot load https://events.duolingo.com/accounts/ssoclient/callback/?sso_token=b7YmP7L9171r5DtOt2Vk3iwzPqJdkfwQ5dwUww4kPtnJZeMwAIvUPIwmExxO3jGVwG_zHvp7vLN8ynEp0FaZSuPCwEOCz-_oK17C-Pl3zadpK0VrIp-oYS4Lc2hhqUGnqdBaH0YZ8TnVHAVXk6NedA2hTt7Zz1_4JSiSZuAKMIdp6pLybASJlFCqrRYjxccpp79m0fJF53eLK-h52xWOSOyOMNQRShKBUMxxu-uaToFJXVhw4Okxemsene_29epxU235zdfesZN3iAwwHbAo_pLBtfrGS2tYkhvEtMq9U-nV6b6qRLKdULPw9Jf8DPAirdc9hYX2C1xVPiwtY23sn21wsdZn8UGVp6WqCFkwqyAwgvzG69keOkRjBy-oUGKWf6-Big0HhNXH0DtIBD7SRQ%3D%3D&sso_auth_status=OK due to access control checks. | |
[Error] Unhandled (in rea |
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
# DOCS: https://brew.sh/ | |
# run the install script | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# update brew | |
brew update | |
# run the health check | |
brew doctor |
OlderNewer