Skip to content

Instantly share code, notes, and snippets.

View tekwiz's full-sized avatar

Travis D. Warlick, Jr. tekwiz

View GitHub Profile
@stonean
stonean / gist:5e33488c4f4cf2123c72
Created January 2, 2015 16:36
New web browser

This is a brain dump, many grammatical errors to follow ...

About a week ago I was chatting with my team about my technology choices for now (things will change) and the subject of Javascript arose. Obviously there's a lot of talk going on about Javascript, both good and bad, which frameworks to choose, the overall poor performance of the frameworks, etc... I've simply come to the conclusion that I'll only use Javascript when there's a clear UX win.

This got me thinking about Javascript in general and resurrected some older thoughts regarding the difficulty that still exists in web development. Difficulty that I think should not still exist.

So I was wondering why that is. I think it's that we are still dealing with an old foundation. Javascript is a language with many flaws and not one designed with security in mind. HTML has made some advancements with HTML5, but I think so much more could be done. CSS could use a lot more power/flexibility to reduce code duplication and help code reduction. Addressing a

@karlhorky
karlhorky / grayscale-disable.css
Created August 26, 2012 12:17
Cross-Browser CSS Grayscale
img.grayscale.disabled {
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
-webkit-filter: grayscale(0%);
}