Archive for the ‘computer / it’ Category

h1

Ghostery

2012/01/27

Geez, just by coincidence I stumbled into a new extension for Safari: Ghostery.

Navigate to https://extensions.apple.com/ , go to ‘Security’ in the left hand menu, scroll down to Ghostery and click ‘Install’. After a few seconds it’ll be installed and will walk you through the options. Make sure to activate all trackers (the check box on the top left above the list), and the uncheck the boxes for wordpress counter and statcounter if you should be running a wordpress blog.

I’ve set the visibility to 5 seconds in the top right corner of Safari, just to make sure it didn’t miss a tracker.

This tiny utility is really incredible. Because you don’t have to wait for the site you visit to connect to the tracker server, the pages just pop into your browser. Safari is running as if on steroids after the ‘treatment’ :-)

Highly recommended for anyone who wants to keep off the nosy trackers and advertisers

h1

How to block sniffers

2011/09/14

OK, it’s time to block the impertinent sniffers like google analytics. But how? Download a plug-in from google for your browser? I wouldn’t trust anything from google…

Here we go:

On the Mac open Macintosh HD, open the folder ‘private’, then the folder ‘etc’, then open the file ‘hosts’ with a plain text editor and add following line:

127.0.0.1 http://www.google-analytics.com

Save the file as a plain and simple text file without any extension.

On Windoze, search for the file ‘hosts’ and repeat the above described steps.

Simple? You bet!

h1

Speeding up OS X Snow Leopard

2011/02/18

 

Just recently I’ve discovered that my iMac slowed down a bit, particularly after installing Thunderbird for Mac OS X Snow Leopard. Thunderbird seemed to load for ages <sigh>. Next coincidence was a messed up font. Uh, that needed to be fixed soon.

Step 1: Start FontBook, select ‘All Fonts’ in the left column, place your cursor into the right column and ⌘ + A (for ‘select all’).

Step 2: Right Click over the selected fonts, select ‘Validate’. The validator starts running, and depending on the number of fonts you have installed, it returns a message after a minute (or five…). If everything is ok, you can close FontBook. If you get an error message, select the drop down menu in the top left area and select ‘Errors and Warnings’.

Step 3: Only the faulty fonts or duplicates will be displayed.

Step 4: Select all and click REMOVE. They will be moved to the system trash.

Close FontBook.

Well, this alone won’t speed up your Mac, but the next part will definitely do the trick.

Go to Onyx and download Onyx. It is a free utility which automatically unpacks from the archive. Drag the Onyx app into your application folder and start Onyx.

It will notify you that it will check the S.M.A.R.T status of your hard drive(s). Click OK.

In the next step it will notify you that it will check the volume structure. If you have time, click OK, if not (recommended), click CANCEL.

Now Onyx will ask for your admin password. Without admin password it will not perform the other checks!

Select the two brushes for ‘Cleaning’. Once there, click the ‘Fonts’ tab. Check all check boxes and hit the button ‘Execute’. Onyx will now close all open apps and start the process. After finishing, it will ask you to reboot. Don’t do this, click CANCEL and close Onyx. Now log out and log in again.

Some apps while take a while opening, but only the very first time. And voilà, your Mac is considerably faster now.

One additional benefit – at least on my iMac: the erroneously jumping cursor terminated its lunatic movements across the screen. What a relief!

h1

Writing faster

2011/01/25

Don’t all of us dream of being able to type fast on our keyboards? Yup, even decades after my initial typwriting training courses at a school I wanted to type faster. 250 characters/minute is fast, but not fast enough for me! :-)

After my switch to the Mac I missed certain keys I got used to in Windows and Linux, so I started researching for a nice and powerful utility. I’ve checked and tried several, until I discovered ‘Typinator’.

(The Typinator logo)

Typinator is a very fast download (click here to go directly to their web site), quick install and easy to set up. It comes with predefined sets and predefined auto corrections tools for German and English (I miss Spanish…).

