Skip to content

Instantly share code, notes, and snippets.

View csukuangfj's full-sized avatar
👀
I may be slow to respond.

Fangjun Kuang csukuangfj

👀
I may be slow to respond.
  • Xiaomi Corporation
  • Peking
View GitHub Profile
@csukuangfj
csukuangfj / c-notes.md
Last active January 9, 2019 05:11
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
@csukuangfj
csukuangfj / python-notes.md
Last active February 28, 2019 03:25
python-notes.md

swig

TODO

  • protobuf for python
@csukuangfj
csukuangfj / tensorflow-notes.md
Last active March 7, 2019 12:36
useful tensorflow statements
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.ERROR)
@csukuangfj
csukuangfj / RNN-notes
Created March 8, 2019 02:10
RNN-notes
- a blog article https://colah.github.io/posts/2015-08-Understanding-LSTMs/
@csukuangfj
csukuangfj / cpp-create-wav.cc
Created April 22, 2019 11:14
create wav file using c++
// 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 */