less /proc/cpuinfo
PHP Pattern Camp
Wednesday, June 14, 2017
Thursday, October 20, 2016
Best Apache *.cnf file configuration for symfony3
<VirtualHost *:80>
ServerName project1
ServerAlias project1
DocumentRoot /var/www/project1/web
<Directory /var/www/project1/web>
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeScript assets
# <Directory /var/www/project>
# Options FollowSymlinks
# </Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>
ServerName project1
ServerAlias project1
DocumentRoot /var/www/project1/web
<Directory /var/www/project1/web>
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeScript assets
# <Directory /var/www/project>
# Options FollowSymlinks
# </Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>
Saturday, September 10, 2016
How to install Gnu Typist
You can use ez terminal command to install Gnu Typist
sudo apt-get install gtypist
If you want to run english type course you can run next terminal command:LANG=en_US.UTF-8 gtypist
Tuesday, February 23, 2016
How to select max id from mysql table. How to find last one row added to mysql table?
SELECT MAX(id) AS `id` FROM `main`
Here `main` is the name of your mysql table
Subscribe to:
Posts (Atom)
How to show CPU model and information in Ubuntu 16 terminal
less /proc/cpuinfo
-
lspci -v | less
-
less /proc/cpuinfo
-
SELECT MAX(id) AS `id` FROM `main` Here `main` is the name of your mysql table