Author: sasha


Facebook – Incorrect Error Message (with Meteor)

I guess this isn’t Meteor specific, but I’ve been staring sadly at the following error message for the past hour, toggling every check box and setting I could find, and typing in every domain I could think of: It turns out, the problem wasn’t my App Domains. What I actually needed was to specify the […]

Continue Reading

Meteor Testing – Link and MemoryRouter

I’ve been taking a course about Meteor and I’ve absolutely loved it. However, one thing that has completely thrown me off is how testing works. For example, I had no errors when using <Link> in my webapp, but when trying to mount a component for testing (Mocha / Chai / Enzyme), I received an error […]

Continue Reading

Unwanted reloads with PHP, Sqlite, and Webpack

Well specifically, I’ve been using create-react-app and I’ve been having unwanted page refreshes for the longest time. It was annoying but I ignored it until today, when I realized that it was really causing problem with testing the user experience using the dev server. It took me a while, but I realized that my sqlite […]

Continue Reading

React Router and Apache

I think this Stack Overflow article sums up the issue well, but I’m pretty surprised none of the React / React Router courses I’ve watched has covered this – or maybe they did and I missed it. Configure Apache to handle urls in React Router using this .htaccess file: RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] […]

Continue Reading

ffmpeg, nginx-rtmp, and exec

Not sure why, but every time I try to set up an nginx-rtmp server, I have the worst time trying to get ffmpeg to work. I found a few solutions that didn’t work for me because I was already using them: set “user root;” near the top of the file. include “env PATH;” and/or specify […]

Continue Reading

KnockoutJS and MomentJS

As usual, I spent too long debugging. MomentJS wasn’t accepting my fairly standard Date/Time of YYYY-MM-DD HH:mm:ss. I finally switched to a unix timestamp, and even that wasn’t working properly. I thought maybe I was passing a string and Moment might require a number, but parseInt also failed. I finally realized, by using typeof(mydate), that […]

Continue Reading

moving and backing up

Not that I don’t take backups seriously, but it seems I use plugin x here, plugin y there, maybe some “cloud backup” until I run out of room… but there’s backups somewhere, I promise! I decided to clean things up. Free monthly backup @ managewp.com I used UpdraftPlus for a while before I realized it […]

Continue Reading