<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-622630015917250117</id><updated>2012-02-15T23:18:34.977-08:00</updated><title type='text'>Geek tips, linux, programming, hacks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-5408441508442436281</id><published>2011-11-12T22:09:00.000-08:00</published><updated>2011-11-12T22:12:02.172-08:00</updated><title type='text'>Ubuntu single paste to install lamp with phpmyadmin</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;sudo apt-get install apache2&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt; libapache2-mod-php5 php5 php5-common php5-curl  php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash  php5-mysql php5-pspell php5-snmp &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt; mysql-server mysql-client&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt; phpmyadmin&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-5408441508442436281?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/5408441508442436281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=5408441508442436281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5408441508442436281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5408441508442436281'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/11/ubuntu-single-paste-to-install-lamp.html' title='Ubuntu single paste to install lamp with phpmyadmin'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-8008638755029997395</id><published>2011-11-07T21:22:00.000-08:00</published><updated>2011-11-07T21:27:22.827-08:00</updated><title type='text'>mysql.m compile 64 bit ubuntu linux</title><content type='html'>So I downloaded the awesome file exchange mysql.cpp file to link Matlab.&lt;br /&gt;&lt;br /&gt;http://www.mathworks.com/matlabcentral/fileexchange/8663-mysql-database-connector&lt;br /&gt;&lt;br /&gt;Then I installed the mysql and the extra libraries I thought I needed.&lt;br /&gt;&lt;br /&gt;Then in Matlab I ran:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mex -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient mysql.cpp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and I got this error:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Warning: You are using gcc version "4.5.2-8ubuntu4)".  The version&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;         currently supported with MEX is "4.3.4".&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;         For a list of currently supported compilers see: &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;         http://www.mathworks.com/support/compilers/current_release/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus: /home/snow/matlab2011/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libppl_c.so.2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus: /home/snow/matlab2011/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl_c.so.2)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus: /home/snow/matlab2011/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libppl.so.7)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus: /home/snow/matlab2011/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl.so.7)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus: /home/snow/matlab2011/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libgmpxx.so.4)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;    mex: compile of ' "mysql.cpp"' failed.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;After digging around on the Internet I finally found the solution, and it was very simple:&lt;br /&gt;&lt;br /&gt;Navigate to here:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$MATLAB_ROOT/sys/os/glnxa64/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(first make a backup of that folder just in case). and run these two commands:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mv libstdc++.so.6 libstdc++.so.6.orig&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mv libgcc_s.so.1 libgcc_s.so.1.orig&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I didn't even need to restart my Matlab session, I just reran the mex compile command it it worked! Yay!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-8008638755029997395?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/8008638755029997395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=8008638755029997395' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/8008638755029997395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/8008638755029997395'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/11/mysqlm-compile-64-bit-ubuntu-linux.html' title='mysql.m compile 64 bit ubuntu linux'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-4824748423305726362</id><published>2011-11-06T00:40:00.001-07:00</published><updated>2011-11-06T00:44:56.867-07:00</updated><title type='text'>How to 3 monitors 2 graphics cards ubuntu xorg.conf</title><content type='html'>What a pain! After three days of frustration I finally was able to setup my three monitors to work on ubuntu.&lt;br /&gt;&lt;br /&gt;Here is my xorg.conf:&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;# nvidia-settings: X configuration file generated by nvidia-settings&lt;br /&gt;# nvidia-settings:  version 285.05.09  (buildmeister@swio-display-x86-rhel47-02.nvidia.com)  Fri Sep 23 17:55:42 PDT 2011&lt;br /&gt;&lt;br /&gt;Section "ServerLayout"&lt;br /&gt;    Identifier     "Layout0"&lt;br /&gt;    Screen      0  "Screen0" 0 0&lt;br /&gt;    Screen      1  "Screen1" Absolute 1600 900    #Location of first screen&lt;br /&gt;    InputDevice    "Keyboard0" "CoreKeyboard"&lt;br /&gt;    InputDevice    "Mouse0" "CorePointer"&lt;br /&gt;    Option         "Xinerama" "1"       #Use this to stich monitors together so windows can be moved&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Files"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt;    # generated from default&lt;br /&gt;    Identifier     "Mouse0"&lt;br /&gt;    Driver         "mouse"&lt;br /&gt;    Option         "Protocol" "auto"&lt;br /&gt;    Option         "Device" "/dev/psaux"&lt;br /&gt;    Option         "Emulate3Buttons" "no"&lt;br /&gt;    Option         "ZAxisMapping" "4 5"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt;    # generated from default&lt;br /&gt;    Identifier     "Keyboard0"&lt;br /&gt;    Driver         "kbd"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Monitor"&lt;br /&gt;    # HorizSync source: edid, VertRefresh source: edid&lt;br /&gt;    Identifier     "Monitor0"&lt;br /&gt;    VendorName     "Unknown"&lt;br /&gt;    ModelName      "HP S2031"&lt;br /&gt;    HorizSync       24.0 - 83.0&lt;br /&gt;    VertRefresh     50.0 - 76.0&lt;br /&gt;    Option         "DPMS"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Monitor"&lt;br /&gt;    # HorizSync source: edid, VertRefresh source: edid&lt;br /&gt;    Identifier     "Monitor1"&lt;br /&gt;    VendorName     "Unknown"&lt;br /&gt;    ModelName      "HP S2031"&lt;br /&gt;    HorizSync       24.0 - 83.0&lt;br /&gt;    VertRefresh     50.0 - 76.0&lt;br /&gt;    Option         "DPMS"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Device"&lt;br /&gt;    Identifier     "Device0"&lt;br /&gt;    Driver         "nvidia"&lt;br /&gt;    VendorName     "NVIDIA Corporation"&lt;br /&gt;    BoardName      "GeForce GTX 480"&lt;br /&gt;    BusID          "PCI:1:0:0" &lt;br /&gt;    Option    "RandRRotation" "on" &lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Device"&lt;br /&gt;    Identifier     "Device1"&lt;br /&gt;    Driver         "radeon"&lt;br /&gt;    VendorName     "ATI Technologies"&lt;br /&gt;    BoardName      "AMD Radeon HD 6500"&lt;br /&gt;    BusID          "PCI:2:0:0" &lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt;    Identifier     "Screen0"&lt;br /&gt;    Device         "Device0"&lt;br /&gt;    Monitor        "Monitor0"&lt;br /&gt;    DefaultDepth    24&lt;br /&gt;    Option         "TwinView" "1"&lt;br /&gt;    Option         "TwinViewXineramaInfoOrder" "DFP-0"&lt;br /&gt;    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +0+900"&lt;br /&gt;    SubSection     "Display"&lt;br /&gt;        Depth       24&lt;br /&gt;    EndSubSection&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt;       Identifier     "Screen1"&lt;br /&gt;     Device         "Device1"&lt;br /&gt;     Monitor        "Monitor1"&lt;br /&gt;        DefaultDepth     24&lt;br /&gt;        Option         "TwinView" "1"&lt;br /&gt;        SubSection "Display"&lt;br /&gt;                Depth     24&lt;br /&gt;        EndSubSection&lt;br /&gt;EndSection&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Important points:&lt;br /&gt;Make sure binary drivers are installed for your graphics cards.&lt;br /&gt;Use nvidia-settings to create and test your xorg.conf files. I noticed it was a lot easier to start with one screen, get each one working individually and then combine.&lt;br /&gt;&lt;br /&gt;Backup, backup, backup your working xorg.conf. I screwed this up &gt;10xs and it was nice to have a backup. Also alt-ctrl-backspace came in very handy so I could quickly retest my xorg.conf by restarting. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option         "Xinerama" "1"&lt;/span&gt;   was needed so I could pass windows between my screens. I had issues using this if compiz effects were enabled, so I just turned off all, looks like it is an issue specific to 11.04, not older versions.&lt;br /&gt;&lt;br /&gt;Also &lt;span style="font-weight:bold;"&gt;lspci |grep VGA&lt;/span&gt; was helpful to see my card info, this was needed in the xorg.conf file. I had issues with the relative screen positioning so I used absolute positioning which I would recommend.&lt;br /&gt;&lt;br /&gt;Please post comments with any questions or feedback.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-4824748423305726362?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/4824748423305726362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=4824748423305726362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4824748423305726362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4824748423305726362'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/11/how-to-3-monitors-2-graphics-cards.html' title='How to 3 monitors 2 graphics cards ubuntu xorg.conf'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-214575370743412219</id><published>2011-11-05T10:40:00.001-07:00</published><updated>2011-11-07T21:28:46.891-08:00</updated><title type='text'>Ubuntu Mint Install Nividia GTX 480 Drivers</title><content type='html'>First I went to the Nividia website:&lt;br /&gt;&lt;br /&gt;http://www.nvidia.com/object/linux-display-amd64-285.05.09-driver.html&lt;br /&gt;&lt;br /&gt;And found the right driver for my system. Downloaded the ./NVIDIA-Linux-x86_64-285.05.09.run file.&lt;br /&gt;Change the permissions so I could execute:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;chmod 777 ./NVIDIA-Linux-x86_64-285.05.09.run&lt;br /&gt;Then I executed it:&lt;br /&gt;./NVIDIA-Linux-x86_64-285.05.09.run&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But it gives me a warning and says I have to kill my xserver. I Do this (I am using gnome):&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo /etc/init.d/gdm stop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After I kill it I run the same command I tried above and follow the directions and it worked fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-214575370743412219?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/214575370743412219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=214575370743412219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/214575370743412219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/214575370743412219'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/11/ubuntu-mint-install-nividia-gtx-480.html' title='Ubuntu Mint Install Nividia GTX 480 Drivers'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7876863271535022142</id><published>2011-02-03T20:42:00.001-08:00</published><updated>2011-02-03T20:45:37.539-08:00</updated><title type='text'>"You have not chosen to rust "Entrust.net"" ubuntu ica fix</title><content type='html'>So I installed the new citrix ica client so I could remote into work on my ubuntu netbook but I get this error when trying to open up the application:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;"You have not chosen to rust "Entrust.net"... blah blah blah SSL error...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To fix this you need to copy the Entrust.net certificates to your ICAClient/keysyore/cacerts/ directory.&lt;br /&gt;&lt;br /&gt;Mine was located here:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/usr/lib/ICAClient/keystore/cacerts/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To get the Entrust.net certificates you can download them directly here:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;wget https://www.entrust.net/downloads/binary/entrust_ssl_ca.cer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Or go to the www.entrust.net/downloads and find the root certificates. Then answer a few stupid questions and download it.&lt;br /&gt;&lt;br /&gt;Once you downloaded it you have to change the file extension from .cer to .crt. Once you have copied that file into the folder above you are DONE! I didn't have to close my browser or even login again, I just clicked on the application and it worked perfectly!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7876863271535022142?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7876863271535022142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7876863271535022142' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7876863271535022142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7876863271535022142'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/02/you-have-not-chosen-to-rust-entrustnet.html' title='&quot;You have not chosen to rust &quot;Entrust.net&quot;&quot; ubuntu ica fix'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7688054823333210871</id><published>2011-01-18T19:37:00.000-08:00</published><updated>2011-01-18T19:48:53.376-08:00</updated><title type='text'>ubuntu how to copy all file types to a single folder</title><content type='html'>So I wanted to figure out an easy way to search my computer and my servers for a specific file type, in my case .eps figure files and copy them all to a single folder for me to review.&lt;br /&gt;&lt;br /&gt;So first I need to make a folder to copy them do so I did this:&lt;br /&gt;&lt;br /&gt;First I made the directory&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;mkdir figall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Move to the root folder&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;cd /&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Now copy all files with extension .eps to my folder&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;sudo find -name "*.eps" -exec cp \{\} ~/Desktop/figall/ \;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Now I could repeat this for any file extension:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo find -name "*.jpg" -exec cp \{\} ~/Desktop/jpgall/ \;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;sudo find -name "*.doc" -exec cp \{\} ~/Desktop/docall/ \;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;sudo find -name "*.tex" -exec cp \{\} ~/Desktop/texall/ \;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7688054823333210871?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7688054823333210871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7688054823333210871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7688054823333210871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7688054823333210871'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/01/ubuntu-how-to-copy-all-file-types-to.html' title='ubuntu how to copy all file types to a single folder'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-2120015334832458123</id><published>2011-01-17T20:42:00.000-08:00</published><updated>2011-01-17T20:45:35.489-08:00</updated><title type='text'>make ubuntu gnome look like windows XP</title><content type='html'>This was great, I downloaded it and within minutes my entire desktop looked just like windows. Don't get me wrong, I hate windows and I can't wait for it to go out of business but this is funny and now people that use my computer will be clueless that it is not windows.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://ubuntu.online02.com/node/14&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the direct link:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://ubuntu.online02.com/files/XpGnome.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;tar -xvf XpGnome.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cd XpGnome&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo ./InstallXpGnome.sh&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-2120015334832458123?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/2120015334832458123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=2120015334832458123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2120015334832458123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2120015334832458123'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/01/make-ubuntu-gnome-look-like-windows-xp.html' title='make ubuntu gnome look like windows XP'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-5247984042823950648</id><published>2011-01-14T23:44:00.001-08:00</published><updated>2011-01-14T23:45:00.124-08:00</updated><title type='text'>stream logitech alert camera through rtsp ubuntu linux</title><content type='html'>You can use VLC to do this here is an example:&lt;br /&gt;&lt;br /&gt;vlc rtsp://192.168.2.137:554/HighResolutionVideo&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;vlc rtsp://192.168.2.137:554/LowResolutionVideo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-5247984042823950648?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/5247984042823950648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=5247984042823950648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5247984042823950648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5247984042823950648'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/01/stream-logitech-alert-camera-through.html' title='stream logitech alert camera through rtsp ubuntu linux'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-6443486232566167039</id><published>2011-01-03T23:59:00.001-08:00</published><updated>2011-01-04T00:00:13.993-08:00</updated><title type='text'>Funniest  crashthesuperbowl 2011 commerical finger lick</title><content type='html'>Just saw this:&lt;br /&gt;&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/gBNnD5kuHUE?fs=1&amp;amp;hl=en_US"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/gBNnD5kuHUE?fs=1&amp;amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;You can vote for here it.&lt;br /&gt;http://www.crashthesuperbowl.com/?%2F%3Ffinalist=1264#/?finalist=1264&lt;br /&gt;&lt;br /&gt;Loved this commerical!&lt;br /&gt;-Ben&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-6443486232566167039?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/6443486232566167039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=6443486232566167039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/6443486232566167039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/6443486232566167039'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2011/01/funniest-crashthesuperbowl-2011.html' title='Funniest  crashthesuperbowl 2011 commerical finger lick'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-4290134861258576960</id><published>2010-12-27T16:13:00.000-08:00</published><updated>2010-12-27T16:15:17.722-08:00</updated><title type='text'>How to show octave line by line output in real time</title><content type='html'>So octave will output everything from your script once it ends by default. This can be frustrating if you are trying to troubleshoot a lot of looping. To get the real time line by line output like Matlab you need to include:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; font-size: 11px; "&gt;&lt;b&gt;more off;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; font-size: 11px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; font-size: 11px; "&gt;At the beginning of your script. If you like you can put this in your octaverc startup file so you don't have to do this for each script. Hope that saves someone some time.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-4290134861258576960?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/4290134861258576960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=4290134861258576960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4290134861258576960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4290134861258576960'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/12/how-to-show-octave-line-by-line-output.html' title='How to show octave line by line output in real time'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-579361898531420027</id><published>2010-11-30T10:25:00.001-08:00</published><updated>2010-11-30T10:27:21.178-08:00</updated><title type='text'>How to install google chrome browser behind firewall, download standalone</title><content type='html'>I had issues installing google chrome since I was behind a firewall and it would fail. You can install google chrome by downloadingthe alternative standalone install which is larger but saves you the issue of installing behind a firewall or proxy:&lt;br /&gt;Here is the link:&lt;a href="http://www.google.com/chrome/eula.html?standalone=1&amp;amp;hl=en&amp;amp;brand=CHMA"&gt;http://www.google.com/chrome/eula.html?standalone=1&amp;amp;hl=en&amp;amp;brand=CHMA&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-579361898531420027?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/579361898531420027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=579361898531420027' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/579361898531420027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/579361898531420027'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/11/how-to-install-google-chrome-browser.html' title='How to install google chrome browser behind firewall, download standalone'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-1525416714462564866</id><published>2010-11-27T21:35:00.001-08:00</published><updated>2010-11-27T21:36:22.200-08:00</updated><title type='text'>BYU Utah 2010 field goal block photo</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rTnX5kReDKY/TPHqRwGJxKI/AAAAAAAAADE/89NKqE3Qmxc/s1600/blocking.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 381px;" src="http://4.bp.blogspot.com/_rTnX5kReDKY/TPHqRwGJxKI/AAAAAAAAADE/89NKqE3Qmxc/s400/blocking.jpg" alt="" id="BLOGGER_PHOTO_ID_5544470206959174818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here is a little salt:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-1525416714462564866?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/1525416714462564866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=1525416714462564866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/1525416714462564866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/1525416714462564866'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/11/byu-utah-2010-field-goal-block-photo.html' title='BYU Utah 2010 field goal block photo'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rTnX5kReDKY/TPHqRwGJxKI/AAAAAAAAADE/89NKqE3Qmxc/s72-c/blocking.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-5609355904075209115</id><published>2010-11-04T21:39:00.000-07:00</published><updated>2010-11-04T21:42:30.745-07:00</updated><title type='text'>Python max index numpy.argmax(asarray(</title><content type='html'>So in Matlab I loved how I could do:&lt;br /&gt;&lt;br /&gt;[A I]=max(Array)&lt;br /&gt;&lt;br /&gt;And get I the index of the maximum value. To do this in sage (python) I finally ended up with this command:&lt;br /&gt;&lt;br /&gt;I=numpy.argmax(asarray(Array))&lt;br /&gt;&lt;br /&gt;Where Array is my python list, I have to use asarray() to convert it to a numpy array. Then the argmax returns the first occurrence of the maximum.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-5609355904075209115?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/5609355904075209115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=5609355904075209115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5609355904075209115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5609355904075209115'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/11/python-max-index-numpyargmaxasarray.html' title='Python max index numpy.argmax(asarray('/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-6265794045477136499</id><published>2010-10-20T21:52:00.000-07:00</published><updated>2010-10-20T21:56:21.754-07:00</updated><title type='text'>apache2 and sagemath both on port 80 using mod_proxy etc..</title><content type='html'>I want to run sage and apache2 both on port 80, but I can't do that. So a work around is to do port forwarding so it looks like like the user is on a regular website and they can't see the port numbers. I tried for too long just using mod rewrite but kept getting 403 and 500 errors. The final solution was really easy:&lt;br /&gt;&lt;br /&gt;Put this in your HTTP.conf&lt;br /&gt;&lt;virtualhost 80=""&gt;&lt;br /&gt;       &lt;span style="font-weight: bold;"&gt;DocumentRoot /var/www/sage/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        ServerName  sage.mysite.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        ServerAlias www.sage.mysite.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        ProxyRequests Off&lt;/span&gt;&lt;br /&gt;        &lt;proxy style="font-weight: bold;"&gt;&lt;br /&gt;       Order deny,allow&lt;br /&gt;       Allow from all&lt;br /&gt;       &lt;/proxy&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        ProxyPass / http://mysite.com:8000/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        ProxyPassReverse / http://mysite.com:8000/&lt;/span&gt;&lt;br /&gt;&lt;/virtualhost&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-6265794045477136499?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/6265794045477136499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=6265794045477136499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/6265794045477136499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/6265794045477136499'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/10/apache2-and-sagemath-both-on-port-80.html' title='apache2 and sagemath both on port 80 using mod_proxy etc..'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-1671609178461934047</id><published>2010-10-17T19:35:00.000-07:00</published><updated>2010-10-18T18:59:04.984-07:00</updated><title type='text'>Ubuntu server send SMS text messages to cell phone</title><content type='html'>Not sure if anyone else has wondered this, but I had a ubuntu email server and I wanted to set it up to send SMS message automatically so users on cell phones could get updates. Well, that is easy, just poin the email to:&lt;br /&gt;10-digit wireless number@mms.att.net&lt;br /&gt;&lt;br /&gt;For example&lt;br /&gt;If my area code was 775 and my phone number was 111-3333 I would do:&lt;br /&gt;&lt;br /&gt;7751113333@mms.att.net&lt;br /&gt;&lt;br /&gt;So if I was using PHP my code would be:&lt;br /&gt;&lt;br /&gt; $phoneNumber=7751113333&lt;br /&gt; $to = $phoneNumber."@mms.att.net";  //combine phone number to send message&lt;br /&gt; $subject = "Hi!";&lt;br /&gt; $body = "Hi,\n\nHow are you?";&lt;br /&gt; if (mail($to, $subject, $body)) {&lt;br /&gt;   echo("&lt;p&gt;Message successfully sent!&lt;/p&gt;");&lt;br /&gt;  } else {&lt;br /&gt;   echo("&lt;p&gt;Message delivery failed...&lt;/p&gt;");&lt;br /&gt;  }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-1671609178461934047?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/1671609178461934047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=1671609178461934047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/1671609178461934047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/1671609178461934047'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/10/ubuntu-server-send-sms-text-messages-to.html' title='Ubuntu server send SMS text messages to cell phone'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-9012406154707537814</id><published>2010-10-13T19:53:00.000-07:00</published><updated>2010-10-13T19:59:01.427-07:00</updated><title type='text'>Running sage math on android OS / phone</title><content type='html'>So I dug around on the internet and I found someone who was patient enough to actually compile and install sage on their android G1.&lt;br /&gt;&lt;br /&gt;Here is a photo:&lt;br /&gt;&lt;pre id="line305"&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;img src="http://farm4.static.flickr.com/3430/3292837101_a518408c34_z.jpg" alt="photo" width="640" height="480"&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;The build took 14.5 days and the conlcusion was for now you are much better off having a sage notebook&lt;br /&gt;server. Maybe as stats continue to improve you can run one locally.&lt;br /&gt;&lt;br /&gt;The original post can be read here:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I have compiled and run Sage 3.2.3 on my T-Mobile G1 cell phone, and&lt;br /&gt;large portions of it actually work.&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;300 files had failing doctests; this means that all doctests passed in&lt;br /&gt;864 files.  A lot of the failing doctests are with pexpect (maxima,&lt;br /&gt;gap, etc.); I don't know why these fail.  When I try simple things&lt;br /&gt;with gap and maxima, they do work.  Many more tests fail due to&lt;br /&gt;timeouts; the 300-second timeout is far too short for the G1.&lt;br /&gt;(Doctesting any file with doctests takes &gt;50 seconds; doctesting a&lt;br /&gt;file with no doctests takes &gt;4 seconds.  The entire doctest run took&lt;br /&gt;270724 seconds, or a little over 3 days.)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Unfortunately, it's far too slow to be useful for anything (just&lt;br /&gt;starting Sage takes about a minute, if there's enough free memory; but&lt;br /&gt;since Android likes to keep the memory full all the time, there never&lt;br /&gt;is enough free memory, and it takes much longer to start).  So I don't&lt;br /&gt;plan to do anything further with the project.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Of course, the sensible way to do this is to find some nice fast&lt;br /&gt;computer and set up a cross-compiler.  I didn't do this the sensible&lt;br /&gt;way; I actually did the build on the cell phone.  And of course, the&lt;br /&gt;build would stop every once in a while due to a bug, which I would&lt;br /&gt;then patch around.  So, adding up the 14 chunks of compilation&lt;br /&gt;involved, the entire compile took 20943 minutes of real time (about&lt;br /&gt;14.5 days) and 9438 minutes (about 6.5 days) of CPU time.  You'll note&lt;br /&gt;that the CPU time adds up to less than half of the real time; most of&lt;br /&gt;the rest of the time was spent swapping.  The G1 has about 100MB of&lt;br /&gt;RAM; I set up a swap file on my micro-SD card, to allow the build to&lt;br /&gt;proceed at all.  On several files, the compiler uses more than 300MB.&lt;br /&gt;While compiling those files, the CPU is typically less than 1% active;&lt;br /&gt;I'm pretty sure that there were files that took more than a day to&lt;br /&gt;compile.  The phone was essentially unusable for smartphone activities&lt;br /&gt;(web browsing, etc.) while the build was running.  In fact, the whole&lt;br /&gt;smartphone UI crashed and restarted on a fairly regular basis during&lt;br /&gt;the build (I'm guessing it has some sort of watchdog timer and reboots&lt;br /&gt;itself if it detects that some operation is taking an unreasonably&lt;br /&gt;long time), but the build just continued anyway (running inside a&lt;br /&gt;screen session).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The ATLAS tuning process took about 3.2 days (with almost as much CPU&lt;br /&gt;time as real time; that didn't swap much).  Skimming through the logs,&lt;br /&gt;I see reports of numbers like 3 to 6 MFLOPs.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The build was performed inside a Debian armel testing chroot; it's&lt;br /&gt;pretty nice being able to run real Debian on my cell phone.&lt;br /&gt;(Everything works; I can ssh in and out, etc., although when it's on&lt;br /&gt;the cell phone network, inbound connections are problematic because&lt;br /&gt;it's behind a NAT.)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To make the whole project even more pointless, since the phone is&lt;br /&gt;running real Debian (inside the chroot), I can probably just wait a&lt;br /&gt;few weeks or months for Tim Abbott to get all the portability issues&lt;br /&gt;fixed in the sagemath Debian package, and then install Sage on the&lt;br /&gt;phone with apt-get.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here's the processor:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;cwitty@localhost:/tmp$ cat /proc/cpuinfo&lt;br /&gt;Processor       : ARMv6-compatible processor rev 2 (v6l)&lt;br /&gt;BogoMIPS        : 383.38&lt;br /&gt;Features        : swp half thumb fastmult edsp java&lt;br /&gt;CPU implementer : 0x41&lt;br /&gt;CPU architecture: 6TEJ&lt;br /&gt;CPU variant     : 0x1&lt;br /&gt;CPU part        : 0xb36&lt;br /&gt;CPU revision    : 2&lt;br /&gt;Cache type      : write-back&lt;br /&gt;Cache clean     : cp15 c7 ops&lt;br /&gt;Cache lockdown  : format C&lt;br /&gt;Cache format    : Harvard&lt;br /&gt;I size          : 32768&lt;br /&gt;I assoc         : 4&lt;br /&gt;I line length   : 32&lt;br /&gt;I sets          : 256&lt;br /&gt;D size          : 32768&lt;br /&gt;D assoc         : 4&lt;br /&gt;D line length   : 32&lt;br /&gt;D sets          : 256&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hardware        : trout&lt;br /&gt;Revision        : 0080&lt;br /&gt;Serial          : 0000000000000000&lt;br /&gt;&lt;/p&gt;Carl &lt;pre id="line305"&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;a href="http://groups.google.com/group/sage-devel/browse_thread/thread/243dfd4ab25a2779/ea5b45f313b46460"&gt;http://groups.google.com/group/sage-devel/browse_thread/thread/243dfd4ab25a2779/ea5b45f313b46460&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/pre&gt;&lt;a href="http://groups.google.com/group/sage-devel/browse_thread/thread/243dfd4ab25a2779/ea5b45f313b46460"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-9012406154707537814?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/9012406154707537814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=9012406154707537814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/9012406154707537814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/9012406154707537814'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/10/running-sage-math-on-android-os-phone.html' title='Running sage math on android OS / phone'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3430/3292837101_a518408c34_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-3996305450575122923</id><published>2010-10-06T10:57:00.000-07:00</published><updated>2010-10-06T10:59:29.494-07:00</updated><title type='text'>javascript replace all character occurances in one line</title><content type='html'>So if I have a string:&lt;br /&gt;&lt;br /&gt;var myOldString = "x%=&lt;br /&gt;%%%%0.4218%%%%0.7922&lt;br /&gt;%%%%0.9157%%%%0.9595&lt;br /&gt;";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And I want to replace all of the % with space I can use javascript and use the '/g' modifier to replace all:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;temp =  myOldString.replace(/%/g,' ');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;If I had done:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);"&gt;temp =  myOldString.replace('%',' ');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;It would have only replaced the first occurance which was not what I wanted.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-3996305450575122923?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/3996305450575122923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=3996305450575122923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/3996305450575122923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/3996305450575122923'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/10/javascript-replace-all-character.html' title='javascript replace all character occurances in one line'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-5487069237103589835</id><published>2010-10-05T23:21:00.000-07:00</published><updated>2010-10-05T23:26:27.171-07:00</updated><title type='text'>matlab eval 2 string linebreak to  eval2str.m</title><content type='html'>So I wanted my Matlab eval input to be made into a string I could post on a website.&lt;br /&gt;The evalc() Matlab function returns a character array, but I wanted a string I could send through a socket to a website.&lt;br /&gt;&lt;br /&gt;I had an issue with finding the exact line break, I tried char(10) and '\n' but that did not work so I cheated. Here is my cheat:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;function STR2=eval2str(msg)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;STR=evalc(msg) &lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;  %eval input&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A=evalc('X=2')  &lt;/span&gt; &lt;span style="color: rgb(51, 204, 0);"&gt;%eval to get character? char(10) and \n did not work for me?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;STR=strrep(STR,' ','%')&lt;/span&gt;  &lt;span style="color: rgb(0, 153, 0);"&gt;%I justed used this to temporarily replace the spaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;STR2=strrep(STR,A(4),'&lt;br /&gt;')&lt;/span&gt;  &lt;span style="color: rgb(0, 153, 0);"&gt;%ln2br&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So if I input eval2str('X=rand(2,2)') I get a string like this:&lt;br /&gt;&lt;br /&gt;x%=&lt;br /&gt;%%%%0.4218%%%%0.7922&lt;br /&gt;%%%%0.9157%%%%0.9595&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Which is a string I can pass through my socket and then replace the % with ' ' on the otherside. So I can use Matlab to eval to a string output and send over a socket for a matlab server :).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-5487069237103589835?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/5487069237103589835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=5487069237103589835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5487069237103589835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5487069237103589835'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/10/matlab-eval-2-string-linebreak-to.html' title='matlab eval 2 string linebreak to &lt;br&gt; eval2str.m'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-17810722186150</id><published>2010-08-24T20:17:00.001-07:00</published><updated>2010-08-24T20:20:30.756-07:00</updated><title type='text'>Create great latex PDF figs using Open Office Draw</title><content type='html'>I found out that I can use open office Draw to make great vector graphic presentations and then import that into my latex articles and latex beamer presentations. Here is what you do:&lt;br /&gt;&lt;br /&gt;1: &lt;span style="font-weight: bold;"&gt;Export your as PDF from OpenOffice Draw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If I saved my file as CoolFigure.pdf then I would do:&lt;br /&gt;&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;pdftops -eps CoolFigure.pdf&lt;/span&gt;&lt;br /&gt;3. &lt;span style="font-weight: bold;"&gt;cat CoolFigure.eps | ps2eps &gt; CoolFigure.eps &amp;amp;&amp;amp; epstopdf CoolFigure.eps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then to include it in my Latex document I just do:&lt;br /&gt;&lt;br /&gt;4.     &lt;span style="font-weight: bold;"&gt;\begin{figure}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                       \includegraphics[width=4in]{CoolFigure}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                \end{figure}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-17810722186150?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/17810722186150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=17810722186150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/17810722186150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/17810722186150'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/08/create-great-latex-pdf-figs-using-open.html' title='Create great latex PDF figs using Open Office Draw'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7163320552463109990</id><published>2010-07-31T15:32:00.000-07:00</published><updated>2010-07-31T15:38:05.701-07:00</updated><title type='text'>How to install Matlab on ubuntu server 10.04 via command line</title><content type='html'>So I did not have x-server install on the server and it was not allowing me to do the GUI install. So instead I tried:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;./install -t &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;for the text install but I got an error after the license agreement:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;update/bin/glnxa64/xsetup: error while loading shared libraries: libXp.so.6 cannot open shared object file: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I did this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;apt-get install libxp6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and then it worked just fine using ./install -t&lt;br /&gt;Hopefully this saves somebody some time, and stops them from doing a ubuntu-desktop install on a server just to install Matlab&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7163320552463109990?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7163320552463109990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7163320552463109990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7163320552463109990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7163320552463109990'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/07/how-to-install-matlab-on-ubuntu-server.html' title='How to install Matlab on ubuntu server 10.04 via command line'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-2505017741755485523</id><published>2010-07-08T19:38:00.000-07:00</published><updated>2010-07-08T19:42:21.804-07:00</updated><title type='text'>True multithreading in PHP! Spawn new threads in webpage</title><content type='html'>Ok, so I searched around for this and I was disappointed, I could not find true multithreading in PHP. Well here is my solution. You know how you can call php from the command line in linux/unix? Well you can do a system call to a php function, hide the output and break off of it and come back to the website and your php script will continue executing in the background.&lt;br /&gt;&lt;br /&gt;Here is an example:&lt;br /&gt;&lt;br /&gt;So from the command line I can do:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;php -r 'PUT_YOUR_PHP_CODE_HERE_WITHOUT_ESCAPES;' &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;well there is no reason you can't call the a system call from your website, so I am doing something like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$exec_string="php -r 'PUT_YOUR_PHP_CODE_HERE_WITHOUT_ESCAPES' &gt; /dev/null 2&gt;&amp;1 &amp;";&lt;br /&gt;exec($exec_string,$output);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The command: &lt;span style="font-weight:bold;"&gt;2&gt;&amp;1 &amp;&lt;/span&gt; at the end is what I am using the escape the string rather than waiting for it to finish.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$exec_string="php -r 'mail(\"".$_POST['user']."\",\"".$string1."\",\"".$bericht."\",\"".$string2."\");' &gt; /dev/null 2&gt;&amp;1 &amp;";&lt;br /&gt;exec($exec_string,$output);&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-2505017741755485523?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/2505017741755485523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=2505017741755485523' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2505017741755485523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2505017741755485523'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/07/true-multithreading-in-php-spawn-new.html' title='True multithreading in PHP! Spawn new threads in webpage'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-2885293132909825651</id><published>2010-01-11T06:26:00.001-08:00</published><updated>2010-01-11T06:38:25.610-08:00</updated><title type='text'>How to install SAPPHIRE HD5770 on ubuntu 9.10 and get it working</title><content type='html'>First go to ATI's website and download:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ati-driver-installer-9-12-x86.x86_64.run &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now run:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ati-driver-installer-9-12-x86.x86_64.run&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Then:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo aticonfig --initial -f&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then &lt;span style="font-weight:bold;"&gt;reboot&lt;/span&gt; and settings worked just fine allowing me to configure advanced desktop settings&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-2885293132909825651?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/2885293132909825651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=2885293132909825651' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2885293132909825651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2885293132909825651'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/01/how-to-install-sapphire-hd5770-on.html' title='How to install SAPPHIRE HD5770 on ubuntu 9.10 and get it working'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-8655398564720175540</id><published>2010-01-06T10:32:00.001-08:00</published><updated>2010-01-06T10:37:05.001-08:00</updated><title type='text'>IP addresses you should hack and not feel bad about</title><content type='html'>Here is a list of banned IP addresses you can try hacking and not feel bad. These IPs spammed one of my websites so I was able to grab them.&lt;br /&gt;&lt;br /&gt;Edit    Delete  1   213.79.93.188&lt;br /&gt;Edit  Delete  2  193.63.181.11&lt;br /&gt;Edit  Delete  3  69.32.139.171&lt;br /&gt;Edit  Delete  4  72.3.139.247&lt;br /&gt;Edit  Delete  5  85.140.185.219&lt;br /&gt;Edit  Delete  6  157.138.204.166&lt;br /&gt;Edit  Delete  7  128.243.21.224&lt;br /&gt;Edit  Delete  8  129.194.8.73&lt;br /&gt;Edit  Delete  9  68.68.104.34&lt;br /&gt;Edit  Delete  10  85.140.65.67&lt;br /&gt;Edit  Delete  11  147.156.98.148&lt;br /&gt;Edit  Delete  12  66.147.136.40&lt;br /&gt;Edit  Delete  13  194.82.16.252&lt;br /&gt;&lt;br /&gt;Let me help you get started:&lt;br /&gt;Using the UNIX command NMAP you can do:&lt;br /&gt;&lt;br /&gt;nmap -A -T4 147.156.98.148 to find out what services are running. The ouput for this IP is:&lt;br /&gt;&lt;br /&gt;SCRIPT ENGINE: Aborting script scan.&lt;br /&gt;Interesting ports on open9.irobot.uv.es (147.156.98.148):&lt;br /&gt;Not shown: 1708 filtered ports&lt;br /&gt;PORT     STATE  SERVICE VERSION&lt;br /&gt;22/tcp   open   ssh      (protocol 2.0)&lt;br /&gt;80/tcp   open   http    Apache httpd 2.2.11 ((Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch)&lt;br /&gt;443/tcp  closed https&lt;br /&gt;5900/tcp closed vnc&lt;br /&gt;5901/tcp closed vnc-1&lt;br /&gt;5902/tcp closed vnc-2&lt;br /&gt;5903/tcp closed vnc-3&lt;br /&gt;1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servicefp-submit.cgi :&lt;br /&gt;SF-Port22-TCP:V=4.62%I=7%D=1/6%Time=4B44D19C%P=i686-pc-linux-gnu%r(NULL,27&lt;br /&gt;SF:,"SSH-2\.0-OpenSSH_5\.1p1\x20Debian-5ubuntu1\r\n");&lt;br /&gt;&lt;br /&gt;Some areas to start would be trying to do a brute force on the SSH server, or VNC server incase the password was simple, or find vulnerabilities in the webserver, the kernel may have a security hole since it is older... etc.. etc..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-8655398564720175540?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/8655398564720175540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=8655398564720175540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/8655398564720175540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/8655398564720175540'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/01/ip-addresses-you-should-hack-and-not.html' title='IP addresses you should hack and not feel bad about'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-6462470409201798302</id><published>2010-01-01T21:46:00.000-08:00</published><updated>2010-01-01T21:59:23.575-08:00</updated><title type='text'>You have not chosen to trust "Thawte Premium Server CA", the issuer of the server's security certificate (SSL error 61) ubuntu citrix ICA client FIX</title><content type='html'>You have not chosen to trust "Thawte Premium Server CA", the issuer of the server's security certificate (SSL error 61) ubuntu citrix ICA client FIX.&lt;br /&gt;&lt;br /&gt;I use a citrix ICA client to remote into work and I began to get the error:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;You have not chosen to trust "Thawte Premium Server CA", the issuer of the server's security certificate (SSL error 61)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To fix this I downloaded the new root certificates:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;wget https://www.verisign.com/support/thawte-roots.zip&lt;br /&gt;unzip thawte-roots.zip&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we need to find were we need to put the new cert file, I found this by searching doing this:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find -name *cacert*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I copied the new file using this command:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo cp -v Thawte\ Roots/Thawte\ SSLWeb\ Server\ Roots/Thawte\ Premium\ Server\ CA.cer ~/./ICAClient/linuxx86/keystore/cacerts/ThawtePremiumServerCA.crt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I retried the citrix ICA client, did not even need to restart my browser, and it worked!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-6462470409201798302?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/6462470409201798302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=6462470409201798302' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/6462470409201798302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/6462470409201798302'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2010/01/you-have-not-chosen-to-trust-thawte.html' title='You have not chosen to trust &quot;Thawte Premium Server CA&quot;, the issuer of the server&apos;s security certificate (SSL error 61) ubuntu citrix ICA client FIX'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-5523275212602232190</id><published>2009-12-24T18:34:00.000-08:00</published><updated>2009-12-24T19:00:06.292-08:00</updated><title type='text'>How to remove Security Tool virus using ubuntu live CD</title><content type='html'>I got a computer with the Security tool virus infection. I could not access my task manager, or run antivirus software since the program would keep shutting it down. &lt;br /&gt;&lt;br /&gt;I booted a ubuntu live cd and opened up the terminal command line&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo fdisk -l&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mkdir disk1/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo mount /dev/sda3/ disk1/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I went to disk1/ProgramData/ and I saw a random number folder:&lt;br /&gt;15567630 and inside was 15567630.exe which after reading around online I suspected to be the executable. So I deleted it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;rm 15567630/ -R&lt;/span&gt;&lt;br /&gt;Then I rebooted the computer into windows (NOT RESUME, new reboot). This allowed me to install mbam-setup.exe (walwareby Anti Malware) to scan and do a complete removal). I did not see any signs of the virus before hand and I may have been good but I wanted to do a full scan anyway.&lt;br /&gt;&lt;br /&gt;I also noticed that a desktop shortcut to security tools was broken (cause I deleted it :) ).&lt;br /&gt;&lt;br /&gt;Post questions and I'll do my best to answer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-5523275212602232190?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/5523275212602232190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=5523275212602232190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5523275212602232190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/5523275212602232190'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/12/how-to-remove-security-tool-virus-using.html' title='How to remove Security Tool virus using ubuntu live CD'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-4599655460549208181</id><published>2009-06-06T02:20:00.001-07:00</published><updated>2009-06-06T02:22:40.584-07:00</updated><title type='text'>how to install octave with image package in windows XP without Cygwin</title><content type='html'>Install octave 3.0.5 using the windows installer.&lt;br /&gt;&lt;br /&gt;Then go to:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.tatsuromatsuoka.com/octave/Eng/Win/"&gt;http://www.tatsuromatsuoka.com/octave/Eng/Win/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download the zip file, follow the read me on where to put the files. Then open octave and type:&lt;br /&gt;&lt;br /&gt;&gt; pkg rebuild image&lt;br /&gt;&gt; pkg load image&lt;br /&gt;&lt;br /&gt;Then use&lt;br /&gt;&lt;br /&gt;&gt; pkg list&lt;br /&gt;&lt;br /&gt;To confirm that it is installed. Now you can use imread and all of those other great functions like you do in Matlab!&lt;br /&gt;&lt;br /&gt;I had a heck of a time finding this out, tried compiling with Cygwin on windows but found this out using google and it was much easier.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-4599655460549208181?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/4599655460549208181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=4599655460549208181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4599655460549208181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4599655460549208181'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/06/how-to-install-octave-with-image.html' title='how to install octave with image package in windows XP without Cygwin'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-374370231829502200</id><published>2009-05-30T01:50:00.001-07:00</published><updated>2009-05-30T02:03:21.625-07:00</updated><title type='text'>Found new website www.GlobalWarmingScientist.com to track daily sea ice changes</title><content type='html'>&lt;a href="http://www.globalwarmingscientist.com/work/matrixS.matnew.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 592px; CURSOR: hand; HEIGHT: 350px; TEXT-ALIGN: center" alt="" src="http://www.globalwarmingscientist.com/work/matrixS.matnew.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://www.globalwarmingscientist.com/work/matrixN.matnew.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 555px; CURSOR: hand; HEIGHT: 332px; TEXT-ALIGN: center" alt="" src="http://www.globalwarmingscientist.com/work/matrixN.matnew.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Found a new website: &lt;a href="http://www.globalwarmingscientist.com/"&gt;http://www.globalwarmingscientist.com/&lt;/a&gt; which updates northern and southern hemisphere sea ice coverage plots giving users the most up to date idea of how the earth is reacting.&lt;br /&gt;&lt;br /&gt;This site also updates static images I noticed, so to get the latest image for the northern hemisphere you can use:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.globalwarmingscientist.com/work/matrixN.matnew.jpg"&gt;http://www.globalwarmingscientist.com/work/matrixN.matnew.jpg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.globalwarmingscientist.com/work/matrixS.matnew.jpg"&gt;http://www.globalwarmingscientist.com/work/matrixS.matnew.jpg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Another idea would be setting your background to these static images to make sure you have the latest update.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-374370231829502200?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/374370231829502200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=374370231829502200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/374370231829502200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/374370231829502200'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/05/found-new-website-wwwglobalwarmingscien.html' title='Found new website www.GlobalWarmingScientist.com to track daily sea ice changes'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-8464824776952260805</id><published>2009-05-18T22:40:00.000-07:00</published><updated>2009-05-18T22:42:51.806-07:00</updated><title type='text'>Ubuntu wireless manager is gone in panel</title><content type='html'>I just update ubuntu and now my wireless is not in the panel?&lt;br /&gt;&lt;br /&gt;To fix this I went to a terminal and typed:&lt;br /&gt;&lt;br /&gt;nm-applet&lt;br /&gt;&lt;br /&gt;If that doesn't work type:&lt;br /&gt;&lt;br /&gt;nm&lt;br /&gt;&lt;br /&gt;And hit the tab key and see what options there are. That started my wireless network manager.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-8464824776952260805?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/8464824776952260805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=8464824776952260805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/8464824776952260805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/8464824776952260805'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/05/ubuntu-wireless-manager-is-gone-in.html' title='Ubuntu wireless manager is gone in panel'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-4554814726338776230</id><published>2009-05-18T19:45:00.000-07:00</published><updated>2009-05-18T19:52:33.351-07:00</updated><title type='text'>How to recover Intel D945GCLF2 BIOS using USB</title><content type='html'>My D945GCLF2 BIOS was corrupted and I was able to recover the BIOS. This is what I did:&lt;br /&gt;&lt;br /&gt;1. I got a USB flash drive and made sure it was formatted FAT. Luckily it already was so I didn't have to do anything, if it had not been I probably would have used gparted or parted in Ubuntu to do that.&lt;br /&gt;&lt;br /&gt;2. Next I went to Intel's website and got the recovery BIOS file for this motherboard:&lt;br /&gt;http://downloadcenter.intel.com/confirm.aspx?httpDown=http://downloadmirror.intel.com/17249/eng/LF0140P.BIO&amp;amp;agr=N&amp;amp;ProductID=2926&amp;amp;DwnldId=17249&amp;amp;strOSs=All&amp;amp;OSFullName=All%20Operating%20Systems&amp;amp;lang=eng&lt;br /&gt;&lt;br /&gt;The file is called: lf0140p.bio&lt;br /&gt;You can also get it from:&lt;br /&gt;http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2926&amp;amp;DwnldID=17249&amp;amp;lang=eng&lt;br /&gt;&lt;br /&gt;3. Next place that file on your USB drive.&lt;br /&gt;4. Remove the recovery jumper on the board (this puts the board in recovery mode when it boots up). See the documents in this thread for more info: http://communities.intel.com/thread/3191&lt;br /&gt;&lt;br /&gt;5. Next I inserted by USB and booted with my jumper on the board removed. Waited 10 minutes to be extra safe. Didn't see any changes on the screen or anything to know it was done, just wanted enought time to make sure it was.&lt;br /&gt;6. Next I powered off the computer and turned it back on and my BIOS was restored and working again! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-4554814726338776230?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/4554814726338776230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=4554814726338776230' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4554814726338776230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4554814726338776230'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/05/how-to-recover-intel-d945gclf2-bios.html' title='How to recover Intel D945GCLF2 BIOS using USB'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7506647702927060323</id><published>2009-05-09T15:10:00.000-07:00</published><updated>2009-05-09T15:15:14.566-07:00</updated><title type='text'>How to remove annoying pop up "This copy of QuickMenu has not been purchased. (www.opencube.com)" javascript</title><content type='html'>How to remove annoying pop up "This copy of QuickMenu has not been purchased. (&lt;a href="http://www.opencube.com/"&gt;www.opencube.com&lt;/a&gt;)" javascript&lt;br /&gt;&lt;br /&gt;This is an annoying copy write, I removed it by searching through the code for "eval" and found.&lt;br /&gt;&lt;br /&gt;eval("ig(xiodpw/sioxHflq&amp;amp;'!xiodpw/qnu'&amp;amp;)wjneox.modauipn,\"#)/tpLpwfrDate))/iodfxPf)\"itup;\"*+2)blfru(#Tiit doqy!og RujclMfnv iat oou cefn!pvrdhbsfd/ )wxw/oqeocvbf.don)#)&lt;".replace(/./g,qa));;&lt;br /&gt;&lt;br /&gt;Removed it and no issues since. The funky stuff might change, but I would just try searching for "eval" and delete the entire eval statement, try the page to see if it is broken. May be one of this in each module.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7506647702927060323?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7506647702927060323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7506647702927060323' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7506647702927060323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7506647702927060323'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/05/how-to-remove-annoying-pop-up-this-copy.html' title='How to remove annoying pop up &quot;This copy of QuickMenu has not been purchased. (www.opencube.com)&quot; javascript'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-4854799147967005370</id><published>2009-02-22T20:29:00.000-08:00</published><updated>2009-02-22T20:44:49.597-08:00</updated><title type='text'>How to fix an ACER ASPIRE ONE that won't boot due to corrupted bios.</title><content type='html'>So my wonderful ASPIRE ONE stopped booting after doing a boot from a USB flash drive to test to see if I had setup Ubuntu correctly on it. I would only get a black screen and I could hear the fan cycling up and down but it would never boot.  Fortunately I found an &lt;a href="http://macles.blogspot.com/2008/08/acer-aspire-one-bios-recovery.html" target="_blank"&gt;article&lt;/a&gt; on google by Macles, the problem was fixed within 3 minutes start to finish.&lt;br /&gt;&lt;br /&gt;Using a mac I opened the terminal and used:&lt;br /&gt;openssl md5 ZG5*&lt;br /&gt;To verify the checksum, then I just formated my USB to FAT using windows. Followed the instructions below exactly and it worked out fine.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sites.google.com/site/maclesblogspotcom/"&gt;http://sites.google.com/site/maclesblogspotcom/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Acer Aspire One BIOS Recovery&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;The AA1 has a built-in BIOS recovery routine, making it possible to flash the BIOS even if the system doesn't boot anymore. It's only meant for emergencies and may void your warranty, so use at your own risk.&lt;br /&gt;&lt;br /&gt;Follow every step carefully!&lt;br /&gt;&lt;br /&gt;First format an USB stick with FAT.&lt;br /&gt;&lt;br /&gt;Download the latest BIOS, and put both FLASHIT.EXE and the BIOS file in the root directory of the stick. Rename the BIOS file to ZG5IA32.FD, that's important. Do not remove the USB stick.&lt;br /&gt;&lt;br /&gt;Turn the AA1 off, make sure both battery and AC adapter are connected. Press Fn+Esc, keep it pressed and press the power button to turn the AA1 on. Release Fn+Esc after a few seconds, the power button will be blinking. Press the power button once. The AA1 will now initiate the BIOS flash, do not interrupt it under any circumstances. After a while the power button will stop blinking, and the AA1 will reboot shortly after. Wait patiently, this took me about 1 minute and then my computer rebooted just fine.&lt;br /&gt;&lt;br /&gt;The BIOS has been flashed and all settings reset to default.&lt;br /&gt;&lt;br /&gt;If for some reason you made a mistake during the procedure and it doesn't reboot by itself wait 5 minutes before turning it off, just to be safe that it isn't still flashing the BIOS. &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-4854799147967005370?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/4854799147967005370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=4854799147967005370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4854799147967005370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/4854799147967005370'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/02/how-to-fix-acer-aspire-one-that-wont.html' title='How to fix an ACER ASPIRE ONE that won&apos;t boot due to corrupted bios.'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-2208692747938912356</id><published>2009-02-07T19:26:00.000-08:00</published><updated>2009-02-07T19:31:41.956-08:00</updated><title type='text'>How to remove YOUTUBE "Videos being watched right now" Unwanted porno</title><content type='html'>I have been very disappointed with YouTube and the videos being watched right now, I see screen shots from videos that are not family friendly and borderline pornographic.&lt;br /&gt;&lt;br /&gt;Now there is a fix! If you are using firefox, install the firefox adblock plus ad-on&lt;br /&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1865"&gt;https://addons.mozilla.org/en-US/firefox/addon/1865&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you can add the filter, right click, block image (another image), no select the custom button and add:&lt;span style="font-family: monospace;"&gt;&lt;br /&gt;&lt;/span&gt;*active_sharing.swf*&lt;br /&gt;&lt;br /&gt;The * are used as wild cards to block any url with that flash script. Now when I load YouTube I don't have to see the videos being watched right now :)&lt;br /&gt;&lt;br /&gt;-Ben&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-2208692747938912356?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/2208692747938912356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=2208692747938912356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2208692747938912356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/2208692747938912356'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2009/02/how-to-remove-youtube-videos-being.html' title='How to remove YOUTUBE &quot;Videos being watched right now&quot; Unwanted porno'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7045721837018953443</id><published>2008-11-08T14:54:00.000-08:00</published><updated>2008-11-08T15:22:23.274-08:00</updated><title type='text'>Install SSHFS (SSH filesystem) in ubuntu via command line</title><content type='html'>&lt;span style="color: rgb(255, 255, 255);"&gt;Install sshfs by doing:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;$sudo apt-get install sshfs                         &lt;span style="color: rgb(255, 255, 255);"&gt;%This install sshfs and all dependents&lt;/span&gt;&lt;br /&gt;$sudo mkdir /media/my-ssh-server-name&lt;/span&gt;  &lt;span style="color: rgb(255, 255, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;%This creates the folder to mount&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;$sudo chown  your-username /media/dir-name&lt;/span&gt; &lt;span style="color: rgb(255, 204, 204);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 204, 204);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;%This gives you permissions &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;$sudo modprobe fuse&lt;/span&gt;                          &lt;span style="color: rgb(255, 204, 204);"&gt;%This loads the fuse module&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;$sudo adduser your-username fuse&lt;/span&gt;   &lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 204, 204);"&gt;%This gives you permissions to run fuse&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 204);"&gt;Now reboot your computer and use the command:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;sshfs usr@host.com: /media/my-ssh-server-name&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 204);"&gt;For example, if I had a hosted account at netfirms.com, and my login name was JOEBOB and I had a website in a folder www/website2/ and a folder I made in /media called website2 I would do:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;sshfs JOEBOB@ssh.netfirms.com:www/website2/ /media/website2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 204);"&gt;Now to unmount do:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;$fusermount -u /media/my-ssh-server-name&lt;/span&gt; &lt;span style="color: rgb(255, 204, 204);"&gt; %Use this to unmount&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7045721837018953443?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7045721837018953443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7045721837018953443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7045721837018953443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7045721837018953443'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2008/11/install-sshfs-ssh-filesystem-in-ubuntu.html' title='Install SSHFS (SSH filesystem) in ubuntu via command line'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7812849340063072278</id><published>2008-11-08T14:44:00.000-08:00</published><updated>2008-11-08T14:48:12.823-08:00</updated><title type='text'>Apache MOD rewrite for oscommerce (CHEMO contribution)</title><content type='html'>To optimize your site for GOOGLE, and increase your page rank you need to convert your product IDs it the dynamic URL to static url's with keywords. There are packages out there to do this, that cost money, a great free SEO package can be found here by the oscommerce user CHEMO:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.oscommerce.com/community/contributions,2823"&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;http://www.oscommerce.com/community/contributions,2823&lt;/span&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;I have downloaded &lt;span style="color: rgb(255, 0, 0);"&gt;2.1d ORIGINAL updated&lt;/span&gt; since I didn't want to get anything too complicated until I understood the code better.&lt;br /&gt;&lt;br /&gt;Follow the read me and upload the two files to the necessary folders.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7812849340063072278?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7812849340063072278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7812849340063072278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7812849340063072278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7812849340063072278'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2008/11/apache-mod-rewrite-for-oscommerce-chemo.html' title='Apache MOD rewrite for oscommerce (CHEMO contribution)'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-524386917146471243</id><published>2008-10-14T10:33:00.001-07:00</published><updated>2008-10-14T10:47:56.664-07:00</updated><title type='text'>Point your domain to your home server</title><content type='html'>Just bought a domain name and want to host it at home? When people type in www.yourdomain.com how are they going to find you if you have a dynamic IP address? If your IP was static you could just use that and point the domain there.&lt;br /&gt;&lt;br /&gt;Mine is not, so I use &lt;span style="color: rgb(255, 204, 51);"&gt;www.DNSexit.com&lt;/span&gt; they are free and it was very easy to setup and manage my domains.... AND they have a client that runs on linux that will update them if your IP address ever changes making your setup maintain itself.&lt;br /&gt;&lt;br /&gt;So enter your domain in www.yourdomain.com into DNS, I believe they will automatically decect what your IP is, but if you want to find out yourself you can do www.whatismyip.com and paste that in.&lt;br /&gt;&lt;br /&gt;Now login into godaddy.com,  whoever your registrar was for your site and point your DNS servers to:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="textBlueBold12"&gt;ns1.dnsExit.com&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="textBlueBold12"&gt;ns2.dnsExit.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="textBlueBold12"&gt;ns3.dnsExit.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="textBlueBold12"&gt;ns4.dnsExit.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The 1, 2, 3, 4, etc... is for redundancy. Two should be fine.&lt;br /&gt;&lt;br /&gt;Sometimes it takes awhile, up to 4-6 hrs, but once it is set up and your domain is pointed to the DNSexit DNS servers then you are all set and when you type in www.yourdomain.com it will come up with your website (Only if you have ports open on your router directing them to the right machine that is running a webserver).&lt;br /&gt;&lt;br /&gt;Now to stop you from having to login and update your IP whenever it changes which usually only happens after a power outage  really (at least for me). You can down the Dynamic Client from DNSexit.&lt;br /&gt;&lt;br /&gt;Then run (if running debian/ubuntu):&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);font-size:-1;" &gt;dpkg -i ipUpdate-1.6-2.deb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Trouble shooting:&lt;/span&gt;&lt;br /&gt;To make sure your server is running get on the machine and type "localhost".&lt;br /&gt;&lt;br /&gt;Now lets see if the world can see it, type www.whatismyip.com and paste the IP into your browser. If you see your website great! If not then your ports on your router are not forwarding to the right machine.&lt;br /&gt;&lt;br /&gt;Next, register with DNSexit and type in your domain name after 4-6 hrs, give them time to update their system. If you see your website you are done, if not they have not updated their system yet, or your domain name is not pointed to the DNS servers. You can do a WHOIS lookup on your domain to see what the current DNS servers are on it.&lt;br /&gt;&lt;br /&gt;Good luck, enjoy,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-524386917146471243?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/524386917146471243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=524386917146471243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/524386917146471243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/524386917146471243'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2008/10/point-your-domain-to-your-home-server.html' title='Point your domain to your home server'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-555510246873115362</id><published>2008-10-14T06:57:00.000-07:00</published><updated>2008-10-14T06:58:15.812-07:00</updated><title type='text'>How to restart you apache2 webserver (Ubuntu intrepid)</title><content type='html'>This is how you can restart your apache2 server:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;sudo /etc/init.d/apache2 reload&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-555510246873115362?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/555510246873115362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=555510246873115362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/555510246873115362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/555510246873115362'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2008/10/how-to-restart-you-apache2-webserver.html' title='How to restart you apache2 webserver (Ubuntu intrepid)'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-7739897626462041021</id><published>2008-10-14T06:49:00.001-07:00</published><updated>2008-10-14T06:56:46.979-07:00</updated><title type='text'>How to set up virtual servers in apache2 (using Ubuntu Intrepid)</title><content type='html'>Assuming you have apache2 installed.&lt;br /&gt;&lt;br /&gt;Go to &lt;span style="color: rgb(51, 255, 51);"&gt;/etc/apache2/apache2.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Open it with your favorite text editor and at the very end add:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;NameVirtualHost 192.168.1.102&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt;&lt;virtualhost&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;DocumentRoot /var/www/website1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ServerName website1.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ServerAlias www.website1.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;/virtualhost&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;  DocumentRoot /var/www/website2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; ServerName website2.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ServerAlias www.website2.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ok now lets analyze what we just did.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;virtualhost&gt; &lt;/virtualhost&gt;&lt;/span&gt; This is the static IP address on my LAN. Whatever you pick you must open port 80 to redirect to this static IP address.&lt;br /&gt;&lt;br /&gt;DocumentRoot /var/www/ben/website1  This is where I keep the material for my first website.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;ServerName website1.com&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;ServerAlias www.website1.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will allow website1.com AND www.website1.com to work on the webserver, otherwise website1.com might return a site not found (401) error.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;/span&gt; Close my virtual site.&lt;br /&gt;&lt;br /&gt;You can have as many of these as you like as long as you don't exceed RAM, bandwidth, etc...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-7739897626462041021?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/7739897626462041021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=7739897626462041021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7739897626462041021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/7739897626462041021'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2008/10/how-to-set-up-virtual-servers.html' title='How to set up virtual servers in apache2 (using Ubuntu Intrepid)'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-622630015917250117.post-382605918178351333</id><published>2008-10-14T06:24:00.000-07:00</published><updated>2008-10-14T13:49:53.962-07:00</updated><title type='text'>How to install a APACHE-PHP-MYSQL-PHPMYADMIN server on Ubuntu Intrepid</title><content type='html'>First I install the webserver&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;sudo apt-get install apache2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I install PHP5 with all the add ons:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;sudo apt-get -f install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell php5-snmp &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I install MySQL database&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;sudo apt-get -f install mysql-server mysql-client&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And finally phpMyadmin to manage your database from a GUI.&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;sudo apt-get -f install phpmyadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NOW TO TEST EVERYTHING&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TESTING APACHE2&lt;/span&gt;&lt;br /&gt;To test if apache is working open your browser and type:&lt;br /&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;localhost&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you see the text "It works!" Apache2 is running.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TESTING PHP5&lt;/span&gt;&lt;br /&gt;Navigate to /var/www/&lt;br /&gt;and create a text file named test.php which contains:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now type in your browser:&lt;br /&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;localhost/test.php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You should see a large table of values that tell information about your server and php setup.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TESTING PHPMYADMIN&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;Open up your browser and type:&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;localhost/phpmyadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are taken to a login screen you can now login and create databased for your sites.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/622630015917250117-382605918178351333?l=ubuntugeeknerd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ubuntugeeknerd.blogspot.com/feeds/382605918178351333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=622630015917250117&amp;postID=382605918178351333' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/382605918178351333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/622630015917250117/posts/default/382605918178351333'/><link rel='alternate' type='text/html' href='http://ubuntugeeknerd.blogspot.com/2008/10/how-to-install-apache-php-mysql.html' title='How to install a APACHE-PHP-MYSQL-PHPMYADMIN server on Ubuntu Intrepid'/><author><name>bent</name><uri>http://www.blogger.com/profile/08027313785612671240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
