Skip to content

Instantly share code, notes, and snippets.

package com.example.batch;
import java.util.Properties;
import javax.batch.operations.JobOperator;
import javax.sql.DataSource;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.converter.JobParametersConverter;
import org.springframework.batch.core.explore.JobExplorer;
rixwwd / nginx.conf
Created Jun 5, 2019
Nginx reverse proxy settings for fn server.
View nginx.conf
user nginx;
worker_processes 1;
error_log /dev/stderr warn;
pid /var/run/;
events {
worker_connections 1024;
View tfidf.rb
#!/usr/bin/env ruby
# coding: UTF-8
require 'logger'
require 'mecab'
@logger =
@logger.level = Logger::INFO
# ドキュメントの単語数をカウントする。