2021-01-01から1年間の記事一覧
loumo.jp 勉強になったのでメモ。
わかりやすかったです! メモ: techtechmedia.com
git rm db/*.sqlite3 git commit -m "Removing SQLite files from git" rm .gitignore wget https://raw.githubusercontent.com/github/gitignore/master/Rails.gitignore mv Rails.gitignore .gitignore git add .gitignore git commit -m "Ignoring files …
An error occurred while installing ffi (1.15.4), and Bundler cannot continue. Make sure that `gem install ffi -v '1.15.4' --source 'https://rubygems.org/'` succeeds before bundling. brew link --force libffi で出てくる export LDFLAGS="-L/us…
rails db:seed で ActiveRecord::StatementInvalid: SQLite3::ReadOnlyException: attempt to write a readonly database が出る問題は以下で解決。 stackoverflow.com はてぶろの編集画面にコードブロックない(パッとみ見当たらない)の使いづらいな。
#デベロッパーツールのコンソールで実行 ##Jsで無限スクロール const scroll = setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 1500); ###ストップ clearInterval(scroll); ##ついでに「詳しく読む」を開ける const open = s…
mysql -u rootCREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; GRANT ALL ON *.* TO 'username'@'localhost'; flush privileges;