Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

csukuangfj

💭
I may be slow to respond.
Block or report user

Report or block csukuangfj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View effective_modern_cmake.md

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@csukuangfj
csukuangfj / cpp-create-wav.cc
Created Apr 22, 2019
create wav file using c++
View cpp-create-wav.cc
// author: fangjun kuang <csukuangfj at gmail dot com>
// date: Apr. 22, 2019
// refer to http://www.topherlee.com/software/pcm-tut-wavformat.html
#include <fstream>
#include <iostream>
typedef struct WAV_HEADER {
/* RIFF Chunk Descriptor */
View RNN-notes
- a blog article https://colah.github.io/posts/2015-08-Understanding-LSTMs/
@csukuangfj
csukuangfj / tensorflow-notes.md
Last active Mar 7, 2019
useful tensorflow statements
View tensorflow-notes.md
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.ERROR)
@csukuangfj
csukuangfj / python-notes.md
Last active Feb 28, 2019
python-notes.md
View python-notes.md

swig

TODO

  • protobuf for python
View c-notes.md
  • [C Preprocessor tricks, tips, and idioms][1]
  • [Standard alternative to GCC's ##VA_ARGS trick?][2]
  • [Variadic Macros][3], gcc manual
  • [Appending to VA_ARGS][4]
  • [Comma omission and comma deletion][5]
  • IEEE-754 Floating Point Converter
You can’t perform that action at this time.