- pinf, sinf, apID, purd にitunes の購入情報が入っている
- https://hydrogenaud.io/index.php/topic,99548.25.html
- https://metacpan.org/source/Audio::M4P::QuickTime#L558
+ pinf
|
+--+ schi
| import os | |
| import glob | |
| import datetime | |
| import shutil | |
| datetime_formats = [ | |
| '%Y_%m_%d_%H_%M_%S', | |
| '%Y_%m_%d_%H' | |
| ] |
+ pinf
|
+--+ schi
| import sqlite3 | |
| data = open('test.clip', 'rb').read() | |
| sqlite_head = data.index(b'SQLite format 3') | |
| with open('test.sqlite3', 'wb') as dbf: | |
| dbf.write(data[sqlite_head:]) | |
| sqlite = sqlite3.connect('test.sqlite3') | |
| image_data = sqlite.execute('select ImageData from CanvasPreview').fetchone()[0] | |
| with open('test.png', 'wb') as imf: | |
| imf.write(image_data) |
| <FilesMatch "\.test$"> | |
| SetHandler application/x-httpd-php | |
| </FilesMatch> |
| import time | |
| import struct | |
| import socket | |
| from server import _recvall | |
| NUM_CLIENT = 1 | |
| socks = [] | |
| for i in range(NUM_CLIENT): | |
| sock = socket.socket() |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Crossfade Demo</title> | |
| <style> | |
| html, body { | |
| margin: 0; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Crossfade Demo</title> | |
| <style> | |
| html, body { | |
| margin: 0; |
| def imread_yazo(filename, flag): | |
| with open(filename, "rb") as f: | |
| return cv2.imdecode(f.read(), flag) | |
| def imwrite_yazo(filename, img, flag): | |
| with open(filename, "wb") as f: | |
| ext = os.path.splitext(filename)[1] | |
| f.write(cv2.imencode(ext, img, flag)) |
| using System; | |
| using System.Collections; | |
| using System.Linq; | |
| class Program0817 | |
| { | |
| static void Main(string[] args) | |
| { | |
| var data = new byte[] | |
| { |
| import cv2 | |
| import numpy as np | |
| files = [ | |
| "input01.jpg", | |
| "not01.jpg", | |
| "input02.jpg", | |
| "not02.jpg", | |
| "input03.jpg", | |
| "not03.jpg", |