I love Space wallpapers, and I love my WordPress wallpapers.
If you’re like me you work with those (dot) folders and files quite often, but don’t really enjoy the clutter. Plus, you’re probably going to mess with them in Terminal most of the time.
We can use Automator (an app build into your Mac) to create a new Service and add Run Shell Script with the following code (make sure and save it) that will add a Menu item to the application’s menu (right next to the Apple logo). Just navigate to Services sub-menu.
You can also add a quick Keyboard Shortcut to it by going to your Keyboard Preferences > Shortcuts.
Hope this helps someone.
nnoremap <Leader>tt :ConqueTermSplit bash --rcfile ~/.bash_profile<CR>
You can see this example in my .vimrc.after too.
Reblogged from: My experience working at home for the first few weeks – @4dads1blog
It’s been about sixteen weeks since my new roommate, my daughter Lexie, moved in. It took about a day to realize that day care in one of the livable cities, Scottsdale, wasn’t going to be an option. Everyone works in our family, so we were faced with trying to solve a dilemma. How do avoid day care, work, and take care of a new baby. The solution ended up being that her mom would work at home two days a week and I would work at home three. This way we could avoid expensive day care and spend more time with our little one.
Luckily for the both of us we had working environments that supported the transition. I write code all day while she answers emails and phone calls, all of which could be done at home. So, it’s been about three weeks in, and so far here’s what it’s been like.
Effin’ Monkeys & Rangers
I started off thinking that all the grunting and whimpering Lexie would do would not be a problem, and it wasn’t. But, throughout the day I could see her getting bored. The grunting and crying would increase and then I found a magic bullet…TV. I figured out that she would actually watch and listen to anything coming from the TV like the rest of us. It soon became routine to pull up Curious George on the tube and let her be per-occupied with all the monkey sounds.
…until it started getting on my freakin’ nerves. For some reason a grunting baby doesn’t bother me, but the sound of a menacing monkey, who really isn’t that bright, started to drive me up the wall. It soon was replaced with Power Rangers, which she also found very amusing.
…until I realized new things about the show I didn’t before. Yeah, I guess my inquisitive nature was kicking in because all of a sudden I was thinking, “Why was the yellow ranger Asian, coincidence? Why does the Black Ranger break dance, was that necessary?” As a kid it was simple, people in colored suits kicking adult butt! So… it was distracting me to say the least.
Entertaining the baby had begun to lead to distractions for me. But, all was not lost. All hail the mighty iPad! I figured out I could set up the iPad in the crib with Lexie and she was equally entertained by the crazy monkey (and even music). Now thinking about it, I think it may have lead to her successes in rolling over (she’d lay on her side to veg out).
If you want to get anything done hanging out with a infant who can’t even figure out that those are her feet, you have to have a routine. Two naps. Two feedings. Play with a toy for at least two hours. Swing right before nap time. And, making sure you’re present at least every once in a while.
Right! Me and Lexie’s routine took a few days to develop, but I always try and remain consistent. As long as it’s consistent, I can’t say I’ve had anything to complain about. I also had to make sure I paid attention to her once in a while. A quick “Hey baby, soaked that toy with all your spit yet?” helped let her know her dad wasn’t just ignoring her.
Too Much Sleep = You’re a Dumbass
The one thing that’s super hard to not do is let her sleep too much. The nap time is the best time to get things done, and I’ve been far too tempted to let her just sleep. But…that kind of plan is going to kick you in the ass later…about eight hours later when she’s ready to party at about 3 am! Again, going back to the routine, I have to make sure she has some engaging things to do throughout the day so she doesn’t just fall asleep.
But, believe me, you’ll be tempted…and you will pay for it.
This is an addon to routines. Morning, when you’re the one staying home, are essential. You must get breakfast because as soon as your friend who kisses you leaves it’s all about work and, as we discussed, routine. You might not get that breakfast or coffee you need in the AM!
Lexie is a sweetheart. She rarely cries and only uses it to clue you into things like, “Dad I think I peed, I’m not sure, but please check it’s driving me nuts!” Or, “Dad, I’m starving. I’d get it myself, but that’s pretty much impossible…please feed me!” Sometimes I get the occasional, “I don’t like this spot! Or that one! Nope, I want to sit up!”
But, really, she’s a really good kid and not fussy for the most part (she’s just chillin’ in her bopie right now). That’s just blind luck! You’ll need some of that too!
Check out http://stackoverflow.com/questions/26703150/cant-add-new-rule-to-firefox-devtools and help me figure this out, or answer in the comments.
Recently I have been experiencing an issue with Preview Changes not working in WordPress on a Nginx VPS over at DigitalOcean. I use a few common config files from nginx-common-config. Before, the configuration did not fix the problem, but after it did. Thanks to the /VVV guys for a configuration that solved the problem.
To fix you can just clone down nginx-common-config and include the nginx.wp.conf file.
I recently had to find out how to do this while working on a site a couple weeks ago and thought I’d share. So, what we’re making is this.
From the above HTML you can see we first create three layers:
- a background (black solid background with rounded corners)
- a stroke (a white circle)
- another inner-circle with a number in it (black circle inside of the white one
There are essentially three layers here. The background is an obvious one. The stroke is a white background <div> that is made into a circle with border-radius and some padding. This allows us to fit the inner circle (also a <div> made into a circle) into the previous white circle which creates the illusion of a stroke with some padding. So, black square, white circle (with padding), black circle.
You can fiddle with this.