Skip to content

Instantly share code, notes, and snippets.

View pjanik's full-sized avatar

Piotr Janik pjanik

  • Kraków, Poland
View GitHub Profile
@pjanik
pjanik / README.md
Last active December 14, 2015 23:59
SVG (D3, requestAnimationFrame)
@pjanik
pjanik / README.md
Last active December 14, 2015 23:59
Canvas (KineticJS) + Shape Caching
@pjanik
pjanik / index.html
Last active December 14, 2015 23:59
<!DOCTYPE html>
<meta charset="utf-8">
<style>
canvas {
border: 1px dashed gray;
}
p {
margin: 0;
}
</style>
>> Using rack adapter
/home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-linecache-1.1.2/lib/tracelines19.rb:3:in `require': cannot load such file -- trace_nums (LoadError)
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-linecache-1.1.2/lib/tracelines19.rb:3:in `<top (required)>'
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-linecache-1.1.2/lib/linecache19.rb:65:in `require'
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-linecache-1.1.2/lib/linecache19.rb:65:in `<top (required)>'
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-1.3.1/lib/ruby-debug-base.rb:2:in `require'
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-1.3.1/lib/ruby-debug-base.rb:2:in `<top (required)>'
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-1.3.1/lib/ruby-debug.rb:5:in `require'
from /home/piotr/.rvm/gems/ruby-1.9.3-p385@lab-server/gems/debugger-1.3.1/lib/ruby-debug.rb:5:in `<top (required)>'
Ubuntu 12.10
java version "1.6.0_38"
Java(TM) SE Runtime Environment (build 1.6.0_38-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode)
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.8.0
/home/piotr/Concord/lab/script/aws-lab-server.rb:50:in `rescue in initialize': (RuntimeError)
*** Missing required arguments: aws_access_key_id, aws_secret_access_key
*** Create the file ~/.fog with your Amazon Web Services API Access Keys
file: ~/.fog
:default:
:aws_access_key_id: YOUR_AWS_ACCESS_KEY
:aws_secret_access_key: YOUR_AWS_SECRET_ACCESS_KEY