Articles tagged mac

switch to mac
Dorren_mii_thumb by dorren, 01/31/2009

Key bindings

Annoying part of mac keyboard is that it's missing whole bunch of keys, namely "home", "end", "Page Up", "Page Down", etc. According to apple's support page. You just have to push combination of buttons to accomplish that.
  • Home: Cmd-<
  • End: Cmd->
  • Page Up: Fn-^, in Terminal, Shift-Fn-^
  • Page Down: Fn-v, in Terminal, Shift-Fn-v
Terminal
  • Home: Shift-Fn-<
  • End: Shift-Fn->
  • Page Up: Shift-Fn-^
  • Page Down: Shift-Fn-v
  • Switch tab: Shift-Cmd-<, Shift-Cmd->

complete list of shortcut

Ruby

Do not attempt to install Ruby 1.8.6 from macport. Even if you did, as some dude did, you won't be able to install gems afterwards, which requires ruby 1.8.7

Mysql

sudo port install mysql5 +server
sudo -u mysql mysql_install_db5
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
When install mysql ruby gems, use this
sudo gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config

Gnome-Terminal

sudo port install gnome-terminal
sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
Views: 492   Replies: 0   Tags: mac
install gentoo prefix on mac
Dorren_mii_thumb by dorren, 01/31/2009
following instruction on gentoo site.

In Code Listing 1.8, had to emerge baselayout twice, since first time Gentoo/sbin/function.sh was missing.
emerge --oneshot --nodeps baselayout-prefix


In Code Listing 1.10, emerge patch before gawk, otherwise gawk complains missing file.


Views: 542   Replies: 0   Tags: gentoo, mac
install osx on thinkpad t61
Dorren_mii_thumb by dorren, 11/16/2008
lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Root Port (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0429 (rev a1)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)

lsusb
Bus 002 Device 001: ID 0000:0000  
Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 002: ID 0a5c:2110 Broadcom Corp. 
Bus 003 Device 001: ID 0000:0000   

uname -a
Linux think 2.6.23-gentoo-r8 #8 SMP Wed Apr 2 15:30:54 EDT 2008 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux

nvidia-settings
video: Quadro NVS 140M, 
VBIOS: 60.86.3e.00.00
PBus Type: CI Express 16X
Views: 751   Replies: 1   Last Reply: ucsblaw, 03/30/2009.     Tags: mac, t61
 




login or sign up to participate.
Money_dollar moneywill