Last Update: May 13, 2019
Offline Version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 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 で確認する。 |
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