Creating a BOSH from scratch on AWS April 16th, 2012 , posted in BOSH , Tutorial , ∞ , No comments A lot of devops projects revolve around managing instances/VMs once they already exist. For example, Chef and Puppet do configuration management of instances once the instances have been...
"Peter does all the hard work of keeping up with the ruby world outside of my twitter feed and emails me a nice summary every week. Means I can be lazy and not do it myself. #Winning" Caius Durling Pizza Powered "Ruby Weekly keeps you up-to-date on the latest Ruby news with links to h...
April 16, 2012 Tagged: ruby time Comments (View) Time.now is on my side I needed an open? method. First try: def open? opens_at <= Time.now < closes_at end However, Ruby doesn’t support that kind of expression. Second try: def open? (opens_at <= Time.now) && (Time.now < closes_at) end...
rails-footnotes 3.7.7 has been released Posted by romanvbabenko on April 16, 2012 — 0 comments I just realised rails-footnotes-3.7.7 QueriesNote total time calculation has been fixed Code structure has been refactored warnings has been eliminated Comments Post a Comment Comment ab...
Grouping validations Posted by lucapette on April 16, 2012 — 0 comments I just published a new post about grouping validations . Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalati...
Using Backbone Views With Rails jQuery-ujs Posted by bcardarella on April 16, 2012 — 0 comments No Ruby code but useful for Rails applications Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solv...
Monday, April 16, 2012 at 4:55AM Another busy week looms. Let's start with a few links. Visual Studio 11 Express for Web for Front End Development - JavaScript/HTML5/CSS3 - Every once in a while I miss IntelliSense. Not enough to use a Microsoft product, though. Firebug 1.10a7 - If yo...
drbrain | Thu, 17 Aug 2006 16:47:00 GMT Posted in Ruby You may have noticed me using both $stdout and STDOUT in my last post and been puzzled by how I could use both. When Ruby starts up the process’ standard output file descriptor is stored in both the constant STDOUT and the global ...
Если вы провели оптимизацию кода приложения и хотите проверить как это отразилось на производительности, то сервис Blitz позволит вам симулировать требуемый поток запросов от клиентов. Blitz не только генерирует запросы, но и собирает статистику, которую вы потом получаете в виде граф...
A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part...
なお、非 ASCII な文字を含むリテラルを magic comment なしに書いていた場合、US-ASCII ではない文字が存在しているとして、invalid multibyte char というエラーになります。これはソースコードの可搬性を確保するための処置です。スクリプトの作者は自分の書いたスクリプトがどのエンコーディングで記述されているかを知っています。しかし、そのスクリプトを入手した第三者が後からエンコーディングを知ることは簡単ではありません。日本語ならば NKF.guess 等でエンコーディングを推測することも不可能ではありませんが、ヨーロッパ系のエ...
« Blindschleichen, Pazifische und Gürkinen April 2005 Papa Razi und Soldaten » 24apr2005 · Dynamic Variables in Ruby Many Lisps provide dynamically scoped or special variables additionally to lexically scoped ones. Some (for example Elisp or ye olde MacLisp) even soley provide dynamic...
Introducing Rails One Click for Mac os X (I need your help!) Posted by oscardb on April 15, 2012 — 2 comments Rails One Click is a/will be a simple installer for Ruby and Rails. It is targeted at beginners who have little/no programming experience and want to try Rails. Rails one Clic...
rails-canhaz 0.1.1 A simple gem for managing permissions between rails models install gem install rails-canhaz Download Documentation Subscribe Stats Authors Adrien Siami (Intrepidd) 65 total downloads 5 for this version Owners Links Homepage Bundler gem "rails-canhaz", "~> 0.1.1" Ver...
drbrain | Wed, 16 Aug 2006 18:58:00 GMT Posted in Hacking , Ruby cdfh on #ruby-lang asked how to redirect $stdout per-thread and I came up with this solution, redirect via a thread-local variable: ## # Allows $stdout to be set via Thread.current[:stdout] per thread. module ThreadOut #...
#339 Chef Solo Basics Apr 06, 2012 | 17 minutes | Production , Deployment , Tools Chef is a provisioning tool which allows you to spin up production servers automatically. Here I show how to get started with Chef Solo and create a custom cookbook. Subscribe to Watch Episode Tweet Show...
#54 Debugging Ruby (revised) Apr 07, 2012 | 7 minutes | Debugging , Tools This episode will show you how to debug a rails app using the "debugger" gem: set a breakpoint, inspect variables and change the executed code at runtime. Subscribe to Watch Episode Tweet Show Notes ASCIIcast 14...
showed how to generate PDFs with the PDF::Writer gem. That is still a good way to generate PDF files, but there is now a much newer gem called Prawn available and all the cool kids are using that. Prawn is a very fast Ruby PDF generator that is installed as as gem, but it isn’t specif...
A simple framework for writing and generating beautiful documentation for your code