Skip to content

Instantly share code, notes, and snippets.

View okusama27's full-sized avatar
🏠
Working from home

Kameko Ohmura okusama27

🏠
Working from home
View GitHub Profile
import os
import pprint
from datetime import datetime, timedelta
import pytz
# https://pypi.python.org/pypi/feedgenerator
import feedgenerator
rss_max = 10
base_url = 'http://kamekokamekame.net/'
root_path = 'source/'
import os
from html.parser import HTMLParser
import pprint
from datetime import datetime as dt
base_path = '../html/blog.iron-hot.com'
base_dir = 'p'
save_dir = 'change_md'
main_title = ' – 覚えたことを復唱してみる。だって、忘れっぽいんですもの。'
#coding: UTF-8
# Make following data
# time,a,b,c
# 2015-03-01 00:00:00,1,2,3
import datetime
num1 = 100
num2 = 1
Option Compare Database
Option Explicit
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub getSampleData()
Dim cnn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim xmlhttp As Object
Dim restAPI As String
Dim i, k As Long
#192.168.0.11
#/etc/td-agent/td-agent.conf
<source>
type forward
port 24224
</source>
<match td.*.*>
type file
path /var/log/fluent/myaccess
flush_interval 30s
#192.168.0.10
#/etc/td-agent/td-agent.conf
<source>
type tail
format apache
path /var/log/httpd/access_log
pos_file /var/log/td-agent/httpd-access.log.pos
tag td.testdb.accesslog
</source>
<match td.*.*>