Color LS for Mac OX
alias ls='ls -G'
Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts
Thursday, June 17, 2010
Wednesday, October 28, 2009
MacPorts Usage
Update MacPorts itself
sudo port selfupdate
sudo port -d selfupdate # debug
Updates the port tree with new versions definitions
sudo port sync
List available ports
sudo port list
Search ports
port search [keyword]
Lookup package info (desc, maintainer, etc)
port info [package]
Find package dependencies
port deps [package]
Install package
sudo port install [package]
sudo port -v install [package] #verbose
Clean out build files and tarballs
port clean --all [pakcage]
Uninstall a package
sudo port uninstall [package]
Show port contents
port contents [package]
List installed packages
port installed
List outdated ports
port outdated
Upgrade specific packages
port upgrade [package]
port upgrade outdated #updates all outdated packages
http://guide.macports.org/chunked/using.html
sudo port selfupdate
sudo port -d selfupdate # debug
Updates the port tree with new versions definitions
sudo port sync
List available ports
sudo port list
Search ports
port search [keyword]
Lookup package info (desc, maintainer, etc)
port info [package]
Find package dependencies
port deps [package]
Install package
sudo port install [package]
sudo port -v install [package] #verbose
Clean out build files and tarballs
port clean --all [pakcage]
Uninstall a package
sudo port uninstall [package]
Show port contents
port contents [package]
List installed packages
port installed
List outdated ports
port outdated
Upgrade specific packages
port upgrade [package]
port upgrade outdated #updates all outdated packages
http://guide.macports.org/chunked/using.html
Saturday, July 25, 2009
Correct CSS PNG Color Mismatch
Copied from link below
Mac OS X will render the images using the color profile they got stored, actually png gamma correction would be more exact. This is not immediately apparent because at a glance the files may look identical but using the pngs over a CSS background color often reveals an unpleasant sight on the mac, especially on Safari.
To prevent such a color mismatch either use a different image format or strip the png gamma correction. In the case of the latter, pngcrush does a pretty good job.
I was pleasantly surprised that I could install it with ease on Fedora ("yum install -y pngcrush"). To use it run:
pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB png-file-name optimized-png-file-name
http://www.viseztrance.com/2009/02/fixing-the-png-color-mismatch-on-mac-os-x.html
Mac OS X will render the images using the color profile they got stored, actually png gamma correction would be more exact. This is not immediately apparent because at a glance the files may look identical but using the pngs over a CSS background color often reveals an unpleasant sight on the mac, especially on Safari.
To prevent such a color mismatch either use a different image format or strip the png gamma correction. In the case of the latter, pngcrush does a pretty good job.
I was pleasantly surprised that I could install it with ease on Fedora ("yum install -y pngcrush"). To use it run:
pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB png-file-name optimized-png-file-name
http://www.viseztrance.com/2009/02/fixing-the-png-color-mismatch-on-mac-os-x.html
Subscribe to:
Posts (Atom)