Moved to https://github.com/kbilsted/Functional-core-imperative-shell/blob/master/README.md
| // | |
| // UIImage.Effects.swift | |
| // | |
| // | |
| // Created by Andy Liang on 2016-06-19. | |
| // | |
| // | |
| import UIKit | |
| import Accelerate |
| # The trick is to link the DeviceSupport folder from the beta to the stable version. | |
| # sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) | |
| # Support iOS 15 devices (Xcode 13.0) with Xcode 12.5: | |
| sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/15.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
| # Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions | |
| # (A similar approach works for older versions too, just change the version number after DeviceSupport) |
| // | |
| // Activity.swift | |
| // | |
| // Created by Zachary Waldowski on 8/21/16. | |
| // Copyright © 2016 Zachary Waldowski. Licensed under MIT. | |
| // | |
| import os.activity | |
| private final class LegacyActivityContext { |
| // | |
| // SpinlockTestTests.swift | |
| // SpinlockTestTests | |
| // | |
| // Created by Peter Steinberger on 04/10/2016. | |
| // Copyright © 2016 PSPDFKit GmbH. All rights reserved. | |
| // | |
| import XCTest |
When you're just configuring a single server, having a static IP address for your server image isn't too important, but when you're configuring multi-server setups, it can be useful to duplicate a number of server images and give each a static IP address so you can consistently deploy to them. While not documented well at all, it turns out that this is relatively easy to accomplish in four simple steps.
Let's say you have a guest machine with the name ubuntu-lucid-lynx-base and you keep your guest machine images in ~/Documents/Virtual\ Machines/. To determine the MAC address for this VM, you can run:
cat ~/Documents/Virtual\ Machines/ubuntu-lucid-lynx-base.vmwarevm/ubuntu-lucid-lynx-base.vmx | grep ethernet0.generatedAddress
When you're just configuring a single server, having a static IP address for your server image isn't too important, but when you're configuring multi-server setups, it can be useful to duplicate a number of server images and give each a static IP address so you can consistently deploy to them. While not documented well at all, it turns out that this is relatively easy to accomplish in four simple steps.
Let's say you have a guest machine with the name ubuntu-lucid-lynx-base and you keep your guest machine images in ~/Documents/Virtual\ Machines/. To determine the MAC address for this VM, you can run:
cat ~/Documents/Virtual\ Machines/ubuntu-lucid-lynx-base.vmwarevm/ubuntu-lucid-lynx-base.vmx | grep ethernet0.generatedAddress
| extension Collection { | |
| func chunk(size: Int) -> ChunkedCollection<Self> { | |
| ChunkedCollection(self, size: size) | |
| } | |
| } | |
| struct ChunkedCollection<Base: Collection>: Collection { | |
| private let base: Base | |
| <key>CFBundleDocumentTypes</key> | |
| <array> | |
| <dict> | |
| <key>CFBundleIcons</key> | |
| <dict> | |
| <key>CFBundlePrimaryIcon</key> | |
| <dict> | |
| <key>CFBundleIconFiles</key> | |
| <array> | |
| <string>Echo-Icon.png</string> |
| // | |
| // UIImageView+Letters.swift | |
| // UIImageViewLettersDemo | |
| // | |
| // Created by Deepakraj Murugesan on 23/02/18. | |
| // Copyright © 2018 Deepak. All rights reserved. | |
| // | |
| import Foundation | |
| import UIKit |