DELL E178FP xorg.conf Nvidia GeForce 6600

На всякий случай сохраняю копию своего xorg файла для монитора DELL E178FP и видеокарты GeForce 6600, поскольку помню что продолжительное время трахался с настройкой иксов под этот моник.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Mon Nov 3 08:46:46 UTC 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
ModelName "DELL E178FP"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 76.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "1280x1024_75 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Module"
Load "glx"
EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "MinSpeed" "1.75"
# Option "MaxSpeed" "1.75"
# Option "AccelFactor" "0.020"
#EndSection

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Device0"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

[ ]
 

Это можно сделать при помощи неофициального репозитория https://launchpad.net/~fkrull/+archive/deadsnakes
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo aptitude search python2.5
Лично мне эта хрень была нужна для установки bakefile, которая была нужна для установки e, потомучто на дворе уже 2011 год, а ни одного адекватного редактора с нормальной подсветкой кода так и не придумано. Vim несколько раз пытался изучить и буду пытаться дальше, однако, учитывая, что у меня раскладка colemak, это несколько сложнее получается. К тому же по умолчанию того что мне надо там нет, поэтому нужно еще будет ставить плагины, и т.д. и .т.п. и неизвестно что еще в итоге получится.

[ ]
 

Ничто не предвещало беды.

if($rs = mysql_fetch_assoc($rs) && !is_null($rs['min_date']))
{
//..
}

Но вместо того чтобы проверять условия, PHP включает оператор && в расчет rs! Получается что-то вроде:
$rs = (mysql_fetch_assoc($rs) && !is_null($rs['min_date']))

Поэтому пришлось дополнительно указывать скобки, чтобы все работало правильно:

if(($rs = mysql_fetch_assoc($rs)) && (!is_null($rs['min_date'])))
{
//..
}

А сколько таких ошибок еще мною в коде допущено - даже не хочется и думать. Вернее, хочется думать, что ни одной.

 

Захотел сконвертить flv в mp3. Долго искал онлайн-сервис, ничего не нашел, но зато могу порекомендовать хрень которая замечательно работает под вайном: http://www.convertflvtomp3.com/

 

Часто люди путают чувство голода с чувством жажды.
Всегда, когда хотите есть - сначала выпейте стакан теплой воды. Если через 10-15 минут это чувство не исчезло - вы действительно хотите есть. Если исчезло - вы просто хотели пить.

 

Решается командой

sudo apt-get install gvfs-backends

[ ]
 

Чтобы это исправить попробуйте
sudo chmod a+rwx /etc/fuse.conf
и если не поможет то
sudo addgroup USERNAME fuse

[ ]
 

Купил себе эти наушники-капельки и весьма доволен качеством звучания по сравнению с прежними, название которых забыл.