Wednesday, May 30, 2018

fullpage screenshots

For doing print layout in a webpage, I used to use phantom.js for screenshots bigger than my monitor, but it was always pretty fiddly, and bad at showing you the problem if something went wrong.

Now it seems much better to just use a chrome plugin - FireShot seems like a decent one. It zips around the screen and gives you several options for saving the results, including a simple download as a PNG.

Sunday, May 27, 2018

better living through google docs

Local governments making life better with cheap and cheerful technology. I tend to build all this crap in PHP 'cause it's easy and I'm a little bit of a control freak, but it's nice to think about options for people who aren't quite as geeky.

Wednesday, May 23, 2018

tricks from class

Not a lot to say these days - I've learned a lot about React and Redux but nothing I feel sure enough about to be teaching on.

A few tricks I learned in class on it- in Chrome's Developer Tools, if you use the "Select an element on page to inspect it tool", you'll see a "==$0" next to it, which means "$0" is an object you can refer to by that name in the console.

Another handy thing was the sort-by js library - seems like a pretty friendly way of establishing the field order you want to use to sort objects.

Finally, DOMListener seems like a good chrome plugin.

It is a little weird how dependent life for developers is on Chrome, and tools in general. React can be great because you have a clear tree with a single root for your whole widget, and there are React and Redux plugins to view that - but also, you kind of need that, in the same you need to embrace webpack etc and get away from life of just using <script src=""> for all your .js needs...

Thursday, May 3, 2018

somewhat hip sliding underline tabs w/ animation

Coworker wanted me to implement this little sliding tab thing and I did, and it's ok, but not very robust code... (I mean, the example doesn't work unless you have those comments between each li? really?) I had to add a class to the entire ul thing to make the underline stick in place as well.