I hereby claim:
- I am gatix on github.
- I am gatix (https://keybase.io/gatix) on keybase.
- I have a public key ASDdgtAwsCRalT3lTz4g3uCZqhJ2uK2xyrnuo5_eam0W-wo
To claim this, I am signing this object:
{ | |
"header": { | |
"Name": "MDErgo1", | |
"Layout": "Default", | |
"Base": "Blank", | |
"Version": "0.1", | |
"Author": "HaaTa (Jacob Alexander) 2015", | |
"KLL": "0.3c", | |
"Date": "2015-09-12", | |
"Generator": "KIICONF 0.2" |
I hereby claim:
To claim this, I am signing this object:
def inline_svg(path) | |
real_path = path | |
real_path = File.join(images_dir, real_path) unless real_path.start_with?('/') | |
full_path = File.join(source_dir, real_path) | |
file = File.open(full_path, "rb") | |
file.read | |
end |
// requires that the browser have <canvas> element support. | |
var imageCrop = function(source, x, y, width, height) { | |
var cvs = document.createElement('canvas'); | |
var ctx = cvs.getContext('2d'); | |
cvs.width = width; | |
cvs.height = height; | |