Uncategorized

Important links to work with your Vega and themes

1- my monitor 
this link is very important for disable monitor of laptop and adjust my monitor with it’s resolution
http://ubuntuforums.org/showthread.php?t=1243541

Have to create a script in /etc/X11/Xsession.d/ called “45custom_xrandr-settings”
in my case I wrote

EXTERNAL_OUTPUT=”VGA”
INTERNAL_OUTPUT=”LVDS”

xrandr –output $INTERNAL_OUTPUT –off –output $EXTERNAL_OUTPUT –auto
xrandr –newmode “1920x1080_60.00″ 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr –addmode VGA1 1920x1080_60.00

2- Flat Theme

https://github.com/horst3180/Arc-theme

Uncategorized

virtual host on ubuntu

1- copy file from old one 
sudo cp /etc/apache2/sites-available/oldwebsite.com.conf /etc/apache2/sites-available/newwebsite.com.conf
2- edit it and replace all oldwebsite to new website and change the path 
sudo gedit /etc/apache2/sites-available/newwebsite.com.conf
3- enable it 
sudo a2ensite newsite.com.conf
4- restart apache 
sudo service apache2 restart
5- 
sudo gedit /etc/hosts
you know what will you do . Right ?

example of file is 

<VirtualHost *:80>
 ServerAdmin localhost@localhost.com
 DocumentRoot "/mnt/programming/www/hamed/laravel/deals/public
 ServerName deals.com
 ServerAlias www.deals.com
 ErrorLog ${APACHE_LOG_DIR}/error.log
 CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Uncategorized

come back to my lovely blog again

today I decided to come back to my blog again . my main problem now  is organizing my thoughts . any way I will do my best . now I have more to say which I hope it will be useful for some people . also I hope to add new category about laravel framework . I hop e it will be a daily blogs for month from now even it’s only contain few words .