Aggregate Forecasting and Stock Management in The Cloud — Product Launch!

Super excited to have launched Parity last week, after many months of hard work. Please check it out at: parityprocure.com. Parity is a cloud based procurement forecasting and stock management tool that simplifies and streamlines the product procurement lifecycle. If you are involved in product sourcing, demand forecasting, aggregate forecasting, procurement or stock management, give …

Aggregate Forecasting and Stock Management in The Cloud — Product Launch! Read More »

Handling GET remote forms with Turbolinks in Rails 6

In response to this problem with Turbolinks. import Turbolinks from ‘turbolinks’; document.addEventListener(‘turbolinks:load’, function(event) { for (let form of document.querySelectorAll(‘form[method=get][remote=true]’)) { form.addEventListener(‘ajax:beforeSend’, function (event) { const detail = event.detail, xhr = detail[0], options = detail[1]; Turbolinks.visit(options.url); event.preventDefault(); }); } });

Quickly pushing your public SSH key to a server

I find myself needing to do this on a regular basis, so here’s a handy snippet for adding your public SSH key to a server’s authorized_keys file, assuming your public key is at “~/.ssh/id_rsa.pub” (the default). ssh user@host “echo ‘`cat ~/.ssh/id_rsa.pub`’ >> ~/.ssh/authorized_keys” …or pop this in your ~/.profile file: function push-key { ssh $1 …

Quickly pushing your public SSH key to a server Read More »

Embracing perfectionism as a long term goal

I’ve suffered for a long time with a condition known as perfectionism. It’s a debilitating disorder that hampers productivity through a constant pursuit of idealism. There are many problems that come with being a perfectionist. Firstly, there is the aforementioned productivity impairment. But also, it’s hard to be happy with anything you produce or anything …

Embracing perfectionism as a long term goal Read More »