📄20190514.md

> 新卒1年目がオレオレツールをHomebrewで公開してみた

TL;DR

オレオレツールをリプレースしたついでにHomebrewで公開したので公開手順等をまとめておきます。

作ったオレオレツール

toyotter

まだプログラミングの右も左も分からない大学1年生の頃講義中TwitterしててもバレないためにPythonで作ったターミナルからTwitterの操作ができるオレオレツール(legacy-toyotter)をTwitter APIの仕様変更による対応とGo言語の勉強ついでにリプレースしました。

↓ 作ったもの toyotter

$ toyotter tlでタイムラインの取得や$ toyotter tw "Hello world"でツイートができたりします。

スクリーンショット 2019-05-13 18.31.15.png

📄20190222.md

> Project EulerをHaskellで解いていく(Problem1: Multiples of 3 and 5)

TL;DR

Haskellの勉強を兼ねてProject Eulerを解いていきます。 始めたばかりでわからないことが多いのでコメント頂けると嬉しいです。

問題文

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.

10未満の自然数のうち, 3 もしくは 5 の倍数になっているものは 3, 5, 6, 9 の4つがあり, これらの合計は 23 になる. 同じようにして, 1000 未満の 3 か 5 の倍数になっている数字の合計を求めよ.

📄20190220.md

> Project EulerをHaskellで解いていく(Problem2: Even Fibonacci numbers)

TL;DR

Haskellの勉強を兼ねてProject Eulerを解いていきます。 始めたばかりでわからないことが多いのでコメント頂けると嬉しいです。

問題文

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, … By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.

フィボナッチ数列の項は前の2つの項の和である. 最初の2項を 1, 2 とすれば, 最初の10項は以下の通りである. 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, … 数列の項の値が400万以下の, 偶数値の項の総和を求めよ.