find ./ -name \*.js | xargs wc [find] [in this current directory] [files named] ["wildcard".js] [and] [just print counts] The first column is the number of lines for the listed file, with the total count at the bottom. As you can tell, I’m working on a JavaScript project.
- James Brooks
RT @MegginJackling: Only my boss would email me, then text me to tell me she emailed me. Twice.
My blog has been too serious and too productive lately. Here’s some entertainment. Enjoy! Literal Version | Total Eclipse of the Heart from Umberto Cigognini on Vimeo.
- James Brooks
Add the following to your template.php file, and you can add your own user-register.tpl.php and user-profile-edit.tpl.php files to your theme. For my purposes, I wanted to remove the form so I just added a paragraph to the tpl file and left it at that. YOURTHEMENAME_theme(&existing, $type, $theme, $path){ return array( '$hooks' => zen_theme($existing, $type, $theme, [...]
- James Brooks
#pandora rule number one: thumbs up everything by "the mountain goats"
Synergy is a great free application that runs across multiple platforms (Windows/iOS/Linux) to let you control multiple computers with only one mouse and keyboard. Sometimes it doesn’t work too well if one of your computers has to have a constant connection to a corporate VPN and the other computer does not. Change your local IP [...]
- James Brooks
Synergy is a great free application that runs across multiple platforms (Windows/iOS/Linux) to let you control multiple computers with only one mouse and keyboard. Sometimes it doesn’t work too well if one of your computers has to have a constant connection to a corporate VPN and the other computer does not. Change your local IP [...]
- James Brooks
I’ve been working a lot on mobile apps lately and one issue I recently came across was that my logins that are handled over JSONP requests work just fine on Chrome desktop and the Android browser, but not on Safari (mobile or desktop) unless I changed cookie settings on the device to “Accept All”. That’s [...]
- James Brooks
I’ve been working a lot on mobile apps lately and one issue I recently came across was that my logins that are handled over JSONP requests work just fine on Chrome desktop and the Android browser, but not on Safari (mobile or desktop) unless I changed cookie settings on the device to “Accept All”. That’s [...]
- James Brooks