http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.postscript/2006-06/msg00089.html
ghostscript -dNOPAUSE -dBATCH -r300 -sDEVICE=pnggray -sOutputFile="test.png" "TestFile.PDF"
http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.postscript/2006-06/msg00089.html
ghostscript -dNOPAUSE -dBATCH -r300 -sDEVICE=pnggray -sOutputFile="test.png" "TestFile.PDF"
How to make vim more comfortable (the version shipped with Mac OS X 10.6):
cd /usr/share/vim
sudo vim vimrc
add set:
set ai " auto indenting
set history=100 " keep 100 lines of history
set ruler " show the cursor position
syntax on " syntax highlighting
set hlsearch " highlight the last searched term
filetype plugin on " use the file type plugins
" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif
http://communities.vmware.com/message/1650147
Problem during run of sudo /usr/bin/vmware-config-tools.pl:
Skipping X configuration because X drivers are not included.
This fixed it:
sudo apt-get remove xserver-xorg-video-vmware
sudo apt-get install xserver-xorg-video-vmware
OS X has a good feature built in: the dns resolver. It allows you to specify different DNS servers for different domains. After creating the /etc/resolver directory, you can create a /etc/resolver/erdelynet.com file with nameserver 192.168.25.10 in it to redirect DNS requests for this domain to that specific nameserver.
Sometimes your fonts can get messed up when you use Ubuntu for more than one release cycle. So to reset the proper fonts used with todays distributions of Ubuntu without creating a new user account go to Preferences → Appearance Preferences.
For all Fonts choose size 10.
Chose Sans for all but fixed width font (take monospace) and for the window title font use sans in bold.
http://wiki.ubuntuusers.de/Hibiscus#Manuell (German)
sudo aptitude install sun-javadb-client
wget http://www.willuhn.de/products/jameica/releases/1.10/jameica/jameica-linux.zip
# or if you are on a 64bit OS:
wget http://www.willuhn.de/products/jameica/releases/1.10/jameica/jameica-linux64.zip
wget http://www.willuhn.de/products/hibiscus/releases/1.12/hibiscus.zip
sudo unzip jameica-linux.zip -d /opt/
sudo unzip hibiscus.zip -d /opt/jameica/plugins/
http://wiki.ubuntuusers.de/Hibiscus#PPA
sudo add-apt-repository ppa:dennis-benndorf/ppa && sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FDD09B
sudo apt-get update && sudo apt-get install hibiscus
cd ~/Downloads
wget -O jverein.1.4.0.zip http://www.jverein.de/download/download_log.php?dl=jverein.1.4.0.zip
and then unzip depending on the choice of installation. For the manual installation:
http://www.maczentrisch.de/shootShifter/
This is my tool of choice! It does a great job!!!
http://www.sno.phy.queensu.ca/~phil/exiftool/#shift
If your timestamps are wrong by 5 years, 10 months, 2 days, 10 hours and 48 minutes, put all of the images in the same directory (“DIR”) and run exiftool:
exiftool "-AllDates+=5:10:2 10:48:0" DIR
List all EXIF tags:
exif -l
Extract machine-readable Date and Time (Original) from IMG_0001.JPG:
exif -m -t 0x9003 IMG_0001.JPG
http://www.mediawiki.org/wiki/Download_from_SVN
This commands gets you the latest skin for Mediawiki:
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/skins
But be reminded that you will only be able to use the plugin with Mediawiki 1.16 and above so just upgrading to the latest Mediawiki release is usually enough to get the skin. I could not get it to work with an installation of Mediawiki 1.15.
Pair the device with Mac OS X and open BT747 then connect to the manually entered: /dev/tty.iBT-GPS-SPPSlave
mysql -u dbusername -p
now you are on the MySQL prompt. So to change all option_value in the table firestats_firestats_options to en_US where the option_key equals current_language do:
USE dbname;
SHOW TABLES;
SELECT * from firestats_firestats_options;
UPDATE firestats_firestats_options SET option_value="en_US" where option_key="current_language";