rust製の早いgrep
https://github.com/BurntSushi/ripgrep
/etcを自動でgit管理
http://etckeeper.branchable.com/
serverspecのgo言語版
rust製の早いgrep
https://github.com/BurntSushi/ripgrep
/etcを自動でgit管理
http://etckeeper.branchable.com/
serverspecのgo言語版
これはたしかにsedより楽だ
ripgrepとの組み合わせいいね
rg "fortune2018" -l | xargs sd "ogatism.jp/fortune2018/" "ogatism.jp/post/fortune2018/"
var x = new URL(location.href);
//path 置換
x.pathname = '/aaa';
// hash置換
x.hash = 'user';
// query置換
moment.jsよりも分かりやすい
https://moment.github.io/luxon/#/install
<script src="https://cdn.jsdelivr.net/npm/luxon@3.0.4/build/global/luxon.min.js"></script>
var DateTime = luxon.DateTime;
admin | method | url | controller | name | title | |
---|---|---|---|---|---|---|
admin | get | /admin/news | NewsController | admin.news.index | admin news | |
front | get | /news | NewsController | admin.news.index | front news |
<html> | |
<head> | |
</head> | |
<body> | |
<form method="POST" enctype="multipart/form-data"> | |
<input type="file" name="svg" id="svg"> | |
<input type="submit"> |