CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
- 이 문서는 CMake를 주관적으로 서술합니다
- 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
#define DEBUG_LOG | |
#ifdef DEBUG_LOG | |
#define ANSI_COLOR_RED "\x1b[31m" | |
#define ANSI_COLOR_YELLOW "\x1b[33m" | |
#define ANSI_COLOR_RESET "\x1b[0m" | |
#define LOG(fmt,...) printf(ASNI_COLOR_YELLOW fmt "\n" ANSI_COLOR_RESET, ##__VA_ARGS__) | |
#define ERROR(fmt,...) printf(ANSI_COLOR_RED fmt "\n" ANSI_COLOR_RESET,##__VA_ARGS__) | |
#else | |
#define LOG(fmt,...) | |
#define ERROR(fmt,...) |
Author: Chris Lattner
/* | |
*** Academy Engraved LET *** | |
AcademyEngravedLetPlain | |
--------------------- | |
*** Al Nile *** | |
AlNile | |
AlNile-Bold | |
--------------------- | |
*** American Typewriter *** | |
AmericanTypewriter |
extension PHPhotoLibrary { | |
typealias PhotoAsset = PHAsset | |
typealias PhotoAlbum = PHAssetCollection | |
static func saveImage(image: UIImage, albumName: String, completion: (PHAsset?)->()) { | |
if let album = self.findAlbum(albumName) { | |
saveImage(image, album: album, completion: completion) | |
return | |
} |
// credit: http://stackoverflow.com/questions/603907/uiimage-resize-then-crop#605385 | |
func scaleAndCropImage(_ image:UIImage, toSize size: CGSize) -> UIImage { | |
// Make sure the image isn't already sized. | |
guard !image.size.equalTo(size) else { | |
return image | |
} | |
let widthFactor = size.width / image.size.width | |
let heightFactor = size.height / image.size.height | |
var scaleFactor: CGFloat = 0.0 |
caffemodel: age_net.caffemodel
caffemodel_url: https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel
영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
var express = require('express'); | |
var router = express.Router(); | |
var multipart = require('connect-multiparty'); | |
var multipartMiddleware = multipart(); | |
router.get('/', function(req, res) { | |
res.render('index'); | |
}); |