Skip to content

Instantly share code, notes, and snippets.

View cive's full-sized avatar

Toshiyuki.N cive

  • Japan
View GitHub Profile
import os
from pyquery import PyQuery
import re
def parse(content: str) -> None:
dom = PyQuery(content)
table = dom("table")
opttable = table.filter("#optionTable")
for tr in opttable.children():
if len(PyQuery(tr).find("td")) == 0:
version: '3.3'
services:
neo4j:
image: neo4j:latest
volumes:
- ./neo4j/data:/data
- ./neo4j/logs:/logs
- ./neo4j/conf:/conf
ports:
- 7474:7474 # http
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cive
cive / convertPDFs.py
Created December 12, 2018 14:41
だいぶ前に作った自炊した画像をPDFにするやつ
# -*- coding: utf-8 -*
import os
import sys
import functools
import codecs
import types
import glob
import re
from convertToPDF import convertToPDF
$ anaconda search -t conda qutip
$ conda install -c https://conda.anaconda.org/ajgpitch qutip
@cive
cive / file0.txt
Last active June 25, 2016 18:09
scalaでJavaCV使ってみたかっただけ ref: http://qiita.com/NakamuraFukurou/items/65467e36a044d2e7ebe3
// @formatter:off
name := "sample"
organization := "com.github.cive"
scalaVersion := "2.11.8"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-Xlint")
classpathTypes += "maven-plugin"
@cive
cive / curandsample.cu
Created December 6, 2015 07:18
curandsampleにコメントを付けた
/*
* sample code
* from http://d.hatena.ne.jp/fjnl/20101127/1290880661
* comment by cive
*/
#include <iostream>
#include <iterator>
#include <curand.h>
# dockerFile
# 2015/2/25
# CentOS Server
# playframework2.x (oracle java8, scala)
# CentOS version 6
FROM centos:centos6
MAINTAINER cive <hukurou55.1@gmail.com>
WORKDIR /data
@cive
cive / やりたいこと
Created January 24, 2015 18:33
優先順位
# の優先度
## 量子力学・量子光学 10000
## scala・playframework 1000
## 独学支援のサイト作り 8000
## 代数学 500