by err4nt · 10y ago · 0 comments
I also maintain a big snippets file, filled with HTML, CSS, JS, and command-line snippets and tricks so I can grab them from anywhere.
I dont know how any freelancer or contractor doesnt have a bag of tricks like this.
Most of the other plugins and things are included in https://github.com/tomhodgins/template-factory
My HTML/CSS/JS/CLI snippets file is located here: https://gist.github.com/tomhodgins/27c29ecb4aceaefe5cdf
My responsive testing tool is located at: https://github.com/tomhodgins/speedtest You can use your keyboard keys 1-0 to test a variety of widths quickly, or use the buttons on mobile to test widths your phone or tablet can't physically emulate
If you're looking for a 'view source' tool for mobile, check out https://github.com/tomhodgins/sourceror It's a simple PHP proxy that loads the requested site and displays it as content on the page. For example, I have it hosted at http://staticresource.com/inspect so I can append a URL after a '?' and see the code formatted nicely. Like http://staticresource.com/inspect/?http://staticresource.com...
You can also check out my CodePen profile, here's my collection of 'Front-end snippets', but I've got plenty more on there you can feel free to use or expand on: http://codepen.io/collection/nNqyvZ/
Hope that sets you off to a good start :)