Skip to content

Instantly share code, notes, and snippets.

View uitspitss's full-sized avatar
🖖
pray for prosperity

uitspitss uitspitss

🖖
pray for prosperity
View GitHub Profile
@uitspitss
uitspitss / custom.css
Last active May 13, 2018 23:25
~/.jupyter/nbconfig/notebook.json, ~/.jupyter/custom/custom.css
.CodeMirror pre, .output pre { font-family: Menlo, monospace; }
@uitspitss
uitspitss / file0.sh
Last active March 3, 2018 17:07
docker + jupyter で画像処理用コンテナ ref: https://qiita.com/uitspitss/items/beaba95390731d7f508b
FROM jupyter/base-notebook
USER root
RUN apt-get update -y && apt-get install -y python-opencv
USER jovyan
RUN pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master \
jupyter_nbextensions_configurator pillow opencv-python
RUN jupyter contrib nbextension install --user && jupyter nbextensions_configurator enable --user
@uitspitss
uitspitss / practice.ipynb
Created March 3, 2018 11:32
work/practice.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@uitspitss
uitspitss / ofxDomemaster.cpp
Created April 27, 2017 20:15
ofxDomemaster_modified
#include "ofxDomemaster.h"
ofxDomemaster::ofxDomemaster(){
meshScaleExt = 1.;
}
//--------------------------------------------------------------
void ofxDomemaster::setup(int _width, int _height){
width = _width;
height = _height;
#!python
#-*-coding:utf-8-*-
import time
import shutil
def main():
while True:
shutil.copy('image.jpg', time.strftime('%Y%m%d-%H%M%S.jpg'))
print("cp:", time.strftime('%Y%m%d-%H%M%S.jpg'))
time.sleep(10)