webdev
Chrome displays a different height than what Chrome says the height should be.
This took me quite a while to track down, which is unfortunate since I know I’ve ran into this several times. Basically I was changing the height of an element, but no matter where I specified the height, it wasn’t displaying what I was putting in — even if I stuck a style attribute right […]
Read MoreGoogle Analytics Sucks
Yeah, it’s a little blunt and harsh, but over the years I’ve been growing more and more disatisfied with the tool. A long while ago, I created my own little website visitor tracking tool, which I have slowly been dusting off. Eventually I may completely remove Google from my websites and opt for my own […]
Read MoreMy Backend is Better than Yours
For some reason I found myself in a subreddit where someone started the familiar post on why their backend programming language was better than PHP. I see this come up quite a bit with regards to PHP, I even remember responding to someone’s blog post several years ago where they were complaining about PHP — […]
Read MoreGit Ignore a Directory
There is a folder within a project that you don’t want to be tracked with git, to do this on a windows computer: 1. In the project folder managed by git, make a new file named ‘.gitignore.’ (no quotes, but with periods at both ends — it will automatically be changed to ‘.gitignore’ 2. Add […]
Read MoreWhy Isn’t My SVG Image the Right Size in Internet Explorer
My svg images looked fine in the good browsers, but in Internet Explorer, they were appearing huge! I attempted to just set the size using css in the image tag, but that didn’t work. What actually did work, was I opened up the svg file, and added a “viewBox” value to the svg declaration, so […]
Read MoreEnhancements for jPlayer Implementation
I love the jPlayer for easily being able to add modern mp3 support to web pages. I wanted a few additional features, so I created this additional script which adds a few updated features: Adding rewind/fast-forward support Ability to toggle the volume controls on and off Ability to specify the mp3 url by setting a […]
Read MoreDebugging Firefox Mobile on Your Computer
I needed to debug a web page that I was working on, which was having some issues on mobile versions of firefox. I just needed to look at the console, but setting this up was a bit complicated, moreso than it should be. This should hopefully help: On your phone: Settings>About Phone>Build number (tap this 7 times […]
Read MoreAdd Stroked Point Markers to a Google Line Chart
I was pretty easily able to
Read MoreAdd Point Markers to a Google Chart Line Chart
It\’s pretty easy to add points or nodes to a google line chart. The keys are to add the pointSize option to the chart options object. By default, it\’s set to 0, so the points don\’t appear. The color will set to be whatever you have set in your colors series. Also note that the […]
Read MoreServing Websites to Other Computers on a Local Network with XAMPP
I have been using XAMPP to test PHP websites on my local computer for years, but since adding another computer to my small office, I have encountered the need to set up my computer as a server to host the pages that could then be viewed from other computers on my network. Turns out, it’s […]
Read More-
Adventure
-
The Built Environment
-
Locations
-
Web Dev