上一页 1 2 3 4 5 6 7 ··· 40 下一页
  2020年6月5日
摘要: If you have upgraded your app from an earlier version of Rails make sure you add the following line: Rails.application.config.assets.paths << Rails.ro 阅读全文
posted @ 2020-06-05 13:47 c3tc3tc3t 阅读(321) 评论(0) 推荐(0)
  2019年11月1日
摘要: To disable this check, please add `config.webpacker.check_yarn_integrity = false` to your Rails development config file (config/environments/developme 阅读全文
posted @ 2019-11-01 09:23 c3tc3tc3t 阅读(358) 评论(0) 推荐(0)
  2019年8月22日
摘要: rails_db better_errors awesome_print web-console irbtools binding_of_caller awesome_rails_console 阅读全文
posted @ 2019-08-22 08:53 c3tc3tc3t 阅读(137) 评论(0) 推荐(0)
  2019年8月21日
摘要: 1 gem install rubygems-update 2 update_rubygems 3 gem update --system 4 gem update 阅读全文
posted @ 2019-08-21 09:24 c3tc3tc3t 阅读(159) 评论(0) 推荐(0)
  2019年8月15日
摘要: test "map.mergd" do s = :crypto.strong_rand_bytes(32) # <<116, 101, 115, 116, 58, 0>> # = "test:" <> <<0>> # IO.inspect(String.slice(b, 0, 4)) c = "te 阅读全文
posted @ 2019-08-15 13:22 c3tc3tc3t 阅读(197) 评论(0) 推荐(0)
  2019年8月11日
摘要: Same issue. The solution is simple. Find the name of the exec command, for google chrome in arch linux is google-chrome-stable. Edit the command name 阅读全文
posted @ 2019-08-11 08:51 c3tc3tc3t 阅读(1553) 评论(0) 推荐(0)
  2019年7月7日
摘要: 99 bottles of beer on the wall, 99 bottles of beer.Take one down and pass it around, 98 bottles of beer on the wall. 98 bottles of beer on the wall, 9 阅读全文
posted @ 2019-07-07 12:27 c3tc3tc3t 阅读(284) 评论(0) 推荐(0)
  2019年6月30日
摘要: defmodule My do defstruct password: "", apassword_hash: "", aencrypted_password: "" end m = %My{ :password => "123", :apassword_hash => Bcrypt.hash_pwd_salt("111111"), :aencrypt... 阅读全文
posted @ 2019-06-30 16:57 c3tc3tc3t 阅读(220) 评论(0) 推荐(0)
  2019年5月27日
摘要: 1 defmodule MyList do 2 3 def max(list), do: _max(list, 0) 4 5 defp _max([], max), do: max 6 7 defp _max([head | tail], max) do 8 _max(tail, (head > m 阅读全文
posted @ 2019-05-27 14:41 c3tc3tc3t 阅读(290) 评论(0) 推荐(0)
  2019年5月22日
摘要: ou can mix require and export. You can't mix import and module.exports. 阅读全文
posted @ 2019-05-22 16:34 c3tc3tc3t 阅读(253) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 40 下一页