| Valor apostado | Resultado | Probabilidade | Valor ganho/perdido líquido |
|---|---|---|---|
| 1 | ganhou | 1/36 | 4 (5 - 1) |
| 1 | perdeu | 35/36 | -1 |
I hereby claim:
- I am hugobarauna on github.
- I am hugobarauna (https://keybase.io/hugobarauna) on keybase.
- I have a public key ASA4xsKWRBSCGT6LH4iZCvyFFIkeaGX5FQNVZ7AudxK5Dgo
To claim this, I am signing this object:
A Pen by Hugo Baraúna on CodePen.
This file contains hidden or 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
| # features/step_definitions/search_steps.rb | |
| When /^I search for "([^"]*)"$/ do |search_term| | |
| search_catalogue_with search_term, :using_direct_model_access | |
| end | |
| # features/support/search_support.rb | |
| module SearchSupport | |
| class SearchAutomator |
This file contains hidden or 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
| /** | |
| * seta com animacao | |
| */ | |
| span { | |
| animation: bounce 0.7s infinite ease; | |
| position: relative; | |
| font-size: 3em; | |
| } |
This file contains hidden or 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></div> |
This file contains hidden or 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
| /** | |
| * Stacking context example - broken stacked menus | |
| */ | |
| div { font: 12px Arial; } | |
| span.bold { font-weight: bold; } | |
| div.lev1 { | |
| width: 250px; |
This file contains hidden or 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
| /** | |
| * Simple example os stacking context | |
| */ | |
| * { | |
| margin: 0; | |
| } | |
| html { | |
| padding: 20px; | |
| font: 12px/20px Arial, sans-serif; |
This file contains hidden or 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
| 2012-08-01T14:39:08+00:00 app[web.1]: [Wed Aug 01 2012 14:39:08 GMT+0000 (UTC)] ERROR Unable to load /app/node_modules/hubot-scripts/src/scripts/dilbert: Error: Cannot find module 'htmlparser' | |
| 2012-08-01T14:39:08+00:00 app[web.1]: Error: Cannot find module 'htmlparser' | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Function._resolveFilename (module.js:337:11) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Function._load (module.js:279:25) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Module.require (module.js:359:17) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at require (module.js:375:17) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/hubot-scripts/src/scripts/dilbert.coffee:4:16) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/hubot-scripts/src/scripts/dilbert.coffee:35:4) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Module._compile (module.js:446:26) | |
| 2012-08-01T14:39:08+00:00 app[web.1]: at Object..coffee (/app/node_modules/hubot/node_modu |
This file contains hidden or 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
| If you're using Vagrant, you're probably using VirtualBox shared folders feature in order to access your files from inside the VM. The problem is, virtual box shared folders can get preeeety slow. But, the awesome vagrant guys already dealed with that: http://vagrantup.com/docs/nfs.html. The solution is to use NFS. | |
| Here's my "bechmark" comparing using shared folder, native VM filesystem and NFS. | |
| # Host machine: MacBook Pro, 8GB RAM | |
| # Guest Machine: Ubuntu 10.04 LTS, 750MB RAM | |
| # Putting the Rails app files in the Mac, using VirtuaBox shared folders, |