上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页
  2017年10月5日
摘要: 由于Linux min 18.2仓库中的erlnag是18.2,我们手动安装最新版本,参考 https://www.erlang-solutions.com/resources/download.html 1 你需要创建一个 /etc/apt/sources.list 文件并填入下面 2 添加公钥 阅读全文
posted @ 2017-10-05 00:25 c3tc3tc3t 阅读(220) 评论(0) 推荐(0) 编辑
  2017年9月24日
摘要: https://stackoverflow.com/questions/12200215/bunder-what-does-require-nil-in-gemfile-mean Require nil or false means that bundler will not load (requi 阅读全文
posted @ 2017-09-24 14:14 c3tc3tc3t 阅读(194) 评论(0) 推荐(0) 编辑
  2017年9月23日
摘要: 原文 https://thewebjuice.com/es6-arrows/ 1 使用es6箭头定义匿名函数 es5 2 单个参数和多个参数 es5 3定义闭包 es5 4 Literal Syntax es5 阅读全文
posted @ 2017-09-23 08:57 c3tc3tc3t 阅读(166) 评论(0) 推荐(0) 编辑
  2017年9月22日
摘要: 1 先执行如下 heroku run rake db:migrate 阅读全文
posted @ 2017-09-22 13:08 c3tc3tc3t 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 登录 sudo su - postgres psql 1 创建Postgresql新用户,devpg是用户名,密码也是devpg, 不是超级管理员,拥有创建数据库权限,登录权限,继承拥有角色权限 2 \du查看 3 配置rails config/database.yml ,注意host属性和port 阅读全文
posted @ 2017-09-22 11:35 c3tc3tc3t 阅读(335) 评论(0) 推荐(0) 编辑
摘要: https://www.postgresql.org/download/linux/ubuntu/ 1 check Xenial16.04 2 创建文件 /etc/apt/sources.list.d/pgdg.list 添加 deb http://apt.postgresql.org/pub/re 阅读全文
posted @ 2017-09-22 00:51 c3tc3tc3t 阅读(289) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/6040583/cant-find-the-libpq-fe-h-header-when-trying-to-install-pg-gem For Ubuntu systems: sudo apt-get install lib 阅读全文
posted @ 2017-09-22 00:18 c3tc3tc3t 阅读(323) 评论(0) 推荐(0) 编辑
  2017年9月18日
摘要: var numSides = 6; var numRolls = 3; var xhr = new XMLHttpRequest(); xhr.responseType = 'json'; xhr.open("POST", "http://localhost:4000/graphql"); xhr.setRequestHeader("Content-Type", "application/jso... 阅读全文
posted @ 2017-09-18 15:21 c3tc3tc3t 阅读(163) 评论(0) 推荐(0) 编辑
  2017年9月13日
摘要: rails 开发中 5.1版本使用binding.pry会报 ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash可以在下面文件中设置applicaiton.rbif Rail 阅读全文
posted @ 2017-09-13 16:52 c3tc3tc3t 阅读(859) 评论(0) 推荐(0) 编辑
  2017年9月9日
摘要: 在看elixir程序设计,书中讲到依赖设置,但是都是要联网,自己希望可以下载到本地电脑硬盘,然后项目要使用就用本地的,不要每次都要下载,因为天朝下载真的不稳 官方看到文档 {:deps_name,path: "/path/deps_name"} 当时不知道 这个path/deps_name指的是什么 阅读全文
posted @ 2017-09-09 11:25 c3tc3tc3t 阅读(180) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页