连击 天
fork: star:
说起Ruby的性能,无论从官方到社区,都公认是劣于其它的框架的.那么问题来了,当Ruby为主的系统需要很高的性能的时候,要如何去处理呢?
很多的linux版本最高版本就是 8.10.x,apt就不再更新了,最近更新rails,造成了 01 Autoprefixer doesn’t support Node v8.10.0. Update it. 的报错,有一些npm包已经不支持老版本的nodejs了...
常见算法安全 概述 本文讨论现下常见算法的安全问题 范围 种类包括 对称加密/非对称加密/摘要/编码 标准包括 国际标准和国家标准 算法种类 对称算法(分组密码算法):AES/DES/SM4 非对称算法...
一直用 mac 装 docker,但一直被 docker 的不知名原因高 cpu 占用搞得很无语,正好学习hacking,有用 VirtualBox 装 Kali,就顺便装了个 centos+docker VirtualBox VirtualBox 主页 https://www....
三元表达表 a = b if true else c 字符拼接 "echo \" {} \" | nc {} {}".format("info", ip, port)
安装 一键安装,包括分步安装 和环境设置,并且安装2.6.6 curl -sSL https://git.io/v78Uu | bash 分步手动安装 sudo apt install -y libreadline-dev libssl-dev zlib1g-dev libjemalloc-dev ...
突然遇到挑战,可能面临结束一个旅程的决择 回忆想一下10多年的工作经历,以为忆念 这大概人生1/3的工作生活,是个有点犯傻的经历 毕业时找工作,其实是很容易的,一个 DVD 工厂只看学历,就要打包...
<p> Download: <%= link_to "CSV", products_path(format: "csv") %> | <%= link_to "Excel", products_path(format: "xls") %> </p> 参考: http://railscasts.com/episodes/362-expo...
.bash_profile export CLICOLOR=1 export LSCOLORS=gxfxaxdxcxegedabagacad . ~/.bash_profile done show ruby version and git branch parse_git_branch() { git branch 2> /dev/null | s...
worker_processes 1; events { worker_connections 1024; } http { passenger_root /home/weizhao/.rvm/gems/ruby-1.8.7-p358/gems/passenger-3.0.11; passenger_ruby /home/wei...
很好用的工具,给出了很好的开发模式 安装: git clone git://github.com/nvie/gitflow.git cd gitflow git submodule init git submodule update sudo make install 简单使用: git flow init...
最近工作不是很开心,虽然现在不做质量了 但有的时候又深感 质量的重要 ,不过老板不会觉得那玩意儿重要. 其实质量如牙痛,牙痛不是病,疼起来真要命 但痛过之后,又没有人想去再治了 不痛的时候,...
环境1.9.3 3.2.3, 3.0以下的rails好像不支持 1. Guardfile group :test do gem 'guard' gem 'guard-rspec' gem 'guard-cucumber' gem 'guard-livereload' gem 'rspec-rails' g...
1.使用 block,only和except class Journal < ActionController::Base # Require authentication for edit and delete. before_filter :authorize, :only => [:edit, :delete] # Pass...
应该加的都加了: <%= stylesheet_link_tag 'bootstrap' %> <%= stylesheet_link_tag 'bootstrap-responsive' %> <%= stylesheet_link_tag 'newadmin' %> <%= stylesheet_lin...
要维护老版本的rails,添加jquery ui 的时候,images放在sytlesheets下是找不到的,所以把文件放到public/images下,然后在jquery ui.js里把 images/ 替换成 ../images/ fix,不再报找不到这些资源...
def will_paginate_with_bootstrap(collection = nil, options = {}) options[:renderer] = BootstrapLinkRenderer options[:container] = false will_paginate(collection,opti...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复