Joined August 2013
·
Posted to
JS mouse events that work even when mouse is moved outside the window
over 1 year
ago
@finalelement I've verified it works in Chrome. See dragging example at http://pornel.net/slip/ - obviously the drag must start when mouse is in the window, but then when it leaves the window the script can still see the position and mouseup event.
Posted to
Optimize PNGs better (than Fireworks)
over 1 year
ago
There's off-line CLI version of this: pngquant.
Posted to
Use Zopfli Compression in your CDN
over 1 year
ago
Zopfli rocks. On the Mac front you can use ImageOptim/CLI.
Achievements
359 Karma
161,876 Total ProTip Views
 
Forked 50
Have a project with a thriving community of users that's been forked at least 50 times
 
Kilo of Lemmings
Establish a space in the open source hall of fame by getting at least 1000 devs to watch a project
 
Epidexipteryx 3
Have at least three original repo where C++ is the dominant language
 
Komodo Dragon
Have at least one original repo where Java is the dominant language
 
Nephila Komaci
Have at least one original repos where PHP is the dominant language
 
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
 
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
 
Altruist
Increase developer well-being by sharing at least 20 open source projects
 
Lemmings 100
Write something great enough to have at least 100 watchers of the project
 
Forked 20
Have an established project that's been forked at least 20 times
 
Forked
Have a project valued enough to be forked by someone else
 
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
 
Bear
Have at least one original repo where Objective-C is the dominant language
 
T-Rex 3
Have at least three original repos where C is the dominant language
 
T-Rex
Have at least one original repo where C is the dominant language
 
Raven
Have at least one original repo where some form of shell script is the dominant language
 
Epidexipteryx
Have at least one original repo where C++ is the dominant language
 
Charity
Fork and commit to someone's open source project in need
 
Checking command-line args doesn't seem future-proof to me. I expect ES6 to be on by default (without the flag) when it's ready to ship.