CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
- 이 문서는 CMake를 주관적으로 서술합니다
- 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
# Check which version of sed is used when you run the `sed` command | |
# The version that ships with Mac OS X is | |
# /usr/bin/sed | |
which sed | |
# Install gnu-sed using Homebrew | |
# The `--with-default-names` option configures `sed` to use gnu-sed | |
# Without that option, you'll need to type `gsed` to use gnu-sed | |
brew install --default-names gnu-sed |
git log --graph --oneline --decorate ( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )
This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.
# An example to get the remaining rate limit using the Github GraphQL API. | |
import requests | |
headers = {"Authorization": "Bearer YOUR API KEY"} | |
def run_query(query): # A simple function to use requests.post to make the API call. Note the json= section. | |
request = requests.post('https://api.github.com/graphql', json={'query': query}, headers=headers) | |
if request.status_code == 200: |
@RunWith(Parameterized::class) | |
class KotlinTest(val paramOne: Int, val paramTwo: String) { | |
companion object { | |
@JvmStatic | |
@Parameterized.Parameters | |
fun data() : Collection<Array<Any>> { | |
return listOf( | |
arrayOf(1, "I"), // First test: (paramOne = 1, paramTwo = "I") | |
arrayOf(1999, "MCMXCIX") // Second test: (paramOne = 1999, paramTwo = "MCMXCIX") |
import random | |
from datetime import datetime, timedelta | |
min_year=1900 | |
max_year=datetime.now().year | |
start = datetime(min_year, 1, 1, 00, 00, 00) | |
years = max_year - min_year+1 | |
end = start + timedelta(days=365 * years) |
git config --global alias.tree "log --graph --decorate --pretty=oneline --abbrev-commit" |
import sys | |
import pygame | |
from pygame.locals import * | |
##### Rendering Fuctions ##### | |
def drawGrid(context, width, height, cell_size): | |
column = 1 | |
row = 0 | |
at = 0 |