Skip to content

Instantly share code, notes, and snippets.

View bave's full-sized avatar

inoue.tomoya bave

View GitHub Profile
@Brainiarc7
Brainiarc7 / intel-opencl-neo-build.md
Last active April 30, 2024 21:43
Build Intel's Neo OpenCL platform on Ubuntu 18.04LTS

Intel OpenCL stack enablement on Ubuntu 18.04LTS.

Here's how to build and install Intel's new OpenCL enablement stack, Neo, which replaces the legacy Beignet ICD.

Install the dependencies:

Build dependencies:

sudo apt-get install ccache flex bison clang-4.0 cmake g++ git patch zlib1g-dev autoconf xutils-dev libtool pkg-config libpciaccess-dev
@sonots
sonots / fluentd_hacking_guide.md
Last active October 4, 2024 00:01
Fluentd ソースコード完全解説 (v0.10向け)

Fluentd ソースコード完全解説

英題:Fluentd Hacking Guide

目次

30分しかないため斜線部分は今回省く

  • Fluentd の起動シーケンスとプラグインの読み込み
  • Fluentd の設定ファイルのパース
  • Input Plugin から Output Plugin にデータが渡る流れ
% git clone https://github.com/keiko713/rails-todo.git
% cd rails-todo
% bundle install --without production
% foreman run bundle exec rake db:migrate
% foreman start
localhost:5000 で確認する。
import sys
import codecs
from sets import Set
import xml.etree.ElementTree as ET
convert_tuples = [
(u'\u00a6',u'\u007c'),#broken bar=>vertical bar
(u'\u2014',u'\u2015'),#horizontal bar=>em dash
(u'\u2225',u'\u2016'),#parallel to=>double vertical line
(u'\uff0d',u'\u2212'),#minus sign=>fullwidth hyphen minus
import sys
import codecs
from sets import Set
import xml.etree.ElementTree as ET
convert_tuples = [
(u'\u00a6',u'\u007c'),#broken bar=>vertical bar
(u'\u2014',u'\u2015'),#horizontal bar=>em dash
(u'\u2225',u'\u2016'),#parallel to=>double vertical line
(u'\uff0d',u'\u2212'),#minus sign=>fullwidth hyphen minus
@gizmaa
gizmaa / Plot_Examples.md
Last active October 27, 2024 12:01
Various Julia plotting examples using PyPlot