<?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:blogger='http://schemas.google.com/blogger/2008' 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-7796582409063059395</id><updated>2026-03-01T04:00:54.401-08:00</updated><category term="Photoshop"/><category term="Ubuntu 14.04"/><category term="Battle For Your Mind"/><category term="CloudFlare"/><category term="Django"/><category term="GoDaddy"/><category term="Lampp installation"/><category term="Mouse Programing in C"/><category term="OpenShift"/><category term="POV based LED DISPLAY"/><category term="Postgres"/><category term="SSD"/><category term="domain"/><category term="dual boot windows 8.1"/><category term="nginx"/><category term="postgis"/><category term="securing lampp"/><category term="upstart"/><category term="uwsgi"/><category term="vagrant"/><category term="virtualbox"/><title type='text'>Menatronics</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-2576931129057025966</id><published>2014-10-15T00:11:00.001-07:00</published><updated>2014-11-16T23:38:36.363-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Django"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="postgis"/><category scheme="http://www.blogger.com/atom/ns#" term="Postgres"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu 14.04"/><category scheme="http://www.blogger.com/atom/ns#" term="upstart"/><category scheme="http://www.blogger.com/atom/ns#" term="uwsgi"/><title type='text'>Notes on setting up Ubuntu 14.04 Django server</title><content type='html'>&lt;h2&gt;
&lt;b&gt;Ubuntu 14.04 / python / Django / uWsgi / Nginix / postgres / postgis / upstart&lt;/b&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
# Notes and reference on building Ubuntu 14.04 server&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
adduser skywalker&lt;/div&gt;
&lt;div&gt;
echo &quot;skywalker &amp;nbsp; &amp;nbsp;ALL=(ALL:ALL) ALL&quot; &amp;gt;&amp;gt; visudo&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
nano /etc/ssh/sshd_config&lt;/div&gt;
&lt;div&gt;
Port 10022&lt;/div&gt;
&lt;div&gt;
PermitRootLogin no&lt;/div&gt;
&lt;div&gt;
AllowUsers skywalker&lt;/div&gt;
&lt;div&gt;
service ssh restart&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo apt-get update&lt;/div&gt;
&lt;div&gt;
sudo apt-get upgrade&lt;/div&gt;
&lt;div&gt;
sudo apt-get install python-virtualenv&lt;/div&gt;
&lt;div&gt;
sudo pip install virtualenvwrapper&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo apt-get install mercurial&lt;/div&gt;
&lt;div&gt;
https://confluence.atlassian.com/pages/viewpage.action?pageId=270827678#SetupSSHforGitandMercurialonMacOSX/Linux-startagent&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
clone the repo&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo apt-get install python-dev libffi-dev&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
maakevirtualenv starwars&lt;/div&gt;
&lt;div&gt;
workon starwars&lt;/div&gt;
&lt;div&gt;
pip install -r requirements.txt&lt;/div&gt;
&lt;div&gt;
deactivate&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo apt-get install libpq-dev&lt;/div&gt;
&lt;div&gt;
sudo apt-get install postgresql postgresql-contrib&lt;/div&gt;
&lt;div&gt;
http://www.peterstratton.com/2014/04/how-to-install-postgis-2-dot-1-and-postgresql-9-dot-3-on-ubuntu-servers/&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo adduser yoda&lt;/div&gt;
&lt;div&gt;
sudo -u postgres createuser -D -A -P --superuser yoda&lt;/div&gt;
&lt;div&gt;
sudo -u postgres createdb -O yoda starwars&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
workon starwars&lt;/div&gt;
&lt;div&gt;
python manage.py migrate&lt;/div&gt;
&lt;div&gt;
python manage.py runserver&lt;/div&gt;
&lt;div&gt;
deactivate&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo apt-get install nginx&lt;/div&gt;
&lt;div&gt;
sudo cp code/starwars/conf/djago /etc/nginx/sites-available&lt;/div&gt;
&lt;div&gt;
ln -s /etc/nginx/sites-available /etc/nginx/sites-enbled&lt;/div&gt;
&lt;div&gt;
sudo service nginx restart&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
mkdir /home/skywalker/code/starwars/log&lt;/div&gt;
&lt;div&gt;
sudo chmod -R 777 /home/skywalker/code/starwars/log&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo mkdir /opt/django-nginx-uwsgi/&lt;/div&gt;
&lt;div&gt;
sudo chmod -R 777 /opt/django-nginx-uwsgi/&lt;/div&gt;
&lt;div&gt;
sudo chown skywalker:www-data /opt/django-nginx-uwsgi/&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo usermod -g www-data skywalker&lt;/div&gt;
&lt;div&gt;
id&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo cp /code/starwars/conf/upstart.conf /etc/init/uwsgi.conf&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo reboot&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
## important&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
iptables -L&lt;/div&gt;
&lt;div&gt;
cat /etc/host.conf&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
cat /etc/hosts.allow&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
cat /etc/hosts.deny&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
netstat -tulpn | grep ssh&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; color: #333333; font-family: Consolas, Menlo, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; line-height: 1.4; padding: 0px;&quot;&gt;## setting up SSL - Reference
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-73&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-74&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-nginx-for-ubuntu-14-04
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-75&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-76&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;## Hardening SSL
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-77&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-78&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;https://aralbalkan.com/scribbles/setting-up-ssl-with-nginx-using-a-namecheap-essentialssl-wildcard-certificate-on-digitalocean/
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cl-79&quot; style=&quot;color: #3572b0;&quot;&gt;&lt;/a&gt;https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/2576931129057025966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2014/10/notes-on-setting-up-ubuntu-1404-django.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/2576931129057025966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/2576931129057025966'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2014/10/notes-on-setting-up-ubuntu-1404-django.html' title='Notes on setting up Ubuntu 14.04 Django server'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-3714402646371179984</id><published>2014-08-24T11:49:00.001-07:00</published><updated>2014-08-24T11:57:23.595-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CloudFlare"/><category scheme="http://www.blogger.com/atom/ns#" term="domain"/><category scheme="http://www.blogger.com/atom/ns#" term="GoDaddy"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenShift"/><title type='text'>Forward Naked domains to Openshift for FREE</title><content type='html'>&lt;h2&gt;
How to attach a domain name to OpenShift or any PaaS account ?&lt;/h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Create a new app ex in OpenShift - &lt;b&gt;app_name-domain_name.rhcloud.com&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. Get a domain from Godaddy.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Signup for a free account for CloudFlare&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CloudFlare&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Add a website, by specifying the domain name - &lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;example.com&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. In the DNS settings, check if these two entries are there - if not create them manually&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;www&lt;/b&gt; points to &lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;example.com&lt;/span&gt;&lt;/b&gt; - type &lt;b&gt;CNAME&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;example.com&lt;/span&gt;&lt;/b&gt; points to&amp;nbsp;&lt;b&gt;&lt;b&gt;app_name-domain_name.rhcloud.com&lt;/b&gt;&amp;nbsp;&lt;/b&gt;- type &lt;b&gt;CNAME&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Delete A level record from the list&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4. CloudFlare now shows you two name servers.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;GoDaddy&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Delete the existing nameservers provided by Godaddy in Godaddy&#39;s control panel, in the domain settings for&amp;nbsp;&lt;b&gt;example.com&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. Add the two nameservers provided by CloudFlare to domain settings of example.com in GoDaddy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Check if domain forwarding is disabled or off. It should be disable or off by default&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;OpenShift Client Tools - Locally&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Install the rhc client tools for openshift, if you haven&#39;t and set it up, by following the instructions &lt;a href=&quot;https://www.openshift.com/developers/rhc-client-tools-install&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. After Installation execute these commands&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-family: Arial, Helvetica, sans-serif;&quot;&gt;rhc alias add app_name example.com&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-family: Arial, Helvetica, sans-serif;&quot;&gt;rhc alias add app_name www.example.com&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/3714402646371179984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2014/08/forward-naked-domains-to-openshift-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/3714402646371179984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/3714402646371179984'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2014/08/forward-naked-domains-to-openshift-for.html' title='Forward Naked domains to Openshift for FREE'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-7655463118910405756</id><published>2014-04-25T22:50:00.003-07:00</published><updated>2014-08-25T06:42:02.380-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dual boot windows 8.1"/><category scheme="http://www.blogger.com/atom/ns#" term="SSD"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu 14.04"/><category scheme="http://www.blogger.com/atom/ns#" term="vagrant"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>Running Ubuntu on 24GB SSD (Dual boot windows 8.1) - Managing Vagrant and VM files</title><content type='html'>&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;I use an ASUS S56C ultrabook, it has a hybrid drive ( 24G SSD&amp;nbsp;+ 750G HDD ) with Windows 8 as the primary OS.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;I primarily use Ubuntu, and wanted to keep windows too ( i paid 3K extra for that! ) so dual booting was my only option. Installing Ubuntu on the HDD was not an option because it was already divided into 5 partitions ( Recovery , OS , 350G, EFI , 128MB) etc and i wanted to avoid the mess dealing with Windows. And Ubuntu didn&#39;t support SSD cache out of the box.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
Setting up Ubuntu 14.04 on SSD&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;So I decided to install Ubuntu on the SSD. On further inspecting the SSD , the SSD is divided into 2 partitions .One for the OEM ( windows copy 4G ) and another 18G free partition( used as cache by Windows ).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;I installed Ubuntu on the 18G partition. Ubuntu&amp;nbsp;+ installation of essential packages ( VLC , git mercurial , gparted , gstream , etc ) takes around 8G , leaving me with only 10G free space.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;10G is not enough for me to setup vagrant and save the VM&#39;s. Each vagrant image I had was around 10G. So I decided to move the VM&#39;s to another ntfs drive. But i didn&#39;t have write permission on NTFS drive. This was because Windows 8 has an &quot;&lt;i style=&quot;font-weight: bold;&quot;&gt;Fast Boot&quot; &lt;/i&gt;option which prevents me to write to NTFS drives from another OS. you can disable that option by going to power options in Win8. But then later found out that NTFS drives don&#39;t support unix style permissions. :|&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;After all the frustration dealing with Win8 i decided to shrink the D drive ( 350G) to give me a nice 50G partition. I formatted it to EXT4 and mounted it to &lt;b&gt;/media/new_drive/&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;
Changing the default path for vagrant and virtualbox&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;By default vagrant saves all the data in &lt;b&gt;&lt;i&gt;~/.vagrant.d/&lt;/i&gt;&lt;/b&gt;&amp;nbsp;directory. To change the all we have to do is set the environment variable VAGRANT_HOME to a new location. You can do that by&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1) create a new file in /etc/profile.d/ called vagrant.sh . This file will be loaded during boot to setup the environment variable.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;sudo nano /etc/profile.d/vagrant.sh&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;in the file type:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;export VAGRANT_HOME = /media/new_drive/vagrant/&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;where /media/new_drive is where the EXT4 partition is mounted.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2) VirtualBox also saves the copy of the image in the users home directory. By default virtual box saves the copy of the image to &lt;b&gt;&lt;i&gt;~/.virtualbox/&lt;/i&gt;&lt;/b&gt; directory. To change the default location:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;open virtualbox -&amp;gt; file -&amp;gt; preference&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Here change the default image save path to &lt;i style=&quot;font-weight: bold;&quot;&gt;/media/new_drive/virtualbox &lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Now you can run vagrant as usual and all the configuration and image files will be saved on the new drive.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Note:&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1) SSD cache is manged by Diskeeper express cache in windows on my machine. In some hybrid computers, its managed by Intel SRT or RST (depends ) . Disabling that is advised before installing another OS (do a research before you proceed)&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2) Windows 8.1 works perfectly with fast boot disabled and without SSD cache. Its slow now.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;3) Ubuntu is super fast now.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;4) There are several posts online on how to use SSD as a cache on Ubuntu.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;5) Asus S56C - Windows 8.1 +&amp;nbsp;ubuntu 14.04&amp;nbsp;+ vagrant&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/7655463118910405756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2014/04/running-ubuntu-on-24gb-ssd-dual-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7655463118910405756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7655463118910405756'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2014/04/running-ubuntu-on-24gb-ssd-dual-boot.html' title='Running Ubuntu on 24GB SSD (Dual boot windows 8.1) - Managing Vagrant and VM files'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-6557603510059638688</id><published>2012-12-01T18:40:00.000-08:00</published><updated>2014-01-11T23:54:11.026-08:00</updated><title type='text'>Compiling Qt for visual studio 2012 - windows 8</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download Qt 4.8.4 from &lt;a href=&quot;http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.4.zip&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download Perl from &lt;a href=&quot;http://www.strawberryperl.com/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download JOM from&amp;nbsp;&lt;a href=&quot;ftp://ftp.qt.nokia.com/jom/jom.zip&quot;&gt;ftp://ftp.qt.nokia.com/jom/jom.zip&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
1. Install Perl, which we downloaded&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
2. Extract the Qt src file (zip file) to &lt;span style=&quot;color: #3d85c6;&quot;&gt;C:/Qt&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Qt 4.8.4 has problem compiling the &lt;span style=&quot;color: #cc0000;&quot;&gt;webkit&lt;/span&gt; module so we have to replace&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;C:\Qt\src\3rdparty\webkit\Source\JavaScriptCore\wtf\HashSet.h&lt;/span&gt; with &lt;a href=&quot;https://bitbucket.org/Vertexwahn/bluego/raw/56dbe84212222ec6954d8d327a5e443106bcc447/deploy/BlueGo0.0.4/qt4.8.3vs2012patch/HashSet.h&quot; target=&quot;_blank&quot;&gt;this HashSet.h&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4. Extract JOM to &lt;span style=&quot;color: #3d85c6;&quot;&gt;C:/Qt/jom&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;5. Set up the environment variables for Qt&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #6aa84f; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;QTDIR=C:\Qt\&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;color: #6aa84f; font-family: Arial, Helvetica, sans-serif;&quot;&gt;QMAKESPEC=win32-msvc2012&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;6. Update&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; border: 0px; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;PATH&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&amp;nbsp;variable to &amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; border: 0px; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Arial, Helvetica, sans-serif;&quot;&gt;%QTDIR%\bin&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;code style=&quot;background-color: white; border: 0px; line-height: 22px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;add &#39;&lt;span style=&quot;color: #6aa84f;&quot;&gt;;&lt;/span&gt;&#39; to the end of the path and then append&lt;/span&gt;&amp;nbsp;&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #3d85c6; line-height: 22px;&quot;&gt;%QTDIR%\bin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;7.Open VS2012 Native tools command line and move to C:\Qt&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;color: #6aa84f; font-family: Arial, Helvetica, sans-serif;&quot;&gt;cd C:\Qt&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;8.Then type&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;color: #6aa84f; font-family: Arial, Helvetica, sans-serif;&quot;&gt;configure -opensource -platform win32-msvc2012&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;9. Then type&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;color: #6aa84f; font-family: Arial, Helvetica, sans-serif;&quot;&gt;jom\jom.exe -j n&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;where n is the number of cores of your CPU.For me its ( &lt;span style=&quot;color: #6aa84f;&quot;&gt;jom\jom.exe -j 2&lt;/span&gt; )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Compilation usually takes 5 - 6 hours&amp;nbsp;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/6557603510059638688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2012/12/compiling-qt-for-visual-studio-2012.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/6557603510059638688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/6557603510059638688'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2012/12/compiling-qt-for-visual-studio-2012.html' title='Compiling Qt for visual studio 2012 - windows 8'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-4233394069781100644</id><published>2012-01-12T05:37:00.000-08:00</published><updated>2012-08-17T03:02:25.935-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lampp installation"/><category scheme="http://www.blogger.com/atom/ns#" term="securing lampp"/><title type='text'>How to install Lampp/Xampp and how to secure Lampp/Xampp on Unix</title><content type='html'>&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial, Helvetica, sans-serif;&quot;&gt;INSTALLING LAMPP&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Download the lampp installation file from&amp;nbsp;&lt;a href=&quot;http://www.apachefriends.org/en/xampp-linux.html&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;http://www.apachefriends.org/en/xampp-linux.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. Take terminal and type &quot;&lt;b&gt;sudo su&lt;/b&gt;&quot; and enter root password to become root user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Extract the file using tar command &quot;&lt;b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;tar xvfz {&lt;span style=&quot;color: #6aa84f;&quot;&gt;downloaded_file_name&lt;/span&gt;} /opt&lt;/span&gt;&lt;/b&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Donot extract the files using any other extractors as it will extract with wrong permissions ! and may lead to not proper working of the server !!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4. After extracting you can Start your server by typing &quot;&lt;strong style=&quot;text-align: justify;&quot;&gt;/opt/lampp/lampp start&lt;/strong&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;5. To view the default site , fire up your browser and type &lt;b&gt;127.0.0.1&lt;/b&gt; in the address bar .. You should see the default xampp page here :)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;CHANGE&amp;nbsp;OWNERSHIP&amp;nbsp;TO YOUR ACCOUNT&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. As a root user go to &lt;b&gt;&quot;/opt/lampp&quot;&lt;/b&gt; folder using the cd command&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. Then change the ownership of the htdocs folder by typing this command&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;&quot;chown -R &lt;span style=&quot;color: #6aa84f;&quot;&gt;username&lt;/span&gt;:&lt;span style=&quot;color: #6aa84f;&quot;&gt;username&lt;/span&gt; htdocs&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Then from here move to /opt/lampp/etc folder to associate your username with the apache server .F&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ind the file called httpd.conf and open it with nano or gedit and find the line&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&quot;User nobody&quot;&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt; and change it to &lt;/span&gt;&lt;b style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&quot;user {&lt;span style=&quot;color: #6aa84f;&quot;&gt;username&lt;/span&gt;}&quot;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4. Now restart lampp to see the effect :) &amp;nbsp;you can restart lampp by typing this in&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&quot;/opt/lampp/lampp restart&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;To view the status if the server type &lt;b&gt;&quot;/opt/lampp/lampp status&quot;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;To stop the server type &lt;b&gt;&quot;/opt/lampp/lampp stop&quot;&lt;/b&gt; and&amp;nbsp;&lt;b&gt;&quot;/opt/lampp/lampp start&quot;&lt;/b&gt; to start the server again&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;5. Also go to &lt;b&gt;&quot;/opt/lampp/phpmyadmin&quot;&lt;/b&gt; &amp;nbsp;&amp;nbsp;and type &lt;b&gt;&quot;chown &lt;span style=&quot;color: #6aa84f;&quot;&gt;username&lt;/span&gt;:&lt;span style=&quot;color: #6aa84f;&quot;&gt;username &lt;/span&gt;config.inc.php&quot;&lt;/b&gt; &amp;nbsp;to change the ownership of the config files and make it readable .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;ENABLING BASIC LAMPP SECURITY FEATURES&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. In the terminal type &lt;b&gt;&quot;/opt/lampp/lampp security&quot;&lt;/b&gt; &amp;nbsp;and give the password for everything and secure it .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;RUNNING LAMMP AT STARTUP&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;line-height: 1.5; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Move to &lt;b&gt;&quot;/etc/init.d/&quot;&lt;/b&gt; folder and type this commad &lt;b&gt;&quot;sudo vi lampp&quot;&lt;/b&gt; and add these lines&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 1.5; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;&quot;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 1.5; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;/opt/lampp/lampp start&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 1.5; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;save the file&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. In the terminal type &lt;b&gt;&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 16px; text-align: justify;&quot;&gt;&lt;b&gt;sudo chmod +x /etc/init.d/lampp&quot;&lt;/b&gt; &amp;nbsp;to give execute permission for that script .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 16px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 1.5; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. Use update-rc.d to install init scripts to all runlevel by typing&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 1.5; margin-bottom: 15px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&quot;sudo update-rc.d lampp defaults&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/4233394069781100644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2012/01/lampp-installation-to-securing-your.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/4233394069781100644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/4233394069781100644'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2012/01/lampp-installation-to-securing-your.html' title='How to install Lampp/Xampp and how to secure Lampp/Xampp on Unix'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-6041891606648602825</id><published>2010-10-12T07:52:00.000-07:00</published><updated>2012-03-17T01:24:06.546-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Photoshop"/><title type='text'>guns</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_JQMjjEsCDbg/TLRw0AK9nRI/AAAAAAAAAFo/Q94p-9GRA_8/s1600/guns.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/_JQMjjEsCDbg/TLRw0AK9nRI/AAAAAAAAAFo/Q94p-9GRA_8/s320/guns.jpg&quot; width=&quot;227&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOWtA-hntuDc6yO9HmWI4VfioDiKNHFu5w0bow1RQRuw0M4hEZPhoI2aWS8TvcAqFdeuX2F8yxoaKy05F940m4Gtmbt-0PR68QKKu0rslVVoFllJ9pcyobi-OW5mh18S6kk26TGC4hBBk/s1600/cannon.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOWtA-hntuDc6yO9HmWI4VfioDiKNHFu5w0bow1RQRuw0M4hEZPhoI2aWS8TvcAqFdeuX2F8yxoaKy05F940m4Gtmbt-0PR68QKKu0rslVVoFllJ9pcyobi-OW5mh18S6kk26TGC4hBBk/s320/cannon.jpg&quot; width=&quot;227&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/6041891606648602825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/10/guns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/6041891606648602825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/6041891606648602825'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/10/guns.html' title='guns'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_JQMjjEsCDbg/TLRw0AK9nRI/AAAAAAAAAFo/Q94p-9GRA_8/s72-c/guns.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-4944362995308900772</id><published>2010-09-26T10:58:00.001-07:00</published><updated>2012-03-17T01:25:32.186-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Photoshop"/><title type='text'>Photoshoped 3</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOG8yEevWVuKxtA8uBJdzQhW2M7Aued7viOwNRBa289PnrYQU6SbgjOHF4SZJ1pB7GiW5jNYr7Hbvha5zRvkQFWy29gOJNhUI2FHZx4zrgamzg_G89NEqdV59UhaiBe8XBznFS7qkJP9g/s1600/man.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; px=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOG8yEevWVuKxtA8uBJdzQhW2M7Aued7viOwNRBa289PnrYQU6SbgjOHF4SZJ1pB7GiW5jNYr7Hbvha5zRvkQFWy29gOJNhUI2FHZx4zrgamzg_G89NEqdV59UhaiBe8XBznFS7qkJP9g/s640/man.jpg&quot; width=&quot;446&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw48Ygju_9bzpIZ08IXOyvSA904RjQRdOvn0EdgqF2-2aWBqFe42KzQjSLBNxelAaTstspLEgQqtfP9OQLhtBTgfuTdIpgRovmwTIIJ2oM-60YvzsYSlkKjyta0lT26er6RidUmMErSeE/s1600/man2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; px=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw48Ygju_9bzpIZ08IXOyvSA904RjQRdOvn0EdgqF2-2aWBqFe42KzQjSLBNxelAaTstspLEgQqtfP9OQLhtBTgfuTdIpgRovmwTIIJ2oM-60YvzsYSlkKjyta0lT26er6RidUmMErSeE/s640/man2.jpg&quot; width=&quot;447&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2xi5zp0IjFxTkTdLg8xvRKmLnds1v1vnUzbFVC6CGHLWlAQraJIzdG6NKHa_NyRg9g__HunA7gCNBi6mE328D5rGJb9AXx6qwMY6TgAXLMvPKad-746Kbes0jttTh_Pw_D9IiBbAf6RA/s1600/man3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; px=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2xi5zp0IjFxTkTdLg8xvRKmLnds1v1vnUzbFVC6CGHLWlAQraJIzdG6NKHa_NyRg9g__HunA7gCNBi6mE328D5rGJb9AXx6qwMY6TgAXLMvPKad-746Kbes0jttTh_Pw_D9IiBbAf6RA/s640/man3.jpg&quot; width=&quot;447&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChV7PpdLlB-bNmoUitRNG7Kc0aDiG3wXvu6yhQl4A8bm6H63YJVN77dkyhEQPc9Ft7a1Jx5vtmPi6xNfpRYtdT1Vv1moNP4Yl6Gt0CHSFmZTbCPcgsj83VU02o5eOaPT48fUB3MaU19k/s1600/man4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; px=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChV7PpdLlB-bNmoUitRNG7Kc0aDiG3wXvu6yhQl4A8bm6H63YJVN77dkyhEQPc9Ft7a1Jx5vtmPi6xNfpRYtdT1Vv1moNP4Yl6Gt0CHSFmZTbCPcgsj83VU02o5eOaPT48fUB3MaU19k/s640/man4.jpg&quot; width=&quot;447&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/4944362995308900772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/09/photoshoped-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/4944362995308900772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/4944362995308900772'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/09/photoshoped-3.html' title='Photoshoped 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOG8yEevWVuKxtA8uBJdzQhW2M7Aued7viOwNRBa289PnrYQU6SbgjOHF4SZJ1pB7GiW5jNYr7Hbvha5zRvkQFWy29gOJNhUI2FHZx4zrgamzg_G89NEqdV59UhaiBe8XBznFS7qkJP9g/s72-c/man.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-6786998240906338384</id><published>2010-08-01T08:57:00.000-07:00</published><updated>2012-03-17T01:26:05.005-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Photoshop"/><title type='text'>photoshoped</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTKsLZTCXn51r4kxjJQ_chtujT7ruQ4F3dwcVtyFAmZmcFGI0yMMqf_DWQwoKFLg4U6LSZdWGNxVfuVp0Jah7ajiO4uxHQWK062Ehq5alrZtT-mWSWIbKLwXv4AbuH9llpuovOO-cqYUo/s1600/fairies3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTKsLZTCXn51r4kxjJQ_chtujT7ruQ4F3dwcVtyFAmZmcFGI0yMMqf_DWQwoKFLg4U6LSZdWGNxVfuVp0Jah7ajiO4uxHQWK062Ehq5alrZtT-mWSWIbKLwXv4AbuH9llpuovOO-cqYUo/s1600/fairies3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/6786998240906338384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/08/photoshoped.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/6786998240906338384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/6786998240906338384'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/08/photoshoped.html' title='photoshoped'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTKsLZTCXn51r4kxjJQ_chtujT7ruQ4F3dwcVtyFAmZmcFGI0yMMqf_DWQwoKFLg4U6LSZdWGNxVfuVp0Jah7ajiO4uxHQWK062Ehq5alrZtT-mWSWIbKLwXv4AbuH9llpuovOO-cqYUo/s72-c/fairies3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-1305320372634537136</id><published>2010-07-31T05:19:00.000-07:00</published><updated>2012-03-17T01:27:01.222-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Photoshop"/><title type='text'>CHS banners</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5KA27fS2lAeYQ88qoCfXwZwvnNZuCru7MqDgqXVbBGHiQ6EN5QCTmOqSd-VbjXFh0PcfKxrD4DIbU4oSyokpAklx1NOgdbAS2oNY-n1ERp6zYblocrO5DCCt5qpqv6iSwg9RSDXAqf6U/s1600/BANNER_CHS+SEAL+2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5KA27fS2lAeYQ88qoCfXwZwvnNZuCru7MqDgqXVbBGHiQ6EN5QCTmOqSd-VbjXFh0PcfKxrD4DIbU4oSyokpAklx1NOgdbAS2oNY-n1ERp6zYblocrO5DCCt5qpqv6iSwg9RSDXAqf6U/s640/BANNER_CHS+SEAL+2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/1305320372634537136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/07/chs-banners.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/1305320372634537136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/1305320372634537136'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/07/chs-banners.html' title='CHS banners'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5KA27fS2lAeYQ88qoCfXwZwvnNZuCru7MqDgqXVbBGHiQ6EN5QCTmOqSd-VbjXFh0PcfKxrD4DIbU4oSyokpAklx1NOgdbAS2oNY-n1ERp6zYblocrO5DCCt5qpqv6iSwg9RSDXAqf6U/s72-c/BANNER_CHS+SEAL+2.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-9066143604947914949</id><published>2010-05-04T05:53:00.000-07:00</published><updated>2012-03-17T01:24:06.569-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Photoshop"/><title type='text'>Photoshoped 2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana,sans-serif; font-size: x-large;&quot;&gt;Click on the images to enlarge them&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiID5z3VC3NB7WcUhMoV7FLt4MIcAcpBJVi8h4xwSoSig-o1Ap2W-dqzhlBjwLe7sSIwltOM46nJF6oR3wYd-btl3BtC5l8lEhfu07nZBJTWyCc0l_wSStdFj6_FGwsrviZvQ6LbccPFH8/s1600/peel.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiID5z3VC3NB7WcUhMoV7FLt4MIcAcpBJVi8h4xwSoSig-o1Ap2W-dqzhlBjwLe7sSIwltOM46nJF6oR3wYd-btl3BtC5l8lEhfu07nZBJTWyCc0l_wSStdFj6_FGwsrviZvQ6LbccPFH8/s320/peel.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6M1m0dVogn1g_m7qsW1wVxlucIUx41LRv-XOGutGMlWLrXn97yzS41DEkXzziRaDvnTd4MJQGIhHJMogV9dFD6Qj28uqotQRWr5S4k9f2J-ah4Gn38u8paCOZAjTwwk4YlxbM81ICu2U/s1600/cyberheader2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;91&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6M1m0dVogn1g_m7qsW1wVxlucIUx41LRv-XOGutGMlWLrXn97yzS41DEkXzziRaDvnTd4MJQGIhHJMogV9dFD6Qj28uqotQRWr5S4k9f2J-ah4Gn38u8paCOZAjTwwk4YlxbM81ICu2U/s320/cyberheader2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWdjfhL9frD11seeQuQI9usGRpsWHIlbCx-Fnb3uWk_qtxoLbHZlwL7ysdyHUTqcIo0RhG4bdAaXnsQJfkqhVWSSvai-yZVR3TMyNGj62bx-mz7QyQKM2gXZpTMZWZw3DMSmccxpLIUtg/s320/colors.jpg&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoJthbk7qu9LVdWi7iaZKarzs_VtTfbS6nDq0NggZURI7Cq72zLHaBJXVHDyvblOnZ_jZQD54OsZyvO18AV2xel76x-B0MgGH7Ntobhjcr5u9iM_WZnuZo9bxdN6mJP2TUeyDHmva03wo/s1600/lights.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoJthbk7qu9LVdWi7iaZKarzs_VtTfbS6nDq0NggZURI7Cq72zLHaBJXVHDyvblOnZ_jZQD54OsZyvO18AV2xel76x-B0MgGH7Ntobhjcr5u9iM_WZnuZo9bxdN6mJP2TUeyDHmva03wo/s320/lights.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_q9TlrAkI57mMiQOAdtmQd0ez2krBRpyuv2_h3tW-o-iYWNVm5HB1jc01xLfHA8HmijcNgcY7MO1JlPPoUNUiqEwVKOIF9yi9Rnw5wodPklOGLIiF6b2Ecs_0hMNTWGv5-Y7ALj5fvNY/s1600/riya+sen.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_q9TlrAkI57mMiQOAdtmQd0ez2krBRpyuv2_h3tW-o-iYWNVm5HB1jc01xLfHA8HmijcNgcY7MO1JlPPoUNUiqEwVKOIF9yi9Rnw5wodPklOGLIiF6b2Ecs_0hMNTWGv5-Y7ALj5fvNY/s320/riya+sen.jpg&quot; width=&quot;296&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnFUOOSu5NG5141y-QF58rrQUfBU8rKQ_0kR5xx7sz8EnpaArqoigK8kE0CrWYehPZ0_VaUNQ3ScuQPtLuYn3I9pTE6jL5AUdrPn6WjOJpwXTsIR6g2m__TeanEK0EPG3sARroQs8otZ0/s1600/streaqmers.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnFUOOSu5NG5141y-QF58rrQUfBU8rKQ_0kR5xx7sz8EnpaArqoigK8kE0CrWYehPZ0_VaUNQ3ScuQPtLuYn3I9pTE6jL5AUdrPn6WjOJpwXTsIR6g2m__TeanEK0EPG3sARroQs8otZ0/s320/streaqmers.jpg&quot; width=&quot;214&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit_sSjONpnAgZy2BAf8LXkc7hgymZ0-j33Sjra3UVUcLI4qsm6d7WoEr-UAOrtXRnq7Aox2RZZPpLJX6xPEtIVBhyphenhyphen_7vxWSlQ8NJvJDuL2rvd37_DYWkPgSTqp9zo57vxqzLx5aCgwHE4/s1600/Hdr_clouds.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit_sSjONpnAgZy2BAf8LXkc7hgymZ0-j33Sjra3UVUcLI4qsm6d7WoEr-UAOrtXRnq7Aox2RZZPpLJX6xPEtIVBhyphenhyphen_7vxWSlQ8NJvJDuL2rvd37_DYWkPgSTqp9zo57vxqzLx5aCgwHE4/s400/Hdr_clouds.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/9066143604947914949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/05/photoshoped-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/9066143604947914949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/9066143604947914949'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/05/photoshoped-2.html' title='Photoshoped 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiID5z3VC3NB7WcUhMoV7FLt4MIcAcpBJVi8h4xwSoSig-o1Ap2W-dqzhlBjwLe7sSIwltOM46nJF6oR3wYd-btl3BtC5l8lEhfu07nZBJTWyCc0l_wSStdFj6_FGwsrviZvQ6LbccPFH8/s72-c/peel.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-3308939858301891714</id><published>2010-01-22T22:45:00.001-08:00</published><updated>2012-03-17T01:23:05.122-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Battle For Your Mind"/><title type='text'>THE BATTLE FOR YOUR MIND</title><content type='html'>&lt;h2&gt;
THE BATTLE FOR YOUR MIND, by Dick Sutphen&lt;/h2&gt;
&lt;h2&gt;
Persuasion &amp;amp; Brainwashing Techniques Being Used On The Public Today&lt;/h2&gt;
&amp;nbsp;&lt;em&gt;Reposting the article i found in &lt;/em&gt;&lt;a href=&quot;http://www.bombshock.com/&quot;&gt;&lt;em&gt;www.bombshock.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt; as i thought its more relevant today&lt;/em&gt;&lt;br /&gt;
SUMMARY OF CONTENTS &lt;br /&gt;
The Birth of Conversion/Brainwashing in Christian Revivalism in 1735. The Pavlovian explanation of the three brain phases. Born-again preachers:    &lt;br /&gt;Step-by-Step, how they conduct a revival and the expected physiological&amp;nbsp; results. The &quot;voice roll&quot; technique used by preachers, lawyers and hypnotists.     &lt;br /&gt;New trance-inducing churches. The 6 steps to conversion. The decognition process. Thought-stopping techniques. The &quot;sell it by zealot&quot; technique. True believers and mass movements. Persuasion techniques: &quot;Yes set,&quot; &quot;Imbedded Commands,&quot; &quot;Shock and Confusion,&quot; and the &quot;Interspersal Technique.&quot;Subliminals. Vibrato and ELF waves. Inducing trance with vibrational sound. Even professional observers will be &quot;possessed&quot; at charismatic gatherings. The &quot;only hope&quot; technique to attend     &lt;br /&gt;and not be converted. Non-detectable Neurophone programming through the skin. The medium for mass take-over. &lt;br /&gt;
I’m Dick Sutphen and this tape is a studio-recorded, expanded version of a talk I delivered at the World Congress of Professional Hypnotists Convention in Las Vegas, Nevada. Although the tape carries a copyright to protect it from unlawful duplication for sale by other companies, in this case, I invite individuals to make copies and give them to friends or anyone in a position to communicate this information. Although I’ve been interviewed about the subject on many local and regional radio and TV talk shows, large-scale mass communication appears to be blocked, since it could result in suspicion or investigation of the very media presenting it or the sponsors that support the media. Some government agencies do not want this information generally known. Nor do the Born-Again Christian&amp;nbsp; movement, cults, and many human-potential trainings Everything I will relate only exposes the surface of the problem. I don’t know how the misuse of these techniques can be stopped. I don’t think it is possible to legislate against that which often cannot be detected; and if those who legislate are using these techniques, there is little hope of affecting laws to govern usage. I do know that the first step to initiate change is to generate interest. In this case, that will probably only result from an underground effort.    &lt;br /&gt;
In talking about this subject, I am talking about my own business. I know it, and I know how effective it can    &lt;br /&gt;be. I produce hypnosis and subliminal tapes and, in some of my seminars, I use conversion     &lt;br /&gt;tactics to assist participants to become independent and self-sufficient. But, anytime I     &lt;br /&gt;use these techniques, I point out that I am using them, and those attending have a&amp;nbsp; choice to participate or not. They also know what the desired result of participation will be. So, to begin, I want to state the most basic of all facts about brainwashing: IN THE ENTIRE HISTORY OF MAN, NO ONE HAS EVER BEEN BRAINWASHED AND REALIZED, OR BELIEVED, THAT HE HAD BEEN BRAINWASHED. Those who have been brainwashed will usually passionately defend their manipulators, claiming they have simply been &quot;shown the light&quot; . . . or have been transformed in miraculous ways. &lt;br /&gt;
The Birth of Conversion &lt;br /&gt;
CONVERSION    &lt;br /&gt;is a &quot;nice&quot; word for BRAINWASHING . . . and any study of brainwashing has to begin with a study of Christian revivalism in eighteenth century America. Apparently, Jonathan Edwards accidentally discovered the techniques during a religious crusade in 1735 in Northampton, Massachusetts. By inducing guilt and acute apprehension and by increasing the tension, the &quot;sinners&quot; attending his revival meetings would break down and completely submit. Technically, what Edwards was doing was creating conditions that wipe&amp;nbsp; the brain slate clean so that the mind accepts new programming. The problem was that the new input was negative. He would tell them, &quot;You’re a sinner! You’re destined for hell!&quot; As a result, one person committed suicide and another attempted suicide.     &lt;br /&gt;And the neighbors of the suicidal converts related that they, too, were affected so deeply that, although they had found &quot;eternal salvation,&quot; they were obsessed with a diabolical temptation to end their own lives. Once a preacher, cult leader, manipulator or authority figure creates the brain phase to wipe the brain-slate clean, his subjects are wide open. New input, in the form of suggestion, can be substituted for their previous ideas.&amp;nbsp; Because Edwards didn’t turn his message positive until the end of the revival, many accepted the negative suggestions and acted, or desired to act, upon them.&lt;br /&gt;
&lt;br /&gt;Charles J. Finney was another Christian revivalist who used the same techniques four years later in mass religious conversions in New York. The techniques are still being used today by Christian revivalists, cults,     &lt;br /&gt;human-potential trainings, some business rallies, and the United States Armed&amp;nbsp; Services . . . to name just a few. Let me point out here that I don’t think most revivalist preachers realize or know they are using brainwashing techniques. Edwards simply stumbled upon a technique that really worked, and others copied it and have continued to copy it for over two hundred years. And the more sophisticated our knowledge and technology become, the more effective the conversion. I feel strongly that this is one of the major reasons for the increasing rise in Christian fundamentalism, especially the televised variety, while most of the orthodox religions are declining. &lt;br /&gt;
The Three Brain Phases &lt;br /&gt;
The Christians may have been the first to successfully formulate brainwashing, but we have to look to Pavlov, the Russian scientist, for a technical explanation. In the early 1900s, his work with animals opened the door to further investigations with humans. After the revolution in Russia, Lenin was quick to see the potential of applying Pavlov’s research to his own&amp;nbsp; ends.    &lt;br /&gt;Three distinct and progressive states of transmarginal inhibition were identified by Pavlov. The first is the EQUIVALENT phase, in which the brain gives the same response to both strong and weak stimuli. The second is the PARADOXICAL phase, in which the brain responds more actively to weak stimuli than to strong. And the third is the ULTRA-PARADOXICAL phase, in which conditioned responses and behavior patterns turn from positive to negative or from negative to positive. With the progression through each phase, the degree of conversion becomes more effective and complete. The way to achieve conversion are many and varied, but the usual first step in religious or political brainwashing is to work on the emotions of an individual or group until they reach an abnormal level of anger, fear, excitement, or nervous tension. The progressive result of this mental condition is to impair judgment and increase suggestibility. The more this condition can be maintained or intensified, the more it compounds. Once catharsis, or the first brain phase, is reached, the complete mental takeover becomes easier. Existing mental programming can be replaced with new patterns of thinking and behavior. Other often used physiological weapons to modify normal brain functions are fasting, radical or high sugar diets, physical discomforts, regulation of&amp;nbsp; breathing, mantra chanting in meditation, the disclosure of awesome mysteries, special lighting and sound effects, programmed response to incense, or intoxicating drugs. The same results can be obtained in contemporary psychiatric treatment by electric shock treatments and even by purposely lowering a person’s blood sugar level with insulin injections. Before I talk about exactly how some of the techniques are applied, I want&amp;nbsp; to point out that hypnosis and conversion tactics are two distinctly different things–and that conversion techniques are far more powerful. However, the two are often mixed . . . with powerful results. &lt;br /&gt;
How Revivalist Preachers Work &lt;br /&gt;
If you’d like to see a revivalist preacher at work, there are probably several in your city. Go to the church or tent early and sit in the rear, about three-quarters of the way back. Most likely repetitive music will be played while the people come in for the service. A repetitive beat, ideally ranging from 45 to 72 beats per minute (a rhythm close to the beat of the human heart), is very hypnotic and can generate an eyes-open altered state of consciousness in a very high percentage of people. And, once you are in an alpha state, you are at least 25 times as suggestible as you would be in full beta consciousness. The music is probably the same for every service, or incorporates the same beat, and many of the people will go into an altered state almost immediately upon entering the sanctuary. Subconsciously, they recall their state of mind from previous services and respond according to the post-hypnotic programming. &lt;br /&gt;
&lt;br /&gt;Watch the people waiting for the service to begin. Many will exhibit external signs of trance–body relaxation and slightly dilated eyes. Often, they begin swaying back and forth with their hands in the air while sitting in their chairs. Next, the assistant pastor will probably come out. He usually speaks with a pretty good &quot;voice roll.&quot; Voice Roll Technique A &quot;voice roll&quot; is a patterned, paced style used by hypnotists when inducing a trance. It is also used by many lawyers, several of whom are highly trained hypnotists, when they desire to entrench a point firmly in the minds of the jurors. A voice roll can sound as if the speaker were talking to the beat of a metronome or it may sound as though he were emphasizing every word in a monotonous, patterned style. The words will usually be delivered at the rate of 45 to 60 beats per minute,maximizing the hypnotic effect. Now the assistant pastor begins the &quot;build-up&quot; process. He induces an altered state of consciousness and or begins to generate the excitement and the expectations of the audience. Next, a group of young women in &quot;sweet and pure&quot; chiffon dresses might come out to sing a song. Gospel songs are great for building excitement and INVOLVEMENT. In the middle of the song, one of the girls might be &quot;smitten by the spirit&quot; and fall down or react as if possessed by the Holy Spirit. This very effectively increases the intensity in the room. At this point, hypnosis and conversion tactics are being mixed. And the result is the audience’s attention span is now totally focused upon the communication&amp;nbsp; while the environment becomes more exciting or tense. Right about this time, when an eyes-open mass-induced alpha mental state has been achieved, they will usually pass the collection plate or basket. In the background, a 45-beat-per-minute voice roll from the assistant preacher might exhort, &quot;Give to God . . . Give to God . . .     &lt;br /&gt;Give to God . . .&quot; And the audience does give. God may not get the money, but his already wealthy representative will. Next, the fire-and-brimstone preacher will come out. He induces fear and increases the tension by talking about &quot;the devil,&quot; &quot;going to hell,&quot; or the forthcoming Armageddon. In the last such rally I attended, the preacher talked about the blood that would soon be running out of every faucet in the land. He&amp;nbsp; was also obsessed with a &quot;bloody axe of God,&quot; which everyone had seen hanging above the pulpit the previous week. I have no doubt that everyone saw it–the power of suggestion given to hundreds of people in hypnosis assures that at least 10 to 25 percent would see whatever he suggested they see. In most revivalist gatherings,&amp;nbsp; &quot;testifying&quot; or &quot;witnessing&quot; usually follows the fear-based sermon. People from the audience come up on stage and relate their stories. &quot;I was crippled and now I can walk!&quot; &quot;I had arthritis&amp;nbsp; and now it’s gone!&quot; It is a psychological manipulation that works. After listening to numerous case histories of miraculous healings, the average guy in the audience with a minor problem is sure he can be healed. The room is charged with fear, guilt, intense excitement, and expectations. Now those who want to be healed are frequently lined up around the edge of the room, or they are told to come down to the front. The preacher might touch them on the head firmly and scream, &quot;Be healed!&quot; This releases the psychic energy and, for many, catharsis results. Catharsis is a purging of repressed emotions. Individuals might cry, fall down or even go into spasms. And if catharsis is effected, they stand a chance of being healed. In catharsis (one of the three brain phases mentioned earlier), the brain-slate is temporarily wiped clean and the new suggestion is accepted. For some, the healing may be permanent. For many, it will last four days to a week, which is, incidentally, how long a hypnotic suggestion given to a somnambulistic subject will usually last. Even if the healing doesn’t last, if they come back every week, the power of suggestion may continually override the problem . . . or sometimes, sadly, it can mask a physical problem which could prove to be very detrimental to the individual in the long run. I’m not saying that legitimate healings do not take place. They do. Maybe the individual was ready to let go of the negativity that caused the problem in the first place; maybe it was the work of God. Yet I contend that it can be explained with existing knowledge of brain/mind function. The techniques and staging will vary from church to church. Many use &quot;speaking in tongues&quot; to generate catharsis in some while the spectacle creates intense excitement in the observers. The use of hypnotic techniques by religions is sophisticated, and professionals are assuring that they become even more effective. A man in Los Angeles is designing, building, and reworking a lot of churches around the country. He tells ministers what they need and how to use it. This man’s track record indicates that the congregation and the monetary income will double if the minister follows his instructions. He admits that about 80 percent of his efforts are in the sound system and lighting. Powerful sound and the proper use of lighting are of primary importance in inducing an altered state of consciousness–I’ve been using them for years in my own seminars. However, my participants are fully aware of the process and what they can expect as     &lt;br /&gt;a result of their participation. &lt;br /&gt;
Six Conversion Techniques &lt;br /&gt;
Cults and human-potential organizations are always looking for new converts. To attain them, they must also create a brain-phase. And they often need to do it within a short space of time–a weekend, or maybe even a day. The following are the six primary techniques used to generate the conversion. The meeting or training takes place in an area where participants are cut off from the outside world. This may be any place: a private home, a remote or rural setting, or even a hotel ballroom where the participants are allowed only limited bathroom usage. In human-potential trainings, the controllers&amp;nbsp; will give a lengthy talk about the importance of &quot;keeping agreements&quot; in life. The participants are told that if they don’t keep agreements, their life will never work. It’s a good idea to keep agreements, but the controllers are subverting a positive human value for selfish purposes. The participants vow to themselves and their trainer that they will keep their agreements. Anyone who&amp;nbsp; does not will be intimidated into agreement or forced to leave. The next step is to agree to complete training, thus assuring a high percentage of conversions for the organizations. They will USUALLY have to agree not to take drugs, smoke, and sometimes not to eat . . . or they are given such short meal breaks that it creates tension. The real reason for the agreements is to alter internal chemistry, which generates anxiety and hopefully causes at least a slight malfunction of the nervous system, which in turn increases the conversion potential. Before the gathering is complete, the agreements will be used to ensure that the new converts go out and find new participants. They are intimidated</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/3308939858301891714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/01/battle-for-your-mind.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/3308939858301891714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/3308939858301891714'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/01/battle-for-your-mind.html' title='THE BATTLE FOR YOUR MIND'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-7469968228191698390</id><published>2010-01-17T20:38:00.001-08:00</published><updated>2010-01-17T20:38:20.043-08:00</updated><title type='text'>How to build a homemade NUCLEAR bomb…</title><content type='html'>&lt;p&gt;&lt;em&gt;This article has been taken as it is from the site reactor1969.fortunecity.com as i thought it has to be reposted. It gives the real principle on which the bomb is made …&lt;strong&gt;&lt;u&gt;only for educational purpose&lt;/u&gt;&lt;/strong&gt;…&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;“I tried to base my discussions and my pictures here on real working principles. I don’t know if any of my own personal designs work because it is not legal for me to build and test them. Anything here that says &amp;quot;homemade&amp;quot; or says &amp;quot;without&amp;quot; is what I designed myself(Never built or tested). The rest of the information and pictures here is from other creditable sources that I could obtain else where. &lt;/p&gt;  &lt;p&gt;The homemade designs will take one of two things to make them work. 1 Enriched material 2. A simulated fusion chamber. With enriched material that takes time but that can be done from home with a neutron source and maybe plenty of electricity depending on how your enriching it. With un-enriched material it can be instantly enriched with neutrons but that takes great heat and pressure from fusion temperatures and a neutron source called a sparkplug. I have included both ways to make bombs here. Enriching material can be done with a device to give off neutrons. Without enrichment we need a neutron source with a makeshift homebuilt fusion reactor. The magnetic fields in the fusion container set off the nuclear weapon. If using a fusion plasma it has to be at least a million degrees to work. I recommend using the focus fusion reactor to heat the secondary plasma with its particles since those particles can come out at up to 1 billion degrees along with two other sources of heat. Magnetic compression and ohmic (electrical) heating. We could use radio frequency heating but I don’t think that would be necessary unless it is just wanted. Basically in a nutshell this is what you need for homemade nuclear weapons. &lt;/p&gt;  &lt;p&gt;RECEIPT FOR A HOMEMADE HYDROGEN BOMB &lt;/p&gt;  &lt;p&gt;For starters, you have the two basic ingredients at your house right now. In your sink is water, in your back yard at 12 parts per million is the most common element on earth that is better than uranium, thorium. &lt;/p&gt;  &lt;p&gt;Making fission part of bomb.    &lt;br /&gt;Step 1. Get thorium from the best natural resources around or buy it from a chemical supply store. &lt;/p&gt;  &lt;p&gt;Step 2. If using natural thorium(meaning you dug it up somewhere). Separate its isotopes from the non-thorium isotopes. Use information from this site or research it. (Basically you heat it to a vapor and use magnetic or laser separation). There are other ways to separate it. &lt;/p&gt;  &lt;p&gt;Step 3. Make decision. Can enrich thorium to uranium-233 or use fusion-fission device listed at this site. If enriching it you will only need conventional explosives to set it off. &lt;/p&gt;  &lt;p&gt;Step 4. Make decision - Can buy lithium-6-deuterium hydride compound from a chemical supply house instead of making it. If making it follow directions below. &lt;/p&gt;  &lt;p&gt;Step 5. Get water from sink. Make hydrogen from it with electrolysis. Distill this hydrogen to deuterium. Distilling diagrams listed at this site as well as electrolysis diagrams. &lt;/p&gt;  &lt;p&gt;Step 6. Make decision. Can distill tritium from hydrogen or make it with focus fusion reactor. &lt;/p&gt;  &lt;p&gt;Step 7. If using focus fusion reactor choice can make lithium-6 or tritium directly. With direct tritium no sparkplug will be needed in nuclear device. diagram of focus fusion reactor listed on this site. &lt;/p&gt;  &lt;p&gt;Step 8. Can make lithium, tritium, deuterium, thorium, uranium-233 into a compound powder if want. see compound section of this site for that. &lt;/p&gt;  &lt;p&gt;Step 9 From above decisions construct nuclear device. if using natural thorium construct fusion-fission device. Will need to decide what to use for a spark plug. Plain liquid or solid hydrogen might be ok. If using lithium6-deuterium construct fusion device but we will not need plasma because the fission device will set it off but we will still need a sparkplug. See fission and fusion devices for more information. If using uranium-233 only need explosives to set it off. If using tritium-deuterium just put it beside the fission device it will go off on its own when the fission device explodes. No sparkplug will be needed with tritium-deuterium device just a fission device. &lt;/p&gt;  &lt;p&gt;Special notes: Don’t forget to use radiation shielding when working with radioactive material. Thorium makes a real good radiation shield. Use left over&#39;s for that or buy lead. Lastly, don’t try this for real without contacting your responsible authorities and telling them your plans and intentions then consulting your local experts.”&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;“Ways to heat a plasma. &lt;/p&gt;  &lt;p&gt;1. Ohmic Heating - The plasma can be heated to temperatures up to 20-30 million K through the current passing through the plasma. It is called ohmic or resistive heating; the heat generated depends on the resistance between the plasma and current. However, as temperature rises, resistance drops, making this form of heating less and less effective. Other methods are necessary in addition in order to heat the plasma to required temperatures. &lt;/p&gt;  &lt;p&gt;2. Neutral-Beam Injector - High energy, neutral atoms are shot into the plasma, and are immediately ionized. These ions then get trapped by the magnetic fields, and transfer some of their energy to the surrounding plasma particles through collisions, thus raising the overall temperature. Author side note: THE FOCUS FUSION REACTOR IS GREAT FOR THIS. USE ITS PARTICLES TO HEAT A SECONDARY PLASMA!!! &lt;/p&gt;  &lt;p&gt;3. Magnetic Compression - The plasma can be heated through a rapid compression, which is possible by increasing the magnetic field. In the tokamak, this compression occurs by moving the plasma to an area of a higher magnetic field. &lt;/p&gt;  &lt;p&gt;4. Radiofrequency Heating - High-frequency waves are launched into the plasma through the use of oscillators. If the waves have the right wavelength, their energy can be transferred into certain particles, which then transfer the energy through collisions with others.”&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/7469968228191698390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/01/how-to-build-homemade-nuclear-bomb_17.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7469968228191698390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7469968228191698390'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/01/how-to-build-homemade-nuclear-bomb_17.html' title='How to build a homemade NUCLEAR bomb…'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-7794462828359636102</id><published>2010-01-17T03:17:00.001-08:00</published><updated>2010-01-17T03:17:20.913-08:00</updated><title type='text'>How to map network drive over the Internet – windows 7</title><content type='html'>&lt;blockquote&gt;&lt;/blockquote&gt;  &lt;p&gt;1. open up “My Computer”&lt;/p&gt;  &lt;p&gt;2. right click on on an empty area and select “Add a network location”&lt;/p&gt;  &lt;p&gt;3.click next&lt;/p&gt;  &lt;p&gt;4.close the dialogue box that says “connect to internet”&lt;/p&gt;  &lt;p&gt;5.now copy paste or type down the URL of the the network place and there you go…&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/7794462828359636102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/01/how-to-map-network-drive-over-internet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7794462828359636102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7794462828359636102'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/01/how-to-map-network-drive-over-internet.html' title='How to map network drive over the Internet – windows 7'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-7459378043290978512</id><published>2010-01-14T00:17:00.000-08:00</published><updated>2010-01-14T00:25:00.512-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="POV based LED DISPLAY"/><title type='text'>POV based LED Display</title><content type='html'>&lt;p&gt;&lt;em&gt;POV-persistence of vision&lt;/em&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot;&gt;ABOUT THE PROJECT&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This is my 2 semester physics&amp;#160; project.I did it along with&amp;#160; 3 of my&amp;#160; friends-Rejun , Rohit and Anenth . Most of us thought this project was way beyond our reach .Even our colleges thought this was too much for a bunch of first year computer nerds.&lt;/p&gt;  &lt;p&gt;This is basically a column of 6-8 LED’s which are rotated at approximately 25 – 30 rps (2000 rpm) to produce an illusion of a full width screen. which is then used to display text or images.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot;&gt;HOW IS THIS POSSIBLE ?&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;As i said its persistence of vision.The eye basically cant process images that move faster than 18-24 rps , so the eyes treat them as a single image.This flaw of the eye is used to create the illusion of a full image, by controlling the rate and order at which all the LED’s blink and their respective delay.&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot;&gt;HOW DO WE MAKE THE LED’s BLINK ?&lt;/font&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The correct order and the delay of the led is controlled by a ATMega8 processor .We then program it, with the correct order and the delay&amp;#160; each LED must undergo in C language and burn it to the EEPROM (ATMega8) using a AVR programmer, connected to the computer..&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot;&gt;THE TOUGH PART&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Programming the EEPROM to display text is the tough part….lots and lots of programming.Getting the right delay time is the toughest part , once solved , everything else turns out to be easy.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/7459378043290978512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/01/pov-based-led-display.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7459378043290978512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7459378043290978512'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/01/pov-based-led-display.html' title='POV based LED Display'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-8854156909396459308</id><published>2010-01-13T23:23:00.000-08:00</published><updated>2012-03-17T01:24:06.563-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Photoshop"/><title type='text'>Photoshoped</title><content type='html'>These are some stuff i do in photoshop for time pass (photoshop for time pass ,sounds crazy)...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPZblEpwEbMFv-2C0FfIisDz9q3HvUMDd0roWfTlDq_sEAlV2lZ4sP_Tljrvl94tYdaIGVh4_ufRcDW9pu90P1SzFFt7wH5vjZm5czyCH1mVQobuUj8SCKqOnZsS8nPptxrRXqk0Ifd54/s1600-h/bussiness_card.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPZblEpwEbMFv-2C0FfIisDz9q3HvUMDd0roWfTlDq_sEAlV2lZ4sP_Tljrvl94tYdaIGVh4_ufRcDW9pu90P1SzFFt7wH5vjZm5czyCH1mVQobuUj8SCKqOnZsS8nPptxrRXqk0Ifd54/s320/bussiness_card.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
This image was composed by using a metal texture and custom shapes and layer blending techniques..</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/8854156909396459308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2010/01/photoshoped.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/8854156909396459308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/8854156909396459308'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2010/01/photoshoped.html' title='Photoshoped'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPZblEpwEbMFv-2C0FfIisDz9q3HvUMDd0roWfTlDq_sEAlV2lZ4sP_Tljrvl94tYdaIGVh4_ufRcDW9pu90P1SzFFt7wH5vjZm5czyCH1mVQobuUj8SCKqOnZsS8nPptxrRXqk0Ifd54/s72-c/bussiness_card.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-7277208163439226238</id><published>2009-11-08T22:38:00.000-08:00</published><updated>2012-03-17T01:22:00.323-07:00</updated><title type='text'>Top 10 Ubuntu downloads</title><content type='html'>&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
&lt;a href=&quot;http://ubuntu-tweak.com/&quot;&gt;10. Ubuntu Tweak&lt;/a&gt;&lt;/h3&gt;
If you&#39;re fine with all the default settings on your shiny-fresh Ubuntu system, you have no need for Ubuntu Tweak. For newcomers, or anyone who feels confined by having their Computer icon stuck with the name &quot;Computer,&quot; Ubuntu Tweak is an OCD multi-tool. Besides allowing you to change all the little bits and ends of Ubuntu in a manner far easier than editing a text file or using the &lt;code&gt;gconf-editor&lt;/code&gt; tool, Ubuntu Tweak also turns installing (and keeping up-to-date) third-party upgrades like the Avant Window Navigator dock or the latest Firefox beta into a simple check-the-box job. Short version for Windows geeks: It&#39;s like &lt;a href=&quot;http://lifehacker.com/software/screenshot-tour/customize-windows-xp-with-tweakui-309787.php&quot;&gt;TweakUI&lt;/a&gt; for Linux. (&lt;em&gt;Head to the program site to download&lt;/em&gt;).&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
9. &lt;a href=&quot;http://www.screenlets.org/&quot;&gt;Screenlets&lt;/a&gt;&lt;/h3&gt;
Look, we get it—not everyone&#39;s a fan of widgets/gadgets/whathaveyou, and we totally understand; turning off Vista&#39;s sidebar was one of the first things we did on a new install. But the Screenlets application gives you access to any of the hundreds upon hundreds of &lt;a href=&quot;http://www.google.com/ig/directory?synd=open&quot;&gt;Google Gadgets&lt;/a&gt; and other open widgets, some of them hardnessing actual productivity tools like Google Calendar or &lt;a href=&quot;http://rmilk.com/&quot;&gt;Remember the Milk&lt;/a&gt;. With Ubuntu&#39;s now built-in Compiz powers, you can even set the Screenlets to be hidden away until you press a key (like, say, the Mac&#39;s F9 default). To do that, you&#39;ll need to install the &lt;em&gt;compizconfig-settings-manager&lt;/em&gt; package, where you&#39;ll find all kinds of other goodies.&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
8. &lt;a href=&quot;http://handbrake.fr/&quot;&gt;Handbrake&lt;/a&gt;&lt;/h3&gt;
We&#39;ve always liked Handbrake, &lt;a href=&quot;http://lifehacker.com/5058888/five-best-media-converters&quot;&gt;our readers like it, too&lt;/a&gt;, and it works just fine in Linux (as it does on Windows and for Macs). With its latest version, Handbrake works hand-in-hand with our favorite media player, VLC, to make ripping any DVD into a video file for any device. (&lt;em&gt;Head to the program site to grab a pre-compiled Ubuntu version; the 8.10 version should work fine in 9.04&lt;/em&gt;).&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
7. &lt;a href=&quot;http://www.kde-apps.org/content/show.php?content=29153&quot;&gt;Yakuake&lt;/a&gt;&lt;/h3&gt;
It&#39;s come a long way, but no Ubuntu user can get by without a little &lt;a class=&quot;autolink&quot; href=&quot;http://lifehacker.com/tag/command-line/&quot; title=&quot;Click here to read more posts tagged COMMAND LINE&quot;&gt;command line&lt;/a&gt; work now and then. Yakuake takes the drop-down terminal from gaming touchstone &lt;em&gt;Quake&lt;/em&gt;, makes it seriously speedy and easy to tab, and customized coloring and transparency shading for a terminal that looks how you want it, pops up in the same place each time, and feels a lot more integrated into your overall experience. Technically, it&#39;s built for KDE-based systems (like Ubuntu&#39;s KDE version, Kubuntu), but GNOME-based systems like Ubuntu can run it with very few dependencies or problems. You&#39;ll want to make this one start up with your system.&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
6. &lt;a href=&quot;http://unetbootin.sourceforge.net/&quot;&gt;UNetbootin&lt;/a&gt;&lt;/h3&gt;
Trying out new Linux distributions is fun, even if you&#39;re a long-term relationship with an Ubuntu desktop. Because, hey, maybe &lt;a href=&quot;http://lifehacker.com/5140086/crunchbang-is-a-speedy-dark+themed-linux-desktop&quot;&gt;CrunchBang&lt;/a&gt; would make a good quick-boot alternative, right? And isn&#39;t the &lt;a href=&quot;http://fedoraproject.org/get-prerelease&quot;&gt;Fedora 11 beta&lt;/a&gt; looking mighty nice? UNetbootin makes it dead simple to turn pretty much any Linux distribution into one that boots from a USB stick. It can automatically download and install the majority of popular distributions (Ubuntu, Fedora, openSUSE, etc.), or adapt any bootable ISO file you&#39;ve got. You can even get crazy and custom-roll your own system from a chosen kernel, but UNetbootin doesn&#39;t require much more than one download and one click.&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
5. &lt;a href=&quot;http://songbirdnest.com/&quot;&gt;Songbird&lt;/a&gt;&lt;/h3&gt;
Songbird&#39;s available on all three platforms, but if you&#39;re one of the vast many iPod or iPhone owners out there on a Windows or Mac machine, there&#39;s a good chance you&#39;re okay with having iTunes run your music and manage your device (not that there aren&#39;t &lt;a href=&quot;http://lifehacker.com/394046/copy-music-from-your-iphone-or-ipod-to-your-computer-for-free&quot;&gt;alternative iPod wranglers&lt;/a&gt;). Linux has its fair share of innovative music managers, but Songbird is the most adaptable, attractive, and streamlined music app around. It too can &lt;a href=&quot;http://addons.songbirdnest.com/addon/12&quot;&gt;manage your iPod&lt;/a&gt; (except for the standard iPhone/iPod touch conundrum), grab album art from the web, play the streaming tracks from any web site with its built-in browser, and offers a whole host of neat add-ons that mash up web data, customize how Songbird looks and feels, and basically change up anything the way that extensions can for Firefox. It&#39;s not perfect, but it&#39;s very usable on almost any Linux desktop. (&lt;em&gt;Head to the program site to download&lt;/em&gt;).&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
4. &lt;a href=&quot;http://conky.sourceforge.net/&quot;&gt;Conky&lt;/a&gt;&lt;/h3&gt;
This one&#39;s an old-school app, controlled entirely by text files, but the results can be brilliant, as evidenced by one hacker&#39;s &lt;a href=&quot;http://lifehacker.com/5068294/beautifully-minimalist-conky-setup&quot;&gt;mutli-colored, iconic desktop&lt;/a&gt;, or a setup for fans of &lt;a href=&quot;http://lifehacker.com/5152819/to+dos-weather-and-twitter-on-a-linux-desktop&quot;&gt;to-dos and Twitter replies&lt;/a&gt;. Best of all, you can mix and match the features and data you want displayed in any setup, as we &lt;a href=&quot;http://lifehacker.com/5067341/customize-conky-for-ambient-linux-productivity&quot;&gt;showed you in our Conky guide&lt;/a&gt;. Basically, Conky can put any data you want, from your desktop or the web, on your desktop, and keep it updated, and that&#39;s a great thing.&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
3. &lt;a href=&quot;http://virtualbox.org/&quot;&gt;VirtualBox&lt;/a&gt;&lt;/h3&gt;
VMWare is better if you&#39;re serious about running multiple, uber-efficient virtual machines in a development environment. For the average home user who just needs access to a Windows application now and then, it&#39;s hard to beat a &lt;a href=&quot;http://lifehacker.com/374376/trim-down-windows-to-the-bare-essentials&quot;&gt;trimmed-down XP&lt;/a&gt; running in VirtualBox. It&#39;s easy enough for a &lt;a href=&quot;http://lifehacker.com/5204434/the-beginners-guide-to-creating-virtual-machines-with-virtualbox&quot;&gt;beginner to get into&lt;/a&gt;, but customizable enough to run as a &lt;a href=&quot;http://lifehacker.com/367714/run-windows-apps-seamlessly-inside-linux&quot;&gt;seamless taskbar&lt;/a&gt; on your Linux desktop. In other words, it&#39;s a free semi-equivalent of what Mac users have been using (Boot Camp or Parallels) to run the necessary Windows app now and again. (&lt;em&gt;Ubuntu&#39;s repositories carry the &quot;Open Source Edition&quot; of VirtualBox, which is much the same, but lacks certain features, including USB support; head to the program site to download standard packages for 9.04&lt;/em&gt;).&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
2. &lt;a href=&quot;http://getdropbox.com/&quot;&gt;DropBox&lt;/a&gt;&lt;/h3&gt;
Most Linux desktop users are loathe to admit it, but any app that Just Works is worthy of praise. Whether you&#39;re installing from source or a pre-rolled package, Dropbox integrates itself smoothly into the Ubuntu desktop, creating a Dropbox folder in your home directory, keeping whatever&#39;s in it synchronized (up to 2GB with a free account), and offering quick access and notifications from the system tray. When you&#39;re away from your system, you can grab whatever you&#39;ve got in the &#39;box from Dropbox&#39;s web interface. Simple, streamlined, helpful. (&lt;em&gt;Head to the program site to download pre-compiled Ubuntu packages&lt;/em&gt;).&lt;br /&gt;
&lt;h3 style=&quot;font-size: 120%; margin-top: 20px;&quot;&gt;
1. &lt;a href=&quot;http://do.davebsd.com/&quot;&gt;GNOME Do&lt;/a&gt;&lt;/h3&gt;
Adam never fails to remind me of GNOME Do&#39;s similarity to Quicksilver, the uber-essential &lt;a class=&quot;autolink&quot; href=&quot;http://lifehacker.com/tag/application-launcher/&quot; title=&quot;Click here to read more posts tagged APPLICATION LAUNCHER&quot;&gt;application launcher&lt;/a&gt; and productivity tool for Macs. But that&#39;s a good thing. With Do installed, a quick keyboard smack could open up a super-quick way to open an application, fire off a one-shot terminal command, start a VirtualBox machine, add a Google Calendar or Remember the Milk obligation, update Twitter, restart your system, start an email to a Gmail contact ... this list goes on. As a two-for-one, GNOME Do now includes a &lt;a href=&quot;http://lifehacker.com/5145499/gnome-dos-smart-dock-takes-app-launching-to-another-level&quot;&gt;smart and intuitive desktop dock&lt;/a&gt; for clocks, trash, and those moments when you&#39;ve already go the mouse in hand.&lt;br /&gt;
What apps and add-ons make your Ubuntu desktop productive and comfortable? What alternatives do you prefer to our list items? Give us your open-source offerings in the comments.&lt;br /&gt;
&lt;br /&gt;
Adapted from lifehacker.com&lt;br /&gt;                 &lt;br /&gt;
&lt;noscript&gt;&lt;/noscript&gt;        &lt;script type=&quot;text/javascript&quot;&gt;
  // onload hacks here  window.onload = function() {    try    {     jQuery(&#39;#ad-300x250 [src]&#39;).each( function( i, el ) {      el = jQuery(el);      if (el.attr(&#39;src&#39;) != undefined) {       if (el.attr(&#39;src&#39;).match( /817-grey.gif/)) {        expandTopStories();       }      }     });     if (jQuery(&#39;#ad-300x250&#39;).html().trim().length == 0) expandTopStories();      cont = jQuery(&#39;#content .metadata .ad300x40&#39;);     if (cont.length &gt; 0) {      for (i=0; i &lt; el =&quot; jQuery(&#39;[src]&#39;,&quot; found =&quot; false;&quot; j=&quot;0;&quot; found =&quot; true;&quot; ad160x160bottom =&quot; jQuery(&#39;#ad-160x160-bottom&#39;);&quot;&gt; 0) {         var spacer160 = jQuery(&#39;#spacer160&#39;);      if (ad160x160bottom.html().trim().length == 0) {       ad160x160bottom[0].style.display = &#39;none&#39;;       spacer160[0].style.marginTop = &#39;-1.5em&#39;;       spacer160[0].style.borderTopWidth = &#39;0&#39;;      } else {       jQuery(&#39;[src]&#39;, ad160x160bottom[0]).each( function( i, el ) {        el = jQuery(el);        if (el.attr(&#39;src&#39;) != undefined) {         if (el.attr(&#39;src&#39;).match(/817-grey.gif/)) {             ad160x160bottom[0].style.display = &#39;none&#39;;             spacer160[0].style.marginTop = &#39;-1.5em&#39;;             spacer160[0].style.borderTopWidth = &#39;0&#39;;         }        }       });      }     }      var ad160x160 = jQuery(&#39;#ad-160x160&#39;);     if (ad160x160.length &gt; 0) {         var spacer160 = jQuery(&#39;#spacer160&#39;);      if (ad160x160.html().trim().length == 0) {       ad160x160[0].style.display = &#39;none&#39;;       spacer160[0].style.marginTop = &#39;-1.5em&#39;;       spacer160[0].style.borderTopWidth = &#39;0&#39;;      } else {       jQuery(&#39;[src]&#39;, ad160x160[0]).each( function( i, el ) {        el = jQuery(el);        if (el.attr(&#39;src&#39;) != undefined) {         if (el.attr(&#39;src&#39;).match(/817-grey.gif/)) {          ad160x160[0].style.display = &#39;none&#39;;          spacer160[0].style.marginTop = &#39;-1.5em&#39;;          spacer160[0].style.borderTopWidth = &#39;0&#39;;         }        }       });      }     }               var skyscraper = jQuery(&#39;#skyscraper&#39;);     if (skyscraper.length &gt; 0) {      if (skyscraper.html().trim().length == 0) {       collapseSkyscraper();      } else {       jQuery(&#39;[src]&#39;, skyscraper).each( function( i, el ) {        el = jQuery(el);        if (el.attr(&#39;src&#39;) != undefined) {         if (el.attr(&#39;src&#39;).match(/817-grey.gif/)) {          collapseSkyscraper();         }        }       });      }     }      var interruptor = jQuery(&#39;#interruptor&#39;);     if (interruptor.length &gt; 0) {      if (interruptor.html().trim().length == 0) {       interruptor[0].style.display = &#39;none&#39;;      } else {       jQuery(&#39;[src]&#39;, interruptor).each( function( i, el ) {        el = jQuery(el);        if (el.attr(&#39;src&#39;) != undefined) {         if (el.attr(&#39;src&#39;).match(/817-grey.gif/)) {          interruptor[0].style.display = &#39;none&#39;;         }        }       });      }      }    } catch(e) {}  };  
