peterbe.com
Peterbe.com - Stuff in Peter's head
https://www.peterbe.com/oc-Web+development
A blog and website by Peter Bengtsson. Currently only showing blog entries under the category: Web development. Django-html-validator - now locally, fast! A couple of years ago I released a project called django-html-validator. And it's basically a Django library that takes the HTML generated inside Django and sends it in for HTML validation. The first option is to send the HTML payload, over HTTPS, to https:/ validator.nu/. The other alternative was to download a. Java -jar vnu.jar /tmp/file.html. As we...
peterbe.com
Peterbe.com - Stuff in Peter's head
https://www.peterbe.com/oc-Python
A blog and website by Peter Bengtsson. Currently only showing blog entries under the category: Python. Hashin 0.7.0 and multiple packages. My colleague Andrew Halberstadt. Stepped up with a great contribution on hashin. Now you can install multiple packages in one sweep. Like this:. Hashin requests Django premailer mincss. And if you need to specify a different requirements file than the default (. Or a different algorithm than the default (. You can do that like this:. Hashin somepackage dev/reqs.txt.
peterbe.com
About this site - Peterbe.com
https://www.peterbe.com/about
My name is Peter Bengtsson. And I'm a web developer. This site is my notice board for things that go on in my head. I currently work for Mozilla. From home in South Carolina. There I work on the Tools and Services. Team which involves working on various tools that help the development of Firefox and my other Mozilla projects. Virtually all of my work is Open Source and available on my GitHub account. Including this site itself. The front-end is written in ReactJS. To handle the WebSockets. You enter the ...
peterbe.com
Peterbe.com - Stuff in Peter's head
https://www.peterbe.com/oc-AngularJS
A blog and website by Peter Bengtsson. Currently only showing blog entries under the category: AngularJS. LocalStorage is not async, but its FAST! 7 comments Web development. A long time I go I wrote an angular app. Once ALL records are loaded with AJAX from the server, you can filter the whole set and paginate etc. It feels really nice and snappy. However, the app is slightly smarter than that. It has two cool additional features. And if there's stuff, it updates. Note, I didn't write. Suppose we have b...