View checkpng.go
package main | |
import ( | |
"bytes" | |
"encoding/binary" | |
"io" | |
"io/ioutil" | |
) | |
// 手軽にnバイト読み込む関数を定義 |
View parser.go.y
%{ | |
// プログラムのヘッダを指定 | |
package main | |
import ( | |
"os" | |
"fmt" | |
"strconv" | |
"bufio" | |
) | |
%} |
View data.csv
年月日 | 平均気温(℃) | 最高気温(℃) | |
---|---|---|---|
2010/1/1 | 4.8 | 9.5 | |
2010/1/2 | 6.3 | 11.4 | |
2010/1/3 | 5.7 | 9.2 | |
2010/1/4 | 6.5 | 9.6 | |
2010/1/5 | 7.3 | 13.2 | |
2010/1/6 | 6.5 | 10.4 | |
2010/1/7 | 7.3 | 12.1 | |
2010/1/8 | 7.6 | 11.3 | |
2010/1/9 | 7.2 | 11.1 |
View convert-text2.html
<!DOCTYPE html><html><meta charset="utf-8"><body> | |
<style> | |
textarea { | |
font-family: "Courier New", Consolas, monospace; | |
background-color: #f0ffff; | |
} | |
</style> | |
<!-- 入力と出力のテキストボックスを作る --> | |
<h3>入力 - 以下にタイトルとURLの一覧を貼り付け</h3> | |
<textarea id="in_ta" rows="8" cols="80"> |
View convert-text.html
<!DOCTYPE html><html><meta charset="utf-8"><body> | |
<!-- 入力と出力のテキストボックスを作る --> | |
<h3>入力 - 以下にタイトルとURLの一覧を貼り付け</h3> | |
<textarea id="in_ta" rows="8" cols="80"> | |
オンライン結婚式場見学を開始したノバレーゼの成約に向けた取組 | |
https://news.mynavi.jp/article/20200619-1056453/ | |
Windows 10にUbuntu 20.04 LTSをインストールする | |
https://news.mynavi.jp/article/liunx_win-51/ | |
ノートPCと周辺機器の連係が一気に楽になる「ドッキングステーション」 | |
https://news.mynavi.jp/kikaku/beginner_pc-3/ |
View parser.go.y
%{ | |
// プログラムのヘッダを指定 | |
package main | |
import ( | |
"os" | |
"fmt" | |
) | |
%} | |
%union { | |
num int |
View bbs.go
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"html" | |
"io/ioutil" | |
"net/http" | |
"time" | |
) |
View exec-rhino
on main(input) | |
-- スクリプトの名前 | |
set mainScript to "test.sh" | |
-- 親ディレクトリの取得 | |
tell application "Finder" to set parentDirPos to parent of (path to me) as text | |
set parentDir to ((alias parentDirPos)'s POSIX path) | |
try | |
do shell script "cd " & parentDir & ";./" & mainScript & space & input | |
end try | |
end main |