Problem:
The following commands fail on OSX:
gem install nokogiri
gem install nokogiri -- --use-system-libraries
gem install nokogiri -- --use-system-libraries --with-xslt-dir=/usr/local/opt/libxslt --with-xml2-dir=/usr/local/opt/libxml2
Version:
| #include <string.h> | |
| #include <stdio.h> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <vector> | |
| #include "rapidxml-1.13/rapidxml.hpp" | |
| using namespace rapidxml; | |
| using namespace std; |
| ########################################## | |
| # | |
| # c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
| # | |
| # Version 2.82 | |
| # | |
| # Latest Change: | |
| # - MORE tweaks to get the iOS 10+ and 9- working | |
| # - Support iOS 10+ | |
| # - Corrected typo for iOS 1-10+ (thanks @stuikomma) |
| // | |
| // simd+ext.swift | |
| // | |
| // Created by Kaz Yoshikawa on 11/6/15. | |
| // | |
| // | |
| import Foundation | |
| import simd | |
| import GLKit |
Problem:
The following commands fail on OSX:
gem install nokogiri
gem install nokogiri -- --use-system-libraries
gem install nokogiri -- --use-system-libraries --with-xslt-dir=/usr/local/opt/libxslt --with-xml2-dir=/usr/local/opt/libxml2
Version:
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_307__building_great_newsstand_apps.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_311__building_and_distributing_custom_b2b_apps_for_ios.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_304__events_and_reminders_in_event_kit.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_300__getting_around_using_map_kit.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_306__integrating_with_facebook_twitter_and_sina_weibo.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_301__introducing_passbook_part_1.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_309__introducing_passbook_part_2.mov | |
| https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_3 |
| extension CGRect | |
| { | |
| /** Creates a rectangle with the given center and dimensions | |
| - parameter center: The center of the new rectangle | |
| - parameter size: The dimensions of the new rectangle | |
| */ | |
| init(center: CGPoint, size: CGSize) | |
| { | |
| self.init(x: center.x - size.width / 2, y: center.y - size.height / 2, width: size.width, height: size.height) |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_test/flutter_test.dart'; | |
| void main() { | |
| setUp(() { | |
| // Limits viewport in tests to size of 100, 100 to decrease the size of | |
| // the pngs | |
| WidgetsBinding.instance.renderView.configuration = | |
| TestViewConfiguration(size: const Size(100, 100)); | |
| }); |
| // A minimal iOS app set up entirely in code using Objective-C rather than using a storyboard and UIApplicationSceneManifest in the Info.plist. | |
| // Last updated for iOS 18. | |
| // Swift version: https://gist.github.com/douglashill/b8125f7e2336b6a47461df0d4898f64d | |
| @import UIKit; | |
| @interface SceneDelegate : UIResponder <UIWindowSceneDelegate> | |
| @end | |
| @implementation SceneDelegate |
| // | |
| // DarwinNotificationCenter.swift | |
| // | |
| // Copyright © 2017 WeTransfer. All rights reserved. | |
| // | |
| import Foundation | |
| /// A Darwin notification payload. It does not contain any userInfo, a Darwin notification is purely event handling. | |
| public struct DarwinNotification { |
| using System; | |
| namespace Kryz.Tweening | |
| { | |
| // Made with the help of this great post: https://joshondesign.com/2013/03/01/improvedEasingEquations | |
| // --------------------------------- Other Related Links -------------------------------------------------------------------- | |
| // Original equations, bad formulation: https://github.com/danro/jquery-easing/blob/master/jquery.easing.js | |
| // A few equations, very simplified: https://gist.github.com/gre/1650294 | |
| // Easings.net equations, simplified: https://github.com/ai/easings.net/blob/master/src/easings/easingsFunctions.ts |