Skip to content

Instantly share code, notes, and snippets.

View suhrawardi's full-sized avatar

Jarra Schirris suhrawardi

View GitHub Profile
@suhrawardi
suhrawardi / 2018.md
Last active February 5, 2018 20:24
Why I'm worried that we face another financial crisis in 2018

Why I'm worried that we face another financial crisis in 2018

A programmers take on the current financial situation

What's happening

We've seen the past few week a nosedive of the Bitcoin price. On 16 Dec 2017 the Bitcoin price raised an all time high of €16,727.68. In the past 50 days, it plummeted down to a €5,681.98 as of the time of writing, Monday the 5th of Feb 2018.

Keybase proof

I hereby claim:

  • I am suhrawardi on github.
  • I am suhrawardi (https://keybase.io/suhrawardi) on keybase.
  • I have a public key ASDvosaWUDKcEV6IVxOJ2Ah1zCU0ZGGYfQs9b_ONnob_4Qo

To claim this, I am signing this object:

$: << File.expand_path(File.dirname(__FILE__) + "/../support")
#$DEBUG = true
$ROOT_PATH = File.expand_path(File.dirname(__FILE__))
require 'capybara'
require 'capybara/cucumber'
require 'spec'
# This is an example of how you can set up screenshots for your
# browser testing. Just run cucumber with --format html --out report.html
#
module Screenshots
def embed_screenshot(id)
%x(scrot #{$ROOT_PATH}/images/#{id}.png)
end
end
World(Screenshots)
running features in firefox
rm: cannot remove `images/*.png': No such file or directory
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- capybara
Exception `NameError' at /var/lib/gems/1.8/gems/rspec-1.3.0/lib/spec/dsl/main.rb:30 - uninitialized constant Spec::DSL::Main::IRB
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- Win32API
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:38 - no such file to load -- Win32API
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- yajl/json_gem
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:38 - no such file to load -- yajl/json_gem
Exception `LoadError' at /usr/lib/ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- json/ext/parser
Using c extension for JSON.