-
❏ Minishift: 3scale is currently targeted for deployment on openshift, and minishift is the recommended development environment for that.
-
❏
occommand-line tool [optional. you can also use the web-based interface.]
| import UIKit | |
| import StoreKit | |
| //MARK: SKProductsRequestDelegate | |
| extension IAPHelpers : SKProductsRequestDelegate | |
| { | |
| func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) | |
| { |
| import UIKit | |
| import StoreKit | |
| //MARK: SKProductsRequestDelegate | |
| extension IAPHelpers : SKProductsRequestDelegate | |
| { | |
| func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) | |
| { |
| // MARK: - Swizzling | |
| extension UIFont { | |
| class var defaultFontFamily: String { return "Georgia" } | |
| override public class func initialize() | |
| { | |
| if self == UIFont.self { | |
| swizzleSystemFont() | |
| } | |
| } |
| import Foundation | |
| import UIKit | |
| // Usage Examples | |
| let system12 = Font(.system, size: .standard(.h5)).instance | |
| let robotoThin20 = Font(.installed(.RobotoThin), size: .standard(.h1)).instance | |
| let robotoBlack14 = Font(.installed(.RobotoBlack), size: .standard(.h4)).instance | |
| let helveticaLight13 = Font(.custom("Helvetica-Light"), size: .custom(13.0)).instance | |
| struct Font { |
| // | |
| // LinkedTextView.h | |
| // | |
| // Created by Benjamin Bojko on 10/22/14. | |
| // | |
| // The MIT License (MIT) | |
| // | |
| // Copyright (c) 2014 Benjamin Bojko | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy |
| #!/bin/bash | |
| sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
| sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
| If, like me, your are booting with UEFI (because having a triple boot ubuntu-windows-mac or because UEFI is the most modern type of bootloader and successor of EFI :p), you have to sign the proprietary modules each time they are recompiled (or upgrade kernel version) so that they are allowed to be loaded in the kernel. | |
| 1) Step one, create a self-signed certificate to sign nvidia driver: | |
| sudo openssl req -new -x509 -newkey rsa:2048 -keyout UEFI.key -outform DER -out UEFI.der -nodes -days 36500 -subj "/CN=rambou_nvidia/" | |
| 2) step two load and store certificate in a supplementary key database MOC | |
| sudo mokutil --import UEFI.der | |
| 3) step three reboot your system | |
| At this step after reboot you will be prompted to select your certificate to import in in key database. If you have inserted a password at certificate creation you'll be prompted to insert it. If you are not prompted, you may have to enter the BIOS by using function keys at boot time. |
With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.
autofs needs to be configured so that it knows where to gets its configuration. Edit the file '/etc/auto_master' and add the last line:
#
# Automounter master map
#
+auto_master # Use directory service
I've been deceiving you all. I had you believe that Svelte was a UI framework — unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.
But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.
Svelte is a language.
Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?
A few projects that have answered this question: