Archive
算法运行时间估算
Ruby 是如何判断 hash 中的 key 是同一个
AES-128-GCM 加密算法在 ruby 和 java 中的不同
深入理解计算机系统
Git: 查看单一文件的变更记录
Rails: 如何给 dead job 添加回调
Rails: 什么时候使用 disable_ddl_transaction!
ActiveRecord::Associations::CollectionProxy
Referrer Policy 是如何影响 referrer 值的
Rails: safe_constantize
Ruby: rbenv 安装过慢问题
Rails: 查看 console 输入历史
Ruby: with_object method
Mysql Index Cardinality
Ruby hash merge 传递代码块的例子
Ruby 检查变量是否被定义
Ruby 时区转化
读书笔记:Ruby Time 格式转换
Ruby 边缘知识
读书笔记:Ruby Proc 中一些不常用的API
读书笔记:Ruby Array 操作
读书笔记:Ruby IO encoding
读书笔记:Ruby ASCII-8BIT encoding
读书笔记:Ruby程序员修炼之道-对象的个性化
Linux 中的文件类型
读书笔记:Ruby程序员修炼之道-文件和I/O操作
Gemfile 中 ~> 是什么含义
计算机字符编码
读书笔记:Ruby程序员修炼之道-正则表达式和基于正则表达式的字符串操作
读书笔记:Ruby程序员修炼之道-Enumerable
Rails: migration 文件的前缀数字是怎么生成的
在计算机中空白字符(whitespace character)有哪些?
Ruby-习题: str2hash
Ruby Numeric 有几种数据类型
Ruby: 关于 hash 的 key
Rails: arel 基本用法
Elasticsearch bulk API refresh 参数的作用
编程中的 'side effect' 是指的什么?
Ruby: immediate value and reference
项目拆解之 sidekiq
浏览器恢复滚动行为
Rails: ServiceObject
Ruby: 开启警告模式
Ruby: && 和 and 的优先级
curl 遇到重定向返回
mysql 中数据类型及其含义
abstract_class = true 是什么含义
Shadowsocks 设置 PAC
rails c 无法启动(LoadError: libreadline.7.dylib)
按照 ids 数组查询数据,结果按数组内顺序排序(仅限 MySQL)
Github 设置代理
Rails4 minitest after_commit 没有被触发
设置 MySQL 输出 Query Log
Ruby Hash.new(default) 默认值问题
Ruby: 为什么 += 可以改变 frozen string
恢复 git rebase 合并的 commit
AOP in Ruby
top 指令结果按指标排序
Redis 持久化的两种方法
Ruby: trap
rbenv rehash 起什么作用
Ruby: 卸载 mixin 的 Module
Ruby: Array+reduce vs map+compact
Ruby: next 传一个参数是干什么的
Rails Minitest: Mock controller method
Ruby: 怎么判断一个数组是另一个数组的子集
Ruby: module_function
PG: describe table
Rails migrate 不要使用 index: true
Rails 大百科
Execute rake db:rollback but nothing happened
查看 migrate 具体执行的 SQL
Rails create_table sql
Minitest assert_difference
Ruby ** 操作符展开 hash,hash key 必须是 symbol
Minitest request 指定 Content-Type 为 json
Rails 转化输入为 boolean 值
输入 source ~/.zshrc 后 shell 环境崩溃
安装 Vscode Command Line
Rails 查看 request 的 Content-Type
关于 boolean column 命名问题
优雅的Ruby读书笔记:使用内置的类型转换协议
从其他代码库 cherry-pick commit
Could not connect Lost connection to MySQL server at reading initial communic
探究 ActiveSupport test 方法
修复 Minitest ThreadError: already initialized
Mysql 查看 table index
Capture Group(捕获组)
Git: 合并多个commit
查看 Grape 路由
如何引入没有在Gemfile中申明的gem
Elasticsearch 设置 max result window
Elasticsearch 深度分页(deep pagination)
Mac上好用的录屏软件:licecap
修改上一个 commit 的作者
查看文件的编码(encoding)
转换文件的编码格式,从:ISO-8859-1 到:UTF-8
Git 不记录本地修改的几种方法
把终端输出结果存储到文件中
Elasticsearch 安装、基本用法、概念
Ruby: respond_to?
MySQL 基本用法
Rails Api: transaction_include_any_action?
在Ruby使用return来返回值是好的代码风格吗?
Github push Timeout
Rails: 遍历 DateTime/TimeWithZone
Rails: 对功能一致的Controller动态生成Action
SQL: 筛选栏位唯一值,并按另一栏位排序
Ruby: $1
Ruby: 方法接受 {} 和 do...end 的优先顺序
使用chrome打开本地HTML文件
正则:必须包含字母和数字
在Bash Function参数使用默认值
编程反思:JavaScript获取ruby判断值(true/false)
微信公众号模板消息:同行文字颜色不同
ssh config file
不要使用混合编程
Ubuntu16.04 下载web图片
修改 Ubuntu16.04 机器 ssh 访问端口
Markdown文件中添加注释
HTML中a标签如何实现post请求的
OPEN/CLOSED PRINCIPLE
Nginx 无法正常重启
Ruby: Closures
Postgres: Change User Password
rbenv install & config
Mac: Chrome Clean Cache Refresh
CGI: Escape & Unescape
Regex: Lookahead Assertion And Lookbehind Assertion
Rails: Method Improve Remove Array Blank Item
Leetcode Two Nums
Ruby: All? Method Caused BUG
Ruby: Memoization Patterns
Rails Postgres Order Case When
Aria2
Rails: Restrict with error or exception
Sql Patten
Reek: Control Couple
CSS: Boostrap 3 Modal Vertically Center
Ruby: Case Expressions Pro
Rails: get started
Docker: get started
wkhtmltopdf render word letters spacing issue
Ruby: Example for process and thread
Rails: Set env variable without use gem
Rails: Callback's others way
Ruby: Method source location
Ruby: Constant lookup
Ruby: load code
Ruby: Escape whitespace in the ruby array by %w
Translate: Ruby blocks procs lambdas
Ruby: the difference between clone and dup
ES6: Export
PG: psql commands
Ruby: thread safe
Assoicate Table Pg
Linux: File Permission
Linux: How To Delete All Files Except Last
Node: Use ES6 Import in Node
PG: Dump And Restore Table
PG: Psql Assign DB
PG: Drop DB Failed
Git: Syncing a fork
JS: window.open not blocked
Ruby: tap method
Ruby: Dynamically create local variable
ActiveRecord: execute sql
Rails: Deep merge
Rails: Get cookie stored in javascript in rails
Ruby: extend self
Ruby: alias alias_method
PG: Version Command
Rails: Concern use url helpers
Ruby: C extension
PG: String function position
Rails: Handle Validates Error Message
Ruby: File Structure
Ruby: Dynamic Add Method
Ruby: Set class
Javascript: Canvas To Image
Javascript: language syntax
Rails: Namespace Models
Linux: Nohup Command
Rails: Combine Two ActiveRecord::Relation Objects
Rails: English Word Singular And Plural Conversion
Ruby: p puts printf
PG: Array Functions - array_length
Rails: Pass Arguments To Rake Task
Git: cherry-pick Multiple Commits
Ruby: Block Arguments
Ubuntu VM Run Npm Script No Hang Up
Css: Two Divs On The Same Line
Ruby: String to Class And Class to String
Ruby: Sorting
Ruby: Random
Recreating Ruby method - flatten
How do I pass command line arguments to a Node.js program?
安装指定版本的npm包
Rails Use concern namespaces
ActiveRecord::Relation Methods
inject and each_with_object
Metaprogramming Ruby: class_eval and instance_eval
Removing elements form javascript arrays
Delete files with regular expression
Ruby documents
What is the scope of variables in JavaScript?
3 ways to define a JavaScript class
How to dynamically create a local variable?
冒泡排序
When to use constants instead of instance variables in Ruby?
Lunix wc command
Ruby inject
devise ajax email sign_in & sign_up
Class Module 进阶
git stash 用法(1)
Define callback method in a module
Nginx https multiple domains 301 redirect
is_a? & kind_of? & instance_of?
require and require_relative in ruby
SSL HTTPS Nginx config
Sidekiq Monit
Sidekiq Monit
文件日常操作
Shell的管理和快捷键
将常用复制指令定制成shell command
配置git diff的输出颜色
Vim编辑器代码高亮
Git 原理简单说明和常用指令说明
将远端数据restore本地数据库后,无法migrate问题
记录: resumehack task system
rails include
Devise:how to skip the confirmation for the new user
ruby datatimme convert unix timestamp
3月15 周记
different append method in the jQuery
jQuery element child
rails定时发件任务
jQuery remove detach
记录:devise set the column after submit(sign up)
记录:whenever cap deploy config
记录:rails whenever
记录:split string
记录:jQuery editable
记录:N+1 Query
记录:gem search_cop
记录:js秘籍(editable2)
记录:js秘籍(editable)
记录:包装js的方法
记录:多个content_tage的显示和nested content_tag
记录:多个content_tage的显示和nested content_tag
记录:form_tag submit not work without reflesh page
记录:jQuery监听页面
记录:jQuery小记
记录:jQuery小记
2.26周记
记录:ajax submit refresh div
记录:jQuery make div element positions reorder
记录:FAQ紧贴页边随页面移动(未完成)
记录:清空方括号功能出现的bug
记录:适配手机的jQuery
记录:通过相关连数据筛选(未作出功能)
记录:mySQL和PG数据库的bug
记录:js code
记录:ajax生成pdf跳转新的页面
记录:bootstrap Components
记录:反馈系统
记录:数据可视化工具
记录:复制HTML到下一个div
记录:click事件查看文本
记录:soreable模块拖移
记录:群发邮件
记录:用ajax向后端GET数据并且应用到前端
记录:后台显示当前浏览人数
记录:后台查询时间内创建的用户数量
记录:how to export pg database into cvs file
记录:jquery跳转指定标签
记录:jquery淡入淡出文字
记录:bootstrap modal
记录:用rails做qrcode_png
记录:用jQuery删除制定的text
记录:验证两个值是否输入一致
记录:2.10
记录:给邮件添加css
记录:网址保密用token代替id
命令:远端机器查看nginx和专案的log
记录:deploy青云出现的问题2
记录:不同角色修改简历后发送邮件
记录:设定错误为http 404
记录:devise confirmation/reset password send email and set config sendcloud
2/5周记
记录:实作delete ajax和一些bug
方法:genrate random code
错误:deploy 青云
方法:对搜索结果进行排序
方法:两个table已建立关系的话,如何利用一个table从数据库调出另一个table
知识点:jquery two
知识点:jquery two
知识点:try jquery
mailbox bug
mailbox
方法:站内通知notification实例做法
git
概念:proctead,private
方法:对于不同的用户注册或登录之后的跳转不同的页面
方法:cancancan demo的一些细节
方法: 给登陆者添加状态信息
回顾往期教材
1/1 新年周记
Rails: 使用不同的submit commit处理业务逻辑
知识点:polymorphic(多态路由辅助方法)
知识点:HTTP状态码
知识点:什么是DSL?
知识点:ActiveRecord
知识点:how rails redirect_to works
12/25 圣诞周记
问题:简历专案上传heroku时,css和js not loading
postgresql
方法:生成简历的进度条跳转方法
知识点:build and new , create , ! , save
使用Google Cloud搭建shadowsocks
Ruby: include, extend, load, require的使用方法
git 基本原题
HTTP Request和 HTTP Response
知识点:block, proc 和 lambda
使用RVM安装ruby 2.3.2
问题:实作rspec出现的错误(2)
方法:test清除数据库的方法
问题:安裝 Should Matchers测试model出现的错误。
问题:实作rspec出现的错误
知识点:git中的merge和rebase的区别
知识点:bundle exec
code school testing with spec(3)
code school testing with spec(4)
code school testing with spec(2)-1
code school testing with spec(2)
code school testing with spec(1)
valid rails console
方法:devise忘记密码
rspec on rails 101笔记
ORID: 16/12/14
问题:远端分支版本冲突
问题:show的id方面
12/9助教第一天
job-listing回顾
全栈训练营心得(繁体版)
全栈训练营心得
站内信
全栈训练营学习心得
第七周最好的概念
第七周最大的坑
第七周周记
day46
eatgether网站整体思路
day45
方法:eatgether用到的js(部分)
Rails:修改显示北京时区
day44 网站提速 seo
day43
day42
Ruby: map collect each的区别
知识点:nil? blank? empty? present?
问题:上传到heroku中storage :fog的bug
思路:后台添加约饭地点后,怎么调取数据。
方法:simple_form的select用法
第六周周记
第六周最好的概念
第六周最大的坑
mailboxer细节知识点
day39周五
第五周周记
第五周遇到最大的坑
第五周遇到最好的概念
debug记录 第五周星期六
Do not be proud to ecstasy
知识点:如何实现首页内容批量显示
day33
知识点:简化代码和date time datatime的区别
day32
知识点:配对方法
知识点:collection_check_box的使用说明
day31
ids的用法
day30
day30疑问 数据调用问题(已解决)
将shit一样的code写入model的方法
day29
知识点:lambda,block and Proc
第四周周记
第四周遇到的最好的概念
知识点:数据类型,路径问题。
第四周遇到的最大的坑
day26
day25
day24
Day 23
问题:root routes
MVC
Day 22
day21
第三周周记
第三周遇到的最大的坑
第三周遇到的最好的概念
day20
如果在heroku上管理密码
day19
方法:购物车练习作业详解
方法:token的使用方法
问题:if判断出现的问题
方法:Mac OS X中显示/不显示隐藏文件方法 命令行
day18
购物车计算总价
方法:how to make the cart in the rails and ruby
day17
day16
day15
第二周周记
day14 知识点小结
day14 debug(1)
day13
第二周遇到最好的概念和工具
第二周遇到最大的坑
day12
问题:rails入门 routes部分
day11
问题:rails102中的post的问题
day10
知识点:rails 语言中冒号的意思?(:)
day9
controller 内 render 的用法
scope 是什么?怎么用?
render :partial的用法
知识点:simple_format 和 simple_form_for
问题:某括号内的内容是什么意思?
day 8
day7
知识点:member和collection的不同
day 6 bug
第一周周记(10/17-10/21)
第一周遇到最大的坑
CSS自学
第一周学到最棒的概念
day 4
clone project出错的问题
day 3
day 3 bug
html自学
day 2
day 2 bug
day 1 kn
day 1
上传专案到 Heroku的一些细节
中级作业的bug
github设置电子签
ROR编程基础环境(整理)
初级作业-根据投票分数排序 topics
关于加个-的作法
编程基础英文词汇