Check out the guideline here: https://github.com/aliyun/aliyun-cli ( using Google translator)
Install python pip if necessary
curl https://bootstrap.pypa.io/get-pip.py | sudo python
Install aliyuncli
Check out the guideline here: https://github.com/aliyun/aliyun-cli ( using Google translator)
Install python pip if necessary
curl https://bootstrap.pypa.io/get-pip.py | sudo python
Install aliyuncli
| // | |
| // EasyLocalization.swift | |
| // | |
| // Created by Doba Duc on 9/1/15. | |
| // Copyright (c) 2015 Doba Duc. All rights reserved. | |
| // | |
| /// Tiny useful wrapper function of NSLocalizedString in Swift | |
| /// | |
| /// @param key Localizable key |
| #Set Directory | |
| setwd("/root") #Set working directory | |
| #Load packages | |
| library(caret) | |
| library(jsonlite) | |
| ##Functions | |
| #Create training and test sets | |
| splitdf <- function(dataframe, seed=NULL) { |
| // | |
| // AutoKeyboardAdjustmentProtocol.swift | |
| // Ducky Duke | |
| // | |
| // Created by Doba Duc on 8/18/15. | |
| // Copyright (c) 2015 Doba Duc. All rights reserved. | |
| // | |
| import UIKit |
| extension UIFont { | |
| var isBold: Bool { | |
| return (fontDescriptor().symbolicTraits.rawValue & UIFontDescriptorSymbolicTraits.TraitBold.rawValue) > 0 | |
| } | |
| var isItalic: Bool { | |
| return (fontDescriptor().symbolicTraits.rawValue & UIFontDescriptorSymbolicTraits.TraitItalic.rawValue) > 0 | |
| } | |
| } |