Seite: 1 2 3 4 5 6 Nächste

Mac OS Drucker an Windows (XP / Vista) via CUPS freigeben

Ich wollte meinen Canon Tintenstrahldrucker, angeschlossen am Mac Pro, freigeben. Wenn ich das Standardmässig in Mac OSX via “Sharing” mache wird der Drucker zwar unter Windows gesehen, aber wirklich zugegriffen werden kann auf diesen nicht. Ein ähnliches Problem hatte ich mit VMWare Fusion und der automatischen Freigabe von angeschlossenen Druckern.

Die Lösung war relativ einfach:

  • Man fischt sich seinen Computernamen unter – “System Preferences” – “Sharing” raus (in meinem Fall MacPro.local)
  • Dann öffnet man im Browser den Computernamen mit Port 631. Beispiel: macpro.local:631/printers/Canon_iP4500_series)
  • Unter Windows sagt man unter “Drucke” “einen neuen Drucker hinzufügen”
  • In dem Dialog fügt man die notierte Url unter “Netzwerkdrucker” “Url” ein
  • Falls der Drucker nicht hinzugefügt werden kann sollte man im Browser des Windowsrechners versuchen die Url zu öffnen. Es kann sein das der Rechner den Mac unter einem anderen Namen / IP kennt

Categories: OSX, Windows Tags: , , , ,

Create ISO image from folder in Mac OS

Ich habe heute gesucht wie ich aus einem Verzeichnis ein ISO File machen kann.

Geht ganz einfach:

1. Terminal aufmachen und in das Verzeichnis gehen wo das zu konvertierende Verzeichnis liegt
2. hdiutil makehybrid -o GIBMIREINENTOLLENAMEN.iso VERZEICHNISNAME/

It is quite simple in Mac OS, using hdiutil command. For example, you
have a folder naming solaristools on user’s Desktop, and hope to create
a ISO image file for the folder

1. Open terminal window
2. Change current folder to user’s desktop, for example user is “apple”
cd /Users/apple
3. Type following command
hdiutil makehybrid -o solaristools.iso solaristools

A new ISO image “solaristools” will be created on user’s desktop. You
may access to the ISO image as a CD/DVD device in Mac OS later.

Categories: Mac, OSX Tags: , , , ,

Fix Itunes Maximize Feature

To change iTunes green button function from switching to mini player to maximizing iTunes type the following into Terminal

defaults write com.apple.iTunes zoom-to-window -bool YES

Restart iTunes if you don’t already have it closed. The function of the green button should have changed. You can now maximize iTunes by pressing the maximize button. If you want to switch the mini player, press Alt plus the green button. The roles have changed.

If you want to reverse the functions back to the original preferences type the following into Terminal.

defaults write com.apple.iTunes zoom-to-window -bool NO

Restart iTunes if needed.

Categories: Mac, OSX Tags: , , ,

Delete Lines Beginning With A Character In Vim

Remove # lines from (Apache) config files under Linux with Vim

:g/^#/d

Links
Delete Lines Beginning With A Character In Vim

Categories: Linux Tags: , , , , , ,

JQuery Validator OnError Function

 var container = $('#formerrorsbox');

   
    var validator = $('#form_artikel').bind("invalid-form.validate", function(e, validator) {
                  var err = validator.numberOfInvalids();
                  if (err) {
                    /* container.html("THERE ARE "+ err + " ERRORS IN THE FORM") */
                    container.show();
                  } else {
                    container.hide();
                  }
                }).validate({

Stackoverflow : How to display error container only when Submitting?
Jquery Validator Documentation

Winmerge / Visual Diff for OSX

Install XCode to use Filemerge

Apple Developer Tools

Categories: OSX Tags: , , , , ,

Decode RFC822 eMail Adress / Header

mb_decode_mimeheader($email);
Categories: Linux Tags: , , , ,

Regex to parse CSV

^(("(?:[^"]|"")*"|[^,]*)(,("(?:[^"]|"")*"|[^,]*))*)$

Source

Categories: Linux, PHP Tags: , , ,

How do I get the id of the selected node in jsTree?

$('#tree').jstree('get_selected').attr('id')

Source

Categories: JQuery Tags: , , , , , ,

OSX Lion – Tricks and Tweeks

Some configuration Options / Notes for OSX Lion, more may be added later (without a update note)

Overblend Dashboard, instead of own space
system preferences -> Mission Control -> uncheck “Show Dashboard as a space”

Mission Control: Desktops get automatically rearranged
system preferences -> Mission Control -> uncheck “Automatically rearrange spaces based on most recent use”

Firefox / Chrome back/forward gesture does not work anymore
system preferences -> Trackpad -> Tab: “More Gestures” -> Set “Swipe between pages” to “Swipe left or right with three fingers”

Scrolling (Trackpad) is upsidedown
system preferences -> tab: “Scroll & Zoom” -> uncheck “Scroll direction: natural”

Hide name in upper right finder bar
system preferences -> User & Groups -> Login Options -> Uncheck “Show fast user switching menu as”

Finder shows “All my files” overview on each start
Finder -> Preferences -> tab “General” -> “New Finder windows show”

Parallels window does not show
Right click on the parallels icon in the dock -> Options -> Select “This Desktop”

Select Spaces in Mission Control System 10.7
Hold Option Key while clicking on a Desktop in Mission Control

Seite: 1 2 3 4 5 6 Nächste