Create patch branch
USER_NAME="mattn"
REPO_NAME="sleepy"
BRANCH_NAME="feat/$USER_NAME/$REPO_NAME"| .DEFAULT_GOAL := help | |
| ## Edit config | |
| .PHONY : edit | |
| edit : | |
| nvim .typos.toml | |
| ## Check typo | |
| .PHONY : test | |
| test : |
// なぜかうまくいかない
<%*
let base = moment(tp.file.title, "YYYY年MM月")
let days_in_month = base.daysInMonth();
// forループ回す
// 1~31日までのリンクを作成
for (let day_i = 1; day_i != days_in_month + 1; day_i++) {
- [[base.date(day_i).format("YYYY年MM月DD日")]]
// なぜか動かない
<% tp.file.cursor() %>
<%*
// 平日かどうか判別したい
// asyncなんもわからん
async function isWeekDay() {
let day_of_week = moment(tp.file.title, "YYYY年MM月DD日").weekday(); // 0 or 6
return day_of_week == 0 ? false
: day_of_week == 6 ? false
| vim.cmd([[ | |
| autocmd UIEnter * lua vim.notify('UIEnter ') | |
| autocmd UILeave * lua vim.notify('UILeave ') | |
| autocmd WinEnter * lua vim.notify('WinEnter ') | |
| ]]) | |
| --[[ | |
| autocmd BufAdd * lua vim.notify('BufAdd ') | |
| autocmd BufDelete * lua vim.notify('BufDelete ') | |
| autocmd BufEnter * lua vim.notify('BufEnter ') | |
| autocmd BufFilePost * lua vim.notify('BufFilePost ') |
| # GMiner v2.70 | |
| # PS C:\Users\username> t-rex --version | |
| # T-Rex NVIDIA GPU miner v0.24.0 rev.6bef42b17a30 | |
| # curl -s "https://api.github.com/repos/develsoftware/GMinerRelease/releases/latest" | jq .tag_name -r | |
| # 2.73 | |
| # curl -s https://api.github.com/repos/trexminer/T-Rex/releases/latest | jq .tag_name -r | |
| # 0.24.7 | |
| $GMinerUrl = "https://api.github.com/repos/develsoftware/GMinerRelease/releases/latest" | |
| $TRexUrl = "https://api.github.com/repos/trexminer/T-Rex/releases/latest" |
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>カレーのレシピ</title> | |
| </head> | |
| <body> | |
| <article> | |
| <h1>カレーのレシピ</h1> | |
| <p> |