Changing terminal prompt
Jun 6, 2009If you're looking to change what comes before the computer name in your terminal prompt, you can do that in your .bash_profile or wherever you set you pref's for your terminal.
Great article on that here: http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/
Deleting existing pairings for Mac Bluetooth devices
Jun 6, 2009Pairing my bluetooth keyboard with my new MBP was a hellish nightmare. My old mac was an ibook g4. At my old job I had the older MBP. At my new job I have the newer MB. So this keyboard had been passed around and used quite a bit.
So maybe this will save someone a few mins:
If you're having trouble pairing with a new computer, try deleting any existing pairings from those computers that are nearby.
I think this issue has to do w/ proximity of a computer that is paired w/ the bluetooth device, my keyboard in this case, and the new computer you're trying to pair that same device with. I say this b/c I had no problem setting up the bluetooth keyboard with my newer MB at work...
changing your macbook's display name in terminal / sign-in
Jun 6, 2009'File Sharing Setup': There is prob another way to get to this menu, but I found it by going to 'Bluetooth preferences' --> then in lower right is 'File Sharing Setup' --> 'Computer Name'. You can change the name of your macbook/macbook pro there. It will be reflected at startup / sign-in and more importantly in your terminal prompt,
e.g. zhannes@{zhannes-mbp}
Where {zhannes-mbp} = whatever is in 'File Sharing Setup'.
Note: If you're looking to change what comes before the computer name in your terminal prompt, you can do that in your .bash_profile or wherever you set you pref's for your terminal. Great article on that here: http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/.
Why would your 'Computer Name' be set wrong? Because my mac came w/ a few items installed on it. Until today, in the terminal and when i signed into my computer, it said 'user's macbook pro' or whatever. I'd changed a bunch of stuff, created my own account, changed the 'short name', but none of this fixed the 'user's macbook-pro' .
I figured the only way to change this was a clean install of Leopard. WRONG!
I stumbled upon the fix sometime during the hellish nightmare of setting up my bluetooth keyboard with my MBP at home. (If you're having trouble pairing, try deleting any existing pairings from that computer.)
gary busey
May 23, 2009watched point break earlier today, for the umpteenth time. I enjoyed Gary Busey's performance as usual. I later stumbled upon the final minutes of a movie called "Eye of the Tiger", which is the classic 80s vigilante tough-guy movie. Some guy in a rural area stands up against corruption, a la Roadhouse, Rush, etc. Pretty much the same, except they played "Eye of the Tiger" song from Rocky throughout the movie.
Came across this site, which i found funny, http://www.buseyworld.com/jake.htm.
updating wordpress site url and home
May 21, 2009If say, you've changed your wordpress site url and home options to your IP address at work, and you find yourself at home not being able to log-in to your wp-admin, here's what to do. If you have access via terminal/command line, here's instructions on how to run a mysql query to change your wordpress option_value for siteurl and home.
http://stackoverflow.com/questions/535534/wordpress-host-ip-changed/542322.
**This is useful if you've set wordpress up to be accessed on your local machine's ip address at work, something like http://foo.bar.0.123:8888 (where :8888 is indicates the port number). And you've left work and connected to your wifi at home where your ip address is http://dan.neh.d.ocs:ucks (where 'ucks' is the port number). You'll need to change wordpress' settings in order to login at the new ip address.
BTW, these items are stored in your database in the "wp_options" table, and 'site url' is 'option_id' 1 and 'home' is 'option_id' 39. I used MAMP's PHPMyadmin to update these values, b/c my .bash_profile path was set for another version of mysql.
Using MAMP, I open the preferences page, then click on top nav to go to "phpMyAdmin". Steps are:
phpMyAdmin --> databases (at bottom of page, 3rd to last option from bottom) --> choose the database you're using for this project --> you're now viewing the tables, find the table 'wp_options' and click on the first button from the left of the table title. On roll over it will display 'browse'. --> find 'option_id' 1 and 'option_id' 39 and update them to your ip address at home.
Rob Dibble on MASN
May 19, 2009I'm quite happy that Rob Dibble has joined the MASN crew to cover Nationals games. Having played baseball up until college, I'm one of the few people you'll meet that does not find the sport incredibly boring. For some it is like watching paint dry. I myself find something interesting in almost every pitch, and I can also just have a game on in the background while doing work/reading. There are lot of decisions and strategy that go into baseball, but I think for many viewers the lack of action outweighs any interest they may have in strategy behind each decision.
So I'm fortunate to have a roommate who also enjoys watching baseball, and as such we pay to have access to nearly every game via RCN's MLB Extra Ticket. If you're like most people and hate baseball, then you probably don't spend much time watching baseball or even know who Rob Dibble is.
When I was younger, Rob Dibble was one of those bad-ass closers. He pitched for the Cinicinatti Reds. Mostly I remember Dibble being surrounded by controversy after becoming known as a "head hunter".
Rob's matter-of-fact style of commentary is a welcome change to coverage of Nationals games, which in the past was only slightly better than ESPN's Joe Morgan and Jon Miller.
weak songs currently stuck in my head...
May 16, 2009beyonce - upgrade (from verizon commercial)
the ting tings - that's not my name (you'd never guess where i was when i heard this)
added dates to posts
Mar 30, 2009sweet! able to display the dates for each post now. The method call was really easy, b/c ActiveRecord turns database field names into methods. So object.database_field_name, in this case it was "post.created_at". The tougher part was formatting the date, which required some research.
pics from my block
Mar 28, 2009posted a few pics from corner of 9th and L St.
funny things
Mar 15, 2009people who write "right on" at the beginning of multiple texts during an exchange. i'm way too lazy for that. but twice this week i've been texting w/ someone who in every text started with "right on."
a new mixtape
Mar 1, 2009can listen in full here: http://8tracks.com/zhannes/track--trackrandom
more new css soon i hope
Feb 26, 2009for IE users and others... maybe some nifty gradients too or something.
posts have weird ids?
Feb 26, 2009for some reason all my posts have crazy IDs.... no idea why... will try to fix
favtape.com
Feb 26, 2009well favtape is apparently down right now, but you can check out some of my last.fm favorites at http://favtape.com/lastfm/zhannes when it's back. And also i made a mixtape at http://8tracks.com/zhannes.
slides
Feb 26, 2009How I hosed my rails app...
Feb 24, 2009Still trying to figure that out.... it works after removing the 'acts_as_textiled' plugin....