This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notes from POODR, compiled by @qnm | |
* Part of the difficulty of design is that every problem has two components. You must not only write code for the feature you plan to deliver today, you must also create code that is amenable to being changed later. For any period of time that extends past initial delivery of the beta, the cost of change will eventually eclipse the original cost of the application. | |
* Your job is one of synthesis; you must combine an overall understanding of your application’s requirements with knowledge of the costs and benefits of design alternatives and then devise an arrangement of code that is cost effective in the present and will continue to be so in the future. | |
* Designs that anticipate specific future requirements almost always end badly. Practical design does not anticipate what will happen to your application, it merely accepts that something will and that, in the present, you cannot know what. | |
* The break-even point for design depends on the programmer. Inexperienced programme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A few year ago, a team that sells products to large media companies invited me to help them as a consultant because they were concerned that their engineers were not working hard enough. However, the fault was not in the engineers; it was in the process the whole company was using to make decisions. They had customers but did not know them very well. They were deluged with feature requests from customers, the internal sales team, and the business leadership. Every new insight became an emergency that had to be addressed immediately. As a result, long-term projects were hampered by constant interruptions. Even worse, the team had no clear sense of whether any of the changes they were making mattered to customers. Despite the constant tuning and tweaking, the business results were consistently mediocre. | |
-- Eric Ries, Lean Straup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define alpha alpha4 | |
Name: keepassx | |
Version: 2.0 | |
Release: 0.%{alpha}%{?dist} | |
Summary: Cross-platform password manager | |
Group: User Interface/Desktops | |
License: GPLv2+ | |
URL: http://keepassx.sourceforge.net | |
Source0: https://github.com/keepassx/keepassx/archive/%{version}-%{alpha}.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"disclaimer": "See our important disclosures", | |
"disclaimer_url": "http://www.ratecity.com.au/disclaimer", | |
"title": "Low Interest Credit Cards", | |
"fields": { | |
"best_rate_percentage": "Rate %" | |
}, | |
"results": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spork.each_run do | |
# This code will be run each time you run your specs. | |
RSpec.configure do |config| | |
config.before(:each, type: :controller) { @routes = RedBook::Engine.routes } | |
config.before(:each, type: :routing) { @routes = RedBook::Engine.routes } | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle config build.libv8 --with-system-v8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<param value="FlashVars" name="utm_source=omg&utm_campign=homepage" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="my-table"></div> | |
<script type="text/javascript"> | |
function ratecityConfig() { | |
// product request configuration | |
var config ={ | |
vertical: 'credit-cards', | |
stylesheet: "//www.ratecity.com.au/assets/widget.css", | |
container: 'my-table', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -rwebrick -e'WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd).start' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------- Forwarded message ---------- | |
From: Guy Incognito <withheld@gmail.com> | |
To: undisclosed-recipients:; | |
Date: Mon, 7 Feb 2011 22:36:28 +0100 | |
Subject: Urgent | |
Hi, | |
Apologies for having to reach out to you like this, but I made a | |
quick trip, to London,United Kingdom and had my bag | |
stolen from me with my passport and credit cards in it. The embassy | |
is willing to help by authorizing me to fly without my passport, I |