News for hackers. Stuff that matters.

fraserxv

Re:Generate PDF from URL or HTML with Electron on Thursday August 20, 2015 @01:04AM (#10090097)
What is the use case to delay the rendering? It's surely possible but you can do that in your own code no?
Re:Generate PDF from URL or HTML with Electron on Thursday August 20, 2015 @01:03AM (#10090094)
Actually I have lots of issue with wkhtmltopdf.org, it does not really support well for encoding text like Myanmar language(haven't test it yet). Plus 'the browser' is the best(not even one of) tool to render HTML properly, that's what I've been loving it so far.
Re:An Attempt To Use Browserify on Wednesday November 13, 2013 @11:00AM (#6726023)
@hellopat In case you want know more about using browerify for client side development, do check this: http://dontkry.com/posts/code/using-npm-on-the-client-side.h... http://dontkry.com/posts/code/browserify-and-the-universal-m...
Re:An Attempt To Use Browserify on Wednesday November 13, 2013 @10:54AM (#6725968)
Hmm. I got the same issue while trying to use certain libraries. Not all of them is suitable for using in the client side. I changed some of the code and using the `module.exports` method to export it for browserify to use. Luckily most of the code is exposing an object already, so may not that hard to change it. The best approach may wrapper it and send the author of the lib a pull request. You may also check the video here. http://www.youtube.com/watch?v=YabwsSq6ASQ
Re:An Attempt To Use Browserify on Wednesday November 13, 2013 @10:48AM (#6725927)
Yeap. Check out the code here. https://github.com/fraserxu/gifme There's an awesome library to do this. It's basically capture serval frames and use a algorithem to generate it.
Re:Github For Everything on Wednesday September 18, 2013 @11:04AM (#6405690)
Like this way of getting things done. Geeky! I may translate the post into Chinese later.