過去問と回答が大学Webサービスからダウンロードできるが、学期ごとに全部バラバラで非常に管理がしにくいので、科目ごとに結合して1つのPDFとして扱えるようにする。
適当なディレクトリに必要な科目の過去問と回答をダウンロードして保存する。自分は2期分を保存した。
Option Explicit | |
Sub breakUpMergedCells() | |
Dim curSheet As Worksheet | |
Dim eCell As Range, curRange As Range | |
Dim curAddr As String | |
Dim fillCell As Range | |
Dim filledValue As String | |
Set curSheet = ActiveSheet |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.Reader; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
/** | |
* ProcessBroker pb = new ProcessBroker("ps -ef | grep java".split(" ")); |
#!/bin/sh | |
# | |
# Copyright 2017 haruo31 <haruo31@underthetree.jp> | |
# Original by 2014 Wenva <lvyexuwenfa100@126.com> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is furnished |
$ find . -name '*.m2ts' | xargs stat -c%s | paste -s -d+ | bc |
package jp.underthetree; | |
import java.io.*; | |
import org.apache.lucene.document.Document; | |
import org.apache.lucene.document.Field.Store; | |
import org.apache.lucene.document.StringField; | |
import org.apache.lucene.index.DirectoryReader; | |
import org.apache.lucene.index.IndexWriter; | |
import org.apache.lucene.index.IndexWriterConfig; |
package sample; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.UncheckedIOException; | |
import java.nio.file.Files; | |
import java.util.Random; |
(:name howm-haruo31 | |
:website "http://howm.sourceforge.jp/" | |
:description "Write fragmentarily and read collectively." | |
:type http-tar | |
:options ("xzf") | |
:url "http://howm.sourceforge.jp/a/howm-1.4.3.tar.gz" | |
:build `(("./configure" ,(concat "--with-emacs=" el-get-emacs)) ("make"))) |
#!/bin/sh | |
set -xe | |
DRIVE=/dev/sr0 | |
TARGET=`pwd` | |
TMP=`mktemp -d --suffix=dvdbackup -p $TARGET` | |
pushd $TMP | |
dvdbackup -M -i $DRIVE |
#!/bin/sh | |
BASE=`dirname $0 | xargs -I\{\} sh -c "cd {}; pwd"` |