06 Jul
Posted by krisgale as virtualization, windows, os x, apache
first, edit your web server’s httpd.conf (for example, /Applications/MAMP/conf/apache/httpd.conf) and add a VirtualHost with some name other than “localhost” (we do this because windows may reserve localhost for some of its services).
NameVirtualHost yourhostname:80
<VirtualHost *:80>
ServerName yourhostname
DocumentRoot “/your/directory/here”
</VirtualHost>
edit leopard’s “hosts” file:
sudo nano -w /etc/hosts
and append your new host name to the existing line for localhost:
127.0.0.1 localhost yourhostname
now, […]
throw open Terminal. type two separate commands:
defaults write com.apple.dock tilesize -int 64
killall Dock
where you can set the desired icon size to whatever you want (rather than 64). Dock will relaunch with the icons shown in your exact desired size. (if you’re like me, being exact is just what you do.)
hadn’t filled in some code i was completing and within it was a sql statement of the form:
INSERT INTO TableName () VALUES ();
to my surprise, this is valid syntax, and inserted a row with a correct auto_increment for the primary key, and null or defaults for the remaining columns.
here is more evidence that everything starts somewhere, however small…
people talk a lot of smack against dreamhost as a hosting provider, but my experience with them has been nothing short of consistently awesome.
why this post? because i recently had to register a brand new domain, and set up a sizable database and php application onto it. i was able to do all of this […]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Nov | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||