You can add any abbreviations you want and assign an expansion text, a bitmap (i.e. for a signature), as well as a definition where you want the cursor to be after the text expansion. Most important for me: the extended characters. Now, if I want the apple icon, I just type ‘.apple’ and Typinator returns  . I love it!

I’ve set up a short cut for forums: I just copy the text I want to quote, type the abbreviation, and Typinator will place the copied text between the tags and place the cursor one line below my quote. All just by typing this bracket two times: [[

This is where the fun really starts. For me it is a fantastic productivity tool I won't want to miss. Did I mention that Typinator supports any application on your Mac? ;-) But of course you even can limit a certain set to a specific application if you want or need to. Just give it a try.

Though it is not freeware, the amortization is quick, so your bean counters shouldn't be concerned at all and approve the purchase asap:

Just do the math: if your 'man hour' costs 30 US $ or 30 €, Typinator will be a very profitable tool after a certain time span. Take the above example: 30 x 24 = 720 US $ or 720 € savings. Based on a price of 19.99 Euros, your savings will be 700 € or US $ after given amount of time.

List any other tool or utility that is efficient as this one!

OK, I can imagine that you don't want to hesitate to grab your own copy now: Typinator is located here!

Some tips & tricks for Typinator

If you are working with many files and several different or modified versions of a file, you should consider to use a file naming convention that lets you easily check in your Mac Finder which one is the latest. Let's say you are working on your CV. You could name it CV01.pages, CV02.pages, etc., but if you have set up Finder that it won't display the actual dates, you'll be pretty soon lost.

Here is the trick:

Open Typinator by clicking the icon in the menu

Select 'My Abbreviations' in the top area, and press the + symbol below the main area. Now type .ds in the abbreviation field, and this string into the Expansion field:

{YYYY}-{MM}-{DD} {h024}:{m}:{s}

To do this, use the drop down menu on the right hand side of the Expansion field:

After you've 'assembled' your string, click the close button at the bottom right. Finished.

Now open your document, modify it, save it with 'save as' and name it cv.ds - this will automatically expand to

cv2011-01-25 19:50:49

A few modifications later, repeat this step:

cv2011-01-25 19:51:41

After working and modifying your cv - even if it's over a period of months - you can tell finder to sort your files by name and still have your cv files sorted by date and pick the one you need to open again:

  • cv2011-01-25 19:50:49
  • cv2011-01-25 19:51:41
  • cv2011-01-25 19:53:32

The dot is placed in front of the abbreviation to prevent Typinator to expand the ds if you i.e. type 'beds' - normal words are not preceded by a dot.

Another sample: if you participate in forums, you know that most forums are located somewhere down in the menu structure of a web site. Just copy the URL of your favorite forum, add a new abbreviation, i.e. .mh (for mechanic heads ;-) ), paste the URL into your Expansion window and close Typinator. Now pull up your browser, type .mh and it will expand to http://www.mechanic-heads.org/forums/precisionmechanics. What a time saver!

If you are actively participating in the forum, you either have the option to reply to a post, or to reply to a post with quoted text. Nothing wrong with it, however, many times a complete quote of the text is not necessary.

Open Typinator, add a new abbreviation, type i.e. [[ (two square left brackets) and in the Expansion field:

[quote]{^}{clip}[/quote]
{^}

Now copy the text you want to quote, click REPLY in the forum message board, type [[ and it will

  • A. paste your selected text between the HTML quote tags
  • B. add an empty line
  • C. place your cursor below the empty line

and let’s you start typing right away.

Cool stuff? You bet!

You really should try to get familiar with the drop down menu on the right hand side of the Expansion window – it lets you do beautiful things.

You can even ‘code’ a signature clip with your name, address and a bitmap clip with your signature.

To use Typinator to its fullest extent, just open it, click ‘Action’ at top left, click ‘Help’ in the drop down and discover the excellent and simple manual.

h1

Pixelated Icons

2011/01/24

From time to time it happens, that icons in the dock turn blurry or pixelated:

Until today I couldn’t find an elegant solution during my extensive research. Some users recommended to reboot (really reboot a Mac?), or to use Onyx to clear all user caches and restart.

Hell, it is easier by removing the file ~users/username/Library/Preferences/com.apple.dock.plist and just log out and login again.

I guess this is currently the most elegant way to remove the icon pixelation and will keep your precious uptime unchanged! ;-)

Sometimes the icons become pixelated after you have updated a software. I don’t know the reason for this behavior, but may be an internal pointer shows to an ‘old’ location. Anyway, if you remove the pixelated icon by right clicking it -> Options -> Remove from Dock and then use the top menu in finder -> Go -> Applications and double click the application to restart it, the icon appears in the dock where you can right click it -> Options -> Keep in Dock. For some applications this procedure really does the trick.

If you have another trick, I’d appreciate if you would share it with me.

h1

anti virus for mac OS X

2011/01/04

anti virus for mac os x – snow leopard

Of course you don’t need an anti virus software for your Mac. However, if you should collaborate with others (that means Windoze users), an antivirus engine comes in handy to protect your team members.

Just imagine you receive a mail with an attachment, which you read and forward. It might be virus infested, and the others might blame you for sending them a ‘big surprise’.

On the Mac you don’t even notice the virus or trojan ;-)

Just steer to ClamXav and download the file to install it. It’s simple. During the installation the installer might download additional modules, which is just a matter of seconds.

Move the application to your applications folder and run it. Now you can configure ClamXav and ClamXav Sentry. Just tell ClamXav in the preference / general pane that you want it to scan your incoming e-mail, your download and your mail download folder.

Click the tab ‘Sentry’ and set up ClamXav Sentry to monitor the folders where you usually transfer downloads to, as well as your mail folders (usually they reside in the ~user/library/mail/mailboxes if you use Mac Mail, and if you use Thunderbird they are located in the ~user/library/Thunderbird/Profiles/XXX.default/Mail/pop.domain.net  (if you have more than one mail account, you’ll find several mailboxes here). Tell the pref pane to start ClamXav Sentry on boot. Now comes the trick: Start ClamXav Sentry by going to the menu at the top of your screen, then click ‘Start ClamXav Sentry’. Done.

The ClamXav Sentry Menu in the Menu Bar of your Mac:

From now on it will monitor your mails and remove everything that contains a virus or trojan, and you’ll stay out of troubled water.

ClamXav and ClamXav Sentry don’t use much resources…

Finally, you can check if ClamXav and ClamXav Sentry do their job:

Right click on your desktop and click on new then click on text document, (it does not matter what you name it).
Copy the code below in the text document (has to all be on one line to work).

Code:

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

Once you have done that click file and then click save.
Your virus scanner should pick it up as soon as you save it but if not right click on the text document and click scan for viruses or something like that.
This is **not** a real virus! it is just to check that your virus scanner is working.

One more step you can do: send yourself an e-mail with the new file as an attachment. ClamXav Sentry will immediately detect the virus or trojan signature (even if it is double wrapped in a zip file!) and move it to the trash can.

ClamXav might not be the fastest engine you can get, but it is extremely reliable and will detect viruses other programs just miss out…

Great stuff? You bet!

Update! 2011-03-24

I’ve just discovered a web site, where you can download ready made test files to a watched folder: EICAR

Just scroll down the page and read the ‘important note’.

h1

Standby Problem iMac Mac OSX fixed !

2010/12/01

Do you have problems with your iMac going into standby? How many times did you reboot, resetting the PRAM? OK, here is a solution for you folks who have an external WD (Western Digital) MyBook Studio connected to their iMac:

Remove the WD drive manager and anything related to it, reboot and your problem will be solved. This f*@&%$§ing software prevents the iMac going into standby or sleep. I can imagine that little HD apps from other HD manufacturers might cause the same trouble.

Just in case you don’t know how to reset PRAM (Parameter Random Access Memory):

  • Remove the file:

HD /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

  • -> trash it. The system might ask you for your admin password.
  • Close all apps. Reboot your machine. After the screen goes blank, press and hold ‘p‘, ‘r‘, ‘command ‘ and ‘option ‘ at the same time. All four keys. Keep holding them. Don’t let go when you hear the first sound. Keep holding them until you hear the third sound, then lift your fingers and your machine will boot up normally.
  • Go into System Preferences -> Energy and modify the settings to your gusto.

Enjoy a clean and timely standby in the future! Unlike prior versions of the Mac OS, Mac OS X 10.6.5 does not store network settings in PRAM. If you experience a network issue, resetting PRAM will not help.

If PRAM is reset, you may need to verify your time zone, startup volume, and volume settings using System Preferences. Certain firmware updates may reset PRAM as a normal part of their installation process.

If you ever should need to reset the SMC (System Management Controller), proceed as follows:

  • From the Apple menu, choose Shut Down (or if the computer is not responding, hold the power button until it turns off).
  • Unplug all cables from the computer, including the power cord and any display cables.
  • Wait at least 15 seconds.
  • Plug the power cord back in, making sure the power button is not being pressed at the time. Then reconnect your keyboard and mouse to the computer.
  • Press the power button on the back to start up your computer.
h1

Mac OS X 10.6.4 FireWire 800 Bug – fixed !

2010/12/01

Did you experience a speed drop in file transfers from your Mac to an external FireWire 800 drive? If so, you should read this:

http://discussions.apple.com/thread.jspa?threadID=2156546&tstart=0

I’ll cite one important comment here:

——————–//–

The problem lies within the file IOFirewireSerialBusProtocolTransport.kext. If you replace it with the one from 10.5 your FireWire should work properly. One caveat, you MUST repair permissions BEFORE restarting or risk not having the replacement file recognized. If you repair permissions after restarting the replacement may not be recognized.

——————–//–

It’s been a long search, but finally I’ve found the answer in this great forum.

Are you scared of doing it? No panic, it’s easy. Grab the file from your Installer disk or – if you are using time machine – from your backup. Date around Juli 2009.

Make a safety copy of the file /System/Library/Extensions/IOFirewireSerialBusProtocolTransport.kext somewhere else in another folder, and copy the old file into the above mentioned folder. You’ll be asked to submit your admin password.

Now run a ‘Repair Permissions’. Either use Onyx or Snow Leopard Cache Cleaner if you don’t know how to perform a ‘Repair Permissions’. Onyx is free, sLCC costs a few dollars (absolutely worth the investment!). Or start Terminal and submit following command:

diskutil repairPermissions /

and hit ENTER ⏎. The system might ask you for your password.

Reboot. Don’t panic if your Mac should need a bit longer to boot, just wait. I’ve done it, many other Mac users have done it, and we are definitely happy now.

With the ‘new’ SnowLeopard driver I achieved some 35.6 MB/sec, with the ‘old’ driver I achieve 59.4 MB/sec. That’s a lot if you are working with large files or if you have a large hard disk to be backed up with time machine. It’ll cut the backup time by almost 50%.

h1

Datensicherheit – Datenverschlüsselung

2010/11/10

Sind Sie sicher, dass Ihre Daten sicher sind? Verwenden Sie für den Austausch sensibler Daten per e-mail oder in Archiven per CD/DVD eine Verschlüsselungs-Software? Wenn nicht, könnten Sie ein Problem bekommen!

Wissen Sie, dass der deutsche Staat – spätestens seit Schäuble Innenminister war – kräftig Ihre e-mails mitliest? Und wenn nicht der deutsche Staat, so doch zumindest die Amerikaner mit ihrem ‘Echelon’-System, das weltumspannend arbeitet und hervorragend für Industrie-Spionage geeignet ist.

Wenn Ihnen also etwas daran liegt, dass Ihre Daten vertraulich bleiben, sollten Sie mindestens eine Verschlüsselungstechnik einsetzen. Es muss nicht gleich die teuerste Lösung wie PGP sein, GPG oder GNUPG ist der kommerziellen Variante ebenbürtig [ GNU GPL = General Public License, d.h. die Software ist 'öffentlich', frei verfügbar und - besonders wichtig - der Code muss veröffentlich werden, d.h. jeder Interessierte kann nachsehen und prüfen, ob die Software einen Trojaner beinhaltet, etc. ], aber eben kostenlos. Ich gebe hier bewusst keine Links, weil ich mit einem US-Betriebssystem arbeite. Googlen Sie nach den Begriffen und Sie werden recht schnell die deutschen Seiten inklusive der Anleitungen dazu finden.

GPG (GNU Privacy Guard) gibt es für Linux, Apple, Windows (und wahrscheinlich noch für weitere Betriebssysteme). Die Installation ist einfach, das Generieren der Schlüssel ebenfalls. Bei der Installation der Plug-Ins für den Mail-Client wird es in einigen Fällen leider schon etwas komplizierter, aber ich gehe davon aus, dass jeder einen guten Bekannten, Nachbarn oder System-Administrator kennt, der Ihnen da hilfreich zur Seite stehen kann.

Die Verschlüsselung erfolgt nach unterschiedlichen kryptografischen Systemen und kann – besonders empfehlenswert – eine Schlüssel-Länge von bis zu 4.096 bits haben: daran würden sich auch hochgerüstete staatliche Stellen die Zähne vergebens ausbeissen. Kleiner Tip am Rande: während der Generierung des Schlüssels sollten Sie Ihre Maus so viel wie möglich bewegen, eventuell noch ein paar willkürliche Tasten auf der Tastatur drücken, um die Komplexität des Schlüssels zu vergrössern.

Nach der Generierung des Schlüssels werden Sie nach einem Passphrase gefragt. GPG hat einen Sicherheits-Indikator, der Ihnen anzeigt, ob Ihr Passphrase sicher oder nicht sicher ist. Machen Sie es einfach so: bilden Sie einen Satz, den Sie sich merken können. Beispiel:

ichbinschon@590827@MALINSKINOGEGANGEN

Da ist alles drin, was einen potentiellen Lauscher scheitern lässt: eine gesunder Mix von Gross- & Kleinbuchstaben, Sonderzeichen und Zahlen. Ein Passphrase dieser Art kann auf keinen Fall von einem sogenannten ‘Dictionary’ Angriff geknackt werden.

Haben Sie alles fertig, exportieren Sie den öffentlichen Schlüssel und schicken ihn an einen öffentlichen Schlüssel-Server – dort kann er von jedem, der Ihnen eine verschlüsselte e-mail senden will, abgeholt und integriert werden. Sie müssen ihm dann nur noch den Passphrase für den öffentlichen Schlüssel mitteilen (am besten per Telefon). Der öffentliche Schlüssel hat übrigens nichts mit Ihrem privaten Schlüssel zu tun – dafür gibt es einen anderen Passphrase.

Eine weitere Möglichkeit ist die Verschlüsselung von Archiven zum Austausch von Daten zwischen zwei oder mehreren Parteien. Die beste (und zudem noch kostenlose Variante) basiert auf dem 7z- oder 7zip-Format, weil es die stärkste Kompression und Verschlüsselung per Password bietet. Auf einem Mac gibt es dafür Keka, unter Windows 7zip.

Links Keka, rechts 7zip   

Wichtig ist bei der Verschlüsselung nur, dass Sie das 7z- oder 7zip-Format auswählen, ‘solid archive’, dazu ‘encrypt file names’ und ein Password. Bei WinZip oder anderen Programmen ist das Password mit frei verfügbarer Software zu knacken, bei 7zip nicht! Wenn Sie ganz sicher gehen wollen, nehmen Sie ein Password wie bereits oben erwähnt:

ichbinschon@590827@MALINSKINOGEGANGEN

Übersetzt: ich bin schon 590827 Mal ins Kino gegangen, wobei die 59 ein Geburtsjahr, 08 ein Monat und 27 ein Tag sein können – der Zahlenspielerei sind keine Grenzen gesetzt. Hauptsache, Sie merken sich dieses Password gut, denn wenn Sie es vergessen und die Original-Datei gelöscht haben, kann Ihnen niemand helfen, an die Daten heran zu kommen…

Für alle Computer-Nutzer, die das Thema Sicherheit total überziehen, hier ein kleiner Comic, der die Sache auf den Punkt bringt, nach dem Motto ‘Vor Osama-bin-Laden kann man nichts verbergen’ ;-)

[ comic © 1999-2010 by XKCD under Creative Commons Attribution-NonCommercial 2.5 License ]

Viel Spass! Und denken Sie daran:

Bei riesigen Nebenwirkungen fressen Sie die Packungsbeilage und erschlagen Sie Ihren Arzt und Apotheker.

In diesem Sinne: Bleiben Sie gesund! Für die Implementierung und Beratung von Verschlüsselung in Unternehmen stehe ich gern jederzeit zur Verfügung (Kontakt-Daten finden Sie unter about me)

h1

how to kill web advertising

2010/10/06

So you are another human who is annoyed by the pesky Flash banners, pop-overs, screaming and blinking ads? And you are fed up by the long loading times of web pages? Tired of waiting for the content you are looking for, because loading the ads takes up to 10 times as long as loading the content?

Glimmerblocker for Mac OS X   Proxomitron for Windows

AdBlock for Safari

Stop the desperation, I have reliable solutions. The first one — for the Mac — is ‘GlimmerBlocker‘, the second one — for the PC — is ‘Proxomitron‘. [ If you are looking for a localized version, i.e. German, just check their sites or google for it . One German site is located here]. Both are free, though the author of GlimmerBlocker really deserves a donation for this fantastic software (the author of Proxomitron unfortunately left this world several years ago).

Installation and set up is a breeze. GlimmerBlocker integrates into the Mac OS X ‘System Preference Panel’. Check out the site and look for filters you can subscribe to — they are really great stuff. Though GlimmerBlocker already comes with an excellent set of filter rules, the separate subscription filters are worth the extra effort.

In addition to the standard subscriptions I have collected and defined hundreds of additional filters and rules. Currently I am 100% ad free, without pop-ups, pop-unders, blinkers, Flash, etc. while cruising the net with Safari. I know, if you use Opera or Firefox, you can define built-in ad blockers. However, GlimmerBlocker and Proxomitron are based on a proxy, that means the ad code is blocked before it will even hit your browser. Your extra benefit: you can use **any** browser, set up the proxy port specified by the blocker, and enjoy an ad free life. No need to export/import/convert the filter list – GlimmerBlocker and Proxomitron work system wide. If you use Little Snitch, GlimmerBlocker has a very good documentation on how to manage GlimmerBlocker to work with Little Snitch.

[ Update 2011-07-21 ]

If GlimmerBlocker will have problems to filter out ads, it’s because more and more nobrainers code the ads into ‘https’ links. Because GlimmerBlocker uses https for the filters, it can’t block them. But there is a solution, as long as you are using Safari or Chrome: AdBlock for Safari. It’s a fast download via the extensions menu for Safari. After installation, just right click and at the bottom of the pop up menu you can open up the dialog. AdBlock helped me to get rid of those pesky Flash ads. I really hate flickering stuff in my view! Thanks to GlimmerBlocker plus AdBlock I have fast loading and ad free web pages.

Just two samples on how nice ad free sites can look:

cnn.com — ad free

chip.de — one of the most ad infested web sites in Germany — ad free

xing.com – no more Flash ads thanks to AdBlocker