I hate untidy code, and always work with invisibles showing. Regardless, sometimes spacecruft slips through. Here’s two ways to fix that:
- custom language bundle that highlights the offending space
- macro using the built-in strip-trailing-spaces command on save
I’ve gone with the first option: I think it’s nicer to keep yourself in the habit of watching your code, rather than relying on the software. Also, as the author notes, it blows away any bookmarking and code folds. If you’re working with large files and hit save at least every five minutes like I do, well… that sucks as much as Coda’s lack of code folding does.
CHAD DEITY!!1!’s next Elaborate Entrance: New York. GO SEE THIS PLAY! http://bit.ly/ah41ys @ChadDeity
bottled the biere de garde / racked the dark ale / just brewed a weiss: …relaxing, and no longer worried.
If you’ve ever had to deal with any development for Facebook, you’ll remember that they strip out browser hacks from your CSS–fun for you, when the client OMG needs something to work in IE6. They also strip out the more forward-y browser-specific styles, while using them liberally themselves.
Their CSS, which was putting an unfortunate border on our buttons:
uiButton,
.uiButtonSuppressed:hover,
.uiButtonSuppressed:active,
.uiButtonSuppressed:focus { -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); }
Here’s how to get around that:
.uiButton:after {
content: "OMGFACEBOOKIHATEYOU";
display: block;
color: #fff;
margin-top: 44px; /* height of your button */
border-top: 1px solid #fff; }
Ta-da.
The NYTimes reports that being constantly online makes us easily distrac (via @BorowitzReport)
The NYTimes reports that being constantly online makes us easily distrac (via @BorowitzReport)
no tornado here, so it’s back to weeding …
Tornado sirens in Madison; weather sites / tv stations == no info. Are they testing, or are the StormTrack!!OMG!WEATHER! teams napping?
Tornado sirens in Madison; weather sites / tv stations == no info. Are they testing, or are the StormTrack!!OMG!WEATHER! teams napping?
My brother was right: driving over everything/everyone in Crackdown, with the volume off and Luxuriamusic.com on == full of win
Dunkelweiss bottled; Scotch ale on the hob, next to a pot of chili.
If you ever hear me talking about discovering the north pole in a balloon (or airship), talk me out of it.
He had to go to Milwaukee today, and he brought me back dinner from Suburpia. I FUCKING LOVE HIM.
It’s 145 miles to Chicago, we got a full tank of gas, half a pack of beer, it’s dark, and I’m wearing pajamas.
Racked last week’s amber into a carboy, and brewing brown ale this afternoon.
maker’s schedule vs. manager’s schedule http://bit.ly/cUJGTG
I’m making sure I stomp the shit out of that thing
RT @erinmharris I secretly always think of Shaun White as being the secret, snowboarding Weasley child. – J
The US snowboarders uniforms FTW #Olympics
Our giant web application “validates” to HTML “5,” so… yay for that, I guess. #strictEdge
What kind of a fruity name is Bode? When you and me have kids we’re going to give them good names like “Shannon” or “Rick.”
I hope the snowboarders brought enough brownies for everyone at this lazer show. #Vancouver #2010 #WTF
(cooking water from the cassoulet beans, which will make an excellent base for pea soup, later)
My fingers smell like duck fat.
AWESOME.
Markets visited (no rabbit; boo!); beans done, pork loin roasted, duck confited, saucisse seasoned, and veal stock on hour five.
Cassoulet 2010: It begins.
I’m standing fast against the tyranny of integers.