Developer Cross Subdomain Authentication with FeathersJS Client FeathersJS v4 switched from storing the jwt token in a cookie to localStorage. This was fine when the app stayed on one domain, but when splitting things out into several apps on different subdomains I realised unlike cookies localStorage does not play nicely. I
code Create React App Fix for Webpack Symlinks Without Ejecting When restructuring my project and moving it to use Create React App I've ended up with an odd error for my shared jsx components (I've split the project into two separate apps but some of the styling and UI components will be the same
Developer FeathersJS Sequelize Soft Delete It might have been the late hour but spent over 1.5h chasing this the other day... and getting tangled up in config and softdelete2 feathers-plus hooks. Turns out to setup soft deletes in FeathersJS using feathers-sequelize you only need the Sequelize built in
fix SSH Broken Pipe When Running in VMWare Workstation Another note to self post... since this bit me more than once. ssh USER@SERVER ... packet_write_wait: Connection to IP_ADDRESS port 22: Broken pipe Most of the answers point to the ServerAliveInterval or ClientAliveInterval but if you are running the command from
Developer Git Gui Startup Error on Fedora Recently started getting the following error when trying to run git gui. Googling the issue didn't seem to help much. Error in startup script: bad pad value "2m": must be positive screen distance while executing "grid $w.bitmap $w.msg -in
code Example of Sequelize Associations in FeathersJS I've been playing around with FeathersJS and one thing that has been hard to find is a concrete example of setting up Sequelize with related tables. Here's an example of
wordpress Easy Way to Migrate Wordpress Sites Between Servers As part of cleanup and cost-cutting I had to recently moved my WordPress installations from one server to another. To make matters a bit more complicated the new server was
Developer How to Remember Tar Parameters I've got the extraction options for tgz files pretty well ingrained in my brain, but whenever I had to create an archive I always had to go back to the
Mother 2017 - New Year Resolutions Well hello there... akward caugh Right, this blogging thing hasn't really been going well for quite a while. But it seems to be something I keep coming back to. A
work Never Say Never Sometimes you have to take one step back to take two forward. Or in other words, never say never. Or to put it in simple terms – I’ve gone perm
Designer Mantis theme mock-up At my new job we use MantisBT for our bug tracking and project management. Unfortunately despite good functionality the visual side is desperately lacking some love and attention. Tired of looking at the barely styled web app I decided to spruce it up a
sql Week of the Month in Mysql SELECT WEEK(my_date_field,5) - WEEK(DATE_SUB(my_date_field, INTERVAL DAYOFMONTH(my_date_field)-1 DAY),5)+1 Recently I needed to get the number of
project management How To Use the Strong Ownership List Some time ago I wrote about the idea of the Strong Ownership List approach. A recent comment on that post has made me realize that for the idea to be better understood and easier to apply I probably should describe the process it involves
php How to use special characters in FPDF FPDF is a nice little library for php that allows you to create PDFs on the fly. It’s great for all sorts of document, among them invoices. Until you