CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
- 이 문서는 CMake를 주관적으로 서술합니다
- 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
Rust error handling is nice but obligatory. Which makes it sometimes plenty of code.
Functions return values of type Result that is "enumeration". In Rust enumeration means complex value that has alternatives and that alternative is shown with a tag.
Result is defined as Ok or Err. The definition is generic, and both alternatives have
| document.querySelector('iframe').contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); |
| #!/bin/bash | |
| CARGO_HOME=/Users/joonho/.cargo | |
| diff=$($CARGO_HOME/bin/cargo fmt -- --check) | |
| result=$? | |
| if [[ ${result} -ne 0 ]] ; then | |
| cat <<\EOF | |
| There are some code style issues, run `cargo fmt` first. |
| // | |
| // UIDeviceHardware.h | |
| // | |
| // Used to determine EXACT version of device software is running on. | |
| #import <Foundation/Foundation.h> | |
| @interface UIDeviceHardware : NSObject | |
| - (NSString *) platform; |
source: https://aaronparecki.com/2016/07/29/10/git-tower
Configure your git client to always sign commits:
$ git config --global commit.gpgsign true
Try to sign a commit from the command line before trying it with Tower. Once you're able to successfully sign commits from the command line, you can set it up to work with Tower.
Add no-tty to your GPG configuration, to allow Tower to use it:
| #!/bin/bash | |
| # | |
| # tomcat This shell script takes care of starting and stopping Tomcat | |
| # | |
| # chkconfig: - 80 20 | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: tomcat | |
| # Required-Start: $network $syslog | |
| # Required-Stop: $network $syslog |
| from flask import Flask, Blueprint | |
| from flask.views import MethodView | |
| class ApiResource(MethodView): | |
| endpoint = None | |
| url_prefix = None | |
| url_rules = {} | |
| @classmethod |
| javadoc { | |
| options.addStringOption("locale","ko_KR"); | |
| options.addStringOption("encoding","UTF-8"); | |
| options.addStringOption("charset","UTF-8"); | |
| options.addStringOption("docencoding","UTF-8"); | |
| } |