<$BlogRSDUrl$>

Friday, April 23, 2004

Microsoft .NET Framework SDK QuickStarts, Tutorials and Samples 

Microsoft .NET Framework SDK QuickStarts, Tutorials and Samples
To get started with .net stuff, go here.

That which ye persist in doing................ 

DeseretBook.com - Mormon Life
That which ye persist in doing................

Wednesday, April 21, 2004

MythTv Install Notes 

Enable XvMC and lirc support
or
install-i686-lx

//to install nvidia drivers
install-nvidia.sh

//XF86Config-4 File using both tv and Monitor
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"

EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
Load "ddc" # ddc probing of monitor
# Load "GLcore"
Load "dbe"
Load "v4l"
Load "extmod"
Load "glx"
Load "bitmap" # bitmap-fonts
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

EndSection

Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
# These are some Modelines that happen to work on many systems
# Especially the "1024x768" has been thoroughly tested, even on Laptops
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525 #60Hz
Modeline "800x600" 40.12 800 848 968 1056 600 601 605 628 #60Hz
Modeline "1024x768" 85 1024 1056 1152 1360 768 784 787 823
Modeline "1152x864" 92 1152 1208 1368 1474 864 865 875 895
Modeline "1152x864" 110 1152 1240 1324 1552 864 864 876 908
Modeline "1152x864" 135 1152 1464 1592 1776 864 864 876 908
Modeline "1152x864" 137.65 1152 1184 1312 1536 864 866 885 902 -HSync -VSync
Modeline "1280x1024" 80 1280 1296 1512 1568 1024 1025 1037 1165 Interlace
Modeline "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
Modeline "1280x1024" 126.5 1280 1312 1472 1696 1024 1032 1040 1068 -HSync -VSync
Modeline "1280x1024" 135 1280 1312 1456 1712 1024 1027 1030 1064
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
Modeline "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +HSync +VSync
Modeline "1280x1024" 181.75 1280 1312 1440 1696 1024 1031 1046 1072 -HSync -VSync
Modeline "1600x1200" 162 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
Modeline "1600x1200" 189 1600 1664 1856 2160 1200 1201 1204 1250 -HSync -VSync
Modeline "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
Modeline "1600x1200" 220 1600 1616 1808 2080 1200 1204 1207 1244 +HSync +VSync
ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
EndSection

Section "Device"
Identifier "twinview"
Driver "nvidia"
VendorName "All"
BoardName "All"
Option "RenderAccel" "1"
Option "CursorShadow" "1"
Option "TwinView"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "640x480, 640x480;640x480, NULL;NULL,640x480"
#Option "MetaModes" "800x600, 800x600"
#Option "MetaModes" "1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480;"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "crt,tv"
Option "TVOutFormat" "SVideo"
#Option "TVOverScan" ".8"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
# The following line is auto-generated by KNOPPIX mkxf86config
# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "twinview"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

#Section "DRI"
#Mode 0666
#EndSection

//
apt-get update
apt-get install xmltv

//the channel info - Comcast - Provo is gone!!!!
Use Comcast - Salt Lake City (Rebuild)
//it gives you way to many channels, but at least the right ones

//Removing unwanted channels.

If mythfilldatabase grabbed a channel which you do not want to include in your TV listings, you can remove the entries from the xmltv config file and the MySQL database. This often happens with premium channels; for example, HBO or Showtime may be available on your cable TV system, but is scrambled because you're not a subscriber to that channel. Since you can never watch it, you want to get rid of it.

First, comment out the channel from the /.mythtv/.xmltv file by inserting the word "not " (including the space) in front of the unwanted entry. This will prevent xmltv from grabbing future listings.

Next, delete the unwanted item from the channel table so that it will not appear in the EPG or when changing channels. To delete the data from the database we need to perform some steps. First, assuming that HBO is channel 15, we need to find out the internal chanid used by MySQL:

$ mysql -u root mythconverg
mysql> select chanid from channel where channum=15;
+--------+
| chanid |
+--------+
| 1015 |
+--------+
1 row in set (0.00 sec)
mysql> delete from channel where chanid = 1015;

Old program data will be removed over the course of a week. However, you may want to immediately delete any current program listings for the channel that has been removed:

$ mysql -u root mythconverg
mysql> delete from program where chanid = 1015;





Make Acrobat Reader 6 load faster 

Make Acrobat Reader 6 load faster

Tuesday, April 20, 2004

Updating data in mysql with php 

if you are to update data in your database using PHP and you are using variables in your UPDATE sql statement, remember to keep in the single quotes around each variable otherwise the data will not be updated.

$sql = "
UPDATE public
SET field1 = '$var1', field2 = '$var2', field3 = '$var3'
WHERE ID = $varID
";

Php redirect 

Php redirect, will it upset google?
Here is what you can use for a php redirect. I don't know if it is the best way to do things....but it works.

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.phoo.com");
exit();

Monday, April 19, 2004

PayingFast - Send a Money Order Online 

PayingFast - Send a Money Order Online

Sunday, April 18, 2004

Acronis True Image - Reviews and free downloads at Download.com 

Acronis True Image - Reviews and free downloads at Download.com
Here is the image software that I used to make and image of my hardrive before I installed windows 2003 server on it.

Pop up and Ad blocker for IE. Works Great!!!!!  

Power IE - Download this great ad blocker and popup blocker! Control all IE windows simultaneously.
Here is a beutiful ad blocker for ie!!!!!!!!!! Even gets flash...!

Mastering IIS FTP - Part 1 - Redirecting Users 

Mastering IIS FTP - Part 1 - Redirecting Users
Setting up ftp in IIS. It took me a little while to get it figured out, but here is the answer.

Mastering IIS FTP - Part 1 - Redirecting Users 

Mastering IIS FTP - Part 1 - Redirecting Users
Setting up ftp in IIS. It took me a little while to get it figured out, but here is the answer.

IIS Answers - How to create multiple websites with one IP address 

IIS Answers - How to create multiple websites with one IP address
Virtual Hosts in IIS

Builder.com - Beyond the code 

Builder.com - Beyond the code
Web Development Reference

Dreamweaver Tutorial 

Dreamweaver Tutorial
beginning tutorial for dreamweaver

TutorGig.com - The Tutorial Website 

TutorGig.com - The Tutorial Website
Check this site out when you are looking for tutorials on computer software.

FAQs, Help and Tutorials | Software and Software Downloads 

FAQs, Help and Tutorials | Software and Software Downloads:
Here are a bunch of links to tuorials for gimp.

GIMP Tutorials! 

GIMP Tutorials!
Gimp tutorials pointer page

GIMP - Documentation 

GIMP - Documentation
Here is an open source photoshop-like program. I am going to check it out and see what I think

323384 - HOW TO: Set Up an FTP Server in Windows Server 2003 

323384 - HOW TO: Set Up an FTP Server in Windows Server 2003
My attempt to set up the ftp server in windows 2003 server.

This page is powered by Blogger. Isn't yours?