vue-cli externalizes the Vue dependency Using dynamic imports Vue.config.ignoredElements Dynamically reference web component in Vue.js template Handling web component events Still to do Resources
Author Archives: Marcus Christie
COVID-19 Positivity Rate in Indiana Counties visualized with Leaflet.js
Estimation – The Art of Project Management
Book Review: Third-Party JavaScript
Integrating vue-cli with Django
How to create a VirtualBox VM with a static IP and internet access
Introduction Recently I’ve been working on installing Apache Airavata in a VirtualBox VM running on my laptop using our “standalone” Ansible installation settings. The goal is to have a locally running instance of Airavata that I can connect to when developing the Airavata Django Portal which I’ve been working on. That means I need Django …
Continue reading “How to create a VirtualBox VM with a static IP and internet access”
Dynamically including Django apps using entry points
For the Airavata Django Portal project I’ve been looking at how third-party contributors could contribute Django apps that would integrate nicely with the portal. This is not something that Django has built-in support for, as can be seen in Django ticket #29554, but people have come up with workarounds. The most compelling workaround I found …
Continue reading “Dynamically including Django apps using entry points”
Speeding up SSH by Reusing Connections
From https://puppet.com/blog/speed-up-ssh-by-reusing-connections: One way to enable this feature is to add the following to your ~/.ssh/config: In a quick test with a particular host running ssh user@host whoami takes about 0.8s without that setting and takes about 0.1s with the setting above. Really speeds up bash-completion with scp.
Ajax file upload with fetch and FormData
Uploading files using an Ajax request is easier than ever with a couple of fairly recent additional web APIs, fetch and FormData. I’ll show how to combine these two APIs to upload files using an Ajax request. If you’re like me you probably have heard of fetch. It is basically a nicer API for creating …
For Contributors: Managing a fork and keeping it up to date
Let’s say you have forked a repository on GitHub and you’ve started working on a feature or a bug fix that you plan on contributing as a pull request at some point. One issue you’ll run into eventually is how to keep your fork up to date with the upstream repository. Here are some instructions …
Continue reading “For Contributors: Managing a fork and keeping it up to date”