verwijderen van de google update agent in mac osx
[edit]
defaults write com.google.Keystone.Agent checkInterval 0
Waar 0 het aantal seconden is dat er gewacht gaat worden.
Onderstaande werkte niet meer na update naar de laatste Google Chrome versie. (5.0.375.55)
Per gebruiker
~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py –uninstall
En een keer voor iedereen…
sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py –uninstall
macbook home en end toetsen
Zucht..
Een macbook heeft geen home en end toetsen oh en geen page-down en up..
Gelukkig kan je in terminal je keyboard settings aanpassen.
- Home -> \033[H
- End -> \033[F
- Page-down -> \033[6~
- Page-up -> \033[5~
Nu kan je met de ‘fn-toets’ en de pijltjes home, end, page-up, page-down nabootsen. (ja helaas 2 toetsen voor alles..)
enable TCP in ubuntu
Vandaag wilde ik db2cc starten en na xhost + en nolisten uit de service gehaald te hebben werkte het nog niet..
Uiteindelijk werkte deze optie wel..
- Zoek in het bestand: /etc/gdm/gdm.schemas
- Naar: security/DisallowTCP
- Verander daar True in False en herstart X (sudo /etc/init.d/gdm restart)
ipcc uploaden met iTunes 9
Normaal kan je via iTunes (option voor Mac en shift voor Windows) en update ipcc files uploaden om mms of tethering aan te zetten. Maar met iTunes 9 kan dit niet out of the box.
Met dit commando word het weer enabled.
Mac:
defaults write com.apple.iTunes carrier-testing -bool TRUE
Windows:
C:\Program Files\iTunes\iTunes.exe” /setPrefInt carrier-testing 1
Disable call forwarding on jailbreaked iPhone
Als je een iphone hebt met een niet door apple ondersteunde provider, zoals bijvoorbeeld Vodafone en je wilt geen vervelende Call Forwarding messages. Dan is de oplossing dat je het bestand carrier.plist aanpast.
Het bestand kan je vinden in de directory: /System/Library/Carrier Bundles/Unknown.bundle
Wijzig hier:
[key]ShowCallForwarded[/key]
[YES/]
[key]ShowCallForwarding[/key]
[YES/]
Van YES naar NO.
forceer Safari om links in tabs te openen..
Ondanks de instellingen in Safari for Mac opent deze toch (sommige) links niet in tabs.
Dit kan je forceren door in een terminal:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
(stop safari voordat je begint of herstart erna..)
start ps3
lol vanavond zend Sony een nieuwe reclame uit in Engeland die eindigd met de ‘opdracht’ op op internet te zoeken naar ‘start ps3′ En dit geeft geen positieve resultaten als je dat bijvoorbeeld met google doet
linux find change only files or dirs..
Handy commandline for chmodding dirs and files.. (linox.be)
find /dir/to/chmod/all/dirs -type d -exec chmod xxx {} \;
find /dir/to/chmod/all/files -type f -exec chmod xxx {} \;
Handy info {for me}
If you don’t want to use php5-cgi+suPHP for a particular website on your ISPConfig server, there is a solution. Login to your server as root and enable the php5 module for Apache2:
a2enmod php5
Restart Apache2 with:
/etc/init.d/apache2 force-reload
Within ISPConfig, disable the php and add the following within the Apache directives field for your site:
<Directory /var/www/webX/web> AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode Off </Directory>
Now your ISPConfig with Debian Etch, uses PHP5-mod and PHP5-CGI+suPHP. In the most situations you’ll only need PHP5-CGI+suPHP. However, if you can not use the suphp mechanism for some reasons, you can still use php5 as a module for that particular website.