&lt;/script&gt;   &lt;script type=&quot;text/javascript&quot;&gt;
var ganjaDynamicContent = null;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/7277208163439226238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2009/11/top-10-ubuntu-downloads.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7277208163439226238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/7277208163439226238'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2009/11/top-10-ubuntu-downloads.html' title='Top 10 Ubuntu downloads'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-4125628291021193971</id><published>2009-11-07T09:22:00.001-08:00</published><updated>2009-11-07T09:33:25.291-08:00</updated><title type='text'>How to install ubuntu 8.04 on Microsoft Virtual PC 2007?</title><content type='html'>&lt;strong&gt;Download the Ubuntu desktop iso file .&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use the CD menu option to capture the desktop ISO you downloaded from Ubuntu&lt;br /&gt;&lt;br /&gt;The first screen to come up, asks for the language.&lt;br /&gt;&lt;br /&gt;Select your language, and press Enter to continue. Press F4 to select an alternate starting mode. When it pops up, change to Safe graphics mode, and press Enter&lt;br /&gt;&lt;br /&gt;Then press F6 and delete the part that says &lt;strong&gt;“quiet splash -”&lt;/strong&gt; and replace it with &lt;strong&gt;“vga=791 noreplace-paravirt”&lt;/strong&gt; Now choose &lt;strong&gt;“Try Ubuntu..”&lt;/strong&gt; and press enter. (note that you should NOT pick the Install Ubuntu option to install Ubuntu directly)&lt;br /&gt;&lt;br /&gt;It will take some time (around 10 minutes) to move the next screen and don’t panic.Once ubuntu boots, you should see the live session trial environment.&lt;br /&gt;&lt;br /&gt;Double click the Install icon on the desktop to begin the install process You will see a welcome screen, where you can also change your language, if you want to have ubuntu installed in a different language than you already chose earlier. Press Forward to continue. In the next screen set up your time zone and press Forward Next, choose the appropriate keyboard layout and click Forward Next, choose the option to partition the hard disk (you may leave it as selected) and click Forward It will take time (around 6- 8 minutes) for the disks to be prepared and proceed to the next screen.On the next screen, enter your name, your Ubuntu login name, password and name of the computer and finally click Forward you will find Step 6 missing, but don’t worry. Just click Install to begin the install process.&lt;br /&gt;&lt;br /&gt;It will take around 45-60 minutes for ubuntu to install On the Virtual PC menu click CD, and release the cd then click on the Restart now button inside VPC&lt;br /&gt;&lt;br /&gt;If the restart does not happen on its own, then in the Virtual PC menu click Action –&gt; Reset. Shut down the Virtual PC 2007 session while saving the state. Start the Virtual PC 2007 session again and it will boot fine.The boot process does take a few minutes.&lt;br /&gt;&lt;br /&gt;Once it gets to GRUB, interupt the boot and add the “noreplace-paravirt” to the kernel boot line.&lt;br /&gt;&lt;br /&gt;Press &lt;strong&gt;“esc”&lt;/strong&gt; while grub is visible You should now see 3 entries to select from. Leave the first one &lt;strong&gt;“Ubuntu 8.04, kernel 2.6.24-16-generic”&lt;/strong&gt; selected and press &lt;strong&gt;“e” &lt;/strong&gt;On the next page, select the second entry that reads&lt;strong&gt; “kernel /boot/vmlinuz…” &lt;/strong&gt;and press &lt;strong&gt;“e”&lt;/strong&gt; again You will see a command line that ends with&lt;strong&gt; “xforcevesa“&lt;/strong&gt;. Hit &lt;strong&gt;“space”&lt;/strong&gt; and add &lt;strong&gt;“noreplace-paravirt”&lt;/strong&gt; (without the quotes) to that line and press &lt;strong&gt;“enter” &lt;/strong&gt;You will be taken back to the previous selection screen with the entry &lt;strong&gt;“kernel /boot/vmlinuz…” &lt;/strong&gt;still selected. Now press &lt;strong&gt;“b”&lt;/strong&gt; and it should boot correctly&lt;br /&gt;&lt;br /&gt;How to permanantly add “noreplace-paravirt” option to grub?&lt;br /&gt;&lt;br /&gt;Once Ubuntu has loaded, open a terminal window (Applications –&gt; Accessories –&gt; Terminal) and on the command line enter &lt;strong&gt;“sudu nano /boot/grub/menu.lst”&lt;/strong&gt; Enter your password and page down to near the bottom and locate the &lt;strong&gt;“kernel /boot/vmlinuz…”&lt;/strong&gt; in the &lt;strong&gt;“Ubuntu 8.04, kernel 2.6.24-16-generic”&lt;/strong&gt; section Move the cursor to the end of the line after xforcevesa and add “noreplace-paravirt” (no quotes) Ctrl + O to write out, enter to accept the name, Ctrl + X to close&lt;br /&gt;&lt;br /&gt;Fix the sound issue while installing ubuntu 8.04 on Virtual PC 2007: on the command line enter &lt;strong&gt;“sudo nano /etc/rc.local”&lt;/strong&gt; At the end of the # lines, but before &lt;strong&gt;“exit 0“&lt;/strong&gt;, type on a new line (again without quotes)&lt;strong&gt; “modprobe snd-sb16“&lt;/strong&gt;.Ctrl + O to write out, enter to accept the name, Ctrl + X to close Reboot Ubuntu. The reboot should be clean, and the sound icon should come up without an error indication&lt;br /&gt;&lt;br /&gt;In System, Preferences, Sound, set the playback options to ALSA. It’s pretty crappy but works better than OSS and certainly better than Auto detect which generates a stream error when you try to play MP3’s or movies.&lt;br /&gt;&lt;br /&gt;The above method applies for all versions of Ubuntu..including ubuntu 9.04 and 9.10&lt;br /&gt;&lt;br /&gt;Reffered from &lt;a href=&quot;http://techblissonline.com/&quot;&gt;http://techblissonline.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/4125628291021193971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2009/11/how-to-install-ubuntu-804-on-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/4125628291021193971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/4125628291021193971'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2009/11/how-to-install-ubuntu-804-on-microsoft.html' title='How to install ubuntu 8.04 on Microsoft Virtual PC 2007?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-5678944992598173418</id><published>2009-11-07T04:58:00.001-08:00</published><updated>2009-11-07T05:06:30.817-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mouse Programing in C"/><title type='text'>Mouse Programming with c</title><content type='html'>&lt;strong&gt;Mouse Programming&lt;/strong&gt; is a topic which every C programmer from  beginner to professional needs to have in his toolbox to have a cutting edge.It  will be used almost everywhere. It will embeded in games programming to  commerical valued applications.  &lt;p&gt;&lt;em&gt;This tutorial is written Turbo C++ 3.0 IDE and install in folder C:\TC. I  recommend to use same IDE and settings to avoid any uncompatibility.&lt;/em&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(51, 204, 204);&quot;&gt;&lt;strong&gt;Basic Funda&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Before we start  programming we must first understand some principles on  which mouse programming is based.&lt;/p&gt; &lt;p&gt;First thing you must know how to tell a mouse to do anything. In actual we do  not communicate with mouse directly but through the driver provided. We use  &quot;Interrupts&quot; to get access to this driver. Each device provide by computer has  its own port and more or less we access these ports.&lt;/p&gt; &lt;p&gt;Each device has a unique port which is a hexadecimal value and value is  designed to be machine independent enhancing portability of program.&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;Mouse has port 0X33 attached to it   and similarly keyboard has attach port 0X60.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(128, 0, 0);&quot;&gt;We also make use of address registers.  These are basically UNION of type REGS defined in &quot;dos.h&quot;. We use two registers  to communicate to a device driver one for input and one for output.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;We send value to device driver through the input register and recieve  information in it embedded in output register.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(51, 204, 204);&quot;&gt;&lt;strong&gt;AX Register&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;We can access various mouse functions using different values of AX input  Register and passing those values to mouse port using a interrupt.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;The Functions are listed below - Here AX, BX, CX and DX are members of UNION  REGS and more or less integers.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Input                    Function Performed              Returns&lt;/strong&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;AX = 0                  Get  Mouse Status           AX Value = FFFFh support is  available.&lt;/p&gt; &lt;p&gt;                                                                      AX Value = 0 ,support is not available.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;AX = 1                  Show  Mouse Pointer                   Nothing&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;AX = 2                  Hide  Mouse Pointer                    Nothing&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;AX = 3                  Mouse  Position                 CX = Mouse X  Coordinate&lt;/p&gt; &lt;p&gt;                                                                         DX = Mouse Y Coordinate&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Ax = 3                  Mouse  Button Press           BX = 0 No Key Is Pressed&lt;/p&gt; &lt;p&gt;                                                                        BX = 1 Left Button is Pressed&lt;/p&gt; &lt;p&gt;                                                                        BX = 2 Right Button is Pressed&lt;/p&gt; &lt;p&gt;                                                                       BX = 3 Centre Button is Pressed&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Ax = 7                 Set Horizontal  Limit                     Nothing&lt;/p&gt; &lt;p&gt;CX = MaxX1 &lt;/p&gt; &lt;p&gt;DX =MaxX2           &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Ax = 8                 Set Vertical  Limit                         Nothing&lt;/p&gt; &lt;p&gt;CX = MaxX1 &lt;/p&gt; &lt;p&gt;DX =MaxX2           &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(51, 204, 204);&quot;&gt;&lt;strong&gt;Detecting  Mouse&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Before you start your mouse program you should always check whether the mouse  programming is supported or not.&lt;/p&gt; &lt;p&gt;If somehow mouse fails to initialise you should always make sure that either  program terminates or employ a error handling approach that maybe shift to  keyboard interface .&lt;/p&gt; &lt;p&gt;To do mouse programming you must include &lt;dos.h&gt;. We use a function  called int86() to access &quot;interupts&quot;.&lt;/p&gt; &lt;p&gt;To detect mouse we use a function name detect_mouse() which has following  code -&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   if (out.x.ax ==  0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   printf (&quot;\nMouse Failed  To Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   printf (&quot;\nMouse was  Succesfully Initialized&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  detect_mouse  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Showing and Hiding Mouse&lt;/strong&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Now first we show mouse on screen . &lt;/p&gt; &lt;ul&gt;&lt;li&gt;Mouse works both in text mode and graphic mode.&lt;/li&gt;&lt;li&gt;In text mode it looks like a square while in graphics mode it looks like a    pointer.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Mouse Programming in Text Mode&lt;/strong&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;It was produced from adding a function showmouse_text() to above code so code  becomes -&lt;/p&gt; &lt;div class=&quot;rtecenter&quot;&gt; &lt;p class=&quot;rtecenter&quot;&gt; &lt;script type=&quot;text/javascript&quot;&gt;&lt;!-- google_ad_client = &quot;pub-0732106234569080&quot;; /* 336x280, created 8/27/09 */ google_ad_slot = &quot;2594952019&quot;; google_ad_width = 336; google_ad_height = 280; //--&gt; &lt;/script&gt;  &lt;script type=&quot;text/javascript&quot; src=&quot;unmht:///file.5/media/Data/World%20of%20computers/facts/Mouse%20Programming%20with%20C%20%20bOtskOOl.mht/show_ads.js&quot;&gt; &lt;/script&gt; &lt;/p&gt;  &lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; if (out.x.ax == 0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse Failed To  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse was Succesfully  Initialized&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_text ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; detect_mouse ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; showmouse_text ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Mouse Programming in Graphics Mode&lt;/strong&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;This is achieved using a function showmouse_graphics() added to above code  while removing showmouse_text() from main.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include  &lt;graphics.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; if (out.x.ax == 0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse Failed To  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse was Succesfully  Initialized&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_text ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_graphics  ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int gdriver = DETECT, gmode,  errorcode;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; initgraph(&amp;amp;gdriver,  &amp;amp;gmode, &quot;c:\\tc\\bgi&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; closegraph ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; detect_mouse ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; showmouse_graphics  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;            &lt;/span&gt;&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Next we do realtively simple task of hiding mouse using a function  hide_mouse() as shown below -&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include  &lt;graphics.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detectmouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; if (out.x.ax == 0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse Failed To  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse was Succesfully  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_text ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_graphics  ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int gdriver = DETECT, gmode,  errorcode;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; initgraph(&amp;amp;gdriver,  &amp;amp;gmode, &quot;c:\\tc\\bgi&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; closegraph ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void hide_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  in.x.ax = 2;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  detect_mouse  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  showmouse_graphics  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  hide_mouse  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(51, 204, 204);&quot;&gt;&lt;strong&gt;Detecting  Input&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;We will now work on a important aspect of mouse programming &quot;Detecting  Clicks&quot; i.e. Taking Inputs. &lt;/p&gt; &lt;p&gt;We make use of an aditional function known as kbhit ( ). This functions  returns zero till any keypress and when a key is press it returns 1.&lt;/p&gt; &lt;p&gt;kbhit() is used to run an infinite while loop.&lt;/p&gt; &lt;p&gt;For detecting mouseclicks we use a function called detect() which displays on  screen the respective button clicked. Press any keyboad key to exit the  loop.&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/p&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include  &lt;graphics.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; if (out.x.ax == 0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse Failed To  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; printf (&quot;\nMouse was Succesfully  Initialized&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_text ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_graphics  ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  int gdriver = DETECT,  gmode, errorcode;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  initgraph(&amp;amp;gdriver,  &amp;amp;gmode, &quot;c:\\tc\\bgi&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  closegraph  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void hide_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; in.x.ax = 2;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; while (!kbhit () )&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   in.x.ax = 3;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   if (out.x.bx == 1) printf  (&quot;Left&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   if (out.x.bx == 2) printf  (&quot;Right&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   if (out.x.bx == 3) printf  (&quot;Middle&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   delay (200); // Otherwise  due to quick computer response 100s of words will get print&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  detect_mouse  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  showmouse_text  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  detect ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  hide_mouse  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt; &lt;/div&gt; &lt;p&gt;&lt;strong&gt;Mouse Coordinates&lt;/strong&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;We can obtain the coordinates of the mouse using same service 3 but using  different elments of the union .&lt;/p&gt; &lt;p&gt;This function has a prime use in games programming, application designing and  GUI development. Different decisions are taken on same left button click, its  the postion of click that matters.&lt;/p&gt; &lt;p&gt;BX element of output registers stores the X Coordinate of the postion of  mouse at time of calling function.&lt;/p&gt; &lt;p&gt;CX element of output registers stores the Y Coordinate of the postion of  mouse at time of calling function.&lt;/p&gt; &lt;p&gt;Now we demonstrate the use of this function by modifying detect function  above to display x and y coordinates on screen when left click is pressed.&lt;/p&gt; &lt;p&gt;Code will be as followed -&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;#include  &lt;graphics.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  if (out.x.ax ==  0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  printf (&quot;\nMouse Failed To  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  printf (&quot;\nMouse was  Succesfully Initialized&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_text ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void showmouse_graphics  ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   int gdriver = DETECT,  gmode, errorcode;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   initgraph(&amp;amp;gdriver,  &amp;amp;gmode, &quot;c:\\tc\\bgi&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   closegraph  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void hide_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   in.x.ax = 2;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;   int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;void detect ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;  while (!kbhit ()  )&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;    {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;     int  x,y;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;     in.x.ax =  3;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;     int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;     if (out.x.bx ==  1)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;        {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;         x =  out.x.cx;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;         y =  out.x.dx;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;          printf (&quot;\nLeft || X - %d  Y - %d&quot;, x, y);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;        }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;         if  (out.x.bx == 2) printf (&quot;\nRight&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;         if  (out.x.bx == 3) printf (&quot;\nMiddle&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;          delay (200); // Otherwise due to quick computer response 100s of words will get  print&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;    }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; detect_mouse ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; showmouse_text ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; detect ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; hide_mouse ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt; return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(51, 204, 204);&quot;&gt;&lt;strong&gt;Restricting  Mouse&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;We now restrict the mouse in particular rectangle .&lt;/p&gt; &lt;p&gt;We create a function called restrict which takes four paramters, two  cartesian points each containing one x coordinate and one y coordinate.&lt;/p&gt; &lt;p&gt;First point mentions the top of the rectangle while second point mention the  bottom bottom point of rectangle.&lt;/p&gt; &lt;p&gt;This service can be quite handy in special circumstances, for eg - if you  want to restrict your mouse in one particular size window in GUI or In Games  Programming.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Final code of the tutorial -&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;#include &lt;dos.h&gt;&lt;/span&gt;&lt;/p&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;#include &lt;graphics.h&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;union REGS in, out;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;void restrict (int x1,int y1,int x2, int  y2)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.ax = 7;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.cx = x1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.dx = x2;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.ax = 8;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.cx = y1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.dx = y2;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;void detect_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.ax = 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  if (out.x.ax ==  0)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  printf (&quot;\nMouse Fail To  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  else&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  printf (&quot;\nMouse Succesfully  Initialize&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;void showmouse_text ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;void showmouse_graphics ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int gdriver = DETECT, gmode,  errorcode;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  initgraph(&amp;amp;gdriver,  &amp;amp;gmode, &quot;c:\\tc\\bgi&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.ax = 1;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  closegraph ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;void hide_mouse ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  in.x.ax = 2;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;void detect ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  while (!kbhit ()  )&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;    {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     int x,y;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     in.x.ax =  3;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     int86  (0X33,&amp;amp;in,&amp;amp;out);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     if (out.x.bx ==  1)&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;       {&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;          x  = out.x.cx;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;          y  = out.x.dx;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;           printf (&quot;\nLeft || X - %d  Y - %d&quot;, x, y);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;       }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     if (out.x.bx == 2)  printf (&quot;\nRight&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     if (out.x.bx == 3)  printf (&quot;\nMiddle&quot;);&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;     delay (200); //  Otherwise due to quick computer response 100s of words will get  print&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;    }&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;int main ()&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;{&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  detect_mouse ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  showmouse_text  ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  restrict (100,100,500,500);  // Change values here to create different mouse movement space.&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  detect ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  hide_mouse ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  getch ();&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;  return 0;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;This was the most basic tutorial in Mouse Programming. We will be back with  more advanced once very soon.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;refferd from botskool.com</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/5678944992598173418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2009/11/mouse-programming-with-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/5678944992598173418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/5678944992598173418'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2009/11/mouse-programming-with-c.html' title='Mouse Programming with c'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7796582409063059395.post-2189063541238914956</id><published>2009-11-07T04:02:00.000-08:00</published><updated>2012-03-17T01:19:57.028-07:00</updated><title type='text'>Tips to access Orkut and Facebook when blocked by Firewalls</title><content type='html'>Unable to surf sites in ur office or school?...&lt;br /&gt;
getting frustrated ...try this..&lt;br /&gt;
&lt;br /&gt;
Most of the sites including Social networking sites can be accessed through Firewalls or content filters...u just need to trick them by changing the URLs.&lt;br /&gt;
&lt;br /&gt;
For Example..   &lt;br /&gt;
to access facebook, rather than trying &lt;span style=&quot;font-weight: bold;&quot;&gt;http:&lt;/span&gt;//www.facebook.com try &lt;span style=&quot;font-weight: bold;&quot;&gt;https:&lt;/span&gt;//www.facebook.com or try accessing the mobile version like this http://m.facebook.com&lt;br /&gt;
&lt;br /&gt;
to access orkut , try http://www.images.orkut.com or http://images.orkut.com or http://orkut.co.in or u can try the mobile version http://m.orkut.com..&lt;br /&gt;
&lt;br /&gt;
similarly most of the sites can be accessed like this by tweaking their urls..</content><link rel='replies' type='application/atom+xml' href='http://blog.mevinbabuc.in/feeds/2189063541238914956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mevinbabuc.in/2009/11/tips-to-access-orkut-and-facebook-when.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/2189063541238914956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7796582409063059395/posts/default/2189063541238914956'/><link rel='alternate' type='text/html' href='http://blog.mevinbabuc.in/2009/11/tips-to-access-orkut-and-facebook-when.html' title='Tips to access Orkut and Facebook when blocked by Firewalls'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04573429940243664367</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>