Skip to content

Instantly share code, notes, and snippets.

View namse's full-sized avatar

Nam Se Hyun namse

View GitHub Profile
@luncliff
luncliff / cmake-tutorial.md
Last active July 16, 2024 13:09
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
@castaneai
castaneai / crista.py
Created January 11, 2018 17:48
clip studio paint -> png
import sqlite3
data = open('test.clip', 'rb').read()
sqlite_head = data.index(b'SQLite format 3')
with open('test.sqlite3', 'wb') as dbf:
dbf.write(data[sqlite_head:])
sqlite = sqlite3.connect('test.sqlite3')
image_data = sqlite.execute('select ImageData from CanvasPreview').fetchone()[0]
with open('test.png', 'wb') as imf:
imf.write(image_data)
@cmendible
cmendible / Roslyn.CodeGeneration.Program.cs
Created August 16, 2017 09:30
Create a class with dotnet core and roslyn with using statements outside the namespace
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslyn.CodeGeneration
{
public class Program
{
public static void Main(string[] args)