Surveiller /var/log/cups/error.log
message :
E [] Unsupported character set “iso-8859-1″!
Restart samba
LANG=fr_BE.UTF-8 /etc/init.d/samba restart
Blog dans lequel je note comme aide-mémoire les trucs et astuces que j'ai utilisés pour configurer selon mes besoins mes machines sous Linux Ubuntu Raspbian Macosx Windows.
Surveiller /var/log/cups/error.log
message :
E [] Unsupported character set “iso-8859-1″!
Restart samba
LANG=fr_BE.UTF-8 /etc/init.d/samba restart
HOT-TO FIX TIME MACHINE MAC OS 10.5.8 AFTER CHANGING NETWORK INTERFACE
Changes to do with the backup drive
cd /Volumes/BACKUP_DRIVE
xattr -l *
pour lister les attributs étendus des fichiers présents.
Sur certains drives Backups.backupdb a un attribut avec la mac address et d'autres non...
Si mac address alors la changer avec la nouvelle
Tout d'abord couper l'acl
fsaclctl -p "/Volumes/BACKUP_DRIVE" -d
écrire la nouvelle adresse
xattr -w com.apple.backupd.BackupMachineAddress 00:1d:60:c1:d9:50 Backups.backupdb
Aller au dir de la machine
cd plutonX
xattr -w com.apple.backupd.BackupMachineAddress 00:1d:60:c1:d9:50 plutonX
réactiver l'acl
fsaclctl -p "/Volumes/BACKUP_DRIVE" -e
changes to do with the network infos
Je n'ai pas pu redémarrer time machine sur ma machine tant que je n'ai pas aussi fait ces changements qui consistent à "reseter" le nom bsd de l'interface à supposer que la précédente carte ethernet était "en0"
J'ai supprimé du dir
/Library/Preferences/SystemConfiguration/
les trois fichiers suivants :
NetworkInterfaces.plist
com.apple.network.identification.plist
preferences.plist
Ensuite reboot et reconfigurer le réseau.
A l'aide de OSXTools86 j'ai aussi réappliqué le fix tile machine (mais je ne pense pas que c'était nécessaire).
Pour imprimer en un seul fichier PDF la totalité du workbook il faut bien prendre garde que dans le Page setup de chaque feuille le First Page number est à auto, car si l'on spécifie un numéro de page qui n'est pas dans la continuité des pages précédentes, la feuille est imprimée dans un fichier PDF à part.
sudo update-alternatives --config editor
property commandString : "ssh user@host" -- < Edit this line as desired.
tell application "Terminal" -- Get a free window to run the commandString,
set windowCount to (count of the windows)
--activate
if ((count of windows) is 1) then
close window 1 -- attention, s'il n'y a qu'une seule fenêtre ouverte, elle sera fermée
--tell window 1
-- set miniaturized to true
--end tell
repeat with w from 1 to 3 -- je veux 3 connexions
tell window (windowCount + 1)
do script commandString
end tell
tell application "Terminal" to set current settings of first window to settings set 7
--settings 7 = my colors and ISO-8859-1ISO Latin-1 encoding and police 16 pt
tell front window
set zoomed to true
-- Je veux que mes 3 fenêtres soient maximizées et occupent tout l'écran
end tell
end repeat
else
repeat with w from 1 to 3
tell window (windowCount + 1)
do script commandString
end tell
tell application "Terminal" to set current settings of first window to settings set 7
tell front window
set zoomed to true
end tell
end repeat
end if
end tell
*** Autre version, avec trois fenêtres disposées 1 full screen et 2 half screen ***
pour un écran de 1680 x 1050
property commandString : "ssh meteo@mars" -- < Edit this line as desired.
tell application "Terminal" -- Get a free window to run the commandString,
set windowCount to (count of the windows)
activate
if ((count of windows) is 1) then
close window 1
--tell window 1
-- set miniaturized to true
--end tell
repeat with w from 1 to 3
tell window (windowCount + 1)
do script commandString
end tell
tell application "Terminal" to set current settings of first window to settings set 7
tell front window
if w is 1 then
set zoomed to true
else
if w is 2 then
set position to {20, 22}
set size to {825, 960}
--properties
--tell application "Terminal" to set bounds of first window to {0, 0, 820, 975}
else
set position to {850, 22}
set size to {825, 960}
--properties
--tell application "Terminal" to set bounds of first window to {0, 670, 820, 975}
end if
end if
end tell
end repeat
else
repeat with w from 1 to 3
tell window (windowCount + 1)
do script commandString
end tell
tell application "Terminal" to set current settings of first window to settings set 7
tell front window
if w is 1 then
set zoomed to true
else
if w is 2 then
set position to {20, 22}
set size to {825, 960}
--properties
--tell application "Terminal" to set bounds of first window to {0, 0, 820, 975}
else
set position to {850, 22}
set size to {825, 960}
--properties
--tell application "Terminal" to set bounds of first window to {0, 670, 820, 975}
end if
end if
end tell
end repeat
end if
end tell
select database();
to disable the plugin
completely, you can use the command
let loaded_matchparen = 1
in your ~/.vimrc
To turn it off
:NoMatchParen
To turn it back on
:DoMatchParen