Skip to content

Instantly share code, notes, and snippets.

Chih-Hsuan Yen yan12125

Block or report user

Report or block yan12125

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
@yan12125
yan12125 / Makefile
Last active Apr 26, 2020
v4l2 test
View Makefile
v4l2: v4l2.cpp
g++ v4l2.cpp -o v4l2 -ljpeg
@yan12125
yan12125 / hornet-1.0.patch
Last active May 13, 2018
Build instruction and patch file for hornet-1.0
View hornet-1.0.patch
diff -ur hornet-1.0/src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp hornet-1.0-mod2/src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp
--- hornet-1.0/src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp 2011-06-01 21:51:37.000000000 +0800
+++ hornet-1.0-mod2/src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp 2014-05-04 02:58:12.144146742 +0800
@@ -7,7 +7,7 @@
#ifndef BOOST_TASKS_DETAIL_BIND_PROCESSOR_H
#define BOOST_TASKS_DETAIL_BIND_PROCESSOR_H
-#include <boost/task/detail/config.hpp>
+//#include <boost/task/detail/config.hpp>
@yan12125
yan12125 / build.cmd
Last active Dec 11, 2015
Win32 Assembly example
View build.cmd
ml /c winapi.asm
link winapi.asm /subsystem:console
@yan12125
yan12125 / aagGen.cpp
Created Dec 31, 2012
AAG Circuit file generator version 2
View aagGen.cpp
#include <iostream>
#include <ctime>
#include <cstdlib>
#include <vector>
#include <sstream>
#include <fstream>
#include <cstring>
using namespace std;
enum GateType { PI, AIG, UNDEF };
You can’t perform that action at this time.