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
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include <chrono> | |
#include <queue> | |
#include <functional> | |
#include <thread> | |
#include <mutex> | |
//#include <atomic> | |
#include <condition_variable> |
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
# -*- mode: python; coding: utf-8-unix -*- | |
# | |
# | |
# @see man proc (5) | |
# | |
import os, re | |
import sqlite3 | |
# | |
# |
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
# -*- mode: python; coding: utf-8-unix -*- | |
# | |
# Time-stamp: <2020-07-20 04:47:17 norim> | |
# | |
# @ref: https://nathankjer.com/animated-3d-plots/ | |
# | |
# CAUTION: required to install the imagemagick before execution. | |
# for jupyter, http://louistiao.me/posts/notebooks/embedding-matplotlib-animations-in-jupyter-notebooks/ | |
# |
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
# -*- mode: python; coding: utf-8-unix -*- | |
# | |
# | |
# @ref: https://pillow.readthedocs.io/en/3.1.x/PIL.html?highlight=PngInfo#PIL.PngImagePlugin.PngInfo | |
# | |
import os | |
from datetime import datetime | |
from optparse import OptionParser | |
from PIL.PngImagePlugin import PngImageFile, PngInfo |
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
# -*- mode: python; coding: utf-8-unix -*- | |
# | |
# Time-stamp: <2020-12-12 11:15:14 norim> | |
# | |
# usage: | |
# import framed | |
# ... | |
# img = cv2.imread(input_file) | |
# framed.framed(img, "sample", "working") |
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
# -*- mode: python; coding: utf-8-unix -*- | |
# | |
# Time-stamp: <2021-02-16 10:59:17 norim> | |
# | |
import os | |
import shutil | |
import re | |
from datetime import datetime | |
from optparse import OptionParser | |
from openpyxl import Workbook |
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
// -*- mode: java; coding: utf-8 -*- | |
// | |
// Time-stamp: <2021-10-22 09:12:02 norim> | |
// | |
// TODO: echo server を作成、任意のデータを受信すると、それをhexdump して返信 | |
import java.io.*; | |
import java.net.*; | |
import java.nio.ByteBuffer; | |
import java.nio.ByteOrder; |
OlderNewer