- 浏览: 187319 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (83)
- J2EE/Core Java (24)
- J2EE/Portal (2)
- J2EE/UI (4)
- J2EE/ATG (1)
- J2EE/Report (1)
- J2EE/Web Service/Rest API (2)
- Design Pattern (2)
- Arithmetic (4)
- Linux (12)
- Ruby&Rails (17)
- Database (5)
- J2EE/Payment (1)
- J2EE/JVM (1)
- Encryption/Decryption (3)
- J2EE/Multi Threading (4)
- SQL (1)
- https://community.teamviewer.com/t5/Knowledge-Base/Where-can-I-download-older-TeamViewer-versions-nbsp/ta-p/7729 (0)
最新评论
test_event.rb
main.rb
event "an event that always happens" do 110 > @target_sales end setup do puts "Setting up sky" @target_sales = 100 end
main.rb
proc { events={} setups=[] send :define_method, :event do |name, &block| events[name] = block end send :define_method, :setup do |&block| setups << block end send :define_method, :each_event do |&block| events.each_pair do | name, event | block.call name, event end end send :define_method, :each_setup do |&block| setups.each do | setup| block.call setup end end }.call Dir.glob('*events.rb').each do |file| # @events={} # @setups=[] puts file load file each_event do |name, event| env = Object.new each_setup do |setup| env.instance_eval &setup end puts "ALERT #{name}" if env.instance_eval &event end end
发表评论
-
Eigenclass in Ruby
2016-08-02 17:50 477obj = Object.new def obj.sin ... -
Ruby Version of C# using keyword
2016-08-02 11:51 432class Resource1 def disp ... -
Rails4 集成测试微信公众号API
2016-01-17 20:34 1060这是一个简单集成微信api的的例子,使用这个Gem:https ... -
localtunnelling绑定本地Web应用到公网地址
2016-01-17 20:14 530引用Localtunnel will assign you a ... -
WordPress 风格开源博客 (响应式布局)
2015-08-09 23:42 648Rails4个人开源小博客 介绍: https://ruby ... -
Rails实现markdown和代码高亮
2015-08-07 11:47 735安装GEM Markdown是时下很流行的一种标记语言。 ... -
TextMate常见快捷键
2015-08-07 11:42 2260cmd + option + L 显示行号 cmd ... -
Rails插件twitter-bootstrap-rails
2015-08-07 11:40 537github完整项目 https://github.com/ ... -
Heroku个人博客
2015-02-10 12:04 6http://wilsoncai.herokuapp.com/ ... -
Rails 4 Quick Start
2014-12-13 10:47 0set rails gem proxy from Taobao ... -
Ruby1.8.7 安装和使用selenium
2013-06-21 17:54 1055引用Selenium可以用来模拟浏览器页面点击,可以用来做页面 ... -
Rails2.2.2之国际化
2013-01-27 23:52 8451. 新建国际化配置文件config\initializers ... -
Rails2.2.2之文件上传下载
2013-01-27 23:42 7431. 创建一个保存文件的表,然后rake db:migrate ... -
Rails2.2.2之发送邮件
2013-01-27 23:32 7191. config\environment.rb中添加smtp ... -
Rails2.2.2之will_paginate分页
2013-01-27 23:04 1174引用分页是web开发中常见的问题,基本解决思路是每次查询当页的 ... -
Ruby 代码块
2013-01-14 18:27 792引用Ruby代码块可以通过yield方法传递给被调用的方法 1 ... -
Ruby发送邮件(163邮箱)
2011-10-25 17:27 7068Ruby1.8.6发送163邮件到gmail require ... -
Rails2.2.2之windows环境搭建
2010-07-20 15:46 3707引用如果gem速度慢 使用代理安装rails 引用gem in ...
相关推荐
This Head First guide teaches you the Ruby language in a concrete way that gets your neurons zapping and helps you become a Ruby genius. You'll enter at Ruby's language basics and work through ...
Tired of reading HTML books that only make sense after you're an expert? Then it's about time you picked up 'Head First HTML with CSS & XHTML' and really learned ... You also want to do it right so you ...
Head First Ruby 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
First Contact With TensorFlow
The Head First series designations, Head First Ruby, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their ...
With Head First HTML with CSS & XHTML, you’ll avoid the embarrassment of thinking web-safe colors still matter, and the foolishness of slipping a font tag into your pages. Best of all, you’ll learn ...
Data Science from Scratch First Principles with Python 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自...
Process Control A First Course with MATLAB a statistics and engineering discipline that deals with architectures, mechanisms and algorithms for maintaining the output of a specific process within a ...
Matlab - Chemical Process Control a first Course with MATLAB
Data Science from Scratch- First Principles with Python Data scientist has been called “the sexiest job of the 21st century,” presumably by someone who has never visited a fire station. ...
配合之前上传的《Head First HTML with CSS & XHTML》进行学习。 可能有点章节代码不对应,仔细区分一下就能找到。
Joel Grus ■■ Get a crash course in Python ■■ Learn the basics of linear algebra, statistics, and probability— and understand how and when they're used in data science ■■ Collect, explore, clean...
博文链接:https://jsifa.iteye.com/blog/206430
EF实体框架有3种类型,Data First、Model First、Code First。Code First是最简单用的最多的一种
这是一本很好的英文书,对于刚学习使用html和css的人很有帮助,该书的写法很特别,让人一看就懂