CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
- 이 문서는 CMake를 주관적으로 서술합니다
- 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
AccessModifierOffset: -2 | |
AlignAfterOpenBracket: BlockIndent # New in v14. For earlier clang-format versions, use AlwaysBreak instead. | |
AlignConsecutiveMacros: false | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlines: DontAlign | |
AlignOperands: false | |
AlignTrailingComments: false | |
AllowAllArgumentsOnNextLine: false | |
AllowAllConstructorInitializersOnNextLine: false |
/// @brief Helper function for using the `rapidcheck` under the `doctest`. | |
#pragma once | |
#include <doctest/doctest.h> | |
#include <rapidcheck.h> | |
#include <utility> | |
namespace rc { | |
template <typename Testable_> |
const int mod = 998244353; | |
using lint = long long; | |
lint ipow(lint x, lint p){ | |
lint ret = 1, piv = x; | |
while(p){ | |
if(p & 1) ret = ret * piv % mod; | |
piv = piv * piv % mod; | |
p >>= 1; | |
} | |
return ret; |
// ==UserScript== | |
// @name NPM Browse Files | |
// @namespace https://gist.github.com/HelloWorld017/3a5460ce41db861d4d0f4550289b10c7/ | |
// @version 1.0 | |
// @description Browse files on npm | |
// @author Khinenw | |
// @match *://*.npmjs.com/package/* | |
// @grant none | |
// ==/UserScript== |
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
(function(){ | |
//SVG Flat Stripe Background | |
//by Khinenw | |
//gist.github.com/HelloWorld017/6fb557767095a0e79140cb3bfbed83e7 | |
'use strict'; | |
if(location.pathname !== '/') return; | |
var themes = [[/^\d+-(02|03|04)-.+$/, ['#f8bbd0', '#f06292', '#e91e63', '#c2185b', '#880e4f']], //Haru | |
[/^\d+-(05|06|07)-.+$/, ['#ffeb3b', '#cddc39', '#8bc34a', '#4caf50', '#009688']], //Natsu |
const schedule = require('node-schedule'); | |
schedule.scheduleJob('0 0 * * * *', () => { | |
var chatParticipantFile = fs.readFileSync('./chat_participant.txt', 'utf8'); | |
var chatParticipant = chatParticipantFile.split('\n'); | |
chatParticipant.forEach((element, index, array) => { | |
if (element) { | |
bot.sendMessage(element, '정각입니다.', {disable_notification: true}); | |
} | |
}); |
let get_xy = (x, y, radius, angle) => { | |
let rad = Math.PI / 180 * angle; | |
return { | |
x: Math.round(x + Math.cos(rad) * radius), | |
y: Math.round(y + Math.sin(rad) * radius) | |
}; | |
}; | |
let generate_flower = (x, y, radius, angle_base) => { | |
let str = ''; |