こちらを、パクらせていただきました https://qiita.com/ukyo/items/4a0f697c332343d77659
Reviewのディレクトリ内で、node relaese.js
cpdfのインストールは、上のQiitaを参考に。
こちらを、パクらせていただきました https://qiita.com/ukyo/items/4a0f697c332343d77659
Reviewのディレクトリ内で、node relaese.js
cpdfのインストールは、上のQiitaを参考に。
// https://qiita.com/ukyo/items/4a0f697c332343d77659 | |
#!/usr/bin/env node | |
const { execSync } = require("child_process"); | |
const fs = require("fs"); | |
// 環境に合わせて設定を変更する | |
// B5は WIDTH = 182; HEIGHT = 257; | |
const PAGE_START = 1; |
;;; package --- | |
;;; Commentary: | |
;;; Code: | |
(require 'json) | |
(require 'qiita) | |
(require 'package) | |
(setq inhibit-startup-message t) | |
(package-initialize) | |
(setq qiita->token "c06d5534aaad880a45cd8c530098e7751cb2cabc") |
<html> | |
<head> | |
<link rel="stylesheet" href="sample.css"> | |
</head> | |
<div class="background"> | |
<div class="clicked"> | |
</div> | |
</div> | |
</body> |
#! /usr/bin/env ruby | |
require "capybara" | |
require "selenium-webdriver" | |
session = Capybara::Session.new(:selenium) | |
session.visit 'http://example.com' | |
session.save_screenshot('screenshot.png') | |
import sys | |
sys.path.append('/usr/local/lib/python2.7/site-packages') | |
import cv2 | |
import os | |
argv = sys.argv | |
#HAAR分類器の顔検出用の特徴量 | |
#cascade_path = "/usr/local/Cellar/opencv/2.4.9/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml" |
p [[1,2],[3,4],[5,6]].flatten | |
# => [1, 2, 3, 4, 5, 6] |
#! /usr/bin/env ruby | |
require "capybara" | |
require "selenium-webdriver" | |
Capybara.current_driver = :selenium | |
module Crowler | |
class Google | |
include Capybara::DSL |
(setq file-size (make-hash-table :test #'equal)) | |
(defun re-load-log (file-name) | |
(interactive) | |
(let (point-last-read regenesis) | |
(setq point-last-read (gethash file-name file-size)) | |
(with-temp-buffer | |
(insert-file-contents file-name) | |
(when (> point-last-read (point-max)) | |
(setq point-last-read (point-min))) | |
(when (not point-last-read) |
;; | |
;; ---- how to use -------- | |
;; | |
;; M-x fit:generate | |
;; | |
;; ---- setting templete and varibale -------- | |
;; | |
;; (setq template-dir "~/template") | |
;; | |
;; (fit:register-template "経営会議" "management-meeting" fit:week-tuesday) |