dieseltravis.github.io
About
http://dieseltravis.github.io/about
Just some sort of lame blog. About this site and Travis. Is a web developer. And funny stuff. He lives in Rochester. Trav on keybase.io. Diesel travis on last.fm. Traviblog started out in 2002ish as an AIM Sub-Profile that I wrote using Classic ASP and Access. It was later migrated to a .Text blog which worked well for awhile. Then it was migrated to dasBlog which didn't work as well. This site uses JSON for its data source to generate static files. I named the script suo. Comments powered by Disqus.
dieseltravis.github.io
traviblog
http://dieseltravis.github.io/posts
Just some sort of lame blog. Traviblog archive for /posts. Hey, Travis, Why Do You Need My Location? Adding An Easy Shortcut to the JSHint javascript validator to Visual Studio. Embedding an XSLT as a string in a DLL binary. Compiling an XSLT into a DLL binary. Adding An Easy Shortcut to the JSLint javascript validator to Visual Studio. Welcome to the new TraviBlog. Brilliant CSS for the KBD element. Conversations around the Campfire: an Obama/McCain CSS comparison. Top 3 Vista Features that FAIL. Sidewa...
dieseltravis.github.io
Hey, Travis, Why Do You Need My Location?
http://dieseltravis.github.io/posts/2014/05/20/navigator-geolocation
Just some sort of lame blog. Hey, Travis, Why Do You Need My Location? Is Travis spying on everyone? With HTML5 you can always view-source. On this site, I'm using. Window.navigator.geolocation.getCurrentPosition. To get the longitude and latitude. Then with those I use the nice free api provided by worldweatheronline.com. The gist of what happens before it gets minified is in this JSBin. And MDN's WebAPI geolocation documentation. Hey, Travis, Why Do You Need My Location? Comments powered by Disqus.
dieseltravis.github.io
Static Asset Versioning
http://dieseltravis.github.io/posts/2014/05/05/static-asset-versioning
Just some sort of lame blog. One of the things that I used with suo. Was versioning CSS and JS files. There are existing ways of doing this with grunt. Or by hand. Since I'm still new to how node works I thought it would be a good learning exercise. The old way of doing this was to append a querystring to the linked file but certain firewalls don't cache files with querystrings. That uses the original filename as a key and the renamed as the value. Hey, Travis, Why Do You Need My Location? Travis Hardima...
dieseltravis.github.io
Frost Pisst
http://dieseltravis.github.io/posts/2014/04/05/frost-pisst
Just some sort of lame blog. For some definition of first and post. Hey folks, I'm back with a new site. Everything before this is old and YMMV. Hey, Travis, Why Do You Need My Location? Adding An Easy Shortcut to the JSHint javascript validator to Visual Studio. Embedding an XSLT as a string in a DLL binary. Comments powered by Disqus. Travis Hardiman, et al. 1979-2079.
dieseltravis.github.io
Embedding an XSLT as a string in a DLL binary
http://dieseltravis.github.io/posts/2010/07/26/embedding-an-xslt-as-a-string-in-a-dll-binary
Just some sort of lame blog. Embedding an XSLT as a string in a DLL binary. If you want to distribute a class library that relies on an XSL document and only want to worry about a single DLL then this is probably the easiest solution. In Visual Studio follow these commands (and save): Project Properties Resources Add Existing file. In this case, I am embedding a file named. With a key named. That will generate a bit of code that looks like this:. Be sure to set the properties of the file so that its.
dieseltravis.github.io
Adding An Easy Shortcut to the JSHint javascript validator to Visual Studio
http://dieseltravis.github.io/posts/2011/05/13/adding-an-easy-shortcut-to-the-jshint-javascript-validator-to-visual-studio
Just some sort of lame blog. Adding An Easy Shortcut to the JSHint javascript validator to Visual Studio. I went to add JSLint to my Visual Studio tools. And was disappointed that the WSH version has disappeared (or was discontinued). Luckily the new and improved JSHint. Supports a WSH wrapper. In Visual Studio → Tools → External Tools…. Add a new tool with the following field values:. Systemroot% system32 cscript.exe. Env wsh.js" $(ItemPath). Open up any *.js file you'd like to validate.
SOCIAL ENGAGEMENT