Custom OSX Dock I Put Together

I just learned how to change the dock around in OSX Leopard. You basically need to open finder, go to folder: /System/Library/CoreServices

Right click on “dock” and view contents. Go to Contents > Resources.

Back up everything you see in there, and then replace it with the files I give you here. I didn’t design this dock from scratch, but I mixed and matched a lot of different dock styles that other people have designed and ended up with this one for a custom look. I think it looks fucking Killer…

Download the files here: DOWNLOAD NOW

Search Within Files on Your Server

Just learned how to do this… freakin epic. It allows you to search within files on your server. A lot of times I will need to search thousands of files for websites written by other people for a single line of code for ID’s or Tags… e.g. I was just looking for “portfolio_title” so I could modify the php for my portfolio page.

First you need to SSH into your server as root via something like terminal for OSX, or telnet for PC

ssh root@67.55.108.167 (or whatever your server IP is)

After you enter your password, you need to run this command

find . -exec grep -l "portfolio_title" {} \; | xargs grep "portfolio_title"

If you’re trying to search under ALL your different accounts under root, you can run this instead. This will search under every account which contains the directory public_html/wp-content

find /home/*/public_html/wp-content/ -exec grep -l "portfolio_title" {} \; | xargs grep "portfolio_title"

Alternatively, you can replace * with your specific account name if you dont want to use a wildcard

Sick programming font

This font is super sick, it was designed just for programming. Take a look

http://www.ms-studio.com/FontSales/anonymouspro.html

Also released a new design from Marketcake for Wolf Storm Media

Awesome invoicing software

Since starting Marketcake I have gotten many new clients that are interested in work. I realized that my current invoicing setup was WACK. I switched to FreshBooks and it’s BOMB. Basically does everything I could ever need, plus more.

I’d highly recommend you check it out, right now i only signed up for the free account to see if it’s worth it, and it definitely is IMO. The one feature that it didnt have which was somewhat weird is theres no 50% deposit option, which is important when youre doing web design and you want the client to put half down to start, then you design it, and then make the final deposit after. This is easily fixable however by adding a -50% line item and adding to the notes “this deduction signifies your final payment. When you pay the first 50%, the line item will be removed and your remaining balance will be due.

Check out some of the screen shots. It sends extremely professional looking invoices too.. I dig it a lot.

custom header

New Marketcake site!

I have some freaking awesome news related to my designs, I’ve started to team up with my extremely good buddy who is very talented and we are tackling tons of sites together. I figured it was time to completely rebrand my company, so… I’m working on a new portfolio site. Im burned out on caffiene right now from working non stop. It’s a work in progress, still working on some things (as of July 31st, 2am). I’m working on coming up with something for the header that incorporates an asian feel, but sitll remaining crisp, trendy, elegant, smooth, classy… organic.. technological. Tricky set of adjectives to work with, but it will come in good time. If you see anything you think should be changed or have any creative ideas just drop me a line!

http://marketcake.com

If you can, PLEASE LIKE MY PAGE below! I know ‘liking’ stuff on facebook can be annoying but this is my company that I passionately stand behind 100%, so if I have helped you at all in the past with anything, or you dig my work, or this blog or anything else, it would mean a lot if you did :)

Back to work~

New Mac!

So I just got a new fully loaded MacBook Pro 17″ and a 25″ monitor to go along with it. This is HOT.. definitely worlds better than a PC, and I used PC for like 15 years hating on macs until I actually got one (go figure lol). It’s just way more solid in general, no stupid registry.. going back to PC and it feels like a house of cards. Everyone says the downside to Mac is it’s forced and not extremely customizable (at the benefit of it’s security and solidity), but in my opinion I haven’t come across a single thing I couldn’t customize with bash or some other script, program, easy edit. I have spent the last week or so finding all my favorite shortcuts, tweaks, and so on.

I thought I’d share these with you … Plus give you some other tips about programs if you hadn’t heard of them already. Leave any additional tips you know in the comments!

First, my favorite hotkeys:

⌘+, (comma) Open preferences of current program. I use this hotkey probably the most, and it’s definitely up there on my favorites
⌘+Shift+4 (and 3) If you do 4 it will do a selective screenshot and save it ans a png to your desktop. Just drag an area after you hit it. If you do 3, it will take the entire screen.
⌘+F3 Show desktop. Allows you to edit files on desktop, then click to return to your current application setup. I don’t like to have things save to my download folder by default, so I put them on the desktop. It makes it easier right after I download something to delete it.
⌘+Option+I If you have multiple files selected and want to see the total file size (without having each ‘get info’ window open separately for each file), hit this.
Control + D This is the same as window’s ‘delete’ key (forward deleting rather than backwards deleting). The full size mac keyboard has a second delete key, but if you have the short keyboard and are used to the ability to delete what’s on the right of the cursor, this is for you.
⌘+Space This is for spotlight, although I often times hear words and I’ll want to know what it means, and spotlight hooks right into the dictionary app, so you can basically use the dictionary in one click rather than going to dictionary.com.

Misc. Tweaks:

Repair Disk Permissions: Go to Apps > Utilities > Disk Utility. Then hit the little icon that says repair disk permissions. Mine found like 200 errors. Do that once a month
Toggle hidden files in finder: This one I googled and I set up an automator script, but the site isn’t working. if you are interested let me know and i’ll post it up. it works in the open dialogue box, but not in Finder. This script makes it work in finder.
Adium Duck Icon: Adium is the hotness, except I hate that stupid green duck at the bottom… to change the default adium stupidass duck dock icon, download any of these. My favorite was this one.
Chrome Buttons: By default when you get chrome mac, several key features are hidden by default. hit View > Always show bookmark bar to show your quick bookmark bar,  then hit ⌘+, to bring up system preferences (see I told you that was useful), and under ‘Toolbar’ check both checkboxes to show the Home button and the two control buttons on the right that let you easily access your downloads, saved passwords, etc.
iTunes file copy: This one isn’t really a secret most of you have prolly turned it off, but go to your settings in itunes and make it so it doesnt make a duplicate of every file you add into the itunes folder. this is just asinine as if you’re music collection is 20gb… it wastes an extra 20gb duplicating files.

Programs …
Here are some of my favorites. I have tried a LOT of different ones.

Transmission
– This is by far the best torrent app I’ve found. Better than uTorrent, and the other random ones I can’t think of.
Coda – Another one that’s no secret. I like it better than Bbedit, textmate, textedit obviously, etc. Textmate was good except the way it color coded my files was completely wack (80% of the reason I use it for easy viewing). For example on php file types it only highlighted ‘if’ statements… pretty much useless.
YummyFTP – I’m kind of a nazi about having my things work efficiently. I loved FileZilla on PC, but on mac its severely lacking 2 things I use most. 1 being quick connect so that when I open the program I can connect to any one of my  hundreds of sites with one click. On Mac it forced you to open a dialogue box then click.. then click again. 2nd, it didnt allow right click immediate focus. you had to left click then right click a file to edit it on the server. 3rd it didn’t allow folders to be always at the top … YummyFTP does all those things and much more perfectly. Far better than cyberduck, fetch, filezilla, and a few other random FTP clients I’ve tried.
Little Snitch – Best firewall ever!!! Get this… extremely recommended. Thats all I can think of now.. I’ll add more as I think of them

New Category for Ghosts in the Machine

I noticed my PR went from 0 to 1 (GREAT SCOTT!!)

That’s nothing, but I figured this will be a good time anyway to perhaps look at making this blog serve some purpose other than talking about my travels. So I’ve gone through like 5000 technical errors having to do with anything from su_php, wordpress, databases, sql max upload limits, and probably every error under the sun related to web servers in general, things not working, etc. So I’m going to make a ‘technical’ section, and any time I come across a problem that I have to research on how to solve it, I will post it in there.

What sparked this idea was I had to fiddle with liquidweb forever to get wordpress to be able to write via ftp to the host. Things like upload image, update automatically wouldnt work until I had to figure out how to enable su_php module. Things like chmodding to 777 even (bad idea) still didn’t help. Turns out the module makes it so access rights are branched out to the user or something, and then it works. So if you run across this when youre doing web work on someone else’s server, thats more than likely the reason.

I’ve updated the portfolio with some of my work. I left a lot out, and I also included a lot of stuff from 2002.. it’s a great wide variety though, some great some not as much :}