by chadscira on 11/28/16, 9:10 PM with 5 comments
by orf on 11/28/16, 11:23 PM
> echo "data:$(file -b --mime-type somefile);base64,$(base64 somefile)"
by chadscira on 11/28/16, 11:02 PM
I find myself often needing a quick way to generate a Data URI when playing with files on jsfiddle, or codepen (due to CORS). So I thought it would be nice to have a website that locally stores those files.
This was thrown together in a couple of hours (using react/mobx), and inspired by [0] "The XSS Game By Google post". It turned out that quite a few people didn't know that you could use URI's for things that were not images.
If you have any suggestions feel free to voice them :)