#Mac OS X
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
| [ | |
| { "keys": ["ctrl+alt+up"], "command": "smart_select_lines", "args": {"forward": false} }, | |
| { "keys": ["ctrl+alt+down"], "command": "smart_select_lines", "args": {"forward": true} } | |
| ] |
An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.
Everything is broken up by tag, but within each the selectors aren't particularly ordered.
I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A
A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:
-webkit-appearance:none;
| [ | |
| {"keys":["ctrl+shift+up"], "command":"super_add_line", "args":{ "forward": false } }, | |
| {"keys":["ctrl+shift+down"], "command":"super_add_line", "args":{ "forward": true } } | |
| ] |
| #!/bin/bash | |
| function usage() { | |
| echo "usage: $0 <volume (0-100)> <say args...>" | |
| echo | |
| echo "Unmutes and sets the system volume to volume%, passing the remaining" | |
| echo "arguments to the OSX \`say' command, restoring volume / mute setting" | |
| echo "to previous values after the speech has completed." | |
| exit 1 | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
